@crvouga/mockingbird-notifications 0.14.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/admin-gateway.js +2 -2
- package/dist/browser.bundle-CHF65ZZT.js +6 -0
- package/dist/{browser.bundle-MOA3BSWW.js.map → browser.bundle-CHF65ZZT.js.map} +1 -1
- package/dist/{chunk-5MRZJQ6J.js → chunk-DWOWEHXO.js} +3 -3
- package/dist/{chunk-ZIE3JCV6.js → chunk-RLWOOBXV.js} +2 -2
- package/dist/{chunk-ZIE3JCV6.js.map → chunk-RLWOOBXV.js.map} +1 -1
- package/dist/{chunk-NMW2EZL2.js → chunk-SPAPAHGT.js} +2 -2
- package/dist/{chunk-T6QHUV5K.js → chunk-UHOMT5RV.js} +3 -3
- package/dist/cli.js +4 -4
- package/dist/{client.bundle-YOZJSCGX.js → client.bundle-6XOKJ6BJ.js} +2 -2
- package/dist/{client.bundle-YOZJSCGX.js.map → client.bundle-6XOKJ6BJ.js.map} +1 -1
- package/dist/{document-JPNN2BT5.js → document-UDQU5ZAL.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{page-J3NUKUUA.js → page-X7KT2BPN.js} +302 -163
- package/dist/page-X7KT2BPN.js.map +7 -0
- package/dist/{server-Q5XLVMT2.js → server-32IZ5ZMR.js} +894 -893
- package/dist/{server-Q5XLVMT2.js.map → server-32IZ5ZMR.js.map} +2 -2
- package/dist/server.js +4 -4
- package/dist/ui.d.ts +12 -0
- package/dist/ui.js +8290 -8132
- package/dist/ui.js.map +2 -2
- package/package.json +13 -13
- package/dist/browser.bundle-MOA3BSWW.js +0 -6
- package/dist/page-J3NUKUUA.js.map +0 -7
- /package/dist/{chunk-5MRZJQ6J.js.map → chunk-DWOWEHXO.js.map} +0 -0
- /package/dist/{chunk-NMW2EZL2.js.map → chunk-SPAPAHGT.js.map} +0 -0
- /package/dist/{chunk-T6QHUV5K.js.map → chunk-UHOMT5RV.js.map} +0 -0
- /package/dist/{document-JPNN2BT5.js.map → document-UDQU5ZAL.js.map} +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// dist-ui/browser.bundle.js
|
|
2
|
+
var BUNDLE = '/*! Bundled third-party notices\n@gravity-ui/icons@2.23.1\nThe MIT License (MIT)\n\nCopyright (c) 2022 YANDEX LLC\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n\n@heroui/react@3.2.7\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n "License" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n "Licensor" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n "Legal Entity" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n "control" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n "You" (or "Your") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n "Source" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n "Object" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n "Work" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n "Derivative Works" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n "Contribution" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to the Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, "submitted"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as "Not a Contribution."\n\n "Contributor" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by the Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a "NOTICE" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding any notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets "[]"\n replaced with your own identifying information. (Don\'t include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. Please also get an approval\n from the project maintainers before using the Apache License.\n\n Copyright 2025 NextUI Inc.\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n\n@heroui/styles@3.2.7\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n "License" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n "Licensor" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n "Legal Entity" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n "control" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n "You" (or "Your") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n "Source" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n "Object" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n "Work" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n "Derivative Works" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n "Contribution" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to the Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, "submitted"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as "Not a Contribution."\n\n "Contributor" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by the Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a "NOTICE" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding any notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets "[]"\n replaced with your own identifying information. (Don\'t include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. Please also get an approval\n from the project maintainers before using the Apache License.\n\n Copyright 2025 NextUI Inc.\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n\n@internationalized/date@3.12.4\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n "License" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n "Licensor" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n "Legal Entity" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n "control" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n "You" (or "Your") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n "Source" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n "Object" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n "Work" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n "Derivative Works" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n "Contribution" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, "submitted"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as "Not a Contribution."\n\n "Contributor" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a "NOTICE" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets "[]"\n replaced with your own identifying information. (Don\'t include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same "printed page" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2019 Adobe\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n\n@internationalized/number@3.6.9\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n "License" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n "Licensor" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n "Legal Entity" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n "control" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n "You" (or "Your") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n "Source" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n "Object" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n "Work" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n "Derivative Works" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n "Contribution" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, "submitted"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as "Not a Contribution."\n\n "Contributor" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a "NOTICE" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets "[]"\n replaced with your own identifying information. (Don\'t include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same "printed page" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2019 Adobe\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n\n@internationalized/string@3.2.10\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n "License" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n "Licensor" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n "Legal Entity" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n "control" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n "You" (or "Your") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n "Source" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n "Object" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n "Work" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n "Derivative Works" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n "Contribution" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, "submitted"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as "Not a Contribution."\n\n "Contributor" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a "NOTICE" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets "[]"\n replaced with your own identifying information. (Don\'t include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same "printed page" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2019 Adobe\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n\n@radix-ui/primitive@1.2.0\nMIT License\n\nCopyright (c) 2022 WorkOS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n@radix-ui/react-avatar@1.3.1\nMIT License\n\nCopyright (c) 2022 WorkOS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n@radix-ui/react-compose-refs@1.1.5\nMIT License\n\nCopyright (c) 2022 WorkOS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n@radix-ui/react-context@1.3.0\nMIT License\n\nCopyright (c) 2022 WorkOS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n@radix-ui/react-primitive@2.2.0\nMIT License\n\nCopyright (c) 2022 WorkOS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n@radix-ui/react-slot@1.5.0\nMIT License\n\nCopyright (c) 2022 WorkOS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n@radix-ui/react-use-callback-ref@1.1.5\nMIT License\n\nCopyright (c) 2022 WorkOS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n@radix-ui/react-use-layout-effect@1.1.4\nMIT License\n\nCopyright (c) 2022 WorkOS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n@react-aria/ssr@3.10.1\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n "License" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n "Licensor" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n "Legal Entity" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n "control" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n "You" (or "Your") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n "Source" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n "Object" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n "Work" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n "Derivative Works" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n "Contribution" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, "submitted"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as "Not a Contribution."\n\n "Contributor" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a "NOTICE" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets "[]"\n replaced with your own identifying information. (Don\'t include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same "printed page" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2019 Adobe\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n\n@react-aria/utils@3.34.1\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n "License" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n "Licensor" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n "Legal Entity" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n "control" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n "You" (or "Your") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n "Source" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n "Object" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n "Work" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n "Derivative Works" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n "Contribution" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, "submitted"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as "Not a Contribution."\n\n "Contributor" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a "NOTICE" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets "[]"\n replaced with your own identifying information. (Don\'t include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same "printed page" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2019 Adobe\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n\n@react-stately/utils@3.12.1\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n "License" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n "Licensor" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n "Legal Entity" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n "control" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n "You" (or "Your") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n "Source" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n "Object" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n "Work" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n "Derivative Works" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n "Contribution" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, "submitted"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as "Not a Contribution."\n\n "Contributor" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a "NOTICE" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets "[]"\n replaced with your own identifying information. (Don\'t include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same "printed page" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2019 Adobe\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n\nclsx@2.1.1\nMIT License\n\nCopyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\ninput-otp@1.5.0\nMIT License\n\nCopyright (c) 2024 Guilherme Rodz\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\nreact-aria-components@1.22.1\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n "License" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n "Licensor" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n "Legal Entity" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n "control" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n "You" (or "Your") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n "Source" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n "Object" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n "Work" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n "Derivative Works" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n "Contribution" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, "submitted"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as "Not a Contribution."\n\n "Contributor" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a "NOTICE" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets "[]"\n replaced with your own identifying information. (Don\'t include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same "printed page" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2019 Adobe\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n\nreact-aria@3.53.1\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n "License" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n "Licensor" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n "Legal Entity" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n "control" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n "You" (or "Your") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n "Source" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n "Object" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n "Work" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n "Derivative Works" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n "Contribution" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, "submitted"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as "Not a Contribution."\n\n "Contributor" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a "NOTICE" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets "[]"\n replaced with your own identifying information. (Don\'t include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same "printed page" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2019 Adobe\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n\nreact-dom@19.3.0\nMIT License\n\nCopyright (c) Meta Platforms, Inc. and affiliates.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\nreact-stately@3.51.0\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n "License" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n "Licensor" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n "Legal Entity" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n "control" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n "You" (or "Your") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n "Source" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n "Object" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n "Work" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n "Derivative Works" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n "Contribution" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, "submitted"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as "Not a Contribution."\n\n "Contributor" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a "NOTICE" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets "[]"\n replaced with your own identifying information. (Don\'t include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same "printed page" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2019 Adobe\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n\nreact@19.3.0\nMIT License\n\nCopyright (c) Meta Platforms, Inc. and affiliates.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\nscheduler@0.28.0\nMIT License\n\nCopyright (c) Meta Platforms, Inc. and affiliates.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\ntailwind-variants@3.3.1\nMIT License\n\nCopyright (c) 2020 Tailwid Variants\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\nuse-sync-external-store@1.7.0\nMIT License\n\nCopyright (c) Meta Platforms, Inc. and affiliates.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n*/\n"use strict";var MockingbirdNotifications=(()=>{var SN=Object.create;var W7=Object.defineProperty;var wN=Object.getOwnPropertyDescriptor;var EN=Object.getOwnPropertyNames;var TN=Object.getPrototypeOf,DN=Object.prototype.hasOwnProperty;var zr=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(a){throw t=0,a}};var kN=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of EN(t))!DN.call(e,o)&&o!==a&&W7(e,o,{get:()=>t[o],enumerable:!(r=wN(t,o))||r.enumerable});return e};var T=(e,t,a)=>(a=e!=null?SN(TN(e)):{},kN(t||!e||!e.__esModule?W7(a,"default",{value:e,enumerable:!0}):a,e));var J7=zr(cp=>{"use strict";var RN=Symbol.for("react.transitional.element"),AN=Symbol.for("react.fragment");function Q7(e,t,a){var r=null;if(a!==void 0&&(r=""+a),t.key!==void 0&&(r=""+t.key),"key"in t){a={};for(var o in t)o!=="key"&&(a[o]=t[o])}else a=t;return t=a.ref,{$$typeof:RN,type:e,key:r,ref:t!==void 0?t:null,props:a}}cp.Fragment=AN;cp.jsx=Q7;cp.jsxs=Q7});var me=zr((KV,e6)=>{"use strict";e6.exports=J7()});var h6=zr(Se=>{"use strict";var zh=Symbol.for("react.transitional.element"),PN=Symbol.for("react.portal"),LN=Symbol.for("react.fragment"),BN=Symbol.for("react.strict_mode"),zN=Symbol.for("react.profiler"),ON=Symbol.for("react.consumer"),IN=Symbol.for("react.context"),FN=Symbol.for("react.forward_ref"),KN=Symbol.for("react.suspense"),VN=Symbol.for("react.memo"),s6=Symbol.for("react.lazy"),_N=Symbol.for("react.activity"),HN=Symbol.for("react.view_transition"),o6=Symbol.iterator;function jN(e){return e===null||typeof e!="object"?null:(e=o6&&e[o6]||e["@@iterator"],typeof e=="function"?e:null)}var u6={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},c6=Object.assign,d6={};function Es(e,t,a){this.props=e,this.context=t,this.refs=d6,this.updater=a||u6}Es.prototype.isReactComponent={};Es.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Es.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function f6(){}f6.prototype=Es.prototype;function Oh(e,t,a){this.props=e,this.context=t,this.refs=d6,this.updater=a||u6}var Ih=Oh.prototype=new f6;Ih.constructor=Oh;c6(Ih,Es.prototype);Ih.isPureReactComponent=!0;var l6=Array.isArray;function Bh(){}var bt={H:null,A:null,T:null,S:null},p6=Object.prototype.hasOwnProperty;function Fh(e,t,a){var r=a.ref;return{$$typeof:zh,type:e,key:t,ref:r!==void 0?r:null,props:a}}function UN(e,t){return Fh(e.type,t,e.props)}function Kh(e){return typeof e=="object"&&e!==null&&e.$$typeof===zh}function GN(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return t[a]})}var n6=/\\/+/g;function Lh(e,t){return typeof e=="object"&&e!==null&&e.key!=null?GN(""+e.key):t.toString(36)}function qN(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Bh,Bh):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function ws(e,t,a,r,o){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var n=!1;if(e===null)n=!0;else switch(l){case"bigint":case"string":case"number":n=!0;break;case"object":switch(e.$$typeof){case zh:case PN:n=!0;break;case s6:return n=e._init,ws(n(e._payload),t,a,r,o)}}if(n)return o=o(e),n=r===""?"."+Lh(e,0):r,l6(o)?(a="",n!=null&&(a=n.replace(n6,"$&/")+"/"),ws(o,t,a,"",function(u){return u})):o!=null&&(Kh(o)&&(o=UN(o,a+(o.key==null||e&&e.key===o.key?"":(""+o.key).replace(n6,"$&/")+"/")+n)),t.push(o)),1;n=0;var i=r===""?".":r+":";if(l6(e))for(var s=0;s<e.length;s++)r=e[s],l=i+Lh(r,s),n+=ws(r,t,a,l,o);else if(s=jN(e),typeof s=="function")for(e=s.call(e),s=0;!(r=e.next()).done;)r=r.value,l=i+Lh(r,s++),n+=ws(r,t,a,l,o);else if(l==="object"){if(typeof e.then=="function")return ws(qN(e),t,a,r,o);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return n}function pp(e,t,a){if(e==null)return e;var r=[],o=0;return ws(e,r,"","",function(l){return t.call(a,l,o++)}),r}function YN(e){if(e._status===-1){var t=e._result,a=t();a.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r,a.status===void 0&&(a.status="fulfilled",a.value=r))},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r,a.status===void 0&&(a.status="rejected",a.reason=r))}),e._status===-1&&(e._status=0,e._result=a)}if(e._status===1)return e._result.default;throw e._result}var i6=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}console.error(e)};function m6(e){var t=bt.T,a={};a.types=t!==null?t.types:null,bt.T=a;try{var r=e(),o=bt.S;o!==null&&o(a,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(Bh,i6)}catch(l){i6(l)}finally{t!==null&&a.types!==null&&(t.types=a.types),bt.T=t}}function b6(e){var t=bt.T;if(t!==null){var a=t.types;a===null?t.types=[e]:a.indexOf(e)===-1&&a.push(e)}else m6(b6.bind(null,e))}var WN={map:pp,forEach:function(e,t,a){pp(e,function(){t.apply(this,arguments)},a)},count:function(e){var t=0;return pp(e,function(){t++}),t},toArray:function(e){return pp(e,function(t){return t})||[]},only:function(e){if(!Kh(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Se.Activity=_N;Se.Children=WN;Se.Component=Es;Se.Fragment=LN;Se.Profiler=zN;Se.PureComponent=Oh;Se.StrictMode=BN;Se.Suspense=KN;Se.ViewTransition=HN;Se.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=bt;Se.__COMPILER_RUNTIME={__proto__:null,c:function(e){return bt.H.useMemoCache(e)}};Se.addTransitionType=b6;Se.cache=function(e){return function(){return e.apply(null,arguments)}};Se.cacheSignal=function(){return null};Se.cloneElement=function(e,t,a){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=c6({},e.props),o=e.key;if(t!=null)for(l in t.key!==void 0&&(o=""+t.key),t)!p6.call(t,l)||l==="key"||l==="__self"||l==="__source"||l==="ref"&&t.ref===void 0||(r[l]=t[l]);var l=arguments.length-2;if(l===1)r.children=a;else if(1<l){for(var n=Array(l),i=0;i<l;i++)n[i]=arguments[i+2];r.children=n}return Fh(e.type,o,r)};Se.createContext=function(e){return e={$$typeof:IN,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:ON,_context:e},e};Se.createElement=function(e,t,a){var r,o={},l=null;if(t!=null)for(r in t.key!==void 0&&(l=""+t.key),t)p6.call(t,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=t[r]);var n=arguments.length-2;if(n===1)o.children=a;else if(1<n){for(var i=Array(n),s=0;s<n;s++)i[s]=arguments[s+2];o.children=i}if(e&&e.defaultProps)for(r in n=e.defaultProps,n)o[r]===void 0&&(o[r]=n[r]);return Fh(e,l,o)};Se.createRef=function(){return{current:null}};Se.forwardRef=function(e){return{$$typeof:FN,render:e}};Se.isValidElement=Kh;Se.lazy=function(e){return{$$typeof:s6,_payload:{_status:-1,_result:e},_init:YN}};Se.memo=function(e,t){return{$$typeof:VN,type:e,compare:t===void 0?null:t}};Se.startTransition=m6;Se.unstable_useCacheRefresh=function(){return bt.H.useCacheRefresh()};Se.use=function(e){return bt.H.use(e)};Se.useActionState=function(e,t,a){return bt.H.useActionState(e,t,a)};Se.useCallback=function(e,t){return bt.H.useCallback(e,t)};Se.useContext=function(e){return bt.H.useContext(e)};Se.useDebugValue=function(){};Se.useDeferredValue=function(e,t){return bt.H.useDeferredValue(e,t)};Se.useEffect=function(e,t){return bt.H.useEffect(e,t)};Se.useEffectEvent=function(e){return bt.H.useEffectEvent(e)};Se.useId=function(){return bt.H.useId()};Se.useImperativeHandle=function(e,t,a){return bt.H.useImperativeHandle(e,t,a)};Se.useInsertionEffect=function(e,t){return bt.H.useInsertionEffect(e,t)};Se.useLayoutEffect=function(e,t){return bt.H.useLayoutEffect(e,t)};Se.useMemo=function(e,t){return bt.H.useMemo(e,t)};Se.useOptimistic=function(e,t){return bt.H.useOptimistic(e,t)};Se.useReducer=function(e,t,a){return bt.H.useReducer(e,t,a)};Se.useRef=function(e){return bt.H.useRef(e)};Se.useState=function(e){return bt.H.useState(e)};Se.useSyncExternalStore=function(e,t,a){return bt.H.useSyncExternalStore(e,t,a)};Se.useTransition=function(){return bt.H.useTransition()};Se.version="19.3.0"});var R=zr((GV,g6)=>{"use strict";g6.exports=h6()});var H6=zr(Sa=>{"use strict";var LM=R();function _6(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function nn(){}var Ba={d:{f:nn,r:function(){throw Error(_6(522))},D:nn,C:nn,L:nn,m:nn,X:nn,S:nn,M:nn},p:0,findDOMNode:null},BM=Symbol.for("react.portal"),zM=Symbol.for("react.recoverable"),V6=Symbol.for("react.optimistic_key");function OM(e,t,a){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:BM,key:r==null?null:r===V6?V6:""+r,children:e,containerInfo:t,implementation:a}}var Uc=LM.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Sp(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Sa.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ba;Sa.browser=function(e){return{$$typeof:zM,_reason:e}};Sa.createPortal=function(e,t){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(_6(299));return OM(e,t,null,a)};Sa.flushSync=function(e){var t=Uc.T,a=Ba.p;try{if(Uc.T=null,Ba.p=2,e)return e()}finally{Uc.T=t,Ba.p=a,Ba.d.f()}};Sa.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Ba.d.C(e,t))};Sa.prefetchDNS=function(e){typeof e=="string"&&Ba.d.D(e)};Sa.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var a=t.as,r=Sp(a,t.crossOrigin),o=typeof t.integrity=="string"?t.integrity:void 0,l=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;a==="style"?Ba.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:r,integrity:o,fetchPriority:l}):a==="script"&&Ba.d.X(e,{crossOrigin:r,integrity:o,fetchPriority:l,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Sa.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var a=Sp(t.as,t.crossOrigin);Ba.d.M(e,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0})}}else t==null&&Ba.d.M(e)};Sa.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var a=t.as,r=Sp(a,t.crossOrigin);Ba.d.L(e,a,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Sa.preloadModule=function(e,t){if(typeof e=="string")if(t){var a=Sp(t.as,t.crossOrigin);Ba.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0})}else Ba.d.m(e)};Sa.requestFormReset=function(e){Ba.d.r(e)};Sa.unstable_batchedUpdates=function(e,t){return e(t)};Sa.useFormState=function(e,t,a){return Uc.H.useFormState(e,t,a)};Sa.useFormStatus=function(){return Uc.H.useHostTransitionStatus()};Sa.version="19.3.0"});var mo=zr((sj,U6)=>{"use strict";function j6(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(j6)}catch(e){console.error(e)}}j6(),U6.exports=H6()});var YC=zr(qC=>{"use strict";var au=R();function RB(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var AB=typeof Object.is=="function"?Object.is:RB,NB=au.useState,MB=au.useEffect,PB=au.useLayoutEffect,LB=au.useDebugValue;function BB(e,t){var a=t(),r=NB({inst:{value:a,getSnapshot:t}}),o=r[0].inst,l=r[1];return PB(function(){o.value=a,o.getSnapshot=t,X1(o)&&l({inst:o})},[e,a,t]),MB(function(){return X1(o)&&l({inst:o}),e(function(){X1(o)&&l({inst:o})})},[e]),LB(a),a}function X1(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!AB(e,a)}catch{return!0}}function zB(e,t){return t()}var OB=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?zB:BB;qC.useSyncExternalStore=au.useSyncExternalStore!==void 0?au.useSyncExternalStore:OB});var XC=zr((bQ,WC)=>{"use strict";WC.exports=YC()});var TE=zr(wt=>{"use strict";function D5(e,t){var a=e.length;e.push(t);e:for(;0<a;){var r=a-1>>>1,o=e[r];if(0<P0(o,t))e[r]=t,e[a]=o,a=r;else break e}}function Yo(e){return e.length===0?null:e[0]}function B0(e){if(e.length===0)return null;var t=e[0],a=e.pop();if(a!==t){e[0]=a;e:for(var r=0,o=e.length,l=o>>>1;r<l;){var n=2*(r+1)-1,i=e[n],s=n+1,u=e[s];if(0>P0(i,a))s<o&&0>P0(u,i)?(e[r]=u,e[s]=a,r=s):(e[r]=i,e[n]=a,r=n);else if(s<o&&0>P0(u,a))e[r]=u,e[s]=a,r=s;else break e}}return t}function P0(e,t){var a=e.sortIndex-t.sortIndex;return a!==0?a:e.id-t.id}wt.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(gE=performance,wt.unstable_now=function(){return gE.now()}):(w5=Date,$E=w5.now(),wt.unstable_now=function(){return w5.now()-$E});var gE,w5,$E,Ml=[],kn=[],LO=1,to=null,Na=3,k5=!1,Jd=!1,ef=!1,R5=!1,yE=typeof setTimeout=="function"?setTimeout:null,CE=typeof clearTimeout=="function"?clearTimeout:null,xE=typeof setImmediate<"u"?setImmediate:null;function L0(e){for(var t=Yo(kn);t!==null;){if(t.callback===null)B0(kn);else if(t.startTime<=e)B0(kn),t.sortIndex=t.expirationTime,D5(Ml,t);else break;t=Yo(kn)}}function A5(e){if(ef=!1,L0(e),!Jd)if(Yo(Ml)!==null)Jd=!0,Lu||(Lu=!0,Pu());else{var t=Yo(kn);t!==null&&N5(A5,t.startTime-e)}}var Lu=!1,tf=-1,SE=5,wE=-1;function EE(){return R5?!0:!(wt.unstable_now()-wE<SE)}function E5(){if(R5=!1,Lu){var e=wt.unstable_now();wE=e;var t=!0;try{e:{Jd=!1,ef&&(ef=!1,CE(tf),tf=-1),k5=!0;var a=Na;try{t:{for(L0(e),to=Yo(Ml);to!==null&&!(to.expirationTime>e&&EE());){var r=to.callback;if(typeof r=="function"){to.callback=null,Na=to.priorityLevel;var o=r(to.expirationTime<=e);if(e=wt.unstable_now(),typeof o=="function"){to.callback=o,L0(e),t=!0;break t}to===Yo(Ml)&&B0(Ml),L0(e)}else B0(Ml);to=Yo(Ml)}if(to!==null)t=!0;else{var l=Yo(kn);l!==null&&N5(A5,l.startTime-e),t=!1}}break e}finally{to=null,Na=a,k5=!1}t=void 0}}finally{t?Pu():Lu=!1}}}var Pu;typeof xE=="function"?Pu=function(){xE(E5)}:typeof MessageChannel<"u"?(T5=new MessageChannel,vE=T5.port2,T5.port1.onmessage=E5,Pu=function(){vE.postMessage(null)}):Pu=function(){yE(E5,0)};var T5,vE;function N5(e,t){tf=yE(function(){e(wt.unstable_now())},t)}wt.unstable_IdlePriority=5;wt.unstable_ImmediatePriority=1;wt.unstable_LowPriority=4;wt.unstable_NormalPriority=3;wt.unstable_Profiling=null;wt.unstable_UserBlockingPriority=2;wt.unstable_cancelCallback=function(e){e.callback=null};wt.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):SE=0<e?Math.floor(1e3/e):5};wt.unstable_getCurrentPriorityLevel=function(){return Na};wt.unstable_next=function(e){switch(Na){case 1:case 2:case 3:var t=3;break;default:t=Na}var a=Na;Na=t;try{return e()}finally{Na=a}};wt.unstable_requestPaint=function(){R5=!0};wt.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=Na;Na=e;try{return t()}finally{Na=a}};wt.unstable_scheduleCallback=function(e,t,a){var r=wt.unstable_now();switch(typeof a=="object"&&a!==null?(a=a.delay,a=typeof a=="number"&&0<a?r+a:r):a=r,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=a+o,e={id:LO++,callback:t,priorityLevel:e,startTime:a,expirationTime:o,sortIndex:-1},a>r?(e.sortIndex=a,D5(kn,e),Yo(Ml)===null&&e===Yo(kn)&&(ef?(CE(tf),tf=-1):ef=!0,N5(A5,a-r))):(e.sortIndex=o,D5(Ml,e),Jd||k5||(Jd=!0,Lu||(Lu=!0,Pu()))),e};wt.unstable_shouldYield=EE;wt.unstable_wrapCallback=function(e){var t=Na;return function(){var a=Na;Na=t;try{return e.apply(this,arguments)}finally{Na=a}}}});var kE=zr((L4e,DE)=>{"use strict";DE.exports=TE()});var mA=zr(hh=>{"use strict";var Jt=kE(),pD=R(),BO=mo();function I(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function mD(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Hf(e){for(var t=e,a=t;a&&!a.alternate;)t=a,(t.flags&4098)!==0&&(e=t.return),a=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function bD(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function hD(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function RE(e){if(Hf(e)!==e)throw Error(I(188))}function zO(e){var t=e.alternate;if(!t){if(t=Hf(e),t===null)throw Error(I(188));return t!==e?null:e}for(var a=e,r=t;;){var o=a.return;if(o===null)break;var l=o.alternate;if(l===null){if(r=o.return,r!==null){a=r;continue}break}if(o.child===l.child){for(l=o.child;l;){if(l===a)return RE(o),e;if(l===r)return RE(o),t;l=l.sibling}throw Error(I(188))}if(a.return!==r.return)a=o,r=l;else{for(var n=!1,i=o.child;i;){if(i===a){n=!0,a=o,r=l;break}if(i===r){n=!0,r=o,a=l;break}i=i.sibling}if(!n){for(i=l.child;i;){if(i===a){n=!0,a=l,r=o;break}if(i===r){n=!0,r=l,a=o;break}i=i.sibling}if(!n)throw Error(I(189))}}if(a.alternate!==r)throw Error(I(190))}if(a.tag!==3)throw Error(I(188));return a.stateNode.current===a?e:t}function gD(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=gD(e),t!==null)return t;e=e.sibling}return null}function ur(e,t,a,r,o,l){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&a(e,r,o,l)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&ur(e.child,t,a,r,o,l))return!0;e=e.sibling}return!1}function ms(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function AE(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function $D(e){var t=[null,null],a=ms(e);return a===null||xD(t,e,a.child,{foundSelf:!1}),t}function xD(e,t,a,r){for(;a!==null;){if(a===t)r.foundSelf=!0;else if(a.tag===5||a.tag===27||a.tag===6){if(r.foundSelf)return e[1]=a,!0;e[0]=a}else if((a.tag!==22||a.memoizedState===null)&&xD(e,t,a.child,r))return!0;a=a.sibling}return!1}function Qt(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(I(559))}}var Vu=null,uy=null;function OO(e,t,a){return e===a?!0:e===t?(Vu=e,!0):!1}function IO(e,t,a){return e===a?(uy=e,!1):e===t?(uy!==null&&(Vu=e),!0):!1}function NE(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function cy(e,t,a){for(var r=0,o=e;o;o=a(o))r++;o=0;for(var l=t;l;l=a(l))o++;for(;0<r-o;)e=a(e),r--;for(;0<o-r;)t=a(t),o--;for(;r--;){if(e===t||t!==null&&e===t.alternate)return e;e=a(e),t=a(t)}return null}var dt=Object.assign,FO=Symbol.for("react.element"),z0=Symbol.for("react.transitional.element"),uf=Symbol.for("react.portal"),_u=Symbol.for("react.fragment"),vD=Symbol.for("react.strict_mode"),dy=Symbol.for("react.profiler"),yD=Symbol.for("react.consumer"),el=Symbol.for("react.context"),v8=Symbol.for("react.forward_ref"),fy=Symbol.for("react.suspense"),py=Symbol.for("react.suspense_list"),y8=Symbol.for("react.memo"),Mn=Symbol.for("react.lazy"),my=Symbol.for("react.activity"),KO=Symbol.for("react.legacy_hidden"),VO=Symbol.for("react.memo_cache_sentinel"),by=Symbol.for("react.view_transition"),_O=Symbol.for("react.recoverable"),ME=Symbol.iterator;function af(e){return e===null||typeof e!="object"?null:(e=ME&&e[ME]||e["@@iterator"],typeof e=="function"?e:null)}var HO=Symbol.for("react.client.reference");function hy(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===HO?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _u:return"Fragment";case dy:return"Profiler";case vD:return"StrictMode";case fy:return"Suspense";case py:return"SuspenseList";case my:return"Activity";case by:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case uf:return"Portal";case el:return e.displayName||"Context";case yD:return(e._context.displayName||"Context")+".Consumer";case v8:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case y8:return t=e.displayName||null,t!==null?t:hy(e.type)||"Memo";case Mn:t=e._payload,e=e._init;try{return hy(e(t))}catch{}}return null}var cf=Array.isArray,xe=pD.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ge=BO.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ts={pending:!1,data:null,method:null,action:null},gy=[],Hu=-1;function il(e){return{current:e}}function xa(e){0>Hu||(e.current=gy[Hu],gy[Hu]=null,Hu--)}function xt(e,t){Hu++,gy[Hu]=e.current,e.current=t}var ol=il(null),Df=il(null),Vn=il(null),Cb=il(null);function Sb(e,t){switch(xt(Vn,t),xt(Df,e),xt(ol,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?GT(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=GT(t),e=HR(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}xa(ol),xt(ol,e)}function uc(){xa(ol),xa(Df),xa(Vn)}function $y(e){var t=e.memoizedState;t!==null&&(xc._currentValue=t.memoizedState,xt(Cb,e)),t=ol.current;var a=HR(t,e.type);t!==a&&(xt(Df,e),xt(ol,a))}function wb(e){Df.current===e&&(xa(ol),xa(Df)),Cb.current===e&&(xa(Cb),xc._currentValue=ts)}var M5,PE;function An(e){if(M5===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\\n( *(at )?)/);M5=t&&t[1]||"",PE=-1<a.stack.indexOf(`\n at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`\n`+M5+e+PE}var P5=!1;function L5(e,t){if(!e||P5)return"";P5=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(m){var f=m}Reflect.construct(e,[],d)}else{try{d.call()}catch(m){f=m}d=!1;try{var b=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),d=!0,new e}finally{d&&(b!==void 0?Object.defineProperty(e.prototype,"props",b):delete e.prototype.props)}}}else{try{throw Error()}catch(m){f=m}(d=e())&&typeof d.catch=="function"&&d.catch(function(){})}}catch(m){if(m&&f&&typeof m.stack=="string")return[m.stack,f.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var l=r.DetermineComponentFrameRoot(),n=l[0],i=l[1];if(n&&i){var s=n.split(`\n`),u=i.split(`\n`);for(o=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;o<u.length&&!u[o].includes("DetermineComponentFrameRoot");)o++;if(r===s.length||o===u.length)for(r=s.length-1,o=u.length-1;1<=r&&0<=o&&s[r]!==u[o];)o--;for(;1<=r&&0<=o;r--,o--)if(s[r]!==u[o]){if(r!==1||o!==1)do if(r--,o--,0>o||s[r]!==u[o]){var c=`\n`+s[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=r&&0<=o);break}}}finally{P5=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?An(a):""}function jO(e,t){switch(e.tag){case 26:case 27:case 5:return An(e.type);case 16:return An("Lazy");case 13:return e.child!==t&&t!==null?An("Suspense Fallback"):An("Suspense");case 19:return An("SuspenseList");case 0:case 15:return L5(e.type,!1);case 11:return L5(e.type.render,!1);case 1:return L5(e.type,!0);case 31:return An("Activity");case 30:return An("ViewTransition");default:return""}}function LE(e){try{var t="",a=null;do t+=jO(e,a),a=e,e=e.return;while(e);return t}catch(r){return`\nError generating stack: `+r.message+`\n`+r.stack}}var xy=Object.prototype.hasOwnProperty,C8=Jt.unstable_scheduleCallback,B5=Jt.unstable_cancelCallback,UO=Jt.unstable_shouldYield,GO=Jt.unstable_requestPaint,kr=Jt.unstable_now,qO=Jt.unstable_getCurrentPriorityLevel,CD=Jt.unstable_ImmediatePriority,SD=Jt.unstable_UserBlockingPriority,Eb=Jt.unstable_NormalPriority,YO=Jt.unstable_LowPriority,wD=Jt.unstable_IdlePriority,WO=Jt.log,XO=Jt.unstable_setDisableYieldValue,jf=null,Rr=null;function Bn(e){if(typeof WO=="function"&&XO(e),Rr&&typeof Rr.setStrictMode=="function")try{Rr.setStrictMode(jf,e)}catch{}}var Ar=Math.clz32?Math.clz32:JO,ZO=Math.log,QO=Math.LN2;function JO(e){return e>>>=0,e===0?32:31-(ZO(e)/QO|0)|0}var O0=256,I0=262144,F0=4194304;function Xi(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Zb(e,t,a){var r=e.pendingLanes;if(r===0)return 0;var o=0,l=e.suspendedLanes,n=e.pingedLanes;e=e.warmLanes;var i=r&134217727;return i!==0?(r=i&~l,r!==0?o=Xi(r):(n&=i,n!==0?o=Xi(n):a||(a=i&~e,a!==0&&(o=Xi(a))))):(i=r&~l,i!==0?o=Xi(i):n!==0?o=Xi(n):a||(a=r&~e,a!==0&&(o=Xi(a)))),o===0?0:t!==0&&t!==o&&(t&l)===0&&(l=o&-o,a=t&-t,l>=a||l===32&&(a&4194048)!==0)?t:o}function Uf(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ED(e,t){(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var r=31-Ar(a),o=1<<r;t|=e[r],a&=~o}return t}function eI(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function TD(){var e=F0;return F0<<=1,(F0&62914560)===0&&(F0=4194304),e}function z5(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Gf(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function tI(e,t,a,r,o,l){var n=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var i=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(a=n&~a;0<a;){var c=31-Ar(a),d=1<<c;i[c]=0,s[c]=-1;var f=u[c];if(f!==null)for(u[c]=null,c=0;c<f.length;c++){var b=f[c];b!==null&&(b.lane&=-536870913)}a&=~d}r!==0&&DD(e,r,0),l!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=l&~(n&~t))}function DD(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ar(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|a&261930}function kD(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var r=31-Ar(a),o=1<<r;o&t|e[r]&t&&(e[r]|=t),a&=~o}}function RD(e,t){var a=t&-t;return a=(a&42)!==0?1:S8(a),(a&(e.suspendedLanes|t))!==0?0:a}function S8(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function w8(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function AD(){var e=Ge.p;return e!==0?e:(e=window.event,e===void 0?32:dA(e.type))}function BE(e,t){var a=Ge.p;try{return Ge.p=e,t()}finally{Ge.p=a}}var Ul=Math.random().toString(36).slice(2),ga="__reactFiber$"+Ul,cr="__reactProps$"+Ul,Cc="__reactContainer$"+Ul,zE="__reactEvents$"+Ul,aI="__reactListeners$"+Ul,rI="__reactHandles$"+Ul,OE="__reactResources$"+Ul,qf="__reactMarker$"+Ul,Tb="__reactLoad$"+Ul;function Qb(e){delete e[ga],delete e[cr],delete e[aI],delete e[rI]}function Ji(e){var t;if(t=e[ga])return t;for(var a=e.parentNode;a;){if(t=a[Cc]||a[ga]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=eD(e);e!==null;){if(a=e[ga])return a;e=eD(e)}return t}e=a,a=e.parentNode}return null}function Sc(e){if(e=e[ga]||e[Cc]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function df(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(I(33))}function Ju(e){var t=e[OE];return t||(t=e[OE]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function fa(e){e[qf]=!0}function ND(e){e[Tb]=void 0}var MD=new Set,PD={};function bs(e,t){cc(e,t),cc(e+"Capture",t)}function cc(e,t){for(PD[e]=t,e=0;e<t.length;e++)MD.add(t[e])}var oI=RegExp("^[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$"),IE={},FE={};function lI(e){return xy.call(FE,e)?!0:xy.call(IE,e)?!1:oI.test(e)?FE[e]=!0:(IE[e]=!0,!1)}var _e=!1;function KE(){var e=_e;return _e=!1,e}function rb(e,t,a){if(lI(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,a)}}function K0(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,a)}}function Pl(e,t,a,r){if(r===null)e.removeAttribute(a);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,r)}}function wr(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function LD(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function nI(e,t,a){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,l=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(n){a=""+n,l.call(this,n)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return a},setValue:function(n){a=""+n},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vy(e){if(!e._valueTracker){var t=LD(e)?"checked":"value";e._valueTracker=nI(e,t,""+e[t])}}function BD(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),r="";return e&&(r=LD(e)?e.checked?"true":"false":e.value),e=r,e!==a?(t.setValue(e),!0):!1}var iI=/[\\n"\\\\]/g;function no(e){return e.replace(iI,function(t){return"\\\\"+t.charCodeAt(0).toString(16)+" "})}function yy(e,t,a,r,o,l,n,i){e.name="",n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"?e.type=n:e.removeAttribute("type"),t!=null?n==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+wr(t)):e.value!==""+wr(t)&&(e.value=""+wr(t)):n!=="submit"&&n!=="reset"||e.removeAttribute("value"),t!=null?n==="number"&&e.value==t?O5(e,wr(e.value)):O5(e,wr(t)):a!=null?O5(e,wr(a)):r!=null&&e.removeAttribute("value"),o==null&&l!=null&&(e.defaultChecked=!!l),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.name=""+wr(i):e.removeAttribute("name")}function zD(e,t,a,r,o,l,n,i){if(l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"&&(e.type=l),t!=null||a!=null){if(!(l!=="submit"&&l!=="reset"||t!=null)){vy(e);return}a=a!=null?""+wr(a):"",t=t!=null?""+wr(t):a,i||t===e.value||(e.value=t),e.defaultValue=t}r=r??o,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=i?e.checked:!!r,e.defaultChecked=!!r,n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(e.name=n),vy(e)}function O5(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function ec(e,t,a,r){if(e=e.options,t){t={};for(var o=0;o<a.length;o++)t["$"+a[o]]=!0;for(a=0;a<e.length;a++)o=t.hasOwnProperty("$"+e[a].value),e[a].selected!==o&&(e[a].selected=o),o&&r&&(e[a].defaultSelected=!0)}else{for(a=""+wr(a),t=null,o=0;o<e.length;o++){if(e[o].value===a){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function OD(e,t,a){if(t!=null&&(t=""+wr(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+wr(a):""}function ID(e,t,a,r){if(t==null){if(r!=null){if(a!=null)throw Error(I(92));if(cf(r)){if(1<r.length)throw Error(I(93));r=r[0]}a=r}a==null&&(a=""),t=a}a=wr(t),e.defaultValue=a,r=e.textContent,r===a&&r!==""&&r!==null&&(e.value=r),vy(e)}function dc(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var sI=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function VE(e,t,a){var r=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,a):typeof a!="number"||a===0||sI.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function FD(e,t,a){if(t!=null&&typeof t!="object")throw Error(I(62));if(e=e.style,a!=null){for(var r in a)!a.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf("--")===0?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="",_e=!0);for(var o in t)r=t[o],t.hasOwnProperty(o)&&a[o]!==r&&(VE(e,o,r),_e=!0)}else for(var l in t)t.hasOwnProperty(l)&&VE(e,l,t[l])}function E8(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var uI=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),cI=/^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:/i;function ob(e){return cI.test(""+e)?"javascript:throw new Error(\'React has blocked a javascript: URL as a security precaution.\')":e}function tl(){}var Cy=null;function T8(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ju=null,tc=null;function _E(e){var t=Sc(e);if(t&&(e=t.stateNode)){var a=e[cr]||null;e:switch(e=t.stateNode,t.type){case"input":if(yy(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll(\'input[name="\'+no(""+t)+\'"][type="radio"]\'),t=0;t<a.length;t++){var r=a[t];if(r!==e&&r.form===e.form){var o=r[cr]||null;if(!o)throw Error(I(90));yy(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<a.length;t++)r=a[t],r.form===e.form&&BD(r)}break e;case"textarea":OD(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&ec(e,!!a.multiple,t,!1)}}}var I5=!1;function KD(e,t,a){if(I5)return e(t,a);I5=!0;try{var r=e(t);return r}finally{if(I5=!1,(ju!==null||tc!==null)&&(fh(),ju&&(t=ju,e=tc,tc=ju=null,_E(t),e)))for(t=0;t<e.length;t++)_E(e[t])}}function kf(e,t){var a=e.stateNode;if(a===null)return null;var r=a[cr]||null;if(r===null)return null;a=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(I(231,t,typeof a));return a}var Fl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Sy=!1;if(Fl)try{Bu={},Object.defineProperty(Bu,"passive",{get:function(){Sy=!0}}),window.addEventListener("test",Bu,Bu),window.removeEventListener("test",Bu,Bu)}catch{Sy=!1}var Bu,zn=null,D8=null,lb=null;function VD(){if(lb)return lb;var e,t=D8,a=t.length,r,o="value"in zn?zn.value:zn.textContent,l=o.length;for(e=0;e<a&&t[e]===o[e];e++);var n=a-e;for(r=1;r<=n&&t[a-r]===o[l-r];r++);return lb=o.slice(e,1<r?1-r:void 0)}function nb(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function V0(){return!0}function HE(){return!1}function Ua(e){function t(a,r,o,l,n){this._reactName=a,this._targetInst=o,this.type=r,this.nativeEvent=l,this.target=n,this.currentTarget=null;for(var i in e)e.hasOwnProperty(i)&&(a=e[i],this[i]=a?a(l):l[i]);return this.isDefaultPrevented=(l.defaultPrevented!=null?l.defaultPrevented:l.returnValue===!1)?V0:HE,this.isPropagationStopped=HE,this}return dt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=V0)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=V0)},persist:function(){},isPersistent:V0}),t}var ai={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Jb=Ua(ai),Yf=dt({},ai,{view:0,detail:0}),dI=Ua(Yf),F5,K5,rf,eh=dt({},Yf,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:k8,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==rf&&(rf&&e.type==="mousemove"?(F5=e.screenX-rf.screenX,K5=e.screenY-rf.screenY):K5=F5=0,rf=e),F5)},movementY:function(e){return"movementY"in e?e.movementY:K5}}),jE=Ua(eh),fI=dt({},eh,{dataTransfer:0}),pI=Ua(fI),mI=dt({},Yf,{relatedTarget:0}),V5=Ua(mI),bI=dt({},ai,{animationName:0,elapsedTime:0,pseudoElement:0}),hI=Ua(bI),gI=dt({},ai,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),$I=Ua(gI),xI=dt({},ai,{data:0}),UE=Ua(xI),vI={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yI={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},CI={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function SI(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=CI[e])?!!t[e]:!1}function k8(){return SI}var wI=dt({},Yf,{key:function(e){if(e.key){var t=vI[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=nb(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?yI[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:k8,charCode:function(e){return e.type==="keypress"?nb(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?nb(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),EI=Ua(wI),TI=dt({},eh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),GE=Ua(TI),DI=dt({},ai,{submitter:0}),kI=Ua(DI),RI=dt({},Yf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:k8}),AI=Ua(RI),NI=dt({},ai,{propertyName:0,elapsedTime:0,pseudoElement:0}),MI=Ua(NI),PI=dt({},eh,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),LI=Ua(PI),BI=dt({},ai,{newState:0,oldState:0,source:0}),zI=Ua(BI),OI=[9,13,27,32],R8=Fl&&"CompositionEvent"in window,mf=null;Fl&&"documentMode"in document&&(mf=document.documentMode);var II=Fl&&"TextEvent"in window&&!mf,_D=Fl&&(!R8||mf&&8<mf&&11>=mf),qE=" ",YE=!1;function HD(e,t){switch(e){case"keyup":return OI.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jD(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Uu=!1;function FI(e,t){switch(e){case"compositionend":return jD(t);case"keypress":return t.which!==32?null:(YE=!0,qE);case"textInput":return e=t.data,e===qE&&YE?null:e;default:return null}}function KI(e,t){if(Uu)return e==="compositionend"||!R8&&HD(e,t)?(e=VD(),lb=D8=zn=null,Uu=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return _D&&t.locale!=="ko"?null:t.data;default:return null}}var VI={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function WE(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!VI[e.type]:t==="textarea"}function UD(e,t,a,r){ju?tc?tc.push(r):tc=[r]:ju=r,t=Yb(t,"onChange"),0<t.length&&(a=new Jb("onChange","change",null,a,r),e.push({event:a,listeners:t}))}var bf=null,Rf=null;function _I(e){KR(e,0)}function th(e){var t=df(e);if(BD(t))return e}function XE(e,t){if(e==="change")return t}var GD=!1;Fl&&(Fl?(H0="oninput"in document,H0||(_5=document.createElement("div"),_5.setAttribute("oninput","return;"),H0=typeof _5.oninput=="function"),_0=H0):_0=!1,GD=_0&&(!document.documentMode||9<document.documentMode));var _0,H0,_5;function ZE(){bf&&(bf.detachEvent("onpropertychange",qD),Rf=bf=null)}function qD(e){if(e.propertyName==="value"&&th(Rf)){var t=[];UD(t,Rf,e,T8(e)),KD(_I,t)}}function HI(e,t,a){e==="focusin"?(ZE(),bf=t,Rf=a,bf.attachEvent("onpropertychange",qD)):e==="focusout"&&ZE()}function jI(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return th(Rf)}function UI(e,t){if(e==="click")return th(t)}function GI(e,t){if(e==="input"||e==="change")return th(t)}function qI(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Mr=typeof Object.is=="function"?Object.is:qI;function Af(e,t){if(Mr(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),r=Object.keys(t);if(a.length!==r.length)return!1;for(r=0;r<a.length;r++){var o=a[r];if(!xy.call(t,o)||!Mr(e[o],t[o]))return!1}return!0}function wy(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function QE(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function JE(e,t){var a=QE(e);e=0;for(var r;a;){if(a.nodeType===3){if(r=e+a.textContent.length,e<=t&&r>=t)return{node:a,offset:t-e};e=r}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=QE(a)}}function YD(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?YD(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function WD(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=wy(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=wy(e.document)}return t}function A8(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var YI=Fl&&"documentMode"in document&&11>=document.documentMode,Gu=null,Ey=null,hf=null,Ty=!1;function eT(e,t,a){var r=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Ty||Gu==null||Gu!==wy(r)||(r=Gu,"selectionStart"in r&&A8(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),hf&&Af(hf,r)||(hf=r,r=Yb(Ey,"onSelect"),0<r.length&&(t=new Jb("onSelect","select",null,t,a),e.push({event:t,listeners:r}),t.target=Gu)))}function Yi(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var qu={animationend:Yi("Animation","AnimationEnd"),animationiteration:Yi("Animation","AnimationIteration"),animationstart:Yi("Animation","AnimationStart"),transitionrun:Yi("Transition","TransitionRun"),transitionstart:Yi("Transition","TransitionStart"),transitioncancel:Yi("Transition","TransitionCancel"),transitionend:Yi("Transition","TransitionEnd")},H5={},XD={};Fl&&(XD=document.createElement("div").style,"AnimationEvent"in window||(delete qu.animationend.animation,delete qu.animationiteration.animation,delete qu.animationstart.animation),"TransitionEvent"in window||delete qu.transitionend.transition);function hs(e){if(H5[e])return H5[e];if(!qu[e])return e;var t=qu[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in XD)return H5[e]=t[a];return e}var ZD=hs("animationend"),QD=hs("animationiteration"),JD=hs("animationstart"),WI=hs("transitionrun"),XI=hs("transitionstart"),ZI=hs("transitioncancel"),ek=hs("transitionend"),tk=new Map,Dy="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Dy.push("scrollEnd");function Do(e,t){tk.set(e,t),bs(t,[e])}var QI=0;function Kl(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=To.identifierPrefix;var a=QI++;return e="_"+e+"t_"+a.toString(32)+"_",t.autoName=e}function tT(e){if(e==null||typeof e=="string")return e;var t=null,a=sc;if(a!==null)for(var r=0;r<a.length;r++){var o=e[a[r]];if(o!=null){if(o==="none")return"none";t=t==null?o:t+(" "+o)}}return t??e.default}function Gl(e,t){return e=tT(e),t=tT(t),t==null?e==="auto"?null:e:t==="auto"?null:t}var Db=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}console.error(e)},ro=[],Yu=0,N8=0;function ah(){for(var e=Yu,t=N8=Yu=0;t<e;){var a=ro[t];ro[t++]=null;var r=ro[t];ro[t++]=null;var o=ro[t];ro[t++]=null;var l=ro[t];if(ro[t++]=null,r!==null&&o!==null){var n=r.pending;n===null?o.next=o:(o.next=n.next,n.next=o),r.pending=o}l!==0&&ak(a,o,l)}}function rh(e,t,a,r){ro[Yu++]=e,ro[Yu++]=t,ro[Yu++]=a,ro[Yu++]=r,N8|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function M8(e,t,a,r){return rh(e,t,a,r),kb(e)}function gs(e,t){return rh(e,null,null,t),kb(e)}function ak(e,t,a){e.lanes|=a;var r=e.alternate;r!==null&&(r.lanes|=a);for(var o=!1,l=e.return;l!==null;)l.childLanes|=a,r=l.alternate,r!==null&&(r.childLanes|=a),l.tag===22&&(e=l.stateNode,e===null||e._visibility&1||(o=!0)),e=l,l=l.return;return e.tag===3?(l=e.stateNode,o&&t!==null&&(o=31-Ar(a),e=l.hiddenUpdates,r=e[o],r===null?e[o]=[t]:r.push(t),t.lane=a|536870912),l):null}function kb(e){if(50<Tf)throw Tf=0,hb=null,Error(I(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Wu={};function JI(e,t,a,r){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ir(e,t,a,r){return new JI(e,t,a,r)}function P8(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ol(e,t){var a=e.alternate;return a===null?(a=ir(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&1206910976,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function rk(e,t){e.flags&=1206910978;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ib(e,t,a,r,o,l){var n=0;if(r=e,typeof r=="function")P8(r)&&(n=1);else if(typeof r=="string")n=EK(e,a,ol.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(r){case my:return e=ir(31,a,t,o),e.elementType=my,e.lanes=l,e;case _u:return as(a.children,o,l,t);case vD:n=8,o|=24;break;case dy:return e=ir(12,a,t,o|2),e.elementType=dy,e.lanes=l,e;case fy:return e=ir(13,a,t,o),e.elementType=fy,e.lanes=l,e;case py:return e=ir(19,a,t,o),e.elementType=py,e.lanes=l,e;case KO:case by:return e=o|32,e=ir(30,a,t,e),e.elementType=by,e.lanes=l,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case el:n=10;break e;case yD:n=9;break e;case v8:n=11;break e;case y8:n=14;break e;case Mn:n=16,r=null;break e}n=29,a=Error(I(130,e===null?"null":typeof e,"")),r=null}return t=ir(n,a,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function as(e,t,a,r){return e=ir(7,e,r,t),e.lanes=a,e}function j5(e,t,a){return e=ir(6,e,null,t),e.lanes=a,e}function ok(e){var t=ir(18,null,null,0);return t.stateNode=e,t}function U5(e,t,a){return t=ir(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var aT=new WeakMap;function io(e,t){if(typeof e=="object"&&e!==null){var a=aT.get(e);return a!==void 0?a:(t={value:e,source:t,stack:LE(t)},aT.set(e,t),t)}return{value:e,source:t,stack:LE(t)}}var Xu=[],Zu=0,Rb=null,Nf=0,oo=[],lo=0,Zn=null,al=1,rl="";function Bl(e,t){Xu[Zu++]=Nf,Xu[Zu++]=Rb,Rb=e,Nf=t}function lk(e,t,a){oo[lo++]=al,oo[lo++]=rl,oo[lo++]=Zn,Zn=e;var r=al;e=rl;var o=32-Ar(r)-1;r&=~(1<<o),a+=1;var l=32-Ar(t)+o;if(30<l){var n=o-o%5;l=(r&(1<<n)-1).toString(32),r>>=n,o-=n,al=1<<32-Ar(t)+o|a<<o|r,rl=l+e}else al=1<<l|a<<o|r,rl=e}function oh(e){e.return!==null&&(Bl(e,1),lk(e,1,0))}function L8(e){for(;e===Rb;)Rb=Xu[--Zu],Xu[Zu]=null,Nf=Xu[--Zu],Xu[Zu]=null;for(;e===Zn;)Zn=oo[--lo],oo[lo]=null,rl=oo[--lo],oo[lo]=null,al=oo[--lo],oo[lo]=null}function nk(e,t){oo[lo++]=al,oo[lo++]=rl,oo[lo++]=Zn,al=t.id,rl=t.overflow,Zn=e}var pa=null,$t=null,Ae=!1,_n=null,so=!1,ky=Error(I(519));function Qn(e){var t=Error(I(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Mf(io(t,e)),ky}function rT(e){var t=e.stateNode,a=e.type,r=e.memoizedProps;switch(t[ga]=e,t[cr]=r,a){case"dialog":Pe("cancel",t),Pe("close",t);break;case"iframe":case"object":case"embed":Pe("load",t);break;case"video":case"audio":for(a=0;a<zf.length;a++)Pe(zf[a],t);break;case"source":Pe("error",t);break;case"img":case"image":case"link":Pe("error",t),Pe("load",t);break;case"details":Pe("toggle",t);break;case"input":Pe("invalid",t),zD(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Pe("invalid",t);break;case"textarea":Pe("invalid",t),ID(t,r.value,r.defaultValue,r.children)}a=r.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||r.suppressHydrationWarning===!0||_R(t.textContent,a)?(r.popover!=null&&(Pe("beforetoggle",t),Pe("toggle",t)),r.onScroll!=null&&Pe("scroll",t),r.onScrollEnd!=null&&Pe("scrollend",t),r.onClick!=null&&(t.onclick=tl),t=!0):t=!1,t||Qn(e,!0)}function Ab(e){for(pa=e.return;pa;)switch(pa.tag){case 5:case 31:case 13:so=!1;return;case 27:case 3:so=!0;return;default:pa=pa.return}}function zu(e){if(e!==pa)return!1;if(!Ae)return Ab(e),Ae=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||f8(e.type,e.memoizedProps)),a=!a),a&&$t&&Qn(e),Ab(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(I(317));$t=JT(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(I(317));$t=JT(e)}else t===27?(t=$t,ri(e.type)?(e=h8,h8=null,$t=e):$t=t):$t=pa?uo(e.stateNode.nextSibling):null;return!0}function ns(){$t=pa=null,Ae=!1}function G5(){var e=_n;return e!==null&&(lr===null?lr=e:lr.push.apply(lr,e),_n=null),e}function Mf(e){_n===null?_n=[e]:_n.push(e)}var Ry=il(null),$s=null,zl=null;function On(e,t,a){xt(Ry,t._currentValue),t._currentValue=a}function Il(e){e._currentValue=Ry.current,xa(Ry)}function sb(e,t,a){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===a)break;e=e.return}}function Ay(e,t,a,r){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var l=o.dependencies;if(l!==null){var n=o.child;l=l.firstContext;e:for(;l!==null;){var i=l;l=o;for(var s=0;s<t.length;s++)if(i.context===t[s]){l.lanes|=a,i=l.alternate,i!==null&&(i.lanes|=a),sb(l.return,a,e),r||(n=null);break e}l=i.next}}else if(o.tag===18){if(n=o.return,n===null)throw Error(I(341));n.lanes|=a,l=n.alternate,l!==null&&(l.lanes|=a),sb(n,a,e),n=null}else o.tag===13&&o.memoizedState!==null&&o.memoizedState.dehydrated===null?(o.lanes|=a,n=o.alternate,n!==null&&(n.lanes|=a),sb(o.return,a,e),n=o.child,n=n!==null?n.sibling:null):n=o.child;if(n!==null)n.return=o;else for(n=o;n!==null;){if(n===e){n=null;break}if(o=n.sibling,o!==null){o.return=n.return,n=o;break}n=n.return}o=n}}function is(e,t,a,r){e=null;for(var o=t,l=!1;o!==null;){if(!l){if((o.flags&524288)!==0)l=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var n=o.alternate;if(n===null)throw Error(I(387));if(n=n.memoizedProps,n!==null){var i=o.type;Mr(o.pendingProps.value,n.value)||(e!==null?e.push(i):e=[i])}}else if(o===Cb.current){if(n=o.alternate,n===null)throw Error(I(387));n.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(xc):e=[xc])}o=o.return}return e!==null&&Ay(t,e,a,r),t.flags|=262144,e!==null}function Nb(e){for(e=e.firstContext;e!==null;){if(!Mr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ss(e){$s=e,zl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function $a(e){return ik($s,e)}function j0(e,t){return $s===null&&ss(e),ik(e,t)}function ik(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},zl===null){if(e===null)throw Error(I(308));zl=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else zl=zl.next=t;return a}var eF=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},tF=Jt.unstable_scheduleCallback,aF=Jt.unstable_NormalPriority,jt={$$typeof:el,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function B8(){return{controller:new eF,data:new Map,refCount:0}}function Wf(e){e.refCount--,e.refCount===0&&tF(aF,function(){e.controller.abort()})}function oT(e,t){if((e.pendingLanes&4194048)!==0){var a=e.transitionTypes;for(a===null&&(a=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];a.indexOf(r)===-1&&a.push(r)}}}var ff=null;function rF(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var gf=null,Ny=0,us=0,ac=null;function oF(e,t){if(gf===null){var a=gf=[];Ny=0,us=u7(),ac={status:"pending",value:void 0,then:function(r){a.push(r)}}}return Ny++,t.then(lT,lT),t}function lT(){if(--Ny===0&&(ff=null,gf!==null)){ac!==null&&(ac.status="fulfilled");var e=gf;gf=null,us=0,ac=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function lF(e,t){var a=[],r={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var o=0;o<a.length;o++)(0,a[o])(t)},function(o){for(r.status="rejected",r.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),r}var nT=xe.S;xe.S=function(e,t){if(ER=kr(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&oF(e,t),ff!==null)for(var a=hc;a!==null;)oT(a,ff),a=a.next;if(a=e.types,a!==null){for(var r=hc;r!==null;)oT(r,a),r=r.next;if(us!==0){r=ff,r===null&&(r=ff=[]);for(var o=0;o<a.length;o++){var l=a[o];r.indexOf(l)===-1&&r.push(l)}}}nT!==null&&nT(e,t)};var rs=il(null);function z8(){var e=rs.current;return e!==null?e:ct.pooledCache}function ub(e,t){t===null?xt(rs,rs.current):xt(rs,t.pool)}function sk(){var e=z8();return e===null?null:{parent:jt._currentValue,pool:e}}var wc=Error(I(460)),O8=Error(I(474)),lh=Error(I(542)),Mb={then:function(){}};function iT(e){return e=e.status,e==="fulfilled"||e==="rejected"}function uk(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(tl,tl),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,uT(e),e===void 0&&!("reason"in t)?Error(I(600)):e;default:if(typeof t.status=="string")t.then(tl,tl);else{if(e=ct,e!==null&&100<e.shellSuspendCounter)throw Error(I(482));e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=r}},function(r){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,uT(e),e}throw os=t,wc}}function Zi(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(os=a,wc):a}}var os=null;function sT(){if(os===null)throw Error(I(459));var e=os;return os=null,e}function uT(e){if(e===wc||e===lh)throw Error(I(483))}var rc=null,Pf=0;function U0(e){var t=Pf;return Pf+=1,rc===null&&(rc=[]),uk(rc,e,t)}function Rn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function G0(e,t){throw t.$$typeof===FO?Error(I(525)):(e=Object.prototype.toString.call(t),Error(I(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function ck(e){function t(h,g){if(e){var $=h.deletions;$===null?(h.deletions=[g],h.flags|=16):$.push(g)}}function a(h,g){if(!e)return null;for(;g!==null;)t(h,g),g=g.sibling;return null}function r(h){for(var g=new Map;h!==null;)h.key===null?g.set(h.index,h):g.set(h.key,h),h=h.sibling;return g}function o(h,g){return h=Ol(h,g),h.index=0,h.sibling=null,h}function l(h,g,$){return h.index=$,e?($=h.alternate,$!==null?($=$.index,$<g?(h.flags|=2,g):$):(h.flags|=134217730,g)):(h.flags|=1048576,g)}function n(h){return e&&h.alternate===null&&(h.flags|=134217730),h}function i(h,g,$,v){return g===null||g.tag!==6?(g=j5($,h.mode,v),g.return=h,g):(g=o(g,$),g.return=h,g)}function s(h,g,$,v){var y=$.type;return y===_u?(h=c(h,g,$.props.children,v,$.key),Rn(h,$),h):g!==null&&(g.elementType===y||typeof y=="object"&&y!==null&&y.$$typeof===Mn&&Zi(y)===g.type)?(g=o(g,$.props),Rn(g,$),g.return=h,g):(g=ib($.type,$.key,$.props,null,h.mode,v),Rn(g,$),g.return=h,g)}function u(h,g,$,v){return g===null||g.tag!==4||g.stateNode.containerInfo!==$.containerInfo||g.stateNode.implementation!==$.implementation?(g=U5($,h.mode,v),g.return=h,g):(g=o(g,$.children||[]),g.return=h,g)}function c(h,g,$,v,y){return g===null||g.tag!==7?(g=as($,h.mode,v,y),g.return=h,g):(g=o(g,$),g.return=h,g)}function d(h,g,$){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return g=j5(""+g,h.mode,$),g.return=h,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case z0:return $=ib(g.type,g.key,g.props,null,h.mode,$),Rn($,g),$.return=h,$;case uf:return g=U5(g,h.mode,$),g.return=h,g;case Mn:return g=Zi(g),d(h,g,$)}if(cf(g)||af(g))return g=as(g,h.mode,$,null),g.return=h,g;if(typeof g.then=="function")return d(h,U0(g),$);if(g.$$typeof===el)return d(h,j0(h,g),$);G0(h,g)}return null}function f(h,g,$,v){var y=g!==null?g.key:null;if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return y!==null?null:i(h,g,""+$,v);if(typeof $=="object"&&$!==null){switch($.$$typeof){case z0:return $.key===y?s(h,g,$,v):null;case uf:return $.key===y?u(h,g,$,v):null;case Mn:return $=Zi($),f(h,g,$,v)}if(cf($)||af($))return y!==null?null:c(h,g,$,v,null);if(typeof $.then=="function")return f(h,g,U0($),v);if($.$$typeof===el)return f(h,g,j0(h,$),v);G0(h,$)}return null}function b(h,g,$,v,y){if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return h=h.get($)||null,i(g,h,""+v,y);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case z0:return h=h.get(v.key===null?$:v.key)||null,s(g,h,v,y);case uf:return h=h.get(v.key===null?$:v.key)||null,u(g,h,v,y);case Mn:return v=Zi(v),b(h,g,$,v,y)}if(cf(v)||af(v))return h=h.get($)||null,c(g,h,v,y,null);if(typeof v.then=="function")return b(h,g,$,U0(v),y);if(v.$$typeof===el)return b(h,g,$,j0(g,v),y);G0(g,v)}return null}function m(h,g,$,v){for(var y=null,E=null,C=g,S=g=0,D=null;C!==null&&S<$.length;S++){C.index>S?(D=C,C=null):D=C.sibling;var k=f(h,C,$[S],v);if(k===null){C===null&&(C=D);break}e&&C&&k.alternate===null&&t(h,C),g=l(k,g,S),E===null?y=k:E.sibling=k,E=k,C=D}if(S===$.length)return a(h,C),Ae&&Bl(h,S),y;if(C===null){for(;S<$.length;S++)C=d(h,$[S],v),C!==null&&(g=l(C,g,S),E===null?y=C:E.sibling=C,E=C);return Ae&&Bl(h,S),y}for(C=r(C);S<$.length;S++)D=b(C,h,S,$[S],v),D!==null&&(e&&(k=D.alternate,k!==null&&C.delete(k.key===null?S:k.key)),g=l(D,g,S),E===null?y=D:E.sibling=D,E=D);return e&&C.forEach(function(_){return t(h,_)}),Ae&&Bl(h,S),y}function p(h,g,$,v){if($==null)throw Error(I(151));for(var y=null,E=null,C=g,S=g=0,D=null,k=$.next();C!==null&&!k.done;S++,k=$.next()){C.index>S?(D=C,C=null):D=C.sibling;var _=f(h,C,k.value,v);if(_===null){C===null&&(C=D);break}e&&C&&_.alternate===null&&t(h,C),g=l(_,g,S),E===null?y=_:E.sibling=_,E=_,C=D}if(k.done)return a(h,C),Ae&&Bl(h,S),y;if(C===null){for(;!k.done;S++,k=$.next())k=d(h,k.value,v),k!==null&&(g=l(k,g,S),E===null?y=k:E.sibling=k,E=k);return Ae&&Bl(h,S),y}for(C=r(C);!k.done;S++,k=$.next())k=b(C,h,S,k.value,v),k!==null&&(e&&(D=k.alternate,D!==null&&C.delete(D.key===null?S:D.key)),g=l(k,g,S),E===null?y=k:E.sibling=k,E=k);return e&&C.forEach(function(J){return t(h,J)}),Ae&&Bl(h,S),y}function x(h,g,$,v){if(typeof $=="object"&&$!==null&&$.type===_u&&$.key===null&&$.props.ref===void 0&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case z0:e:{for(var y=$.key;g!==null;){if(g.key===y){if(y=$.type,y===_u){if(g.tag===7){a(h,g.sibling),v=o(g,$.props.children),Rn(v,$),v.return=h,h=v;break e}}else if(g.elementType===y||typeof y=="object"&&y!==null&&y.$$typeof===Mn&&Zi(y)===g.type){a(h,g.sibling),v=o(g,$.props),Rn(v,$),v.return=h,h=v;break e}a(h,g);break}else t(h,g);g=g.sibling}$.type===_u?(v=as($.props.children,h.mode,v,$.key),Rn(v,$),v.return=h,h=v):(v=ib($.type,$.key,$.props,null,h.mode,v),Rn(v,$),v.return=h,h=v)}return n(h);case uf:e:{for(y=$.key;g!==null;){if(g.key===y)if(g.tag===4&&g.stateNode.containerInfo===$.containerInfo&&g.stateNode.implementation===$.implementation){a(h,g.sibling),v=o(g,$.children||[]),v.return=h,h=v;break e}else{a(h,g);break}else t(h,g);g=g.sibling}v=U5($,h.mode,v),v.return=h,h=v}return n(h);case Mn:return $=Zi($),x(h,g,$,v)}if(cf($))return m(h,g,$,v);if(af($)){if(y=af($),typeof y!="function")throw Error(I(150));return $=y.call($),p(h,g,$,v)}if(typeof $.then=="function")return x(h,g,U0($),v);if($.$$typeof===el)return x(h,g,j0(h,$),v);G0(h,$)}return typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint"?($=""+$,g!==null&&g.tag===6?(a(h,g.sibling),v=o(g,$),v.return=h,h=v):(a(h,g),v=j5($,h.mode,v),v.return=h,h=v),n(h)):a(h,g)}return function(h,g,$,v){try{Pf=0;var y=x(h,g,$,v);return rc=null,y}catch(C){if(C===wc||C===lh)throw C;var E=ir(29,C,null,h.mode);return E.lanes=v,E.return=h,E}}}var cs=ck(!0),dk=ck(!1),Pn=!1;function I8(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function My(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Hn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function jn(e,t,a){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(Ue&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=kb(e),ak(e,null,a),t}return rh(e,r,t,a),kb(e)}function $f(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,a|=r,t.lanes=a,kD(e,a)}}function q5(e,t){var a=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,a===r)){var o=null,l=null;if(a=a.firstBaseUpdate,a!==null){do{var n={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};l===null?o=l=n:l=l.next=n,a=a.next}while(a!==null);l===null?o=l=t:l=l.next=t}else o=l=t;a={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:l,shared:r.shared,callbacks:r.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Py=!1;function xf(){if(Py){var e=ac;if(e!==null)throw e}}function vf(e,t,a,r){Py=!1;var o=e.updateQueue;Pn=!1;var l=o.firstBaseUpdate,n=o.lastBaseUpdate,i=o.shared.pending;if(i!==null){o.shared.pending=null;var s=i,u=s.next;s.next=null,n===null?l=u:n.next=u,n=s;var c=e.alternate;c!==null&&(c=c.updateQueue,i=c.lastBaseUpdate,i!==n&&(i===null?c.firstBaseUpdate=u:i.next=u,c.lastBaseUpdate=s))}if(l!==null){var d=o.baseState;n=0,c=u=s=null,i=l;do{var f=i.lane&-536870913,b=f!==i.lane;if(b?(Be&f)===f:(r&f)===f){f!==0&&f===us&&(Py=!0),c!==null&&(c=c.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});e:{var m=e,p=i;f=t;var x=a;switch(p.tag){case 1:if(m=p.payload,typeof m=="function"){d=m.call(x,d,f);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=p.payload,f=typeof m=="function"?m.call(x,d,f):m,f==null)break e;d=dt({},d,f);break e;case 2:Pn=!0}}f=i.callback,f!==null&&(e.flags|=64,b&&(e.flags|=8192),b=o.callbacks,b===null?o.callbacks=[f]:b.push(f))}else b={lane:f,tag:i.tag,payload:i.payload,callback:i.callback,next:null},c===null?(u=c=b,s=d):c=c.next=b,n|=f;if(i=i.next,i===null){if(i=o.shared.pending,i===null)break;b=i,i=b.next,b.next=null,o.lastBaseUpdate=b,o.shared.pending=null}}while(!0);c===null&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,l===null&&(o.shared.lanes=0),ti|=n,e.lanes=n,e.memoizedState=d}}function fk(e,t){if(typeof e!="function")throw Error(I(191,e));e.call(t)}function pk(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)fk(a[e],t)}var Jn=il(null),Pb=il(0);function cT(e,t){e=jl,xt(Pb,e),xt(Jn,t),jl=e|t.baseLanes}function Ly(){xt(Pb,jl),xt(Jn,Jn.current)}function F8(){jl=Pb.current,xa(Jn),xa(Pb)}var Ca=il(null),Ma=null;function Un(e){var t=e.alternate;xt(va,va.current&1),xt(Ca,e),Ma===null&&(t===null||Jn.current!==null||t.memoizedState!==null)&&(Ma=e)}function By(e){xt(va,va.current),xt(Ca,e),Ma===null&&(Ma=e)}function mk(e){e.tag===22?(xt(va,va.current),xt(Ca,e),Ma===null&&(Ma=e)):Gn()}function Gn(){xt(va,va.current),xt(Ca,Ca.current)}function Er(e){xa(Ca),Ma===e&&(Ma=null),xa(va)}var va=il(0);function Lf(e,t){xt(Ca,Ca.current),xt(va,t)}function K8(e){xa(va),xa(Ca),Ma===e&&(Ma=null)}function Lb(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||b8(a)||p7(a)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Vl=0,De=null,lt=null,Ht=null,Bb=!1,oc=!1,ds=!1,zb=0,Bf=0,lc=null,nF=0;function Pt(){throw Error(I(321))}function V8(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!Mr(e[a],t[a]))return!1;return!0}function _8(e,t,a,r,o,l){return Vl=l,De=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,xe.H=e===null||e.memoizedState===null?Uk:Gk,ds=!1,l=a(r,o),ds=!1,oc&&(l=hk(t,a,r,o)),bk(e),l}function bk(e){xe.H=Ob;var t=lt!==null&<.next!==null;if(Vl=0,Ht=lt=De=null,Bb=!1,Bf=0,lc=null,t)throw Error(I(300));e===null||Ut||(e=e.dependencies,e!==null&&Nb(e)&&(Ut=!0))}function hk(e,t,a,r){De=e;var o=0;do{if(oc&&(lc=null),Bf=0,oc=!1,25<=o)throw Error(I(301));if(o+=1,Ht=lt=null,e.updateQueue!=null){var l=e.updateQueue;l.lastEffect=null,l.events=null,l.stores=null,l.memoCache!=null&&(l.memoCache.index=0)}xe.H=mF,l=t(a,r)}while(oc);return l}function iF(){var e=xe.H,t=e.useState()[0];return t=typeof t.then=="function"?Xf(t):t,e=e.useState()[0],(lt!==null?lt.memoizedState:null)!==e&&(De.flags|=1024),t}function H8(){var e=zb!==0;return zb=0,e}function j8(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function U8(e){if(Bb){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Bb=!1}Vl=0,Ht=lt=De=null,oc=!1,Bf=zb=0,lc=null}function ja(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ht===null?De.memoizedState=Ht=e:Ht=Ht.next=e,Ht}function zt(){if(lt===null){var e=De.alternate;e=e!==null?e.memoizedState:null}else e=lt.next;var t=Ht===null?De.memoizedState:Ht.next;if(t!==null)Ht=t,lt=e;else{if(e===null)throw De.alternate===null?Error(I(467)):Error(I(310));lt=e,e={memoizedState:lt.memoizedState,baseState:lt.baseState,baseQueue:lt.baseQueue,queue:lt.queue,next:null},Ht===null?De.memoizedState=Ht=e:Ht=Ht.next=e}return Ht}function nh(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Xf(e){var t=Bf;return Bf+=1,lc===null&&(lc=[]),e=uk(lc,e,t),t=De,(Ht===null?t.memoizedState:Ht.next)===null&&(t=t.alternate,xe.H=t===null||t.memoizedState===null?Uk:Gk),e}function ih(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Xf(e);if(e.$$typeof===_O)return;if(e.$$typeof===el)return $a(e)}throw Error(I(438,String(e)))}function G8(e){var t=null,a=De.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var r=De.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=nh(),De.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),r=0;r<e;r++)a[r]=VO;return t.index++,a}function _l(e,t){return typeof t=="function"?t(e):t}function cb(e){var t=zt();return q8(t,lt,e)}function q8(e,t,a){var r=e.queue;if(r===null)throw Error(I(311));r.lastRenderedReducer=a;var o=e.baseQueue,l=r.pending;if(l!==null){if(o!==null){var n=o.next;o.next=l.next,l.next=n}t.baseQueue=o=l,r.pending=null}if(l=e.baseState,o===null)e.memoizedState=l;else{t=o.next;var i=n=null,s=null,u=t,c=!1;do{var d=u.lane&-536870913;if(d!==u.lane?(Be&d)===d:(Vl&d)===d){var f=u.revertLane;if(f===0)s!==null&&(s=s.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),d===us&&(c=!0);else if((Vl&f)===f){u=u.next,f===us&&(c=!0);continue}else d={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},s===null?(i=s=d,n=l):s=s.next=d,De.lanes|=f,ti|=f;d=u.action,ds&&a(l,d),l=u.hasEagerState?u.eagerState:a(l,d)}else f={lane:d,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},s===null?(i=s=f,n=l):s=s.next=f,De.lanes|=d,ti|=d;u=u.next}while(u!==null&&u!==t);if(s===null?n=l:s.next=i,!Mr(l,e.memoizedState)&&(Ut=!0,c&&(a=ac,a!==null)))throw a;e.memoizedState=l,e.baseState=n,e.baseQueue=s,r.lastRenderedState=l}return o===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Y5(e){var t=zt(),a=t.queue;if(a===null)throw Error(I(311));a.lastRenderedReducer=e;var r=a.dispatch,o=a.pending,l=t.memoizedState;if(o!==null){a.pending=null;var n=o=o.next;do l=e(l,n.action),n=n.next;while(n!==o);Mr(l,t.memoizedState)||(Ut=!0),t.memoizedState=l,t.baseQueue===null&&(t.baseState=l),a.lastRenderedState=l}return[l,r]}function gk(e,t,a){var r=De,o=zt(),l=Ae;if(l){if(a===void 0)throw Error(I(407));a=a()}else a=t();var n=!Mr((lt||o).memoizedState,a);if(n&&(o.memoizedState=a,Ut=!0),o=o.queue,Y8(vk.bind(null,r,o,e),[e]),e=o.getSnapshot!==t||n||Ht!==null&&(Ht.memoizedState.tag&1)!==0,fc(e?9:8,{destroy:void 0},xk.bind(null,r,o,a,t),null),e){if(r.flags|=2048,ct===null)throw Error(I(349));l||(Vl&127)!==0||$k(r,t,a)}return a}function $k(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=De.updateQueue,t===null?(t=nh(),De.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function xk(e,t,a,r){t.value=a,t.getSnapshot=r,yk(t)&&Ck(e)}function vk(e,t,a){return a(function(){yk(t)&&Ck(e)})}function yk(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Mr(e,a)}catch{return!0}}function Ck(e){var t=gs(e,2);t!==null&&sr(t,e,2)}function zy(e){var t=ja();if(typeof e=="function"){var a=e;if(e=a(),ds){Bn(!0);try{a()}finally{Bn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_l,lastRenderedState:e},t}function Sk(e,t,a,r){return e.baseState=a,q8(e,lt,typeof r=="function"?r:_l)}function sF(e,t,a,r,o){if(uh(e))throw Error(I(485));if(e=t.action,e!==null){var l={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(n){l.listeners.push(n)}};xe.T!==null?a(!0):l.isTransition=!1,r(l),a=t.pending,a===null?(l.next=t.pending=l,wk(t,l)):(l.next=a.next,t.pending=a.next=l)}}function wk(e,t){var a=t.action,r=t.payload,o=e.state;if(t.isTransition){var l=xe.T,n={};n.types=l!==null?l.types:null,xe.T=n;try{var i=a(o,r),s=xe.S;s!==null&&s(n,i),dT(e,t,i)}catch(u){Oy(e,t,u)}finally{l!==null&&n.types!==null&&(l.types=n.types),xe.T=l}}else try{l=a(o,r),dT(e,t,l)}catch(u){Oy(e,t,u)}}function dT(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(r){fT(e,t,r)},function(r){return Oy(e,t,r)}):fT(e,t,a)}function fT(e,t,a){t.status="fulfilled",t.value=a,Ek(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,wk(e,a)))}function Oy(e,t,a){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=a,Ek(t),t=t.next;while(t!==r)}e.action=null}function Ek(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Tk(e,t){return t}function pT(e,t){if(Ae){var a=ct.formState;if(a!==null){e:{var r=De;if(Ae){if($t){t:{for(var o=$t,l=so;o.nodeType!==8;){if(!l){o=null;break t}if(o=uo(o.nextSibling),o===null){o=null;break t}}l=o.data,o=l==="F!"||l==="F"?o:null}if(o){$t=uo(o.nextSibling),r=o.data==="F!";break e}}Qn(r)}r=!1}r&&(t=a[0])}}return a=ja(),a.memoizedState=a.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tk,lastRenderedState:t},a.queue=r,a=_k.bind(null,De,r),r.dispatch=a,r=zy(!1),l=Q8.bind(null,De,!1,r.queue),r=ja(),o={state:t,dispatch:null,action:e,pending:null},r.queue=o,a=sF.bind(null,De,o,l,a),o.dispatch=a,r.memoizedState=e,[t,a,!1]}function mT(e){var t=zt();return Dk(t,lt,e)}function Dk(e,t,a){if(t=q8(e,t,Tk)[0],e=cb(_l)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=Xf(t)}catch(n){throw n===wc?lh:n}else r=t;t=zt();var o=t.queue,l=o.dispatch;return a!==t.memoizedState&&(De.flags|=2048,fc(9,{destroy:void 0},uF.bind(null,o,a),null)),[r,l,e]}function uF(e,t){e.action=t}function bT(e){var t=zt(),a=lt;if(a!==null)return Dk(t,a,e);zt(),t=t.memoizedState,a=zt();var r=a.queue.dispatch;return a.memoizedState=e,[t,r,!1]}function fc(e,t,a,r){return e={tag:e,create:a,deps:r,inst:t,next:null},t=De.updateQueue,t===null&&(t=nh(),De.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(r=a.next,a.next=e,e.next=r,t.lastEffect=e),e}function kk(){return zt().memoizedState}function db(e,t,a,r){var o=ja();De.flags|=e,o.memoizedState=fc(1|t,{destroy:void 0},a,r===void 0?null:r)}function sh(e,t,a,r){var o=zt();r=r===void 0?null:r;var l=o.memoizedState.inst;lt!==null&&r!==null&&V8(r,lt.memoizedState.deps)?o.memoizedState=fc(t,l,a,r):(De.flags|=e,o.memoizedState=fc(1|t,l,a,r))}function hT(e,t){db(8390656,8,e,t)}function Y8(e,t){sh(2048,8,e,t)}function cF(e){De.flags|=4;var t=De.updateQueue;if(t===null)t=nh(),De.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Rk(e){var t=zt().memoizedState;return cF({ref:t,nextImpl:e}),function(){if((Ue&2)!==0)throw Error(I(440));return t.impl.apply(void 0,arguments)}}function Ak(e,t){return sh(4,2,e,t)}function Nk(e,t){return sh(4,4,e,t)}function Mk(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Pk(e,t,a){a=a!=null?a.concat([e]):null,sh(4,4,Mk.bind(null,t,e),a)}function W8(){}function Lk(e,t){var a=zt();t=t===void 0?null:t;var r=a.memoizedState;return t!==null&&V8(t,r[1])?r[0]:(a.memoizedState=[e,t],e)}function Bk(e,t){var a=zt();t=t===void 0?null:t;var r=a.memoizedState;if(t!==null&&V8(t,r[1]))return r[0];if(r=e(),ds){Bn(!0);try{e()}finally{Bn(!1)}}return a.memoizedState=[r,t],r}function X8(e,t,a){return a===void 0||(Vl&1073741824)!==0&&(Be&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=DR(),De.lanes|=e,ti|=e,a)}function zk(e,t,a,r){return Mr(a,t)?a:Jn.current!==null?(e=X8(e,a,r),Mr(e,t)||(Ut=!0),e):(Vl&106)===0||(Vl&1073741824)!==0&&(Be&261930)===0?(Ut=!0,e.memoizedState=a):(e=DR(),De.lanes|=e,ti|=e,t)}function Ok(e,t,a,r,o){var l=Ge.p;Ge.p=l!==0&&8>l?l:8;var n=xe.T,i={};i.types=n!==null?n.types:null,xe.T=i,Q8(e,!1,t,a);try{var s=o(),u=xe.S;if(u!==null&&u(i,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var c=lF(s,r);yf(e,t,c,Nr(e))}else yf(e,t,r,Nr(e))}catch(d){yf(e,t,{then:function(){},status:"rejected",reason:d},Nr())}finally{Ge.p=l,n!==null&&i.types!==null&&(n.types=i.types),xe.T=n}}function dF(){}function Iy(e,t,a,r){if(e.tag!==5)throw Error(I(476));var o=Ik(e).queue;Ok(e,o,t,ts,a===null?dF:function(){return Fk(e),a(r)})}function Ik(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ts,baseState:ts,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_l,lastRenderedState:ts},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_l,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Fk(e){var t=Ik(e);t.next===null&&(t=e.alternate.memoizedState),yf(e,t.next.queue,{},Nr())}function Z8(){return $a(xc)}function Kk(){return zt().memoizedState}function Vk(){return zt().memoizedState}function fF(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Nr();e=Hn(a);var r=jn(t,e,a);r!==null&&(sr(r,t,a),$f(r,t,a)),t={cache:B8()},e.payload=t;return}t=t.return}}function pF(e,t,a){var r=Nr();a={lane:r,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},uh(e)?Hk(t,a):(a=M8(e,t,a,r),a!==null&&(sr(a,e,r),jk(a,t,r)))}function _k(e,t,a){var r=Nr();yf(e,t,a,r)}function yf(e,t,a,r){var o={lane:r,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(uh(e))Hk(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var n=t.lastRenderedState,i=l(n,a);if(o.hasEagerState=!0,o.eagerState=i,Mr(i,n))return rh(e,t,o,0),ct===null&&ah(),!1}catch{}if(a=M8(e,t,o,r),a!==null)return sr(a,e,r),jk(a,t,r),!0}return!1}function Q8(e,t,a,r){if(r={lane:2,revertLane:u7(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},uh(e)){if(t)throw Error(I(479))}else t=M8(e,a,r,2),t!==null&&sr(t,e,2)}function uh(e){var t=e.alternate;return e===De||t!==null&&t===De}function Hk(e,t){oc=Bb=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function jk(e,t,a){if((a&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,a|=r,t.lanes=a,kD(e,a)}}var Ob={readContext:$a,use:ih,useCallback:Pt,useContext:Pt,useEffect:Pt,useImperativeHandle:Pt,useLayoutEffect:Pt,useInsertionEffect:Pt,useMemo:Pt,useReducer:Pt,useRef:Pt,useState:Pt,useDebugValue:Pt,useDeferredValue:Pt,useTransition:Pt,useSyncExternalStore:Pt,useId:Pt,useHostTransitionStatus:Pt,useFormState:Pt,useActionState:Pt,useOptimistic:Pt,useMemoCache:Pt,useCacheRefresh:Pt,useEffectEvent:Pt},Uk={readContext:$a,use:ih,useCallback:function(e,t){return ja().memoizedState=[e,t===void 0?null:t],e},useContext:$a,useEffect:hT,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,db(4194308,4,Mk.bind(null,t,e),a)},useLayoutEffect:function(e,t){return db(4194308,4,e,t)},useInsertionEffect:function(e,t){db(4,2,e,t)},useMemo:function(e,t){var a=ja();t=t===void 0?null:t;var r=e();if(ds){Bn(!0);try{e()}finally{Bn(!1)}}return a.memoizedState=[r,t],r},useReducer:function(e,t,a){var r=ja();if(a!==void 0){var o=a(t);if(ds){Bn(!0);try{a(t)}finally{Bn(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=pF.bind(null,De,e),[r.memoizedState,e]},useRef:function(e){var t=ja();return e={current:e},t.memoizedState=e},useState:function(e){e=zy(e);var t=e.queue,a=_k.bind(null,De,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:W8,useDeferredValue:function(e,t){var a=ja();return X8(a,e,t)},useTransition:function(){var e=zy(!1);return e=Ok.bind(null,De,e.queue,!0,!1),ja().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var r=De,o=ja();if(Ae){if(a===void 0)throw Error(I(407));a=a()}else{if(a=t(),ct===null)throw Error(I(349));(Be&127)!==0||$k(r,t,a)}o.memoizedState=a;var l={value:a,getSnapshot:t};return o.queue=l,hT(vk.bind(null,r,l,e),[e]),r.flags|=2048,fc(9,{destroy:void 0},xk.bind(null,r,l,a,t),null),a},useId:function(){var e=ja(),t=ct.identifierPrefix;if(Ae){var a=rl,r=al;a=(r&~(1<<32-Ar(r)-1)).toString(32)+a,t="_"+t+"R_"+a,a=zb++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=nF++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Z8,useFormState:pT,useActionState:pT,useOptimistic:function(e){var t=ja();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Q8.bind(null,De,!0,a),a.dispatch=t,[e,t]},useMemoCache:G8,useCacheRefresh:function(){return ja().memoizedState=fF.bind(null,De)},useEffectEvent:function(e){var t=ja(),a={impl:e};return t.memoizedState=a,function(){if((Ue&2)!==0)throw Error(I(440));return a.impl.apply(void 0,arguments)}}},Gk={readContext:$a,use:ih,useCallback:Lk,useContext:$a,useEffect:Y8,useImperativeHandle:Pk,useInsertionEffect:Ak,useLayoutEffect:Nk,useMemo:Bk,useReducer:cb,useRef:kk,useState:function(){return cb(_l)},useDebugValue:W8,useDeferredValue:function(e,t){var a=zt();return zk(a,lt.memoizedState,e,t)},useTransition:function(){var e=cb(_l)[0],t=zt().memoizedState;return[typeof e=="boolean"?e:Xf(e),t]},useSyncExternalStore:gk,useId:Kk,useHostTransitionStatus:Z8,useFormState:mT,useActionState:mT,useOptimistic:function(e,t){var a=zt();return Sk(a,lt,e,t)},useMemoCache:G8,useCacheRefresh:Vk,useEffectEvent:Rk},mF={readContext:$a,use:ih,useCallback:Lk,useContext:$a,useEffect:Y8,useImperativeHandle:Pk,useInsertionEffect:Ak,useLayoutEffect:Nk,useMemo:Bk,useReducer:Y5,useRef:kk,useState:function(){return Y5(_l)},useDebugValue:W8,useDeferredValue:function(e,t){var a=zt();return lt===null?X8(a,e,t):zk(a,lt.memoizedState,e,t)},useTransition:function(){var e=Y5(_l)[0],t=zt().memoizedState;return[typeof e=="boolean"?e:Xf(e),t]},useSyncExternalStore:gk,useId:Kk,useHostTransitionStatus:Z8,useFormState:bT,useActionState:bT,useOptimistic:function(e,t){var a=zt();return lt!==null?Sk(a,lt,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:G8,useCacheRefresh:Vk,useEffectEvent:Rk};function W5(e,t,a,r){t=e.memoizedState,a=a(r,t),a=a==null?t:dt({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Fy={enqueueSetState:function(e,t,a){e=e._reactInternals;var r=Nr(),o=Hn(r);o.payload=t,a!=null&&(o.callback=a),t=jn(e,o,r),t!==null&&(sr(t,e,r),$f(t,e,r))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var r=Nr(),o=Hn(r);o.tag=1,o.payload=t,a!=null&&(o.callback=a),t=jn(e,o,r),t!==null&&(sr(t,e,r),$f(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Nr(),r=Hn(a);r.tag=2,t!=null&&(r.callback=t),t=jn(e,r,a),t!==null&&(sr(t,e,a),$f(t,e,a))}};function gT(e,t,a,r,o,l,n){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,l,n):t.prototype&&t.prototype.isPureReactComponent?!Af(a,r)||!Af(o,l):!0}function $T(e,t,a,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,r),t.state!==e&&Fy.enqueueReplaceState(t,t.state,null)}function fs(e,t){var a=t;if("ref"in t){a={};for(var r in t)r!=="ref"&&(a[r]=t[r])}if(e=e.defaultProps){a===t&&(a=dt({},a));for(var o in e)a[o]===void 0&&(a[o]=e[o])}return a}function qk(e){Db(e)}function Yk(e){console.error(e)}function Wk(e){Db(e)}function Ib(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function xT(e,t,a){try{var r=e.onCaughtError;r(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Ky(e,t,a){return a=Hn(a),a.tag=3,a.payload={element:null},a.callback=function(){Ib(e,t)},a}function Xk(e){return e=Hn(e),e.tag=3,e}function Zk(e,t,a,r){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var l=r.value;e.payload=function(){return o(l)},e.callback=function(){xT(t,a,r)}}var n=a.stateNode;n!==null&&typeof n.componentDidCatch=="function"&&(e.callback=function(){xT(t,a,r),typeof o!="function"&&(qn===null?qn=new Set([this]):qn.add(this));var i=r.stack;this.componentDidCatch(r.value,{componentStack:i!==null?i:""})})}function bF(e,t,a,r,o){if(a.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=a.alternate,t!==null&&is(t,a,o,!0),a=Ca.current,a!==null){switch(a.tag){case 31:case 13:case 19:return Ma===null?Gb():a.alternate===null&&Lt===0&&(Lt=3),a.flags&=-257,a.flags|=65536,a.lanes=o,r===Mb?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([r]):t.add(r),ay(e,r,o)),!1;case 22:return a.flags|=65536,r===Mb?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([r]):a.add(r)),ay(e,r,o)),!1}throw Error(I(435,a.tag))}return ay(e,r,o),Gb(),!1}if(Ae)return t=Ca.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==ky&&(e=Error(I(422),{cause:r}),Mf(io(e,a)))):(r!==ky&&(t=Error(I(423),{cause:r}),Mf(io(t,a))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,r=io(r,a),o=Ky(e.stateNode,r,o),q5(e,o),Lt!==4&&(Lt=2)),!1;var l=Error(I(520),{cause:r});if(l=io(l,a),Ef===null?Ef=[l]:Ef.push(l),Lt!==4&&(Lt=2),t===null)return!0;r=io(r,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=o&-o,a.lanes|=e,e=Ky(a.stateNode,r,e),q5(a,e),!1;case 1:if(t=a.type,l=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||l!==null&&typeof l.componentDidCatch=="function"&&(qn===null||!qn.has(l))))return a.flags|=65536,o&=-o,a.lanes|=o,o=Xk(o),Zk(o,e,a,r),q5(a,o),!1;break;case 22:if(a.memoizedState!==null)return a.flags|=65536,!1}a=a.return}while(a!==null);return!1}var J8=Error(I(461)),Ut=!1;function Zt(e,t,a,r){t.child=e===null?dk(t,null,a,r):cs(t,e.child,a,r)}function vT(e,t,a,r,o){a=a.render;var l=t.ref;if("ref"in r){var n={};for(var i in r)i!=="ref"&&(n[i]=r[i])}else n=r;return ss(t),r=_8(e,t,a,n,l,o),i=H8(),e!==null&&!Ut?(j8(e,t,o),Hl(e,t,o)):(Ae&&i&&oh(t),t.flags|=1,Zt(e,t,r,o),t.child)}function yT(e,t,a,r,o){if(e===null){var l=a.type;return typeof l=="function"&&!P8(l)&&l.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=l,Qk(e,t,l,r,o)):(e=ib(a.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!t7(e,o)){var n=l.memoizedProps;if(a=a.compare,a=a!==null?a:Af,a(n,r)&&e.ref===t.ref)return Hl(e,t,o)}return t.flags|=1,e=Ol(l,r),e.ref=t.ref,e.return=t,t.child=e}function Qk(e,t,a,r,o){if(e!==null){var l=e.memoizedProps;if(Af(l,r)&&e.ref===t.ref)if(Ut=!1,t.pendingProps=r=l,t7(e,o))(e.flags&131072)!==0&&(Ut=!0);else return t.lanes=e.lanes,Hl(e,t,o)}return Vy(e,t,a,r,o)}function Jk(e,t,a,r){var o=r.children,l=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((t.flags&128)!==0){if(l=l!==null?l.baseLanes|a:a,e!==null){for(r=t.child=e.child,o=0;r!==null;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~l}else r=0,t.child=null;return CT(e,t,l,a,r)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ub(t,l!==null?l.cachePool:null),l!==null?cT(t,l):Ly(),mk(t);else return r=t.lanes=536870912,CT(e,t,l!==null?l.baseLanes|a:a,a,r)}else l!==null?(ub(t,l.cachePool),cT(t,l),Gn(),t.memoizedState=null):(e!==null&&ub(t,null),Ly(),Gn());return Zt(e,t,o,a),t.child}function Cf(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function CT(e,t,a,r,o){var l=z8();return l=l===null?null:{parent:jt._currentValue,pool:l},t.memoizedState={baseLanes:a,cachePool:l},e!==null&&ub(t,null),Ly(),mk(t),e!==null&&is(e,t,r,!0),t.childLanes=o,null}function fb(e,t){return t=ch({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function ST(e,t,a){return cs(t,e.child,null,a),e=fb(t,t.pendingProps),e.flags|=2,Er(t),t.memoizedState=null,e}function hF(e,t,a){var r=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Ae){if(r.mode==="hidden")return e=fb(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Cf(null,e);if(By(t),(e=$t)?(e=JR(e,so),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Zn!==null?{id:al,overflow:rl}:null,retryLane:536870912,hydrationErrors:null},a=ok(e),a.return=t,t.child=a,pa=t,$t=null)):e=null,e===null)throw Qn(t);return t.lanes=536870912,null}return fb(t,r)}var l=e.memoizedState;if(l!==null){var n=l.dehydrated;if(By(t),o)if(t.flags&256)t.flags&=-257,t=ST(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(I(558));else if(Ut||is(e,t,a,!1),o=(a&e.childLanes)!==0,Ut||o){if(Jn.current===null){if(r=ct,r!==null&&(n=RD(r,a),n!==0&&n!==l.retryLane))throw l.retryLane=n,gs(e,n),sr(r,e,n),J8;Gb()}t=ST(e,t,a)}else e=l.treeContext,$t=uo(n.nextSibling),pa=t,Ae=!0,_n=null,so=!1,e!==null&&nk(t,e),t=fb(t,r),t.flags|=134221824;return t}return e=Ol(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Iu(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(I(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function Vy(e,t,a,r,o){return ss(t),a=_8(e,t,a,r,void 0,o),r=H8(),e!==null&&!Ut?(j8(e,t,o),Hl(e,t,o)):(Ae&&r&&oh(t),t.flags|=1,Zt(e,t,a,o),t.child)}function wT(e,t,a,r,o,l){return ss(t),t.updateQueue=null,a=hk(t,r,a,o),bk(e),r=H8(),e!==null&&!Ut?(j8(e,t,l),Hl(e,t,l)):(Ae&&r&&oh(t),t.flags|=1,Zt(e,t,a,l),t.child)}function ET(e,t,a,r,o){if(ss(t),t.stateNode===null){var l=Wu,n=a.contextType;typeof n=="object"&&n!==null&&(l=$a(n)),l=new a(r,l),t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=Fy,t.stateNode=l,l._reactInternals=t,l=t.stateNode,l.props=r,l.state=t.memoizedState,l.refs={},I8(t),n=a.contextType,l.context=typeof n=="object"&&n!==null?$a(n):Wu,l.state=t.memoizedState,n=a.getDerivedStateFromProps,typeof n=="function"&&(W5(t,a,n,r),l.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(n=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),n!==l.state&&Fy.enqueueReplaceState(l,l.state,null),vf(t,r,l,o),xf(),l.state=t.memoizedState),typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!0}else if(e===null){l=t.stateNode;var i=t.memoizedProps,s=fs(a,i);l.props=s;var u=l.context,c=a.contextType;n=Wu,typeof c=="object"&&c!==null&&(n=$a(c));var d=a.getDerivedStateFromProps;c=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function",i=t.pendingProps!==i,c||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(i||u!==n)&&$T(t,l,r,n),Pn=!1;var f=t.memoizedState;l.state=f,vf(t,r,l,o),xf(),u=t.memoizedState,i||f!==u||Pn?(typeof d=="function"&&(W5(t,a,d,r),u=t.memoizedState),(s=Pn||gT(t,a,s,r,f,u,n))?(c||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),l.props=r,l.state=u,l.context=n,r=s):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,My(e,t),n=t.memoizedProps,c=fs(a,n),l.props=c,d=t.pendingProps,f=l.context,u=a.contextType,s=Wu,typeof u=="object"&&u!==null&&(s=$a(u)),i=a.getDerivedStateFromProps,(u=typeof i=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(n!==d||f!==s)&&$T(t,l,r,s),Pn=!1,f=t.memoizedState,l.state=f,vf(t,r,l,o),xf();var b=t.memoizedState;n!==d||f!==b||Pn||e!==null&&e.dependencies!==null&&Nb(e.dependencies)?(typeof i=="function"&&(W5(t,a,i,r),b=t.memoizedState),(c=Pn||gT(t,a,c,r,f,b,s)||e!==null&&e.dependencies!==null&&Nb(e.dependencies))?(u||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,b,s),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,b,s)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||n===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||n===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),l.props=r,l.state=b,l.context=s,r=c):(typeof l.componentDidUpdate!="function"||n===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||n===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return l=r,Iu(e,t),r=(t.flags&128)!==0,l||r?(l=t.stateNode,a=r&&typeof a.getDerivedStateFromError!="function"?null:l.render(),t.flags|=1,e!==null&&r?(t.child=cs(t,e.child,null,o),t.child=cs(t,null,a,o)):Zt(e,t,a,o),t.memoizedState=l.state,e=t.child):e=Hl(e,t,o),e}function TT(e,t,a,r){return ns(),t.flags|=256,Zt(e,t,a,r),t.child}var _y={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Hy(e){return{baseLanes:e,cachePool:sk()}}function jy(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Dr),e}function eR(e,t,a){var r=t.pendingProps,o=!1,l=(t.flags&128)!==0,n;if((n=l)||(n=e!==null&&e.memoizedState===null?!1:(va.current&2)!==0),n&&(o=!0,t.flags&=-129),n=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ae){if(o?Un(t):Gn(),(e=$t)?(e=JR(e,so),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Zn!==null?{id:al,overflow:rl}:null,retryLane:536870912,hydrationErrors:null},a=ok(e),a.return=t,t.child=a,pa=t,$t=null)):e=null,e===null)throw Qn(t);return p7(e)?t.lanes=32:t.lanes=536870912,null}return l=r.children,r=r.fallback,o?(Gn(),o=t.mode,l=ch({mode:"hidden",children:l},o),r=as(r,o,a,null),l.return=t,r.return=t,l.sibling=r,t.child=l,r=t.child,r.memoizedState=Hy(a),r.childLanes=jy(e,n,a),t.memoizedState=_y,Cf(null,r)):(Un(t),e7(t,l))}var i=e.memoizedState;if(i!==null){var s=i.dehydrated;if(s!==null)return gF(e,t,l,n,r,s,i,a)}return o?(Gn(),o=r.fallback,l=t.mode,i=e.child,s=i.sibling,r=Ol(i,{mode:"hidden",children:r.children}),r.subtreeFlags=i.subtreeFlags&1206910976,s!==null?o=Ol(s,o):(o=as(o,l,a,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,Cf(null,r),r=t.child,o=e.child.memoizedState,o===null?o=Hy(a):(l=o.cachePool,l!==null?(i=jt._currentValue,l=l.parent!==i?{parent:i,pool:i}:l):l=sk(),o={baseLanes:o.baseLanes|a,cachePool:l}),r.memoizedState=o,r.childLanes=jy(e,n,a),t.memoizedState=_y,Cf(e.child,r)):(Un(t),a=e.child,e=a.sibling,a=Ol(a,{mode:"visible",children:r.children}),a.return=t,a.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a)}function e7(e,t){return t=ch({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function ch(e,t){return e=ir(22,e,null,t),e.lanes=0,e}function q0(e,t,a){return cs(t,e.child,null,a),e=e7(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function gF(e,t,a,r,o,l,n,i){if(a)return t.flags&256?(Un(t),t.flags&=-257,q0(e,t,i)):t.memoizedState!==null?(Gn(),t.child=e.child,t.flags|=128,null):(Gn(),l=o.fallback,n=t.mode,o=ch({mode:"visible",children:o.children},n),l=as(l,n,i,null),l.flags|=2,o.return=t,l.return=t,o.sibling=l,t.child=o,cs(t,e.child,null,i),o=t.child,o.memoizedState=Hy(i),o.childLanes=jy(e,r,i),t.memoizedState=_y,Cf(null,o));if(Un(t),p7(l)){if(r=l.nextSibling&&l.nextSibling.dataset,r)var s=r.dgst;return r=s,r!==""&&(o=Error(I(419)),o.stack="",o.digest=r,Mf({value:o,source:null,stack:null})),q0(e,t,i)}if(Ut||is(e,t,i,!1),r=(i&e.childLanes)!==0,Ut||r){if(Jn.current!==null)return q0(e,t,i);if(r=ct,r!==null&&(o=RD(r,i),o!==0&&o!==n.retryLane))throw n.retryLane=o,gs(e,o),sr(r,e,o),J8;return b8(l)||Gb(),q0(e,t,i)}return b8(l)?(t.flags|=192,t.child=e.child,null):(e=n.treeContext,$t=uo(l.nextSibling),pa=t,Ae=!0,_n=null,so=!1,e!==null&&nk(t,e),t=e7(t,o.children),t.flags|=134221824,t)}function DT(e,t,a){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),sb(e.return,t,a)}function kT(e){for(var t=null;e!==null;){var a=e.alternate;a!==null&&Lb(a)===null&&(t=e),e=e.sibling}return t}function Y0(e,t,a,r,o,l){var n=e.memoizedState;n===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:a,tailMode:o,treeForkCount:l}:(n.isBackwards=t,n.rendering=null,n.renderingStartTime=0,n.last=r,n.tail=a,n.tailMode=o,n.treeForkCount=l)}function X5(e){var t=e.child;for(e.child=null;t!==null;){var a=t.sibling;t.sibling=e.child,e.child=t,t=a}}function Uy(e,t,a){var r=t.pendingProps,o=r.revealOrder,l=r.tail;r=r.children;var n=va.current;if(t.flags&128)return Lf(t,n),null;var i=(n&2)!==0;if(i?(n=n&1|2,t.flags|=128):n&=1,Lf(t,n),o==="backwards"&&e!==null?(X5(e),Zt(e,t,r,a),X5(e)):Zt(e,t,r,a),r=Ae?Nf:0,!i&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&DT(e,a,t);else if(e.tag===19)DT(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"backwards":a=kT(t.child),a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null,X5(t)),Y0(t,!0,o,null,l,r);break;case"unstable_legacy-backwards":for(a=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Lb(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}Y0(t,!0,a,null,l,r);break;case"together":Y0(t,!1,null,null,void 0,r);break;case"independent":t.memoizedState=null;break;default:a=kT(t.child),a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),Y0(t,!1,o,a,l,r)}return t.child}function RT(e,t,a){var r=t.pendingProps;return On(t,t.type,r.value),Zt(e,t,r.children,a),t.child}function Hl(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),ti|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(is(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(I(153));if(t.child!==null){for(e=t.child,a=Ol(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Ol(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function t7(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Nb(e)))}function $F(e,t,a){switch(t.tag){case 3:Sb(t,t.stateNode.containerInfo),On(t,jt,e.memoizedState.cache),ns();break;case 27:case 5:$y(t);break;case 4:Sb(t,t.stateNode.containerInfo);break;case 10:On(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,By(t),null;break;case 13:var r=t.memoizedState;if(r!==null){if(r.dehydrated!==null)return Un(t),t.flags|=128,null;r=is(e,t,a,!1);var o=t.child.childLanes;return r||(a&o)!==0?eR(e,t,a):(Un(t),e=Hl(e,t,a),e!==null?e.sibling:null)}Un(t);break;case 19:if(t.flags&128)return Uy(e,t,a);if(o=(e.flags&128)!==0,r=(a&t.childLanes)!==0,r||(is(e,t,a,!1),r=(a&t.childLanes)!==0),o){if(r)return Uy(e,t,a);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Lf(t,va.current),r)break;return null;case 22:return t.lanes=0,Jk(e,t,a,t.pendingProps);case 24:On(t,jt,e.memoizedState.cache)}return Hl(e,t,a)}function tR(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ut=!0;else{if(!t7(e,a)&&(t.flags&128)===0)return Ut=!1,$F(e,t,a);Ut=(e.flags&131072)!==0}else Ut=!1,Ae&&(t.flags&1048576)!==0&&lk(t,Nf,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=Zi(t.elementType),t.type=e,typeof e=="function")P8(e)?(r=fs(e,r),t.tag=1,t=ET(null,t,e,r,a)):(t.tag=0,t=Vy(null,t,e,r,a));else{if(e!=null){var o=e.$$typeof;if(o===v8){t.tag=11,t=vT(null,t,e,r,a);break e}else if(o===y8){t.tag=14,t=yT(null,t,e,r,a);break e}else if(o===el){t.tag=10,t.type=e,t=RT(null,t,a);break e}}throw t=hy(e)||e,Error(I(306,t,""))}}return t;case 0:return Vy(e,t,t.type,t.pendingProps,a);case 1:return r=t.type,o=fs(r,t.pendingProps),ET(e,t,r,o,a);case 3:e:{if(Sb(t,t.stateNode.containerInfo),e===null)throw Error(I(387));r=t.pendingProps;var l=t.memoizedState;o=l.element,My(e,t),vf(t,r,null,a);var n=t.memoizedState;if(r=n.cache,On(t,jt,r),r!==l.cache&&Ay(t,[jt],a,!0),xf(),r=n.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:n.cache},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){t=TT(e,t,r,a);break e}else if(r!==o){o=io(Error(I(424)),t),Mf(o),t=TT(e,t,r,a);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,$t=uo(e.firstChild),pa=t,Ae=!0,_n=null,so=!0,a=dk(t,null,r,a),t.child=a;a;)a.flags=a.flags&-3|134221824,a=a.sibling;else{if(ns(),r===o){t=Hl(e,t,a);break e}Zt(e,t,r,a)}t=t.child}return t;case 26:return Iu(e,t),e===null?(a=aD(t.type,null,t.pendingProps,null))?t.memoizedState=a:Ae||(t.stateNode=jR(t.type,t.pendingProps,Vn.current,t)):t.memoizedState=aD(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return $y(t),e===null&&Ae&&(r=t.stateNode=eA(t.type,t.pendingProps,Vn.current),pa=t,so=!0,o=$t,ri(t.type)?(h8=o,$t=uo(r.firstChild)):$t=o),Zt(e,t,t.pendingProps.children,a),Iu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ae&&((o=r=$t)&&(r=cK(r,t.type,t.pendingProps,so),r!==null?(t.stateNode=r,pa=t,$t=uo(r.firstChild),so=!1,o=!0):o=!1),o||Qn(t)),$y(t),o=t.type,l=t.pendingProps,n=e!==null?e.memoizedProps:null,r=l.children,f8(o,l)?r=null:n!==null&&f8(o,n)&&(t.flags|=32),t.memoizedState!==null&&(o=_8(e,t,iF,null,null,a),xc._currentValue=o),Iu(e,t),Zt(e,t,r,a),t.child;case 6:return e===null&&Ae&&((e=a=$t)&&(a=dK(a,t.pendingProps,so),a!==null?(t.stateNode=a,pa=t,$t=null,e=!0):e=!1),e||Qn(t)),null;case 13:return eR(e,t,a);case 4:return Sb(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=cs(t,null,r,a):Zt(e,t,r,a),t.child;case 11:return vT(e,t,t.type,t.pendingProps,a);case 7:return r=t.pendingProps,Iu(e,t),Zt(e,t,r,a),t.child;case 8:return Zt(e,t,t.pendingProps.children,a),t.child;case 12:return Zt(e,t,t.pendingProps.children,a),t.child;case 10:return RT(e,t,a);case 9:return o=t.type._context,r=t.pendingProps.children,ss(t),o=$a(o),r=r(o),t.flags|=1,Zt(e,t,r,a),t.child;case 14:return yT(e,t,t.type,t.pendingProps,a);case 15:return Qk(e,t,t.type,t.pendingProps,a);case 19:return Uy(e,t,a);case 31:return hF(e,t,a);case 22:return Jk(e,t,a,t.pendingProps);case 24:return ss(t),r=$a(jt),e===null?(o=z8(),o===null&&(o=ct,l=B8(),o.pooledCache=l,l.refCount++,l!==null&&(o.pooledCacheLanes|=a),o=l),t.memoizedState={parent:r,cache:o},I8(t),On(t,jt,o)):((e.lanes&a)!==0&&(My(e,t),vf(t,null,null,a),xf()),o=e.memoizedState,l=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),On(t,jt,r)):(r=l.cache,On(t,jt,r),r!==o.cache&&Ay(t,[jt],a,!0))),Zt(e,t,t.pendingProps.children,a),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),r=t.pendingProps,r.name!=null&&r.name!=="auto"?t.flags|=e===null?18882560:18874368:Ae&&oh(t),e!==null&&e.memoizedProps.name!==r.name?t.flags|=4194816:Iu(e,t),Zt(e,t,r.children,a),t.child;case 29:throw t.pendingProps}throw Error(I(156,t.tag))}function Ll(e){e.flags|=4}function Z5(e,t,a,r,o){var l;if((l=(e.mode&32)!==0)&&(l=a===null?lD(t,r):lD(t,r)&&(r.src!==a.src||r.srcSet!==a.srcSet)),l){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(AR())e.flags|=8192;else throw os=Mb,O8}else e.flags&=-16777217}function AT(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!oA(t))if(AR())e.flags|=8192;else throw os=Mb,O8}function W0(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?TD():536870912,e.lanes|=t,pc|=t)}function of(e,t){if(!Ae)switch(e.tailMode){case"visible":break;case"collapsed":for(var a=e.tail,r=null;a!==null;)a.alternate!==null&&(r=a),a=a.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null}}function gt(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,r=0;if(t)for(var o=e.child;o!==null;)a|=o.lanes|o.childLanes,r|=o.subtreeFlags&1206910976,r|=o.flags&1206910976,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=a,t}function xF(e,t,a){var r=t.pendingProps;switch(L8(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gt(t),null;case 1:return gt(t),null;case 3:return a=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Il(jt),uc(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(zu(t)?Ll(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,G5())),gt(t),null;case 26:var o=t.type,l=t.memoizedState;return e===null?(Ll(t),l!==null?(gt(t),AT(t,l)):(gt(t),Z5(t,o,null,r,a))):l?l!==e.memoizedState?(Ll(t),gt(t),AT(t,l)):(gt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&Ll(t),gt(t),Z5(t,o,e,r,a)),null;case 27:if(wb(t),a=Vn.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ll(t);else{if(!r){if(t.stateNode===null)throw Error(I(166));return gt(t),t.subtreeFlags&=-33554433,null}e=ol.current,zu(t)?rT(t,e):(e=eA(o,r,a),t.stateNode=e,Ll(t))}return gt(t),t.subtreeFlags&=-33554433,null;case 5:if(wb(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ll(t);else{if(!r){if(t.stateNode===null)throw Error(I(166));return gt(t),t.subtreeFlags&=-33554433,null}if(l=ol.current,zu(t))rT(t,l);else{var n=If(Vn.current);switch(l){case 1:l=n.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:l=n.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":l=n.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":l=n.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":l=n.createElement("div"),l.innerHTML="<script><\\/script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof r.is=="string"?n.createElement("select",{is:r.is}):n.createElement("select"),r.multiple?l.multiple=!0:r.size&&(l.size=r.size);break;default:l=typeof r.is=="string"?n.createElement(o,{is:r.is}):n.createElement(o)}}l[ga]=t,l[cr]=r;e:for(n=t.child;n!==null;){if(n.tag===5||n.tag===6)l.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}t.stateNode=l;e:switch(ya(l,o,r),o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Ll(t)}}return gt(t),t.subtreeFlags&=-33554433,Z5(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Ll(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(I(166));if(e=Vn.current,zu(t)){if(e=t.stateNode,a=t.memoizedProps,r=null,o=pa,o!==null)switch(o.tag){case 27:case 5:r=o.memoizedProps}e[ga]=t,e=!!(e.nodeValue===a||r!==null&&r.suppressHydrationWarning===!0||_R(e.nodeValue,a)),e||Qn(t,!0)}else e=If(e).createTextNode(r),e[ga]=t,t.stateNode=e}return gt(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(r=zu(t),a!==null){if(e===null){if(!r)throw Error(I(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(I(557));e[ga]=t}else ns(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;gt(t),e=!1}else a=G5(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Er(t),t):(Er(t),null);if((t.flags&128)!==0)throw Error(I(558))}return gt(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=zu(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(I(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(I(317));o[ga]=t}else ns(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;gt(t),o=!1}else o=G5(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Er(t),t):(Er(t),null)}return Er(t),(t.flags&128)!==0?(t.lanes=a,t):(a=r!==null,e=e!==null&&e.memoizedState!==null,a&&(r=t.child,o=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(o=r.alternate.memoizedState.cachePool.pool),l=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(l=r.memoizedState.cachePool.pool),l!==o&&(r.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),W0(t,t.updateQueue),gt(t),null);case 4:return uc(),e===null&&c7(t.stateNode.containerInfo),t.flags|=67108864,gt(t),null;case 10:return Il(t.type),gt(t),null;case 19:if(K8(t),r=t.memoizedState,r===null)return gt(t),null;if(o=(t.flags&128)!==0,l=r.rendering,l===null)if(o)of(r,!1);else{if(Lt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(l=Lb(e),l!==null){for(t.flags|=128,of(r,!1),e=l.updateQueue,t.updateQueue=e,W0(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)rk(a,e),a=a.sibling;return Lf(t,va.current&1|2),Ae&&Bl(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&kr()>jb&&(t.flags|=128,o=!0,of(r,!1),t.lanes=4194304)}else{if(!o)if(e=Lb(l),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,W0(t,e),of(r,!0),r.tail===null&&r.tailMode!=="collapsed"&&r.tailMode!=="visible"&&!l.alternate&&!Ae)return gt(t),null}else 2*kr()-r.renderingStartTime>jb&&a!==536870912&&(t.flags|=128,o=!0,of(r,!1),t.lanes=4194304);r.isBackwards?(l.sibling=t.child,t.child=l):(e=r.last,e!==null?e.sibling=l:t.child=l,r.last=l)}if(r.tail!==null){e=r.tail;e:{for(a=e;a!==null;){if(a.alternate!==null){a=!1;break e}a=a.sibling}a=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=kr(),e.sibling=null,l=va.current,l=o?l&1|2:l&1,r.tailMode==="visible"||r.tailMode==="collapsed"||!a||Ae?Lf(t,l):(a=l,xt(Ca,t),xt(va,a),Ma===null&&(Ma=t)),Ae&&Bl(t,r.treeForkCount),e}return gt(t),null;case 22:case 23:return Er(t),F8(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(a&536870912)!==0&&(t.flags&128)===0&&(gt(t),t.subtreeFlags&6&&(t.flags|=8192)):gt(t),a=t.updateQueue,a!==null&&W0(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==a&&(t.flags|=2048),e!==null&&xa(rs),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Il(jt),gt(t),null;case 25:return null;case 30:return t.flags|=33554432,gt(t),null}throw Error(I(156,t.tag))}function vF(e,t){switch(L8(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Il(jt),uc(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return wb(t),null;case 31:if(t.memoizedState!==null){if(Er(t),t.alternate===null)throw Error(I(340));ns()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Er(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(I(340));ns()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K8(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return uc(),null;case 10:return Il(t.type),null;case 22:case 23:return Er(t),F8(),e!==null&&xa(rs),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Il(jt),null;case 25:return null;default:return null}}function aR(e,t){switch(L8(t),t.tag){case 3:Il(jt),uc();break;case 26:case 27:case 5:wb(t);break;case 4:uc();break;case 31:t.memoizedState!==null&&Er(t);break;case 13:Er(t);break;case 19:K8(t);break;case 10:Il(t.type);break;case 22:case 23:Er(t),F8(),e!==null&&xa(rs);break;case 24:Il(jt)}}function Zf(e,t){try{var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var o=r.next;a=o;do{if((a.tag&e)===e){r=void 0;var l=a.create,n=a.inst;r=l(),n.destroy=r}a=a.next}while(a!==o)}}catch(i){Je(t,t.return,i)}}function ei(e,t,a){try{var r=t.updateQueue,o=r!==null?r.lastEffect:null;if(o!==null){var l=o.next;r=l;do{if((r.tag&e)===e){var n=r.inst,i=n.destroy;if(i!==void 0){n.destroy=void 0,o=t;var s=a,u=i;try{u()}catch(c){Je(o,s,c)}}}r=r.next}while(r!==l)}}catch(c){Je(t,t.return,c)}}function rR(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{pk(t,a)}catch(r){Je(e,e.return,r)}}}function oR(e,t,a){a.props=fs(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(r){Je(e,t,r)}}function Qo(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var o=e.stateNode,l=Kl(e.memoizedProps,o);(o.ref===null||o.ref.name!==l)&&(o.ref=YR(l)),r=o.ref;break;case 7:if(e.stateNode===null){var n=new Pr(e);ur(e.child,!1,sK,n,void 0,void 0),e.stateNode=n}r=e.stateNode;break;default:r=e.stateNode}typeof a=="function"?e.refCleanup=a(r):a.current=r}}catch(i){Je(e,t,i)}}function ha(e,t){var a=e.ref,r=e.refCleanup;if(a!==null)if(typeof r=="function")try{r()}catch(o){Je(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(o){Je(e,t,o)}else a.current=null}function Fb(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var a=0;a<t.length;a++)QR(e.stateNode,t[a])}function NT(e){for(var t=e.return;t!==null&&(r7(t)&&QR(e.stateNode,t.stateNode),!a7(t));)t=t.return}function Sf(e){for(var t=e.return;t!==null&&(r7(t)&&uK(e.stateNode,t.stateNode),!a7(t));)t=t.return}function a7(e){return e.tag===5||e.tag===3||e.tag===27}function r7(e){return e&&e.tag===7&&e.stateNode!==null}function Gy(e){var t=e.type,a=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&r.focus();break e;case"img":a.src?r.src=a.src:a.srcSet&&(r.srcset=a.srcSet)}}catch(o){Je(e,e.return,o)}}function Q5(e,t,a){try{var r=e.stateNode;jF(r,e.type,a,t),r[cr]=t}catch(o){Je(e,e.return,o)}}function lR(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ri(e.type)||e.tag===4}function J5(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||lR(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&ri(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function qy(e,t,a,r){var o=e.tag;if(o===5||o===6)o=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(o,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(o),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=tl)),Fb(e,r),_e=!0;else if(o!==4&&(o===27&&(Fb(e,r),r=null,ri(e.type)&&(a=e.stateNode,t=null)),e=e.child,e!==null))for(qy(e,t,a,r),e=e.sibling;e!==null;)qy(e,t,a,r),e=e.sibling}function Kb(e,t,a,r){var o=e.tag;if(o===5||o===6)o=e.stateNode,t?a.insertBefore(o,t):a.appendChild(o),Fb(e,r),_e=!0;else if(o!==4&&(o===27&&(Fb(e,r),r=null,ri(e.type)&&(a=e.stateNode)),e=e.child,e!==null))for(Kb(e,t,a,r),e=e.sibling;e!==null;)Kb(e,t,a,r),e=e.sibling}function nR(e){var t=e.stateNode,a=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);ya(t,r,a),t[ga]=e,t[cr]=a}catch(l){Je(e,e.return,l)}}var Vb=!1,Tr=null;function MT(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(Vb=!0)}var Jo=null;function PT(){var e=Jo;return Jo=null,e}var nr=0;function Ec(e,t,a,r,o){return nr=0,iR(e.child,t,a,r,o)}function iR(e,t,a,r,o){for(var l=!1;e!==null;){if(e.tag===5){var n=e.stateNode;if(r!==null){var i=p8(n);r.push(i),i.view&&(l=!0)}else l||p8(n).view&&(l=!0);Vb=!0,UR(n,nr===0?t:t+"_"+nr,a),nr++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&o||iR(e.child,t,a,r,o)&&(l=!0));e=e.sibling}return l}function nl(e,t){for(;e!==null;)e.tag===5?GR(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||nl(e.child,t)),e=e.sibling}function pb(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(pb(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error(I(544));var a=t.name;t=Gl(t.default,t.share),t!=="none"&&(Ec(e,a,t,null,!1)||nl(e.child,!1))}e=e.sibling}}function Yy(e,t){if(e.tag===30){var a=e.stateNode,r=e.memoizedProps,o=Kl(r,a),l=Gl(r.default,a.paired?r.share:r.enter);l!=="none"?Ec(e,o,l,null,!1)?(pb(e),a.paired||t||mc(e,r.onEnter)):nl(e.child,!1):pb(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Yy(e,t),e=e.sibling;else pb(e)}function Wy(e){if(Tr!==null&&Tr.size!==0){var t=Tr;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var a=e.memoizedProps,r=a.name;if(r!=null&&r!=="auto"){var o=t.get(r);if(o!==void 0){var l=Gl(a.default,a.share);if(l!=="none"&&(Ec(e,r,l,null,!1)?(l=e.stateNode,o.paired=l,l.paired=o,mc(e,a.onShare)):nl(e.child,!1)),t.delete(r),t.size===0)break}}}Wy(e)}e=e.sibling}}}function Xy(e){if(e.tag===30){var t=e.memoizedProps,a=Kl(t,e.stateNode),r=Tr!==null?Tr.get(a):void 0,o=Gl(t.default,r!==void 0?t.share:t.exit);o!=="none"&&(Ec(e,a,o,null,!1)?r!==void 0?(o=e.stateNode,r.paired=o,o.paired=r,Tr.delete(a),mc(e,t.onShare)):mc(e,t.onExit):nl(e.child,!1)),Tr!==null&&Wy(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Xy(e),e=e.sibling;else Tr!==null&&Wy(e)}function sR(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,a=Kl(t,e.stateNode);t=Gl(t.default,t.update),e.flags&=-5,t!=="none"&&Ec(e,a,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&sR(e);e=e.sibling}}function Zy(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,nl(e.child,!1))}Zy(e)}e=e.sibling}}function mb(e){if(e.tag===30)e.stateNode.paired=null,nl(e.child,!1),Zy(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)mb(e),e=e.sibling;else Zy(e)}function uR(e){for(e=e.child;e!==null;)e.tag===30?nl(e.child,!1):(e.subtreeFlags&33554432)!==0&&uR(e),e=e.sibling}function o7(e,t,a,r,o,l,n){for(var i=!1;t!==null;){if(t.tag===5){var s=t.stateNode;if(l!==null&&nr<l.length){var u=l[nr],c=p8(s);(u.view||c.view)&&(i=!0);var d;if(d=(e.flags&4)===0)if(c.clip)d=!0;else{d=u.rect;var f=c.rect;d=d.y!==f.y||d.x!==f.x||d.height!==f.height||d.width!==f.width}d&&(e.flags|=4),c.abs?c=!u.abs:(u=u.rect,c=c.rect,c=u.height!==c.height||u.width!==c.width),c&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&UR(s,nr===0?a:a+"_"+nr,o),i&&(e.flags&4)!==0||(Jo===null&&(Jo=[]),Jo.push(s,nr===0?r:r+"_"+nr,t.memoizedProps)),nr++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&n?e.flags|=t.flags&32:o7(e,t.child,a,r,o,l,n)&&(i=!0));t=t.sibling}return i}function cR(e,t){for(e=e.child;e!==null;){if(e.tag===30){var a=e.memoizedProps,r=e.stateNode,o=Kl(a,r),l=Gl(a.default,a.update);if(t){r=r.clones;var n=r===null?null:r.map(XF)}else n=e.memoizedState,e.memoizedState=null;r=e;var i=e.child;nr=0,o=o7(r,i,o,o,l,n,!1),(e.flags&4)!==0&&o&&(t||mc(e,a.onUpdate))}else(e.subtreeFlags&33554432)!==0&&cR(e,t);e=e.sibling}}var ca=!1,Ye=!1,Wo=!1,ey=!1,LT=typeof WeakSet=="function"?WeakSet:Set,da=null,Xo=!1,pf=!1,_b=!1,Qy=!1;function yF(e,t,a){if(e=e.containerInfo,c8=vc,e=WD(e),A8(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var l=o.anchorOffset,n=o.focusNode;o=o.focusOffset;try{r.nodeType,n.nodeType}catch{r=null;break e}var i=0,s=-1,u=-1,c=0,d=0,f=e,b=null;t:for(;;){for(var m;f!==r||l!==0&&f.nodeType!==3||(s=i+l),f!==n||o!==0&&f.nodeType!==3||(u=i+o),f.nodeType===3&&(i+=f.nodeValue.length),(m=f.firstChild)!==null;)b=f,f=m;for(;;){if(f===e)break t;if(b===r&&++c===l&&(s=i),b===n&&++d===o&&(u=i),(m=f.nextSibling)!==null)break;f=b,b=f.parentNode}f=m}r=s===-1||u===-1?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(d8={focusedElem:e,selectionRange:r},vc=!1,a=(a&335544064)===a,da=t,t=a?9270:1024;da!==null;){if(e=da,a&&(r=e.deletions,r!==null))for(l=0;l<r.length;l++)a&&Xy(r[l]);if(e.alternate===null&&(e.flags&2)!==0)a&&MT(e),X0(a);else{if(e.tag===22){if(r=e.alternate,e.memoizedState!==null){r!==null&&r.memoizedState===null&&a&&Xy(r),X0(a);continue}else if(r!==null&&r.memoizedState!==null){a&&MT(e),X0(a);continue}}r=e.child,(e.subtreeFlags&t)!==0&&r!==null?(r.return=e,da=r):(a&&sR(e),X0(a))}}Tr=null}function X0(e){for(;da!==null;){var t=da,a=e,r=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((o&1024)!==0&&r!==null){a=void 0,o=r.memoizedProps,r=r.memoizedState;var l=t.stateNode;try{var n=fs(t.type,o);a=l.getSnapshotBeforeUpdate(n,r),l.__reactInternalSnapshotBeforeUpdate=a}catch(i){Je(t,t.return,i)}}break;case 3:if((o&1024)!==0){if(r=t.stateNode.containerInfo,a=r.nodeType,a===9)m8(r);else if(a===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":m8(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:a&&r!==null&&(a=Kl(r.memoizedProps,r.stateNode),o=t.memoizedProps,o=Gl(o.default,o.update),o!=="none"&&Ec(r,a,o,r.memoizedState=[],!0));break;default:if((o&1024)!==0)throw Error(I(163))}if(r=t.sibling,r!==null){r.return=t.return,da=r;break}da=t.return}}function dR(e,t,a){var r=a.flags;switch(a.tag){case 0:case 11:case 15:Zo(e,a),r&4&&Zf(5,a);break;case 1:if(Zo(e,a),r&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(n){Je(a,a.return,n)}else{var o=fs(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(n){Je(a,a.return,n)}}r&64&&rR(a),r&512&&Qo(a,a.return);break;case 3:if(Zo(e,a),r&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{pk(e,t)}catch(n){Je(a,a.return,n)}}break;case 27:t===null&&r&4&&nR(a);case 26:case 5:Zo(e,a),t===null&&r&4&&Gy(a),r&512&&Qo(a,a.return);break;case 12:Zo(e,a);break;case 31:Zo(e,a),r&4&&bR(e,a);break;case 13:Zo(e,a),r&4&&hR(e,a),r&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=PF.bind(null,a),fK(e,a))));break;case 22:if(r=a.memoizedState!==null||ca,!r){var l=t!==null&&t.memoizedState!==null||Ye;t=ca,o=Ye,ca=r,(Ye=l)&&!o?(r=2,(a.subtreeFlags&8772)!==0&&(r|=1),So(e,a,r)):Zo(e,a),ca=t,Ye=o}break;case 30:Zo(e,a),r&512&&Qo(a,a.return);break;case 7:r&512&&Qo(a,a.return);default:Zo(e,a)}}function Jy(e,t){for(e=e.child;e!==null;)fR(e,t),e=e.sibling}function fR(e,t){switch(e.tag){case 5:case 26:try{var a=e.stateNode;if(t){var r=a.style;typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none"}else{var o=e.stateNode,l=e.memoizedProps.style,n=l!=null&&l.hasOwnProperty("display")?l.display:null;o.style.display=n==null||typeof n=="boolean"?"":(""+n).trim()}}catch(s){Je(e,e.return,s)}e8(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,_e=!0}catch(s){Je(e,e.return,s)}break;case 18:try{var i=e.stateNode;t?XT(i,!0):XT(e.stateNode,!1)}catch(s){Je(e,e.return,s)}break;case 22:case 23:e.memoizedState===null&&Jy(e,t);break;default:Jy(e,t)}}function e8(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var a=e,r=t;switch(a.tag){case 4:fR(a,r);break e;case 22:a.memoizedState===null&&e8(a,r);break e;default:e8(a,r)}}e=e.sibling}}function pR(e){var t=e.alternate;t!==null&&(e.alternate=null,pR(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Qb(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Et=null,or=!1;function Co(e,t,a){for(a=a.child;a!==null;)mR(e,t,a),a=a.sibling}function mR(e,t,a){if(Rr&&typeof Rr.onCommitFiberUnmount=="function")try{Rr.onCommitFiberUnmount(jf,a)}catch{}switch(a.tag){case 26:Ye||ha(a,t),Co(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&!Ye&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Ye||ha(a,t),Sf(a);var r=Et,o=or;ri(a.type)&&(Et=a.stateNode,or=!1),Co(e,t,a),tA(a.stateNode,a.type,a.memoizedProps),Et=r,or=o;break;case 5:Ye||ha(a,t),Sf(a);case 6:if(a.tag===6&&Sf(a),r=Et,o=or,Et=null,Co(e,t,a),Et=r,or=o,Et!==null)if(or)try{(Et.nodeType===9?Et.body:Et.nodeName==="HTML"?Et.ownerDocument.body:Et).removeChild(a.stateNode),_e=!0}catch(l){Je(a,t,l)}else try{Et.removeChild(a.stateNode),_e=!0}catch(l){Je(a,t,l)}break;case 18:Et!==null&&(or?(e=Et,WT(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),yc(e)):WT(Et,a.stateNode));break;case 4:r=Et,o=or,Et=a.stateNode.containerInfo,or=!0,Co(e,t,a),Et=r,or=o;break;case 0:case 11:case 14:case 15:ei(2,a,t),Ye||ei(4,a,t),Co(e,t,a);break;case 1:Ye||(ha(a,t),r=a.stateNode,typeof r.componentWillUnmount=="function"&&oR(a,t,r)),Co(e,t,a);break;case 21:Co(e,t,a);break;case 22:Ye=(r=Ye)||a.memoizedState!==null,Co(e,t,a),Ye=r;break;case 30:ha(a,t),Co(e,t,a);break;case 7:Ye||ha(a,t),Co(e,t,a);break;default:Co(e,t,a)}}function bR(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{yc(e)}catch(a){Je(t,t.return,a)}}}function hR(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{yc(e)}catch(a){Je(t,t.return,a)}}function CF(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new LT),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new LT),t;default:throw Error(I(435,e.tag))}}function Z0(e,t){var a=CF(e);t.forEach(function(r){if(!a.has(r)){a.add(r);var o=LF.bind(null,e,r);r.then(o,o)}})}function _a(e,t,a){var r=t.deletions;if(r!==null)for(var o=0;o<r.length;o++){var l=r[o],n=e,i=t,s=i;e:for(;s!==null;){switch(s.tag){case 27:if(ri(s.type)){Et=s.stateNode,or=!1;break e}break;case 5:Et=s.stateNode,or=!1;break e;case 3:case 4:Et=s.stateNode.containerInfo,or=!0;break e}s=s.return}if(Et===null)throw Error(I(160));mR(n,i,l),Et=null,or=!1,n=l.alternate,n!==null&&(n.return=null),l.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)gR(t,e,a),t=t.sibling}var wo=null;function gR(e,t,a){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(o&4&&(r=e.updateQueue,r=r!==null?r.events:null,r!==null))for(var l=0;l<r.length;l++){var n=r[l];n.ref.impl=n.nextImpl}_a(t,e,a),Ha(e),o&4&&(ei(3,e,e.return),Zf(3,e),ei(5,e,e.return));break;case 1:_a(t,e,a),Ha(e),o&512&&(Ye||r===null||ha(r,r.return)),o&64&&ca&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?t:a.concat(t))));break;case 26:if(l=wo,_a(t,e,a),Ha(e),o&512&&(Ye||r===null||ha(r,r.return)),o&4)if(o=r!==null?r.memoizedState:null,a=e.memoizedState,r===null)if(a===null)if(e.stateNode===null)if(ca)e.stateNode=jR(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,a=e.memoizedProps,o=l.ownerDocument||l;t:switch(t){case"title":r=o.getElementsByTagName("title")[0],(!r||r[qf]||r[ga]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=o.createElement(t),o.head.insertBefore(r,o.querySelector("head > title"))),ya(r,t,a),r[ga]=e,fa(r),t=r;break e;case"link":if(l=oD("link","href",o).get(t+(a.href||""))){for(n=0;n<l.length;n++)if(r=l[n],r.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&r.getAttribute("rel")===(a.rel==null?null:a.rel)&&r.getAttribute("title")===(a.title==null?null:a.title)&&r.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){l.splice(n,1);break t}}r=o.createElement(t),ya(r,t,a),o.head.appendChild(r);break;case"meta":if(l=oD("meta","content",o).get(t+(a.content||""))){for(n=0;n<l.length;n++)if(r=l[n],r.getAttribute("content")===(a.content==null?null:""+a.content)&&r.getAttribute("name")===(a.name==null?null:a.name)&&r.getAttribute("property")===(a.property==null?null:a.property)&&r.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&r.getAttribute("charset")===(a.charSet==null?null:a.charSet)){l.splice(n,1);break t}}r=o.createElement(t),ya(r,t,a),o.head.appendChild(r);break;default:throw Error(I(468,t))}r[ga]=e,fa(r),t=r}e.stateNode=t}else ca||g8(l,e.type,e.stateNode);else e.stateNode=rD(l,a,e.memoizedProps);else o!==a?(o===null?(t=r.stateNode,t===null||Ye||t.parentNode.removeChild(t)):o.count--,a===null?ca||g8(l,e.type,e.stateNode):rD(l,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Q5(e,e.memoizedProps,r.memoizedProps);break;case 27:_a(t,e,a),Ha(e),o&512&&(Ye||r===null||ha(r,r.return)),r!==null&&o&4&&Q5(e,e.memoizedProps,r.memoizedProps);break;case 5:if(l=Wo,Wo=!1,_a(t,e,a),Wo=l,Ha(e),o&512&&(Ye||r===null||ha(r,r.return)),e.flags&32){t=e.stateNode;try{dc(t,""),_e=!0}catch(c){Je(e,e.return,c)}}o&4&&e.stateNode!=null&&(t=e.memoizedProps,Q5(e,t,r!==null?r.memoizedProps:t)),o&1024&&(ey=!0);break;case 6:if(_a(t,e,a),Ha(e),o&4){if(e.stateNode===null)throw Error(I(162));t=e.memoizedProps,a=e.stateNode;try{a.nodeValue=t,_e=!0}catch(c){Je(e,e.return,c)}}break;case 3:if(_e=!1,$b=null,l=wo,wo=Ff(t.containerInfo),_a(t,e,a),wo=l,Ha(e),o&4&&r!==null&&r.memoizedState.isDehydrated)try{yc(t.containerInfo)}catch(c){Je(e,e.return,c)}ey&&(ey=!1,$R(e)),_e=!1;break;case 4:o=Wo,Wo=ca,r=KE(),l=wo,wo=Ff(e.stateNode.containerInfo),_a(t,e,a),Ha(e),wo=l,_e&&pf&&(_b=!0),_e=r,Wo=o;break;case 12:_a(t,e,a),Ha(e);break;case 31:_a(t,e,a),Ha(e),o&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Z0(e,t)));break;case 13:_a(t,e,a),Ha(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(dh=kr()),o&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Z0(e,t)));break;case 22:l=e.memoizedState!==null,n=r!==null&&r.memoizedState!==null;var i=ca,s=Ye,u=Wo;ca=i||l,Wo=u||l,Ye=s||n,_a(t,e,a),Ye=s,Wo=u,ca=i,Ha(e),o&8192&&(t=e.stateNode,t._visibility=l?t._visibility&-2:t._visibility|1,!l||r===null||n||ca||Ye||(t=n||Ye,a=ca,r=Ye,ca=l||ca,Ye=t,Nn(e,2),ca=a,Ye=r),!l&&Wo||Jy(e,l)),o&4&&(t=e.updateQueue,t!==null&&(a=t.retryQueue,a!==null&&(t.retryQueue=null,Z0(e,a))));break;case 19:_a(t,e,a),Ha(e),o&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Z0(e,t)));break;case 30:o&512&&(Ye||r===null||ha(r,r.return)),o=KE(),l=pf,n=(a&335544064)===a,i=e.memoizedProps,pf=n&&Gl(i.default,i.update)!=="none",_a(t,e,a),Ha(e),n&&r!==null&&_e&&(e.flags|=4),pf=l,_e=o;break;case 21:break;case 7:o&512&&(Ye||r===null||ha(r,r.return)),r&&r.stateNode!==null&&(r.stateNode._fragmentFiber=e);default:_a(t,e,a),Ha(e)}}function Ha(e){var t=e.flags;if(t&2){try{for(var a,r=e.return;r!==null;){if(lR(r)){a=r;break}r=r.return}r=null;for(var o=e.return;o!==null;){if(r7(o)){var l=o.stateNode;r===null?r=[l]:r.push(l)}if(a7(o))break;o=o.return}var n=r;if(a==null)throw Error(I(160));switch(a.tag){case 27:var i=a.stateNode,s=J5(e);Kb(e,s,i,n);break;case 5:var u=a.stateNode;a.flags&32&&(dc(u,""),a.flags&=-33);var c=J5(e);Kb(e,c,u,n);break;case 3:case 4:var d=a.stateNode.containerInfo,f=J5(e);qy(e,f,d,n);break;default:throw Error(I(161))}}catch(b){Je(e,e.return,b)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function $R(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;$R(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,vc=!0,t.reset(),vc=!1),e=e.sibling}}function Ou(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)xR(t,e),t=t.sibling;else cR(t,!1)}function xR(e,t){var a=e.alternate;if(a===null)Yy(e,!1);else switch(e.tag){case 3:if(Qy=Xo=!1,PT(),Ou(t,e),!Xo&&!_b){if(e=Jo,e!==null)for(var r=0;r<e.length;r+=3){a=e[r];var o=e[r+1];GR(a,e[r+2]),a=a.ownerDocument.documentElement,a!==null&&a.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+o+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Qy=!0}Jo=null;break;case 5:Ou(t,e);break;case 4:r=Xo,Xo=!1,Ou(t,e),Xo&&(_b=!0),Xo=r;break;case 22:e.memoizedState===null&&(a.memoizedState!==null?Yy(e,!1):Ou(t,e));break;case 30:r=Xo,o=PT(),Xo=!1,Ou(t,e),Xo&&(e.flags|=4);var l=e.memoizedProps,n=e.stateNode;t=Kl(l,n),n=Kl(a.memoizedProps,n);var i=Gl(l.default,l.update);i==="none"?t=!1:(l=a.memoizedState,a.memoizedState=null,a=e.child,nr=0,t=o7(e,a,t,n,i,l,!0),nr!==(l===null?0:l.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(mc(e,e.memoizedProps.onUpdate),Jo=o):o!==null&&(o.push.apply(o,Jo),Jo=o),Xo=(e.flags&32)!==0?!0:r;break;default:Ou(t,e)}}function Zo(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)dR(e,t.alternate,t),t=t.sibling}function Nn(e,t){for(e=e.child;e!==null;){var a=e,r=t;switch(a.tag){case 0:case 11:case 14:case 15:ei(4,a,a.return),Nn(a,r);break;case 1:ha(a,a.return);var o=a.stateNode;typeof o.componentWillUnmount=="function"&&oR(a,a.return,o),Nn(a,r);break;case 27:(r&2)!==0&&tA(a.stateNode,a.type,a.memoizedProps);case 5:ha(a,a.return),a.tag!==5&&a.tag!==27||Sf(a),Nn(a,r);break;case 6:Sf(a);break;case 26:ha(a,a.return),o=a.stateNode,a.memoizedState!==null||o===null||Ye||o.parentNode.removeChild(o),Nn(a,r);break;case 22:a.memoizedState===null&&Nn(a,r);break;case 30:ha(a,a.return),Nn(a,r);break;case 7:ha(a,a.return);default:Nn(a,r)}e=e.sibling}}function So(e,t,a){for(a=(t.subtreeFlags&8772)!==0?a:a&-2,t=t.child;t!==null;){var r=t.alternate,o=e,l=t,n=l.flags,i=(a&1)!==0;switch(l.tag){case 0:case 11:case 15:So(o,l,a),Zf(4,l);break;case 1:if(So(o,l,a),r=l,o=r.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(c){Je(r,r.return,c)}if(r=l,o=r.updateQueue,o!==null){var s=r.stateNode;try{var u=o.shared.hiddenCallbacks;if(u!==null)for(o.shared.hiddenCallbacks=null,o=0;o<u.length;o++)fk(u[o],s)}catch(c){Je(r,r.return,c)}}i&&n&64&&rR(l),Qo(l,l.return);break;case 27:(a&2)!==0&&nR(l);case 5:l.tag!==5&&l.tag!==27||NT(l),So(o,l,a),i&&r===null&&n&4&&Gy(l),Qo(l,l.return);break;case 6:NT(l);break;case 26:s=l.stateNode,l.memoizedState!==null||s===null||ca||g8(Ff(s.ownerDocument),l.type,s),So(o,l,a),i&&r===null&&n&4&&Gy(l),Qo(l,l.return);break;case 12:So(o,l,a);break;case 31:So(o,l,a),i&&n&4&&bR(o,l);break;case 13:So(o,l,a),i&&n&4&&hR(o,l);break;case 22:l.memoizedState===null&&So(o,l,a),Qo(l,l.return);break;case 30:So(o,l,a),Qo(l,l.return);break;case 7:Qo(l,l.return);default:So(o,l,a)}t=t.sibling}}function l7(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Wf(a))}function n7(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Wf(e))}function ao(e,t,a,r){var o=(a&335544064)===a;if(t.subtreeFlags&(o?10262:10256))for(t=t.child;t!==null;)vR(e,t,a,r),t=t.sibling;else o&&uR(t)}function vR(e,t,a,r){var o=(a&335544064)===a;o&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&mb(t);var l=t.flags;switch(t.tag){case 0:case 11:case 15:ao(e,t,a,r),l&2048&&Zf(9,t);break;case 1:ao(e,t,a,r);break;case 3:ao(e,t,a,r),o&&Qy&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),l&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Wf(l)));break;case 12:if(l&2048){ao(e,t,a,r),l=t.stateNode;try{var n=t.memoizedProps,i=n.id,s=n.onPostCommit;typeof s=="function"&&s(i,t.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(u){Je(t,t.return,u)}}else ao(e,t,a,r);break;case 31:ao(e,t,a,r);break;case 13:ao(e,t,a,r);break;case 23:break;case 22:n=t.stateNode,i=t.alternate,t.memoizedState!==null?(o&&i!==null&&i.memoizedState===null&&mb(i),n._visibility&2?ao(e,t,a,r):wf(e,t)):(o&&i!==null&&i.memoizedState!==null&&mb(t),n._visibility&2?ao(e,t,a,r):(n._visibility|=2,Fu(e,t,a,r,(t.subtreeFlags&10256)!==0||!1))),l&2048&&l7(i,t);break;case 24:ao(e,t,a,r),l&2048&&n7(t.alternate,t);break;case 30:o&&(l=t.alternate,l!==null&&(nl(l.child,!0),nl(t.child,!0))),ao(e,t,a,r);break;default:ao(e,t,a,r)}}function Fu(e,t,a,r,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var l=e,n=t,i=a,s=r,u=n.flags;switch(n.tag){case 0:case 11:case 15:Fu(l,n,i,s,o),Zf(8,n);break;case 23:break;case 22:var c=n.stateNode;n.memoizedState!==null?c._visibility&2?Fu(l,n,i,s,o):wf(l,n):(c._visibility|=2,Fu(l,n,i,s,o)),o&&u&2048&&l7(n.alternate,n);break;case 24:Fu(l,n,i,s,o),o&&u&2048&&n7(n.alternate,n);break;default:Fu(l,n,i,s,o)}t=t.sibling}}function wf(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,r=t,o=r.flags;switch(r.tag){case 22:wf(a,r),o&2048&&l7(r.alternate,r);break;case 24:wf(a,r),o&2048&&n7(r.alternate,r);break;default:wf(a,r)}t=t.sibling}}var Qi=8192;function Wi(e,t,a){if(e.subtreeFlags&Qi)for(e=e.child;e!==null;)yR(e,t,a),e=e.sibling}function yR(e,t,a){switch(e.tag){case 26:Wi(e,t,a),e.flags&Qi&&(e.memoizedState!==null?TK(a,wo,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&nD(a,e)));break;case 5:Wi(e,t,a),e.flags&Qi&&(e=e.stateNode,(t&335544128)===t&&nD(a,e));break;case 3:case 4:var r=wo;wo=Ff(e.stateNode.containerInfo),Wi(e,t,a),wo=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Qi,Qi=16777216,Wi(e,t,a),Qi=r):Wi(e,t,a));break;case 30:if((e.flags&Qi)!==0&&(r=e.memoizedProps.name,r!=null&&r!=="auto")){var o=e.stateNode;o.paired=null,Tr===null&&(Tr=new Map),Tr.set(r,o)}Wi(e,t,a);break;default:Wi(e,t,a)}}function CR(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function lf(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var r=t[a];da=r,wR(r,e)}CR(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)SR(e),e=e.sibling}function SR(e){switch(e.tag){case 0:case 11:case 15:lf(e),e.flags&2048&&ei(9,e,e.return);break;case 3:lf(e);break;case 12:lf(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,bb(e)):lf(e);break;default:lf(e)}}function bb(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var r=t[a];da=r,wR(r,e)}CR(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:ei(8,t,t.return),bb(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,bb(t));break;default:bb(t)}e=e.sibling}}function wR(e,t){for(;da!==null;){var a=da;switch(a.tag){case 0:case 11:case 15:ei(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var r=a.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:Wf(a.memoizedState.cache)}if(r=a.child,r!==null)r.return=a,da=r;else e:for(a=e;da!==null;){r=da;var o=r.sibling,l=r.return;if(pR(r),r===a){da=null;break e}if(o!==null){o.return=l,da=o;break e}da=l}}}var SF={getCacheForType:function(e){var t=$a(jt),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return $a(jt).controller.signal}},wF=typeof WeakMap=="function"?WeakMap:Map,Ue=0,ct=null,Le=null,Be=0,Ze=0,Sr=null,In=!1,Tc=!1,i7=!1,jl=0,Lt=0,ti=0,ls=0,Hb=0,Dr=0,pc=0,Ef=null,lr=null,t8=!1,dh=0,ER=0,jb=1/0,Ub=null,qn=null,Dt=0,To=null,ps=null,ll=0,a8=0,r8=null,TR=null,nc=null,ic=null,sc=null,Tf=0,hb=null;function Nr(){return(Ue&2)!==0&&Be!==0?Be&-Be:xe.T!==null?u7():AD()}function DR(){if(Dr===0)if((Be&536870912)===0||Ae){var e=I0;I0<<=1,(I0&3932160)===0&&(I0=262144),Dr=e}else Dr=536870912;return e=Ca.current,e!==null&&(e.flags|=32),Dr}function mc(e,t){if(t!=null){var a=e.stateNode,r=a.ref;r===null&&(r=a.ref=YR(Kl(e.memoizedProps,a))),ic===null&&(ic=[]),ic.push(t.bind(null,r))}}function sr(e,t,a){(e===ct&&(Ze===2||Ze===9)||e.cancelPendingCommit!==null)&&(bc(e,0),Fn(e,Be,Dr,!1)),Gf(e,a),((Ue&2)===0||e!==ct)&&(e===ct&&((Ue&2)===0&&(ls|=a),Lt===4&&Fn(e,Be,Dr,!1)),sl(e))}function kR(e,t,a){if((Ue&6)!==0)throw Error(I(327));var r=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Uf(e,t),o=r?DF(e,t):ty(e,t,!0),l=r;do{if(o===0){Tc&&!r&&Fn(e,t,0,!1);break}else{if(a=e.current.alternate,l&&!EF(a)){o=ty(e,t,!1),l=!1;continue}if(o===2){if(l=t,e.errorRecoveryDisabledLanes&l)var n=0;else n=e.pendingLanes&-536870913,n=n!==0?n:n&536870912?536870912:0;if(n!==0){t=n;e:{var i=e;o=Ef;var s=i.current.memoizedState.isDehydrated;if(s&&(bc(i,n).flags|=256),n=ty(i,n,!1),n!==2&&n!==6){if(i7&&!s){i.errorRecoveryDisabledLanes|=l,ls|=l,o=4;break e}l=lr,lr=o,l!==null&&(lr===null?lr=l:lr.push.apply(lr,l))}o=n}if(l=!1,o!==2)continue}}if(o===1){bc(e,0),Fn(e,t,0,!0);break}e:{switch(r=e,l=o,l){case 0:case 1:throw Error(I(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:Fn(r,t,Dr,!In);break e;case 2:lr=null;break;case 3:case 5:break;default:throw Error(I(329))}if((t&62914560)===t&&(o=dh+300-kr(),10<o)){if(Fn(r,t,Dr,!In),Zb(r,0,!0)!==0)break e;ll=t,r.timeoutHandle=d7(BT.bind(null,r,a,lr,Ub,t8,t,Dr,ls,pc,In,l,"Throttled",-0,0),o);break e}BT(r,a,lr,Ub,t8,t,Dr,ls,pc,In,l,null,-0,0)}}break}while(!0);sl(e)}function BT(e,t,a,r,o,l,n,i,s,u,c,d,f,b){e.timeoutHandle=-1;var m=t.subtreeFlags,p=(l&335544064)===l;if(d=null,(p||m&8192||(m&16785408)===16785408)&&(d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tl},Tr=null,yR(t,l,d),p&&(m=d,p=e.containerInfo,p=(p.nodeType===9?p:p.ownerDocument).__reactViewTransition,p!=null&&(m.count++,m.waitingForViewTransition=!0,m=Kf.bind(m),p.finished.then(m,m))),m=(l&62914560)===l?dh-kr():(l&4194048)===l?ER-kr():0,m=DK(d,m),m!==null)){ll=l,e.cancelPendingCommit=m(OT.bind(null,e,t,l,a,r,o,n,i,s,u,c,d,null,f,b)),Fn(e,l,n,!u);return}OT(e,t,l,a,r,o,n,i,s,u,c,d)}function EF(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var r=0;r<a.length;r++){var o=a[r],l=o.getSnapshot;o=o.value;try{if(!Mr(l(),o))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Fn(e,t,a,r){t=ED(e,t),t&=~Hb,t&=~ls,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var l=31-Ar(o),n=1<<l;r[l]=-1,o&=~n}a!==0&&DD(e,a,t)}function fh(){return(Ue&6)===0?(Qf(0,!1),!1):!0}function s7(){if(Le!==null){if(Ze===0)var e=Le.return;else e=Le,zl=$s=null,U8(e),rc=null,Pf=0,e=Le;for(;e!==null;)aR(e.alternate,e),e=e.return;Le=null}}function bc(e,t){var a=e.timeoutHandle;return a!==-1&&(e.timeoutHandle=-1,qF(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),ll=0,s7(),ct=e,Le=a=Ol(e.current,null),Be=t,Ze=0,Sr=null,In=!1,Tc=Uf(e,t),i7=!1,pc=Dr=Hb=ls=ti=Lt=0,lr=Ef=null,t8=!1,jl=ED(e,t),ah(),a}function RR(e,t){De=null,xe.H=Ob,t===wc||t===lh?(t=sT(),Ze=3):t===O8?(t=sT(),Ze=4):Ze=t===J8?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Sr=t,Le===null&&(Lt=1,Ib(e,io(t,e.current)))}function AR(){var e=Ca.current;return e===null?!0:(Be&4194048)===Be?Ma===null:(Be&62914560)===Be||(Be&536870912)!==0?e===Ma:!1}function NR(){var e=xe.H;return xe.H=Ob,e===null?Ob:e}function MR(){var e=xe.A;return xe.A=SF,e}function Gb(){Lt=4,In||(Be&4194048)!==Be&&Ca.current!==null||(Tc=!0),(ti&134217727)===0&&(ls&134217727)===0||ct===null||Fn(ct,Be,Dr,!1)}function ty(e,t,a){var r=Ue;Ue|=2;var o=NR(),l=MR();(ct!==e||Be!==t)&&(Ub=null,bc(e,t)),t=!1;var n=Lt;e:do try{if(Ze!==0&&Le!==null){var i=Le,s=Sr;switch(Ze){case 8:s7(),n=6;break e;case 3:case 2:case 9:case 6:Ca.current===null&&(t=!0);var u=Ze;if(Ze=0,Sr=null,Qu(e,i,s,u),a&&Tc){n=0;break e}break;default:u=Ze,Ze=0,Sr=null,Qu(e,i,s,u)}}TF(),n=Lt;break}catch(c){RR(e,c)}while(!0);return t&&e.shellSuspendCounter++,zl=$s=null,Ue=r,xe.H=o,xe.A=l,Le===null&&(ct=null,Be=0,ah()),n}function TF(){for(;Le!==null;)PR(Le)}function DF(e,t){var a=Ue;Ue|=2;var r=NR(),o=MR();ct!==e||Be!==t?(Ub=null,jb=kr()+500,bc(e,t)):Tc=Uf(e,t);e:do try{if(Ze!==0&&Le!==null){t=Le;var l=Sr;t:switch(Ze){case 1:Ze=0,Sr=null,Qu(e,t,l,1);break;case 2:case 9:if(iT(l)){Ze=0,Sr=null,zT(t);break}t=function(){Ze!==2&&Ze!==9||ct!==e||(Ze=7),sl(e)},l.then(t,t);break e;case 3:Ze=7;break e;case 4:Ze=5;break e;case 7:iT(l)?(Ze=0,Sr=null,zT(t)):(Ze=0,Sr=null,Qu(e,t,l,7));break;case 5:var n=null;switch(Le.tag){case 26:n=Le.memoizedState;case 5:case 27:var i=Le;if(n?oA(n):i.stateNode.complete){Ze=0,Sr=null;var s=i.sibling;if(s!==null)Le=s;else{var u=i.return;u!==null?(Le=u,ph(u)):Le=null}break t}}Ze=0,Sr=null,Qu(e,t,l,5);break;case 6:Ze=0,Sr=null,Qu(e,t,l,6);break;case 8:s7(),Lt=6;break e;default:throw Error(I(462))}}kF();break}catch(c){RR(e,c)}while(!0);return zl=$s=null,xe.H=r,xe.A=o,Ue=a,Le!==null?0:(ct=null,Be=0,ah(),Lt)}function kF(){for(;Le!==null&&!UO();)PR(Le)}function PR(e){var t=tR(e.alternate,e,jl);e.memoizedProps=e.pendingProps,t===null?ph(e):Le=t}function zT(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=wT(a,t,t.pendingProps,t.type,void 0,Be);break;case 11:t=wT(a,t,t.pendingProps,t.type.render,t.ref,Be);break;case 5:U8(t);var r=t;r===pa&&(Ae?(Ab(r),r.tag===5&&r.stateNode!=null&&($t=r.stateNode)):(Ab(r),Ae=!0));default:aR(a,t),t=Le=rk(t,jl),t=tR(a,t,jl)}e.memoizedProps=e.pendingProps,t===null?ph(e):Le=t}function Qu(e,t,a,r){zl=$s=null,U8(t),rc=null,Pf=0;var o=t.return;try{if(bF(e,o,t,a,Be)){Lt=1,Ib(e,io(a,e.current)),Le=null;return}}catch(l){if(o!==null)throw Le=o,l;Lt=1,Ib(e,io(a,e.current)),Le=null;return}t.flags&32768?(Ae||r===1?e=!0:Tc||(Be&536870912)!==0?e=!1:(In=e=!0,(r===2||r===9||r===3||r===6)&&(r=Ca.current,r!==null&&r.tag===13&&(r.flags|=16384))),LR(t,e)):ph(t)}function ph(e){var t=e;do{if((t.flags&32768)!==0){LR(t,In);return}e=t.return;var a=xF(t.alternate,t,jl);if(a!==null){Le=a;return}if(t=t.sibling,t!==null){Le=t;return}Le=t=e}while(t!==null);Lt===0&&(Lt=5)}function LR(e,t){do{var a=vF(e.alternate,e);if(a!==null){a.flags&=32767,Le=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){Le=e;return}Le=e=a}while(e!==null);Lt=6,Le=null}function OT(e,t,a,r,o,l,n,i,s,u,c,d){e.cancelPendingCommit=null;do mh();while(Dt!==0);if((Ue&6)!==0)throw Error(I(327));if(t!==null){if(t===e.current)throw Error(I(177));e===ct&&(Le=ct=null,Be=0),ps=t,To=e,ll=a,r8=o,TR=r,RF(e,t,a,n,i,s,d)}}function RF(e,t,a,r,o,l,n){var i=t.lanes|t.childLanes;if(a8=i,i|=N8,tI(e,a,i,r,o,l),ic=null,(a&335544064)===a?(sc=rF(e),r=10262):(sc=null,r=10256),(t.subtreeFlags&r)!==0||(t.flags&r)!==0?(e.callbackNode=null,e.callbackPriority=0,BF(Eb,function(){return i8(),null})):(e.callbackNode=null,e.callbackPriority=0),Vb=!1,r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=xe.T,xe.T=null,o=Ge.p,Ge.p=2,l=Ue,Ue|=4;try{yF(e,t,a)}finally{Ue=l,Ge.p=o,xe.T=r}}Dt=1,Vb?nc=JF(n,e.containerInfo,sc,o8,l8,NF,n8,i8,AF,null,null):(o8(),l8(),n8())}function AF(e){if(Dt!==0){var t=To.onRecoverableError;t(e,{componentStack:null})}}function NF(){Dt===3&&(Dt=0,xR(ps,To),Dt=4)}function o8(){if(Dt===1){Dt=0;var e=To,t=ps,a=ll,r=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||r){r=xe.T,xe.T=null;var o=Ge.p;Ge.p=2;var l=Ue;Ue|=4;try{pf=_b=!1,gR(t,e,a),a=d8;var n=WD(e.containerInfo),i=a.focusedElem,s=a.selectionRange;if(n!==i&&i&&i.ownerDocument&&YD(i.ownerDocument.documentElement,i)){if(s!==null&&A8(i)){var u=s.start,c=s.end;if(c===void 0&&(c=u),"selectionStart"in i)i.selectionStart=u,i.selectionEnd=Math.min(c,i.value.length);else{var d=i.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var b=f.getSelection(),m=i.textContent.length,p=Math.min(s.start,m),x=s.end===void 0?p:Math.min(s.end,m);!b.extend&&p>x&&(n=x,x=p,p=n);var h=JE(i,p),g=JE(i,x);if(h&&g&&(b.rangeCount!==1||b.anchorNode!==h.node||b.anchorOffset!==h.offset||b.focusNode!==g.node||b.focusOffset!==g.offset)){var $=d.createRange();$.setStart(h.node,h.offset),b.removeAllRanges(),p>x?(b.addRange($),b.extend(g.node,g.offset)):($.setEnd(g.node,g.offset),b.addRange($))}}}}for(d=[],b=i;b=b.parentNode;)b.nodeType===1&&d.push({element:b,left:b.scrollLeft,top:b.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<d.length;i++){var v=d[i];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}vc=!!c8,d8=c8=null}finally{Ue=l,Ge.p=o,xe.T=r}}e.current=t,Dt=2}}function l8(){if(Dt===2){Dt=0;var e=To,t=ps,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=xe.T,xe.T=null;var r=Ge.p;Ge.p=2;var o=Ue;Ue|=4;try{dR(e,t.alternate,t)}finally{Ue=o,Ge.p=r,xe.T=a}}Dt=3}}function n8(){if(Dt===4||Dt===3){Dt=0;var e=nc;nc=null,GO();var t=To,a=ps,r=ll,o=TR,l=(r&335544064)===r?10262:10256;if((a.subtreeFlags&l)!==0||(a.flags&l)!==0?Dt=5:(Dt=0,ps=To=null,BR(t,t.pendingLanes)),l=t.pendingLanes,l===0&&(qn=null),w8(r),a=a.stateNode,Rr&&typeof Rr.onCommitFiberRoot=="function")try{Rr.onCommitFiberRoot(jf,a,void 0,(a.current.flags&128)===128)}catch{}if(o!==null){a=xe.T,l=Ge.p,Ge.p=2,xe.T=null;try{for(var n=t.onRecoverableError,i=0;i<o.length;i++){var s=o[i];n(s.value,{componentStack:s.stack})}}finally{xe.T=a,Ge.p=l}}if(o=ic,n=sc,sc=null,o!==null&&(ic=null,n===null&&(n=[]),e!==null))for(s=0;s<o.length;s++)a=(0,o[s])(n),a!==void 0&&e.finished.finally(a);(ll&3)!==0&&mh(),sl(t),l=t.pendingLanes,(r&261930)!==0&&(l&42)!==0?t===hb?Tf++:(Tf=0,hb=t):(Tf=0,hb=null),Qf(0,!1)}}function BR(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Wf(t)))}function mh(){return nc!==null&&(nc.skipTransition(),nc=null),o8(),l8(),n8(),i8()}function i8(){if(Dt!==5)return!1;var e=To,t=a8;a8=0;var a=w8(ll),r=xe.T,o=Ge.p;try{Ge.p=32>a?32:a,xe.T=null,a=r8,r8=null;var l=To,n=ll;if(Dt=0,ps=To=null,ll=0,(Ue&6)!==0)throw Error(I(331));var i=Ue;if(Ue|=4,SR(l.current),vR(l,l.current,n,a),Ue=i,Qf(0,!1),Rr&&typeof Rr.onPostCommitFiberRoot=="function")try{Rr.onPostCommitFiberRoot(jf,l)}catch{}return!0}finally{Ge.p=o,xe.T=r,BR(e,t)}}function IT(e,t,a){t=io(a,t),t=Ky(e.stateNode,t,2),e=jn(e,t,2),e!==null&&(Gf(e,2),sl(e))}function Je(e,t,a){if(e.tag===3)IT(e,e,a);else for(;t!==null;){if(t.tag===3){IT(t,e,a);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(qn===null||!qn.has(r))){e=io(a,e),a=Xk(2),r=jn(t,a,2),r!==null&&(Zk(a,r,t,e),Gf(r,2),sl(r));break}}t=t.return}}function ay(e,t,a){var r=e.pingCache;if(r===null){r=e.pingCache=new wF;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(a)||(i7=!0,o.add(a),e=MF.bind(null,e,t,a),t.then(e,e))}function MF(e,t,a){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,ct===e&&(Be&a)===a&&((Lt===4||Lt===3&&(Be&62914560)===Be&&300>kr()-dh)&&(Ue&2)===0?bc(e,0):Hb|=a,pc===Be&&(pc=0)),sl(e)}function zR(e,t){t===0&&(t=TD()),e=gs(e,t),e!==null&&(Gf(e,t),sl(e))}function PF(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),zR(e,a)}function LF(e,t){var a=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(a=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(I(314))}r!==null&&r.delete(t),zR(e,a)}function BF(e,t){return C8(e,t)}var hc=null,Ku=null,s8=!1,qb=!1,ry=!1,Kn=0;function sl(e){e!==Ku&&e.next===null&&(Ku===null?hc=Ku=e:Ku=Ku.next=e),qb=!0,s8||(s8=!0,OF())}function Qf(e,t){if(!ry&&qb){ry=!0;do for(var a=!1,r=hc;r!==null;){if(!t)if(e!==0){var o=r.pendingLanes;if(o===0)var l=0;else{var n=r.suspendedLanes,i=r.pingedLanes;l=(1<<31-Ar(42|e)+1)-1,l&=o&~(n&~i),l=l&201326741?l&201326741|1:l?l|2:0}l!==0&&(a=!0,FT(r,l))}else l=Be,l=Zb(r,r===ct?l:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(l&3)===0||Uf(r,l)||(a=!0,FT(r,l));r=r.next}while(a);ry=!1}}function zF(){OR()}function OR(){qb=s8=!1;var e=0;Kn!==0&&GF()&&(e=Kn);for(var t=kr(),a=null,r=hc;r!==null;){var o=r.next,l=IR(r,t);l===0?(r.next=null,a===null?hc=o:a.next=o,o===null&&(Ku=a)):(a=r,(e!==0||(l&3)!==0)&&(qb=!0)),r=o}Dt!==0&&Dt!==5||Qf(e,!1),Kn!==0&&(Kn=0)}function IR(e,t){for(var a=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,l=e.pendingLanes&-62914561;0<l;){var n=31-Ar(l),i=1<<n,s=o[n];s===-1?((i&a)===0||(i&r)!==0)&&(o[n]=eI(i,t)):s<=t&&(e.expiredLanes|=i),l&=~i}if(t=ct,a=Be,a=Zb(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,a===0||e===t&&(Ze===2||Ze===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&B5(r),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Uf(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(r!==null&&B5(r),w8(a)){case 2:case 8:a=SD;break;case 32:a=Eb;break;case 268435456:a=wD;break;default:a=Eb}return r=FR.bind(null,e),a=C8(a,r),e.callbackPriority=t,e.callbackNode=a,t}return r!==null&&r!==null&&B5(r),e.callbackPriority=2,e.callbackNode=null,2}function FR(e,t){if(Dt!==0&&Dt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(mh()&&e.callbackNode!==a)return null;var r=Be;return r=Zb(e,e===ct?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(kR(e,r,t),IR(e,kr()),e.callbackNode!=null&&e.callbackNode===a?FR.bind(null,e):null)}function FT(e,t){if(mh())return null;kR(e,t,!0)}function OF(){YF(function(){(Ue&6)!==0?C8(CD,zF):OR()})}function u7(){if(Kn===0){var e=us;e===0&&(e=O0,O0<<=1,(O0&261888)===0&&(O0=256)),Kn=e}return Kn}function KT(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:ob(e)}function IF(e,t,a,r,o){if(t==="submit"&&a&&a.stateNode===o){var l=KT((o[cr]||null).action),n=r.submitter;n&&(t=(t=n[cr]||null)?KT(t.formAction):n.getAttribute("formAction"),t!==null&&(l=t,n=null));var i=new Jb("action","action",null,r,o);e.push({event:i,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Kn!==0){var s=new FormData(o,n);Iy(a,{pending:!0,data:s,method:o.method,action:l},null,s)}}else typeof l=="function"&&(i.preventDefault(),s=new FormData(o,n),Iy(a,{pending:!0,data:s,method:o.method,action:l},l,s))},currentTarget:o}]})}}for(Q0=0;Q0<Dy.length;Q0++)J0=Dy[Q0],VT=J0.toLowerCase(),_T=J0[0].toUpperCase()+J0.slice(1),Do(VT,"on"+_T);var J0,VT,_T,Q0;Do(ZD,"onAnimationEnd");Do(QD,"onAnimationIteration");Do(JD,"onAnimationStart");Do("dblclick","onDoubleClick");Do("focusin","onFocus");Do("focusout","onBlur");Do(WI,"onTransitionRun");Do(XI,"onTransitionStart");Do(ZI,"onTransitionCancel");Do(ek,"onTransitionEnd");cc("onMouseEnter",["mouseout","mouseover"]);cc("onMouseLeave",["mouseout","mouseover"]);cc("onPointerEnter",["pointerout","pointerover"]);cc("onPointerLeave",["pointerout","pointerover"]);bs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));bs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));bs("onBeforeInput",["compositionend","keypress","textInput","paste"]);bs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));bs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));bs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zf="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),FF=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(zf));function KR(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var r=e[a],o=r.event;r=r.listeners;e:{var l=void 0;if(t)for(var n=r.length-1;0<=n;n--){var i=r[n],s=i.instance,u=i.currentTarget;if(i=i.listener,s!==l&&o.isPropagationStopped())break e;l=i,o.currentTarget=u;try{l(o)}catch(c){Db(c)}o.currentTarget=null,l=s}else for(n=0;n<r.length;n++){if(i=r[n],s=i.instance,u=i.currentTarget,i=i.listener,s!==l&&o.isPropagationStopped())break e;l=i,o.currentTarget=u;try{l(o)}catch(c){Db(c)}o.currentTarget=null,l=s}}}}function Pe(e,t){var a=t[zE];a===void 0&&(a=t[zE]=new Set);var r=e+"__bubble";a.has(r)||(VR(t,e,2,!1),a.add(r))}function oy(e,t,a){var r=0;t&&(r|=4),VR(a,e,r,t)}var eb="_reactListening"+Math.random().toString(36).slice(2);function c7(e){if(!e[eb]){e[eb]=!0,MD.forEach(function(a){a!=="selectionchange"&&(FF.has(a)||oy(a,!1,e),oy(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[eb]||(t[eb]=!0,oy("selectionchange",!1,t))}}function VR(e,t,a,r){switch(dA(t)){case 2:var o=NK;break;case 8:o=MK;break;default:o=g7}a=o.bind(null,t,a,e),o=void 0,!Sy||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,a,{capture:!0,passive:o}):e.addEventListener(t,a,!0):o!==void 0?e.addEventListener(t,a,{passive:o}):e.addEventListener(t,a,!1)}function ly(e,t,a,r,o){var l=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var n=r.tag;if(n===3||n===4){var i=r.stateNode.containerInfo;if(i===o)break;if(n===4)for(n=r.return;n!==null;){var s=n.tag;if((s===3||s===4)&&n.stateNode.containerInfo===o)return;n=n.return}for(;i!==null;){if(n=Ji(i),n===null)return;if(s=n.tag,s===5||s===6||s===26||s===27){r=l=n;continue e}i=i.parentNode}}r=r.return}KD(function(){var u=l,c=T8(a),d=[];e:{var f=tk.get(e);if(f!==void 0){var b=Jb,m=e;switch(e){case"keypress":if(nb(a)===0)break e;case"keydown":case"keyup":b=EI;break;case"focusin":m="focus",b=V5;break;case"focusout":m="blur",b=V5;break;case"beforeblur":case"afterblur":b=V5;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=jE;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=pI;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=AI;break;case ZD:case QD:case JD:b=hI;break;case ek:b=MI;break;case"scroll":case"scrollend":b=dI;break;case"wheel":b=LI;break;case"copy":case"cut":case"paste":b=$I;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=GE;break;case"submit":b=kI;break;case"toggle":case"beforetoggle":b=zI}var p=(t&4)!==0,x=!p&&(e==="scroll"||e==="scrollend"),h=p?f!==null?f+"Capture":null:f;p=[];for(var g=u,$;g!==null;){var v=g;if($=v.stateNode,v=v.tag,v!==5&&v!==26&&v!==27||$===null||h===null||(v=kf(g,h),v!=null&&p.push(Of(g,v,$))),x)break;g=g.return}0<p.length&&(f=new b(f,m,null,a,c),d.push({event:f,listeners:p}))}}if((t&7)===0){e:{if(b=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",b&&a!==Cy&&(m=a.relatedTarget||a.fromElement)&&(Ji(m)||m[Cc]))break e;(f||b)&&(m=c.window===c?c:(b=c.ownerDocument)?b.defaultView||b.parentWindow:window,f?(b=a.relatedTarget||a.toElement,f=u,b=b?Ji(b):null,b!==null&&(x=Hf(b),p=b.tag,b!==x||p!==5&&p!==27&&p!==6)&&(b=null)):(f=null,b=u),f!==b&&(p=jE,v="onMouseLeave",h="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(p=GE,v="onPointerLeave",h="onPointerEnter",g="pointer"),x=f==null?m:df(f),$=b==null?m:df(b),m=new p(v,g+"leave",f,a,c),m.target=x,m.relatedTarget=$,v=null,Ji(c)===u&&(p=new p(h,g+"enter",b,a,c),p.target=$,p.relatedTarget=x,v=p),x=v,p=f&&b?cy(f,b,KF):null,f!==null&&HT(d,m,f,p,!1),b!==null&&x!==null&&HT(d,x,b,p,!0)))}e:{if(f=u?df(u):window,b=f.nodeName&&f.nodeName.toLowerCase(),b==="select"||b==="input"&&f.type==="file")var y=XE;else if(WE(f))if(GD)y=GI;else{y=jI;var E=HI}else b=f.nodeName,!b||b.toLowerCase()!=="input"||f.type!=="checkbox"&&f.type!=="radio"?u&&E8(u.elementType)&&(y=XE):y=UI;if(y&&(y=y(e,u))){UD(d,y,a,c);break e}E&&E(e,f,u)}switch(E=u?df(u):window,e){case"focusin":(WE(E)||E.contentEditable==="true")&&(Gu=E,Ey=u,hf=null);break;case"focusout":hf=Ey=Gu=null;break;case"mousedown":Ty=!0;break;case"contextmenu":case"mouseup":case"dragend":Ty=!1,eT(d,a,c);break;case"selectionchange":if(YI)break;case"keydown":case"keyup":eT(d,a,c)}var C;if(R8)e:{switch(e){case"compositionstart":var S="onCompositionStart";break e;case"compositionend":S="onCompositionEnd";break e;case"compositionupdate":S="onCompositionUpdate";break e}S=void 0}else Uu?HD(e,a)&&(S="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(S="onCompositionStart");S&&(_D&&a.locale!=="ko"&&(Uu||S!=="onCompositionStart"?S==="onCompositionEnd"&&Uu&&(C=VD()):(zn=c,D8="value"in zn?zn.value:zn.textContent,Uu=!0)),E=Yb(u,S),0<E.length&&(S=new UE(S,e,null,a,c),d.push({event:S,listeners:E}),C?S.data=C:(C=jD(a),C!==null&&(S.data=C)))),(C=II?FI(e,a):KI(e,a))&&(S=Yb(u,"onBeforeInput"),0<S.length&&(E=new UE("onBeforeInput","beforeinput",null,a,c),d.push({event:E,listeners:S}),E.data=C)),IF(d,e,u,a,c)}KR(d,t)})}function Of(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Yb(e,t){for(var a=t+"Capture",r=[];e!==null;){var o=e,l=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||l===null||(o=kf(e,a),o!=null&&r.unshift(Of(e,o,l)),o=kf(e,t),o!=null&&r.push(Of(e,o,l))),e.tag===3)return r;e=e.return}return[]}function KF(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function HT(e,t,a,r,o){for(var l=t._reactName,n=[];a!==null&&a!==r;){var i=a,s=i.alternate,u=i.stateNode;if(i=i.tag,s!==null&&s===r)break;i!==5&&i!==26&&i!==27||u===null||(s=u,o?(u=kf(a,l),u!=null&&n.unshift(Of(a,u,s))):o||(u=kf(a,l),u!=null&&n.push(Of(a,u,s)))),a=a.return}n.length!==0&&e.push({event:t,listeners:n})}var VF=/\\r\\n?/g,_F=/\\u0000|\\uFFFD/g;function jT(e){return(typeof e=="string"?e:""+e).replace(VF,`\n`).replace(_F,"")}function _R(e,t){return t=jT(t),jT(e)===t}function Qe(e,t,a,r,o,l){switch(a){case"children":if(typeof r=="string")t==="body"||t==="textarea"&&r===""||dc(e,r);else if(typeof r=="number"||typeof r=="bigint")t!=="body"&&dc(e,""+r);else return;break;case"className":K0(e,"class",r);break;case"tabIndex":K0(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":K0(e,a,r);break;case"style":FD(e,r,l);return;case"data":if(t!=="object"){K0(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(a);break}r=ob(r),e.setAttribute(a,r);break;case"action":case"formAction":if(typeof r=="function"){e.setAttribute(a,"javascript:throw new Error(\'A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\\\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().\')");break}else typeof l=="function"&&(a==="formAction"?(t!=="input"&&Qe(e,t,"name",o.name,o,null),Qe(e,t,"formEncType",o.formEncType,o,null),Qe(e,t,"formMethod",o.formMethod,o,null),Qe(e,t,"formTarget",o.formTarget,o,null)):(Qe(e,t,"encType",o.encType,o,null),Qe(e,t,"method",o.method,o,null),Qe(e,t,"target",o.target,o,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(a);break}r=ob(r),e.setAttribute(a,r);break;case"onClick":r!=null&&(e.onclick=tl);return;case"onScroll":r!=null&&Pe("scroll",e);return;case"onScrollEnd":r!=null&&Pe("scrollend",e);return;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(I(61));if(a=r.__html,a!=null){if(o.children!=null)throw Error(I(60));l?.__html!==a&&(e.innerHTML=a)}}break;case"multiple":e.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":e.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){e.removeAttribute("xlink:href");break}a=ob(r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(a,r):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":r===!0?e.setAttribute(a,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(a,r):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?e.setAttribute(a,r):e.removeAttribute(a);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(a):e.setAttribute(a,r);break;case"popover":Pe("beforetoggle",e),Pe("toggle",e),rb(e,"popover",r);break;case"xlinkActuate":Pl(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Pl(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Pl(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Pl(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Pl(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Pl(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Pl(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Pl(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Pl(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":rb(e,"is",r);break;case"innerText":case"textContent":return;default:if(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")a=uI.get(a)||a,rb(e,a,r);else return}_e=!0}function u8(e,t,a,r,o,l){switch(a){case"style":FD(e,r,l);return;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(I(61));if(a=r.__html,a!=null){if(o.children!=null)throw Error(I(60));l?.__html!==a&&(e.innerHTML=a)}}break;case"children":if(typeof r=="string")dc(e,r);else if(typeof r=="number"||typeof r=="bigint")dc(e,""+r);else return;break;case"onScroll":r!=null&&Pe("scroll",e);return;case"onScrollEnd":r!=null&&Pe("scrollend",e);return;case"onClick":r!=null&&(e.onclick=tl);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!PD.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),l=a.slice(2,o?a.length-7:void 0),t=e[cr]||null,t=t!=null?t[a]:null,typeof t=="function"&&e.removeEventListener(l,t,o),typeof r=="function")){typeof t!="function"&&t!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(l,r,o);break e}_e=!0,a in e?e[a]=r:r===!0?e.setAttribute(a,""):rb(e,a,r)}return}_e=!0}function ya(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Pe("error",e),Pe("load",e);var r=!1,o=!1,l;for(l in a)if(a.hasOwnProperty(l)){var n=a[l];if(n!=null)switch(l){case"src":r=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(I(137,t));default:Qe(e,t,l,n,a,null)}}o&&Qe(e,t,"srcSet",a.srcSet,a,null),r&&Qe(e,t,"src",a.src,a,null);return;case"input":Pe("invalid",e);var i=l=n=o=null,s=null,u=null;for(r in a)if(a.hasOwnProperty(r)){var c=a[r];if(c!=null)switch(r){case"name":o=c;break;case"type":n=c;break;case"checked":s=c;break;case"defaultChecked":u=c;break;case"value":l=c;break;case"defaultValue":i=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(I(137,t));break;default:Qe(e,t,r,c,a,null)}}zD(e,l,i,s,u,n,o,!1);return;case"select":Pe("invalid",e),r=n=l=null;for(o in a)if(a.hasOwnProperty(o)&&(i=a[o],i!=null))switch(o){case"value":l=i;break;case"defaultValue":n=i;break;case"multiple":r=i;default:Qe(e,t,o,i,a,null)}t=l,a=n,e.multiple=!!r,t!=null?ec(e,!!r,t,!1):a!=null&&ec(e,!!r,a,!0);return;case"textarea":Pe("invalid",e),l=o=r=null;for(n in a)if(a.hasOwnProperty(n)&&(i=a[n],i!=null))switch(n){case"value":r=i;break;case"defaultValue":o=i;break;case"children":l=i;break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(I(91));break;default:Qe(e,t,n,i,a,null)}ID(e,r,o,l);return;case"option":for(s in a)a.hasOwnProperty(s)&&(r=a[s],r!=null)&&(s==="selected"?e.selected=r&&typeof r!="function"&&typeof r!="symbol":Qe(e,t,s,r,a,null));return;case"dialog":Pe("beforetoggle",e),Pe("toggle",e),Pe("cancel",e),Pe("close",e);break;case"iframe":case"object":Pe("load",e);break;case"video":case"audio":for(r=0;r<zf.length;r++)Pe(zf[r],e);break;case"image":Pe("error",e),Pe("load",e);break;case"details":Pe("toggle",e);break;case"embed":case"source":case"link":Pe("error",e),Pe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in a)if(a.hasOwnProperty(u)&&(r=a[u],r!=null))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(I(137,t));default:Qe(e,t,u,r,a,null)}return;default:if(E8(t)){for(c in a)a.hasOwnProperty(c)&&(r=a[c],r!==void 0&&u8(e,t,c,r,a,void 0));return}}for(i in a)a.hasOwnProperty(i)&&(r=a[i],r!=null&&Qe(e,t,i,r,a,null))}var HF={};function jF(e,t,a,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,l=null,n=null,i=null,s=null,u=null,c=null;for(b in a){var d=a[b];if(a.hasOwnProperty(b)&&d!=null)switch(b){case"checked":break;case"value":break;case"defaultValue":s=d;default:r.hasOwnProperty(b)||Qe(e,t,b,null,r,d)}}for(var f in r){var b=r[f];if(d=a[f],r.hasOwnProperty(f)&&(b!=null||d!=null))switch(f){case"type":b!==d&&(_e=!0),l=b;break;case"name":b!==d&&(_e=!0),o=b;break;case"checked":b!==d&&(_e=!0),u=b;break;case"defaultChecked":b!==d&&(_e=!0),c=b;break;case"value":b!==d&&(_e=!0),n=b;break;case"defaultValue":b!==d&&(_e=!0),i=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(I(137,t));break;default:b!==d&&Qe(e,t,f,b,r,d)}}yy(e,n,i,s,u,c,l,o);return;case"select":b=n=i=f=null;for(l in a)if(s=a[l],a.hasOwnProperty(l)&&s!=null)switch(l){case"value":break;case"multiple":b=s;default:r.hasOwnProperty(l)||Qe(e,t,l,null,r,s)}for(o in r)if(l=r[o],s=a[o],r.hasOwnProperty(o)&&(l!=null||s!=null))switch(o){case"value":l!==s&&(_e=!0),f=l;break;case"defaultValue":l!==s&&(_e=!0),i=l;break;case"multiple":l!==s&&(_e=!0),n=l;default:l!==s&&Qe(e,t,o,l,r,s)}t=i,a=n,r=b,f!=null?ec(e,!!a,f,!1):!!r!=!!a&&(t!=null?ec(e,!!a,t,!0):ec(e,!!a,a?[]:"",!1));return;case"textarea":b=f=null;for(i in a)if(o=a[i],a.hasOwnProperty(i)&&o!=null&&!r.hasOwnProperty(i))switch(i){case"value":break;case"children":break;default:Qe(e,t,i,null,r,o)}for(n in r)if(o=r[n],l=a[n],r.hasOwnProperty(n)&&(o!=null||l!=null))switch(n){case"value":o!==l&&(_e=!0),f=o;break;case"defaultValue":o!==l&&(_e=!0),b=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(I(91));break;default:o!==l&&Qe(e,t,n,o,r,l)}OD(e,f,b);return;case"option":for(var m in a)f=a[m],a.hasOwnProperty(m)&&f!=null&&!r.hasOwnProperty(m)&&(m==="selected"?e.selected=!1:Qe(e,t,m,null,r,f));for(s in r)f=r[s],b=a[s],r.hasOwnProperty(s)&&f!==b&&(f!=null||b!=null)&&(s==="selected"?(f!==b&&(_e=!0),e.selected=f&&typeof f!="function"&&typeof f!="symbol"):Qe(e,t,s,f,r,b));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var p in a)f=a[p],a.hasOwnProperty(p)&&f!=null&&!r.hasOwnProperty(p)&&Qe(e,t,p,null,r,f);for(u in r)if(f=r[u],b=a[u],r.hasOwnProperty(u)&&f!==b&&(f!=null||b!=null))switch(u){case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(I(137,t));break;default:Qe(e,t,u,f,r,b)}return;default:if(E8(t)){for(var x in a)f=a[x],a.hasOwnProperty(x)&&f!==void 0&&!r.hasOwnProperty(x)&&u8(e,t,x,void 0,r,f);for(c in r)f=r[c],b=a[c],!r.hasOwnProperty(c)||f===b||f===void 0&&b===void 0||u8(e,t,c,f,r,b);return}}for(var h in a)f=a[h],a.hasOwnProperty(h)&&f!=null&&!r.hasOwnProperty(h)&&Qe(e,t,h,null,r,f);for(d in r)f=r[d],b=a[d],!r.hasOwnProperty(d)||f===b||f==null&&b==null||Qe(e,t,d,f,r,b)}function UT(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function UF(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),r=0;r<a.length;r++){var o=a[r],l=o.transferSize,n=o.initiatorType,i=o.duration;if(l&&i&&UT(n)){for(n=0,i=o.responseEnd,r+=1;r<a.length;r++){var s=a[r],u=s.startTime;if(u>i)break;var c=s.transferSize,d=s.initiatorType;c&&UT(d)&&(s=s.responseEnd,n+=c*(s<i?1:(i-u)/(s-u)))}if(--r,t+=8*(l+n)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var c8=null,d8=null;function If(e){return e.nodeType===9?e:e.ownerDocument}function GT(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function HR(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function jR(e,t,a,r){return a=If(a).createElement(e),a[ga]=r,a[cr]=t,ya(a,e,t),fa(a),a}function f8(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ny=null;function GF(){var e=window.event;return e&&e.type==="popstate"?e===ny?!1:(ny=e,!0):(ny=null,!1)}var d7=typeof setTimeout=="function"?setTimeout:void 0,qF=typeof clearTimeout=="function"?clearTimeout:void 0,qT=typeof Promise=="function"?Promise:void 0,YT=typeof requestAnimationFrame=="function"?requestAnimationFrame:d7,YF=typeof queueMicrotask=="function"?queueMicrotask:typeof qT<"u"?function(e){return qT.resolve(null).then(e).catch(WF)}:d7;function WF(e){setTimeout(function(){throw e})}function ri(e){return e==="head"}function WT(e,t){var a=t,r=0;do{var o=a.nextSibling;if(e.removeChild(a),o&&o.nodeType===8)if(a=o.data,a==="/$"||a==="/&"){if(r===0){e.removeChild(o),yc(t);return}r--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")r++;else if(a==="html")sy(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,sy(a);for(var l=a.firstChild;l;){var n=l.nextSibling,i=l.nodeName;l[qf]||i==="SCRIPT"||i==="STYLE"||i==="LINK"&&l.rel.toLowerCase()==="stylesheet"||a.removeChild(l),l=n}}else a==="body"&&sy(e.ownerDocument.body);a=o}while(a);yc(t)}function XT(e,t){var a=e;e=0;do{var r=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),r&&r.nodeType===8)if(a=r.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=r}while(a)}function UR(e,t,a){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,a!=null&&(e.style.viewTransitionClass=a),a=getComputedStyle(e),a.display==="inline"){if(t=e.getClientRects(),t.length===1)var r=1;else for(var o=r=0;o<t.length;o++){var l=t[o];0<l.width&&0<l.height&&r++}r===1&&(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+a.paddingTop,e.marginBottom="-"+a.paddingBottom)}}function GR(e,t){e=e.style,t=t.style;var a=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=a==null||typeof a=="boolean"?"":(""+a).trim(),a=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=a==null||typeof a=="boolean"?"":(""+a).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(a=t.display,e.display=a==null||typeof a=="boolean"?"":a,a=t.margin,a!=null?e.margin=a:(a=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=a==null||typeof a=="boolean"?"":a,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t=="boolean"?"":t)))}function qR(e,t,a){return a=a.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=a.innerHeight&&e.left<=a.innerWidth}}function p8(e){var t=e.getBoundingClientRect(),a=getComputedStyle(e);return qR(t,a,e)}function XF(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var a=getComputedStyle(e);return qR(t,a,e)}function ZF(e){return e.documentElement.clientHeight}function QF(e){this.addEventListener("load",e),this.addEventListener("error",e)}function JF(e,t,a,r,o,l,n,i,s){var u=t.nodeType===9?t:t.ownerDocument;try{var c=u.startViewTransition({update:function(){var f=u.defaultView,b=f.navigation&&f.navigation.transition,m=u.fonts.status;r();var p=[];if(m==="loaded"&&(ZF(u),u.fonts.status==="loading"&&p.push(u.fonts.ready)),m=p.length,e!==null)for(var x=e.suspenseyImages,h=0,g=0;g<x.length;g++){var $=x[g];if(!$.complete){var v=$.getBoundingClientRect();if(0<v.bottom&&0<v.right&&v.top<f.innerHeight&&v.left<f.innerWidth){if(h+=lA($),h>xb){p.length=m;break}$=new Promise(QF.bind($)),p.push($)}}}if(0<p.length)return f=Promise.race([Promise.all(p),new Promise(function(y){return setTimeout(y,500)})]).then(o,o),(b?Promise.allSettled([b.finished,f]):f).then(l,l);if(o(),b)return b.finished.then(l,l);l()},types:a});u.__reactViewTransition=c;var d=[];return c.ready.then(function(){for(var f=u.documentElement.getAnimations({subtree:!0}),b=0;b<f.length;b++){var m=f[b],p=m.effect,x=p.pseudoElement;if(x!=null&&x.startsWith("::view-transition")){d.push(m),m=p.getKeyframes();for(var h=x=void 0,g=!0,$=0;$<m.length;$++){var v=m[$],y=v.width;if(x===void 0)x=y;else if(x!==y){g=!1;break}if(y=v.height,h===void 0)h=y;else if(h!==y){g=!1;break}delete v.width,delete v.height,v.transform==="none"&&delete v.transform}g&&x!==void 0&&h!==void 0&&(p.setKeyframes(m),g=getComputedStyle(p.target,p.pseudoElement),g.width!==x||g.height!==h)&&(g=m[0],g.width=x,g.height=h,g=m[m.length-1],g.width=x,g.height=h,p.setKeyframes(m))}}n()},function(f){u.__reactViewTransition===c&&(u.__reactViewTransition=null);try{typeof f=="object"&&f!==null&&f.name==="InvalidStateError"&&(f.message==="View transition was skipped because document visibility state is hidden."||f.message==="Skipping view transition because document visibility state has become hidden."||f.message==="Skipping view transition because viewport size changed."||f.message==="Transition was aborted because of invalid state")&&(f=null),f!==null&&s(f)}finally{r(),o(),n()}}),c.finished.finally(function(){for(var f=0;f<d.length;f++)d[f].cancel();u.__reactViewTransition===c&&(u.__reactViewTransition=null),i()}),c}catch{return r(),o(),n(),null}}function es(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}es.prototype.animate=function(e,t){return t=typeof t=="number"?{duration:t}:dt({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)};es.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,a=e.getAnimations({subtree:!0}),r=[],o=0;o<a.length;o++){var l=a[o].effect;l!==null&&l.target===e&&l.pseudoElement===t&&r.push(a[o])}return r};es.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function YR(e){return{name:e,group:new es("group",e),imagePair:new es("image-pair",e),old:new es("old",e),new:new es("new",e)}}function Pr(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}Pr.prototype.addEventListener=function(e,t,a){var r=null,o=null;if(!(a!=null&&typeof a!="boolean"&&(r=a.signal||null,r!==null&&r.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var l=this._eventListeners;if(WR(l,e,t,a)===-1){var n=this,i=t;a!=null&&typeof a!="boolean"&&a.once===!0&&(i=function(s){n.removeEventListener(e,t,a),typeof t=="function"?t.call(this,s):t.handleEvent(s)}),r!==null&&(o=n.removeEventListener.bind(n,e,t,a),r.addEventListener("abort",o,{once:!0}),o=r.removeEventListener.bind(r,"abort",o)),r=gc(a),l.push({type:e,listener:t,optionsOrUseCapture:a,attachedListener:i,cleanup:o}),ur(this._fragmentFiber.child,!1,eK,e,i,r)}this._eventListeners=l}};function eK(e,t,a,r){return Qt(e).addEventListener(t,a,r),!1}Pr.prototype.removeEventListener=function(e,t,a){var r=this._eventListeners;if(r!==null&&(t=WR(r,e,t,a),t!==-1)){var o=r[t];a=o.attachedListener;var l=o.cleanup;o=gc(o.optionsOrUseCapture),ur(this._fragmentFiber.child,!1,tK,e,a,o),r.splice(t,1),l!==null&&l()}};function tK(e,t,a,r){return Qt(e).removeEventListener(t,a,r),!1}function gc(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function ZT(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function WR(e,t,a,r){if(e.length===0)return-1;r=ZT(r);for(var o=0;o<e.length;o++){var l=e[o];if(l.type===t&&l.listener===a&&ZT(l.optionsOrUseCapture)===r)return o}return-1}Pr.prototype.dispatchEvent=function(e){var t=ms(this._fragmentFiber);if(t===null)return!0;t=Qt(t);var a=this._eventListeners;if(a!==null&&0<a.length||!e.bubbles){var r=t.nodeType===9?t.createComment(""):document.createTextNode("");if(a)for(var o=0;o<a.length;o++){var l=a[o];r.addEventListener(l.type,l.attachedListener,gc(l.optionsOrUseCapture))}if(t.appendChild(r),e=r.dispatchEvent(e),a)for(o=0;o<a.length;o++)l=a[o],r.removeEventListener(l.type,l.attachedListener,gc(l.optionsOrUseCapture));return t.removeChild(r),e}return t.dispatchEvent(e)};Pr.prototype.focus=function(e){ur(this._fragmentFiber.child,!0,XR,e,void 0,void 0)};function XR(e,t){return e.tag===6?!1:(e=Qt(e),pK(e,t))}Pr.prototype.focusLast=function(e){var t=[];ur(this._fragmentFiber.child,!0,f7,t,void 0,void 0);for(var a=t.length-1;0<=a&&!XR(t[a],e);a--);};function f7(e,t){return t.push(e),!1}Pr.prototype.blur=function(){var e=ms(this._fragmentFiber);e!==null&&(e=Qt(e),e=If(e).activeElement,e!==null&&ur(this._fragmentFiber.child,!1,aK,e,void 0,void 0))};function aK(e,t){return e.tag===6?!1:(e=Qt(e),e===t||e.contains(t)?(t.blur(),!0):!1)}Pr.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),ur(this._fragmentFiber.child,!1,rK,e,void 0,void 0)};function rK(e,t){return e.tag===6||(e=Qt(e),t.observe(e)),!1}Pr.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),ur(this._fragmentFiber.child,!1,oK,e,void 0,void 0);for(var a=t=0;a<Eo.length;a++){var r=Eo[a];r.fragmentInstance===this&&r.observer===e?e.unobserve(r.instance):Eo[t++]=r}Eo.length=t}};function oK(e,t){return e.tag===6||(e=Qt(e),t.unobserve(e)),!1}var Eo=[],iy=!1;function lK(e,t,a){Eo.push({fragmentInstance:e,observer:t,instance:a}),iy||(iy=!0,mK(function(){iy=!1;var r=Eo;Eo=[];for(var o=0;o<r.length;o++){var l=r[o];l.observer.unobserve(l.instance)}}))}Pr.prototype.getClientRects=function(){var e=[];return ur(this._fragmentFiber.child,!1,nK,e,void 0,void 0),e};function nK(e,t){if(e.tag===6){e=e.stateNode;var a=e.ownerDocument.createRange();a.selectNodeContents(e),t.push.apply(t,a.getClientRects())}else e=Qt(e),t.push.apply(t,e.getClientRects());return!1}Pr.prototype.getRootNode=function(e){var t=ms(this._fragmentFiber);return t===null?this:Qt(t).getRootNode(e)};Pr.prototype.compareDocumentPosition=function(e){var t=ms(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var a=[];ur(this._fragmentFiber.child,!1,f7,a,void 0,void 0);var r=Qt(t);if(a.length===0){if(a=r,AE(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(a=t)}t=this._fragmentFiber;var o=r=a.compareDocumentPosition(e);return a===e?o=Node.DOCUMENT_POSITION_CONTAINS:r&Node.DOCUMENT_POSITION_CONTAINED_BY&&(a=$D(t)[1],a===null?o=Node.DOCUMENT_POSITION_PRECEDING:(e=Qt(a).compareDocumentPosition(e),o=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),o|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=Qt(a[0]),o=Qt(a[a.length-1]);var l=AE(this._fragmentFiber)?t.parentElement:r;if(l==null)return Node.DOCUMENT_POSITION_DISCONNECTED;r=l.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,l=l.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY;var n=t.compareDocumentPosition(e),i=o.compareDocumentPosition(e),s=n&Node.DOCUMENT_POSITION_CONTAINED_BY||i&Node.DOCUMENT_POSITION_CONTAINED_BY;return i=r&&l&&n&Node.DOCUMENT_POSITION_FOLLOWING&&i&Node.DOCUMENT_POSITION_PRECEDING,t=r&&t===e||l&&o===e||s||i?Node.DOCUMENT_POSITION_CONTAINED_BY:!r&&t===e||!l&&o===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:n,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||iK(t,this._fragmentFiber,a[0],a[a.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function iK(e,t,a,r,o){var l=Ji(o);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(a=!!l)e:{for(;l!==null;){if(l.tag===7&&(l===t||l.alternate===t)){a=!0;break e}l=l.return}a=!1}return a}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(l===null)return l=o.ownerDocument,o===l||o===l.documentElement||o===l.body;e:{for(l=t,t=ms(t);l!==null;){if(!(l.tag!==5&&l.tag!==3&&l.tag!==27||l!==t&&l.alternate!==t)){l=!0;break e}l=l.return}l=!1}return l}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!l)&&!(t=l===a)&&(t=cy(a,l,NE),t===null?t=!1:(ur(t,!0,OO,l,a),l=Vu,Vu=null,t=l!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!l)&&!(t=l===r)&&(t=cy(r,l,NE),t===null?t=!1:(ur(t,!0,IO,l,r),l=Vu,uy=Vu=null,t=l!==null)),t):!1}function QT(e,t){var a=e.ownerDocument.createRange();a.selectNodeContents(e),e=a.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}Pr.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(I(566));var t=[];ur(this._fragmentFiber.child,!1,f7,t,void 0,void 0);var a=e!==!1;if(t.length===0){var r=$D(this._fragmentFiber);if(r=a?r[1]||r[0]||ms(this._fragmentFiber):r[0]||r[1],r===null)return;if(r.tag===6){e=Qt(r),QT(e,a);return}if(r=Qt(r),r.nodeType!==9){if(r.nodeType===11){a="host"in r?r.host:null,a!==null&&a.scrollIntoView(e);return}r.scrollIntoView(e)}}for(r=a?t.length-1:0;r!==(a?-1:t.length);){var o=t[r];o.tag===6?(o=Qt(o),QT(o,a)):Qt(o).scrollIntoView(e),r+=a?-1:1}};function sK(e,t){return e=Qt(e),ZR(e,t),!1}function ZR(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function QR(e,t){var a=t._eventListeners;if(a!==null)for(var r=0;r<a.length;r++){var o=a[r];e.addEventListener(o.type,o.attachedListener,gc(o.optionsOrUseCapture))}e.nodeType!==3&&(a=t._observers,a!==null&&a.forEach(function(l){for(var n=0,i=0;i<Eo.length;i++){var s=Eo[i];(s.fragmentInstance!==t||s.observer!==l||s.instance!==e)&&(Eo[n++]=s)}Eo.length=n,l.observe(e)}),ZR(e,t))}function uK(e,t){var a=t._eventListeners;if(a!==null)for(var r=0;r<a.length;r++){var o=a[r];e.removeEventListener(o.type,o.attachedListener,gc(o.optionsOrUseCapture))}e.nodeType!==3&&(a=t._observers,a!==null&&a.forEach(function(l){typeof l.rootMargin=="string"?lK(t,l,e):l.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function m8(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":m8(a),Qb(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function cK(e,t,a,r){for(;e.nodeType===1;){var o=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[qf])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(l=e.getAttribute("rel"),l==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(l!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(l=e.getAttribute("src"),(l!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&l&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var l=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===l)return e}else return e;if(e=uo(e.nextSibling),e===null)break}return null}function dK(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=uo(e.nextSibling),e===null))return null;return e}function JR(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=uo(e.nextSibling),e===null))return null;return e}function b8(e){return e.data==="$?"||e.data==="$~"}function p7(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function fK(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var r=function(){t(),a.removeEventListener("DOMContentLoaded",r)};a.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function uo(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var h8=null;function JT(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return uo(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function eD(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function pK(e,t){function a(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener("focus",a,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",a,!0)}return r}function mK(e){YT(function(){YT(function(t){return e(t)})})}function eA(e,t,a){switch(t=If(a),e){case"html":if(e=t.documentElement,!e)throw Error(I(452));return e;case"head":if(e=t.head,!e)throw Error(I(453));return e;case"body":if(e=t.body,!e)throw Error(I(454));return e;default:throw Error(I(451))}}function tA(e,t,a){for(var r in a){var o=a[r];a.hasOwnProperty(r)&&o!=null&&Qe(e,t,r,null,HF,o)}a.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===tl&&(e.onclick=null),Qb(e)}function sy(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Qb(e)}var co=new Map,tD=new Set;function Ff(e){if(typeof e.getRootNode=="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var ql=Ge.d;Ge.d={f:bK,r:hK,D:gK,C:$K,L:xK,m:vK,X:CK,S:yK,M:SK};function bK(){var e=ql.f(),t=fh();return e||t}function hK(e){var t=Sc(e);t!==null&&t.tag===5&&t.type==="form"?Fk(t):ql.r(e)}var Dc=typeof document>"u"?null:document;function aA(e,t,a){var r=Dc;if(r&&typeof t=="string"&&t){var o=no(t);o=\'link[rel="\'+e+\'"][href="\'+o+\'"]\',typeof a=="string"&&(o+=\'[crossorigin="\'+a+\'"]\'),tD.has(o)||(tD.add(o),e={rel:e,crossOrigin:a,href:t},r.querySelector(o)===null&&(t=r.createElement("link"),ya(t,"link",e),fa(t),r.head.appendChild(t)))}}function gK(e){ql.D(e),aA("dns-prefetch",e,null)}function $K(e,t){ql.C(e,t),aA("preconnect",e,t)}function xK(e,t,a){ql.L(e,t,a);var r=Dc;if(r&&e&&t){var o=\'link[rel="preload"][as="\'+no(t)+\'"]\';t==="image"&&a&&a.imageSrcSet?(o+=\'[imagesrcset="\'+no(a.imageSrcSet)+\'"]\',typeof a.imageSizes=="string"&&(o+=\'[imagesizes="\'+no(a.imageSizes)+\'"]\')):o+=\'[href="\'+no(e)+\'"]\';var l=o;switch(t){case"style":l=$c(e);break;case"script":l=kc(e)}if(!(co.has(l)||(e=dt({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),co.set(l,e),r.querySelector(o)!==null||t==="style"&&r.querySelector(Jf(l))||t==="script"&&r.querySelector(ep(l))))){var n=r.createElement("link");ya(n,"link",e),t==="style"&&(n[Tb]=!0,n.onload=n.onerror=function(){ND(n)}),fa(n),r.head.appendChild(n)}}}function vK(e,t){ql.m(e,t);var a=Dc;if(a&&e){var r=t&&typeof t.as=="string"?t.as:"script",o=\'link[rel="modulepreload"][as="\'+no(r)+\'"][href="\'+no(e)+\'"]\',l=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":l=kc(e)}if(!co.has(l)&&(e=dt({rel:"modulepreload",href:e},t),co.set(l,e),a.querySelector(o)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(ep(l)))return}r=a.createElement("link"),ya(r,"link",e),fa(r),a.head.appendChild(r)}}}function yK(e,t,a){ql.S(e,t,a);var r=Dc;if(r&&e){var o=Ju(r).hoistableStyles,l=$c(e);t=t||"default";var n=o.get(l);if(!n){var i={loading:0,preload:null};if(n=r.querySelector(Jf(l)))i.loading=5;else{e=dt({rel:"stylesheet",href:e,"data-precedence":t},a),(a=co.get(l))&&m7(e,a);var s=n=r.createElement("link");fa(s),ya(s,"link",e),s._p=new Promise(function(u,c){s.onload=u,s.onerror=c}),s.addEventListener("load",function(){i.loading|=1}),s.addEventListener("error",function(){i.loading|=2}),i.loading|=4,gb(n,t,r)}n={type:"stylesheet",instance:n,count:1,state:i},o.set(l,n)}}}function CK(e,t){ql.X(e,t);var a=Dc;if(a&&e){var r=Ju(a).hoistableScripts,o=kc(e),l=r.get(o);l||(l=a.querySelector(ep(o)),l||(e=dt({src:e,async:!0},t),(t=co.get(o))&&b7(e,t),l=a.createElement("script"),fa(l),ya(l,"link",e),a.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},r.set(o,l))}}function SK(e,t){ql.M(e,t);var a=Dc;if(a&&e){var r=Ju(a).hoistableScripts,o=kc(e),l=r.get(o);l||(l=a.querySelector(ep(o)),l||(e=dt({src:e,async:!0,type:"module"},t),(t=co.get(o))&&b7(e,t),l=a.createElement("script"),fa(l),ya(l,"link",e),a.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},r.set(o,l))}}function aD(e,t,a,r){var o=(o=Vn.current)?Ff(o):null;if(!o)throw Error(I(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=$c(a.href),t=Ju(o).hoistableStyles,r=t.get(a),r||(r={type:"style",instance:null,count:0,state:null},t.set(a,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=$c(a.href);var l=Ju(o).hoistableStyles,n=l.get(e);if(n||(o=o.ownerDocument||o,n={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},l.set(e,n),(l=o.querySelector(Jf(e)))?l._p||(n.instance=l,n.state.loading=5):(l=co.get(e),l||(l={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},co.set(e,l)),wK(o,e,l,n.state))),t&&r===null)throw Error(I(528,""));return n}if(t&&r!==null)throw Error(I(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(a=kc(a),t=Ju(o).hoistableScripts,r=t.get(a),r||(r={type:"script",instance:null,count:0,state:null},t.set(a,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(I(444,e))}}function $c(e){return\'href="\'+no(e)+\'"\'}function Jf(e){return\'link[rel="stylesheet"][\'+e+"]"}function rA(e){return dt({},e,{"data-precedence":e.precedence,precedence:null})}function wK(e,t,a,r){if(t=e.querySelector(\'link[rel="preload"][as="style"][\'+t+"]")){if(t[Tb]!==!0){r.loading=1;return}}else t=e.createElement("link"),t[Tb]=!0,t.onload=t.onerror=ND.bind(null,t),ya(t,"link",a),fa(t),e.head.appendChild(t);r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2})}function kc(e){return\'[src="\'+no(e)+\'"]\'}function ep(e){return"script[async]"+e}function rD(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector(\'style[data-href~="\'+no(a.href)+\'"]\');if(r)return t.instance=r,fa(r),r;var o=dt({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),fa(r),ya(r,"style",o),gb(r,a.precedence,e),t.instance=r;case"stylesheet":o=$c(a.href);var l=e.querySelector(Jf(o));if(l)return t.state.loading|=4,t.instance=l,fa(l),l;r=rA(a),(o=co.get(o))&&m7(r,o),l=(e.ownerDocument||e).createElement("link"),fa(l);var n=l;return n._p=new Promise(function(i,s){n.onload=i,n.onerror=s}),ya(l,"link",r),t.state.loading|=4,gb(l,a.precedence,e),t.instance=l;case"script":return l=kc(a.src),(o=e.querySelector(ep(l)))?(t.instance=o,fa(o),o):(r=a,(o=co.get(l))&&(r=dt({},a),b7(r,o)),e=e.ownerDocument||e,o=e.createElement("script"),fa(o),ya(o,"link",r),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(I(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(r=t.instance,t.state.loading|=4,gb(r,a.precedence,e));return t.instance}function gb(e,t,a){for(var r=a.querySelectorAll(\'link[rel="stylesheet"][data-precedence],style[data-precedence]\'),o=r.length?r[r.length-1]:null,l=o,n=0;n<r.length;n++){var i=r[n];if(i.dataset.precedence===t)l=i;else if(l!==o)break}l?l.parentNode.insertBefore(e,l.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function m7(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function b7(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var $b=null;function oD(e,t,a){if($b===null){var r=new Map,o=$b=new Map;o.set(a,r)}else o=$b,r=o.get(a),r||(r=new Map,o.set(a,r));if(r.has(e))return r;for(r.set(e,null),a=a.getElementsByTagName(e),o=0;o<a.length;o++){var l=a[o];if(!(l[qf]||l[ga]||e==="link"&&l.getAttribute("rel")==="stylesheet")&&l.namespaceURI!=="http://www.w3.org/2000/svg"){var n=l.getAttribute(t)||"";n=e+n;var i=r.get(n);i?i.push(l):r.set(n,[l])}}return r}function g8(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function EK(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function lD(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function oA(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function lA(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function nD(e,t){typeof t.decode=="function"&&(e.imgCount++,t.complete||(e.imgBytes+=lA(t),e.suspenseyImages.push(t)),e=kK.bind(e),t.decode().then(e,e))}function TK(e,t,a,r){if(a.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var o=$c(r.href),l=t.querySelector(Jf(o));if(l){t=l._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Kf.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=l,fa(l);return}l=t.ownerDocument||t,r=rA(r),(o=co.get(o))&&m7(r,o),l=l.createElement("link"),fa(l);var n=l;n._p=new Promise(function(i,s){n.onload=i,n.onerror=s}),ya(l,"link",r),a.instance=l}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=Kf.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var xb=0;function DK(e,t){return e.stylesheets&&e.count===0&&vb(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var r=setTimeout(function(){if(e.stylesheets&&vb(e,e.stylesheets),e.unsuspend){var l=e.unsuspend;e.unsuspend=null,l()}},6e4+t);0<e.imgBytes&&xb===0&&(xb=62500*UF());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&vb(e,e.stylesheets),e.unsuspend)){var l=e.unsuspend;e.unsuspend=null,l()}},(e.imgBytes>xb?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(o)}}:null}function nA(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)vb(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function Kf(){this.count--,nA(this)}function kK(){this.imgCount--,nA(this)}var Wb=null;function vb(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Wb=new Map,t.forEach(RK,e),Wb=null,Kf.call(e))}function RK(e,t){if(!(t.state.loading&4)){var a=Wb.get(e);if(a)var r=a.get(null);else{a=new Map,Wb.set(e,a);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),l=0;l<o.length;l++){var n=o[l];(n.nodeName==="LINK"||n.getAttribute("media")!=="not all")&&(a.set(n.dataset.precedence,n),r=n)}r&&a.set(null,r)}o=t.instance,n=o.getAttribute("data-precedence"),l=a.get(n)||r,l===r&&a.set(null,o),a.set(n,o),this.count++,r=Kf.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),l?l.parentNode.insertBefore(o,l.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var xc={$$typeof:el,Provider:null,Consumer:null,_currentValue:ts,_currentValue2:ts,_threadCount:0};function AK(e,t,a,r,o,l,n,i,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=z5(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=z5(0),this.hiddenUpdates=z5(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=l,this.onRecoverableError=n,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.transitionTypes=null,this.incompleteTransitions=new Map}function iA(e,t,a,r,o,l,n,i,s,u,c,d){return e=new AK(e,t,a,n,s,u,c,d,i),t=1,l===!0&&(t|=24),l=ir(3,null,null,t),e.current=l,l.stateNode=e,t=B8(),t.refCount++,e.pooledCache=t,t.refCount++,l.memoizedState={element:r,isDehydrated:a,cache:t},I8(l),e}function sA(e){return e?(e=Wu,e):Wu}function uA(e,t,a,r,o,l){o=sA(o),r.context===null?r.context=o:r.pendingContext=o,r=Hn(t),r.payload={element:a},l=l===void 0?null:l,l!==null&&(r.callback=l),a=jn(e,r,t),a!==null&&(sr(a,e,t),$f(a,e,t))}function iD(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function h7(e,t){iD(e,t),(e=e.alternate)&&iD(e,t)}function cA(e){if(e.tag===13||e.tag===31){var t=gs(e,67108864);t!==null&&sr(t,e,67108864),h7(e,67108864)}}function sD(e){if(e.tag===13||e.tag===31){var t=Nr();t=S8(t);var a=gs(e,t);a!==null&&sr(a,e,t),h7(e,t)}}var vc=!0;function NK(e,t,a,r){var o=xe.T;xe.T=null;var l=Ge.p;try{Ge.p=2,g7(e,t,a,r)}finally{Ge.p=l,xe.T=o}}function MK(e,t,a,r){var o=xe.T;xe.T=null;var l=Ge.p;try{Ge.p=8,g7(e,t,a,r)}finally{Ge.p=l,xe.T=o}}function g7(e,t,a,r){if(vc){var o=$8(r);if(o===null)ly(e,t,r,Xb,a),uD(e,r);else if(LK(o,e,t,a,r))r.stopPropagation();else if(uD(e,r),t&4&&-1<PK.indexOf(e)){for(;o!==null;){var l=Sc(o);if(l!==null)switch(l.tag){case 3:if(l=l.stateNode,l.current.memoizedState.isDehydrated){var n=Xi(l.pendingLanes);if(n!==0){var i=l;for(i.pendingLanes|=2,i.entangledLanes|=2;n;){var s=1<<31-Ar(n);i.entanglements[1]|=s,n&=~s}sl(l),(Ue&6)===0&&(jb=kr()+500,Qf(0,!1))}}break;case 31:case 13:i=gs(l,2),i!==null&&sr(i,l,2),fh(),h7(l,2)}if(l=$8(r),l===null&&ly(e,t,r,Xb,a),l===o)break;o=l}o!==null&&r.stopPropagation()}else ly(e,t,r,null,a)}}function $8(e){return e=T8(e),$7(e)}var Xb=null;function $7(e){if(Xb=null,e=Ji(e),e!==null){var t=Hf(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=bD(t),e!==null)return e;e=null}else if(a===31){if(e=hD(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Xb=e,null}function dA(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(qO()){case CD:return 2;case SD:return 8;case Eb:case YO:return 32;case wD:return 268435456;default:return 32}default:return 32}}var x8=!1,Yn=null,Wn=null,Xn=null,Vf=new Map,_f=new Map,Ln=[],PK="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function uD(e,t){switch(e){case"focusin":case"focusout":Yn=null;break;case"dragenter":case"dragleave":Wn=null;break;case"mouseover":case"mouseout":Xn=null;break;case"pointerover":case"pointerout":Vf.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":_f.delete(t.pointerId)}}function nf(e,t,a,r,o,l){return e===null||e.nativeEvent!==l?(e={blockedOn:t,domEventName:a,eventSystemFlags:r,nativeEvent:l,targetContainers:[o]},t!==null&&(t=Sc(t),t!==null&&cA(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function LK(e,t,a,r,o){switch(t){case"focusin":return Yn=nf(Yn,e,t,a,r,o),!0;case"dragenter":return Wn=nf(Wn,e,t,a,r,o),!0;case"mouseover":return Xn=nf(Xn,e,t,a,r,o),!0;case"pointerover":var l=o.pointerId;return Vf.set(l,nf(Vf.get(l)||null,e,t,a,r,o)),!0;case"gotpointercapture":return l=o.pointerId,_f.set(l,nf(_f.get(l)||null,e,t,a,r,o)),!0}return!1}function fA(e){var t=Ji(e.target);if(t!==null){var a=Hf(t);if(a!==null){if(t=a.tag,t===13){if(t=bD(a),t!==null){e.blockedOn=t,BE(e.priority,function(){sD(a)});return}}else if(t===31){if(t=hD(a),t!==null){e.blockedOn=t,BE(e.priority,function(){sD(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function yb(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=$8(e.nativeEvent);if(a===null){a=e.nativeEvent;var r=new a.constructor(a.type,a);Cy=r,a.target.dispatchEvent(r),Cy=null}else return t=Sc(a),t!==null&&cA(t),e.blockedOn=a,!1;t.shift()}return!0}function cD(e,t,a){yb(e)&&a.delete(t)}function BK(){x8=!1,Yn!==null&&yb(Yn)&&(Yn=null),Wn!==null&&yb(Wn)&&(Wn=null),Xn!==null&&yb(Xn)&&(Xn=null),Vf.forEach(cD),_f.forEach(cD)}function tb(e,t){e.blockedOn===t&&(e.blockedOn=null,x8||(x8=!0,Jt.unstable_scheduleCallback(Jt.unstable_NormalPriority,BK)))}var ab=null;function dD(e){ab!==e&&(ab=e,Jt.unstable_scheduleCallback(Jt.unstable_NormalPriority,function(){ab===e&&(ab=null);for(var t=0;t<e.length;t+=3){var a=e[t],r=e[t+1],o=e[t+2];if(typeof r!="function"){if($7(r||a)===null)continue;break}var l=Sc(a);l!==null&&(e.splice(t,3),t-=3,Iy(l,{pending:!0,data:o,method:a.method,action:r},r,o))}}))}function yc(e){function t(s){return tb(s,e)}Yn!==null&&tb(Yn,e),Wn!==null&&tb(Wn,e),Xn!==null&&tb(Xn,e),Vf.forEach(t),_f.forEach(t);for(var a=0;a<Ln.length;a++){var r=Ln[a];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Ln.length&&(a=Ln[0],a.blockedOn===null);)fA(a),a.blockedOn===null&&Ln.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(r=0;r<a.length;r+=3){var o=a[r],l=a[r+1],n=o[cr]||null;if(typeof l=="function")n||dD(a);else if(n){var i=null;if(l&&l.hasAttribute("formAction")){if(o=l,n=l[cr]||null)i=n.formAction;else if($7(o)!==null)continue}else i=n.action;typeof i=="function"?a[r+1]=i:(a.splice(r,3),r-=3),dD(a)}}}function pA(){function e(l){l.canIntercept&&l.info==="react-transition"&&l.intercept({handler:function(){return new Promise(function(n){return o=n})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),r||setTimeout(a,20)}function a(){if(!r&&!navigation.transition){var l=navigation.currentEntry;l&&l.url!=null&&navigation.navigate(l.url,{state:l.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function x7(e){this._internalRoot=e}bh.prototype.render=x7.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(I(409));var a=t.current,r=Nr();uA(a,r,e,t,null,null)};bh.prototype.unmount=x7.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;uA(e.current,2,null,e,null,null),fh(),t[Cc]=null}};function bh(e){this._internalRoot=e}bh.prototype.unstable_scheduleHydration=function(e){if(e){var t=AD();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Ln.length&&t!==0&&t<Ln[a].priority;a++);Ln.splice(a,0,e),a===0&&fA(e)}};var fD=pD.version;if(fD!=="19.3.0")throw Error(I(527,fD,"19.3.0"));Ge.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(I(188)):(e=Object.keys(e).join(","),Error(I(268,e)));return e=zO(t),e=e!==null?gD(e):null,e=e===null?null:e.stateNode,e};var zK={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:xe,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(sf=__REACT_DEVTOOLS_GLOBAL_HOOK__,!sf.isDisabled&&sf.supportsFiber))try{jf=sf.inject(zK),Rr=sf}catch{}var sf;hh.createRoot=function(e,t){if(!mD(e))throw Error(I(299));var a=!1,r="",o=qk,l=Yk,n=Wk;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(l=t.onCaughtError),t.onRecoverableError!==void 0&&(n=t.onRecoverableError)),t=iA(e,1,!1,null,null,a,r,null,o,l,n,pA),e[Cc]=t.current,c7(e),new x7(t)};hh.hydrateRoot=function(e,t,a){if(!mD(e))throw Error(I(299));var r=!1,o="",l=qk,n=Yk,i=Wk,s=null;return a!=null&&(a.unstable_strictMode===!0&&(r=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(l=a.onUncaughtError),a.onCaughtError!==void 0&&(n=a.onCaughtError),a.onRecoverableError!==void 0&&(i=a.onRecoverableError),a.formState!==void 0&&(s=a.formState)),t=iA(e,1,!0,t,a??null,r,o,s,l,n,i,pA),t.context=sA(null),a=t.current,r=Nr(),r=S8(r),o=Hn(r),o.callback=null,jn(a,o,r),a=r,t.current.lanes=a,Gf(t,a),sl(t),e[Cc]=t.current,c7(e),new bh(t)};hh.version="19.3.0"});var gA=zr((z4e,hA)=>{"use strict";function bA(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(bA)}catch(e){console.error(e)}}bA(),hA.exports=mA()});var Nh={name:"Mockingbird",icon:"\\u{1F426}\\u200D\\u2B1B",tagline:"Local emulators. Real API contracts.",docs:"https://mockingbird.chrisvouga.dev",repo:"https://github.com/crvouga/mockingbird"},X7=\'"Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif\';var Jl="mb:theme";function Z7(e,t){if(e.classList.remove("light","dark"),t==="system"){e.removeAttribute("data-theme");return}e.classList.add(t),e.dataset.theme=t}var OV=`try{var t=localStorage.getItem(${JSON.stringify(Jl)});if(t==="light"||t==="dark"){var r=document.documentElement;r.classList.add(t);r.dataset.theme=t}}catch(e){}`;var Jr=T(me(),1);var t6="react-aria-clear-focus",a6="react-aria-focus";function dp(e){if(typeof window>"u"||window.navigator==null)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(a=>e.test(a.brand))||e.test(window.navigator.userAgent)}function Mh(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function ko(e){let t=null;return()=>(t==null&&(t=e()),t)}var ea=ko(function(){return Mh(/^Mac/i)}),NN=ko(function(){return Mh(/^iPhone/i)}),Ph=ko(function(){return Mh(/^iPad/i)||ea()&&navigator.maxTouchPoints>1}),Wa=ko(function(){return NN()||Ph()}),r6=ko(function(){return ea()||Wa()}),Gt=ko(function(){return dp(/AppleWebKit/i)&&(Wa()||!fp())}),_V=ko(function(){return Gt()&&!fp()&&!MN()}),fp=ko(function(){return dp(/Chrome|CriOS|CrMo/i)}),Or=ko(function(){return dp(/Android/i)}),MN=ko(function(){return dp(/(Firefox|FxiOS)/i)});function ta(e){e.focus({preventScroll:!0})}var en=T(R(),1),$6=(0,en.createContext)({isNative:!0,open:XN,useHref:e=>e});function Lc(e){let{children:t,navigate:a,useHref:r}=e,o=(0,en.useMemo)(()=>({isNative:!1,open:(l,n,i,s)=>{x6(l,u=>{Vh(u,n)?a(i,s):Xa(u,n)})},useHref:r||(l=>l)}),[a,r]);return en.default.createElement($6.Provider,{value:o},t)}function ul(){return(0,en.useContext)($6)}function Vh(e,t){let a=e.getAttribute("target");return(!a||a==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function Xa(e,t,a=!0){let{metaKey:r,ctrlKey:o,altKey:l,shiftKey:n}=t,i=Gt()&&ea()&&!Ph()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:o,altKey:l,shiftKey:n}):new MouseEvent("click",{metaKey:r,ctrlKey:o,altKey:l,shiftKey:n,detail:1,bubbles:!0,cancelable:!0});Xa.isOpening=a,ta(e),e.dispatchEvent(i),Xa.isOpening=!1}Xa.isOpening=!1;function x6(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let a=document.createElement("a");a.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(a.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(a.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(a.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(a.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(a.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(a),t(a),e.removeChild(a)}}function XN(e,t){x6(e,a=>Xa(a,t))}function _h(e){let a=ul().useHref(e.href??"");return{"data-href":e.href?a:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function ui(e){let a=ul().useHref(e?.href??""),r={};if(e)for(let o of["href","target","rel","download","ping","referrerPolicy"])o in e&&e[o]!==void 0&&(r[o]=o==="href"?a:e[o]);return r}function Hh(e,t,a,r){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&Vh(e.currentTarget,e)&&a&&(e.preventDefault(),t.open(e.currentTarget,e,a,r))}var v6=T(R(),1),ae=typeof document<"u"?v6.default.useLayoutEffect:()=>{};var aa=T(R(),1),mp={prefix:String(Math.round(Math.random()*1e10)),current:0},y6=aa.default.createContext(mp),ZN=aa.default.createContext(!1);var QN=!!(typeof window<"u"&&window.document&&window.document.createElement),jh=new WeakMap;function JN(e=!1){let t=(0,aa.useContext)(y6),a=(0,aa.useRef)(null);if(a.current===null&&!e){let r=aa.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(r){let o=jh.get(r);o==null?jh.set(r,{id:t.current,state:r.memoizedState}):r.memoizedState!==o.state&&(t.current=o.id,jh.delete(r))}a.current=++t.current}return a.current}function eM(e){let t=(0,aa.useContext)(y6),a=JN(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${a}`}function tM(e){let t=aa.default.useId(),[a]=(0,aa.useState)(Pa()),r=a?"react-aria":`react-aria${mp.prefix}`;return e||`${r}-${t}`}var C6=typeof aa.default.useId=="function"?tM:eM;function aM(){return!1}function rM(){return!0}function oM(e){return()=>{}}function Pa(){return typeof aa.default.useSyncExternalStore=="function"?aa.default.useSyncExternalStore(oM,aM,rM):(0,aa.useContext)(ZN)}var tn=T(R(),1);function S6(e){let[t,a]=(0,tn.useState)(e),r=(0,tn.useRef)(t),o=(0,tn.useRef)(null),l=(0,tn.useRef)(()=>{if(!o.current)return;let i=o.current.next();if(i.done){o.current=null;return}r.current===i.value?l.current():a(i.value)});ae(()=>{r.current=t,o.current&&l.current()});let n=(0,tn.useCallback)(i=>{o.current=i(r.current),l.current()},[l]);return[t,n]}var cl=T(R(),1),lM=!!(typeof window<"u"&&window.document&&window.document.createElement),Ds=new Map,Ts;typeof FinalizationRegistry<"u"&&(Ts=new FinalizationRegistry(e=>{Ds.delete(e)}));var Uh=new WeakMap;function Ne(e){let[t,a]=(0,cl.useState)(e),r=(0,cl.useRef)(null),o=C6(t),l=(0,cl.useRef)(null),n=Uh.get(l);if(Ts&&n!==o&&(n!=null&&Ts.unregister(l),Ts.register(l,o,l),Uh.set(l,o)),lM){let i=Ds.get(o);i&&!i.includes(r)?i.push(r):Ds.set(o,[r])}return ae(()=>{let i=o;return()=>{Ts&&(Ts.unregister(l),Uh.delete(l)),Ds.delete(i)}},[o]),(0,cl.useEffect)(()=>{let i=r.current;return i&&a(i),()=>{i&&(r.current=null)}}),o}function w6(e,t){if(e===t)return e;let a=Ds.get(e);if(a)return a.forEach(o=>o.current=t),t;let r=Ds.get(t);return r?(r.forEach(o=>o.current=e),e):t}function dl(e=[]){let t=Ne(),[a,r]=S6(t),o=(0,cl.useCallback)(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return ae(o,[t,o,...e]),a}function Rt(...e){return(...t)=>{for(let a of e)typeof a=="function"&&a(...t)}}var ce=e=>nM(e)?e.document:iM(e)?e:e?.ownerDocument??(typeof document<"u"?document:void 0),je=e=>ce(e)?.defaultView??(typeof window<"u"?window:void 0);function Bc(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function nM(e){return typeof e=="object"&&e!=null&&"window"in e&&e.window===e}function iM(e){return Bc(e)&&e.nodeType===9}function ci(e){return Bc(e)&&e.nodeType===11&&"host"in e}function qt(e,t,a,r){if(a==null||e==null)return()=>{};let o=Array.isArray(e)?e:[e];for(let l of o)l.addEventListener(t,a,r);return()=>{for(let l of o)l.removeEventListener(t,a,r)}}function Ro(e,t,a,r){if(e==null)return()=>{};let o=new Array,l=Array.isArray(e)?e:[e];for(let n of l){let i=n.style.getPropertyValue(t),s=n.style.getPropertyPriority(t);n.style.setProperty(t,a,r),o.unshift(()=>{i?n.style.setProperty(t,i,s):n.style.removeProperty(t)})}return()=>{for(let n of o)n()}}var sM=!1;function Za(){return sM}function re(e,t){if(!Za())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let a=t;for(;a!=null;){if(a===e)return!0;typeof a.assignedElements!="function"&&a.assignedSlot?.parentNode?a=a.assignedSlot.parentNode:ci(a)?a=a.host:a=a.parentNode}return!1}var de=(e=document)=>{if(!Za())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function j(e){if(Za()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function zc(e,t){if(t===null)return[];t=t??je(e);let a=[t];if(!Za()||!e||e===t)return a;let r="getRootNode"in t?t.getRootNode():null,o=e.getRootNode()??null;for(;ci(o)&&o!==r;)a.push(o),o=o.host.getRootNode();return a}function fr(e){if(!e)return!1;let t=e.getRootNode(),a=je(e);if(!(t instanceof a.Document||t instanceof a.ShadowRoot))return!1;let r=t.activeElement;return r!=null&&e.contains(r)}var Gh=class{constructor(t,a,r,o){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=n=>{if(n.nodeType===Node.ELEMENT_NODE){let i=n.shadowRoot;if(i){let s=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(s),NodeFilter.FILTER_ACCEPT}else{if(typeof this.filter=="function")return this.filter(n);if(this.filter?.acceptNode)return this.filter.acceptNode(n);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=a,this.filter=o??null,this.whatToShow=r??NodeFilter.SHOW_ALL,this._currentNode=a,this._walkerStack.unshift(t.createTreeWalker(a,r,this._acceptNode));let l=a.shadowRoot;if(l){let n=this._doc.createTreeWalker(l,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(n)}}get currentNode(){return this._currentNode}set currentNode(t){if(!re(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");let a=[],r=t,o=t;for(this._currentNode=t;r&&r!==this.root;)if(r.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let n=r,i=this._doc.createTreeWalker(n,this.whatToShow,{acceptNode:this._acceptNode});a.push(i),i.currentNode=o,this._currentSetFor.add(i),r=o=n.host}else r=r.parentNode;let l=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});a.push(l),l.currentNode=o,this._currentSetFor.add(l),this._walkerStack=a}get doc(){return this._doc}firstChild(){let t=this.currentNode,a=this.nextNode();return re(t,a)?(a&&(this.currentNode=a),a):(this.currentNode=t,null)}lastChild(){let a=this._walkerStack[0].lastChild();return a&&(this.currentNode=a),a}nextNode(){let t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){let r;if(typeof this.filter=="function"?r=this.filter(t):this.filter?.acceptNode&&(r=this.filter.acceptNode(t)),r===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let o=this.nextNode();return o&&(this.currentNode=o),o}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let a=this.nextNode();return a&&(this.currentNode=a),a}else return null}previousNode(){let t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null;return null}let a=t.previousNode();if(a){if(a.shadowRoot){let o;if(typeof this.filter=="function"?o=this.filter(a):this.filter?.acceptNode&&(o=this.filter.acceptNode(a)),o===NodeFilter.FILTER_ACCEPT)return a&&(this.currentNode=a),a;let l=this.lastChild();return l&&(this.currentNode=l),l}return a&&(this.currentNode=a),a}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}};function bp(e,t,a,r){return Za()?new Gh(e,t,a,r):e.createTreeWalker(t,a,r)}function Yt(...e){return e.length===1&&e[0]?e[0]:t=>{let a=!1,r=e.map(o=>{let l=E6(o,t);return a||=typeof l=="function",l});if(a)return()=>{r.forEach((o,l)=>{typeof o=="function"?o():E6(e[l],null)})}}}function E6(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function T6(e){var t,a,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(a=T6(e[t]))&&(r&&(r+=" "),r+=a)}else for(a in e)e[a]&&(r&&(r+=" "),r+=a);return r}function uM(){for(var e,t,a=0,r="",o=arguments.length;a<o;a++)(e=arguments[a])&&(t=T6(e))&&(r&&(r+=" "),r+=t);return r}var D6=uM;function O(...e){let t={...e[0]};for(let a=1;a<e.length;a++){let r=e[a];for(let o in r){let l=t[o],n=r[o];typeof l=="function"&&typeof n=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Rt(l,n):(o==="className"||o==="UNSAFE_className")&&typeof l=="string"&&typeof n=="string"?t[o]=D6(l,n):o==="id"&&l&&n?t.id=w6(l,n):o==="ref"&&l&&n?t.ref=Yt(l,n):t[o]=n!==void 0?n:l}}return t}var cM=new Set(["id"]),dM=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),fM=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),pM=new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"]),k6=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),mM=/^(data-.*)$/;function te(e,t={}){let{labelable:a,isLink:r,global:o,events:l=o,propNames:n}=t,i={};for(let s in e)Object.prototype.hasOwnProperty.call(e,s)&&(cM.has(s)||a&&dM.has(s)||r&&fM.has(s)||o&&pM.has(s)||l&&(k6.has(s)||s.endsWith("Capture")&&k6.has(s.slice(0,-7)))||n?.has(s)||mM.test(s))&&(i[s]=e[s]);return i}var an=new Map,hp=new Set;function A6(e){return"propertyName"in e}function bM(e){let t=j(e);if(!A6(e)||!t)return;let a=an.get(t);a||(a=new Set,an.set(t,a),t.addEventListener("transitioncancel",qh,{once:!0})),a.add(e.propertyName)}function qh(e){let t=j(e);if(!A6(e)||!t)return;let a=an.get(t);if(a&&(a.delete(e.propertyName),a.size===0&&(t.removeEventListener("transitioncancel",qh),an.delete(t)),an.size===0))for(let r of hp)r(!0),hp.delete(r)}function R6(){qt(document,"transitionrun",bM),qt(document,"transitionend",qh)}function hM(){for(let[e]of an)"isConnected"in e&&!e.isConnected&&an.delete(e)}typeof document<"u"&&(document.readyState!=="loading"?R6():qt(document,"DOMContentLoaded",R6));function gp(e){let t=window.requestAnimationFrame(()=>{if(hM(),an.size===0)return e(!1);hp.add(e)});return()=>{window.cancelAnimationFrame(t),hp.delete(e)}}var rn=T(R(),1);function Ao(){let e=(0,rn.useRef)(new Map),t=(0,rn.useCallback)((o,l,n,i)=>{let s=i?.once?(...u)=>{e.current.delete(n),n(...u)}:n;e.current.set(n,{type:l,eventTarget:o,fn:s,options:i}),o.addEventListener(l,s,i)},[]),a=(0,rn.useCallback)((o,l,n,i)=>{let s=e.current.get(n)?.fn||n;o.removeEventListener(l,s,i),e.current.delete(n)},[]),r=(0,rn.useCallback)(()=>{e.current.forEach((o,l)=>{a(o.eventTarget,o.type,l,o.options)})},[a]);return(0,rn.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:a,removeAllGlobalListeners:r}}function No(e,t){let{id:a,"aria-label":r,"aria-labelledby":o}=e;return a=Ne(a),o&&r?o=[...new Set([a,...o.trim().split(/\\s+/)])].join(" "):o&&(o=o.trim().split(/\\s+/).join(" ")),!r&&!o&&t&&(r=t),{id:a,"aria-label":r,"aria-labelledby":o}}var di=T(R(),1);function nt(e){let t=(0,di.useRef)(null),a=(0,di.useRef)(void 0),r=(0,di.useCallback)(o=>{if(typeof e=="function"){let l=e,n=l(o);return()=>{typeof n=="function"?n():l(null)}}else if(e)return e.current=o,()=>{e.current=null}},[e]);return(0,di.useMemo)(()=>({get current(){return t.current},set current(o){t.current=o,a.current&&(a.current(),a.current=void 0),o!=null&&(a.current=r(o))}}),[r])}var ks=T(R(),1),gM=ks.default.useInsertionEffect??ae;function at(e){let t=(0,ks.useRef)(null);return gM(()=>{t.current=e},[e]),(0,ks.useCallback)((...a)=>{let r=t.current;return r?.(...a)},[])}var Rs=T(R(),1);function $p(e,t){let a=(0,Rs.useRef)(!0),r=(0,Rs.useRef)(null),o=at(e);(0,Rs.useEffect)(()=>(a.current=!0,()=>{a.current=!1}),[]),(0,Rs.useEffect)(()=>{let l=r.current;a.current?a.current=!1:(!l||t.some((n,i)=>!Object.is(n,l[i])))&&o(),r.current=t},t)}var Yh=T(R(),1);function Wh(e,t){let a=(0,Yh.useRef)(!0),r=(0,Yh.useRef)(null);ae(()=>(a.current=!0,()=>{a.current=!1}),[]),ae(()=>{a.current?a.current=!1:(!r.current||t.some((o,l)=>!Object.is(o,r[l])))&&e(),r.current=t},t)}var N6=T(R(),1);function $M(){return typeof window.ResizeObserver<"u"}function on(e){let{ref:t,box:a,onResize:r}=e,o=at(r);(0,N6.useEffect)(()=>{let l=t?.current;if(l)if($M()){let n=new window.ResizeObserver(i=>{i.length&&o()});return n.observe(l,{box:a}),()=>{l&&n.unobserve(l)}}else return window.addEventListener("resize",o,!1),()=>{window.removeEventListener("resize",o,!1)}},[t,a])}function As(e,t){ae(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function La(e,t){if(!e)return!1;let a=window.getComputedStyle(e),r=document.scrollingElement||document.documentElement,o=/(auto|scroll)/.test(a.overflow+a.overflowX+a.overflowY);return e===r&&a.overflow!=="hidden"&&(o=!0),o&&t&&(o=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),o}function Ir(e,t){let a=e;for(La(a,t)&&(a=a.parentElement);a&&!La(a,t);)a=a.parentElement;return a||document.scrollingElement||document.documentElement}function xp(e,t){let a=[],r=document.scrollingElement||document.documentElement;for(;e&&(La(e,t)&&a.push(e),e!==r);)e=e.parentElement;return a}function Oc(e,t){let a=je(t),r=ce(t);if(r==null||a==null)return;let o,l=`meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`,n=r.querySelector(l);return n&&n instanceof a.HTMLMetaElement&&(e==="csp-nonce"&&n.nonce&&(o??=n.nonce||void 0),n.content&&(o??=n.content||void 0)),e==="csp-nonce"&&(o??=a.__webpack_nonce__||globalThis.__webpack_nonce__||void 0),o}var xM=typeof Element<"u"&&"checkVisibility"in Element.prototype;function vM(e){let t=je(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:a,visibility:r}=e.style,o=a!=="none"&&r!=="hidden"&&r!=="collapse";if(o){let{getComputedStyle:l}=je(e),{display:n,visibility:i}=l(e);o=n!=="none"&&i!=="hidden"&&i!=="collapse"}return o}function yM(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function vp(e,t){return xM?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&vM(e)&&yM(e,t)&&(!e.parentElement||vp(e.parentElement,e))}var Xh=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",\'[contenteditable]:not([contenteditable^="false"])\',"permission"],CM=Xh.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Xh.push(\'[tabindex]:not([tabindex="-1"]):not([disabled])\');var SM=Xh.join(\':not([hidden]):not([tabindex="-1"]),\');function Ns(e,t){return e.matches(CM)&&!M6(e)&&(t?.skipVisibilityCheck||vp(e))}function Ms(e){return e.matches(SM)&&vp(e)&&!M6(e)}function M6(e){let t=e;for(;t!=null;){if(t instanceof je(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}var Ic=100,yp=600,Ce={isOpen:!1,screenWidth:0,screenHeight:0,screenAngle:0,screenTimeout:0,startTimeStamp:0,endTimeStamp:0,resizeTimeStamp:0,resizeTimeout:0},wM=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Fc(){let e=Number(window.visualViewport?.width??window.innerWidth),t=Number(window.visualViewport?.height??window.innerHeight),a=Number(window.visualViewport?.scale??1);return{width:e*a,height:t*a,angle:window.screen.orientation?.angle??0}}function EM(e){Ce.resizeTimeStamp<=e.timeStamp+50&&(Ce.resizeTimeStamp=e.timeStamp+150,window.clearTimeout(Ce.resizeTimeout),Ce.resizeTimeout=window.setTimeout(L6,150))}function L6(){let e=Oc("viewport");if(Or()&&e?.includes("overlays-content"))return;let t=performance.now(),a=Fc(),r=t-Ce.startTimeStamp,o=Ce.screenHeight-a.height,l=Ce.screenAngle-a.angle;Math.abs(l)%180&&Ce.screenWidth-a.height<Ic&&(Ce.screenWidth=a.width,Ce.screenHeight=a.height,Ce.screenAngle=a.angle,o=0),r>yp&&(window.clearTimeout(Ce.screenTimeout),Ce.screenTimeout=window.setTimeout(()=>{let n=document.hasFocus()?de():null,i=fl(n),s=Fc();Math.abs(Ce.screenAngle-s.angle)%180||Ce.isOpen&&i||(Ce.screenWidth=s.width,Ce.screenHeight=s.height,Ce.screenAngle=s.angle,Ce.isOpen=!1)},yp)),r<=yp&&o>=Ic&&(Ce.endTimeStamp=t),Ce.isOpen=o>=Ic}function TM(){let e=Fc(),t=Ce.screenAngle-e.angle;if(Math.abs(t)%180&&!Ce.isOpen){let a=Ce.screenWidth,r=Ce.screenHeight;Ce.screenWidth=r,Ce.screenHeight=a}Ce.isOpen||(Ce.screenAngle=e.angle)}function DM(e){let t=j(e),a=fl(t),r=performance.now(),o=Fc(),l=Ce.screenHeight-o.height;l<Ic&&a&&(Ce.screenWidth=o.width,Ce.screenHeight=o.height,Ce.screenAngle=o.angle,Ce.startTimeStamp=r),a&&window.clearTimeout(Ce.screenTimeout),l>=Ic&&a&&(Ce.endTimeStamp=r)}function P6(){let e=Fc();qt(window.visualViewport,"resize",Gt()?L6:EM),qt(window.screen.orientation,"change",TM),qt(window,"focus",DM,{capture:!0,passive:!0}),Ce.screenWidth=e.width,Ce.screenHeight=e.height,Ce.screenAngle=e.angle}typeof document<"u"&&(document.readyState!=="loading"?P6():qt(document,"DOMContentLoaded",P6));function Kc(){let e=Oc("viewport");return Or()&&e?.includes("overlays-content")?!1:Ce.isOpen?!0:Ce.startTimeStamp?Ce.endTimeStamp>=Ce.startTimeStamp?!0:performance.now()-Ce.startTimeStamp<=yp?Ce.endTimeStamp>0||window.navigator.maxTouchPoints>0:!1:window.navigator.maxTouchPoints>0}function fl(e){if(!(e instanceof Element)||!Ns(e))return!1;let t=e instanceof HTMLTextAreaElement,a=e instanceof HTMLElement&&e.isContentEditable,r=e instanceof HTMLInputElement&&!wM.has(e.type);return t||a||r}function fi(e){return ea()?e.metaKey:e.ctrlKey}function Ps(){return Ce.isOpen}var kM=200,RM=50,AM=600,ln=new WeakMap,Vc=new Set,_c=new Set;function NM(e,t){let a=Ps();if(e!==a||t.aborted)for(let r of _c)r(a),_c.delete(r);if(!e&&a&&Gt()&&!t.aborted){window.clearInterval(ln.get(window)),ln.set(window,Zh(kM));return}if(e!==a||t.aborted)for(let r of Vc)r(a),Vc.delete(r);(_c.size+Vc.size<=0||t.aborted)&&(window.clearInterval(ln.get(window)),ln.delete(window))}function Zh(e=AM){return window.setInterval(NM,RM,Ps(),AbortSignal.timeout(e))}function pl(e){if(!Kc())return e(!1),()=>{};let t=window.requestAnimationFrame(()=>{t=window.requestAnimationFrame(()=>{let a=document.hasFocus()?de():null,r=fl(a);if(Ps()===r||Ps()&&!r)return e(r);_c.add(e),ln.has(window)||ln.set(window,Zh())})});return()=>{window.cancelAnimationFrame(t),_c.delete(e)}}function Qh(e){if(!Kc())return e(!1),()=>{};let t=window.requestAnimationFrame(()=>{t=window.requestAnimationFrame(()=>{let a=document.hasFocus()?de():null,r=fl(a);if(Ps()===r)return e(r);Vc.add(e),ln.has(window)||ln.set(window,Zh())})});return()=>{window.cancelAnimationFrame(t),Vc.delete(e)}}var Ls=T(R(),1),Qa=typeof document<"u"&&window.visualViewport;function eg(){let e=Pa(),t=(0,Ls.useRef)(null),[a,r]=(0,Ls.useState)(()=>e?{width:0,height:0}:Jh());return(0,Ls.useEffect)(()=>{let o=i=>{r(s=>i.width===s.width&&i.height===s.height?s:i)},l=()=>{Qa&&Qa.scale>1||o(Jh())},n=i=>{Qa&&Qa.scale>1||fl(j(i))&&(t.current=pl(s=>{s||o({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return o(Jh()),Wa()&&Gt()&&window.addEventListener("blur",n,!0),Qa?Qa.addEventListener("resize",l):window.addEventListener("resize",l),()=>{t.current?.(),Wa()&&Gt()&&window.removeEventListener("blur",n,!0),Qa?Qa.removeEventListener("resize",l):window.removeEventListener("resize",l)}},[]),a}function Jh(){return{width:Qa?Math.min(Qa.width*Qa.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:Qa?Qa.height*Qa.scale:document.documentElement.clientHeight}}var B6=T(R(),1),MM=0,tg=new Map;function Mo(e){let[t,a]=(0,B6.useState)();return ae(()=>{if(!e)return;let r=tg.get(e);if(r)a(r.element.id);else{let o=`react-aria-description-${MM++}`;a(o);let l=document.createElement("div");l.id=o,l.style.display="none",l.textContent=e,document.body.appendChild(l),r={refCount:0,element:l},tg.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),tg.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}var z6=T(R(),1);function Hc(e,t,a,r){let o=at(a),l=a==null;(0,z6.useEffect)(()=>{if(!(l||e.current==null))return qt(e.current,t,o,r)},[e,t,r,l])}function jc(e,t,a={}){if(e===t)return;let r=t.getBoundingClientRect();PM(e,t,r,a)}function PM(e,t,a,r={}){let{block:o="nearest",inline:l="nearest"}=r,n=e.scrollTop,i=e.scrollLeft,s=e.getBoundingClientRect(),u=window.getComputedStyle(t),c=window.getComputedStyle(e),d=document.scrollingElement||document.documentElement,f=e===d,b=e===d?0:s.top,m=e===d?e.clientHeight:s.bottom,p=e===d?0:s.left,x=e===d?e.clientWidth:s.right,h=parseFloat(u.scrollMarginTop)||0,g=parseFloat(u.scrollMarginBottom)||0,$=parseFloat(u.scrollMarginLeft)||0,v=parseFloat(u.scrollMarginRight)||0,y=parseFloat(c.scrollPaddingTop)||0,E=parseFloat(c.scrollPaddingBottom)||0,C=parseFloat(c.scrollPaddingLeft)||0,S=parseFloat(c.scrollPaddingRight)||0,D=parseFloat(c.borderTopWidth)||0,k=parseFloat(c.borderBottomWidth)||0,_=parseFloat(c.borderLeftWidth)||0,J=parseFloat(c.borderRightWidth)||0,ne=a.top-h,M=a.bottom+g,H=a.left-$,se=a.right+v,U=e===d?0:_+J,$e=e===d?0:D+k,V=e===d?0:e.offsetWidth-e.clientWidth-U,G=e===d?0:e.offsetHeight-e.clientHeight-$e,X=b+(f?0:D)+y,ze=m-(f?0:k)-E-G,ft=p+(f?0:_)+C,pt=x-(f?0:J)-S;Wa()&&Gt()||c.direction==="ltr"?pt-=V:c.direction==="rtl"&&(ft+=V);let F=ne<X||M>ze,Y=H<ft||se>pt;if(F&&o==="start")n+=ne-X;else if(F&&o==="center")n+=(ne+M)/2-(X+ze)/2;else if(F&&o==="end")n+=M-ze;else if(F&&o==="nearest"){let ue=ne-X,qe=M-ze;n+=Math.abs(ue)<=Math.abs(qe)?ue:qe}if(Y&&l==="start")i+=H-ft;else if(Y&&l==="center")i+=(H+se)/2-(ft+pt)/2;else if(Y&&l==="end")i+=se-pt;else if(Y&&l==="nearest"){let ue=H-ft,qe=se-pt;i+=Math.abs(ue)<=Math.abs(qe)?ue:qe}e.scrollTo({left:i,top:n})}function Po(e,t={}){let{containingElement:a}=t;if(e&&e.isConnected){let r=document.scrollingElement||document.documentElement;if(window.getComputedStyle(r).overflow==="hidden"){let{left:l,top:n}=e.getBoundingClientRect(),i=xp(e,!0);for(let c of i)jc(c,e);let{left:s,top:u}=e.getBoundingClientRect();if(Math.abs(l-s)>1||Math.abs(n-u)>1){i=a?xp(a,!0):[];for(let c of i)jc(c,a,{block:"center",inline:"center"});for(let c of xp(e,!0))jc(c,e)}}else{let{left:l,top:n}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:i,top:s}=e.getBoundingClientRect();(Math.abs(l-i)>1||Math.abs(n-s)>1)&&(a?.scrollIntoView?.({block:"center",inline:"center"}),e.scrollIntoView?.({block:"nearest"}))}}}function Cp(e){return e.pointerType===""&&e.isTrusted?!0:Or()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function O6(e){return!Or()&&e.width===0&&e.height===0||Or()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}var I6=T(R(),1);function Bs(e,t,a){let r=at(o=>{a&&!o.defaultPrevented&&a(t)});(0,I6.useEffect)(()=>{let o=e?.current?.form;return o?.addEventListener("reset",r),()=>{o?.removeEventListener("reset",r)}},[e])}var F6=T(R(),1);function pi(e,t){let{collection:a,onLoadMore:r,scrollOffset:o=1,direction:l="end"}=e,n=(0,F6.useRef)(null),i=at(s=>{for(let u of s)u.isIntersecting&&r&&r()});ae(()=>{if(t.current){let s=100*o,u=l==="start"?`${s}% 0px 0px 0px`:`0px ${s}% ${s}% ${s}%`;n.current=new IntersectionObserver(i,{root:Ir(t?.current),rootMargin:u}),n.current.observe(t.current)}return()=>{n.current&&n.current.disconnect()}},[a,t,o,l])}var K6=T(R(),1);function Lo(e){let t=K6.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}var G6=T(mo(),1),sn=T(R(),1);function un(e,t=!0,a){let[r,o]=(0,sn.useState)(!0),l=r&&t;return ae(()=>{if(!t&&e.current)return Rt(Ro(e.current,"opacity","0"),Ro(e.current,"clip","rect(0 0 0 0)"),Ro(e.current,"clip-path","inset(50%)"),Ro(e.current,"mask-image","linear-gradient(#0000, #0000)"))},[e,t]),ae(()=>{if(l&&e.current&&"getAnimations"in e.current)for(let n of e.current.getAnimations())n instanceof CSSTransition&&n.cancel()},[e,l]),q6(e,l,a,(0,sn.useCallback)(()=>o(!1),[])),l}function cn(e,t,a){let[r,o]=(0,sn.useState)(t?"open":"closed");switch(r){case"open":t||o("exiting");break;case"closed":case"exiting":t&&o("open");break}let l=r==="exiting";return q6(e,l,a,(0,sn.useCallback)(()=>{o(n=>n==="exiting"?"closed":n)},[])),l}function q6(e,t,a,r){let o=(0,sn.useRef)(null),l=at(a);ae(()=>{if(t&&e.current&&o.current!==t){if(o.current=t,!("getAnimations"in e.current)){r();return}let n=l?.(e.current),i=e.current.getAnimations().filter(s=>(typeof DocumentTimeline>"u"||s.timeline instanceof DocumentTimeline)&&s.playState==="running");if(i.length===0&&!n){r();return}Promise.all([n,...i.map(s=>s.finished)]).then(()=>{(0,G6.flushSync)(()=>{r()})}).catch(()=>{})}o.current=t},[e,t,r])}var Y6=new WeakMap;function wp(e){let t=ce(e),a=Y6.get(t);return a??=Oc("csp-nonce",t),a!==void 0&&Y6.set(t,a),a}function Gc(e,t=-1/0,a=1/0){return Math.min(Math.max(e,t),a)}var Ep=T(R(),1),X6=T(me(),1);function IM(e,t){let{ref:a,render:r,...o}=t,l=(0,Ep.useRef)(null),n=(0,Ep.useMemo)(()=>Yt(a,l),[a,l]);ae(()=>{},[e,r]);let i={...o,ref:n};return r?r(i,void 0):(0,X6.jsx)(e,{...i})}var W6={},Ee=new Proxy({},{get(e,t){if(typeof t!="string")return;let a=W6[t];return a||(a=IM.bind(null,t),W6[t]=a),a}});var FM=Array.isArray,qc=e=>{if(!e&&e!==0&&e!==0n)return"";if(typeof e=="string")return e;if(typeof e=="number")return e!==e?"":""+e;if(typeof e=="bigint")return""+e;let t="";if(FM(e)){let a=e.length;for(let r=0;r<a;r++){let o=e[r];if(!o&&o!==0&&o!==0n)continue;let l=typeof o=="string"?o:qc(o);l&&(t&&(t+=" "),t+=l)}return t}if(typeof e=="object")for(let a in e)e[a]&&(t&&(t+=" "),t+=a);return t},KM=/\\s+/g,ag=Array.isArray,VM=e=>typeof e!="string"||!e?e:e.replace(KM," ").trim(),_M=e=>{let t=e.length;if(t===0)return!1;let a=e.charCodeAt(0),r=e.charCodeAt(t-1);if(a===32||r===32||a>=9&&a<=13||a===160||r>=9&&r<=13||r===160)return!0;for(let o=0;o<t;o++){let l=e.charCodeAt(o);if(l>=9&&l<=13||l===160||l===32&&o+1<t&&e.charCodeAt(o+1)===32)return!0}return!1},mi=(...e)=>{let t=qc(e);if(t)return _M(t)?VM(t):t},Tp=e=>e===!1?"false":e===!0?"true":e===0?"0":e,Ja=e=>{if(!e||typeof e!="object")return!0;for(let t in e)return!1;return!0},Dp=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;let a=e,r=t,o=Object.keys(a),l=Object.keys(r);if(o.length!==l.length)return!1;for(let n=0;n<o.length;n++){let i=o[n];if(!l.includes(i)||a[i]!==r[i])return!1}return!0};var Z6=(e,t)=>{let a=e;for(let r in t)if(Object.hasOwn(t,r)){let o=t[r];r in a?a[r]=mi(a[r],o):a[r]=o}return e},Q6=(e,t)=>{for(let a=0;a<e.length;a++){let r=e[a];ag(r)?Q6(r,t):r&&t.push(r)}};var kp=(...e)=>{let t=[];Q6(e,t);let a=[];for(let r=0;r<t.length;r++)t[r]&&a.push(t[r]);return a},Rp=(e,t)=>{let a=e,r=t,o={};for(let l in a){let n=a[l];if(l in r){let i=r[l];ag(n)||ag(i)?o[l]=kp(i,n):typeof n=="object"&&typeof i=="object"&&n&&i?o[l]=Rp(n,i):o[l]=i+" "+n}else o[l]=n}for(let l in r)l in a||(o[l]=r[l]);return o};var t9={twMerge:!0,twMergeConfig:{}},a9=256,HM=128,bi=Symbol("tv-cache-miss"),jM=e=>e?.class!=null&&e.class!==""||e?.className!=null&&e.className!=="",J6=e=>{if(e===void 0)return"";if(e===null)return"null";if(typeof e=="string")return e;if(typeof e=="boolean")return e?"true":"false";if(typeof e=="number")return e===0?"0":String(e);if(typeof e=="bigint")return String(e);let t=Tp(e),a=typeof t;if(a==="string"||a==="number"||a==="boolean"||a==="bigint")return String(t);if(a==="object")try{return JSON.stringify(t)}catch{return null}return null},zs=(e,t)=>{if(t===void 0)return e;if(t===null)return e+"null";let a=typeof t;if(a==="string"||a==="number"||a==="boolean"||a==="bigint")return e+String(t);if(Array.isArray(t))return e+t.join("\\0");try{return e+JSON.stringify(t)}catch{return e+"?"}},r9=(e,t,a,r)=>{let o="",l=Object.create(null);for(let i=0;i<e.length;i++){let s=e[i];l[s]=1;let u=t[s];a&&a[s]!==void 0&&(u=a[s]);let c=J6(u);if(c===null)return null;o+=s+":"+c+";"}let n=[];for(let i in t)i==="class"||i==="className"||l[i]||(l[i]=1,n.push(i));if(a)for(let i in a)i==="class"||i==="className"||l[i]||a[i]===void 0||(l[i]=1,n.push(i));n.length>1&&n.sort();for(let i=0;i<n.length;i++){let s=n[i],u=t[s];a&&a[s]!==void 0&&(u=a[s]);let c=J6(u);if(c===null)return null;o+=s+":"+c+";"}return o},o9=(e,t)=>{let a="";for(let r=0;r<e.length;r++){let{conditionKeys:o,source:l}=e[r];for(let n=0;n<o.length;n++){let i=o[n];a+=i+"=",a=zs(a,l[i]),a+=","}a+="c=",a=zs(a,l.class),a+="|cn=",a=zs(a,l.className),a+=";"}for(let r=0;r<t.length;r++){let{conditionKeys:o,source:l}=t[r];for(let n=0;n<o.length;n++){let i=o[n];a+=i+"=",a=zs(a,l[i]),a+=","}Array.isArray(l.slots)&&(a+="slots="+l.slots.join(",")+","),a+="c=",a=zs(a,l.class),a+="|cn=",a=zs(a,l.className),a+=";"}return a},l9=(e=a9)=>{let t=new Map,a=null;return{get(r){if(t.has(r))return t.get(r);if(a?.has(r)){let o=a.get(r);return t.set(r,o),o}return bi},set(r,o){t.size>=e&&(a=t,t=new Map),t.set(r,o)}}},UM=(e=a9)=>{let t=l9(e);return{get(a){return t.get(a)},set(a,r){t.set(a,r)}}},GM=(e=HM)=>{let t=new Map,a=null,r=0;return{get(o,l){let n=t.get(o);if(n){let i=n.get(l);if(i!==void 0||n.has(l))return i}if(a){let i=a.get(o);if(i){let s=i.get(l);if(s!==void 0||i.has(l)){let u=t.get(o);return u||(u=new Map,t.set(o,u)),u.has(l)||r++,u.set(l,s),s}}}return bi},set(o,l,n){r>=e&&(a=t,t=new Map,r=0);let i=t.get(o);i||(i=new Map,t.set(o,i)),i.has(l)||r++,i.set(l,n)}}},og=(e,t)=>{let a=null;return(r,o)=>{if(!jM(o))return r;let l=o.class,n=o.className;if(l!=null&&l!==""&&typeof l!="string"||n!=null&&n!==""&&typeof n!="string")return e(t,r,l,n);a??=GM();let i=r??"",s=(typeof l=="string"?l:"")+"\\0"+(typeof n=="string"?n:""),u=a.get(i,s);if(u!==bi)return u;let c=e(t,r,l,n);return a.set(i,s,c),c}};function qM(){let e=null,t={},a=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(r){e=r},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(r){t=r},get didTwMergeConfigChange(){return a},set didTwMergeConfigChange(r){a=r},reset(){e=null,t={},a=!1}}}var wa=qM(),YM=e=>{!Ja(e.twMergeConfig)&&!Dp(e.twMergeConfig,wa.cachedTwMergeConfig)&&(wa.didTwMergeConfigChange=!0,wa.cachedTwMergeConfig=e.twMergeConfig)},WM=(e,t)=>{let a=[];for(let r=0;r<t.length;r++){let o=t[r],l=e[o];a.push({key:o,values:l,isEmpty:Ja(l)})}return a},XM=e=>{if(!Array.isArray(e)||e.length===0)return[];let t=[];for(let a=0;a<e.length;a++){let r=e[a],o=[];for(let l in r)l!=="class"&&l!=="className"&&o.push(l);t.push({conditionKeys:o,source:r})}return t},ZM=e=>{if(!Array.isArray(e)||e.length===0)return[];let t=[];for(let a=0;a<e.length;a++){let r=e[a],o=[];for(let l in r)l!=="slots"&&l!=="class"&&l!=="className"&&o.push(l);t.push({conditionKeys:o,source:r})}return t},QM=e=>{let t={};for(let a=0;a<e.length;a++){let r=e[a],o=r.source.slots;if(Array.isArray(o))for(let l=0;l<o.length;l++){let n=o[l];t[n]||(t[n]=[]),t[n].push(r)}}return t},JM=(e,t)=>{let{extend:a=null,slots:r={},variants:o={},compoundVariants:l=[],compoundSlots:n=[],defaultVariants:i={}}=e,s={...t9,...t},u=e.slots!==void 0,c=a?.base?mi(a.base,e?.base):e?.base,d=a?.variants&&!Ja(a.variants)?Rp(o,a.variants):o,f=a?.defaultVariants&&!Ja(a.defaultVariants)?{...a.defaultVariants,...i}:i;YM(s);let b=!a?.slots||Ja(a.slots),m=u?b&&a?.base?mi(e?.base,a.base):typeof e?.base=="string"||e?.base==null?e.base:mi(e.base):void 0,p=u?{base:m,...r}:{},x=b?p:Z6({...a?.slots},Ja(p)?{base:e?.base}:p),h=!a?.compoundVariants||Ja(a.compoundVariants)?l:kp(a?.compoundVariants,l),g=!a?.compoundSlots||Ja(a.compoundSlots)?n:kp(a?.compoundSlots,n),$=Object.keys(d),v=h&&!Array.isArray(h)?new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof h}`):g&&!Array.isArray(g)?new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof g}`):null,y=u||!b?"slots":$.length===0?"plain":"variants";return{config:s,extend:a,base:c,variants:d,defaultVariants:f,slots:x,compoundVariants:h,compoundSlots:g,compiledVariants:null,compiledCompoundVariants:null,compiledCompoundSlots:null,compiledCompoundSlotsBySlot:null,deferredError:v,mode:y,slotKeys:null,variantKeys:$}},n9=e=>(e.compiledVariants!==null||(e.compiledVariants=WM(e.variants,e.variantKeys),e.compiledCompoundVariants=XM(e.compoundVariants),e.compiledCompoundSlots=ZM(e.compoundSlots),e.compiledCompoundSlotsBySlot=QM(e.compiledCompoundSlots),e.slotKeys=e.slots&&typeof e.slots=="object"?Object.keys(e.slots):[]),e),rg=[],i9=[],eP=[],tP=[],aP=[],s9=(e,t,a)=>{let r={};for(let o in e)r[o]=e[o];if(t)for(let o in t)t[o]!==void 0&&(r[o]=t[o]);if(a)for(let o in a)a[o]!==void 0&&(r[o]=a[o]);return r},Ap=e=>e==null||e===!1,rP=(e,t)=>{if(!Array.isArray(e))return e===t||Ap(e)&&Ap(t);for(let a=0;a<e.length;a++){let r=e[a];if(r===t||Ap(r)&&Ap(t))return!0}return!1},u9=(e,t,a,r)=>{if(e.isEmpty)return null;let o=r?.[e.key]??a?.[e.key];if(o===null)return null;let l=Tp(o);if(typeof l=="object")return null;let n=t?.[e.key],i=l??Tp(n);return e.values[i||"false"]},lg=(e,t)=>{let{conditionKeys:a,source:r}=e;for(let o=0;o<a.length;o++){let l=a[o];if(!rP(r[l],t[l]))return!1}return!0},e9=(e,t,a)=>{typeof a=="string"?t==="base"&&e.push(a):a&&typeof a=="object"&&a[t]&&e.push(a[t])},oP=(e,t,a)=>{let r=i9;r.length=0;for(let o=0;o<e.length;o++){let l=u9(e[o],t,a);l&&r.push(l)}return r},lP=(e,t,a,r,o)=>{let l=i9;l.length=0;for(let n=0;n<t.length;n++){let i=u9(t[n],a,r,o),s=e==="base"&&typeof i=="string"?i:i&&i[e];s&&l.push(s)}return l},nP=(e,t)=>{let a=eP;a.length=0;for(let r=0;r<e.length;r++){let o=e[r];lg(o,t)&&(o.source.class&&a.push(o.source.class),o.source.className&&a.push(o.source.className))}return a},iP=(e,t,a)=>{let r=tP;r.length=0;for(let o=0;o<t.length;o++){let l=t[o];lg(l,a)&&(e9(r,e,l.source.class),e9(r,e,l.source.className))}return r},sP=(e,t)=>{let a=aP;a.length=0;for(let r=0;r<e.length;r++){let o=e[r];lg(o,t)&&(o.source.class&&a.push(o.source.class),o.source.className&&a.push(o.source.className))}return a},uP=(e,t)=>{let{base:a,config:r}=e,o=bi,l=og(t,r);return(n=>(o===bi&&(o=t(r,a)),l(o,n)))},cP=(e,t)=>{let{base:a,config:r,defaultVariants:o,deferredError:l,variantKeys:n}=e,i=e.compiledCompoundVariants,s=e.compiledVariants,u=rg,c=null,d=og(t,r),f=1,b=m=>{let p=i.length>0?nP(i,s9(o,m)):void 0;return t(r,a,oP(s,o,m),p)};return(m=>{if(l)throw l;(s===null||i===null)&&(n9(e),s=e.compiledVariants,i=e.compiledCompoundVariants,u=e.compiledCompoundSlots??rg);let p;if(f>0)f--,p=b(m);else{c??=UM();let x=r9(n,o,m);if(x!==null){let h=i.length>0||u.length>0?o9(i,u):"",g=x+"#"+h,$=c.get(g);$!==bi?p=$:(p=b(m),c.set(g,p))}else p=b(m)}return d(p,m)})},dP=(e,t)=>{let{config:a,defaultVariants:r,deferredError:o,slots:l,variantKeys:n}=e,i=null,s=null,u=null,c=null,d=!1,f=null,b=null,m=1,p=()=>{if(u!==null)return;(e.compiledVariants===null||e.compiledCompoundVariants===null||e.compiledCompoundSlots===null||e.compiledCompoundSlotsBySlot===null||e.slotKeys===null)&&n9(e);let h=e.compiledVariants;i=e.compiledCompoundVariants,s=e.compiledCompoundSlots;let g=e.compiledCompoundSlotsBySlot;u=e.slotKeys,d=i.length>0||s.length>0,f=og(t,a);let $=new Array(u.length);for(let v=0;v<u.length;v++){let y=u[v],E=g[y]??rg;$[v]=(C,S)=>{let D=d?s9(r,C,S):void 0,k=D?iP(y,i,D):void 0,_=D?sP(E,D):void 0;return t(a,l[y],lP(y,h,r,C,S),k,_)}}c=$},x=h=>{let g=u,$=c,v=f,y={};for(let E=0;E<g.length;E++){let C=$[E],S=C(h);y[g[E]]=D=>{if(D==null)return S;let k=!1;for(let _ in D)if(!(_==="class"||_==="className")&&D[_]!==void 0){k=!0;break}return v(k?C(h,D):S,D)}}return y};return(h=>{if(o)throw o;if(p(),m>0)return m--,x(h);let g=r9(n,r,h);if(g===null)return x(h);let $=d?o9(i,s):"",v=g+"#"+$;b??=l9();let y=b.get(v);if(y!==bi)return y;let E=x(h);return b.set(v,E),E})},fP=(e,t)=>{if(e.mode==="plain")return uP(e,t);let a;return(r=>(a??=e.mode==="slots"?dP(e,t):cP(e,t),a(r)))},pP=(e,t)=>{e.variantKeys=t.variantKeys,e.extend=t.extend,e.base=t.base,e.slots=t.slots,e.variants=t.variants,e.defaultVariants=t.defaultVariants,e.compoundSlots=t.compoundSlots,e.compoundVariants=t.compoundVariants},c9=e=>{let t=(r,o)=>{let l=JM(r,o),n=fP(l,e);return pP(n,l),n};return{tv:t,createTV:r=>(o,l)=>t(o,l?Rp(r,l):r)}};var mP=(e,t)=>{let a=e.length,r=t.length,o=new Array(a+r);for(let l=0;l<a;l++)o[l]=e[l];for(let l=0;l<r;l++)o[a+l]=t[l];return o},bP=(e,t)=>({classGroupId:e,validator:t}),$9=(e=new Map,t=null,a)=>({nextPart:e,validators:t,classGroupId:a}),zp="-",d9=[],hP="arbitrary..",gP=e=>{let t=xP(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:n=>{if(n[0]==="["&&n[n.length-1]==="]")return $P(n);let i=n.split(zp),s=i[0]===""&&i.length>1?1:0;return x9(i,s,t)},getConflictingClassGroupIds:(n,i)=>{if(i){let s=r[n],u=a[n];return s?u?mP(u,s):s:u||d9}return a[n]||d9}}},x9=(e,t,a)=>{if(e.length-t===0)return a.classGroupId;let o=e[t],l=a.nextPart.get(o);if(l){let u=x9(e,t+1,l);if(u)return u}let n=a.validators;if(n===null)return;let i=t===0?e.join(zp):e.slice(t).join(zp),s=n.length;for(let u=0;u<s;u++){let c=n[u];if(c.validator(i))return c.classGroupId}},$P=e=>{let t=e.slice(1,-1),a=t.indexOf(":");if(a===-1)return;let r=t.slice(0,a);return r?hP+r:void 0},xP=e=>{let{theme:t,classGroups:a}=e;return vP(a,t)},vP=(e,t)=>{let a=$9();for(let r in e){let o=e[r];dg(o,a,r,t)}return a},dg=(e,t,a,r)=>{let o=e.length;for(let l=0;l<o;l++){let n=e[l];yP(n,t,a,r)}},yP=(e,t,a,r)=>{if(typeof e=="string"){CP(e,t,a);return}if(typeof e=="function"){SP(e,t,a,r);return}wP(e,t,a,r)},CP=(e,t,a)=>{let r=e===""?t:v9(t,e);r.classGroupId=a},SP=(e,t,a,r)=>{if(EP(e)){dg(e(r),t,a,r);return}t.validators===null&&(t.validators=[]),t.validators.push(bP(a,e))},wP=(e,t,a,r)=>{let o=Object.entries(e),l=o.length;for(let n=0;n<l;n++){let[i,s]=o[n];dg(s,v9(t,i),a,r)}},v9=(e,t)=>{let a=e,r=t.split(zp),o=r.length;for(let l=0;l<o;l++){let n=r[l],i=a.nextPart.get(n);i||(i=$9(),a.nextPart.set(n,i)),a=i}return a},EP=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,TP="!",DP=58,kP=47,RP=91,AP=93,NP=40,MP=41,f9=33,PP=(e,t,a,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:a,maybePostfixModifierPosition:r,isExternal:void 0}),p9=e=>{let t=[],a=0,r=0,o=0,l,n=e.length;for(let f=0;f<n;f++){let b=e.charCodeAt(f);if(a===0&&r===0){if(b===DP){t.push(e.slice(o,f)),o=f+1;continue}if(b===kP){l=f;continue}}b===RP?a++:b===AP?a--:b===NP?r++:b===MP&&r--}let i=t.length===0?e:e.slice(o),s=i,u=!1,c=i.length-1;i.charCodeAt(c)===f9?(s=i.slice(0,-1),u=!0):i.charCodeAt(0)===f9&&(s=i.slice(1),u=!0);let d=l&&l>o?l-o:void 0;return PP(t,u,s,d)},LP=e=>{let t=new Set(e.orderSensitiveModifiers);return a=>{let r=[],o=[];for(let l=0;l<a.length;l++){let n=a[l],i=n[0]==="[",s=t.has(n);if(i||s){if(o.length>0){o.sort();for(let u=0;u<o.length;u++)r.push(o[u]);o=[]}r.push(n)}else o.push(n)}if(o.length>0){o.sort();for(let l=0;l<o.length;l++)r.push(o[l])}return r}},ng={isExternal:!0,classId:-1,conflictIds:[]},BP=4096,zP=16384,OP=e=>{let t=LP(e),a=IP(e),{getClassGroupId:r,getConflictingClassGroupIds:o}=gP(e),l=Object.create(null),n=Object.create(null),i=0,s=new Int32Array(256),u=0,c=new Uint8Array(64),d=!1,f=$=>{let v=[],y=$.length,E=-1;d=!1;for(let C=0;C<y;C++){let S=$.charCodeAt(C);S===32?E!==-1&&(v.push($.slice(E,C)),E=-1):S>=9&&S<=13?(d=!0,E!==-1&&(v.push($.slice(E,C)),E=-1)):E===-1&&(E=C)}return E!==-1&&v.push($.slice(E)),v},b=new Map,m=0,p=$=>{let v=b.get($);if(v===void 0&&(v=m++,b.set($,v),v>=s.length)){let y=new Int32Array(s.length*2);y.set(s),s=y}return v},x=$=>{let{isExternal:v,modifiers:y,hasImportantModifier:E,baseClassName:C,maybePostfixModifierPosition:S}=p9($);if(v)return ng;let D=!!S,k;if(D){let H=C.substring(0,S);k=r(H);let se=k&&a[k]?r(C):void 0;se&&se!==k&&(k=se,D=!1)}else k=r(C);if(!k){if(!D||(k=r(C),!k))return ng;D=!1}let _=y.length===0?"":y.length===1?y[0]:t(y).join(":"),J=E?_+TP:_,ne=o(k,D),M=[];for(let H=0;H<ne.length;H++)M.push(p(J+ne[H]));return{isExternal:!1,classId:p(J+k),conflictIds:M}},h=$=>{let v=l[$];return v!==void 0||(v=n[$],v===void 0&&(v=x($)),l[$]=v,++i>BP&&(i=0,n=l,l=Object.create(null))),v};return{parseClassName:p9,sortModifiers:t,postfixLookupClassGroupIds:a,getClassGroupId:r,getConflictingClassGroupIds:o,getClassDescriptor:h,mergeClassList:$=>{let v=f($),y=v.length;if(y===1)return v[0];m>zP&&(b.clear(),m=0,l=Object.create(null),n=Object.create(null),i=0),u=u+1|0,u===0&&(u=1);let E=u;if(y>c.length){let k=c.length;for(;k<y;)k*=2;c=new Uint8Array(k)}let C=!1,S=0;for(let k=y-1;k>=0;k-=1){let _=v[k];S+=_.length;let J=h(_);if(J.isExternal){c[k]=1;continue}let ne=J.classId;if(s[ne]===E){c[k]=0,C=!0;continue}s[ne]=E;let M=J.conflictIds;for(let H=0;H<M.length;H++)s[M[H]]=E;c[k]=1}if(!C&&!d&&$.length===S+y-1)return $;let D="";for(let k=0;k<y;k++)c[k]===1&&(D&&(D+=" "),D+=v[k]);return D}}},IP=e=>{let t=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let r=0;r<a.length;r++)t[a[r]]=!0;return t},FP=500,m9=e=>{let t,a,r=Object.create(null),o=Object.create(null),l=0,n=u=>(t=OP(e()),a=t.mergeClassList,s.mergeString=i,i(u)),i=u=>{let c=r[u];return c!==void 0||(c=o[u],c===void 0&&(c=a(u)),r[u]=c,++l>FP&&(l=0,o=r,r=Object.create(null))),c},s=(...u)=>s.mergeString(qc(u));return s.mergeString=n,s},KP=[],Wt=e=>{let t=a=>a[e]||KP;return t.isThemeGetter=!0,t},y9=/^\\[(?:(\\w[\\w-]*):)?(.+)\\]$/i,C9=/^\\((?:(\\w[\\w-]*):)?(.+)\\)$/i,VP=/^\\d+(?:\\.\\d+)?\\/\\d+(?:\\.\\d+)?$/,_P=/^(\\d+(\\.\\d+)?)?(xs|sm|md|lg|xl)$/,HP=/\\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\\b(calc|min|max|clamp)\\(.+\\)|^0$/,jP=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\\(.+\\)$/,UP=/^(inset_)?-?((\\d+)?\\.?(\\d+)[a-z]+|0)_-?((\\d+)?\\.?(\\d+)[a-z]+|0)/,GP=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\\(.+\\)$/,S9=Number,qP=Number.isNaN,YP=Number.isInteger,dn=e=>VP.test(e),ke=e=>!!e&&!qP(S9(e)),Bo=e=>!!e&&YP(S9(e)),ig=e=>e.endsWith("%")&&ke(e.slice(0,-1)),ml=e=>_P.test(e),w9=()=>!0,WP=e=>HP.test(e)&&!jP.test(e),fg=()=>!1,XP=e=>UP.test(e),ZP=e=>GP.test(e),QP=e=>!oe(e)&&!ie(e),JP=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),eL=e=>fn(e,D9,fg),oe=e=>y9.test(e),hi=e=>fn(e,k9,WP),b9=e=>fn(e,sL,ke),tL=e=>fn(e,A9,w9),aL=e=>fn(e,R9,fg),h9=e=>fn(e,E9,fg),rL=e=>fn(e,T9,ZP),Np=e=>fn(e,N9,XP),ie=e=>C9.test(e),Yc=e=>gi(e,k9),oL=e=>gi(e,R9),g9=e=>gi(e,E9),lL=e=>gi(e,D9),nL=e=>gi(e,T9),Mp=e=>gi(e,N9,!0),iL=e=>gi(e,A9,!0),fn=(e,t,a)=>{let r=y9.exec(e);return r?r[1]?t(r[1]):a(r[2]):!1},gi=(e,t,a=!1)=>{let r=C9.exec(e);return r?r[1]?t(r[1]):a:!1},E9=e=>e==="position"||e==="percentage",T9=e=>e==="image"||e==="url",D9=e=>e==="length"||e==="size"||e==="bg-size",k9=e=>e==="length",sL=e=>e==="number",R9=e=>e==="family-name",A9=e=>e==="number"||e==="weight",N9=e=>e==="shadow",sg=()=>{let e=Wt("color"),t=Wt("font"),a=Wt("text"),r=Wt("font-weight"),o=Wt("tracking"),l=Wt("leading"),n=Wt("breakpoint"),i=Wt("container"),s=Wt("spacing"),u=Wt("radius"),c=Wt("shadow"),d=Wt("inset-shadow"),f=Wt("text-shadow"),b=Wt("drop-shadow"),m=Wt("blur"),p=Wt("perspective"),x=Wt("aspect"),h=Wt("ease"),g=Wt("animate"),$=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],y=()=>[...v(),ie,oe],E=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],S=()=>[ie,oe,s],D=()=>[dn,"full","auto",...S()],k=()=>[Bo,"none","subgrid",ie,oe],_=()=>["auto",{span:["full",Bo,ie,oe]},Bo,ie,oe],J=()=>[Bo,"auto",ie,oe],ne=()=>["auto","min","max","fr",ie,oe],M=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],H=()=>["start","end","center","stretch","center-safe","end-safe"],se=()=>["auto",...S()],U=()=>[dn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],$e=()=>[dn,"screen","full","dvw","lvw","svw","min","max","fit",...S()],V=()=>[dn,"screen","full","lh","dvh","lvh","svh","min","max","fit",...S()],G=()=>[e,ie,oe],X=()=>[...v(),g9,h9,{position:[ie,oe]}],ze=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ft=()=>["auto","cover","contain",lL,eL,{size:[ie,oe]}],pt=()=>[ig,Yc,hi],F=()=>["","none","full",u,ie,oe],Y=()=>["",ke,Yc,hi],ue=()=>["solid","dashed","dotted","double"],qe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],tt=()=>[ke,ig,g9,h9],Ql=()=>["","none",m,ie,oe],W=()=>["none",ke,ie,oe],Z=()=>["none",ke,ie,oe],kt=()=>[ke,ie,oe],mt=()=>[dn,"full",...S()];return{theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ml],breakpoint:[ml],color:[w9],container:[ml],"drop-shadow":[ml],ease:["in","out","in-out"],font:[QP],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ml],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ml],shadow:[ml],spacing:["px",ke],text:[ml],"text-shadow":[ml],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",dn,oe,ie,x]}],container:["container"],"container-type":[{"@container":["","normal","size",ie,oe]}],"container-named":[JP],columns:[{columns:[ke,oe,ie,i]}],"break-after":[{"break-after":$()}],"break-before":[{"break-before":$()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:D()}],"inset-x":[{"inset-x":D()}],"inset-y":[{"inset-y":D()}],start:[{"inset-s":D(),start:D()}],end:[{"inset-e":D(),end:D()}],"inset-bs":[{"inset-bs":D()}],"inset-be":[{"inset-be":D()}],top:[{top:D()}],right:[{right:D()}],bottom:[{bottom:D()}],left:[{left:D()}],visibility:["visible","invisible","collapse"],z:[{z:[Bo,"auto",ie,oe]}],basis:[{basis:[dn,"full","auto",i,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ke,dn,"auto","initial","none",oe]}],grow:[{grow:["",ke,ie,oe]}],shrink:[{shrink:["",ke,ie,oe]}],order:[{order:[Bo,"first","last","none",ie,oe]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:_()}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:_()}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...M(),"normal"]}],"justify-items":[{"justify-items":[...H(),"normal"]}],"justify-self":[{"justify-self":["auto",...H()]}],"align-content":[{content:["normal",...M()]}],"align-items":[{items:[...H(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...H(),{baseline:["","last"]}]}],"place-content":[{"place-content":M()}],"place-items":[{"place-items":[...H(),"baseline"]}],"place-self":[{"place-self":["auto",...H()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pbs:[{pbs:S()}],pbe:[{pbe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:se()}],mx:[{mx:se()}],my:[{my:se()}],ms:[{ms:se()}],me:[{me:se()}],mbs:[{mbs:se()}],mbe:[{mbe:se()}],mt:[{mt:se()}],mr:[{mr:se()}],mb:[{mb:se()}],ml:[{ml:se()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:U()}],"inline-size":[{inline:["auto",...$e()]}],"min-inline-size":[{"min-inline":["auto",...$e()]}],"max-inline-size":[{"max-inline":["none",...$e()]}],"block-size":[{block:["auto",...V()]}],"min-block-size":[{"min-block":["auto",...V()]}],"max-block-size":[{"max-block":["none",...V()]}],w:[{w:[i,"screen",...U()]}],"min-w":[{"min-w":[i,"screen","none",...U()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[n]},...U()]}],h:[{h:["screen","lh",...U()]}],"min-h":[{"min-h":["screen","lh","none",...U()]}],"max-h":[{"max-h":["screen","lh",...U()]}],"font-size":[{text:["base",a,Yc,hi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,iL,tL]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ig,oe]}],"font-family":[{font:[oL,aL,t]}],"font-features":[{"font-features":[oe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,ie,oe]}],"line-clamp":[{"line-clamp":[ke,"none",ie,b9]}],leading:[{leading:[l,...S()]}],"list-image":[{"list-image":["none",ie,oe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ie,oe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:G()}],"text-color":[{text:G()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ue(),"wavy"]}],"text-decoration-thickness":[{decoration:[ke,"from-font","auto",ie,hi]}],"text-decoration-color":[{decoration:G()}],"underline-offset":[{"underline-offset":[ke,"auto",ie,oe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"tab-size":[{tab:[Bo,ie,oe]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ie,oe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ie,oe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:X()}],"bg-repeat":[{bg:ze()}],"bg-size":[{bg:ft()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Bo,ie,oe],radial:["",ie,oe],conic:[Bo,ie,oe]},nL,rL]}],"bg-color":[{bg:G()}],"gradient-from-pos":[{from:pt()}],"gradient-via-pos":[{via:pt()}],"gradient-to-pos":[{to:pt()}],"gradient-from":[{from:G()}],"gradient-via":[{via:G()}],"gradient-to":[{to:G()}],rounded:[{rounded:F()}],"rounded-s":[{"rounded-s":F()}],"rounded-e":[{"rounded-e":F()}],"rounded-t":[{"rounded-t":F()}],"rounded-r":[{"rounded-r":F()}],"rounded-b":[{"rounded-b":F()}],"rounded-l":[{"rounded-l":F()}],"rounded-ss":[{"rounded-ss":F()}],"rounded-se":[{"rounded-se":F()}],"rounded-ee":[{"rounded-ee":F()}],"rounded-es":[{"rounded-es":F()}],"rounded-tl":[{"rounded-tl":F()}],"rounded-tr":[{"rounded-tr":F()}],"rounded-br":[{"rounded-br":F()}],"rounded-bl":[{"rounded-bl":F()}],"border-w":[{border:Y()}],"border-w-x":[{"border-x":Y()}],"border-w-y":[{"border-y":Y()}],"border-w-s":[{"border-s":Y()}],"border-w-e":[{"border-e":Y()}],"border-w-bs":[{"border-bs":Y()}],"border-w-be":[{"border-be":Y()}],"border-w-t":[{"border-t":Y()}],"border-w-r":[{"border-r":Y()}],"border-w-b":[{"border-b":Y()}],"border-w-l":[{"border-l":Y()}],"divide-x":[{"divide-x":Y()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Y()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ue(),"hidden","none"]}],"divide-style":[{divide:[...ue(),"hidden","none"]}],"border-color":[{border:G()}],"border-color-x":[{"border-x":G()}],"border-color-y":[{"border-y":G()}],"border-color-s":[{"border-s":G()}],"border-color-e":[{"border-e":G()}],"border-color-bs":[{"border-bs":G()}],"border-color-be":[{"border-be":G()}],"border-color-t":[{"border-t":G()}],"border-color-r":[{"border-r":G()}],"border-color-b":[{"border-b":G()}],"border-color-l":[{"border-l":G()}],"divide-color":[{divide:G()}],"outline-style":[{outline:[...ue(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ke,ie,oe]}],"outline-w":[{outline:["",ke,Yc,hi]}],"outline-color":[{outline:G()}],shadow:[{shadow:["","none",c,Mp,Np]}],"shadow-color":[{shadow:G()}],"inset-shadow":[{"inset-shadow":["none",d,Mp,Np]}],"inset-shadow-color":[{"inset-shadow":G()}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:G()}],"ring-offset-w":[{"ring-offset":[ke,hi]}],"ring-offset-color":[{"ring-offset":G()}],"inset-ring-w":[{"inset-ring":Y()}],"inset-ring-color":[{"inset-ring":G()}],"text-shadow":[{"text-shadow":["none",f,Mp,Np]}],"text-shadow-color":[{"text-shadow":G()}],opacity:[{opacity:[ke,ie,oe]}],"mix-blend":[{"mix-blend":[...qe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":qe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ke]}],"mask-image-linear-from-pos":[{"mask-linear-from":tt()}],"mask-image-linear-to-pos":[{"mask-linear-to":tt()}],"mask-image-linear-from-color":[{"mask-linear-from":G()}],"mask-image-linear-to-color":[{"mask-linear-to":G()}],"mask-image-t-from-pos":[{"mask-t-from":tt()}],"mask-image-t-to-pos":[{"mask-t-to":tt()}],"mask-image-t-from-color":[{"mask-t-from":G()}],"mask-image-t-to-color":[{"mask-t-to":G()}],"mask-image-r-from-pos":[{"mask-r-from":tt()}],"mask-image-r-to-pos":[{"mask-r-to":tt()}],"mask-image-r-from-color":[{"mask-r-from":G()}],"mask-image-r-to-color":[{"mask-r-to":G()}],"mask-image-b-from-pos":[{"mask-b-from":tt()}],"mask-image-b-to-pos":[{"mask-b-to":tt()}],"mask-image-b-from-color":[{"mask-b-from":G()}],"mask-image-b-to-color":[{"mask-b-to":G()}],"mask-image-l-from-pos":[{"mask-l-from":tt()}],"mask-image-l-to-pos":[{"mask-l-to":tt()}],"mask-image-l-from-color":[{"mask-l-from":G()}],"mask-image-l-to-color":[{"mask-l-to":G()}],"mask-image-x-from-pos":[{"mask-x-from":tt()}],"mask-image-x-to-pos":[{"mask-x-to":tt()}],"mask-image-x-from-color":[{"mask-x-from":G()}],"mask-image-x-to-color":[{"mask-x-to":G()}],"mask-image-y-from-pos":[{"mask-y-from":tt()}],"mask-image-y-to-pos":[{"mask-y-to":tt()}],"mask-image-y-from-color":[{"mask-y-from":G()}],"mask-image-y-to-color":[{"mask-y-to":G()}],"mask-image-radial":[{"mask-radial":[ie,oe]}],"mask-image-radial-from-pos":[{"mask-radial-from":tt()}],"mask-image-radial-to-pos":[{"mask-radial-to":tt()}],"mask-image-radial-from-color":[{"mask-radial-from":G()}],"mask-image-radial-to-color":[{"mask-radial-to":G()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":v()}],"mask-image-conic-pos":[{"mask-conic":[ke]}],"mask-image-conic-from-pos":[{"mask-conic-from":tt()}],"mask-image-conic-to-pos":[{"mask-conic-to":tt()}],"mask-image-conic-from-color":[{"mask-conic-from":G()}],"mask-image-conic-to-color":[{"mask-conic-to":G()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:X()}],"mask-repeat":[{mask:ze()}],"mask-size":[{mask:ft()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ie,oe]}],filter:[{filter:["","none",ie,oe]}],blur:[{blur:Ql()}],brightness:[{brightness:[ke,ie,oe]}],contrast:[{contrast:[ke,ie,oe]}],"drop-shadow":[{"drop-shadow":["","none",b,Mp,Np]}],"drop-shadow-color":[{"drop-shadow":G()}],grayscale:[{grayscale:["",ke,ie,oe]}],"hue-rotate":[{"hue-rotate":[ke,ie,oe]}],invert:[{invert:["",ke,ie,oe]}],saturate:[{saturate:[ke,ie,oe]}],sepia:[{sepia:["",ke,ie,oe]}],"backdrop-filter":[{"backdrop-filter":["","none",ie,oe]}],"backdrop-blur":[{"backdrop-blur":Ql()}],"backdrop-brightness":[{"backdrop-brightness":[ke,ie,oe]}],"backdrop-contrast":[{"backdrop-contrast":[ke,ie,oe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ke,ie,oe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ke,ie,oe]}],"backdrop-invert":[{"backdrop-invert":["",ke,ie,oe]}],"backdrop-opacity":[{"backdrop-opacity":[ke,ie,oe]}],"backdrop-saturate":[{"backdrop-saturate":[ke,ie,oe]}],"backdrop-sepia":[{"backdrop-sepia":["",ke,ie,oe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ie,oe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ke,"initial",ie,oe]}],ease:[{ease:["linear","initial",h,ie,oe]}],delay:[{delay:[ke,ie,oe]}],animate:[{animate:["none",g,ie,oe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[p,ie,oe]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:W()}],"rotate-x":[{"rotate-x":W()}],"rotate-y":[{"rotate-y":W()}],"rotate-z":[{"rotate-z":W()}],scale:[{scale:Z()}],"scale-x":[{"scale-x":Z()}],"scale-y":[{"scale-y":Z()}],"scale-z":[{"scale-z":Z()}],"scale-3d":["scale-3d"],skew:[{skew:kt()}],"skew-x":[{"skew-x":kt()}],"skew-y":[{"skew-y":kt()}],transform:[{transform:[ie,oe,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:mt()}],"translate-x":[{"translate-x":mt()}],"translate-y":[{"translate-y":mt()}],"translate-z":[{"translate-z":mt()}],"translate-none":["translate-none"],zoom:[{zoom:[Bo,ie,oe]}],accent:[{accent:G()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:G()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ie,oe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":G()}],"scrollbar-track-color":[{"scrollbar-track":G()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mbs":[{"scroll-mbs":S()}],"scroll-mbe":[{"scroll-mbe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pbs":[{"scroll-pbs":S()}],"scroll-pbe":[{"scroll-pbe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ie,oe]}],fill:[{fill:["none",...G()]}],"stroke-w":[{stroke:[ke,Yc,hi,b9]}],stroke:[{stroke:["none",...G()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},uL=(e,{extend:t={},override:a={}})=>(Pp(e.theme,a.theme),Pp(e.classGroups,a.classGroups),Pp(e.conflictingClassGroups,a.conflictingClassGroups),Pp(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),ug(e,"postfixLookupClassGroups",a.postfixLookupClassGroups),ug(e,"orderSensitiveModifiers",a.orderSensitiveModifiers),Lp(e.theme,t.theme),Lp(e.classGroups,t.classGroups),Lp(e.conflictingClassGroups,t.conflictingClassGroups),Lp(e.conflictingClassGroupModifiers,t.conflictingClassGroupModifiers),cg(e,t,"postfixLookupClassGroups"),cg(e,t,"orderSensitiveModifiers"),e),ug=(e,t,a)=>{a!==void 0&&(e[t]=a)},Pp=(e,t)=>{if(t)for(let a in t)ug(e,a,t[a])},Lp=(e,t)=>{if(t)for(let a in t)cg(e,t,a)},cg=(e,t,a)=>{let r=t[a];r!==void 0&&(e[a]=e[a]?e[a].concat(r):r)},M9=e=>m9(e?typeof e=="function"?()=>e(sg()):()=>uL(sg(),e):sg),cL=e=>{if(Ja(e))return;let t=e,a={...t.extend??{}};for(let o of["theme","classGroups","conflictingClassGroups","conflictingClassGroupModifiers","postfixLookupClassGroups","orderSensitiveModifiers","cacheSize","prefix","separator","experimentalParseClassName"])t[o]!==void 0&&a[o]===void 0&&(a[o]=t[o]);let r={};if(Object.keys(a).length>0&&(r.extend=a),t.override!=null&&!Ja(t.override)&&(r.override=t.override),!(!r.extend&&!r.override))return r},dL=e=>{let t=cL(e),a=M9(t);return r=>a.mergeString(r)},Bp,fL=()=>(Bp||(Bp=M9()),Bp),pL=()=>((!wa.cachedTwMerge||wa.didTwMergeConfigChange)&&(wa.didTwMergeConfigChange=!1,wa.cachedTwMerge=dL(wa.cachedTwMergeConfig)),wa.cachedTwMerge),mL=e=>{let t=e?.twMergeConfig;!t||Ja(t)||Dp(t,wa.cachedTwMergeConfig)||(wa.cachedTwMergeConfig=t,wa.didTwMergeConfigChange=!0)},bL=e=>qc(e),Bj=(()=>{let e=new Error;return!("line"in e)&&!("lineNumber"in e)})();var hL=new Map,gL=new Map,$L=0,xL=()=>{hL=new Map,gL=new Map,$L=0};var vL=wa.reset.bind(wa);wa.reset=()=>{Bp=void 0,xL(),vL()};var yL=(e,t)=>{let a=bL(e);return!a||!(t?.twMerge??!0)?a||void 0:a.indexOf(" ")===-1?a:(mL(t),(!!(t?.twMergeConfig&&!Ja(t.twMergeConfig))?pL():fL().mergeString)(a)||void 0)};var CL=(e,...t)=>yL(t,e);var P9=c9(CL),we=P9.tv,zj=P9.createTV;var Wc=mi;var pg=we({defaultVariants:{status:"default"},slots:{base:"alert",content:"alert__content",description:"alert__description",indicator:"alert__indicator",title:"alert__title"},variants:{status:{accent:{base:"alert--accent"},danger:{base:"alert--danger"},default:{base:"alert--default"},success:{base:"alert--success"},warning:{base:"alert--warning"}}}});var mg=we({defaultVariants:{fullWidth:!1,orientation:"horizontal"},slots:{base:"button-group",separator:"button-group__separator"},variants:{fullWidth:{false:{},true:{base:"button-group--full-width"}},orientation:{horizontal:{base:"button-group--horizontal"},vertical:{base:"button-group--vertical"}}}});var bg=we({base:"button",defaultVariants:{fullWidth:!1,isIconOnly:!1,size:"md",variant:"primary"},variants:{fullWidth:{false:"",true:"button--full-width"},isIconOnly:{true:"button--icon-only"},size:{lg:"button--lg",md:"button--md",sm:"button--sm"},variant:{danger:"button--danger","danger-soft":"button--danger-soft",ghost:"button--ghost",outline:"button--outline",primary:"button--primary",secondary:"button--secondary",tertiary:"button--tertiary"}}});var hg=we({defaultVariants:{color:"default",variant:"secondary"},slots:{base:"chip",label:"chip__label"},variants:{color:{accent:{base:"chip--accent"},danger:{base:"chip--danger"},default:{base:"chip--default"},success:{base:"chip--success"},warning:{base:"chip--warning"}},size:{lg:{base:"chip--lg"},md:{base:"chip--md"},sm:{base:"chip--sm"}},variant:{primary:{base:"chip--primary"},secondary:{base:"chip--secondary"},soft:{base:"chip--soft"},tertiary:{base:"chip--tertiary"}}}});var gg=we({base:"close-button",defaultVariants:{variant:"default"},variants:{variant:{default:"close-button--default"}}});var Xc=we({defaultVariants:{placement:"bottom",variant:"opaque"},slots:{backdrop:"drawer__backdrop",body:"drawer__body",closeTrigger:"drawer__close-trigger",content:"drawer__content",dialog:"drawer__dialog",footer:"drawer__footer",handle:"drawer__handle",header:"drawer__header",heading:"drawer__heading",trigger:"drawer__trigger"},variants:{placement:{bottom:{content:"drawer__content--bottom",dialog:"drawer__dialog--bottom"},left:{content:"drawer__content--left",dialog:"drawer__dialog--left"},right:{content:"drawer__content--right",dialog:"drawer__dialog--right"},top:{content:"drawer__content--top",dialog:"drawer__dialog--top"}},variant:{blur:{backdrop:"drawer__backdrop--blur"},opaque:{backdrop:"drawer__backdrop--opaque"},transparent:{backdrop:"drawer__backdrop--transparent"}}}});var $g=we({base:"empty-state"});var xg=we({base:"label",defaultVariants:{isDisabled:!1,isInvalid:!1,isRequired:!1},variants:{isDisabled:{true:"label--disabled"},isInvalid:{true:"label--invalid"},isRequired:{true:"label--required"}}});var vg=we({slots:{base:"link",icon:"link__icon"}});var yg=we({defaultVariants:{variant:"default"},slots:{indicator:"list-box-item__indicator",item:"list-box-item"},variants:{variant:{danger:{item:"list-box-item--danger"},default:{item:"list-box-item--default"}}}});var Cg=we({base:"list-box-section"});var Sg=we({base:"list-box",defaultVariants:{variant:"default"},variants:{variant:{danger:"list-box--danger",default:"list-box--default"}}});var wg=we({defaultVariants:{hideScrollBar:!1,orientation:"vertical",variant:"fade"},slots:{base:"scroll-shadow"},variants:{hideScrollBar:{false:{},true:{base:"scroll-shadow--hide-scrollbar"}},orientation:{horizontal:{base:"scroll-shadow--horizontal"},vertical:{base:"scroll-shadow--vertical"}},variant:{fade:{base:"scroll-shadow--fade"}}}});var Eg=we({defaultVariants:{fullWidth:!1,variant:"primary"},slots:{base:"search-field",clearButton:"search-field__clear-button",group:"search-field__group",input:"search-field__input",searchIcon:"search-field__search-icon"},variants:{fullWidth:{false:{},true:{base:"search-field--full-width",group:"search-field__group--full-width"}},variant:{primary:{base:"search-field--primary"},secondary:{base:"search-field--secondary"}}}});var Tg=we({defaultVariants:{fullWidth:!1,variant:"primary"},slots:{base:"select",clearButton:"select__clear-button",indicator:"select__indicator",popover:"select__popover",trigger:"select__trigger",value:"select__value"},variants:{fullWidth:{false:{},true:{base:"select--full-width",trigger:"select__trigger--full-width"}},variant:{primary:{base:"select--primary"},secondary:{base:"select--secondary"}}}});var Dg=we({base:"spinner",defaultVariants:{color:"accent",size:"md"},variants:{color:{accent:"spinner--accent",current:"spinner--current",danger:"spinner--danger",success:"spinner--success",warning:"spinner--warning"},size:{lg:"spinner--lg",md:"spinner--md",sm:"spinner--sm",xl:"spinner--xl"}}});var kg=we({base:"surface",defaultVariants:{variant:"default"},variants:{variant:{default:"surface--default",secondary:"surface--secondary",tertiary:"surface--tertiary",transparent:"surface--transparent"}}});var Rg=we({defaultVariants:{size:"md"},slots:{base:"switch",content:"switch__content",control:"switch__control",icon:"switch__icon",thumb:"switch__thumb"},variants:{size:{lg:{base:"switch--lg"},md:{base:"switch--md"},sm:{base:"switch--sm"}}}});var Ag=we({defaultVariants:{variant:"primary"},slots:{base:"table-root",body:"table__body",cell:"table__cell",column:"table__column",columnResizer:"table__column-resizer",content:"table__content",footer:"table__footer",header:"table__header",loadMore:"table__load-more",loadMoreContent:"table__load-more-content",resizableContainer:"table__resizable-container",row:"table__row",scrollContainer:"table__scroll-container",sortableColumnHeader:"table__sortable-column-header",sortableColumnIndicator:"table__sortable-column-indicator"},variants:{variant:{primary:{base:"table-root--primary"},secondary:{base:"table-root--secondary"}}}});var Ng=we({defaultVariants:{align:"center",variant:"primary"},slots:{base:"tabs",scrollNext:"tabs__list-container__scroll-next",scrollPrev:"tabs__list-container__scroll-prev",scroller:"tabs__list-container__scroller",separator:"tabs__separator",tab:"tabs__tab",tabIndicator:"tabs__indicator",tabList:"tabs__list",tabListContainer:"tabs__list-container",tabPanel:"tabs__panel"},variants:{align:{center:{},end:{base:"tabs--align-end"},start:{base:"tabs--align-start"}},variant:{primary:{},secondary:{base:"tabs--secondary"}}}});var Mg=we({defaultVariants:{fullWidth:!1,isDetached:!1,orientation:"horizontal"},slots:{base:"toggle-button-group",separator:"toggle-button-group__separator"},variants:{fullWidth:{false:{},true:{base:"toggle-button-group--full-width"}},isDetached:{false:{},true:{base:"toggle-button-group--detached"}},orientation:{horizontal:{base:"toggle-button-group--horizontal"},vertical:{base:"toggle-button-group--vertical"}}}});var Pg=we({base:"toggle-button",defaultVariants:{isIconOnly:!1,size:"md",variant:"default"},variants:{isIconOnly:{true:"toggle-button--icon-only"},size:{lg:"toggle-button--lg",md:"toggle-button--md",sm:"toggle-button--sm"},variant:{default:"toggle-button--default",ghost:"toggle-button--ghost"}}});var ra=T(R(),1);var pr=Symbol("default");function Ct({values:e,children:t}){for(let[a,r]of e)t=ra.default.createElement(a.Provider,{value:r},t);return t}function be(e){let{className:t,style:a,children:r,defaultClassName:o,defaultChildren:l,defaultStyle:n,values:i,render:s}=e;return(0,ra.useMemo)(()=>{let u,c,d;return typeof t=="function"?u=t({...i,defaultClassName:o}):u=t,typeof a=="function"?c=a({...i,defaultStyle:n||{}}):c=a,typeof r=="function"?d=r({...i,defaultChildren:l}):r==null?d=l:d=r,{className:u??o,style:c||n?{...n,...c}:void 0,children:d??l,"data-rac":"",render:s?f=>s(f,i):void 0}},[t,a,r,o,l,n,i,s])}function Lg(e,t){return a=>t(typeof e=="function"?e(a):e,a)}function Ot(e,t){let a=(0,ra.useContext)(e);if(t===null)return null;if(a&&typeof a=="object"&&"slots"in a&&a.slots){let r=t||pr;if(!a.slots[r]){let o=new Intl.ListFormat().format(Object.keys(a.slots).map(n=>`"${n}"`)),l=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${l} Valid slot names are ${o}.`)}return a.slots[r]}return a}function Te(e,t,a){let r=Ot(a,e.slot)||{},{ref:o,...l}=r,n=nt((0,ra.useMemo)(()=>Yt(t,o),[t,o])),i=O(l,e);return"style"in l&&l.style&&"style"in e&&e.style&&(typeof l.style=="function"||typeof e.style=="function"?i.style=s=>{let u=typeof l.style=="function"?l.style(s):l.style,c={...s.defaultStyle,...u},d=typeof e.style=="function"?e.style({...s,defaultStyle:c}):e.style;return{...c,...d}}:i.style={...l.style,...e.style}),[i,n]}function $i(e=!0){let[t,a]=(0,ra.useState)(e),r=(0,ra.useRef)(!1),o=(0,ra.useCallback)(l=>{r.current=!0,a(!!l)},[]);return ae(()=>{r.current||a(!1)},[]),[o,t]}function Os(e){let t=/^(data-.*)$/,a={};for(let r in e)t.test(r)||(a[r]=e[r]);return a}function SL(e,t,a){let{render:r,...o}=t,l=(0,ra.useRef)(null),n=(0,ra.useMemo)(()=>Yt(a,l),[a,l]);ae(()=>{},[e,r]);let i={...o,ref:n};return r?r(i,void 0):ra.default.createElement(e,i)}var L9={},le=new Proxy({},{get(e,t){if(typeof t!="string")return;let a=L9[t];return a||(a=(0,ra.forwardRef)(SL.bind(null,t)),L9[t]=a),a}});var mr=T(R(),1);typeof HTMLTemplateElement<"u"&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));var Op=(0,mr.createContext)(!1);function B9(e){if((0,mr.useContext)(Op))return mr.default.createElement(mr.default.Fragment,null,e.children);let a=mr.default.createElement(Op.Provider,{value:!0},e.children);return mr.default.createElement("template",null,a)}function er(e){let t=(a,r)=>(0,mr.useContext)(Op)?null:e(a,r);return t.displayName=e.displayName||e.name,(0,mr.forwardRef)(t)}function Zc(){return(0,mr.useContext)(Op)}var Ip=T(R(),1),bl=(0,Ip.createContext)({}),Bg=er(function(t,a){[t,a]=Te(t,a,bl);let{elementType:r="label",...o}=t,l=le[r];return Ip.default.createElement(l,{className:"react-aria-Label",...o,ref:a})});function Fp(e){let{id:t,label:a,"aria-labelledby":r,"aria-label":o,labelElementType:l="label"}=e;t=Ne(t);let n=Ne(),i={};a&&(r=r?`${n} ${r}`:n,i={id:n,htmlFor:l==="label"?t:void 0});let s=No({id:t,"aria-label":o,"aria-labelledby":r});return{labelProps:i,fieldProps:s}}var wL=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),EL=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Is(e){if(Intl.Locale){let a=new Intl.Locale(e).maximize(),r=typeof a.getTextInfo=="function"?a.getTextInfo():a.textInfo;if(r)return r.direction==="rtl";if(a.script)return wL.has(a.script)}let t=e.split("-")[0];return EL.has(t)}var Kp=T(R(),1),O9=Symbol.for("react-aria.i18n.locale");function I9(){let e=typeof window<"u"&&window[O9]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Is(e)?"rtl":"ltr"}}var zg=I9(),Qc=new Set;function z9(){zg=I9();for(let e of Qc)e(zg)}function Og(){let e=Pa(),[t,a]=(0,Kp.useState)(zg);return(0,Kp.useEffect)(()=>(Qc.size===0&&window.addEventListener("languagechange",z9),Qc.add(a),()=>{Qc.delete(a),Qc.size===0&&window.removeEventListener("languagechange",z9)}),[]),e?{locale:typeof window<"u"&&window[O9]||"en-US",direction:"ltr"}:t}var hl=T(R(),1),Ig=hl.default.createContext(null);function TL(e){let{locale:t,children:a}=e,r=hl.default.useMemo(()=>({locale:t,direction:Is(t)?"rtl":"ltr"}),[t]);return hl.default.createElement(Ig.Provider,{value:r},a)}function DL(e){let{children:t}=e,a=Og();return hl.default.createElement(Ig.Provider,{value:a},t)}function Jc(e){let{locale:t,children:a}=e;return t?hl.default.createElement(TL,{locale:t,children:a}):hl.default.createElement(DL,{children:a})}function Fe(){let e=Og();return(0,hl.useContext)(Ig)||e}var Vp=T(R(),1),F9=(0,Vp.createContext)(null);var Fs=null;function pn(e,t="assertive",a=7e3){Fs?Fs.announce(e,t,a):(Fs=new Fg,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Fs.announce(e,t,a):setTimeout(()=>{Fs?.isAttached()&&Fs?.announce(e,t,a)},100))}var Fg=class{constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}isAttached(){return this.node?.isConnected}createLog(t){let a=document.createElement("div");return a.setAttribute("role","log"),a.setAttribute("aria-live",t),a.setAttribute("aria-relevant","additions"),a}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,a="assertive",r=7e3){if(!this.node)return;let o=document.createElement("div");typeof t=="object"?(o.setAttribute("role","img"),o.setAttribute("aria-labelledby",t["aria-labelledby"])):o.textContent=t,a==="assertive"?this.assertiveLog?.appendChild(o):this.politeLog?.appendChild(o),t!==""&&setTimeout(()=>{o.remove()},r)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}};var _p=T(R(),1);function td(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function Hp(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function jp(e){let t=(0,_p.useRef)({isFocused:!1,observer:null});return ae(()=>{let a=t.current;return()=>{a.observer&&(a.observer.disconnect(),a.observer=null)}},[]),(0,_p.useCallback)(a=>{let r=j(a);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r,l=n=>{if(t.current.isFocused=!1,o.disabled){let i=td(n);e?.(i)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",l,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){t.current.observer?.disconnect();let n=o===de()?null:de();o.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[e])}var ed=!1;function K9(e){for(;e&&!Ns(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=je(e),a=de(t.document);if(!a||a===e)return;let r=e?.getRootNode(),o=r!=null&&ci(r)?r:je(e),l=m=>m===e||Bc(m)&&re(e,m),n=m=>m===a||a!=null&&Bc(m)&&re(a,m);ed=!0;let i=!1,s=m=>{(n(j(m))||i)&&m.stopImmediatePropagation()},u=m=>{(n(j(m))||i)&&(m.stopImmediatePropagation(),!e&&!i&&(i=!0,ta(a),f()))},c=m=>{(l(j(m))||i)&&m.stopImmediatePropagation()},d=m=>{(l(j(m))||i)&&(m.stopImmediatePropagation(),i||(i=!0,ta(a),f()))};o.addEventListener("blur",s,!0),o.addEventListener("focusout",u,!0),o.addEventListener("focusin",d,!0),o.addEventListener("focus",c,!0);let f=()=>{cancelAnimationFrame(b),o.removeEventListener("blur",s,!0),o.removeEventListener("focusout",u,!0),o.removeEventListener("focusin",d,!0),o.removeEventListener("focus",c,!0),ed=!1,i=!1},b=requestAnimationFrame(f);return f}var od=T(R(),1),gl=null,ld="keyboard",rd=new Set,ad=new Map,xi=!1,Up=!1,kL={Tab:!0,Escape:!0};function Yp(e,t){for(let a of rd)a(e,t)}function RL(e){return!(e.metaKey||!ea()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Gp(e){xi=!0,!Xa.isOpening&&RL(e)&&(gl="keyboard",ld="keyboard",Yp("keyboard",e))}function Ks(e){gl="pointer",ld="pointerType"in e?e.pointerType:"mouse",(e.type==="mousedown"||e.type==="pointerdown")&&(xi=!0,Yp("pointer",e))}function V9(e){!Xa.isOpening&&Cp(e)&&(xi=!0,gl="virtual",ld="virtual")}function _9(e){if(ed)return;let t=j(e),a=je(t),r=ce(t);if(t===a){Up=!0;return}t===r||!e.isTrusted||(!xi&&!Up&&(gl="virtual",ld="virtual",Yp("virtual",e)),xi=!1,Up=!1)}function H9(){ed||(xi=!1,Up=!0)}function j9(e){let t=de(ce(j(e)));queueMicrotask(()=>{de(ce(j(e)))!==t&&Vs("keyboard")})}function qp(e){if(typeof window>"u"||typeof document>"u")return;let t=je(e),a=ce(e);if(ad.get(t))return;let r=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){xi=!0,r.apply(this,arguments)}}),a.addEventListener("keydown",Gp,!0),a.addEventListener("keyup",Gp,!0),a.addEventListener("click",V9,!0),a.addEventListener("invalid",j9,!0),t.addEventListener("focus",_9,!0),t.addEventListener("blur",H9,!1),typeof PointerEvent<"u"&&(a.addEventListener("pointerdown",Ks,!0),a.addEventListener("pointermove",Ks,!0),a.addEventListener("pointerup",Ks,!0)),t.addEventListener("beforeunload",()=>{U9(e)},{once:!0}),ad.set(t,{focus:r})}var U9=(e,t)=>{let a=je(e),r=ce(e);t&&r.removeEventListener("DOMContentLoaded",t),ad.has(a)&&(Reflect.defineProperty(a.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:ad.get(a).focus}),r.removeEventListener("keydown",Gp,!0),r.removeEventListener("keyup",Gp,!0),r.removeEventListener("click",V9,!0),r.removeEventListener("invalid",j9,!0),a.removeEventListener("focus",_9,!0),a.removeEventListener("blur",H9,!1),typeof PointerEvent<"u"&&(r.removeEventListener("pointerdown",Ks,!0),r.removeEventListener("pointermove",Ks,!0),r.removeEventListener("pointerup",Ks,!0)),ad.delete(a))};function G9(e){let t=ce(e),a;return t.readyState!=="loading"?qp(e):(a=()=>{qp(e)},t.addEventListener("DOMContentLoaded",a)),()=>U9(e,a)}typeof document<"u"&&G9();function zo(){return gl!=="pointer"}function Oo(){return gl}function Vs(e){gl=e,ld=e==="pointer"?"mouse":e,Yp(e,null)}function nd(){qp();let[e,t]=(0,od.useState)(gl);return(0,od.useEffect)(()=>{let a=()=>{t(gl)};return rd.add(a),()=>{rd.delete(a)}},[]),Pa()?null:e}var AL=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function NL(e,t,a){let r=a?j(a):void 0,o=ce(r),l=je(r),n=typeof l<"u"?l.HTMLInputElement:HTMLInputElement,i=typeof l<"u"?l.HTMLTextAreaElement:HTMLTextAreaElement,s=typeof l<"u"?l.HTMLElement:HTMLElement,u=typeof l<"u"?l.KeyboardEvent:KeyboardEvent,c=de(o);return e=e||c instanceof n&&!AL.has(c.type)||c instanceof i||c instanceof s&&c.isContentEditable,!(e&&t==="keyboard"&&a instanceof u&&!kL[a.key])}function Kg(e,t,a){qp(),(0,od.useEffect)(()=>{if(a?.enabled===!1)return;let r=(o,l)=>{NL(!!a?.isTextInput,o,l)&&e(zo())};return rd.add(r),()=>{rd.delete(r)}},t)}function rt(e){if(!e.isConnected)return;let t=ce(e);if(Oo()==="virtual"){let a=de(t);gp(()=>{let r=de(t);(r===a||r===t.body)&&e.isConnected&&ta(e)})}else ta(e)}var Vg=T(R(),1);function vi(e){let{isDisabled:t,onFocus:a,onBlur:r,onFocusChange:o}=e,l=(0,Vg.useCallback)(s=>{if(j(s)===s.currentTarget)return r&&r(s),o&&o(!1),!0},[r,o]),n=jp(l),i=(0,Vg.useCallback)(s=>{let u=j(s),c=ce(u),d=c?de(c):de();u===s.currentTarget&&u===d&&(a&&a(s),o&&o(!0),n(s))},[o,a,n]);return{focusProps:{onFocus:!t&&(a||o||r)?i:void 0,onBlur:!t&&(r||o)?l:void 0}}}function id(e){if(e)return t=>{let a=!0,r={...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){a=!0},continuePropagation(){a=!1,typeof t.continuePropagation=="function"&&t.continuePropagation()},isPropagationStopped(){return a}};e(r),a&&!(typeof t.isPropagationStopped=="function"&&t.isPropagationStopped())&&t.stopPropagation()}}var ML=new Set(["shift","alt","control","meta","mod"]),PL=["Alt","Control","Meta","Shift"];function LL(e){let t=new Set;return e.alt&&t.add("Alt"),e.shift&&t.add("Shift"),e.ctrl&&t.add("Control"),e.meta&&t.add("Meta"),e.mod&&t.add(ea()?"Meta":"Control"),t}function BL(e){let t=new Set;return e.altKey&&t.add("Alt"),e.ctrlKey&&t.add("Control"),e.metaKey&&t.add("Meta"),e.shiftKey&&t.add("Shift"),t}function q9(e){return PL.filter(t=>e.has(t))}function zL(e){let t=e.split("+").reduce((a,r)=>{let o=r.toLowerCase();return ML.has(o)?o==="shift"?a.shift=!0:o==="alt"?a.alt=!0:o==="control"?a.ctrl=!0:o==="meta"?a.meta=!0:o==="mod"&&(a.mod=!0):a.key=r,a},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:""});if(t.key==="")throw new Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}function Y9(e){return e.toLowerCase()}var OL={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function IL(e){let t=Y9(e),a=OL[t];return a??t}function FL(e){let t=q9(LL(e)),a=IL(e.key);return t.length>0?`${t.join("+")}+${a}`:a}function KL(e){let t=q9(BL(e)),a=Y9(e.key);return(t.length>0?`${t.join("+")}+`:"")+a}function W9(e){let t=new Map;for(let[a,r]of Object.entries(e)){let o=zL(a);t.set(FL(o),r)}return a=>{let r=KL(a),o=t.get(r),l=o?.(a);l===void 0&&o!==void 0?l={shouldContinuePropagation:!1,shouldPreventDefault:!0}:typeof l=="boolean"&&(l={shouldContinuePropagation:!l,shouldPreventDefault:l}),l?.shouldPreventDefault&&a.preventDefault(),(!o||l?.shouldContinuePropagation)&&a.continuePropagation()}}function oa(e){let{shortcuts:t,allowRepeats:a=!1,allowComposing:r=!1}=e,o,l;if(t){let n=W9(t),i=id(u=>{if(!re(u.currentTarget,j(u))){u.continuePropagation();return}if(u.nativeEvent?.repeat&&!a||u.nativeEvent?.isComposing&&!r){u.continuePropagation();return}n(u)}),s=id(u=>{if(!re(u.currentTarget,j(u))){u.continuePropagation();return}if(u.nativeEvent?.repeat&&!a||u.nativeEvent?.isComposing&&!r){u.continuePropagation();return}u.continuePropagation()});o=e.onKeyDown?Rt(e.onKeyDown,i):i,l=e.onKeyUp?Rt(e.onKeyUp,s):s}else o=id(e.onKeyDown),l=id(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:o,onKeyUp:l}}}var $l=T(R(),1),_s=$l.default.createContext(null);function VL(e){let t=(0,$l.useContext)(_s)||{};As(t,e);let{ref:a,...r}=t;return r}function Fr(e,t){let{focusProps:a}=vi(e),{keyboardProps:r}=oa(e),o=O(a,r),l=VL(t),n=e.isDisabled?{}:l,i=(0,$l.useRef)(e.autoFocus);(0,$l.useEffect)(()=>{i.current&&t.current&&rt(t.current),i.current=!1},[t]);let s=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(s=void 0),{focusableProps:O({...o,tabIndex:s},n)}}var Hs="default",_g="",Wp=new WeakMap;function Xp(e){if(Wa()&&Gt()){if(Hs==="default"){let t=ce(e);_g=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Hs="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";Wp.set(e,e.style[t]),e.style[t]="none"}}function sd(e){if(Wa()&&Gt()){if(Hs!=="disabled")return;Hs="restoring",setTimeout(()=>{gp(()=>{if(Hs==="restoring"){let t=ce(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=_g||""),_g="",Hs="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Wp.has(e)){let t=Wp.get(e),a="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[a]==="none"&&(e.style[a]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Wp.delete(e)}}var X9=T(R(),1),yi=X9.default.createContext({register:()=>{}});yi.displayName="PressResponderContext";var kq=T(mo(),1),It=T(R(),1);function _L(e){let t=(0,It.useContext)(yi);if(t){let{register:a,ref:r,...o}=t;e=O(o,e),a()}return As(t,e.ref),e}var js=class{#e;constructor(t,a,r,o){this.#e=!0;let n=(o?.target??r.currentTarget)?.getBoundingClientRect(),i,s=0,u,c=null;r.clientX!=null&&r.clientY!=null&&(u=r.clientX,c=r.clientY),n&&(u!=null&&c!=null?(i=u-n.left,s=c-n.top):(i=n.width/2,s=n.height/2)),this.type=t,this.pointerType=a,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=i,this.y=s,this.key=r.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}},Z9=Symbol("linkClicked"),Q9="react-aria-pressable-style",J9="data-react-aria-pressable";function za(e){let{onPress:t,onPressChange:a,onPressStart:r,onPressEnd:o,onPressUp:l,onClick:n,isDisabled:i,isPressed:s,preventFocusOnPress:u,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:d,ref:f,...b}=_L(e),[m,p]=(0,It.useState)(!1),x=(0,It.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:h,removeAllGlobalListeners:g}=Ao(),$=(0,It.useCallback)((M,H)=>{let se=x.current;if(i||se.didFirePressStart)return!1;let U=!0;if(se.isTriggeringEvent=!0,r){let $e=new js("pressstart",H,M);r($e),U=$e.shouldStopPropagation}return a&&a(!0),se.isTriggeringEvent=!1,se.didFirePressStart=!0,p(!0),U},[i,r,a]),v=(0,It.useCallback)((M,H,se=!0)=>{let U=x.current;if(!U.didFirePressStart)return!1;U.didFirePressStart=!1,U.isTriggeringEvent=!0;let $e=!0;if(o){let V=new js("pressend",H,M);o(V),$e=V.shouldStopPropagation}if(a&&a(!1),p(!1),t&&se&&!i){let V=new js("press",H,M);t(V),$e&&=V.shouldStopPropagation}return U.isTriggeringEvent=!1,$e},[i,o,a,t]),y=at(v),E=(0,It.useCallback)((M,H)=>{let se=x.current;if(i)return!1;if(l){se.isTriggeringEvent=!0;let U=new js("pressup",H,M);return l(U),se.isTriggeringEvent=!1,U.shouldStopPropagation}return!0},[i,l]),C=at(E),S=(0,It.useCallback)(M=>{let H=x.current;if(H.isPressed&&H.target){H.didFirePressStart&&H.pointerType!=null&&v(Ci(H.target,M),H.pointerType,!1),H.isPressed=!1,H.isOverTarget=!1,H.activePointerId=null,H.pointerType=null,g(),d||sd(H.target);for(let se of H.disposables)se();H.disposables=[]}},[d,g,v]),D=at(S);(0,It.useEffect)(()=>{i&&x.current.isPressed&&D({currentTarget:x.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[i]);let k=(0,It.useCallback)(M=>{c&&S(M)},[c,S]),_=(0,It.useCallback)(M=>{i||n?.(M)},[i,n]),J=(0,It.useCallback)((M,H)=>{if(!i&&n){let se=new MouseEvent("click",M);Hp(se,H),n(td(se))}},[i,n]),ne=(0,It.useMemo)(()=>{let M=x.current,H={onKeyDown(U){if(Hg(U.nativeEvent,U.currentTarget)&&re(U.currentTarget,j(U))){eC(j(U),U.key)&&U.preventDefault();let $e=!0;!M.isPressed&&!U.repeat&&(M.target=U.currentTarget,M.isPressed=!0,M.pointerType="keyboard",$e=$(U,"keyboard"));let V=U.currentTarget,G=X=>{Hg(X,V)&&!X.repeat&&re(V,j(X))&&M.target&&C(Ci(M.target,X),"keyboard")};h(ce(U.currentTarget),"keyup",Rt(G,se),!0),$e&&U.stopPropagation(),U.metaKey&&ea()&&M.metaKeyEvents?.set(U.key,U.nativeEvent)}else U.key==="Meta"&&(M.metaKeyEvents=new Map)},onClick(U){if(!(U&&!re(U.currentTarget,j(U)))&&U&&U.button===0&&!M.isTriggeringEvent&&!Xa.isOpening){let $e=!0;if(i&&U.preventDefault(),!M.ignoreEmulatedMouseEvents&&!M.isPressed&&(M.pointerType==="virtual"||Cp(U.nativeEvent))){let V=$(U,"virtual"),G=C(U,"virtual"),X=y(U,"virtual");_(U),$e=V&&G&&X}else if(M.isPressed&&M.pointerType!=="keyboard"){let V=M.pointerType||U.nativeEvent.pointerType||"virtual",G=C(Ci(U.currentTarget,U),V),X=y(Ci(U.currentTarget,U),V,!0);$e=G&&X,M.isOverTarget=!1,_(U),D(U)}M.ignoreEmulatedMouseEvents=!1,$e&&U.stopPropagation()}}},se=U=>{if(M.isPressed&&M.target&&Hg(U,M.target)){eC(j(U),U.key)&&U.preventDefault();let $e=j(U),V=re(M.target,$e);y(Ci(M.target,U),"keyboard",V),V&&J(U,M.target),g(),U.key!=="Enter"&&jg(M.target)&&re(M.target,$e)&&!U[Z9]&&(U[Z9]=!0,Xa(M.target,U,!1)),M.isPressed=!1,M.metaKeyEvents?.delete(U.key)}else if(U.key==="Meta"&&M.metaKeyEvents?.size){let $e=M.metaKeyEvents;M.metaKeyEvents=void 0;for(let V of $e.values())M.target?.dispatchEvent(new KeyboardEvent("keyup",V))}};if(typeof PointerEvent<"u"){H.onPointerDown=V=>{if(V.button!==0||!re(V.currentTarget,j(V)))return;if(O6(V.nativeEvent)){M.pointerType="virtual";return}M.pointerType=V.pointerType;let G=!0;if(!M.isPressed){M.isPressed=!0,M.isOverTarget=!0,M.activePointerId=V.pointerId,M.target=V.currentTarget,d||Xp(M.target),G=$(V,M.pointerType);let X=j(V);"releasePointerCapture"in X&&("hasPointerCapture"in X?X.hasPointerCapture(V.pointerId)&&X.releasePointerCapture(V.pointerId):X.releasePointerCapture(V.pointerId)),h(ce(V.currentTarget),"pointerup",U,!1),h(ce(V.currentTarget),"pointercancel",$e,!1)}G&&V.stopPropagation()},H.onMouseDown=V=>{if(re(V.currentTarget,j(V))&&V.button===0){if(u){let G=K9(V.target);G&&M.disposables.push(G)}V.stopPropagation()}},H.onPointerUp=V=>{!re(V.currentTarget,j(V))||M.pointerType==="virtual"||V.button===0&&!M.isPressed&&C(V,M.pointerType||V.pointerType)},H.onPointerEnter=V=>{V.pointerId===M.activePointerId&&M.target&&!M.isOverTarget&&M.pointerType!=null&&(M.isOverTarget=!0,$(Ci(M.target,V),M.pointerType))},H.onPointerLeave=V=>{V.pointerId===M.activePointerId&&M.target&&M.isOverTarget&&M.pointerType!=null&&(M.isOverTarget=!1,y(Ci(M.target,V),M.pointerType,!1),k(V))};let U=V=>{if(V.pointerId===M.activePointerId&&M.isPressed&&V.button===0&&M.target){if(re(M.target,j(V))&&M.pointerType!=null){let G=!1,X=setTimeout(()=>{M.isPressed&&M.target instanceof HTMLElement&&(G?D(V):(ta(M.target),M.target.click()))},80);h(V.currentTarget,"click",()=>G=!0,!0),M.disposables.push(()=>clearTimeout(X))}else D(V);M.isOverTarget=!1}},$e=V=>{D(V)};H.onDragStart=V=>{re(V.currentTarget,j(V))&&D(V)}}return H},[h,i,u,g,d,k,$,_,J]);return(0,It.useEffect)(()=>{if(!f)return;let M=ce(f.current);if(!M||!M.head||M.getElementById(Q9))return;let H=M.createElement("style");H.id=Q9;let se=wp(M);se&&(H.nonce=se),H.textContent=`\n@layer {\n [${J9}] {\n touch-action: pan-x pan-y pinch-zoom;\n }\n}\n `.trim(),M.head.prepend(H)},[f]),(0,It.useEffect)(()=>{let M=x.current;return()=>{d||sd(M.target??void 0);for(let H of M.disposables)H();M.disposables=[]}},[d]),{isPressed:s||m,pressProps:O(b,ne,{[J9]:!0})}}function jg(e){return e.tagName==="A"&&e.hasAttribute("href")}function Hg(e,t){let{key:a,code:r}=e,o=t,l=o.getAttribute("role");return(a==="Enter"||a===" "||a==="Spacebar"||r==="Space")&&!(o instanceof je(o).HTMLInputElement&&!tC(o,a)||o instanceof je(o).HTMLTextAreaElement||o.isContentEditable)&&!((l==="link"||!l&&jg(o))&&a!=="Enter")}function Ci(e,t){let a=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:a,clientY:r,key:t.key}}function HL(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!jg(e)}function eC(e,t){return ea()&&t==="Enter"?!1:e instanceof HTMLInputElement?t==="Enter"&&(e.type==="checkbox"||e.type==="radio")?!1:!tC(e,t):HL(e)}var jL=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function tC(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":jL.has(e.type)}function ud(e,t){let{elementType:a="button",isDisabled:r,onPress:o,onPressStart:l,onPressEnd:n,onPressUp:i,onPressChange:s,preventFocusOnPress:u,allowFocusWhenDisabled:c,onClick:d,href:f,target:b,rel:m,type:p="button"}=e,x;a==="button"?x={type:p,disabled:r,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:x={role:"button",href:a==="a"&&!r?f:void 0,target:a==="a"?b:void 0,type:a==="input"?p:void 0,disabled:a==="input"?r:void 0,"aria-disabled":!r||a==="input"?void 0:r,rel:a==="a"?m:void 0};let{pressProps:h,isPressed:g}=za({onPressStart:l,onPressEnd:n,onPressChange:s,onPress:o,onPressUp:i,onClick:d,isDisabled:r,preventFocusOnPress:u,ref:t}),{focusableProps:$}=Fr(e,t);c&&($.tabIndex=r?-1:$.tabIndex);let v=O($,h,te(e,{labelable:!0}));return{isPressed:g,buttonProps:O(x,v,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}var vl=T(R(),1);var cd=T(R(),1);function Io(e){let{isDisabled:t,onBlurWithin:a,onFocusWithin:r,onFocusWithinChange:o}=e,l=(0,cd.useRef)({isFocusWithin:!1}),{addGlobalListener:n,removeAllGlobalListeners:i}=Ao(),s=(0,cd.useCallback)(d=>{re(d.currentTarget,j(d))&&l.current.isFocusWithin&&!re(d.currentTarget,d.relatedTarget)&&(l.current.isFocusWithin=!1,i(),a&&a(d),o&&o(!1))},[a,o,l,i]),u=jp(s),c=(0,cd.useCallback)(d=>{if(!re(d.currentTarget,j(d)))return;let f=j(d),b=ce(f),m=de(b);if(!l.current.isFocusWithin&&m===f){r&&r(d),o&&o(!0),l.current.isFocusWithin=!0,u(d);let p=d.currentTarget;n(b,"focus",x=>{let h=j(x);if(l.current.isFocusWithin&&!re(p,h)){let g=new b.defaultView.FocusEvent("blur",{relatedTarget:h});Hp(g,p);let $=td(g);s($)}},{capture:!0})}},[r,o,u,n,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:s}}}var mn=T(R(),1);function ot(e={}){let{autoFocus:t=!1,isTextInput:a,within:r}=e,o=(0,mn.useRef)({isFocused:!1,isFocusVisible:t||zo()}),[l,n]=(0,mn.useState)(!1),[i,s]=(0,mn.useState)(()=>o.current.isFocused&&o.current.isFocusVisible),u=(0,mn.useCallback)(()=>s(o.current.isFocused&&o.current.isFocusVisible),[]),c=(0,mn.useCallback)(b=>{o.current.isFocused=b,o.current.isFocusVisible=zo(),n(b),u()},[u]);Kg(b=>{o.current.isFocusVisible=b,u()},[a,l],{enabled:l,isTextInput:a});let{focusProps:d}=vi({isDisabled:r,onFocusChange:c}),{focusWithinProps:f}=Io({isDisabled:!r,onFocusWithinChange:c});return{isFocused:l,isFocusVisible:i,focusProps:r?f:d}}var xl=T(R(),1),Ug=!1,Zp=0;function UL(){Ug=!0,setTimeout(()=>{Ug=!1},500)}function aC(e){e.pointerType==="touch"&&UL()}function GL(){let e=ce(null);if(!(typeof e>"u"))return Zp===0&&typeof PointerEvent<"u"&&e.addEventListener("pointerup",aC),Zp++,()=>{Zp--,!(Zp>0)&&typeof PointerEvent<"u"&&e.removeEventListener("pointerup",aC)}}function vt(e){let{onHoverStart:t,onHoverChange:a,onHoverEnd:r,isDisabled:o}=e,[l,n]=(0,xl.useState)(!1),i=(0,xl.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,xl.useEffect)(GL,[]);let{addGlobalListener:s,removeAllGlobalListeners:u}=Ao(),{hoverProps:c,triggerHoverEnd:d}=(0,xl.useMemo)(()=>{let f=(p,x)=>{if(i.pointerType=x,o||x==="touch"||i.isHovered||!re(p.currentTarget,j(p)))return;i.isHovered=!0;let h=p.currentTarget;i.target=h,s(ce(j(p)),"pointerover",g=>{i.isHovered&&i.target&&!re(i.target,j(g))&&b(g,g.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:h,pointerType:x}),a&&a(!0),n(!0)},b=(p,x)=>{let h=i.target;i.pointerType="",i.target=null,!(x==="touch"||!i.isHovered||!h)&&(i.isHovered=!1,u(),r&&r({type:"hoverend",target:h,pointerType:x}),a&&a(!1),n(!1))},m={};return typeof PointerEvent<"u"&&(m.onPointerEnter=p=>{Ug&&p.pointerType==="mouse"||f(p,p.pointerType)},m.onPointerLeave=p=>{!o&&re(p.currentTarget,j(p))&&b(p,p.pointerType)}),{hoverProps:m,triggerHoverEnd:b}},[t,a,r,o,i,s,u]);return(0,xl.useEffect)(()=>{o&&d({currentTarget:i.target},i.pointerType)},[o]),{hoverProps:c,isHovered:l}}var br=(0,vl.createContext)({}),yl=er(function(t,a){[t,a]=Te(t,a,br);let r=t,{isPending:o}=r,{buttonProps:l,isPressed:n}=ud(t,a);l=YL(l,o);let{focusProps:i,isFocused:s,isFocusVisible:u}=ot(t),{hoverProps:c,isHovered:d}=vt({...t,isDisabled:t.isDisabled||o}),f={isHovered:d,isPressed:(r.isPressed||n)&&!o,isFocused:s,isFocusVisible:u,isDisabled:t.isDisabled||!1,isPending:o??!1},b=be({...t,values:f,defaultClassName:"react-aria-Button"}),m=Ne(l.id),p=Ne(),x=l["aria-labelledby"];o&&(x?x=`${x} ${p}`:l["aria-label"]&&(x=`${m} ${p}`));let h=(0,vl.useRef)(o);(0,vl.useEffect)(()=>{let $={"aria-labelledby":x||m};!h.current&&s&&o?pn($,"assertive"):h.current&&s&&!o&&pn($,"assertive"),h.current=o},[o,s,x,m]);let g=te(t,{global:!0});return delete g.onClick,vl.default.createElement(le.button,{...O(g,b,l,i,c),type:l.type==="submit"&&o?"button":l.type,id:m,ref:a,"aria-labelledby":x,slot:t.slot||void 0,"aria-disabled":o?"true":l["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":f.isPressed||void 0,"data-hovered":d||void 0,"data-focused":s||void 0,"data-pending":o||void 0,"data-focus-visible":u||void 0},vl.default.createElement(F9.Provider,{value:{id:p}},b.children))}),qL=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;function YL(e,t){if(t){for(let a in e)a.startsWith("on")&&!qL.test(a)&&(e[a]=void 0);e.href=void 0,e.target=void 0}return e}var Oa=T(R(),1),WL=typeof document<"u"||parseInt(Oa.default.version,10)>=19?Oa.default.useInsertionEffect??Oa.default.useLayoutEffect:()=>{};function Bt(e,t,a){let[r,o]=(0,Oa.useState)(e||t),l=(0,Oa.useRef)(r),n=(0,Oa.useRef)(e!==void 0),i=e!==void 0;(0,Oa.useEffect)(()=>{let d=n.current;n.current=i},[i]);let s=i?e:r;WL(()=>{l.current=s});let[,u]=(0,Oa.useReducer)(()=>({}),{}),c=(0,Oa.useCallback)((d,...f)=>{let b=typeof d=="function"?d(l.current):d;Object.is(l.current,b)||(l.current=b,o(b),u(),a?.(b,...f))},[a]);return[s,c]}var Us=T(R(),1),Gg=(0,Us.createContext)({}),qg=(0,Us.forwardRef)(function(t,a){[t,a]=Te(t,a,Gg);let{children:r,level:o=3,className:l,...n}=t,i=le[`h${o}`];return Us.default.createElement(i,{...n,ref:a,className:l??"react-aria-Heading"},r)});var Gs=e=>e?"true":void 0;var rC=T(R(),1);function XL(e,t){return Lg(e,(a,r)=>{let o=typeof t=="function"?t(r)??"":t??"";return Wc(o,a??"")??""})}var ve=(e,t,a)=>typeof e=="function"?e({...a??{},className:t}):t;function ye(e,t){return(0,rC.useMemo)(()=>typeof e=="function"?XL(e,t):t?e?Wc(t,e)??t:t:e??"",[e,t])}var Tt=T(me(),1),Qp=e=>(0,Tt.jsx)("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,Tt.jsx)("path",{clipRule:"evenodd",d:"M2.97 5.47a.75.75 0 0 1 1.06 0L8 9.44l3.97-3.97a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 0 1 0-1.06",fill:"currentColor",fillRule:"evenodd"})}),Jp=e=>(0,Tt.jsx)("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,Tt.jsx)("path",{clipRule:"evenodd",d:"M13.03 10.53a.75.75 0 0 1-1.06 0L8 6.56l-3.97 3.97a.75.75 0 0 1-1.06-1.06l4.5-4.5a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1 0 1.06",fill:"currentColor",fillRule:"evenodd"})}),oC=e=>(0,Tt.jsx)("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,Tt.jsx)("path",{clipRule:"evenodd",d:"M10.53 2.97a.75.75 0 0 1 0 1.06L6.56 8l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 0",fill:"currentColor",fillRule:"evenodd"})}),lC=e=>(0,Tt.jsx)("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,Tt.jsx)("path",{clipRule:"evenodd",d:"M5.47 2.97a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 1 1-1.06-1.06L9.44 8 5.47 4.03a.75.75 0 0 1 0-1.06Z",fill:"currentColor",fillRule:"evenodd"})}),nC=({height:e=9,width:t=9,...a})=>(0,Tt.jsx)("svg",{"aria-hidden":"true",fill:"none",height:e,role:"presentation",viewBox:"0 0 7 7",width:t,xmlns:"http://www.w3.org/2000/svg",...a,children:(0,Tt.jsx)("path",{d:"M1.20592 6.84333L0.379822 6.01723L4.52594 1.8672H1.37819L1.38601 0.731812H6.48742V5.83714H5.34421L5.35203 2.6933L1.20592 6.84333Z",fill:"currentColor"})});var em=e=>(0,Tt.jsx)("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,Tt.jsx)("path",{clipRule:"evenodd",d:"M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06Z",fill:"currentColor",fillRule:"evenodd"})}),Yg=e=>(0,Tt.jsx)("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,Tt.jsx)("path",{clipRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11a5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-9.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-.25 3a.75.75 0 0 0-1.5 0V11a.75.75 0 0 0 1.5 0z",fill:"currentColor",fillRule:"evenodd"})}),iC=e=>(0,Tt.jsx)("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,Tt.jsx)("path",{clipRule:"evenodd",d:"M7.134 2.994L2.217 11.5a1 1 0 0 0 .866 1.5h9.834a1 1 0 0 0 .866-1.5L8.866 2.993a1 1 0 0 0-1.732 0m3.03-.75c-.962-1.665-3.366-1.665-4.329 0L.918 10.749c-.963 1.666.24 3.751 2.165 3.751h9.834c1.925 0 3.128-2.085 2.164-3.751zM8 5a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2A.75.75 0 0 1 8 5m1 5.75a1 1 0 1 1-2 0a1 1 0 0 1 2 0",fill:"currentColor",fillRule:"evenodd"})}),sC=e=>(0,Tt.jsx)("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,Tt.jsx)("path",{clipRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11a5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-4.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0M8.75 5a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 0 1.5 0z",fill:"currentColor",fillRule:"evenodd"})}),uC=e=>(0,Tt.jsx)("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,Tt.jsx)("path",{clipRule:"evenodd",d:"M13.5 8a5.5 5.5 0 1 1-11 0a5.5 5.5 0 0 1 11 0M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0m-3.9-1.55a.75.75 0 1 0-1.2-.9L7.419 8.858L6.03 7.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.13-.08z",fill:"currentColor",fillRule:"evenodd"})});var cC=e=>(0,Tt.jsx)("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,Tt.jsx)("path",{clipRule:"evenodd",d:"M11.5 7a4.5 4.5 0 1 1-9 0a4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z",fill:"currentColor",fillRule:"evenodd"})});var qs=T(R(),1);var Wg=T(me(),1),Si=(0,qs.createContext)({}),ZL=({children:e,className:t,variant:a="default",...r})=>{let o=qs.default.useMemo(()=>({variant:a}),[a]),l=(0,qs.useMemo)(()=>kg({className:t,variant:a}),[t,a]);return(0,Wg.jsx)(Si,{value:o,children:(0,Wg.jsx)(Ee.div,{className:l,"data-slot":"surface",...r,children:e})})};ZL.displayName="HeroUI.Surface";var Fo=T(R(),1);var hr=T(me(),1);var dd=(0,Fo.createContext)({}),QL={variant:"default"},tm=({children:e,className:t,status:a,...r})=>{let o=Fo.default.useMemo(()=>pg({status:a}),[a]),l=Fo.default.useMemo(()=>({slots:o,status:a}),[o,a]);return(0,hr.jsx)(dd,{value:l,children:(0,hr.jsx)(Si,{value:QL,children:(0,hr.jsx)(Ee.div,{className:o?.base({className:t}),"data-slot":"alert-root",...r,children:e})})})};tm.displayName="HeroUI.Alert";var Xg=({children:e,className:t,...a})=>{let{slots:r,status:o}=(0,Fo.use)(dd),l=()=>{switch(o){case"accent":return(0,hr.jsx)(Yg,{"data-slot":"alert-default-icon"});case"success":return(0,hr.jsx)(uC,{"data-slot":"alert-default-icon"});case"warning":return(0,hr.jsx)(iC,{"data-slot":"alert-default-icon"});case"danger":return(0,hr.jsx)(sC,{"data-slot":"alert-default-icon"});default:return(0,hr.jsx)(Yg,{"data-slot":"alert-default-icon"})}};return(0,hr.jsx)(Ee.div,{className:ve(r?.indicator,t),"data-slot":"alert-indicator",...a,children:e??l()})};Xg.displayName="HeroUI.Alert.Indicator";var Zg=({children:e,className:t,...a})=>{let{slots:r}=(0,Fo.use)(dd);return(0,hr.jsx)(Ee.div,{className:ve(r?.content,t),"data-slot":"alert-content",...a,children:e})};Zg.displayName="HeroUI.Alert.Content";var Qg=({children:e,className:t,...a})=>{let{slots:r}=(0,Fo.use)(dd);return(0,hr.jsx)(Ee.p,{className:ve(r?.title,t),"data-slot":"alert-title",...a,children:e})};Qg.displayName="HeroUI.Alert.Title";var Jg=({children:e,className:t,...a})=>{let{slots:r}=(0,Fo.use)(dd);return(0,hr.jsx)(Ee.span,{className:ve(r?.description,t),"data-slot":"alert-description",...a,children:e})};Jg.displayName="HeroUI.Alert.Description";var la=Object.assign(tm,{Root:tm,Indicator:Xg,Content:Zg,Title:Qg,Description:Jg});var am=T(R(),1),dC=(0,am.createContext)({placement:"bottom"});var JL=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;function fC(e){return e.dataset.liveAnnouncer==="true"||e.dataset.reactAriaTopLayer!==void 0}var fd=new WeakMap,tr=[];function rm(e,t){let a=je(e?.[0]),r=t instanceof a.Element?{root:t}:t,o=r?.root??document.body,l=r?.shouldUseInert&&JL,n=new Set(e),i=new Set,s=x=>l&&x instanceof a.HTMLElement?x.inert:x.getAttribute("aria-hidden")==="true",u=(x,h)=>{l&&x instanceof a.HTMLElement?x.inert=h:h?x.setAttribute("aria-hidden","true"):(x.removeAttribute("aria-hidden"),x instanceof a.HTMLElement&&(x.inert=!1))},c=new Set;if(Za()){let x=o.getRootNode();for(let h of e){let g=h.getRootNode();for(;ci(g)&&g!==x;)c.add(g),g=g.host.getRootNode()}}let d=x=>{for(let v of x.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(v);let h=v=>{if(i.has(v)||n.has(v)||v.parentElement&&i.has(v.parentElement)&&v.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let y of n)if(re(v,y))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},g=bp(ce(x),x,NodeFilter.SHOW_ELEMENT,{acceptNode:h}),$=h(x);if($===NodeFilter.FILTER_ACCEPT&&f(x),$!==NodeFilter.FILTER_REJECT){let v=g.nextNode();for(;v!=null;)f(v),v=g.nextNode()}},f=x=>{let h=fd.get(x)??0;s(x)&&h===0||(h===0&&u(x,!0),i.add(x),fd.set(x,h+1))};tr.length&&tr[tr.length-1].disconnect(),d(o);let b=new MutationObserver(x=>{for(let h of x)if(h.type==="childList"){if(h.target.isConnected&&![...n,...i].some(g=>re(g,h.target)))for(let g of h.addedNodes)(g instanceof HTMLElement||g instanceof SVGElement)&&fC(g)?n.add(g):g instanceof Element&&d(g);if(Za()){for(let g of c)if(!g.isConnected){b.disconnect();break}}}});b.observe(o,{childList:!0,subtree:!0});let m=new Set;if(Za())for(let x of c){let h=new MutationObserver(g=>{for(let $ of g)if($.type==="childList"){if($.target.isConnected&&![...n,...i].some(v=>re(v,$.target)))for(let v of $.addedNodes)(v instanceof HTMLElement||v instanceof SVGElement)&&fC(v)?n.add(v):v instanceof Element&&d(v);if(Za()){for(let v of c)if(!v.isConnected){b.disconnect();break}}}});h.observe(x,{childList:!0,subtree:!0}),m.add(h)}let p={visibleNodes:n,hiddenNodes:i,observe(){b.observe(o,{childList:!0,subtree:!0})},disconnect(){b.disconnect()}};return tr.push(p),()=>{if(b.disconnect(),Za())for(let x of m)x.disconnect();for(let x of i){let h=fd.get(x);h!=null&&(h===1?(u(x,!1),fd.delete(x)):fd.set(x,h-1))}p===tr[tr.length-1]?(tr.pop(),tr.length&&tr[tr.length-1].observe()):tr.splice(tr.indexOf(p),1)}}function om(e){let t=tr[tr.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}var Kr={top:"top",bottom:"top",left:"left",right:"left"},nm={top:"bottom",bottom:"top",left:"right",right:"left"},eB={top:"left",left:"top"},t1={top:"height",left:"width"},xC={width:"totalWidth",height:"totalHeight"},lm={},tB=()=>typeof document<"u"?window.visualViewport:null;function pC(e,t){let a=0,r=0,o=0,l=0,n=0,i=0,s={},u=(t?.scale??1)>1;if(e.tagName==="BODY"||e.tagName==="HTML"){let c=document.documentElement;o=c.clientWidth,l=c.clientHeight,a=t?.width??o,r=t?.height??l,s.top=c.scrollTop||e.scrollTop,s.left=c.scrollLeft||e.scrollLeft,t&&(n=Math.max(0,t.pageTop-(s.top??0)),i=Math.max(0,t.pageLeft-(s.left??0)))}else({width:a,height:r,top:n,left:i}=pd(e,!1)),s.top=e.scrollTop,s.left=e.scrollLeft,o=a,l=r;return Gt()&&(e.tagName==="BODY"||e.tagName==="HTML")&&u&&(s.top=0,s.left=0,n=t?.pageTop??0,i=t?.pageLeft??0),{width:a,height:r,totalWidth:o,totalHeight:l,scroll:s,top:n,left:i}}function aB(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function mC(e,t,a,r,o,l,n){let i=o.scroll[e]??0,s=r[t1[e]],u=n[e]+r.scroll[Kr[e]]+l,c=n[e]+r.scroll[Kr[e]]+s-l,d=t-i+r.scroll[Kr[e]]+n[e]-r[Kr[e]],f=t-i+a+r.scroll[Kr[e]]+n[e]-r[Kr[e]];return d<u?u-d:f>c?Math.max(c-f,u-d):0}function rB(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function bC(e){if(lm[e])return lm[e];let[t,a]=e.split(" "),r=Kr[t]||"right",o=eB[r];Kr[a]||(a="center");let l=t1[r],n=t1[o];return lm[e]={placement:t,crossPlacement:a,axis:r,crossAxis:o,size:l,crossSize:n},lm[e]}function e1(e,t,a,r,o,l,n,i,s,u,c){let{placement:d,crossPlacement:f,axis:b,crossAxis:m,size:p,crossSize:x}=r,h={};h[m]=e[m]??0,f==="center"?h[m]+=((e[x]??0)-(a[x]??0))/2:f!==m&&(h[m]+=(e[x]??0)-(a[x]??0)),h[m]+=l;let g=e[m]-a[x]+s+u,$=e[m]+e[x]-s-u;if(h[m]=Gc(h[m],g,$),d===b){let v=i?c[p]:c[xC[p]];h[nm[b]]=Math.floor(v-e[b]+o)}else h[b]=Math.floor(e[b]+e[p]+o);return h}function oB(e,t,a,r,o,l,n,i,s,u,c){let d=(e.top!=null?e.top:s[xC.height]-(e.bottom??0)-n)-(s.scroll.top??0),f=u?a.top:0,b={top:Math.max(t.top+f,(c?.offsetTop??t.top)+f),bottom:Math.min(t.top+t.height+f,(c?.offsetTop??0)+(c?.height??0))};return i!=="top"?Math.max(0,b.bottom-d-((o.top??0)+(o.bottom??0)+l)):Math.max(0,d+n-b.top-((o.top??0)+(o.bottom??0)+l))}function hC(e,t,a,r,o,l,n,i){let{placement:s,axis:u,size:c}=l;return s===u?Math.max(0,a[u]-(n.scroll[u]??0)-(e[u]+(i?t[u]:0))-(r[u]??0)-r[nm[u]]-o):Math.max(0,e[c]+e[u]+(i?t[u]:0)-a[u]-a[c]+(n.scroll[u]??0)-(r[u]??0)-r[nm[u]]-o)}function lB(e,t,a,r,o,l,n,i,s,u,c,d,f,b,m,p,x,h){let g=bC(e),{size:$,crossAxis:v,crossSize:y,placement:E,crossPlacement:C}=g,S=e1(t,i,a,g,c,d,u,f,m,p,s),D=c,k=hC(i,u,t,o,l+c,g,s,x);if(n&&a[$]>k){let F=bC(`${nm[E]} ${C}`),Y=e1(t,i,a,F,c,d,u,f,m,p,s);hC(i,u,t,o,l+c,F,s,x)>k&&(g=F,S=Y,D=c)}let _="bottom";g.axis==="top"?g.placement==="top"?_="top":g.placement==="bottom"&&(_="bottom"):g.crossAxis==="top"&&(g.crossPlacement==="top"?_="bottom":g.crossPlacement==="bottom"&&(_="top"));let J=mC(v,S[v],a[y],i,s,l,u);S[v]+=J;let ne=oB(S,i,u,f,o,l,a.height,_,s,x,h);b&&b<ne&&(ne=b),a.height=Math.min(a.height,ne),S=e1(t,i,a,g,D,d,u,f,m,p,s),J=mC(v,S[v],a[y],i,s,l,u),S[v]+=J;let M={},H=t[v]-S[v]-o[Kr[v]],se=H+.5*t[y],U=m/2+p,$e=Kr[v]==="left"?(o.left??0)+(o.right??0):(o.top??0)+(o.bottom??0),V=a[y]-$e-m/2-p,G=t[v]+m/2-(S[v]+o[Kr[v]]),X=t[v]+t[y]-m/2-(S[v]+o[Kr[v]]),ze=Gc(se,G,X);M[v]=Gc(ze,U,V),{placement:E,crossPlacement:C}=g,m?H=M[v]:C==="right"?H+=t[y]:C==="center"&&(H+=t[y]/2);let ft=E==="left"||E==="top"?a[$]:0,pt={x:E==="top"||E==="bottom"?H:ft,y:E==="left"||E==="right"?H:ft};return{position:S,maxHeight:ne,arrowOffsetLeft:M.left,arrowOffsetTop:M.top,placement:E,triggerAnchorPoint:pt}}function vC(e){let{placement:t,targetNode:a,overlayNode:r,scrollNode:o,padding:l,shouldFlip:n,boundaryElement:i,offset:s,crossOffset:u,maxHeight:c,arrowSize:d=0,arrowBoundaryOffset:f=0,targetRect:b}=e,m=tB(),p=r instanceof HTMLElement?nB(r):document.documentElement,x=p===document.documentElement,h=window.getComputedStyle(p).position,g=!!h&&h!=="static",$=x?pd(a,!1,b):gC(a,p,!1,b);if(!x){let{marginTop:_,marginLeft:J}=window.getComputedStyle(a);$.top+=parseInt(_,10)||0,$.left+=parseInt(J,10)||0}let v=pd(r,!0),y=rB(r);v.width+=(y.left??0)+(y.right??0),v.height+=(y.top??0)+(y.bottom??0);let E=aB(o),C=pC(i,m),S=pC(p,m),D;if((i.tagName==="BODY"||i.tagName==="HTML")&&!x){let _=md(p,!1);D={top:-(_.top-C.top),left:-(_.left-C.left),width:0,height:0}}else(i.tagName==="BODY"||i.tagName==="HTML")&&x?D={top:0,left:0,width:0,height:0}:D=gC(i,p,!1);let k=re(i,p);return lB(t,$,v,E,y,l,n,C,S,D,s,u,g,c,d,f,k,m)}function md(e,t){let{top:a,left:r,width:o,height:l}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(o=e.offsetWidth,l=e.offsetHeight),{top:a,left:r,width:o,height:l}}function pd(e,t,a){let{top:r,left:o,width:l,height:n}=a||md(e,t),{scrollTop:i,scrollLeft:s,clientTop:u,clientLeft:c}=document.documentElement;return{top:r+i-u,left:o+s-c,width:l,height:n}}function gC(e,t,a,r){let o=window.getComputedStyle(e),l;if(o.position==="fixed")l=r||md(e,a);else{l=pd(e,a,r);let n=pd(t,a),i=window.getComputedStyle(t);n.top+=(parseInt(i.borderTopWidth,10)||0)-t.scrollTop,n.left+=(parseInt(i.borderLeftWidth,10)||0)-t.scrollLeft,l.top-=n.top,l.left-=n.left}return l.top-=parseInt(o.marginTop,10)||0,l.left-=parseInt(o.marginLeft,10)||0,l}function nB(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!$C(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!$C(t);)t=t.parentElement;return t||document.documentElement}function $C(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}var yC=T(R(),1),a1=new WeakMap;function CC(e){let{triggerRef:t,isOpen:a,onClose:r}=e;(0,yC.useEffect)(()=>{if(!a||r===null)return;let o=l=>{let n=j(l);if(!t.current||n instanceof Node&&!re(n,t.current)||n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement)return;let i=r||a1.get(t.current);i&&i()};return qt(zc(t.current),"scroll",o,!0)},[a,r,t])}var Ko=T(R(),1),wi=typeof document<"u"?window.visualViewport:null;function SC(e){let{direction:t}=Fe(),{arrowSize:a,targetRef:r,overlayRef:o,arrowRef:l,scrollRef:n=o,placement:i="bottom",containerPadding:s=12,shouldFlip:u=!0,boundaryElement:c=typeof document<"u"?document.body:null,offset:d=0,crossOffset:f=0,shouldUpdatePosition:b=!0,isOpen:m=!0,onClose:p,maxHeight:x,arrowBoundaryOffset:h=0,getTargetRect:g}=e,[$,v]=(0,Ko.useState)(null),y=[b,i,o.current,r.current,l?.current,n.current,s,u,c,d,f,m,t,x,h,a],E=(0,Ko.useRef)(wi?.scale);(0,Ko.useEffect)(()=>{m&&(E.current=wi?.scale)},[m]);let C=(0,Ko.useCallback)(()=>{if(b===!1||!m||!o.current||!r.current||!c||wi?.scale!==E.current)return;let k=null;if(n.current&&fr(n.current)){let M=de()?.getBoundingClientRect(),H=n.current.getBoundingClientRect();k={type:"top",offset:(M?.top??0)-H.top},k.offset>H.height/2&&(k.type="bottom",k.offset=(M?.bottom??0)-H.bottom)}let _=o.current;!x&&o.current&&(_.style.top="0px",_.style.bottom="",_.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px");let J=vC({placement:sB(i,t),overlayNode:o.current,targetNode:r.current,scrollNode:n.current||o.current,padding:s,shouldFlip:u,boundaryElement:c,offset:d,crossOffset:f,maxHeight:x,arrowSize:a??(l?.current?md(l.current,!0).width:0),arrowBoundaryOffset:h,targetRect:g?.(r.current)});if(!J.position)return;_.style.top="",_.style.bottom="",_.style.left="",_.style.right="",Object.keys(J.position).forEach(M=>_.style[M]=J.position[M]+"px"),_.style.maxHeight=J.maxHeight!=null?J.maxHeight+"px":"";let ne=de();if(k&&ne&&n.current){let M=ne.getBoundingClientRect(),H=n.current.getBoundingClientRect(),se=M[k.type]-H[k.type];n.current.scrollTop+=se-k.offset}v(J)},y);ae(C,y),iB(C),on({ref:o,onResize:C}),on({ref:r,onResize:C});let S=(0,Ko.useRef)(!1);ae(()=>{let k,_=()=>{S.current=!0,clearTimeout(k),k=setTimeout(()=>{S.current=!1},500),C()},J=()=>{S.current&&_()};wi?.addEventListener("resize",_),wi?.addEventListener("scroll",J);let ne=qt(zc(window),"scroll",J);return()=>{wi?.removeEventListener("resize",_),wi?.removeEventListener("scroll",J),ne()}},[C]);let D=(0,Ko.useCallback)(()=>{S.current||p?.()},[p,S]);return CC({triggerRef:r,isOpen:m,onClose:p&&D}),{overlayProps:{style:{position:$?"absolute":"fixed",top:$?void 0:0,left:$?void 0:0,zIndex:1e5,...$?.position,maxHeight:$?.maxHeight??"100vh"}},placement:$?.placement??null,triggerAnchorPoint:$?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:$?.arrowOffsetLeft,top:$?.arrowOffsetTop}},updatePosition:C}}function iB(e){ae(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function sB(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}var At=T(R(),1),wC=At.default.createContext(null),o1="react-aria-focus-scope-restore",ht=null;function Ti(e){let{children:t,contain:a,restoreFocus:r,autoFocus:o}=e,l=(0,At.useRef)(null),n=(0,At.useRef)(null),i=(0,At.useRef)([]),{parentNode:s}=(0,At.useContext)(wC)||{},u=(0,At.useMemo)(()=>new hd({scopeRef:i}),[i]);ae(()=>{let f=s||Ft.root;if(Ft.getTreeNode(f.scopeRef)&&ht&&!im(ht,f.scopeRef)){let b=Ft.getTreeNode(ht);b&&(f=b)}f.addChild(u),Ft.addNode(u)},[u,s]),ae(()=>{let f=Ft.getTreeNode(i);f&&(f.contain=!!a)},[a]),ae(()=>{let f=l.current?.nextSibling,b=[],m=p=>p.stopPropagation();for(;f&&f!==n.current;)b.push(f),f.addEventListener(o1,m),f=f.nextSibling;return i.current=b,()=>{for(let p of b)p.removeEventListener(o1,m)}},[t]),mB(i,r,a),fB(i,a),bB(i,r,a),pB(i,o),(0,At.useEffect)(()=>{let f=de(ce(i.current?i.current[0]:void 0)),b=null;if(Vr(f,i.current)){for(let m of Ft.traverse())m.scopeRef&&Vr(f,m.scopeRef.current)&&(b=m);b===Ft.getTreeNode(i)&&(ht=b.scopeRef)}},[i]),ae(()=>()=>{let f=Ft.getTreeNode(i)?.parent?.scopeRef??null;(i===ht||im(i,ht))&&(!f||Ft.getTreeNode(f))&&(ht=f),Ft.removeTreeNode(i)},[i]);let c=(0,At.useMemo)(()=>uB(i),[]),d=(0,At.useMemo)(()=>({focusManager:c,parentNode:u}),[u,c]);return At.default.createElement(wC.Provider,{value:d},At.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:l}),t,At.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:n}))}function uB(e){return{focusNext(t={}){let a=e.current,{from:r,tabbable:o,wrap:l,accept:n}=t,i=r||de(ce(a[0]??void 0)),s=a[0].previousElementSibling,u=Ei(a),c=Kt(u,{tabbable:o,accept:n},a);c.currentNode=Vr(i,a)?i:s;let d=c.nextNode();return!d&&l&&(c.currentNode=s,d=c.nextNode()),d&&Ea(d,!0),d},focusPrevious(t={}){let a=e.current,{from:r,tabbable:o,wrap:l,accept:n}=t,i=r||de(ce(a[0]??void 0)),s=a[a.length-1].nextElementSibling,u=Ei(a),c=Kt(u,{tabbable:o,accept:n},a);c.currentNode=Vr(i,a)?i:s;let d=c.previousNode();return!d&&l&&(c.currentNode=s,d=c.previousNode()),d&&Ea(d,!0),d},focusFirst(t={}){let a=e.current,{tabbable:r,accept:o}=t,l=Ei(a),n=Kt(l,{tabbable:r,accept:o},a);n.currentNode=a[0].previousElementSibling;let i=n.nextNode();return i&&Ea(i,!0),i},focusLast(t={}){let a=e.current,{tabbable:r,accept:o}=t,l=Ei(a),n=Kt(l,{tabbable:r,accept:o},a);n.currentNode=a[a.length-1].nextElementSibling;let i=n.previousNode();return i&&Ea(i,!0),i}}}function Ei(e){return e[0].parentElement}function bd(e){let t=Ft.getTreeNode(ht);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function cB(e){if(!e.form)return Array.from(ce(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(r=>!r.form);let t=e.form.elements.namedItem(e.name),a=je(e);return t instanceof a.RadioNodeList?Array.from(t).filter(r=>r instanceof a.HTMLInputElement):t instanceof a.HTMLInputElement?[t]:[]}function dB(e){if(e.checked)return!0;let t=cB(e);return t.length>0&&!t.some(a=>a.checked)}function fB(e,t){let a=(0,At.useRef)(void 0),r=(0,At.useRef)(void 0);ae(()=>{let o=e.current;if(!t){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}let l=ce(o?o[0]:void 0),n=u=>{if(u.key!=="Tab"||u.altKey||u.ctrlKey||u.metaKey||!bd(e)||u.isComposing)return;let c=de(l),d=e.current;if(!d||!Vr(c,d))return;let f=Ei(d),b=Kt(f,{tabbable:!0},d);if(!c)return;b.currentNode=c;let m=u.shiftKey?b.previousNode():b.nextNode();m||(b.currentNode=u.shiftKey?d[d.length-1].nextElementSibling:d[0].previousElementSibling,m=u.shiftKey?b.previousNode():b.nextNode()),u.preventDefault(),m&&(Ea(m,!0),m instanceof je(m).HTMLInputElement&&m.select())},i=u=>{(!ht||im(ht,e))&&Vr(j(u),e.current)?(ht=e,a.current=j(u)):bd(e)&&!bn(j(u),e)?a.current?Ea(a.current):ht&&ht.current&&l1(ht.current):bd(e)&&(a.current=j(u))},s=u=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{let c=Oo(),d=(c==="virtual"||c===null)&&Or()&&fp(),f=de(l);if(!d&&f&&bd(e)&&!bn(f,e)){ht=e;let b=j(u);b&&b.isConnected?(a.current=b,Ea(a.current)):ht.current&&l1(ht.current)}})};return l.addEventListener("keydown",n,!1),l.addEventListener("focusin",i,!1),o?.forEach(u=>u.addEventListener("focusin",i,!1)),o?.forEach(u=>u.addEventListener("focusout",s,!1)),()=>{l.removeEventListener("keydown",n,!1),l.removeEventListener("focusin",i,!1),o?.forEach(u=>u.removeEventListener("focusin",i,!1)),o?.forEach(u=>u.removeEventListener("focusout",s,!1))}},[e,t]),ae(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function DC(e){return bn(e)}function Vr(e,t){return!e||!t?!1:t.some(a=>re(a,e))}function bn(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:a}of Ft.traverse(Ft.getTreeNode(t)))if(a&&Vr(e,a.current))return!0;return!1}function kC(e){return bn(e,ht)}function im(e,t){let a=Ft.getTreeNode(t)?.parent;for(;a;){if(a.scopeRef===e)return!0;a=a.parent}return!1}function Ea(e,t=!1){if(e!=null&&!t)try{rt(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function RC(e,t=!0){let a=e[0].previousElementSibling,r=Ei(e),o=Kt(r,{tabbable:t},e);o.currentNode=a;let l=o.nextNode();return t&&!l&&(r=Ei(e),o=Kt(r,{tabbable:!1},e),o.currentNode=a,l=o.nextNode()),l}function l1(e,t=!0){Ea(RC(e,t))}function pB(e,t){let a=At.default.useRef(t);(0,At.useEffect)(()=>{if(a.current){ht=e;let r=ce(e.current?e.current[0]:void 0);!Vr(de(r),ht.current)&&e.current&&l1(e.current)}a.current=!1},[e])}function mB(e,t,a){ae(()=>{if(t||a)return;let r=e.current,o=ce(r?r[0]:void 0),l=n=>{let i=j(n);Vr(i,e.current)?ht=e:DC(i)||(ht=null)};return o.addEventListener("focusin",l,!1),r?.forEach(n=>n.addEventListener("focusin",l,!1)),()=>{o.removeEventListener("focusin",l,!1),r?.forEach(n=>n.removeEventListener("focusin",l,!1))}},[e,t,a])}function EC(e){let t=Ft.getTreeNode(ht);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function bB(e,t,a){let r=(0,At.useRef)(typeof document<"u"?de(ce(e.current?e.current[0]:void 0)):null);ae(()=>{let o=e.current,l=ce(o?o[0]:void 0);if(!t||a)return;let n=()=>{(!ht||im(ht,e))&&Vr(de(l),e.current)&&(ht=e)};return l.addEventListener("focusin",n,!1),o?.forEach(i=>i.addEventListener("focusin",n,!1)),()=>{l.removeEventListener("focusin",n,!1),o?.forEach(i=>i.removeEventListener("focusin",n,!1))}},[e,a]),ae(()=>{let o=ce(e.current?e.current[0]:void 0);if(!t)return;let l=n=>{if(n.key!=="Tab"||n.altKey||n.ctrlKey||n.metaKey||!bd(e)||n.isComposing)return;let i=o.activeElement;if(!bn(i,e)||!EC(e))return;let s=Ft.getTreeNode(e);if(!s)return;let u=s.nodeToRestore,c=Kt(o.body,{tabbable:!0});c.currentNode=i;let d=n.shiftKey?c.previousNode():c.nextNode();if((!u||!u.isConnected||u===o.body)&&(u=void 0,s.nodeToRestore=void 0),(!d||!bn(d,e))&&u){c.currentNode=u;do d=n.shiftKey?c.previousNode():c.nextNode();while(bn(d,e));n.preventDefault(),n.stopPropagation(),d?Ea(d,!0):DC(u)?Ea(u,!0):i.blur()}};return a||o.addEventListener("keydown",l,!0),()=>{a||o.removeEventListener("keydown",l,!0)}},[e,t,a]),ae(()=>{let o=ce(e.current?e.current[0]:void 0);if(!t)return;let l=Ft.getTreeNode(e);if(l)return l.nodeToRestore=r.current??void 0,()=>{let n=Ft.getTreeNode(e);if(!n)return;let i=n.nodeToRestore,s=de(o);if(t&&i&&(s&&bn(s,e)||s===o.body&&EC(e))){let u=Ft.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let c=u.getTreeNode(e);for(;c;){if(c.nodeToRestore&&c.nodeToRestore.isConnected){TC(c.nodeToRestore);return}c=c.parent}for(c=u.getTreeNode(e);c;){if(c.scopeRef&&c.scopeRef.current&&Ft.getTreeNode(c.scopeRef)){let d=RC(c.scopeRef.current,!0);if(d){TC(d);return}}c=c.parent}}})}}},[e,t])}function TC(e){e.dispatchEvent(new CustomEvent(o1,{bubbles:!0,cancelable:!0}))&&Ea(e)}function Kt(e,t,a){let r=t?.tabbable?Ms:Ns,o=e?.nodeType===Node.ELEMENT_NODE?e:null,l=ce(o),n=bp(l,e||l,NodeFilter.SHOW_ELEMENT,{acceptNode(i){return re(t?.from,i)||t?.tabbable&&i.tagName==="INPUT"&&i.getAttribute("type")==="radio"&&(!dB(i)||n.currentNode.tagName==="INPUT"&&n.currentNode.type==="radio"&&n.currentNode.name===i.name)?NodeFilter.FILTER_REJECT:r(i)&&(!a||Vr(i,a))&&(!t?.accept||t.accept(i))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t?.from&&(n.currentNode=t.from),n}function AC(e,t={}){return{focusNext(a={}){let r=e.current;if(!r)return null;let{from:o,tabbable:l=t.tabbable,wrap:n=t.wrap,accept:i=t.accept}=a,s=o||de(ce(r)),u=Kt(r,{tabbable:l,accept:i});re(r,s)&&(u.currentNode=s);let c=u.nextNode();return!c&&n&&(u.currentNode=r,c=u.nextNode()),c&&Ea(c,!0),c},focusPrevious(a=t){let r=e.current;if(!r)return null;let{from:o,tabbable:l=t.tabbable,wrap:n=t.wrap,accept:i=t.accept}=a,s=o||de(ce(r)),u=Kt(r,{tabbable:l,accept:i});if(re(r,s))u.currentNode=s;else{let d=r1(u);return d&&Ea(d,!0),d??null}let c=u.previousNode();if(!c&&n){u.currentNode=r;let d=r1(u);if(!d)return null;c=d}return c&&Ea(c,!0),c??null},focusFirst(a=t){let r=e.current;if(!r)return null;let{tabbable:o=t.tabbable,accept:l=t.accept}=a,i=Kt(r,{tabbable:o,accept:l}).nextNode();return i&&Ea(i,!0),i},focusLast(a=t){let r=e.current;if(!r)return null;let{tabbable:o=t.tabbable,accept:l=t.accept}=a,n=Kt(r,{tabbable:o,accept:l}),i=r1(n);return i&&Ea(i,!0),i??null}}}function r1(e){let t,a;do a=e.lastChild(),a&&(t=a);while(a);return t}var n1=class e{constructor(){this.fastMap=new Map,this.root=new hd({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,a,r){let o=this.fastMap.get(a??null);if(!o)return;let l=new hd({scopeRef:t});o.addChild(l),l.parent=o,this.fastMap.set(t,l),r&&(l.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let a=this.fastMap.get(t);if(!a)return;let r=a.parent;for(let l of this.traverse())l!==a&&a.nodeToRestore&&l.nodeToRestore&&a.scopeRef&&a.scopeRef.current&&Vr(l.nodeToRestore,a.scopeRef.current)&&(l.nodeToRestore=a.nodeToRestore);let o=a.children;r&&(r.removeChild(a),o.size>0&&o.forEach(l=>r&&r.addChild(l))),this.fastMap.delete(a.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let a of t.children)yield*this.traverse(a)}clone(){let t=new e;for(let a of this.traverse())t.addTreeNode(a.scopeRef,a.parent?.scopeRef??null,a.nodeToRestore);return t}},hd=class{constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}},Ft=new n1;var sm=T(R(),1);function MC(e){let{ref:t,onInteractOutside:a,isDisabled:r,onInteractOutsideStart:o}=e,l=(0,sm.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),n=at(s=>{a&&NC(s,t)&&(o&&o(s),l.current.isPointerDown=!0)}),i=at(s=>{a&&a(s)});(0,sm.useEffect)(()=>{let s=l.current;if(r)return;let u=t.current,c=ce(u);if(typeof PointerEvent<"u"){let d=f=>{s.isPointerDown&&NC(f,t)&&i(f),s.isPointerDown=!1};return c.addEventListener("pointerdown",n,!0),c.addEventListener("click",d,!0),()=>{c.removeEventListener("pointerdown",n,!0),c.removeEventListener("click",d,!0)}}},[t,r])}function NC(e,t){if(e.button>0)return!1;let a=j(e);if(a){let r=a.ownerDocument;if(!r||!re(r.documentElement,a)||a.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}var um=T(R(),1),Vo=[];function cm(e,t){let{onClose:a,shouldCloseOnBlur:r,isOpen:o,isDismissable:l=!1,isKeyboardDismissDisabled:n=!1,shouldCloseOnInteractOutside:i}=e,s=(0,um.useRef)(void 0);(0,um.useEffect)(()=>{if(o&&!Vo.includes(t))return Vo.push(t),()=>{let m=Vo.indexOf(t);m>=0&&Vo.splice(m,1)}},[o,t]);let u=()=>{Vo[Vo.length-1]===t&&a&&a()},c=m=>{let p=Vo[Vo.length-1];s.current=p,(!i||i(j(m)))&&p===t&&m.stopPropagation()},d=m=>{(!i||i(j(m)))&&(Vo[Vo.length-1]===t&&m.stopPropagation(),s.current===t&&u()),s.current=void 0},{keyboardProps:f}=oa({shortcuts:{Escape:()=>{if(!n){u();return}return!1}}});MC({ref:t,onInteractOutside:l&&o?d:void 0,onInteractOutsideStart:c});let{focusWithinProps:b}=Io({isDisabled:!r,onBlurWithin:m=>{!m.relatedTarget||kC(m.relatedTarget)||(!i||i(m.relatedTarget))&&a?.()}});return{overlayProps:{...f,...b},underlayProps:{}}}var i1=typeof document<"u"&&window.visualViewport,dm=0,s1;function fm(e={}){let{isDisabled:t,UNSTABLE_overrideFocus:a}=e;ae(()=>{if(!t)return dm++,dm===1&&(Wa()&&Gt()?s1=gB():s1=hB(a)),()=>{dm--,dm===0&&s1()}},[t,a])}function hB(e){let t=window.innerWidth-document.documentElement.clientWidth;return Rt(t>0&&("scrollbarGutter"in document.documentElement.style?Ro(document.documentElement,"scrollbar-gutter","stable"):Ro(document.documentElement,"padding-right",`${t}px`)),Ro(document.documentElement,"overflow","hidden"),e&&LC(),e&&Kc()&&PC())}function gB(){let e=Ro(document.documentElement,"overflow","hidden"),t,a=!1,r=u=>{let c=j(u);t=La(c,!0)?c:Ir(c,!0),a=!1;let d=c.ownerDocument.defaultView.getSelection();d&&!d.isCollapsed&&d.containsNode(c,!0)&&(a=!0),u.composedPath().some(f=>f instanceof HTMLInputElement&&f.type==="range")&&(a=!0),"selectionStart"in c&&"selectionEnd"in c&&c.selectionStart<c.selectionEnd&&c.ownerDocument.activeElement===c&&(a=!0)},o=document.createElement("style"),l=wp();l&&(o.nonce=l),o.textContent=`\n@layer {\n * {\n overscroll-behavior: contain;\n }\n}`.trim(),document.head.prepend(o);let n=u=>{if(!(u.touches.length===2||a)){if(!t||t===document.documentElement||t===document.body){u.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&u.preventDefault()}},i=LC(),s=Rt(qt(document,"touchstart",r,{passive:!1,capture:!0}),qt(document,"touchmove",n,{passive:!1,capture:!0}),PC());return()=>{e(),s(),o.remove(),i()}}function PC(){return qt(document,"blur",t=>{let a=j(t),r=t.relatedTarget;r&&fl(r)?r.focus():r||a.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},!0)}function LC(){let e=HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(t){if(e.call(this,{...t,preventScroll:!0}),!t||!t.preventScroll){let a=()=>{de()===this&&$B(this)};pl(r=>r?a():Qh(()=>a()))}}}),()=>{Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:e})}}function $B(e){let t=document.scrollingElement||document.documentElement,a=e;for(;a&&a!==t&&a.isConnected;){let r=Ir(a);if(r!==document.documentElement&&r!==document.body&&r!==a){let o=r.getBoundingClientRect(),l=a.getBoundingClientRect();if(l.top<o.top||l.bottom>o.top+a.clientHeight){let n=o.bottom;i1&&(n=Math.min(n,i1.offsetTop+i1.height));let i=l.top-o.top-((n-o.top)/2-l.height/2);r.scrollTo({top:Math.max(0,Math.min(r.scrollHeight-r.clientHeight,r.scrollTop+i)),behavior:"smooth"})}}a=r.parentElement}}var BC=T(R(),1);function u1(e,t){let{triggerRef:a,popoverRef:r,groupRef:o,isNonModal:l,isKeyboardDismissDisabled:n,shouldCloseOnInteractOutside:i,...s}=e,u=s.trigger==="SubmenuTrigger",{overlayProps:c,underlayProps:d}=cm({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!l||u,isKeyboardDismissDisabled:n,shouldCloseOnInteractOutside:i},o??r),{overlayProps:f,arrowProps:b,placement:m,triggerAnchorPoint:p}=SC({...s,targetRef:a,overlayRef:r,isOpen:t.isOpen,onClose:l&&!u?t.close:null,getTargetRect:s.getTargetRect??(t.point?()=>new DOMRect(t.point.x,t.point.y,0,0):void 0)});fm({isDisabled:l||!t.isOpen}),(0,BC.useEffect)(()=>{if(t.isOpen&&r.current)return l?om(o?.current??r.current):rm([o?.current??r.current],{shouldUseInert:!0})},[l,t.isOpen,r,o]);let{focusWithinProps:x}=Io(e);return{popoverProps:O(c,f,x),arrowProps:b,underlayProps:d,placement:m,triggerAnchorPoint:p}}var c1={};c1={dismiss:"\\u062A\\u062C\\u0627\\u0647\\u0644"};var d1={};d1={dismiss:"\\u041E\\u0442\\u0445\\u0432\\u044A\\u0440\\u043B\\u044F\\u043D\\u0435"};var f1={};f1={dismiss:"Odstranit"};var p1={};p1={dismiss:"Luk"};var m1={};m1={dismiss:"Schlie\\xDFen"};var b1={};b1={dismiss:"\\u0391\\u03C0\\u03CC\\u03C1\\u03C1\\u03B9\\u03C8\\u03B7"};var h1={};h1={dismiss:"Dismiss"};var g1={};g1={dismiss:"Descartar"};var $1={};$1={dismiss:"L\\xF5peta"};var x1={};x1={dismiss:"Hylk\\xE4\\xE4"};var v1={};v1={dismiss:"Rejeter"};var y1={};y1={dismiss:"\\u05D4\\u05EA\\u05E2\\u05DC\\u05DD"};var C1={};C1={dismiss:"Odbaci"};var S1={};S1={dismiss:"Elutas\\xEDt\\xE1s"};var w1={};w1={dismiss:"Ignora"};var E1={};E1={dismiss:"\\u9589\\u3058\\u308B"};var T1={};T1={dismiss:"\\uBB34\\uC2DC"};var D1={};D1={dismiss:"Atmesti"};var k1={};k1={dismiss:"Ner\\u0101d\\u012Bt"};var R1={};R1={dismiss:"Lukk"};var A1={};A1={dismiss:"Negeren"};var N1={};N1={dismiss:"Zignoruj"};var M1={};M1={dismiss:"Descartar"};var P1={};P1={dismiss:"Dispensar"};var L1={};L1={dismiss:"Revocare"};var B1={};B1={dismiss:"\\u041F\\u0440\\u043E\\u043F\\u0443\\u0441\\u0442\\u0438\\u0442\\u044C"};var z1={};z1={dismiss:"Zru\\u0161i\\u0165"};var O1={};O1={dismiss:"Opusti"};var I1={};I1={dismiss:"Odbaci"};var F1={};F1={dismiss:"Avvisa"};var K1={};K1={dismiss:"Kapat"};var V1={};V1={dismiss:"\\u0421\\u043A\\u0430\\u0441\\u0443\\u0432\\u0430\\u0442\\u0438"};var _1={};_1={dismiss:"\\u53D6\\u6D88"};var H1={};H1={dismiss:"\\u95DC\\u9589"};var j1={};j1={"ar-AE":c1,"bg-BG":d1,"cs-CZ":f1,"da-DK":p1,"de-DE":m1,"el-GR":b1,"en-US":h1,"es-ES":g1,"et-EE":$1,"fi-FI":x1,"fr-FR":v1,"he-IL":y1,"hr-HR":C1,"hu-HU":S1,"it-IT":w1,"ja-JP":E1,"ko-KR":T1,"lt-LT":D1,"lv-LV":k1,"nb-NO":R1,"nl-NL":A1,"pl-PL":N1,"pt-BR":M1,"pt-PT":P1,"ro-RO":L1,"ru-RU":B1,"sk-SK":z1,"sl-SI":O1,"sr-SP":I1,"sv-SE":F1,"tr-TR":K1,"uk-UA":V1,"zh-CN":_1,"zh-TW":H1};var xB=Symbol.for("react-aria.i18n.locale"),vB=Symbol.for("react-aria.i18n.strings"),pm,Ys=class e{constructor(t,a="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=a}getStringForLocale(t,a){let o=this.getStringsForLocale(a)[t];if(!o)throw new Error(`Could not find intl message ${t} in ${a} locale`);return o}getStringsForLocale(t){let a=this.strings[t];return a||(a=yB(t,this.strings,this.defaultLocale),this.strings[t]=a),a}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let a=window[xB];if(pm===void 0){let o=window[vB];if(!o)return null;pm={};for(let l in o)pm[l]=new e({[a]:o[l]},a)}let r=pm?.[t];if(!r)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}};function yB(e,t,a="en-US"){if(t[e])return t[e];let r=CB(e),o=SB(e);if(o&&t[`${r}-${o}`])return t[`${r}-${o}`];if(t[r])return t[r];for(let l in t)if(l.startsWith(r+"-"))return t[l];return t[a]}function CB(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}function SB(e){if(Intl.Locale)return new Intl.Locale(e).script}var zC=new Map,OC=new Map,gd=class{constructor(t,a){this.locale=t,this.strings=a}format(t,a){let r=this.strings.getStringForLocale(t,this.locale);return typeof r=="function"?r(a,this):r}plural(t,a,r="cardinal"){let o=a["="+t];if(o)return typeof o=="function"?o():o;let l=this.locale+":"+r,n=zC.get(l);n||(n=new Intl.PluralRules(this.locale,{type:r}),zC.set(l,n));let i=n.select(t);return o=a[i]||a.other,typeof o=="function"?o():o}number(t){let a=OC.get(this.locale);return a||(a=new Intl.NumberFormat(this.locale),OC.set(this.locale,a)),a.format(t)}select(t,a){let r=t[a]||t.other;return typeof r=="function"?r():r}};var FC=T(R(),1),IC=new WeakMap;function wB(e){let t=IC.get(e);return t||(t=new Ys(e),IC.set(e,t)),t}function KC(e,t){return t&&Ys.getGlobalDictionaryForPackage(t)||wB(e)}function it(e,t){let{locale:a}=Fe(),r=KC(e,t);return(0,FC.useMemo)(()=>new gd(a,r),[a,r])}var Ws=T(R(),1),VC={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function _o(e={}){let{style:t,isFocusable:a}=e,[r,o]=(0,Ws.useState)(!1),{focusWithinProps:l}=Io({isDisabled:!a,onFocusWithinChange:i=>o(i)}),n=(0,Ws.useMemo)(()=>r?t:t?{...VC,...t}:VC,[r]);return{visuallyHiddenProps:{...l,style:n}}}function $d(e){let{children:t,elementType:a="div",isFocusable:r,style:o,...l}=e,{visuallyHiddenProps:n}=_o(e);return Ws.default.createElement(a,O(l,n),t)}var U1=T(R(),1);function EB(e){return e&&e.__esModule?e.default:e}function Xs(e){let{onDismiss:t,...a}=e,r=it(EB(j1),"@react-aria/overlays"),o=No(a,r.format("dismiss")),l=()=>{t&&t()};return U1.default.createElement($d,null,U1.default.createElement("button",{...o,tabIndex:-1,onClick:l,style:{width:1,height:1}}))}var _r=T(R(),1),G1=_r.default.forwardRef(({children:e,...t},a)=>{let r=(0,_r.useRef)(!1),o=(0,_r.useContext)(yi),l=O(o||{},{...t,register(){r.current=!0,o&&o.register()}});return l.ref=nt(a||o?.ref),As(o,l.ref),(0,_r.useEffect)(()=>{r.current||(r.current=!0)},[]),_r.default.createElement(yi.Provider,{value:l},e)});function q1({children:e}){let t=(0,_r.useMemo)(()=>({register:()=>{}}),[]);return _r.default.createElement(yi.Provider,{value:t},e)}var xd=T(R(),1),TB=(0,xd.createContext)({});function _C(){return(0,xd.useContext)(TB)??{}}var Hr=T(R(),1),HC=T(mo(),1),jC=Hr.default.createContext(null);function Zs(e){let t=Pa(),{portalContainer:a=t?null:document.body,isExiting:r}=e,[o,l]=(0,Hr.useState)(!1),n=(0,Hr.useMemo)(()=>({contain:o,setContain:l}),[o,l]),{getContainer:i}=_C();if(!e.portalContainer&&i&&(a=i()),!a)return null;let s=e.children;return e.disableFocusManagement||(s=Hr.default.createElement(Ti,{restoreFocus:!0,contain:(e.shouldContainFocus||o)&&!r},s)),s=Hr.default.createElement(jC.Provider,{value:n},Hr.default.createElement(q1,null,Hr.default.createElement(_s.Provider,{value:null},s))),HC.default.createPortal(s,a)}function mm(){let t=(0,Hr.useContext)(jC)?.setContain;ae(()=>{t?.(!0)},[t])}var Qs=T(R(),1);function Cl(e){let[t,a]=Bt(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[r,o]=(0,Qs.useState)(null),l=(0,Qs.useCallback)(()=>{a(!0)},[a]),n=(0,Qs.useCallback)(()=>{a(!1)},[a]),i=(0,Qs.useCallback)(()=>{a(!t)},[a,t]);return{isOpen:t,setOpen:a,open:l,close:n,toggle:i,point:r,setPoint:o}}var Oe=T(R(),1);var Sl=(0,Oe.createContext)(null),UC=(0,Oe.createContext)(null),Y1=(0,Oe.forwardRef)(function(t,a){[t,a]=Te(t,a,Sl);let r=(0,Oe.useContext)(Ta),o=Cl(t),l=t.isOpen!=null||t.defaultOpen!=null||!r?o:r,n=cn(a,l.isOpen),i=t.isExiting||!t.shouldSkipAnimation&&n||!1,s=Zc(),{direction:u}=Fe();if(s){let c=t.children;return typeof c=="function"&&(c=c({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),Oe.default.createElement(Oe.default.Fragment,null,c)}return l&&!l.isOpen&&!i?null:Oe.default.createElement(DB,{...t,triggerRef:t.triggerRef,state:l,popoverRef:a,isExiting:i,dir:u})});function DB({state:e,isExiting:t,UNSTABLE_portalContainer:a,clearContexts:r,...o}){let l=(0,Oe.useRef)(null),n=(0,Oe.useRef)(null),i=(0,Oe.useContext)(UC),s=i&&o.trigger==="SubmenuTrigger",[u,c]=(0,Oe.useState)(!1),{popoverProps:d,underlayProps:f,arrowProps:b,placement:m,triggerAnchorPoint:p}=u1({...o,offset:o.offset??8,arrowRef:l,groupRef:s?i:n},e),x=o.popoverRef,h=un(x,!!m&&u),g=o.isEntering||!o.shouldSkipAnimation&&h||!1,$=be({...o,defaultClassName:"react-aria-Popover",values:{trigger:o.trigger||null,placement:m,isEntering:g,isExiting:t}}),v=!o.isNonModal||o.trigger==="SubmenuTrigger"||o.trigger==="PreviewTrigger",[y,E]=(0,Oe.useState)(o.trigger==="PreviewTrigger");ae(()=>{x.current&&E(v&&!x.current.querySelector("[role=dialog]"))},[x,v]),(0,Oe.useEffect)(()=>{y&&o.trigger!=="PreviewTrigger"&&(o.trigger!=="SubmenuTrigger"||Oo()!=="pointer")&&x.current&&!fr(x.current)&&rt(x.current)},[y,x,o.trigger]);let C=(0,Oe.useMemo)(()=>{let ne=$.children;for(let M of[Sl,...r??[]])ne=Oe.default.createElement(M.Provider,{value:null},ne);return ne},[$.children,r]),[S,D]=(0,Oe.useState)(null),k=(0,Oe.useCallback)(()=>{o.triggerRef.current&&D(o.triggerRef.current.getBoundingClientRect().width+"px")},[o.triggerRef]);ae(k,[k]),on({ref:$.style?.["--trigger-width"]?void 0:o.triggerRef,onResize:k});let _={...d.style,"--trigger-anchor-point":p?`${p.x}px ${p.y}px`:void 0,...$.style,"--trigger-width":$.style?.["--trigger-width"]||S};ae(()=>pl(()=>c(!0)),[]);let J=Oe.default.createElement(le.div,{...O(te(o,{global:!0}),d),...$,id:y?o.id:void 0,role:y?"dialog":void 0,tabIndex:y?-1:void 0,"aria-label":o["aria-label"],"aria-labelledby":o["aria-labelledby"],ref:x,slot:o.slot||void 0,style:_,dir:o.dir,"data-trigger":o.trigger,"data-placement":m,"data-entering":g||void 0,"data-exiting":t||void 0},!o.isNonModal&&Oe.default.createElement(Xs,{onDismiss:e.close}),Oe.default.createElement(dC.Provider,{value:{...b,placement:m,ref:l}},C),Oe.default.createElement(Xs,{onDismiss:e.close}));return s?Oe.default.createElement(Zs,{...o,shouldContainFocus:y&&o.trigger!=="PreviewTrigger",isExiting:t,portalContainer:a??i?.current??void 0},J):Oe.default.createElement(Zs,{...o,shouldContainFocus:y&&o.trigger!=="PreviewTrigger",isExiting:t,portalContainer:a},!o.isNonModal&&e.isOpen&&Oe.default.createElement("div",{"data-testid":"underlay",...f,style:{position:"fixed",inset:0}}),Oe.default.createElement("div",{ref:n,style:{display:"contents"}},Oe.default.createElement(UC.Provider,{value:n},J)))}var Xt=class{constructor(t){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=t}get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new this.constructor(this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}filter(t,a,r){let o=this.clone();return a.addDescendants(o,t),o}},hn=class extends Xt{filter(t,a,r){let[o,l]=GC(t,a,this.firstChildKey,r),n=this.clone();return n.firstChildKey=o,n.lastChildKey=l,n}},W1=class extends Xt{static{this.type="header"}},wl=class extends Xt{static{this.type="loader"}},Js=class extends hn{static{this.type="item"}filter(t,a,r){if(r(this.textValue,this)){let o=this.clone();return a.addDescendants(o,t),o}return null}},eu=class extends hn{static{this.type="section"}filter(t,a,r){let o=super.filter(t,a,r);if(o&&o.lastChildKey!==null){let l=t.getItem(o.lastChildKey);if(l&&l.type!=="header")return o}return null}},Di=class{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let a=this.keyMap;return{*[Symbol.iterator](){let r=a.get(t),o=r?.firstChildKey!=null?a.get(r.firstChildKey):null;for(;o;)yield o,o=o.nextKey!=null?a.get(o.nextKey):void 0}}}getKeyBefore(t){let a=this.keyMap.get(t);if(!a)return null;if(a.prevKey!=null){for(a=this.keyMap.get(a.prevKey);a&&a.type!=="item"&&a.lastChildKey!=null;)a=this.keyMap.get(a.lastChildKey);return a?.key??null}return a.parentKey}getKeyAfter(t){let a=this.keyMap.get(t);if(!a)return null;if(a.type!=="item"&&a.firstChildKey!=null)return a.firstChildKey;for(;a;){if(a.nextKey!=null)return a.nextKey;if(a.parentKey!=null)a=this.keyMap.get(a.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;t?.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}getItem(t){return this.keyMap.get(t)??null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,a=new t;return a.keyMap=new Map(this.keyMap),a.firstKey=this.firstKey,a.lastKey=this.lastKey,a.itemCount=this.itemCount,a}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");t.type==="item"&&this.keyMap.get(t.key)==null&&this.itemCount++,this.keyMap.set(t.key,t)}addDescendants(t,a){this.addNode(t);let r=a.getChildren(t.key);for(let o of r)this.addDescendants(o,a)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let a=this.keyMap.get(t);a!=null&&a.type==="item"&&this.itemCount--,this.keyMap.delete(t)}commit(t,a,r=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=a,this.frozen=!r}filter(t){let a=new this.constructor,[r,o]=GC(this,a,this.firstKey,t);return a?.commit(r,o),a}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}};function GC(e,t,a,r){if(a==null)return[null,null];let o=null,l=null,n=e.getItem(a);for(;n!=null;){let i=n.filter(e,t,r);i!=null&&(i.nextKey=null,l&&(i.prevKey=l.key,l.nextKey=i.key),o==null&&(o=i),t.addNode(i),l=i),n=n.nextKey!=null?e.getItem(n.nextKey):null}if(l&&l.type==="separator"){let i=l.prevKey;t.removeNode(l.key),i!=null?(l=t.getItem(i),l.nextKey=null):l=null}return[o?.key??null,l?.key??null]}var bm=class{constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=t}*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(t){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||t.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=t,this.ownerDocument.markDirty(this))}updateChildIndices(){let t=this._minInvalidChildIndex;for(;t;)t.index=t.previousSibling?t.previousSibling.index+1:0,t=t.nextSibling;this._minInvalidChildIndex=null}appendChild(t){t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(t,a){if(a==null)return this.appendChild(t);t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=a,t.previousSibling=a.previousSibling,t.index=a.index-1,this.firstChild===a?this.firstChild=t:a.previousSibling&&(a.previousSibling.nextSibling=t),a.previousSibling=t,t.parentNode=a.parentNode,this.invalidateChildIndices(t),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(t){t.parentNode===this&&(this._minInvalidChildIndex===t&&(this._minInvalidChildIndex=null),t.nextSibling&&(this.invalidateChildIndices(t.nextSibling),t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.markDirty(t),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let t=this.previousSibling;for(;t&&t.isHidden;)t=t.previousSibling;return t}get nextVisibleSibling(){let t=this.nextSibling;for(;t&&t.isHidden;)t=t.nextSibling;return t}get firstVisibleChild(){let t=this.firstChild;for(;t&&t.isHidden;)t=t.nextSibling;return t}get lastVisibleChild(){let t=this.lastChild;for(;t&&t.isHidden;)t=t.previousSibling;return t}},vd=class e extends bm{constructor(t,a){super(a),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof e?this.parentNode.level+(this.parentNode.node?.type==="item"?1:0):0}getMutableNode(){return this.node==null?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,a=this.getMutableNode();if(a!=null&&(a.index=this.index,a.level=this.level,a.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,a.prevKey=this.previousVisibleSibling?.node?.key??null,a.nextKey=t?.node?.key??null,a.hasChildNodes=!!this.firstChild,a.firstChildKey=this.firstVisibleChild?.node?.key??null,a.lastChildKey=this.lastVisibleChild?.node?.key??null,(a.colSpan!=null||a.colIndex!=null)&&t)){let r=(a.colIndex??a.index)+(a.colSpan??1);if(t.node!=null&&r!==t.node.colIndex){let o=t.getMutableNode();o.colIndex=r}}}setProps(t,a,r,o,l){let n,{value:i,textValue:s,id:u,...c}=t;if(this.node==null?(n=new r(u??`react-aria-${++this.ownerDocument.nodeId}`),this.node=n):n=this.getMutableNode(),c.ref=a,n.props=c,n.rendered=o,n.render=l,n.value=i,t["aria-label"]&&(n["aria-label"]=t["aria-label"]),n.textValue=s||(typeof c.children=="string"?c.children:"")||t["aria-label"]||"",u!=null&&u!==n.key)throw new Error("Cannot change the id of an item");c.colSpan!=null&&(n.colSpan=c.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let t=this;return{get display(){return t.isHidden?"none":""},set display(a){let r=a==="none";if(t.isHidden!==r){(t.parentNode?.firstVisibleChild===t||t.parentNode?.lastVisibleChild===t)&&t.ownerDocument.markDirty(t.parentNode);let o=t.previousVisibleSibling,l=t.nextVisibleSibling;o&&t.ownerDocument.markDirty(o),l&&t.ownerDocument.markDirty(l),t.isHidden=r,t.ownerDocument.markDirty(t)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}},hm=class extends bm{constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.keyOwners=new Map,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=t,this.nextCollection=t}get isConnected(){return!0}createElement(t){return new vd(t,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(t){this.dirtyNodes.add(t)}addNode(t){if(t.isHidden||t.node==null)return;let a=this.getMutableCollection();if(!a.getItem(t.node.key))for(let r of t)this.addNode(r);a.addNode(t.node)}removeNode(t){for(let a of t)this.removeNode(a);t.node&&this.getMutableCollection().removeNode(t.node.key)}getCollection(){return this.inSubscription?this.collection:(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let t of this.dirtyNodes)t instanceof vd&&(!t.isConnected||t.isHidden)?this.removeNode(t):t.updateChildIndices();for(let t of this.dirtyNodes)t instanceof vd?(t.isConnected&&!t.isHidden&&(t.updateNode(),this.addNode(t)),t.node&&this.dirtyNodes.delete(t),t.isMutated=!1):this.dirtyNodes.delete(t);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone());for(let t of this.subscriptions)t();this.inSubscription=!1}}subscribe(t){return this.subscriptions.add(t),this.queuedRender&&t(),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0,this.keyOwners.clear())}};var tu=T(R(),1);function ki(e){let{children:t,items:a,idScope:r,addIdAndValue:o,dependencies:l=[]}=e,n=(0,tu.useMemo)(()=>{},[t]),i=(0,tu.useMemo)(()=>new WeakMap,[...l,n]);return(0,tu.useMemo)(()=>{if(a&&typeof t=="function"){let s=[];for(let u of a){let c=kB(u)?u:null,d=c?i.get(c):null;if(!d){d=t(u);let f=d.props.id??u?.key??u?.id;r!=null&&d.props.id==null&&f!=null&&(f=r+":"+f);let b=f??s.length;d=(0,tu.cloneElement)(d,o?{key:b,id:f,value:u}:{key:b}),c&&i.set(c,d)}s.push(d)}return s}else if(typeof t!="function")return t},[t,a,i,r,o])}function kB(e){switch(typeof e){case"object":return e!=null;case"function":case"symbol":return!0;default:return!1}}var QC=T(mo(),1),ge=T(R(),1),JC=T(XC(),1),eS=(0,ge.createContext)(!1),yd=(0,ge.createContext)(null);function Ho(e){if((0,ge.useContext)(yd))return e.content;let{collection:a,document:r}=VB(e.createCollection);return ge.default.createElement(ge.default.Fragment,null,ge.default.createElement(B9,null,ge.default.createElement(yd.Provider,{value:r},e.content)),ge.default.createElement(IB,{render:e.children,collection:a}))}function IB({collection:e,render:t}){return t(e)}function FB(e,t,a){let r=Pa(),o=(0,ge.useRef)(r);o.current=r;let l=(0,ge.useCallback)(()=>o.current?a():t(),[t,a]);return(0,JC.useSyncExternalStore)(e,l)}var KB=typeof ge.default.useSyncExternalStore=="function"?ge.default.useSyncExternalStore:FB;function VB(e){let[t]=(0,ge.useState)(()=>new hm(e?.()||new Di)),a=(0,ge.useCallback)(n=>t.subscribe(n),[t]),r=(0,ge.useCallback)(()=>{let n=t.getCollection();return t.isSSR&&t.resetAfterSSR(),n},[t]),o=(0,ge.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:KB(a,r,o),document:t}}var Z1=(0,ge.createContext)(null);function _B(e){return class extends Xt{static{this.type=e}}}function tS(e,t,a,r,o,l){typeof e=="string"&&(e=_B(e));let n=(0,ge.useCallback)(s=>{s?.setProps(t,a,e,r,l)},[t,a,r,l,e]),i=(0,ge.useContext)(Z1);if(i){let s=i.ownerDocument.nodesByProps.get(t);return s||(s=i.ownerDocument.createElement(e.type),s.setProps(t,a,e,r,l),i.appendChild(s),i.ownerDocument.updateCollection(),i.ownerDocument.nodesByProps.set(t,s)),o?ge.default.createElement(Z1.Provider,{value:s},o):null}return ge.default.createElement(e.type,{ref:n},o)}function jr(e,t){let a=({node:o})=>t(o.props,o.props.ref,o),r=(0,ge.forwardRef)((o,l)=>{let n=(0,ge.useContext)(_s);if(!(0,ge.useContext)(eS)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(o,l)}return tS(e,o,l,"children"in o?o.children:null,null,s=>ge.default.createElement(_s.Provider,{value:n},ge.default.createElement(a,{node:s})))});return r.displayName=t.name,r}function gn(e,t,a=aS){let r=({node:l})=>t(l.props,l.props.ref,l),o=(0,ge.forwardRef)((l,n)=>{let i=a(l);return tS(e,l,n,null,i,s=>ge.default.createElement(r,{node:s}))??ge.default.createElement(ge.default.Fragment,null)});return o.displayName=t.name,o}function aS(e){return ki({...e,addIdAndValue:!0})}var ZC=(0,ge.createContext)(null);function gr(e){let t=(0,ge.useContext)(ZC),a=(t?.dependencies||[]).concat(e.dependencies),r=e.idScope??t?.idScope,o=aS({...e,idScope:r,dependencies:a});return(0,ge.useContext)(yd)&&(o=ge.default.createElement(HB,null,o)),t=(0,ge.useMemo)(()=>({dependencies:a,idScope:r}),[r,...a]),ge.default.createElement(ZC.Provider,{value:t},o)}function HB({children:e}){let t=(0,ge.useContext)(yd),a=(0,ge.useMemo)(()=>ge.default.createElement(yd.Provider,{value:null},ge.default.createElement(eS.Provider,{value:!0},e)),[e]);return Pa()?ge.default.createElement(Z1.Provider,{value:t},a):(0,QC.createPortal)(a,t)}var Ia=T(R(),1);var oS=(0,Ia.createContext)(null);var ru={CollectionRoot({collection:e,renderDropIndicator:t}){return rS(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:a}){return rS(e,t,a)}};function rS(e,t,a){return ki({items:t?e.getChildren(t.key):e,dependencies:[a],children(r){if(r.type==="content")return Ia.default.createElement(Ia.default.Fragment,null);let o=r.render(r);return!a||r.type!=="item"?o:Ia.default.createElement(Ia.default.Fragment,null,a({type:"item",key:r.key,dropPosition:"before"}),o,jB(e,r,a))}})}function jB(e,t,a){let r=t.key,o=e.getKeyAfter(r),l=o!=null?e.getItem(o):null;for(;l!=null&&l.type!=="item";)o=e.getKeyAfter(l.key),l=o!=null?e.getItem(o):null;let n=t.nextKey!=null?e.getItem(t.nextKey):null;for(;n!=null&&n.type!=="item";)n=n.nextKey!=null?e.getItem(n.nextKey):null;let i=[];if(n==null){let s=t;for(;s?.type==="item"&&(!l||s.parentKey!==l.parentKey&&l.level<s.level);){let u=a({type:"item",key:s.key,dropPosition:"after"});(0,Ia.isValidElement)(u)&&i.push((0,Ia.cloneElement)(u,{key:`${s.key}-after`})),s=s.parentKey!=null?e.getItem(s.parentKey):null}}return i}var st=(0,Ia.createContext)(ru);function lS(e){return(0,Ia.useMemo)(()=>e!=null?new Set([e]):null,[e])}function gm(e){let t=GB(ce(e));t!==e&&(t&&UB(t,e),e&&Q1(e,t))}function UB(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function Q1(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function GB(e){let t=de(e),a=t?.getAttribute("aria-activedescendant");return a&&e.getElementById(a)||t}var Cd=T(R(),1);var Sd=(0,Cd.createContext)(null),$m=(0,Cd.createContext)(null);var J1=T(R(),1),nS=(0,J1.createContext)({});var e$=T(mo(),1),$r=T(R(),1);var iS=(0,$r.createContext)(null);function $n(e){let t=(0,$r.useRef)({});return $r.default.createElement(iS.Provider,{value:t},e.children)}var sS=(0,$r.forwardRef)(function(t,a){let{name:r,isVisible:o=!0,children:l,className:n,style:i,render:s,...u}=t,[c,d]=(0,$r.useState)(o?"visible":"hidden"),f=(0,$r.useContext)(iS);if(!f)throw new Error("<SharedElement> must be rendered inside a <SharedElementTransition>");o&&c==="hidden"&&d("visible"),a=nt(a),ae(()=>{let m=a.current,p=f.current,x=p[r],h=null;if(m&&o&&x){d("visible");let g=m.getAnimations(),$=x.style.map(([v,y])=>{let E=m.style[v];if(v==="translate"){let C=x.rect,S=m.getBoundingClientRect(),D=C.left-S?.left,k=C.top-S?.top;m.style.translate=`${D}px ${k}px`}else m.style[v]=y;return[v,E]});for(let v of m.getAnimations())g.includes(v)||v.cancel();h=requestAnimationFrame(()=>{h=null;for(let[v,y]of $)m.style[v]=y}),delete p[r]}else m&&o&&!x?(queueMicrotask(()=>(0,e$.flushSync)(()=>d("entering"))),h=requestAnimationFrame(()=>{h=null,d("visible")})):m&&!o&&queueMicrotask(()=>{p[r]?(delete p[r],(0,e$.flushSync)(()=>d("exiting")),Promise.all(m.getAnimations().map(g=>g.finished)).then(()=>d("hidden")).catch(()=>{})):d("hidden")});return()=>{if(h!=null&&cancelAnimationFrame(h),m&&m.isConnected&&!m.hasAttribute("data-exiting")){let g=window.getComputedStyle(m);if(g.transitionProperty!=="none"){let $=g.transitionProperty.split(/\\s*,\\s*/);p[r]={rect:m.getBoundingClientRect(),style:$.map(v=>[v,g[v]])}}}}},[a,f,r,o]);let b=be({children:l,className:n,style:i,render:s,values:{isEntering:c==="entering",isExiting:c==="exiting"}});return c==="hidden"?null:$r.default.createElement(le.div,{...u,...b,ref:a,"data-entering":c==="entering"||void 0,"data-exiting":c==="exiting"||void 0})});var ou=T(R(),1),jo=(0,ou.createContext)({isSelected:!1}),t$=(0,ou.forwardRef)(function(t,a){[t,a]=Te(t,a,jo);let{isSelected:r,...o}=t;return ou.default.createElement(sS,{...o,ref:a,className:t.className||"react-aria-SelectionIndicator",name:"SelectionIndicator",isVisible:r})});var a$=T(R(),1),cS=(0,a$.createContext)({}),uS=class extends Xt{static{this.type="separator"}filter(t,a){let r=a.getItem(this.prevKey);if(r&&r.type!=="separator"){let o=this.clone();return a.addDescendants(o,t),o}return null}};var r$=T(R(),1),Ur=(0,r$.createContext)({});var o$={};o$={longPressMessage:"\\u0627\\u0636\\u063A\\u0637 \\u0645\\u0637\\u0648\\u0644\\u0627\\u064B \\u0623\\u0648 \\u0627\\u0636\\u063A\\u0637 \\u0639\\u0644\\u0649 Alt + \\u0627\\u0644\\u0633\\u0647\\u0645 \\u0644\\u0623\\u0633\\u0641\\u0644 \\u0644\\u0641\\u062A\\u062D \\u0627\\u0644\\u0642\\u0627\\u0626\\u0645\\u0629"};var l$={};l$={longPressMessage:"\\u041D\\u0430\\u0442\\u0438\\u0441\\u043D\\u0435\\u0442\\u0435 \\u043F\\u0440\\u043E\\u0434\\u044A\\u043B\\u0436\\u0438\\u0442\\u0435\\u043B\\u043D\\u043E \\u0438\\u043B\\u0438 \\u043D\\u0430\\u0442\\u0438\\u0441\\u043D\\u0435\\u0442\\u0435 Alt+ \\u0441\\u0442\\u0440\\u0435\\u043B\\u043A\\u0430 \\u043D\\u0430\\u0434\\u043E\\u043B\\u0443, \\u0437\\u0430 \\u0434\\u0430 \\u043E\\u0442\\u0432\\u043E\\u0440\\u0438\\u0442\\u0435 \\u043C\\u0435\\u043D\\u044E\\u0442\\u043E"};var n$={};n$={longPressMessage:"Dlouh\\xFDm stiskem nebo stisknut\\xEDm kl\\xE1ves Alt + \\u0161ipka dol\\u016F otev\\u0159ete nab\\xEDdku"};var i$={};i$={longPressMessage:"Langt tryk eller tryk p\\xE5 Alt + pil ned for at \\xE5bne menuen"};var s$={};s$={longPressMessage:"Dr\\xFCcken Sie lange oder dr\\xFCcken Sie Alt + Nach-unten, um das Men\\xFC zu \\xF6ffnen"};var u$={};u$={longPressMessage:"\\u03A0\\u03B9\\u03AD\\u03C3\\u03C4\\u03B5 \\u03C0\\u03B1\\u03C1\\u03B1\\u03C4\\u03B5\\u03C4\\u03B1\\u03BC\\u03AD\\u03BD\\u03B1 \\u03AE \\u03C0\\u03B1\\u03C4\\u03AE\\u03C3\\u03C4\\u03B5 Alt + \\u03BA\\u03AC\\u03C4\\u03C9 \\u03B2\\u03AD\\u03BB\\u03BF\\u03C2 \\u03B3\\u03B9\\u03B1 \\u03BD\\u03B1 \\u03B1\\u03BD\\u03BF\\u03AF\\u03BE\\u03B5\\u03C4\\u03B5 \\u03C4\\u03BF \\u03BC\\u03B5\\u03BD\\u03BF\\u03CD"};var c$={};c$={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var d$={};d$={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\\xFA"};var f$={};f$={longPressMessage:"Men\\xFC\\xFC avamiseks vajutage pikalt v\\xF5i vajutage klahve Alt + allanool"};var p$={};p$={longPressMessage:"Avaa valikko painamalla pohjassa tai n\\xE4pp\\xE4inyhdistelm\\xE4ll\\xE4 Alt + Alanuoli"};var m$={};m$={longPressMessage:"Appuyez de mani\\xE8re prolong\\xE9e ou appuyez sur Alt\\xA0+\\xA0Fl\\xE8che vers le bas pour ouvrir le menu."};var b$={};b$={longPressMessage:"\\u05DC\\u05D7\\u05E5 \\u05DC\\u05D7\\u05D9\\u05E6\\u05D4 \\u05D0\\u05E8\\u05D5\\u05DB\\u05D4 \\u05D0\\u05D5 \\u05D4\\u05E7\\u05E9 Alt + ArrowDown \\u05DB\\u05D3\\u05D9 \\u05DC\\u05E4\\u05EA\\u05D5\\u05D7 \\u05D0\\u05EA \\u05D4\\u05EA\\u05E4\\u05E8\\u05D9\\u05D8"};var h$={};h$={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var g$={};g$={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\\xEDl gombot a men\\xFC megnyit\\xE1s\\xE1hoz"};var $$={};$$={longPressMessage:"Premi a lungo o premi Alt + Freccia gi\\xF9 per aprire il menu"};var x$={};x$={longPressMessage:"\\u9577\\u62BC\\u3057\\u307E\\u305F\\u306F Alt+\\u4E0B\\u77E2\\u5370\\u30AD\\u30FC\\u3067\\u30E1\\u30CB\\u30E5\\u30FC\\u3092\\u958B\\u304F"};var v$={};v$={longPressMessage:"\\uAE38\\uAC8C \\uB204\\uB974\\uAC70\\uB098 Alt + \\uC544\\uB798\\uCABD \\uD654\\uC0B4\\uD45C\\uB97C \\uB20C\\uB7EC \\uBA54\\uB274 \\uC5F4\\uAE30"};var y$={};y$={longPressMessage:"Nor\\u0117dami atidaryti meniu, nuspaud\\u0119 palaikykite arba paspauskite \\u201EAlt + ArrowDown\\u201C."};var C$={};C$={longPressMessage:"Lai atv\\u0113rtu izv\\u0113lni, turiet nospiestu vai nospiediet tausti\\u0146u kombin\\u0101ciju Alt + lejupv\\u0113rst\\u0101 bulti\\u0146a"};var S$={};S$={longPressMessage:"Langt trykk eller trykk Alt + PilNed for \\xE5 \\xE5pne menyen"};var w$={};w$={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var E$={};E$={longPressMessage:"Naci\\u015Bnij i przytrzymaj lub naci\\u015Bnij klawisze Alt + Strza\\u0142ka w d\\xF3\\u0142, aby otworzy\\u0107 menu"};var T$={};T$={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var D$={};D$={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var k$={};k$={longPressMessage:"Ap\\u0103sa\\u021Bi lung sau ap\\u0103sa\\u021Bi pe Alt + s\\u0103geat\\u0103 \\xEEn jos pentru a deschide meniul"};var R$={};R$={longPressMessage:"\\u041D\\u0430\\u0436\\u043C\\u0438\\u0442\\u0435 \\u0438 \\u0443\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0439\\u0442\\u0435 \\u0438\\u043B\\u0438 \\u043D\\u0430\\u0436\\u043C\\u0438\\u0442\\u0435 Alt + \\u0421\\u0442\\u0440\\u0435\\u043B\\u043A\\u0430 \\u0432\\u043D\\u0438\\u0437, \\u0447\\u0442\\u043E\\u0431\\u044B \\u043E\\u0442\\u043A\\u0440\\u044B\\u0442\\u044C \\u043C\\u0435\\u043D\\u044E"};var A$={};A$={longPressMessage:"Ponuku otvor\\xEDte dlh\\xFDm stla\\u010Den\\xEDm alebo stla\\u010Den\\xEDm kl\\xE1vesu Alt + kl\\xE1vesu so \\u0161\\xEDpkou nadol"};var N$={};N$={longPressMessage:"Za odprtje menija pritisnite in dr\\u017Eite gumb ali pritisnite Alt+pu\\u0161\\u010Dica navzdol"};var M$={};M$={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var P$={};P$={longPressMessage:"H\\xE5ll nedtryckt eller tryck p\\xE5 Alt + pil ned\\xE5t f\\xF6r att \\xF6ppna menyn"};var L$={};L$={longPressMessage:"Men\\xFCy\\xFC a\\xE7mak i\\xE7in uzun bas\\u0131n veya Alt + A\\u015Fa\\u011F\\u0131 Ok tu\\u015Funa bas\\u0131n"};var B$={};B$={longPressMessage:"\\u0414\\u043E\\u0432\\u0433\\u043E \\u0430\\u0431\\u043E \\u0437\\u0432\\u0438\\u0447\\u0430\\u0439\\u043D\\u043E \\u043D\\u0430\\u0442\\u0438\\u0441\\u043D\\u0456\\u0442\\u044C \\u043A\\u043E\\u043C\\u0431\\u0456\\u043D\\u0430\\u0446\\u0456\\u044E \\u043A\\u043B\\u0430\\u0432\\u0456\\u0448 Alt \\u0456 \\u0441\\u0442\\u0440\\u0456\\u043B\\u043A\\u0430 \\u0432\\u043D\\u0438\\u0437, \\u0449\\u043E\\u0431 \\u0432\\u0456\\u0434\\u043A\\u0440\\u0438\\u0442\\u0438 \\u043C\\u0435\\u043D\\u044E"};var z$={};z$={longPressMessage:"\\u957F\\u6309\\u6216\\u6309 Alt + \\u5411\\u4E0B\\u65B9\\u5411\\u952E\\u4EE5\\u6253\\u5F00\\u83DC\\u5355"};var O$={};O$={longPressMessage:"\\u9577\\u6309\\u6216\\u6309 Alt+\\u5411\\u4E0B\\u9375\\u4EE5\\u958B\\u555F\\u529F\\u80FD\\u8868"};var I$={};I$={"ar-AE":o$,"bg-BG":l$,"cs-CZ":n$,"da-DK":i$,"de-DE":s$,"el-GR":u$,"en-US":c$,"es-ES":d$,"et-EE":f$,"fi-FI":p$,"fr-FR":m$,"he-IL":b$,"hr-HR":h$,"hu-HU":g$,"it-IT":$$,"ja-JP":x$,"ko-KR":v$,"lt-LT":y$,"lv-LV":C$,"nb-NO":S$,"nl-NL":w$,"pl-PL":E$,"pt-BR":T$,"pt-PT":D$,"ro-RO":k$,"ru-RU":R$,"sk-SK":A$,"sl-SI":N$,"sr-SP":M$,"sv-SE":P$,"tr-TR":L$,"uk-UA":B$,"zh-CN":z$,"zh-TW":O$};var dS=T(R(),1),qB=500;function lu(e){let{isDisabled:t,pointerType:a,onLongPressStart:r,onLongPressEnd:o,onLongPress:l,threshold:n=qB,accessibilityDescription:i}=e,s=(0,dS.useRef)(void 0),{addGlobalListener:u,removeAllGlobalListeners:c}=Ao(),d=m=>a?m.pointerType===a:m.pointerType==="mouse"||m.pointerType==="touch",{pressProps:f}=za({isDisabled:t,onPressStart(m){if(m.continuePropagation(),d(m)){r&&r({...m,type:"longpressstart"}),s.current=setTimeout(()=>{m.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),u(m.target,"click",x=>x.preventDefault(),{once:!0}),ce(m.target).activeElement!==m.target&&ta(m.target),l&&l({...m,type:"longpress"}),s.current=void 0},n),m.pointerType==="touch"&&u(m.target,"contextmenu",x=>x.preventDefault(),{once:!0});let p=je(m.target);u(p,"pointerup",()=>{setTimeout(()=>{c()},100)},{once:!0})}},onPressEnd(m){s.current&&clearTimeout(s.current),o&&d(m)&&o({...m,type:"longpressend"})}}),b=Mo(l&&!t?i:void 0);return{longPressProps:O(f,b)}}var fS=T(R(),1);function pS(e){let{onContextMenu:t}=e,a=(0,fS.useRef)(!1),{longPressProps:r}=lu({onLongPressStart(){a.current=!1},onLongPress(o){a.current?a.current=!1:t?.({target:o.target,x:o.x,y:o.y})}});return t?{contextMenuProps:O(Wa()?r:{},{onContextMenu(o){o.stopPropagation(),o.preventDefault(),a.current=!0;let l=o.currentTarget.getBoundingClientRect();t({target:o.currentTarget,x:o.clientX-l.x,y:o.clientY-l.y})},onKeyDown(o){if(ea()&&o.ctrlKey&&o.key==="Enter"){a.current=!1;let l=o.currentTarget;o.stopPropagation(),setTimeout(()=>{if(a.current)a.current=!1;else{let n=l.getBoundingClientRect();t({target:l,x:n.width/2,y:n.height/2})}},10)}}})}:{contextMenuProps:{}}}var mS=T(R(),1);function wd(e,t,a){let{type:r}=e,{isOpen:o}=t;(0,mS.useEffect)(()=>{a&&a.current&&a1.set(a.current,t.close)});let l;r==="menu"?l=!0:r==="listbox"&&(l="listbox");let n=Ne();return{triggerProps:{"aria-haspopup":l,"aria-expanded":o,"aria-controls":o?n:void 0,onPress:t.toggle},overlayProps:{id:n}}}var bS=T(R(),1);function YB(e){return e&&e.__esModule?e.default:e}function hS(e,t,a){let{type:r="menu",isDisabled:o,trigger:l="press"}=e,n=Ne(),{triggerProps:i,overlayProps:s}=wd({type:r},t,a),u=(x,h,g="first")=>{if(!x||h.isDefaultPrevented())return!1;t.toggle(g)},{keyboardProps:c}=oa({isDisabled:o,shortcuts:{Enter:x=>u(l!=="longPress",x,"first")," ":x=>u(l!=="longPress",x,"first"),ArrowDown:x=>u(l!=="longPress",x,"first"),ArrowUp:x=>u(l!=="longPress",x,"last"),"Alt+Enter":x=>u(l==="longPress",x,"first"),"Alt+ ":x=>u(l==="longPress",x,"first"),"Alt+ArrowDown":x=>u(!0,x,"first"),"Alt+ArrowUp":x=>u(!0,x,"last")}}),d=it(YB(I$),"@react-aria/menu"),{longPressProps:f}=lu({isDisabled:o||l!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),b={preventFocusOnPress:!0,onPressStart(x){x.pointerType!=="touch"&&x.pointerType!=="keyboard"&&!o&&(ta(x.target),t.open(x.pointerType==="virtual"?"first":null))},onPress(x){x.pointerType==="touch"&&!o&&(ta(x.target),t.toggle())}};delete i.onPress;let{contextMenuProps:m}=pS({onContextMenu(x){let h=x.target.getBoundingClientRect();t.setPoint({x:h.x+x.x,y:h.y+x.y}),t.open()}});(0,bS.useEffect)(()=>{if(t.isOpen&&l==="contextMenu"){let x=h=>{(h.button===2||h.button===0&&h.ctrlKey===!0)&&j(h)===document.body&&t.close()};return document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)}},[t,l]);let p;if(l==="press")p={...b,...c};else if(l==="longPress")p={...f,...c};else if(l==="contextMenu"){p=m;let{"aria-haspopup":x,"aria-expanded":h,"aria-controls":g,...$}=i;i=$}return{menuTriggerProps:{...i,...p,id:n},menuProps:{...s,"aria-labelledby":n,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function Ed(e){return r6()?e.altKey:e.ctrlKey}function Uo(e,t){let a=`[data-key="${CSS.escape(String(t))}"]`,r=e.current?.dataset.collection;return r&&(a=`[data-collection="${CSS.escape(r)}"]${a}`),e.current?.querySelector(a)}var gS=new WeakMap;function $S(e){let t=Ne();return gS.set(e,t),t}function xS(e){return gS.get(e)}var xm=T(R(),1),vS=1e3;function vm(e){let{keyboardDelegate:t,selectionManager:a,onTypeSelect:r}=e,o=(0,xm.useRef)({search:"",timeout:void 0}),l=i=>{if(o.current.search.length>0&&i.key===" "){if(i.preventDefault(),(!("continuePropagation"in i)||"continuePropagation"in i&&!i.isPropagationStopped())&&i.stopPropagation(),o.current.search+=" ",t.getKeyForSearch!=null){let s=t.getKeyForSearch(o.current.search,a.focusedKey);s==null&&(s=t.getKeyForSearch(o.current.search)),s!=null&&(a.setFocusedKey(s),r&&r(s))}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},vS)}},n=i=>{let s=WB(i.key);if(!(!s||i.ctrlKey||i.metaKey||i.altKey||!re(i.currentTarget,j(i))||o.current.search.length===0&&s===" ")){if(o.current.search+=s,t.getKeyForSearch!=null){let u=t.getKeyForSearch(o.current.search,a.focusedKey);if(u==null&&(u=t.getKeyForSearch(o.current.search)),u!=null)a.setFocusedKey(u),r&&r(u),i.preventDefault(),"continuePropagation"in i||i.stopPropagation();else{o.current.search="",clearTimeout(o.current.timeout),o.current.timeout=void 0;return}}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},vS)}};return(0,xm.useEffect)(()=>{let i=o.current.timeout;return()=>{clearTimeout(i)}},[o]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?l:void 0,onKeyDown:t.getKeyForSearch?n:void 0}}}function WB(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}var yS=T(mo(),1),bo=T(R(),1);function nu(e){let{selectionManager:t,keyboardDelegate:a,ref:r,autoFocus:o=!1,shouldFocusWrap:l=!1,disallowEmptySelection:n=!1,disallowSelectAll:i=!1,escapeKeyBehavior:s="clearSelection",selectOnFocus:u=t.selectionBehavior==="replace",disallowTypeAhead:c=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,scrollRef:b=r,linkBehavior:m="action",UNSTABLE_focusOnEntry:p}=e,{direction:x}=Fe(),h=ul(),g=(W,Z,kt)=>{if(Z!=null){if(t.isLink(Z)&&m==="selection"&&u&&!Ed(W)){(0,yS.flushSync)(()=>{t.setFocusedKey(Z,kt)});let mt=Uo(r,Z),Pc=t.getItemProps(Z);if(mt){h.open(mt,W,Pc.href,Pc.routerOptions);return}return!1}if(t.setFocusedKey(Z,kt),t.isLink(Z)&&m==="override")return!1;if(W.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(Z);return}else if(u&&!Ed(W)){t.replaceSelection(Z);return}}return!1},$=W=>{if(a.getKeyBelow){let Z=t.focusedKey!=null?a.getKeyBelow?.(t.focusedKey):a.getFirstKey?.();if(Z==null&&l&&(Z=a.getFirstKey?.(t.focusedKey)),Z!=null){g(W,Z);return}}return!1},v=W=>{if(a.getKeyAbove){let Z=t.focusedKey!=null?a.getKeyAbove?.(t.focusedKey):a.getLastKey?.();if(Z==null&&l&&(Z=a.getLastKey?.(t.focusedKey)),Z!=null){g(W,Z);return}}return!1},y=W=>{if(a.getFirstKey){if(t.focusedKey===null&&W.shiftKey)return!1;let Z=a.getFirstKey(t.focusedKey,fi(W));if(t.setFocusedKey(Z),Z!=null){if(fi(W)&&W.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(Z);return}else if(u){t.replaceSelection(Z);return}}}return!1},E=W=>{if(a.getKeyLeftOf){let Z=t.focusedKey!=null?a.getKeyLeftOf?.(t.focusedKey):a.getFirstKey?.();if(Z==null&&l&&(Z=x==="rtl"?a.getFirstKey?.(t.focusedKey):a.getLastKey?.(t.focusedKey)),Z!=null){g(W,Z,x==="rtl"?"first":"last");return}}return!1},C=W=>{if(a.getKeyRightOf){let Z=t.focusedKey!=null?a.getKeyRightOf?.(t.focusedKey):a.getFirstKey?.();if(Z==null&&l&&(Z=x==="rtl"?a.getLastKey?.(t.focusedKey):a.getFirstKey?.(t.focusedKey)),Z!=null){g(W,Z,x==="rtl"?"last":"first");return}}return!1},S=W=>{if(a.getLastKey){if(t.focusedKey===null&&W.shiftKey)return!1;let Z=a.getLastKey(t.focusedKey,fi(W));if(t.setFocusedKey(Z),Z!=null){if(fi(W)&&W.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(Z);return}else if(u){t.replaceSelection(Z);return}}}return!1},D=W=>{if(a.getKeyPageBelow&&t.focusedKey!=null){let Z=a.getKeyPageBelow(t.focusedKey);if(Z!=null)return g(W,Z)}return!1},k=W=>{if(a.getKeyPageAbove&&t.focusedKey!=null){let Z=a.getKeyPageAbove(t.focusedKey);if(Z!=null)return g(W,Z)}return!1},_=()=>{if(t.selectionMode==="multiple"&&i!==!0){t.selectAll();return}return!1},J=()=>{if(s==="clearSelection"&&!n&&t.selectedKeys.size!==0){t.clearSelection();return}return!1},ne=()=>{if(!f&&r.current){let W=Kt(r.current,{tabbable:!0}),Z,kt;do kt=W.lastChild(),kt&&(Z=kt);while(kt);let mt=de();Z&&(!fr(Z)||mt&&!Ms(mt))&&ta(Z)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},M=()=>(!f&&r.current&&r.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1}),H=(W,Z)=>({[ea()?W+"+Shift+Alt":W+"+Shift+Control"]:Z,[W+"+Shift"]:Z,[ea()?W+"+Alt":W+"+Control"]:Z,[W]:Z}),{keyboardProps:se}=oa({shortcuts:{...H("ArrowDown",$),...H("ArrowUp",v),...H("ArrowLeft",E),...H("ArrowRight",C),...H("PageDown",D),...H("PageUp",k)},allowRepeats:!0}),{keyboardProps:U}=oa({shortcuts:{...H("Home",y),...H("End",S),"Mod+A":_,Escape:J,Tab:ne,"Tab+Shift":M}}),$e=(0,bo.useRef)({top:0,left:0});Hc(b,"scroll",()=>{$e.current={top:b.current?.scrollTop??0,left:b.current?.scrollLeft??0}});let V=W=>{if(t.isFocused){re(W.currentTarget,j(W))||t.setFocused(!1);return}if(!re(W.currentTarget,j(W)))return;let Z=Oo();t.setFocused(!0);let kt=mt=>{mt!=null&&(t.setFocusedKey(mt),u&&!t.isSelected(mt)&&t.replaceSelection(mt))};if(p&&(Z==="keyboard"||Z==="virtual"))kt(p==="first"?a.getFirstKey?.():a.getLastKey?.());else if(t.focusedKey==null){let mt=W.relatedTarget;mt&&W.currentTarget.compareDocumentPosition(mt)&Node.DOCUMENT_POSITION_FOLLOWING?kt(t.lastSelectedKey??a.getLastKey?.()):kt(t.firstSelectedKey??a.getFirstKey?.())}else b.current&&(b.current.scrollTop=$e.current.top,b.current.scrollLeft=$e.current.left);if(t.focusedKey!=null&&b.current){let mt=Uo(r,t.focusedKey);mt instanceof HTMLElement&&(!fr(mt)&&!d&&ta(mt),(Z==="keyboard"||p&&Z==="virtual")&&Po(mt,{containingElement:r.current}))}},G=W=>{re(W.currentTarget,W.relatedTarget)||t.setFocused(!1)},X=(0,bo.useRef)(!1);Hc(r,a6,d?W=>{let{detail:Z}=W;W.stopPropagation(),t.setFocused(!0),Z?.focusStrategy==="first"&&(X.current=!0)}:void 0);let ze=a.getFirstKey?.()??null;Wh(()=>{if(X.current)if(ze==null){let W=de();gm(r.current),Q1(W,null),t.collection.size>0&&(X.current=!1)}else t.setFocusedKey(ze),X.current=!1},[ze,t.collection.size]),Wh(()=>{t.collection.size>0&&(X.current=!1)},[t.focusedKey]),Hc(r,t6,d?W=>{W.stopPropagation(),t.setFocused(!1),W.detail?.clearFocusKey&&t.setFocusedKey(null)}:void 0);let ft=(0,bo.useRef)(o),pt=(0,bo.useRef)(!1);(0,bo.useEffect)(()=>{if(ft.current){let W=null;o==="first"&&(W=a.getFirstKey?.()??null),o==="last"&&(W=a.getLastKey?.()??null);let Z=t.selectedKeys;if(Z.size){for(let kt of Z)if(t.canSelectItem(kt)){W=kt;break}}t.setFocused(!0),t.setFocusedKey(W),W!=null&&u&&!Z.size&&t.canSelectItem(W)&&t.replaceSelection(W),W==null&&!d&&r.current&&rt(r.current),t.collection.size>0&&(ft.current=!1,pt.current=!0)}});let F=(0,bo.useRef)(t.focusedKey),Y=(0,bo.useRef)(null);(0,bo.useEffect)(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==F.current||pt.current)&&b.current&&r.current){let W=Oo(),Z=Uo(r,t.focusedKey);if(!(Z instanceof HTMLElement))return;(W==="keyboard"||pt.current)&&(Y.current&&cancelAnimationFrame(Y.current),Y.current=requestAnimationFrame(()=>{b.current&&(jc(b.current,Z),W!=="virtual"&&Po(Z,{containingElement:r.current}))}))}!d&&t.isFocused&&t.focusedKey==null&&F.current!=null&&r.current&&rt(r.current),F.current=t.focusedKey,pt.current=!1}),(0,bo.useEffect)(()=>()=>{Y.current&&cancelAnimationFrame(Y.current)},[]),Hc(r,"react-aria-focus-scope-restore",W=>{W.preventDefault(),t.setFocused(!0)});let ue={...O(U,se),onFocus:V,onBlur:G,onMouseDown(W){b.current===j(W)&&W.preventDefault()}},{typeSelectProps:qe}=vm({keyboardDelegate:a,selectionManager:t});c||(ue=O(qe,ue));let tt;d||(tt=t.focusedKey==null?0:-1);let Ql=$S(t.collection);return{collectionProps:O(ue,{tabIndex:tt,"data-collection":Ql})}}var Ri=class{constructor(t){this.ref=t}getItemRect(t){let a=this.ref.current;if(!a)return null;let r=t!=null?Uo(this.ref,t):null;if(!r)return null;let o=a.getBoundingClientRect(),l=r.getBoundingClientRect();return{x:l.left-o.left-a.clientLeft+a.scrollLeft,y:l.top-o.top-a.clientTop+a.scrollTop,width:l.width,height:l.height}}getContentSize(){let t=this.ref.current;return{width:t?.scrollWidth??0,height:t?.scrollHeight??0}}getVisibleRect(){let t=this.ref.current;return{x:t?.scrollLeft??0,y:t?.scrollTop??0,width:t?.clientWidth??0,height:t?.clientHeight??0}}};var ho=class{constructor(...t){if(t.length===1){let a=t[0];this.collection=a.collection,this.ref=a.ref,this.collator=a.collator,this.disabledKeys=a.disabledKeys||new Set,this.disabledBehavior=a.disabledBehavior||"all",this.orientation=a.orientation||"vertical",this.direction=a.direction,this.layout=a.layout||"stack",this.layoutDelegate=a.layoutDelegate||new Ri(a.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new Ri(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(t){return this.disabledBehavior==="all"&&(t.props?.isDisabled||this.disabledKeys.has(t.key))&&t.props?.disabledBehavior!=="selection"}findNextNonDisabled(t,a,r=!1){let o=t;for(;o!=null;){let l=this.collection.getItem(o);if(l?.type==="item"&&(r||!this.isDisabled(l)))return o;o=a(o)}return null}getNextKey(t,a){let r=t;return r=this.collection.getKeyAfter(r),this.findNextNonDisabled(r,o=>this.collection.getKeyAfter(o),a?.includeDisabled)}getPreviousKey(t,a){let r=t;return r=this.collection.getKeyBefore(r),this.findNextNonDisabled(r,o=>this.collection.getKeyBefore(o),a?.includeDisabled)}findKey(t,a,r){let o=t,l=this.layoutDelegate.getItemRect(o);if(!l||o==null)return null;let n=l;do{if(o=a(o),o==null)break;l=this.layoutDelegate.getItemRect(o)}while(l&&r(n,l)&&o!=null);return o}isSameRow(t,a){return t.y===a.y||t.x!==a.x}isSameColumn(t,a){return t.x===a.x||t.y!==a.y}isReversed(t){let a=this.getNextKey(t),r=Uo(this.ref,t);if(a!=null){let l=Uo(this.ref,a);return!r||!l?!1:r.getBoundingClientRect().top>l.getBoundingClientRect().top}let o=this.getPreviousKey(t);if(o!=null){let l=Uo(this.ref,o);return!r||!l?!1:l.getBoundingClientRect().top>r.getBoundingClientRect().top}return!1}getKeyBelow(t,a){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getNextKey(r,a),this.isSameRow):this.orientation==="vertical"?this.isReversed(t)?this.getPreviousKey(t,a):this.getNextKey(t,a):this.getNextKey(t,a)}getKeyAbove(t,a){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getPreviousKey(r,a),this.isSameRow):this.orientation==="vertical"?this.isReversed(t)?this.getNextKey(t,a):this.getPreviousKey(t,a):this.getPreviousKey(t,a)}getNextColumn(t,a,r){return a?this.getPreviousKey(t,r):this.getNextKey(t,r)}getKeyRightOf(t,a){let r=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[r]?(t=this.layoutDelegate[r](t),this.findNextNonDisabled(t,o=>this.layoutDelegate[r](o),a?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl",a):this.findKey(t,o=>this.getNextColumn(o,this.direction==="rtl",a),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl",a):null}getKeyLeftOf(t,a){let r=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[r]?(t=this.layoutDelegate[r](t),this.findNextNonDisabled(t,o=>this.layoutDelegate[r](o),a?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr",a):this.findKey(t,o=>this.getNextColumn(o,this.direction==="ltr",a),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr",a):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,a=>this.collection.getKeyAfter(a))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,a=>this.collection.getKeyBefore(a))}getKeyPageAbove(t){let a=this.ref.current,r=this.layoutDelegate.getItemRect(t);if(!r)return null;let o=this.isReversed(t);if(a&&!La(a))return this.getFirstKey();let l=t;if(this.orientation==="horizontal"){let n=Math.max(0,r.x+r.width-this.layoutDelegate.getVisibleRect().width);for(;r&&r.x>n&&l!=null;)l=this.getKeyAbove(l),r=l==null?null:this.layoutDelegate.getItemRect(l)}else{let n=this.layoutDelegate.getVisibleRect(),i=o?r.y-n.height:Math.max(0,r.y+r.height-n.height);for(;r&&r.y>i&&l!=null;)l=this.getKeyAbove(l),r=l==null?null:this.layoutDelegate.getItemRect(l)}return l??(o?this.getLastKey():this.getFirstKey())}getKeyPageBelow(t){let a=this.ref.current,r=this.layoutDelegate.getItemRect(t);if(!r)return null;let o=this.isReversed(t);if(a&&!La(a))return this.getLastKey();let l=t;if(this.orientation==="horizontal"){let n=Math.min(this.layoutDelegate.getContentSize().width,r.x-r.width+this.layoutDelegate.getVisibleRect().width);for(;r&&r.x<n&&l!=null;)l=this.getKeyBelow(l),r=l==null?null:this.layoutDelegate.getItemRect(l)}else{let n=Math.min(this.layoutDelegate.getContentSize().height,r.y-r.height+this.layoutDelegate.getVisibleRect().height);for(;r&&r.y<n&&l!=null;)l=this.getKeyBelow(l),r=l==null?null:this.layoutDelegate.getItemRect(l)}return l??(o?this.getFirstKey():this.getLastKey())}getKeyForSearch(t,a){if(!this.collator)return null;let r=this.collection,o=a||this.getFirstKey();for(;o!=null;){let l=r.getItem(o);if(!l)return null;let n=l.textValue.slice(0,t.length);if(l.textValue&&this.collator.compare(n,t)===0)return o;o=this.getNextKey(o)}return null}};var F$=new Map;function go(e){let{locale:t}=Fe(),a=t+(e?Object.entries(e).sort((o,l)=>o[0]<l[0]?-1:1).join():"");if(F$.has(a))return F$.get(a);let r=new Intl.Collator(t,e);return F$.set(a,r),r}var CS=T(R(),1);function SS(e){let{selectionManager:t,collection:a,disabledKeys:r,ref:o,keyboardDelegate:l,layoutDelegate:n,orientation:i}=e,s=go({usage:"search",sensitivity:"base"}),u=t.disabledBehavior,c=(0,CS.useMemo)(()=>l||new ho({collection:a,disabledKeys:r,disabledBehavior:u,ref:o,collator:s,layoutDelegate:n,orientation:i}),[l,n,a,r,o,s,u,i]),{collectionProps:d}=nu({...e,ref:o,selectionManager:t,keyboardDelegate:c});return{listProps:d}}var Ai=T(R(),1);function xn(e){let{id:t,selectionManager:a,key:r,ref:o,shouldSelectOnPressUp:l,shouldUseVirtualFocus:n,focus:i,isDisabled:s,onAction:u,allowsDifferentPressOrigin:c,linkBehavior:d="action"}=e,f=ul();t=Ne(t);let b=F=>{if(F.pointerType==="keyboard"&&Ed(F))a.toggleSelection(r);else{if(a.selectionMode==="none")return;if(a.isLink(r)){if(d==="selection"&&o.current){let Y=a.getItemProps(r);f.open(o.current,F,Y.href,Y.routerOptions),a.setSelectedKeys(a.selectedKeys);return}else if(d==="override"||d==="none")return}a.selectionMode==="single"?a.isSelected(r)&&!a.disallowEmptySelection?a.toggleSelection(r):a.replaceSelection(r):F&&F.shiftKey?a.extendSelection(r):a.selectionBehavior==="toggle"||F&&(fi(F)||F.pointerType==="touch"||F.pointerType==="virtual")?a.toggleSelection(r):a.replaceSelection(r)}};(0,Ai.useEffect)(()=>{r===a.focusedKey&&a.isFocused&&(n?gm(o.current):i?i():de()!==o.current&&o.current&&rt(o.current))},[o,r,a.focusedKey,a.childFocusStrategy,a.isFocused,n]),s=s||a.isDisabled(r);let m={};!n&&!s?m={tabIndex:r===a.focusedKey?0:-1,onFocus(F){j(F)===o.current&&a.setFocusedKey(r)}}:s&&(m.onMouseDown=F=>{F.preventDefault()}),(0,Ai.useEffect)(()=>{s&&a.focusedKey===r&&a.setFocusedKey(null)},[a,s,r]);let p=a.isLink(r)&&d==="override",x=u&&e.UNSTABLE_itemBehavior==="action",h=a.isLink(r)&&d!=="selection"&&d!=="none",g=!s&&a.canSelectItem(r)&&!p&&!x,$=(u||h)&&!s,v=$&&(a.selectionBehavior==="replace"?!g:!g||a.isEmpty),y=$&&g&&a.selectionBehavior==="replace",E=v||y,C=(0,Ai.useRef)(null),S=E&&g,D=(0,Ai.useRef)(!1),k=(0,Ai.useRef)(!1),_=a.getItemProps(r),J=F=>{u&&(u(),o.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),h&&o.current&&f.open(o.current,F,_.href,_.routerOptions)},ne={ref:o};l?(ne.onPressStart=F=>{C.current=F.pointerType,D.current=S,F.pointerType==="keyboard"&&(!E||ES(F.key))&&b(F)},c?(ne.onPressUp=v?void 0:F=>{F.pointerType==="mouse"&&g&&b(F)},ne.onPress=v?J:F=>{F.pointerType!=="keyboard"&&F.pointerType!=="mouse"&&g&&b(F)}):ne.onPress=F=>{if(v||y&&F.pointerType!=="mouse"){if(F.pointerType==="keyboard"&&!wS(F.key))return;J(F)}else F.pointerType!=="keyboard"&&g&&b(F)}):(ne.onPressStart=F=>{C.current=F.pointerType,D.current=S,k.current=v,g&&(F.pointerType==="mouse"&&!v||F.pointerType==="keyboard"&&(!$||ES(F.key)))&&b(F)},ne.onPress=F=>{(F.pointerType==="touch"||F.pointerType==="pen"||F.pointerType==="virtual"||F.pointerType==="keyboard"&&E&&wS(F.key)||F.pointerType==="mouse"&&k.current)&&(E?J(F):g&&b(F))});let M=xS(a.collection);if(m["data-collection"]=M,m["data-key"]=r,ne.preventFocusOnPress=n,n&&(ne=O(ne,{onPressStart(F){F.pointerType!=="touch"&&(a.setFocused(!0),a.setFocusedKey(r))},onPress(F){F.pointerType==="touch"&&(a.setFocused(!0),a.setFocusedKey(r))}})),_)for(let F of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])_[F]&&(ne[F]=Rt(ne[F],_[F]));let{pressProps:H,isPressed:se}=za(ne),U=y?F=>{C.current==="mouse"&&(F.stopPropagation(),F.preventDefault(),J(F))}:void 0,{longPressProps:$e}=lu({isDisabled:!S,onLongPress(F){F.pointerType==="touch"&&(b(F),a.setSelectionBehavior("toggle"))}}),V=F=>{C.current==="touch"&&D.current&&F.preventDefault()},G=d!=="none"&&a.isLink(r)?F=>{Xa.isOpening||F.preventDefault()}:void 0,X=O(m,g||v||n&&!s?H:{},S?$e:{},{onDoubleClick:U,onDragStartCapture:V,onClick:G,id:t},n?{onMouseDown:F=>F.preventDefault()}:void 0),ze=F=>{let Y=F;for(;Y&&Y!==o.current;){let ue=Y.getAttribute("data-collection");if(ue!=null)return ue!==M;Y=Y.parentElement}return Ms(F)},ft=X.onPointerDown;X.onPointerDown=F=>{let Y=j(F);if(Y&&Y!==o.current&&ze(Y)){F.stopPropagation();return}ft?.(F)};let pt=X.onMouseDown;return X.onMouseDown=F=>{let Y=j(F);if(Y&&Y!==o.current&&ze(Y)){F.stopPropagation();return}pt?.(F)},{itemProps:X,isPressed:se,isSelected:a.isSelected(r),isFocused:a.isFocused&&a.focusedKey===r,isDisabled:s,allowsSelection:g,hasAction:E}}function wS(e){return e==="Enter"}function ES(e){return e===" "}function St(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function Fa(e){return Ni(e,0)}function Ni(e,t){if(t<0)return;let a=0;for(let r of e){if(a===t)return r;a++}}function Go(e){let t;for(let a of e)t=a;return t}function Td(e,t,a){if(t.parentKey===a.parentKey)return t.index-a.index;let r=[...TS(e,t),t],o=[...TS(e,a),a],l=r.slice(0,o.length).findIndex((n,i)=>n!==o[i]);return l!==-1?(t=r[l],a=o[l],t.index-a.index):r.findIndex(n=>n===a)>=0?1:(o.findIndex(n=>n===t)>=0,-1)}function TS(e,t){let a=[],r=t;for(;r?.parentKey!=null;)r=e.getItem(r.parentKey),r&&a.unshift(r);return a}var DS=new WeakMap;function K$(e){let t=DS.get(e);if(t!=null)return t;let a=0,r=o=>{for(let l of o)l.type==="section"?r(St(l,e)):l.type==="item"&&a++};return r(e),DS.set(e,a),a}var V$=T(R(),1);function _$(e){let t=Cl(e),[a,r]=(0,V$.useState)(null),[o,l]=(0,V$.useState)([]),n=()=>{l([]),t.close()};return{focusStrategy:a,...t,open(u=null){r(u),t.open()},toggle(u=null){r(u),t.toggle()},close(){n()},expandedKeysStack:o,openSubmenu:(u,c)=>{l(d=>c>d.length?d:[...d.slice(0,c),u])},closeSubmenu:(u,c)=>{l(d=>d[c]===u?d.slice(0,c):d)}}}var na=T(R(),1);var xr=class e extends Set{constructor(t,a,r){super(t),t instanceof e?(this.anchorKey=a??t.anchorKey,this.currentKey=r??t.currentKey):(this.anchorKey=a??null,this.currentKey=r??null)}};var iu=class e{constructor(t,a,r){this.collection=t,this.state=a,this.allowsCellSelection=r?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=r?.layoutDelegate||null,this.fullCollection=r?.fullCollection||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,a){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,a)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let a=this.getKey(t);return a==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(a):this.state.selectedKeys.has(a)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),a=this.state.selectedKeys;return this._isSelectAll=t.every(r=>a.has(r)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let a of this.state.selectedKeys){let r=this.collection.getItem(a);(!t||r&&Td(this.collection,r,t)<0)&&(t=r)}return t?.key??null}get lastSelectedKey(){let t=null;for(let a of this.state.selectedKeys){let r=this.collection.getItem(a);(!t||r&&Td(this.collection,r,t)>0)&&(t=r)}return t?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let a=this.getKey(t);if(a==null)return;let r;if(this.state.selectedKeys==="all")r=new xr([a],a,a);else{let o=this.state.selectedKeys,l=o.anchorKey??a;r=new xr(o,l,a);for(let n of this.getKeyRange(l,o.currentKey??a))r.delete(n);for(let n of this.getKeyRange(a,l))this.canSelectItem(n)&&r.add(n)}this.state.setSelectedKeys(r)}getKeyRange(t,a){let r=this.collection.getItem(t),o=this.collection.getItem(a);return r&&o?Td(this.collection,r,o)<=0?this.getKeyRangeInternal(t,a):this.getKeyRangeInternal(a,t):[]}getKeyRangeInternal(t,a){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(t,a);let r=[],o=t;for(;o!=null;){let l=this.collection.getItem(o);if(l&&(l.type==="item"||l.type==="cell"&&this.allowsCellSelection)&&r.push(o),o===a)return r;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let a=this.collection.getItem(t);if(!a||a.type==="cell"&&this.allowsCellSelection)return t;for(;a&&a.type!=="item"&&a.parentKey!=null;)a=this.collection.getItem(a.parentKey);return!a||a.type!=="item"?null:a.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let a=this.getKey(t);if(a==null)return;let r=new xr(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(a)?r.delete(a):this.canSelectItem(a)&&(r.add(a),r.anchorKey=a,r.currentKey=a),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none")return;let a=this.getKey(t);if(a==null)return;let r=this.canSelectItem(a)?new xr([a],a,a):new xr;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let a=new xr;for(let r of t){let o=this.getKey(r);if(o!=null&&(a.add(o),this.selectionMode==="single"))break}this.state.setSelectedKeys(a)}getSelectAllKeys(){let t=this.fullCollection??this.collection,a=[],r=o=>{for(;o!=null;){if(this.canSelectItemIn(o,t)){let l=t.getItem(o);l?.type==="item"&&a.push(o),l?.hasChildNodes&&(this.allowsCellSelection||l.type!=="item")&&r(Fa(St(l,t))?.key??null)}o=t.getKeyAfter(o)}};return r(t.getFirstKey()),a}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new xr)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,a){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||a&&(a.pointerType==="touch"||a.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let a=this.selectedKeys;if(t.size!==a.size)return!1;for(let r of t)if(!a.has(r))return!1;for(let r of a)if(!t.has(r))return!1;return!0}canSelectItem(t){return this.canSelectItemIn(t,this.collection)}canSelectItemIn(t,a){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=a.getItem(t);return!(!r||r?.props?.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){let a=this.collection.getItem(t);return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!a?.props?.isDisabled)&&a?.props?.disabledBehavior!=="selection"}isLink(t){return!!this.collection.getItem(t)?.props?.href}getItemProps(t){return this.collection.getItem(t)?.props}withCollection(t){return new e(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}};var vn=T(R(),1),ym=class{build(t,a){return this.context=a,kS(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:a,items:r}=t;if(vn.default.isValidElement(a)&&a.type===vn.default.Fragment)yield*this.iterateCollection({children:a.props.children,items:r});else if(typeof a=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");let o=0;for(let l of r)yield*this.getFullNode({value:l,index:o},{renderer:a}),o++}else{let o=[];vn.default.Children.forEach(a,n=>{n&&o.push(n)});let l=0;for(let n of o){let i=this.getFullNode({element:n,index:l},{});for(let s of i)l++,yield s}}}getKey(t,a,r,o){if(t.key!=null)return t.key;if(a.type==="cell"&&a.key!=null)return`${o}${a.key}`;let l=a.value;if(l!=null){let n=l.key??l.id;if(n==null)throw new Error("No key found for item");return n}return o?`${o}.${a.index}`:`$.${a.index}`}getChildState(t,a){return{renderer:a.renderer||t.renderer}}*getFullNode(t,a,r,o){if(vn.default.isValidElement(t.element)&&t.element.type===vn.default.Fragment){let s=[];vn.default.Children.forEach(t.element.props.children,c=>{s.push(c)});let u=t.index??0;for(let c of s)yield*this.getFullNode({element:c,index:u++},a,r,o);return}let l=t.element;if(!l&&t.value&&a&&a.renderer){let s=this.cache.get(t.value);if(s&&(!s.shouldInvalidate||!s.shouldInvalidate(this.context))){s.index=t.index,s.parentKey=o?o.key:null,yield s;return}l=a.renderer(t.value)}if(vn.default.isValidElement(l)){let s=l.type;if(typeof s!="function"&&typeof s.getCollectionNode!="function"){let f=l.type;throw new Error(`Unknown element <${f}> in collection.`)}let u=s.getCollectionNode(l.props,this.context),c=t.index??0,d=u.next();for(;!d.done&&d.value;){let f=d.value;t.index=c;let b=f.key??null;b==null&&(b=f.element?null:this.getKey(l,t,a,r));let p=[...this.getFullNode({...f,key:b,index:c,wrapper:XB(t.wrapper,f.wrapper)},this.getChildState(a,f),r?`${r}${l.key}`:l.key,o)];for(let x of p){if(x.value=f.value??t.value??null,x.value&&this.cache.set(x.value,x),t.type&&x.type!==t.type)throw new Error(`Unsupported type <${H$(x.type)}> in <${H$(o?.type??"unknown parent type")}>. Only <${H$(t.type)}> is supported.`);c++,yield x}d=u.next(p)}return}if(t.key==null||t.type==null)return;let n=this,i={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value??null,level:(o?.level??0)+(o?.type==="item"?1:0),index:t.index,rendered:t.rendered,textValue:t.textValue??"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:kS(function*(){if(!t.hasChildNodes||!t.childNodes)return;let s=0;for(let u of t.childNodes()){u.key!=null&&(u.key=`${i.key}${u.key}`);let c=n.getFullNode({...u,index:s},n.getChildState(a,u),i.key,i);for(let d of c)s++,yield d}})};yield i}constructor(){this.cache=new WeakMap}};function kS(e){let t=[],a=null;return{*[Symbol.iterator](){for(let r of t)yield r;a||(a=e());for(let r of a)t.push(r),yield r}}}function XB(e,t){if(e&&t)return a=>e(t(a));if(e)return e;if(t)return t}function H$(e){return e[0].toUpperCase()+e.slice(1)}var j$=T(R(),1);function Cm(e,t,a){let r=(0,j$.useMemo)(()=>new ym,[]),{children:o,items:l,collection:n}=e;return(0,j$.useMemo)(()=>{if(n)return n;let s=r.build({children:o,items:l},a);return t(s)},[r,o,l,n,a,t])}var Ka=T(R(),1);function ZB(e,t){if(e.size!==t.size)return!1;for(let a of e)if(!t.has(a))return!1;return!0}function Mi(e){let{selectionMode:t="none",disallowEmptySelection:a=!1,allowDuplicateSelectionEvents:r,selectionBehavior:o="toggle",disabledBehavior:l="all"}=e,n=(0,Ka.useRef)(!1),[,i]=(0,Ka.useState)(!1),s=(0,Ka.useRef)(null),u=(0,Ka.useRef)(null),[,c]=(0,Ka.useState)(null),d=(0,Ka.useMemo)(()=>RS(e.selectedKeys),[e.selectedKeys]),f=(0,Ka.useMemo)(()=>RS(e.defaultSelectedKeys,new xr),[e.defaultSelectedKeys]),[b,m]=Bt(d,f,e.onSelectionChange),p=(0,Ka.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[x,h]=(0,Ka.useState)(o);o==="replace"&&x==="toggle"&&typeof b=="object"&&b.size===0&&h("replace");let g=(0,Ka.useRef)(o);return(0,Ka.useEffect)(()=>{o!==g.current&&(h(o),g.current=o)},[o]),{selectionMode:t,disallowEmptySelection:a,selectionBehavior:x,setSelectionBehavior:h,get isFocused(){return n.current},setFocused($){n.current=$,i($)},get focusedKey(){return s.current},get childFocusStrategy(){return u.current},setFocusedKey($,v="first"){s.current=$,u.current=v,c($)},selectedKeys:b,setSelectedKeys($){(r||!ZB($,b))&&m($)},disabledKeys:p,disabledBehavior:l}}function RS(e,t){return e?e==="all"?"all":new xr(e):t}var QB=(0,na.createContext)(null),NS=(0,na.createContext)(null);var AS=class extends Xt{static{this.type="submenutrigger"}filter(t,a,r){let o=t.getItem(this.firstChildKey);if(o&&r(o.textValue,this)){let l=this.clone();return a.addDescendants(l,t),l}return null}};var uae=jr(wl,function(t,a,r){let o=(0,na.useContext)(QB),{isLoading:l,onLoadMore:n,scrollOffset:i,...s}=t,u=(0,na.useRef)(null),c=(0,na.useMemo)(()=>({onLoadMore:n,collection:o?.collection,sentinelRef:u,scrollOffset:i}),[n,i,o?.collection]);pi(c,u);let d=be({...s,id:void 0,children:r.rendered,defaultClassName:"react-aria-MenuLoadingIndicator",values:void 0}),f={tabIndex:-1};return na.default.createElement(na.default.Fragment,null,na.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:Lo(!0)},na.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:u,style:{position:"absolute",height:1,width:1}})),l&&d.children&&na.default.createElement(na.default.Fragment,null,na.default.createElement(le.div,{...O(te(t,{global:!0}),f),...d,role:"menuitem",ref:a},d.children)))});var su=T(R(),1);function U$(e,t){let{role:a="dialog",isEntering:r}=e,o=dl();o=e["aria-label"]?void 0:o;let l=dl();l=a==="alertdialog"&&!e["aria-describedby"]?l:void 0;let n=(0,su.useRef)(!1);(0,su.useEffect)(()=>{if(!r&&t.current&&!fr(t.current)){rt(t.current);let u=setTimeout(()=>{(de()===t.current||de()===document.body)&&(n.current=!0,t.current&&(t.current.blur(),rt(t.current)),n.current=!1)},500);return()=>{clearTimeout(u)}}},[t,r]),mm();let i=(0,su.useRef)(!1);(0,su.useEffect)(()=>{});let s=e["aria-describedby"]??l;return{dialogProps:{...te(e,{labelable:!0}),role:a,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]??o,"aria-describedby":s,onBlur:u=>{n.current&&u.stopPropagation()}},titleProps:{id:o},contentProps:{id:l}}}var ar=T(R(),1);var uu=(0,ar.createContext)(null),Ta=(0,ar.createContext)(null);function G$(e){let t=_$(e),a=(0,ar.useRef)(null),{triggerProps:r,overlayProps:o}=wd({type:"dialog"},t,a);return r.id=Ne(),o["aria-labelledby"]=r.id,Zc()?null:ar.default.createElement(Ct,{values:[[Ta,t],[NS,t],[uu,o],[Sl,{trigger:"DialogTrigger",triggerRef:a,id:o.id,"aria-labelledby":o["aria-labelledby"]}]]},ar.default.createElement(G1,{...r,ref:a,isPressed:t.isOpen},e.children))}var q$=(0,ar.forwardRef)(function(t,a){let r=t["aria-labelledby"];[t,a]=Te(t,a,uu);let{dialogProps:o,titleProps:l,contentProps:n}=U$({...t,"aria-labelledby":r},a),i=(0,ar.useContext)(Ta);!o["aria-label"]&&!o["aria-labelledby"]&&t["aria-labelledby"]&&(o["aria-labelledby"]=t["aria-labelledby"]);let s=be({defaultClassName:"react-aria-Dialog",className:t.className,style:t.style,children:t.children,values:{close:i?.close||(()=>{})}}),u=te(t,{global:!0});return ar.default.createElement(le.section,{...O(u,s,o),render:t.render,ref:a,slot:t.slot||void 0},ar.default.createElement(Ct,{values:[[Gg,{slots:{[pr]:{},title:{...l,level:2}}}],[Ur,{slots:{[pr]:{},description:n}}],[br,{slots:{[pr]:{},close:{onPress:()=>i?.close()}}}]]},s.children))});var MS=T(R(),1);function Y$(e,t,a){let{overlayProps:r,underlayProps:o}=cm({...e,isOpen:t.isOpen,onClose:t.close},a);fm({isDisabled:!t.isOpen,UNSTABLE_overrideFocus:e.UNSTABLE_overrideFocus}),mm();let{isEntering:l}=e;return(0,MS.useEffect)(()=>{if(t.isOpen&&a.current)return l?om(a.current):rm([a.current],{shouldUseInert:!0})},[t.isOpen,l,a]),{modalProps:O(r),underlayProps:o}}var Xe=T(R(),1);var LS=(0,Xe.createContext)(null),W$=(0,Xe.createContext)(null),X$=(0,Xe.forwardRef)(function(t,a){if((0,Xe.useContext)(W$))return Xe.default.createElement(PS,{...t,modalRef:a},t.children);let{isDismissable:o,isKeyboardDismissDisabled:l,isOpen:n,defaultOpen:i,onOpenChange:s,children:u,isEntering:c,isExiting:d,UNSTABLE_portalContainer:f,shouldCloseOnInteractOutside:b,...m}=t;return Xe.default.createElement(Sm,{isDismissable:o,isKeyboardDismissDisabled:l,isOpen:n,defaultOpen:i,onOpenChange:s,isEntering:c,isExiting:d,UNSTABLE_portalContainer:f,shouldCloseOnInteractOutside:b},Xe.default.createElement(PS,{...m,modalRef:a},u))});function JB(e,t){[e,t]=Te(e,t,LS);let a=(0,Xe.useContext)(Ta),r=Cl(e),o=e.isOpen!=null||e.defaultOpen!=null||!a?r:a,l=nt(t),n=(0,Xe.useRef)(null),i=cn(l,o.isOpen,e.onExit),s=(0,Xe.useRef)(null),u=cn(n,o.isOpen,f=>s.current?.(f)),c=i||u||e.isExiting||!1,d=Pa();return!o.isOpen&&!c||d?null:Xe.default.createElement(ez,{...e,state:o,isExiting:c,overlayRef:l,modalRef:n,onExitRef:s})}var Sm=(0,Xe.forwardRef)(JB);function ez({UNSTABLE_portalContainer:e,UNSTABLE_deferUntilEntered:t,...a}){let r=a.modalRef,{state:o}=a,[l,n]=(0,Xe.useState)(!1),i=un(a.overlayRef,l,a.onEnter)||a.isEntering||!1,s=!!t&&(!l||i),{modalProps:u,underlayProps:c}=Y$({...a,isEntering:s},o,r),d=(0,Xe.useContext)(uu),f=t?tz(d,{isEntering:s}):d,b=be({...a,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:i,isExiting:a.isExiting,state:o}}),m=eg(),p,x;if(typeof document<"u"){let g=La(document.body)?document.body:document.scrollingElement||document.documentElement,$=g.getBoundingClientRect().width%1,v=g.getBoundingClientRect().height%1;p=g.scrollWidth-$,x=g.scrollHeight-v}let h={...b.style,"--visual-viewport-width":m.width+"px","--visual-viewport-height":m.height+"px","--page-width":p!==void 0?p+"px":void 0,"--page-height":x!==void 0?x+"px":void 0};return ae(()=>pl(()=>n(!0)),[]),Xe.default.createElement(Zs,{isExiting:a.isExiting,portalContainer:e},Xe.default.createElement(le.div,{...O(te(a,{global:!0}),c),...b,style:h,ref:a.overlayRef,"data-entering":i||void 0,"data-exiting":a.isExiting||void 0},Xe.default.createElement(Ct,{values:[[W$,{modalProps:u,modalRef:r,isExiting:a.isExiting,onExitRef:a.onExitRef,isOpen:l,isDismissable:a.isDismissable}],[Ta,o],[uu,f]]},b.children)))}function tz(e,t){if(e&&"slots"in e&&e.slots){let a={};for(let r in e.slots)a[r]={...e.slots[r],...t};return{...e,slots:a}}return{...e,...t}}function PS(e){let{modalProps:t,modalRef:a,isExiting:r,onExitRef:o,isDismissable:l,isOpen:n}=(0,Xe.useContext)(W$),i=(0,Xe.useContext)(Ta),s=(0,Xe.useMemo)(()=>Yt(e.modalRef,a),[e.modalRef,a]),u=nt(s),c=un(u,n,e.onEnter),d=be({...e,defaultClassName:"react-aria-Modal",values:{isEntering:c,isExiting:r,state:i}});return ae(()=>{o&&(o.current=e.onExit)}),Xe.default.createElement(le.div,{...O(te(e,{global:!0}),t),...d,ref:u,"data-entering":c||void 0,"data-exiting":r||void 0},l&&Xe.default.createElement(Xs,{onDismiss:i.close}),d.children)}var Gr=T(R(),1),BS=T(mo(),1),zS=\'[data-exiting="true"]\',az=e=>{let t=getComputedStyle(e).animationDuration.split(",").map(a=>{let r=a.trim(),o=Number.parseFloat(r);return Number.isNaN(o)?0:r.endsWith("ms")?o:o*1e3});return Math.max(0,...t)},rz=e=>getComputedStyle(e).animationName.split(",").some(t=>{let a=t.trim().replaceAll(\'"\',"");return a!==""&&a!=="none"}),OS=e=>[e,...e.querySelectorAll(zS)],oz=e=>Math.max(0,...OS(e).map(t=>rz(t)?az(t):0)),IS=(e,t)=>t instanceof Element&&(t===e||e.contains(t)&&t.matches(zS)),Z$=e=>typeof e.getAnimations!="function"||typeof CSSAnimation>"u"?[]:e.getAnimations({subtree:!0}).filter(t=>t instanceof CSSAnimation&&IS(e,t.effect?.target)&&(t.playState==="running"||String(t.playState)==="pending")),FS=(e,{enabled:t=!0,prepare:a,ref:r}={})=>{let o=(0,Gr.useRef)(null),l=(0,Gr.useRef)(new Map),[n,i]=(0,Gr.useState)(!1),[s,u]=(0,Gr.useState)(e),c=n;e!==s?(u(e),c=t&&e===!1,c!==n&&i(c)):(!t||e)&&n&&(i(!1),c=!1);let d=(0,Gr.useCallback)(b=>Yt(o,r)(b),[r]),f=(0,Gr.useCallback)(()=>i(!1),[]);return(0,Gr.useLayoutEffect)(()=>{if(!o.current){l.current.clear();return}if(e){for(let[b,{priority:m,value:p}]of l.current)b.style.opacity==="0"&&(p?b.style.setProperty("opacity",p,m):b.style.removeProperty("opacity"));l.current.clear()}}),(0,Gr.useLayoutEffect)(()=>{let b=o.current;if(!c||!b)return;a?.(b);let m=!1,p=()=>{m||(m=!0,f())},x=()=>{if(!m){m=!0;for(let C of OS(b))l.current.set(C,{priority:C.style.getPropertyPriority("opacity"),value:C.style.opacity}),C.style.opacity="0";(0,BS.flushSync)(f)}},h=C=>{if(C.length===0){p();return}Promise.all(C.map(S=>S.finished)).then(x,x)},g=Z$(b);if(g.length>0)return h(g),()=>{m=!0};let $=oz(b);if($===0){p();return}let v=C=>{IS(b,C.target)&&(Z$(b).length>0||x())};b.addEventListener("animationend",v),b.addEventListener("animationcancel",v);let y=window.setTimeout(x,$+50),E=window.requestAnimationFrame(()=>{let C=Z$(b);C.length!==0&&(window.clearTimeout(y),h(C))});return()=>{m=!0,b.removeEventListener("animationend",v),b.removeEventListener("animationcancel",v),window.clearTimeout(y),window.cancelAnimationFrame(E)}},[f,c,a]),{isExiting:c,ref:d}},KS=(e,t,a)=>e!=null||t!=null||!a?e:a.isOpen;var VS=T(R(),1);var Q$=T(me(),1);var wm=({"aria-label":e,children:t,className:a,slot:r,style:o,variant:l,...n})=>{let i=(0,VS.useMemo)(()=>gg({variant:l}),[l]),s=Ot(br,r),u=e??(n["aria-labelledby"]!=null||s!=null&&(s["aria-label"]!=null||s["aria-labelledby"]!=null)?void 0:"Close");return(0,Q$.jsx)(yl,{"aria-label":u,className:ye(a,i),"data-slot":"close-button",slot:r,style:o,type:"button",...n,children:typeof t=="function"?t:t??(0,Q$.jsx)(em,{"data-slot":"close-button-icon"})})};wm.displayName="HeroUI.CloseButton";var Em=Object.assign(wm,{Root:wm});var cu=T(R(),1);var Tm=(0,cu.createContext)({}),Dd=(0,cu.forwardRef)(function(t,a){[t,a]=Te(t,a,Tm);let{isDisabled:r,isInvalid:o,isReadOnly:l,onHoverStart:n,onHoverChange:i,onHoverEnd:s,...u}=t;r??=!!t["aria-disabled"]&&t["aria-disabled"]!=="false",o??=!!t["aria-invalid"]&&t["aria-invalid"]!=="false";let{hoverProps:c,isHovered:d}=vt({onHoverStart:n,onHoverChange:i,onHoverEnd:s,isDisabled:r}),{isFocused:f,isFocusVisible:b,focusProps:m}=ot({within:!0}),p=be({...t,values:{isHovered:d,isFocusWithin:f,isFocusVisible:b,isDisabled:r,isInvalid:o},defaultClassName:"react-aria-Group"});return cu.default.createElement(le.div,{...O(u,m,c),...p,ref:a,role:t.role??"group",slot:t.slot??void 0,"data-focus-within":f||void 0,"data-hovered":d||void 0,"data-focus-visible":b||void 0,"data-disabled":r||void 0,"data-invalid":o||void 0,"data-readonly":l||void 0},p.children)});var kd=T(R(),1),du=(0,kd.createContext)(null);var ia=T(R(),1),tx={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},HS={...tx,customError:!0,valid:!1},fu={isInvalid:!1,validationDetails:tx,validationErrors:[]},jS=(0,ia.createContext)({}),Rd="__reactAriaFormValidationState";function Pi(e){if(e[Rd]){let{realtimeValidation:t,displayValidation:a,updateValidation:r,resetValidation:o,commitValidation:l}=e[Rd];return{realtimeValidation:t,displayValidation:a,updateValidation:r,resetValidation:o,commitValidation:l}}return lz(e)}function lz(e){let{isInvalid:t,validationState:a,name:r,value:o,builtinValidation:l,validate:n,validationBehavior:i="aria"}=e;a&&(t||=a==="invalid");let s=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:HS}:null,u=(0,ia.useMemo)(()=>{if(!n||o==null)return null;let k=nz(n,o);return _S(k)},[n,o]);l?.validationDetails.valid&&(l=void 0);let c=(0,ia.useContext)(jS),d=(0,ia.useMemo)(()=>r?Array.isArray(r)?r.flatMap(k=>ex(c[k])):ex(c[r]):[],[c,r]),[f,b]=(0,ia.useState)(c),[m,p]=(0,ia.useState)(!1);c!==f&&(b(c),p(!1));let x=(0,ia.useMemo)(()=>_S(m?[]:d),[m,d]),h=(0,ia.useRef)(fu),[g,$]=(0,ia.useState)(fu),v=(0,ia.useRef)(fu),y=()=>{if(!E)return;C(!1);let k=u||l||h.current;J$(k,v.current)||(v.current=k,$(k))},[E,C]=(0,ia.useState)(!1);return(0,ia.useEffect)(y),{realtimeValidation:s||x||u||l||fu,displayValidation:i==="native"?s||x||g:s||x||u||l||g,updateValidation(k){i==="aria"&&!J$(g,k)?$(k):h.current=k},resetValidation(){let k=fu;J$(k,v.current)||(v.current=k,$(k)),i==="native"&&C(!1),p(!0)},commitValidation(){i==="native"&&C(!0),p(!0)}}}function ex(e){return e?Array.isArray(e)?e:[e]:[]}function nz(e,t){if(typeof e=="function"){let a=e(t);if(a&&typeof a!="boolean")return ex(a)}return[]}function _S(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:HS}:null}function J$(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((a,r)=>a===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([a,r])=>t.validationDetails[a]===r)}var Dm=T(R(),1),pu=(0,Dm.createContext)(null);var ax={};ax={colorSwatchPicker:"\\u062A\\u063A\\u064A\\u064A\\u0631\\u0627\\u062A \\u0627\\u0644\\u0623\\u0644\\u0648\\u0627\\u0646",dropzoneLabel:"DropZone",selectPlaceholder:"\\u062D\\u062F\\u062F \\u0639\\u0646\\u0635\\u0631\\u064B\\u0627",tableResizer:"\\u0623\\u062F\\u0627\\u0629 \\u062A\\u063A\\u064A\\u064A\\u0631 \\u0627\\u0644\\u062D\\u062C\\u0645"};var rx={};rx={colorSwatchPicker:"\\u0426\\u0432\\u0435\\u0442\\u043E\\u0432\\u0438 \\u043C\\u043E\\u0441\\u0442\\u0440\\u0438",dropzoneLabel:"DropZone",selectPlaceholder:"\\u0418\\u0437\\u0431\\u0435\\u0440\\u0435\\u0442\\u0435 \\u043F\\u0440\\u0435\\u0434\\u043C\\u0435\\u0442",tableResizer:"\\u041F\\u0440\\u0435\\u043E\\u0440\\u0430\\u0437\\u043C\\u0435\\u0440\\u0438\\u0442\\u0435\\u043B"};var ox={};ox={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"M\\xEDsto pro p\\u0159eta\\u017Een\\xED",selectPlaceholder:"Vyberte polo\\u017Eku",tableResizer:"Zm\\u011Bna velikosti"};var lx={};lx={colorSwatchPicker:"Farvepr\\xF8ver",dropzoneLabel:"DropZone",selectPlaceholder:"V\\xE6lg et element",tableResizer:"St\\xF8rrelses\\xE6ndring"};var nx={};nx={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element w\\xE4hlen",tableResizer:"Gr\\xF6\\xDFenanpassung"};var ix={};ix={colorSwatchPicker:"\\u03A7\\u03C1\\u03C9\\u03BC\\u03B1\\u03C4\\u03B9\\u03BA\\u03AC \\u03B4\\u03B5\\u03AF\\u03B3\\u03BC\\u03B1\\u03C4\\u03B1",dropzoneLabel:"DropZone",selectPlaceholder:"\\u0395\\u03C0\\u03B9\\u03BB\\u03AD\\u03BE\\u03C4\\u03B5 \\u03AD\\u03BD\\u03B1 \\u03B1\\u03BD\\u03C4\\u03B9\\u03BA\\u03B5\\u03AF\\u03BC\\u03B5\\u03BD\\u03BF",tableResizer:"\\u0391\\u03BB\\u03BB\\u03B1\\u03B3\\u03AE \\u03BC\\u03B5\\u03B3\\u03AD\\u03B8\\u03BF\\u03C5\\u03C2"};var sx={};sx={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var ux={};ux={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un art\\xEDculo",tableResizer:"Cambiador de tama\\xF1o"};var cx={};cx={colorSwatchPicker:"V\\xE4rvin\\xE4idised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige \\xFCksus",tableResizer:"Suuruse muutja"};var dx={};dx={colorSwatchPicker:"V\\xE4rimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var fx={};fx={colorSwatchPicker:"\\xC9chantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"S\\xE9lectionner un \\xE9l\\xE9ment",tableResizer:"Redimensionneur"};var px={};px={colorSwatchPicker:"\\u05D3\\u05D5\\u05D2\\u05DE\\u05D9\\u05D5\\u05EA \\u05E6\\u05D1\\u05E2",dropzoneLabel:"DropZone",selectPlaceholder:"\\u05D1\\u05D7\\u05E8 \\u05E4\\u05E8\\u05D9\\u05D8",tableResizer:"\\u05E9\\u05D9\\u05E0\\u05D5\\u05D9 \\u05D2\\u05D5\\u05D3\\u05DC"};var mx={};mx={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spu\\u0161tanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veli\\u010Dine"};var bx={};bx={colorSwatchPicker:"Sz\\xEDnt\\xE1rak",dropzoneLabel:"DropZone",selectPlaceholder:"V\\xE1lasszon ki egy elemet",tableResizer:"\\xC1tm\\xE9retez\\u0151"};var hx={};hx={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var gx={};gx={colorSwatchPicker:"\\u30AB\\u30E9\\u30FC\\u30B9\\u30A6\\u30A9\\u30C3\\u30C1",dropzoneLabel:"\\u30C9\\u30ED\\u30C3\\u30D7\\u30BE\\u30FC\\u30F3",selectPlaceholder:"\\u9805\\u76EE\\u3092\\u9078\\u629E",tableResizer:"\\u30B5\\u30A4\\u30BA\\u5909\\u66F4\\u30C4\\u30FC\\u30EB"};var $x={};$x={colorSwatchPicker:"\\uC0C9\\uC0C1 \\uACAC\\uBCF8",dropzoneLabel:"\\uB4DC\\uB86D \\uC601\\uC5ED",selectPlaceholder:"\\uD56D\\uBAA9 \\uC120\\uD0DD",tableResizer:"\\uD06C\\uAE30 \\uC870\\uC815\\uAE30"};var xx={};xx={colorSwatchPicker:"Spalv\\u0173 pavyzd\\u017Eiai",dropzoneLabel:"\\u201EDropZone\\u201C",selectPlaceholder:"Pasirinkite element\\u0105",tableResizer:"Dyd\\u017Eio keitiklis"};var vx={};vx={colorSwatchPicker:"Kr\\u0101su paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izv\\u0113l\\u0113ties vienumu",tableResizer:"Izm\\u0113ra main\\u012Bt\\u0101js"};var yx={};yx={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"St\\xF8rrelsesendrer"};var Cx={};Cx={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var Sx={};Sx={colorSwatchPicker:"Pr\\xF3bki kolor\\xF3w",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var wx={};wx={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var Ex={};Ex={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var Tx={};Tx={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zon\\u0103 de plasare",selectPlaceholder:"Selecta\\u021Bi un element",tableResizer:"Instrument de redimensionare"};var Dx={};Dx={colorSwatchPicker:"\\u0426\\u0432\\u0435\\u0442\\u043E\\u0432\\u044B\\u0435 \\u043E\\u0431\\u0440\\u0430\\u0437\\u0446\\u044B",dropzoneLabel:"DropZone",selectPlaceholder:"\\u0412\\u044B\\u0431\\u0435\\u0440\\u0438\\u0442\\u0435 \\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442",tableResizer:"\\u0421\\u0440\\u0435\\u0434\\u0441\\u0442\\u0432\\u043E \\u0438\\u0437\\u043C\\u0435\\u043D\\u0435\\u043D\\u0438\\u044F \\u0440\\u0430\\u0437\\u043C\\u0435\\u0440\\u0430"};var kx={};kx={colorSwatchPicker:"Vzorkovn\\xEDky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte polo\\u017Eku",tableResizer:"N\\xE1stroj na zmenu ve\\u013Ekosti"};var Rx={};Rx={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var Ax={};Ax={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veli\\u010Dine"};var Nx={};Nx={colorSwatchPicker:"F\\xE4rgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"V\\xE4lj en artikel",tableResizer:"Storleks\\xE4ndrare"};var Mx={};Mx={colorSwatchPicker:"Renk \\xF6rnekleri",dropzoneLabel:"B\\u0131rakma B\\xF6lgesi",selectPlaceholder:"Bir \\xF6\\u011Fe se\\xE7in",tableResizer:"Yeniden boyutland\\u0131r\\u0131c\\u0131"};var Px={};Px={colorSwatchPicker:"\\u0417\\u0440\\u0430\\u0437\\u043A\\u0438 \\u043A\\u043E\\u043B\\u044C\\u043E\\u0440\\u0456\\u0432",dropzoneLabel:"DropZone",selectPlaceholder:"\\u0412\\u0438\\u0431\\u0435\\u0440\\u0456\\u0442\\u044C \\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442",tableResizer:"\\u0417\\u0430\\u0441\\u0456\\u0431 \\u0437\\u043C\\u0456\\u043D\\u0435\\u043D\\u043D\\u044F \\u0440\\u043E\\u0437\\u043C\\u0456\\u0440\\u0443"};var Lx={};Lx={colorSwatchPicker:"\\u989C\\u8272\\u8272\\u677F",dropzoneLabel:"\\u653E\\u7F6E\\u533A\\u57DF",selectPlaceholder:"\\u9009\\u62E9\\u4E00\\u4E2A\\u9879\\u76EE",tableResizer:"\\u5C3A\\u5BF8\\u8C03\\u6574\\u5668"};var Bx={};Bx={colorSwatchPicker:"\\u8272\\u7968",dropzoneLabel:"\\u653E\\u7F6E\\u5340",selectPlaceholder:"\\u9078\\u53D6\\u9805\\u76EE",tableResizer:"\\u5927\\u5C0F\\u8ABF\\u6574\\u5668"};var Ad={};Ad={"ar-AE":ax,"bg-BG":rx,"cs-CZ":ox,"da-DK":lx,"de-DE":nx,"el-GR":ix,"en-US":sx,"es-ES":ux,"et-EE":cx,"fi-FI":dx,"fr-FR":fx,"he-IL":px,"hr-HR":mx,"hu-HU":bx,"it-IT":hx,"ja-JP":gx,"ko-KR":$x,"lt-LT":xx,"lv-LV":vx,"nb-NO":yx,"nl-NL":Cx,"pl-PL":Sx,"pt-BR":wx,"pt-PT":Ex,"ro-RO":Tx,"ru-RU":Dx,"sk-SK":kx,"sl-SI":Rx,"sr-SP":Ax,"sv-SE":Nx,"tr-TR":Mx,"uk-UA":Px,"zh-CN":Lx,"zh-TW":Bx};var Va=T(R(),1),qr=(0,Va.createContext)({}),Nd=(0,Va.createContext)(null),iz=(0,Va.forwardRef)(function(t,a){let{render:r}=(0,Va.useContext)(Nd);return Va.default.createElement(Va.default.Fragment,null,r(t,a))});function Md(e,t){let a=e?.renderDropIndicator,r=e?.isVirtualDragging?.(),o=(0,Va.useCallback)(l=>{if(r||t?.isDropTarget(l))return a?a(l):Va.default.createElement(iz,{target:l})},[t?.target,r,a]);return e?.useDropIndicator?o:void 0}function km(e,t,a){let r=e.focusedKey,o=null;if(t?.isVirtualDragging?.()&&a?.target?.type==="item"&&(o=a.target.key,a.target.dropPosition==="after")){let l=a.collection.getKeyAfter(o),n=null;if(l!=null){let i=a.collection.getItem(o)?.level??0;for(;l!=null;){let s=a.collection.getItem(l);if(!s)break;if(s.type!=="item"){l=a.collection.getKeyAfter(l);continue}if((s.level??0)<=i)break;n=l,l=a.collection.getKeyAfter(l)}}o=l??n??o}return(0,Va.useMemo)(()=>new Set([r,o].filter(l=>l!=null)),[r,o])}var Pd=new WeakMap;function sz(e){return typeof e=="string"?e.replace(/\\s*/g,""):""+e}function US(e,t){let a=Pd.get(e);if(!a)throw new Error("Unknown list");return`${a.id}-option-${sz(t)}`}function zx(e,t,a){let r=te(e,{labelable:!0}),o=e.selectionBehavior||"toggle",l=e.orientation||"vertical",n=e.linkBehavior||(o==="replace"?"action":"override");o==="toggle"&&n==="action"&&(n="override");let{listProps:i}=SS({...e,ref:a,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:n}),{focusWithinProps:s}=Io({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),u=Ne(e.id);Pd.set(t,{id:u,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:n,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:c,fieldProps:d}=Fp({...e,id:u,labelElementType:"span"});return{labelProps:c,listBoxProps:O(r,s,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox","aria-orientation":l,...O(d,i)})}}function Ox(e,t,a){let{key:r}=e,o=Pd.get(t),l=e.isDisabled??t.selectionManager.isDisabled(r),n=e.isSelected??t.selectionManager.isSelected(r),i=e.shouldSelectOnPressUp??o?.shouldSelectOnPressUp,s=e.shouldFocusOnHover??o?.shouldFocusOnHover,u=e.shouldUseVirtualFocus??o?.shouldUseVirtualFocus,c=e.isVirtualized??o?.isVirtualized,d=dl(),f=dl(),b={role:"option","aria-disabled":l||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?n:void 0,"aria-label":e["aria-label"],"aria-labelledby":d,"aria-describedby":f},m=t.collection.getItem(r);if(c){let D=Number(m?.index);b["aria-posinset"]=Number.isNaN(D)?void 0:D+1,b["aria-setsize"]=K$(t.collection)}let p=o?.onAction?()=>o?.onAction?.(r):void 0,x=US(t,r),{itemProps:h,isPressed:g,isFocused:$,hasAction:v,allowsSelection:y}=xn({selectionManager:t.selectionManager,key:r,ref:a,shouldSelectOnPressUp:i,allowsDifferentPressOrigin:i&&s,isVirtualized:c,shouldUseVirtualFocus:u,isDisabled:l,onAction:p||m?.props?.onAction?Rt(m?.props?.onAction,p):void 0,linkBehavior:o?.linkBehavior,UNSTABLE_itemBehavior:o?.UNSTABLE_itemBehavior,id:x}),{hoverProps:E}=vt({isDisabled:l||!s,onHoverStart(){zo()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(r))}}),C=te(m?.props);delete C.id;let S=ui(m?.props);return{optionProps:{...b,...O(C,h,E,S),id:x},labelProps:{id:d},descriptionProps:{id:f},isFocused:$,isFocusVisible:$&&t.selectionManager.isFocused&&zo(),isSelected:n,isDisabled:l,isPressed:g,allowsSelection:y,hasAction:v}}function Ix(e){let{heading:t,"aria-label":a}=e,r=Ne();return{itemProps:{role:"presentation"},headingProps:t?{id:r,role:"presentation",onMouseDown:o=>{o.preventDefault()}}:{},groupProps:{role:"group","aria-label":a,"aria-labelledby":t?r:void 0}}}var Ld=class{constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let a=n=>{if(this.keyMap.set(n.key,n),n.childNodes&&n.type==="section")for(let i of n.childNodes)a(i)};for(let n of t)a(n);let r=null,o=0,l=0;for(let[n,i]of this.keyMap)r?(r.nextKey=n,i.prevKey=r.key):(this.firstKey=n,i.prevKey=void 0),i.type==="item"&&(i.index=o++),(i.type==="section"||i.type==="item")&&l++,r=i,r.nextKey=void 0;this._size=l,this.lastKey=r?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let a=this.keyMap.get(t);return a?a.prevKey??null:null}getKeyAfter(t){let a=this.keyMap.get(t);return a?a.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let a=[...this.getKeys()];return this.getItem(a[t])}getChildren(t){return this.keyMap.get(t)?.childNodes||[]}};var $o=T(R(),1);function Li(e){let{filter:t,layoutDelegate:a}=e,r=Mi(e),o=(0,$o.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),l=(0,$o.useCallback)(u=>t?new Ld(t(u)):new Ld(u),[t]),n=(0,$o.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=Cm(e,l,n),s=(0,$o.useMemo)(()=>new iu(i,r,{layoutDelegate:a}),[i,r,a]);return GS(i,s),{collection:i,disabledKeys:o,selectionManager:s}}function Fx(e,t){let a=(0,$o.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),r=e.selectionManager.withCollection(a);return GS(a,r),{collection:a,selectionManager:r,disabledKeys:e.disabledKeys}}function GS(e,t){let a=(0,$o.useRef)(null);(0,$o.useEffect)(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&a.current){let r=a.current.getKeyAfter(t.focusedKey),o=null;for(;r!=null;){let l=e.getItem(r);if(l&&l.type==="item"&&!t.isDisabled(r)){o=r;break}r=a.current.getKeyAfter(r)}if(o==null)for(r=a.current.getKeyBefore(t.focusedKey);r!=null;){let l=e.getItem(r);if(l&&l.type==="item"&&!t.isDisabled(r)){o=r;break}r=a.current.getKeyBefore(r)}t.setFocusedKey(o)}a.current=e},[e,t])}var fe=T(R(),1);var Bd=(0,fe.createContext)(null),yn=(0,fe.createContext)(null),Kx=(0,fe.forwardRef)(function(t,a){[t,a]=Te(t,a,Bd);let r=(0,fe.useContext)(yn);return r?fe.default.createElement(qS,{state:r,props:t,listBoxRef:a}):fe.default.createElement(Ho,{content:fe.default.createElement(gr,t)},o=>fe.default.createElement(uz,{props:t,listBoxRef:a,collection:o}))});function uz({props:e,listBoxRef:t,collection:a}){e={...e,collection:a,children:null,items:null};let{layoutDelegate:r}=(0,fe.useContext)(st),o=Li({...e,layoutDelegate:r});return fe.default.createElement(qS,{state:o,props:e,listBoxRef:t})}function qS({state:e,props:t,listBoxRef:a}){[t,a]=Te(t,a,Sd);let{dragAndDropHooks:r,layout:o="stack",orientation:l="vertical",filter:n}=t,i=Fx(e,n),{collection:s,selectionManager:u}=i,c=!!r?.useDraggableCollectionState,d=!!r?.useDroppableCollectionState,{direction:f}=Fe(),{disabledBehavior:b,disabledKeys:m}=u,p=go({usage:"search",sensitivity:"base"}),{isVirtualized:x,layoutDelegate:h,dropTargetDelegate:g,CollectionRoot:$}=(0,fe.useContext)(st),v=(0,fe.useMemo)(()=>t.keyboardDelegate||new ho({collection:s,collator:p,ref:a,disabledKeys:m,disabledBehavior:b,layout:o,orientation:l,direction:f,layoutDelegate:h}),[s,p,a,b,m,l,f,t.keyboardDelegate,o,h]),{listBoxProps:y}=zx({...t,shouldSelectOnPressUp:c||t.shouldSelectOnPressUp,keyboardDelegate:v,isVirtualized:x},i,a),E=(0,fe.useRef)(c),C=(0,fe.useRef)(d);(0,fe.useEffect)(()=>{},[c,d]);let S,D,k,_=!1,J=null,ne=(0,fe.useRef)(null);if(c&&r){S=r.useDraggableCollectionState({collection:s,selectionManager:u,preview:r.renderDragPreview?ne:void 0}),r.useDraggableCollection({},S,a);let ze=r.DragPreview;J=r.renderDragPreview?fe.default.createElement(ze,{ref:ne},r.renderDragPreview):null}if(d&&r){D=r.useDroppableCollectionState({collection:s,selectionManager:u});let ze=r.dropTargetDelegate||g||new r.ListDropTargetDelegate(s,a,{orientation:l,layout:o,direction:f});k=r.useDroppableCollection({keyboardDelegate:v,dropTargetDelegate:ze},D,a),_=D.isDropTarget({type:"root"})}let{focusProps:M,isFocused:H,isFocusVisible:se}=ot(),U=i.collection.size===0,$e={isDropTarget:_,isEmpty:U,isFocused:H,isFocusVisible:se,layout:t.layout||"stack",orientation:l,state:i},V=be({...t,children:void 0,defaultClassName:"react-aria-ListBox",values:$e}),G=null;U&&t.renderEmptyState&&(G=fe.default.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState($e)));let X=te(t,{global:!0});return fe.default.createElement(Ti,null,fe.default.createElement(le.div,{...O(X,V,y,M,k?.collectionProps),ref:a,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":_||void 0,"data-empty":U||void 0,"data-focused":H||void 0,"data-focus-visible":se||void 0,"data-layout":t.layout||"stack","data-orientation":l},fe.default.createElement(Ct,{values:[[Bd,t],[yn,i],[qr,{dragAndDropHooks:r,dragState:S,dropState:D}],[cS,{elementType:"div"}],[Nd,{render:cz}],[oS,{name:"ListBoxSection",render:YS}]]},fe.default.createElement($n,null,fe.default.createElement($,{collection:s,scrollRef:a,persistedKeys:km(u,r,D),renderDropIndicator:Md(r,D)}))),G,J))}function YS(e,t,a,r="react-aria-ListBoxSection"){let o=(0,fe.useContext)(yn),{dragAndDropHooks:l,dropState:n}=(0,fe.useContext)(qr),{CollectionBranch:i}=(0,fe.useContext)(st),[s,u]=$i(),{headingProps:c,groupProps:d}=Ix({heading:u,"aria-label":e["aria-label"]??void 0}),f=be({...e,id:void 0,children:void 0,defaultClassName:r,values:void 0}),b=te(e,{global:!0});return delete b.id,fe.default.createElement(le.section,{...O(b,f,d),ref:t},fe.default.createElement(nS.Provider,{value:{...c,ref:s}},fe.default.createElement(i,{collection:o.collection,parent:a,renderDropIndicator:Md(l,n)})))}var Vx=gn(eu,YS),_x=jr(Js,function(t,a,r){let o=nt(a),l=(0,fe.useContext)(yn),{dragAndDropHooks:n,dragState:i,dropState:s}=(0,fe.useContext)(qr),u=i&&!(i.isDisabled||i.selectionManager.isDisabled(r.key)),{optionProps:c,labelProps:d,descriptionProps:f,...b}=Ox({key:r.key,"aria-label":t?.["aria-label"]},l,o),{hoverProps:m,isHovered:p}=vt({isDisabled:!b.allowsSelection&&!b.hasAction&&!u,onHoverStart:r.props.onHoverStart,onHoverChange:r.props.onHoverChange,onHoverEnd:r.props.onHoverEnd}),{keyboardProps:x}=oa(t),{focusProps:h}=vi(t),g=null;i&&n&&(g=n.useDraggableItem({key:r.key,hasAction:b.hasAction},i));let $=null;s&&n&&($=n.useDroppableItem({target:{type:"item",key:r.key,dropPosition:"on"}},s,o));let v=i&&i.isDragging(r.key),y=be({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...b,isHovered:p,selectionMode:l.selectionManager.selectionMode,selectionBehavior:l.selectionManager.selectionBehavior,allowsDragging:!!i,isDragging:v,isDropTarget:$?.isDropTarget}});(0,fe.useEffect)(()=>{r.textValue},[r.textValue]);let E=t.href?le.a:le.div,C=te(t,{global:!0});return delete C.id,delete C.onClick,t.href&&c.tabIndex==null&&(c.tabIndex=-1),fe.default.createElement(E,{...O(C,y,c,m,x,h,g?.dragProps,$?.dropProps),ref:o,"data-allows-dragging":!!i||void 0,"data-selected":b.isSelected||void 0,"data-disabled":b.isDisabled||void 0,"data-hovered":p||void 0,"data-focused":b.isFocused||void 0,"data-focus-visible":b.isFocusVisible||void 0,"data-pressed":b.isPressed||void 0,"data-dragging":v||void 0,"data-drop-target":$?.isDropTarget||void 0,"data-selection-mode":l.selectionManager.selectionMode==="none"?void 0:l.selectionManager.selectionMode},fe.default.createElement(Ct,{values:[[Ur,{slots:{[pr]:d,label:d,description:f}}],[jo,{isSelected:b.isSelected}]]},y.children))});function cz(e,t){t=nt(t);let{dragAndDropHooks:a,dropState:r}=(0,fe.useContext)(qr),{dropIndicatorProps:o,isHidden:l,isDropTarget:n}=a.useDropIndicator(e,r,t);return l?null:fe.default.createElement(fz,{...e,dropIndicatorProps:o,isDropTarget:n,ref:t})}function dz(e,t){let{dropIndicatorProps:a,isDropTarget:r,...o}=e,l=be({...o,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:r}});return fe.default.createElement(fe.default.Fragment,null,fe.default.createElement(le.div,{...a,...l,role:"option",ref:t,"data-drop-target":r||void 0}))}var fz=(0,fe.forwardRef)(dz),WS=jr(wl,function(t,a,r){let o=(0,fe.useContext)(yn),{isLoading:l,onLoadMore:n,scrollOffset:i,...s}=t,u=(0,fe.useRef)(null),c=(0,fe.useMemo)(()=>({onLoadMore:n,collection:o?.collection,sentinelRef:u,scrollOffset:i}),[n,i,o?.collection]);pi(c,u);let d=be({...s,id:void 0,children:r.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:void 0}),f={tabIndex:-1};return fe.default.createElement(fe.default.Fragment,null,fe.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:Lo(!0)},fe.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:u,style:{position:"absolute",height:1,width:1}})),l&&d.children&&fe.default.createElement(fe.default.Fragment,null,fe.default.createElement(le.div,{...O(te(t,{global:!0}),f),...d,role:"option",ref:a},d.children)))});function Rm(e){let{description:t,errorMessage:a,isInvalid:r,validationState:o}=e,{labelProps:l,fieldProps:n}=Fp(e),i=dl([!!t,!!a,r,o]),s=dl([!!t,!!a,r,o]);return n=O(n,{"aria-describedby":[i,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:l,fieldProps:n,descriptionProps:{id:i},errorMessageProps:{id:s}}}var XS=T(R(),1),Am=new WeakMap;function Hx(e,t,a){let{keyboardDelegate:r,isDisabled:o,isRequired:l,name:n,form:i,validationBehavior:s="aria"}=e,u=go({usage:"search",sensitivity:"base"}),c=(0,XS.useMemo)(()=>r||new ho(t.collection,t.disabledKeys,a,u),[r,t.collection,t.disabledKeys,u,a]),{menuTriggerProps:d,menuProps:f}=hS({isDisabled:o,type:"listbox"},t,a),{keyboardProps:b}=oa({shortcuts:{ArrowLeft:()=>{if(t.selectionManager.selectionMode==="multiple")return!1;let D=t.selectedKey!=null?c.getKeyAbove?.(t.selectedKey):c.getFirstKey?.();D!=null&&t.setSelectedKey(D)},ArrowRight:()=>{if(t.selectionManager.selectionMode==="multiple")return!1;let D=t.selectedKey!=null?c.getKeyBelow?.(t.selectedKey):c.getFirstKey?.();D!=null&&t.setSelectedKey(D)}},allowRepeats:!0,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp}),{typeSelectProps:m}=vm({keyboardDelegate:c,selectionManager:t.selectionManager,onTypeSelect(D){t.setSelectedKey(D)}}),{isInvalid:p,validationErrors:x,validationDetails:h}=t.displayValidation,{labelProps:g,fieldProps:$,descriptionProps:v,errorMessageProps:y}=Rm({...e,labelElementType:"span",isInvalid:p,errorMessage:e.errorMessage||x});t.selectionManager.selectionMode==="multiple"&&(m={});let E=te(e,{labelable:!0}),C=O(m,d,$),S=Ne();return Am.set(t,{isDisabled:o,isRequired:l,name:n,form:i,validationBehavior:s}),{labelProps:{...g,onClick:()=>{e.isDisabled||(a.current?.focus(),Vs("keyboard"))}},triggerProps:O(E,{...C,isDisabled:o,onKeyDown:Rt(C.onKeyDown,b.onKeyDown),onKeyUp:b.onKeyUp,"aria-labelledby":[S,C["aria-labelledby"],C["aria-label"]&&!C["aria-labelledby"]?C.id:null].filter(Boolean).join(" "),onFocus(D){t.isFocused||(e.onFocus&&e.onFocus(D),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(D){t.isOpen||(e.onBlur&&e.onBlur(D),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:S},menuProps:{...f,onAction:void 0,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:D=>{re(D.currentTarget,D.relatedTarget)||(e.onBlur&&e.onBlur(D),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[$["aria-labelledby"],C["aria-label"]&&!$["aria-labelledby"]?C.id:null].filter(Boolean).join(" ")},descriptionProps:v,errorMessageProps:y,isInvalid:p,validationErrors:x,validationDetails:h,hiddenSelectProps:{isDisabled:o,name:n,label:e.label,state:t,triggerRef:a,form:i}}}var Nm=T(R(),1);function mu(e,t,a){let{validationBehavior:r,focus:o}=e;ae(()=>{if(r==="native"&&a?.current&&"setCustomValidity"in a.current&&!a.current.disabled){let u=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";a.current.setCustomValidity(u),a.current.hasAttribute("title")||(a.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(mz(a.current))}});let l=(0,Nm.useRef)(!1),n=at(()=>{l.current||t.resetValidation()}),i=at(u=>{t.displayValidation.isInvalid||t.commitValidation();let c=a?.current?.form;!u.defaultPrevented&&a&&c&&bz(c)===a.current&&(o?o():a.current?.focus(),Vs("keyboard")),u.preventDefault()}),s=at(()=>{t.commitValidation()});(0,Nm.useEffect)(()=>{let u=a?.current;if(!u)return;let c=u.form,d=c?.reset;return c&&(c.reset=()=>{l.current=!window.event||window.event.type==="message"&&j(window.event)instanceof MessagePort,d?.call(c),l.current=!1}),u.addEventListener("invalid",i),u.addEventListener("change",s),c?.addEventListener("reset",n),()=>{u.removeEventListener("invalid",i),u.removeEventListener("change",s),c?.removeEventListener("reset",n),c&&(c.reset=d)}},[a,r])}function pz(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function mz(e){return{isInvalid:!e.validity.valid,validationDetails:pz(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function bz(e){for(let t=0;t<e.elements.length;t++){let a=e.elements[t];if(a.validity?.valid===!1)return a}return null}var Da=T(R(),1);function ZS(e,t,a){let r=Am.get(t)||{},{autoComplete:o,name:l=r.name,form:n=r.form,isDisabled:i=r.isDisabled}=e,{validationBehavior:s,isRequired:u}=r,{visuallyHiddenProps:c}=_o({style:{position:"fixed",top:0,left:0}});Bs(e.selectRef,t.defaultValue,t.setValue),mu({validationBehavior:s,focus:()=>a.current?.focus()},t,e.selectRef);let d=t.setValue,f=(0,Da.useCallback)(b=>{let m=j(b);m.multiple?d(Array.from(m.selectedOptions,p=>p.value)):d(b.currentTarget.value)},[d]);return{containerProps:{...c,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:o,disabled:i,multiple:t.selectionManager.selectionMode==="multiple",required:s==="native"&&u,name:l,form:n,value:t.value??"",onChange:f,onInput:f}}}function jx(e){let{state:t,triggerRef:a,label:r,name:o,form:l,isDisabled:n}=e,i=(0,Da.useRef)(null),s=(0,Da.useRef)(null),{containerProps:u,selectProps:c}=ZS({...e,selectRef:t.collection.size<=300?i:s},t,a),d=Array.isArray(t.value)?t.value:[t.value];if(t.collection.size<=300)return Da.default.createElement("div",{...u,"data-testid":"hidden-select-container"},Da.default.createElement("label",null,r,Da.default.createElement("select",{...c,ref:i},Da.default.createElement("option",{value:"",label:"\\xA0"},"\\xA0"),[...t.collection.getKeys()].map(f=>{let b=t.collection.getItem(f);if(b&&b.type==="item")return Da.default.createElement("option",{key:b.key,value:b.key},b.textValue)}),t.collection.size===0&&o&&d.map((f,b)=>Da.default.createElement("option",{key:b,value:f??""})))));if(o){let f=Am.get(t)||{},{validationBehavior:b}=f;d.length===0&&(d=[null]);let m=d.map((p,x)=>{let h={type:"hidden",autoComplete:c.autoComplete,name:o,form:l,disabled:n,value:p??""};return b==="native"?Da.default.createElement("input",{key:x,...h,ref:x===0?s:null,style:{display:"none"},type:"text",required:x===0?c.required:!1,onChange:()=>{}}):Da.default.createElement("input",{key:x,...h,ref:x===0?s:null})});return Da.default.createElement(Da.default.Fragment,null,m)}return null}var ut=T(R(),1);var El=T(R(),1);function Ux(e){let{selectionMode:t="single",shouldCloseOnSelect:a=t==="single"}=e,r=Cl(e),[o,l]=(0,El.useState)(null),n=(0,El.useMemo)(()=>e.defaultValue!==void 0?e.defaultValue:t==="single"?e.defaultSelectedKey??null:[],[e.defaultValue,e.defaultSelectedKey,t]),i=(0,El.useMemo)(()=>e.value!==void 0?e.value:t==="single"?e.selectedKey:void 0,[e.value,e.selectedKey,t]),[s,u]=Bt(i,n,e.onChange),c=t==="single"&&Array.isArray(s)?s[0]:s,d=$=>{if(t==="single"){let v=Array.isArray($)?$[0]??null:$;u(v),v!==c&&e.onSelectionChange?.(v)}else{let v=[];Array.isArray($)?v=$:$!=null&&(v=[$]),u(v)}},f=Li({...e,selectionMode:t,disallowEmptySelection:t==="single",allowDuplicateSelectionEvents:!0,selectedKeys:(0,El.useMemo)(()=>hz(c),[c]),onSelectionChange:$=>{if($!=="all"){if(t==="single"){let v=$.values().next().value??null;d(v)}else d([...$]);a&&r.close(),p.commitValidation()}}}),b=f.selectionManager.firstSelectedKey,m=(0,El.useMemo)(()=>[...f.selectionManager.selectedKeys].map($=>f.collection.getItem($)).filter($=>$!=null),[f.selectionManager.selectedKeys,f.collection]),p=Pi({...e,value:Array.isArray(c)&&c.length===0?null:c}),[x,h]=(0,El.useState)(!1),[g]=(0,El.useState)(c);return{...p,...f,...r,value:c,defaultValue:n??g,setValue:d,selectedKey:b,setSelectedKey:d,selectedItem:m[0]??null,selectedItems:m,defaultSelectedKey:e.defaultSelectedKey??(e.selectionMode==="single"?g:null),focusStrategy:o,open($=null){(f.collection.size!==0||e.allowsEmptyCollection)&&(l($),r.open())},toggle($=null){(f.collection.size!==0||e.allowsEmptyCollection)&&(l($),r.toggle())},isFocused:x,setFocused:h}}function hz(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}var QS=T(R(),1);function Gx(e={}){let{locale:t}=Fe();return(0,QS.useMemo)(()=>new Intl.ListFormat(t,e),[t,e])}function gz(e){return e&&e.__esModule?e.default:e}var Mm=(0,ut.createContext)(null),Bi=(0,ut.createContext)(null),qx=er(function(t,a){[t,a]=Te(t,a,Mm);let{children:r,isDisabled:o=!1,isInvalid:l=!1,isRequired:n=!1}=t,i=(0,ut.useMemo)(()=>typeof r=="function"?r({isOpen:!1,isDisabled:o,isInvalid:l,isRequired:n,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):r,[r,o,l,n]);return ut.default.createElement(Ho,{content:i},s=>ut.default.createElement(xz,{props:t,collection:s,selectRef:a}))}),$z=[bl,br,Ur];function xz({props:e,selectRef:t,collection:a}){let{validationBehavior:r}=Ot(pu)||{},o=e.validationBehavior??r??"native",l=Ux({...e,collection:a,children:void 0,validationBehavior:o}),{isFocusVisible:n,focusProps:i}=ot({within:!0}),s=(0,ut.useRef)(null),[u,c]=$i(!e["aria-label"]&&!e["aria-labelledby"]),{labelProps:d,triggerProps:f,valueProps:b,menuProps:m,descriptionProps:p,errorMessageProps:x,hiddenSelectProps:h,...g}=Hx({...Os(e),label:c,validationBehavior:o},l,s),$=(0,ut.useMemo)(()=>({isOpen:l.isOpen,isFocused:l.isFocused,isFocusVisible:n,isDisabled:e.isDisabled||!1,isInvalid:g.isInvalid||!1,isRequired:e.isRequired||!1}),[l.isOpen,l.isFocused,n,e.isDisabled,g.isInvalid,e.isRequired]),v=be({...e,values:$,defaultClassName:"react-aria-Select"}),y=te(e,{global:!0});delete y.id;let E=(0,ut.useRef)(null);return ut.default.createElement(Ct,{values:[[Mm,e],[Bi,l],[Yx,b],[bl,{...d,ref:u,elementType:"span"}],[br,{...f,ref:s,isPressed:l.isOpen,autoFocus:e.autoFocus}],[Ta,l],[Sl,{trigger:"Select",triggerRef:s,scrollRef:E,placement:"bottom start","aria-labelledby":m["aria-labelledby"],clearContexts:$z}],[Bd,{...m,ref:E}],[yn,l],[Ur,{slots:{description:p,errorMessage:x}}],[du,g]]},ut.default.createElement(le.div,{...O(y,v,i),ref:t,slot:e.slot||void 0,"data-focused":l.isFocused||void 0,"data-focus-visible":n||void 0,"data-open":l.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":g.isInvalid||void 0,"data-required":e.isRequired||void 0},v.children,ut.default.createElement(jx,{...h,autoComplete:e.autoComplete})))}var Yx=(0,ut.createContext)(null),Wx=er(function(t,a){[t,a]=Te(t,a,Yx);let r=(0,ut.useContext)(Bi),{placeholder:o}=Ot(Mm),l=r.selectedItems.map(m=>{let p=m.props?.children;return typeof p=="function"&&(p=p({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"})),p}),n=Gx(),i=(0,ut.useMemo)(()=>r.selectedItems.map(m=>m?.textValue),[r.selectedItems]),s=r.selectionManager.selectionMode,u=(0,ut.useMemo)(()=>s==="single"?i[0]??"":n.format(i),[s,n,i]),c=(0,ut.useMemo)(()=>{if(s==="single")return l[0];let m=n.formatToParts(i);if(m.length===0)return null;let p=0;return m.map(x=>x.type==="element"?ut.default.createElement(ut.Fragment,{key:p},l[p++]):x.value)},[s,n,i,l]),d=it(gz(Ad),"react-aria-components"),f=be({...t,defaultChildren:c??o??d.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:r.selectedItems[0]?.value??null,selectedItems:(0,ut.useMemo)(()=>r.selectedItems.map(m=>m.value??null),[r.selectedItems]),selectedText:u,isPlaceholder:r.selectedItems.length===0,state:r}}),b=te(t,{global:!0});return ut.default.createElement(le.span,{ref:a,...b,...f,"data-placeholder":r.selectedItems.length===0||void 0},ut.default.createElement(Ur.Provider,{value:void 0},f.children))});var Xx=T(R(),1);var JS=(0,Xx.createContext)(!1);var ew=T(me(),1),tw=({children:e})=>(0,ew.jsx)(JS,{value:!0,children:e});var aw=T(R(),1);var rw=(e,t)=>{let a=Ot(Sl,e.slot),r=(0,aw.use)(Ta),o=e.shouldSkipAnimation??a?.shouldSkipAnimation;return FS(KS(e.isOpen??a?.isOpen,e.defaultOpen??a?.defaultOpen,r),{...t,enabled:!o})};var vr=T(R(),1);function zd(e,t,a){let{isSelected:r}=t,{isPressed:o,buttonProps:l}=ud({...e,onPress:Rt(t.toggle,e.onPress)},a);return{isPressed:o,isSelected:r,isDisabled:e.isDisabled||!1,buttonProps:O(l,{"aria-pressed":r})}}var Pm=T(R(),1);function ow(e,t){let{"aria-label":a,"aria-labelledby":r,orientation:o="horizontal"}=e,[l,n]=(0,Pm.useState)(!1);ae(()=>{n(!!(t.current&&t.current.parentElement?.closest(\'[role="toolbar"]\')))});let{direction:i}=Fe(),s=i==="rtl"&&o==="horizontal",u=AC(t),c=m=>{if(re(m.currentTarget,j(m))){if(o==="horizontal"&&m.key==="ArrowRight"||o==="vertical"&&m.key==="ArrowDown")s?u.focusPrevious():u.focusNext();else if(o==="horizontal"&&m.key==="ArrowLeft"||o==="vertical"&&m.key==="ArrowUp")s?u.focusNext():u.focusPrevious();else if(m.key==="Tab"){d.current=de(),m.shiftKey?u.focusFirst():u.focusLast();return}else return;m.stopPropagation(),m.preventDefault()}},d=(0,Pm.useRef)(null),f=m=>{!re(m.currentTarget,m.relatedTarget)&&!d.current&&(d.current=j(m))},b=m=>{d.current&&!re(m.currentTarget,m.relatedTarget)&&re(t.current,j(m))&&(d.current?.focus(),d.current=null)};return{toolbarProps:{...te(e,{labelable:!0}),role:l?"group":"toolbar","aria-orientation":o,"aria-label":a,"aria-labelledby":a==null?r:void 0,onKeyDownCapture:l?void 0:c,onFocusCapture:l?void 0:b,onBlurCapture:l?void 0:f}}}function Zx(e,t,a){let{isDisabled:r}=e,{toolbarProps:o}=ow(e,a);return{groupProps:{...o,role:t.selectionMode==="single"?"radiogroup":o.role,"aria-disabled":r}}}function Qx(e,t,a){let r={isSelected:t.selectedKeys.has(e.id),defaultSelected:!1,setSelected(s){t.setSelected(e.id,s)},toggle(){t.toggleKey(e.id)}},{isPressed:o,isSelected:l,isDisabled:n,buttonProps:i}=zd({...e,id:void 0,isDisabled:e.isDisabled||t.isDisabled},r,a);return t.selectionMode==="single"&&(i.role="radio",i["aria-checked"]=r.isSelected,delete i["aria-pressed"]),{isPressed:o,isSelected:l,isDisabled:n,buttonProps:i}}var Tl=T(R(),1);var Jx=T(R(),1);function e2(e){let{selectionMode:t="single",disallowEmptySelection:a,isDisabled:r=!1}=e,[o,l]=Bt((0,Jx.useMemo)(()=>e.selectedKeys?new Set(e.selectedKeys):void 0,[e.selectedKeys]),(0,Jx.useMemo)(()=>e.defaultSelectedKeys?new Set(e.defaultSelectedKeys):new Set,[e.defaultSelectedKeys]),e.onSelectionChange);return{selectionMode:t,isDisabled:r,selectedKeys:o,setSelectedKeys:l,toggleKey(n){let i;t==="multiple"?(i=new Set(o),i.has(n)&&(!a||i.size>1)?i.delete(n):i.add(n)):i=new Set(o.has(n)&&!a?[]:[n]),l(i)},setSelected(n,i){i!==o.has(n)&&this.toggleKey(n)}}}var bu=(0,Tl.createContext)({}),Lm=(0,Tl.createContext)(null),t2=(0,Tl.forwardRef)(function(t,a){[t,a]=Te(t,a,bu);let r=e2(t),{groupProps:o}=Zx(t,r,a),l=be({...t,values:{orientation:t.orientation||"horizontal",isDisabled:r.isDisabled,state:r},defaultClassName:"react-aria-ToggleButtonGroup"}),n=te(t,{global:!0});return Tl.default.createElement(le.div,{...O(n,l,o),ref:a,slot:t.slot||void 0,"data-orientation":t.orientation||"horizontal","data-disabled":t.isDisabled||void 0},Tl.default.createElement(Lm.Provider,{value:r},Tl.default.createElement($n,null,l.children)))});var Dl=T(R(),1);var lw=T(R(),1);function Od(e={}){let{isReadOnly:t}=e,[a,r]=Bt(e.isSelected,e.defaultSelected||!1,e.onChange),[o]=(0,lw.useState)(a);function l(i){t||r(i)}function n(){t||r(!a)}return{isSelected:a,defaultSelected:e.defaultSelected??o,setSelected:l,toggle:n}}var nw=(0,Dl.createContext)({}),a2=(0,Dl.forwardRef)(function(t,a){[t,a]=Te(t,a,nw);let r=(0,Dl.useContext)(Lm),o=Od(r&&t.id!=null?{isSelected:r.selectedKeys.has(t.id),onChange(x){r.setSelected(t.id,x)}}:t),{buttonProps:l,isPressed:n,isSelected:i,isDisabled:s}=r&&t.id!=null?Qx({...t,id:t.id},r,a):zd({...t,id:t.id!=null?String(t.id):void 0},o,a),{focusProps:u,isFocused:c,isFocusVisible:d}=ot(t),{hoverProps:f,isHovered:b}=vt({...t,isDisabled:s}),m=be({...t,id:void 0,values:{isHovered:b,isPressed:n,isFocused:c,isSelected:o.isSelected,isFocusVisible:d,isDisabled:s,state:o},defaultClassName:"react-aria-ToggleButton"}),p=te(t,{global:!0});return delete p.id,delete p.onClick,Dl.default.createElement(le.button,{...O(p,m,l,u,f),ref:a,slot:t.slot||void 0,"data-focused":c||void 0,"data-disabled":s||void 0,"data-pressed":n||void 0,"data-selected":i||void 0,"data-hovered":b||void 0,"data-focus-visible":d||void 0},Dl.default.createElement(jo.Provider,{value:{isSelected:i}},m.children))});var Bm=T(me(),1);var zm=(0,vr.createContext)({}),r2="__button_group_child",vz=({children:e,className:t,fullWidth:a,isDisabled:r,orientation:o,size:l,variant:n,...i})=>{let s=Ot(bu),u=o??s?.orientation??"horizontal",c=vr.default.useMemo(()=>mg({fullWidth:a,orientation:u}),[a,u]),d=vr.default.useMemo(()=>vr.Children.map(e,b=>(0,vr.isValidElement)(b)?vr.default.cloneElement(b,{[r2]:!0}):b),[e]),f=vr.default.useMemo(()=>({slots:c,size:l,variant:n,isDisabled:r,fullWidth:a}),[c,l,n,r,a]);return(0,Bm.jsx)(zm,{value:f,children:(0,Bm.jsx)(Dd,{className:ye(t,c.base()),"data-slot":"button-group",isDisabled:r,...i,children:d})})};vz.displayName="HeroUI.ButtonGroup";var yz=({className:e,...t})=>{let{slots:a}=(0,vr.use)(zm);return(0,Bm.jsx)(Ee.span,{"aria-hidden":"true",className:ve(a?.separator,e),"data-slot":"button-group-separator",...t})};yz.displayName="HeroUI.ButtonGroup.Separator";function o2(e,t){let{elementType:a="a",onPress:r,onPressStart:o,onPressEnd:l,onPressChange:n,onClick:i,isDisabled:s,...u}=e,c={};a!=="a"&&(c={role:"link",tabIndex:s?void 0:0});let{focusableProps:d}=Fr(e,t),{pressProps:f,isPressed:b}=za({onPress:r,onPressStart:o,onPressEnd:l,onPressChange:n,onClick:i,isDisabled:s,ref:t}),m=te(u,{labelable:!0}),p=O(d,f),x=ul(),h=ui(e);return{isPressed:b,linkProps:O(m,h,{...p,...c,"aria-disabled":s||void 0,"aria-current":e["aria-current"],onClick:g=>{f.onClick?.(g),Hh(g,x,e.href,e.routerOptions)}})}}var hu=T(R(),1);var iw=(0,hu.createContext)(null),l2=(0,hu.forwardRef)(function(t,a){[t,a]=Te(t,a,iw);let r=t.href&&!t.isDisabled?"a":"span",{linkProps:o,isPressed:l}=o2({...t,elementType:r},a),n=le[r],{hoverProps:i,isHovered:s}=vt(t),{focusProps:u,isFocused:c,isFocusVisible:d}=ot(),f=be({...t,defaultClassName:"react-aria-Link",values:{isCurrent:!!t["aria-current"],isDisabled:t.isDisabled||!1,isPressed:l,isHovered:s,isFocused:c,isFocusVisible:d}}),b=te(t,{global:!0});return delete b.onClick,hu.default.createElement(n,{ref:a,slot:t.slot||void 0,...O(b,f,o,i,u),"data-focused":c||void 0,"data-hovered":s||void 0,"data-pressed":l||void 0,"data-focus-visible":d||void 0,"data-current":!!t["aria-current"]||void 0,"data-disabled":t.isDisabled||void 0},f.children)});var zi=T(R(),1);var Id=T(me(),1),sw=(0,zi.createContext)({}),Om=({children:e,className:t,...a})=>{let r=zi.default.useMemo(()=>vg(),[]),o=zi.default.useMemo(()=>({slots:r}),[r]);return(0,Id.jsx)(sw,{value:o,children:(0,Id.jsx)(l2,{"data-slot":"link",...a,className:ye(t,r?.base()),children:e})})};Om.displayName="HeroUI.Link";var n2=({children:e,className:t,...a})=>{let{slots:r}=(0,zi.use)(sw);return(0,Id.jsx)(Ee.span,{className:ve(r?.icon,t),"data-default-icon":Gs(!e),"data-slot":"link-icon",...a,children:e??(0,Id.jsx)(nC,{"data-slot":"link-default-icon"})})};n2.displayName="HeroUI.Link.Icon";var Fd=Object.assign(Om,{Root:Om,Icon:n2});var Im=T(R(),1);var uw=T(me(),1);var Fm=({children:e,className:t,fullWidth:a,isDisabled:r,isIconOnly:o,size:l,slot:n,style:i,variant:s,[r2]:u,...c})=>{let d=(0,Im.use)(zm),f=u===!0,b=l??(f?d?.size:void 0),m=s??(f?d?.variant:void 0),p=r??(f?d?.isDisabled:void 0),x=a??(f?d?.fullWidth:void 0),h=(0,Im.useMemo)(()=>bg({fullWidth:x,isIconOnly:o,size:b,variant:m}),[x,b,m,o]),g=ye(t,h);return(0,uw.jsx)(yl,{className:g,"data-slot":"button",isDisabled:p,slot:n,style:i,...c,children:e})};Fm.displayName="HeroUI.Button";var kl=Object.assign(Fm,{Root:Fm});var gu=T(R(),1);function Cz(e=!0){let[t,a]=(0,gu.useState)(e),r=(0,gu.useRef)(!1),o=(0,gu.useCallback)(l=>{r.current=!0,a(!!l)},[]);return ae(()=>{r.current||a(!1)},[]),[o,t]}function i2(e=!0){let t=Ne(),[a,r]=Cz(e);return{id:r?t:void 0,ref:a}}var cw=T(R(),1);function dw(e,t,a){let{isDisabled:r=!1,isReadOnly:o=!1,value:l,name:n,form:i,children:s,isRequired:u,validationBehavior:c="aria","aria-label":d,"aria-labelledby":f,"aria-describedby":b,onPressStart:m,onPressEnd:p,onPressChange:x,onPress:h,onPressUp:g,onClick:$}=e,v=Pi({...e,value:t.isSelected}),{isInvalid:y,validationErrors:E,validationDetails:C}=v.displayValidation;mu(e,v,a);let S=X=>{X.stopPropagation(),t.setSelected(j(X).checked)},D=s!=null,k=d!=null||f!=null,{pressProps:_,isPressed:J}=za({onPressStart:m,onPressEnd:p,onPressChange:x,onPress:h,onPressUp:g,onClick:$,isDisabled:r}),[ne,M]=(0,cw.useState)(!1),{pressProps:H}=za({onPressStart(X){if(X.pointerType==="keyboard"||X.pointerType==="virtual"){X.continuePropagation();return}m?.(X),x?.(!0),M(!0)},onPressEnd(X){if(X.pointerType==="keyboard"||X.pointerType==="virtual"){X.continuePropagation();return}p?.(X),x?.(!1),M(!1)},onPressUp(X){if(X.pointerType==="keyboard"||X.pointerType==="virtual"){X.continuePropagation();return}g?.(X)},onClick:$,onPress(X){if(X.pointerType==="keyboard"||X.pointerType==="virtual"){X.continuePropagation();return}h?.(X),t.toggle(),a.current?.focus();let{[Rd]:ze}=e,{commitValidation:ft}=ze||v;ft()},isDisabled:r||o}),{focusableProps:se}=Fr(e,a),U=O(_,se),$e=te(e,{labelable:!0});Bs(a,t.defaultSelected,t.setSelected);let V=i2(),G=i2();return{labelProps:O(H,{onClick:X=>X.preventDefault()}),inputProps:O($e,{checked:t.isSelected,"aria-required":u&&c==="aria"||void 0,required:u&&c==="native","aria-invalid":y||e.validationState==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":o||void 0,"aria-describedby":[V.id,G.id,b].filter(Boolean).join(" ")||void 0,onChange:S,disabled:r,...l==null?{}:{value:l},name:n,form:i,type:"checkbox",...U}),descriptionProps:V,errorMessageProps:G,isSelected:t.isSelected,isPressed:J||ne,isDisabled:r,isReadOnly:o,isInvalid:y||e.validationState==="invalid",validationErrors:E,validationDetails:C}}var Oi=T(R(),1);var s2=(0,Oi.createContext)(null),u2=(0,Oi.createContext)(null);var Cn=T(R(),1);var Kd=T(me(),1),fw=(0,Cn.createContext)({}),Km=({children:e,className:t,color:a,size:r,variant:o,...l})=>{let n=Cn.default.useMemo(()=>hg({color:a,size:r,variant:o}),[a,r,o]),i=Cn.default.useMemo(()=>typeof e=="string"||typeof e=="number"?(0,Kd.jsx)(Vm,{children:e}):e,[e]),s=Cn.default.useMemo(()=>({slots:n}),[n]);return(0,Kd.jsx)(fw,{value:s,children:(0,Kd.jsx)(Ee.span,{...l,className:ve(n.base,t),"data-slot":"chip",children:i})})};Km.displayName="HeroUI.Chip";var Vm=({children:e,className:t,...a})=>{let{slots:r}=(0,Cn.use)(fw);return(0,Kd.jsx)(Ee.span,{className:ve(r?.label,t),"data-slot":"chip-label",...a,children:e})};Vm.displayName="HeroUI.Chip.Label";var qo=Object.assign(Km,{Root:Km,Label:Vm});var Ii=T(R(),1);function pw(e){let{onMoveStart:t,onMove:a,onMoveEnd:r}=e,o=(0,Ii.useRef)({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:l,removeGlobalListener:n}=Ao(),i=(0,Ii.useCallback)((f,b,m,p)=>{m===0&&p===0||(o.current.didMove||(o.current.didMove=!0,t?.({type:"movestart",pointerType:b,shiftKey:f.shiftKey,metaKey:f.metaKey,ctrlKey:f.ctrlKey,altKey:f.altKey})),a?.({type:"move",pointerType:b,deltaX:m,deltaY:p,shiftKey:f.shiftKey,metaKey:f.metaKey,ctrlKey:f.ctrlKey,altKey:f.altKey}))},[t,a,o]),s=at(i),u=(0,Ii.useCallback)((f,b)=>{sd(),o.current.didMove&&r?.({type:"moveend",pointerType:b,shiftKey:f.shiftKey,metaKey:f.metaKey,ctrlKey:f.ctrlKey,altKey:f.altKey})},[r,o]),c=at(u);return{moveProps:(0,Ii.useMemo)(()=>{let f={},b=()=>{Xp(),o.current.didMove=!1};typeof PointerEvent>"u";{let p=h=>{if(h.pointerId===o.current.id){let g=h.pointerType||"mouse";s(h,g,h.pageX-(o.current.lastPosition?.pageX??0),h.pageY-(o.current.lastPosition?.pageY??0)),o.current.lastPosition={pageX:h.pageX,pageY:h.pageY}}},x=h=>{if(h.pointerId===o.current.id){let g=h.pointerType||"mouse";c(h,g),o.current.id=null;let $=je(j(h));n($,"pointermove",p,!1),n($,"pointerup",x,!1),n($,"pointercancel",x,!1)}};f.onPointerDown=h=>{if(h.button===0&&o.current.id==null){b(),h.stopPropagation(),h.preventDefault(),o.current.lastPosition={pageX:h.pageX,pageY:h.pageY},o.current.id=h.pointerId;let g=je(j(h));l(g,"pointermove",p,!1),l(g,"pointerup",x,!1),l(g,"pointercancel",x,!1)}}}let m=(p,x,h)=>{b(),s(p,"keyboard",x,h),c(p,"keyboard")};return f.onKeyDown=p=>{switch(p.key){case"Left":case"ArrowLeft":p.preventDefault(),p.stopPropagation(),m(p,-1,0);break;case"Right":case"ArrowRight":p.preventDefault(),p.stopPropagation(),m(p,1,0);break;case"Up":case"ArrowUp":p.preventDefault(),p.stopPropagation(),m(p,0,-1);break;case"Down":case"ArrowDown":p.preventDefault(),p.stopPropagation(),m(p,0,1);break}},f},[l,n,o])}}var _m=T(R(),1);var Hm=(0,_m.createContext)({}),Sz=e=>{let{onHoverStart:t,onHoverChange:a,onHoverEnd:r,...o}=e;return o},c2=er(function(t,a){[t,a]=Te(t,a,Hm);let{hoverProps:r,isHovered:o}=vt({...t,isDisabled:t.disabled}),{isFocused:l,isFocusVisible:n,focusProps:i}=ot({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",u=be({...t,values:{isHovered:o,isFocused:l,isFocusVisible:n,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return _m.default.createElement(le.input,{...O(Sz(t),i,r),...u,ref:a,"data-focused":l||void 0,"data-disabled":t.disabled||void 0,"data-hovered":o||void 0,"data-focus-visible":n||void 0,"data-invalid":s||void 0})});var jm=T(R(),1);function mw(e,t){let{inputElementType:a="input",isDisabled:r=!1,isRequired:o=!1,isReadOnly:l=!1,type:n="text",validationBehavior:i="aria"}=e,[s,u]=Bt(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=Fr(e,t),d=Pi({...e,value:s}),{isInvalid:f,validationErrors:b,validationDetails:m}=d.displayValidation,{labelProps:p,fieldProps:x,descriptionProps:h,errorMessageProps:g}=Rm({...e,isInvalid:f,errorMessage:e.errorMessage||b}),$=te(e,{labelable:!0}),v={type:n,pattern:e.pattern},[y]=(0,jm.useState)(s);return Bs(t,e.defaultValue??y,u),mu(e,d,t),{labelProps:p,inputProps:O($,a==="input"?v:void 0,{disabled:r,readOnly:l,required:o&&i==="native","aria-required":o&&i==="aria"||void 0,"aria-invalid":f||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:s,onChange:E=>u(j(E).value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,form:e.form,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(jm.default.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...c,...x}),descriptionProps:h,errorMessageProps:g,isInvalid:f,validationErrors:b,validationDetails:m}}var d2={};d2={deselectedItem:e=>`${e.item} \\u063A\\u064A\\u0631 \\u0627\\u0644\\u0645\\u062D\\u062F\\u062F`,longPressToSelect:"\\u0627\\u0636\\u063A\\u0637 \\u0645\\u0637\\u0648\\u0644\\u064B\\u0627 \\u0644\\u0644\\u062F\\u062E\\u0648\\u0644 \\u0625\\u0644\\u0649 \\u0648\\u0636\\u0639 \\u0627\\u0644\\u062A\\u062D\\u062F\\u064A\\u062F.",select:"\\u062A\\u062D\\u062F\\u064A\\u062F",selectedAll:"\\u062C\\u0645\\u064A\\u0639 \\u0627\\u0644\\u0639\\u0646\\u0627\\u0635\\u0631 \\u0627\\u0644\\u0645\\u062D\\u062F\\u062F\\u0629.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\\u0644\\u0645 \\u064A\\u062A\\u0645 \\u062A\\u062D\\u062F\\u064A\\u062F \\u0639\\u0646\\u0627\\u0635\\u0631",one:()=>`${t.number(e.count)} \\u0639\\u0646\\u0635\\u0631 \\u0645\\u062D\\u062F\\u062F`,other:()=>`${t.number(e.count)} \\u0639\\u0646\\u0635\\u0631 \\u0645\\u062D\\u062F\\u062F`})}.`,selectedItem:e=>`${e.item} \\u0627\\u0644\\u0645\\u062D\\u062F\\u062F`};var f2={};f2={deselectedItem:e=>`${e.item} \\u043D\\u0435 \\u0435 \\u0438\\u0437\\u0431\\u0440\\u0430\\u043D.`,longPressToSelect:"\\u041D\\u0430\\u0442\\u0438\\u0441\\u043D\\u0435\\u0442\\u0435 \\u0438 \\u0437\\u0430\\u0434\\u0440\\u044A\\u0436\\u0442\\u0435 \\u0437\\u0430 \\u0434\\u0430 \\u0432\\u043B\\u0435\\u0437\\u0435\\u0442\\u0435 \\u0432 \\u0438\\u0437\\u0431\\u0438\\u0440\\u0430\\u0442\\u0435\\u043B\\u0435\\u043D \\u0440\\u0435\\u0436\\u0438\\u043C.",select:"\\u0418\\u0437\\u0431\\u0435\\u0440\\u0435\\u0442\\u0435",selectedAll:"\\u0412\\u0441\\u0438\\u0447\\u043A\\u0438 \\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0438 \\u0441\\u0430 \\u0438\\u0437\\u0431\\u0440\\u0430\\u043D\\u0438.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\\u041D\\u044F\\u043C\\u0430 \\u0438\\u0437\\u0431\\u0440\\u0430\\u043D\\u0438 \\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0438",one:()=>`${t.number(e.count)} \\u0438\\u0437\\u0431\\u0440\\u0430\\u043D \\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442`,other:()=>`${t.number(e.count)} \\u0438\\u0437\\u0431\\u0440\\u0430\\u043D\\u0438 \\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0438`})}.`,selectedItem:e=>`${e.item} \\u0438\\u0437\\u0431\\u0440\\u0430\\u043D.`};var p2={};p2={deselectedItem:e=>`Polo\\u017Eka ${e.item} nen\\xED vybr\\xE1na.`,longPressToSelect:"Dlouh\\xFDm stisknut\\xEDm p\\u0159ejdete do re\\u017Eimu v\\xFDb\\u011Bru.",select:"Vybrat",selectedAll:"Vybr\\xE1ny v\\u0161echny polo\\u017Eky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybr\\xE1ny \\u017E\\xE1dn\\xE9 polo\\u017Eky",one:()=>`Vybr\\xE1na ${t.number(e.count)} polo\\u017Eka`,other:()=>`Vybr\\xE1no ${t.number(e.count)} polo\\u017Eek`})}.`,selectedItem:e=>`Vybr\\xE1na polo\\u017Eka ${e.item}.`};var m2={};m2={deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"V\\xE6lg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`};var b2={};b2={deselectedItem:e=>`${e.item} nicht ausgew\\xE4hlt.`,longPressToSelect:"Gedr\\xFCckt halten, um Auswahlmodus zu \\xF6ffnen.",select:"Ausw\\xE4hlen",selectedAll:"Alle Elemente ausgew\\xE4hlt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgew\\xE4hlt",one:()=>`${t.number(e.count)} Element ausgew\\xE4hlt`,other:()=>`${t.number(e.count)} Elemente ausgew\\xE4hlt`})}.`,selectedItem:e=>`${e.item} ausgew\\xE4hlt.`};var h2={};h2={deselectedItem:e=>`\\u0394\\u03B5\\u03BD \\u03B5\\u03C0\\u03B9\\u03BB\\u03AD\\u03C7\\u03B8\\u03B7\\u03BA\\u03B5 \\u03C4\\u03BF \\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03BF ${e.item}.`,longPressToSelect:"\\u03A0\\u03B1\\u03C4\\u03AE\\u03C3\\u03C4\\u03B5 \\u03C0\\u03B1\\u03C1\\u03B1\\u03C4\\u03B5\\u03C4\\u03B1\\u03BC\\u03AD\\u03BD\\u03B1 \\u03B3\\u03B9\\u03B1 \\u03BD\\u03B1 \\u03BC\\u03C0\\u03B5\\u03AF\\u03C4\\u03B5 \\u03C3\\u03B5 \\u03BB\\u03B5\\u03B9\\u03C4\\u03BF\\u03C5\\u03C1\\u03B3\\u03AF\\u03B1 \\u03B5\\u03C0\\u03B9\\u03BB\\u03BF\\u03B3\\u03AE\\u03C2.",select:"\\u0395\\u03C0\\u03B9\\u03BB\\u03BF\\u03B3\\u03AE",selectedAll:"\\u0395\\u03C0\\u03B9\\u03BB\\u03AD\\u03C7\\u03B8\\u03B7\\u03BA\\u03B1\\u03BD \\u03CC\\u03BB\\u03B1 \\u03C4\\u03B1 \\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03B1.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\\u0394\\u03B5\\u03BD \\u03B5\\u03C0\\u03B9\\u03BB\\u03AD\\u03C7\\u03B8\\u03B7\\u03BA\\u03B1\\u03BD \\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03B1",one:()=>`\\u0395\\u03C0\\u03B9\\u03BB\\u03AD\\u03C7\\u03B8\\u03B7\\u03BA\\u03B5 ${t.number(e.count)} \\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03BF`,other:()=>`\\u0395\\u03C0\\u03B9\\u03BB\\u03AD\\u03C7\\u03B8\\u03B7\\u03BA\\u03B1\\u03BD ${t.number(e.count)} \\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03B1`})}.`,selectedItem:e=>`\\u0395\\u03C0\\u03B9\\u03BB\\u03AD\\u03C7\\u03B8\\u03B7\\u03BA\\u03B5 \\u03C4\\u03BF \\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03BF ${e.item}.`};var g2={};g2={deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."};var $2={};$2={deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selecci\\xF3n.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ning\\xFAn elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`};var x2={};x2={deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikure\\u017Eiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"K\\xF5ik \\xFCksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\\xDCksusi pole valitud",one:()=>`${t.number(e.count)} \\xFCksus valitud`,other:()=>`${t.number(e.count)} \\xFCksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var v2={};v2={deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitk\\xE4\\xE4n.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yht\\xE4\\xE4n kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`};var y2={};y2={deselectedItem:e=>`${e.item} non s\\xE9lectionn\\xE9.`,longPressToSelect:"Appuyez de mani\\xE8re prolong\\xE9e pour passer en mode de s\\xE9lection.",select:"S\\xE9lectionner",selectedAll:"Tous les \\xE9l\\xE9ments s\\xE9lectionn\\xE9s.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun \\xE9l\\xE9ment s\\xE9lectionn\\xE9",one:()=>`${t.number(e.count)} \\xE9l\\xE9ment s\\xE9lectionn\\xE9`,other:()=>`${t.number(e.count)} \\xE9l\\xE9ments s\\xE9lectionn\\xE9s`})}.`,selectedItem:e=>`${e.item} s\\xE9lectionn\\xE9.`};var C2={};C2={deselectedItem:e=>`${e.item} \\u05DC\\u05D0 \\u05E0\\u05D1\\u05D7\\u05E8.`,longPressToSelect:"\\u05D4\\u05E7\\u05E9\\u05D4 \\u05D0\\u05E8\\u05D5\\u05DB\\u05D4 \\u05DC\\u05DB\\u05E0\\u05D9\\u05E1\\u05D4 \\u05DC\\u05DE\\u05E6\\u05D1 \\u05D1\\u05D7\\u05D9\\u05E8\\u05D4.",select:"\\u05D1\\u05D7\\u05E8",selectedAll:"\\u05DB\\u05DC \\u05D4\\u05E4\\u05E8\\u05D9\\u05D8\\u05D9\\u05DD \\u05E0\\u05D1\\u05D7\\u05E8\\u05D5.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\\u05DC\\u05D0 \\u05E0\\u05D1\\u05D7\\u05E8\\u05D5 \\u05E4\\u05E8\\u05D9\\u05D8\\u05D9\\u05DD",one:()=>`\\u05E4\\u05E8\\u05D9\\u05D8 ${t.number(e.count)} \\u05E0\\u05D1\\u05D7\\u05E8`,other:()=>`${t.number(e.count)} \\u05E4\\u05E8\\u05D9\\u05D8\\u05D9\\u05DD \\u05E0\\u05D1\\u05D7\\u05E8\\u05D5`})}.`,selectedItem:e=>`${e.item} \\u05E0\\u05D1\\u05D7\\u05E8.`};var S2={};S2={deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u na\\u010Din odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`};var w2={};w2={deselectedItem:e=>`${e.item} nincs kijel\\xF6lve.`,longPressToSelect:"Nyomja hosszan a kijel\\xF6l\\xE9shez.",select:"Kijel\\xF6l\\xE9s",selectedAll:"Az \\xF6sszes elem kijel\\xF6lve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijel\\xF6lve",one:()=>`${t.number(e.count)} elem kijel\\xF6lve`,other:()=>`${t.number(e.count)} elem kijel\\xF6lve`})}.`,selectedItem:e=>`${e.item} kijel\\xF6lve.`};var E2={};E2={deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalit\\xE0 di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`};var T2={};T2={deselectedItem:e=>`${e.item} \\u304C\\u9078\\u629E\\u3055\\u308C\\u3066\\u3044\\u307E\\u305B\\u3093\\u3002`,longPressToSelect:"\\u9577\\u62BC\\u3057\\u3057\\u3066\\u9078\\u629E\\u30E2\\u30FC\\u30C9\\u3092\\u958B\\u304D\\u307E\\u3059\\u3002",select:"\\u9078\\u629E",selectedAll:"\\u3059\\u3079\\u3066\\u306E\\u9805\\u76EE\\u3092\\u9078\\u629E\\u3057\\u307E\\u3057\\u305F\\u3002",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\\u9805\\u76EE\\u304C\\u9078\\u629E\\u3055\\u308C\\u3066\\u3044\\u307E\\u305B\\u3093",one:()=>`${t.number(e.count)} \\u9805\\u76EE\\u3092\\u9078\\u629E\\u3057\\u307E\\u3057\\u305F`,other:()=>`${t.number(e.count)} \\u9805\\u76EE\\u3092\\u9078\\u629E\\u3057\\u307E\\u3057\\u305F`})}\\u3002`,selectedItem:e=>`${e.item} \\u3092\\u9078\\u629E\\u3057\\u307E\\u3057\\u305F\\u3002`};var D2={};D2={deselectedItem:e=>`${e.item}\\uC774(\\uAC00) \\uC120\\uD0DD\\uB418\\uC9C0 \\uC54A\\uC558\\uC2B5\\uB2C8\\uB2E4.`,longPressToSelect:"\\uC120\\uD0DD \\uBAA8\\uB4DC\\uB85C \\uB4E4\\uC5B4\\uAC00\\uB824\\uBA74 \\uAE38\\uAC8C \\uB204\\uB974\\uC2ED\\uC2DC\\uC624.",select:"\\uC120\\uD0DD",selectedAll:"\\uBAA8\\uB4E0 \\uD56D\\uBAA9\\uC774 \\uC120\\uD0DD\\uB418\\uC5C8\\uC2B5\\uB2C8\\uB2E4.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\\uC120\\uD0DD\\uB41C \\uD56D\\uBAA9\\uC774 \\uC5C6\\uC2B5\\uB2C8\\uB2E4",one:()=>`${t.number(e.count)}\\uAC1C \\uD56D\\uBAA9\\uC774 \\uC120\\uD0DD\\uB418\\uC5C8\\uC2B5\\uB2C8\\uB2E4`,other:()=>`${t.number(e.count)}\\uAC1C \\uD56D\\uBAA9\\uC774 \\uC120\\uD0DD\\uB418\\uC5C8\\uC2B5\\uB2C8\\uB2E4`})}.`,selectedItem:e=>`${e.item}\\uC774(\\uAC00) \\uC120\\uD0DD\\uB418\\uC5C8\\uC2B5\\uB2C8\\uB2E4.`};var k2={};k2={deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Nor\\u0117dami \\u012Fjungti pasirinkimo re\\u017Eim\\u0105, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas n\\u0117 vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta element\\u0173: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var R2={};R2={deselectedItem:e=>`Vienums ${e.item} nav atlas\\u012Bts.`,longPressToSelect:"Ilgi turiet nospiestu. lai iesl\\u0113gtu atlases re\\u017E\\u012Bmu.",select:"Atlas\\u012Bt",selectedAll:"Atlas\\u012Bti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlas\\u012Bts neviens vienums",one:()=>`Atlas\\u012Bto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlas\\u012Bto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlas\\u012Bts vienums ${e.item}.`};var A2={};A2={deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for \\xE5 g\\xE5 inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`};var N2={};N2={deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`};var M2={};M2={deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naci\\u015Bnij i przytrzymaj, aby wej\\u015B\\u0107 do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono \\u017Cadnych element\\xF3w",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych element\\xF3w`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var P2={};P2={deselectedItem:e=>`${e.item} n\\xE3o selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de sele\\xE7\\xE3o.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var L2={};L2={deselectedItem:e=>`${e.item} n\\xE3o selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de sele\\xE7\\xE3o.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var B2={};B2={deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Ap\\u0103sa\\u021Bi lung pentru a intra \\xEEn modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`};var z2={};z2={deselectedItem:e=>`${e.item} \\u043D\\u0435 \\u0432\\u044B\\u0431\\u0440\\u0430\\u043D\\u043E.`,longPressToSelect:"\\u041D\\u0430\\u0436\\u043C\\u0438\\u0442\\u0435 \\u0438 \\u0443\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0439\\u0442\\u0435 \\u0434\\u043B\\u044F \\u0432\\u0445\\u043E\\u0434\\u0430 \\u0432 \\u0440\\u0435\\u0436\\u0438\\u043C \\u0432\\u044B\\u0431\\u043E\\u0440\\u0430.",select:"\\u0412\\u044B\\u0431\\u0440\\u0430\\u0442\\u044C",selectedAll:"\\u0412\\u044B\\u0431\\u0440\\u0430\\u043D\\u044B \\u0432\\u0441\\u0435 \\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u044B.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\\u041D\\u0435\\u0442 \\u0432\\u044B\\u0431\\u0440\\u0430\\u043D\\u043D\\u044B\\u0445 \\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u043E\\u0432",one:()=>`${t.number(e.count)} \\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442 \\u0432\\u044B\\u0431\\u0440\\u0430\\u043D`,other:()=>`${t.number(e.count)} \\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u043E\\u0432 \\u0432\\u044B\\u0431\\u0440\\u0430\\u043D\\u043E`})}.`,selectedItem:e=>`${e.item} \\u0432\\u044B\\u0431\\u0440\\u0430\\u043D\\u043E.`};var O2={};O2={deselectedItem:e=>`Nevybrat\\xE9 polo\\u017Eky: ${e.item}.`,longPressToSelect:"Dlh\\u0161\\xEDm stla\\u010Den\\xEDm prejdite do re\\u017Eimu v\\xFDberu.",select:"Vybra\\u0165",selectedAll:"V\\u0161etky vybrat\\xE9 polo\\u017Eky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\\u017Diadne vybrat\\xE9 polo\\u017Eky",one:()=>`${t.number(e.count)} vybrat\\xE1 polo\\u017Eka`,other:()=>`Po\\u010Det vybrat\\xFDch polo\\u017Eiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybrat\\xE9 polo\\u017Eky: ${e.item}.`};var I2={};I2={deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni na\\u010Din pritisnite in dlje \\u010Dasa dr\\u017Eite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`};var F2={};F2={deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u re\\u017Eim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`};var K2={};K2={deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck l\\xE4nge n\\xE4r du vill \\xF6ppna v\\xE4ljarl\\xE4ge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`};var V2={};V2={deselectedItem:e=>`${e.item} se\\xE7ilmedi.`,longPressToSelect:"Se\\xE7im moduna girmek i\\xE7in uzun bas\\u0131n.",select:"Se\\xE7",selectedAll:"T\\xFCm \\xF6geler se\\xE7ildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hi\\xE7bir \\xF6ge se\\xE7ilmedi",one:()=>`${t.number(e.count)} \\xF6ge se\\xE7ildi`,other:()=>`${t.number(e.count)} \\xF6ge se\\xE7ildi`})}.`,selectedItem:e=>`${e.item} se\\xE7ildi.`};var _2={};_2={deselectedItem:e=>`${e.item} \\u043D\\u0435 \\u0432\\u0438\\u0431\\u0440\\u0430\\u043D\\u043E.`,longPressToSelect:"\\u0412\\u0438\\u043A\\u043E\\u043D\\u0430\\u0439\\u0442\\u0435 \\u0434\\u043E\\u0432\\u0433\\u0435 \\u043D\\u0430\\u0442\\u0438\\u0441\\u043D\\u0435\\u043D\\u043D\\u044F, \\u0449\\u043E\\u0431 \\u043F\\u0435\\u0440\\u0435\\u0439\\u0442\\u0438 \\u0432 \\u0440\\u0435\\u0436\\u0438\\u043C \\u0432\\u0438\\u0431\\u043E\\u0440\\u0443.",select:"\\u0412\\u0438\\u0431\\u0440\\u0430\\u0442\\u0438",selectedAll:"\\u0423\\u0441\\u0456 \\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0438 \\u0432\\u0438\\u0431\\u0440\\u0430\\u043D\\u043E.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\\u0416\\u043E\\u0434\\u043D\\u0438\\u0445 \\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0456\\u0432 \\u043D\\u0435 \\u0432\\u0438\\u0431\\u0440\\u0430\\u043D\\u043E",one:()=>`${t.number(e.count)} \\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442 \\u0432\\u0438\\u0431\\u0440\\u0430\\u043D\\u043E`,other:()=>`\\u0412\\u0438\\u0431\\u0440\\u0430\\u043D\\u043E \\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0456\\u0432: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} \\u0432\\u0438\\u0431\\u0440\\u0430\\u043D\\u043E.`};var H2={};H2={deselectedItem:e=>`\\u672A\\u9009\\u62E9 ${e.item}\\u3002`,longPressToSelect:"\\u957F\\u6309\\u4EE5\\u8FDB\\u5165\\u9009\\u62E9\\u6A21\\u5F0F\\u3002",select:"\\u9009\\u62E9",selectedAll:"\\u5DF2\\u9009\\u62E9\\u6240\\u6709\\u9879\\u76EE\\u3002",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\\u672A\\u9009\\u62E9\\u9879\\u76EE",one:()=>`\\u5DF2\\u9009\\u62E9 ${t.number(e.count)} \\u4E2A\\u9879\\u76EE`,other:()=>`\\u5DF2\\u9009\\u62E9 ${t.number(e.count)} \\u4E2A\\u9879\\u76EE`})}\\u3002`,selectedItem:e=>`\\u5DF2\\u9009\\u62E9 ${e.item}\\u3002`};var j2={};j2={deselectedItem:e=>`\\u672A\\u9078\\u53D6\\u300C${e.item}\\u300D\\u3002`,longPressToSelect:"\\u9577\\u6309\\u4EE5\\u9032\\u5165\\u9078\\u64C7\\u6A21\\u5F0F\\u3002",select:"\\u9078\\u53D6",selectedAll:"\\u5DF2\\u9078\\u53D6\\u6240\\u6709\\u9805\\u76EE\\u3002",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\\u672A\\u9078\\u53D6\\u4EFB\\u4F55\\u9805\\u76EE",one:()=>`\\u5DF2\\u9078\\u53D6 ${t.number(e.count)} \\u500B\\u9805\\u76EE`,other:()=>`\\u5DF2\\u9078\\u53D6 ${t.number(e.count)} \\u500B\\u9805\\u76EE`})}\\u3002`,selectedItem:e=>`\\u5DF2\\u9078\\u53D6\\u300C${e.item}\\u300D\\u3002`};var Fi={};Fi={"ar-AE":d2,"bg-BG":f2,"cs-CZ":p2,"da-DK":m2,"de-DE":b2,"el-GR":h2,"en-US":g2,"es-ES":$2,"et-EE":x2,"fi-FI":v2,"fr-FR":y2,"he-IL":C2,"hr-HR":S2,"hu-HU":w2,"it-IT":E2,"ja-JP":T2,"ko-KR":D2,"lt-LT":k2,"lv-LV":R2,"nb-NO":A2,"nl-NL":N2,"pl-PL":M2,"pt-BR":P2,"pt-PT":L2,"ro-RO":B2,"ru-RU":z2,"sk-SK":O2,"sl-SI":I2,"sr-SP":F2,"sv-SE":K2,"tr-TR":V2,"uk-UA":_2,"zh-CN":H2,"zh-TW":j2};var Um=T(R(),1);function wz(e){return e&&e.__esModule?e.default:e}function hw(e,t){let{getRowText:a=i=>t.collection.getTextValue?.(i)??t.collection.getItem(i)?.textValue}=e,r=it(wz(Fi),"@react-aria/grid"),o=t.selectionManager.rawSelection,l=(0,Um.useRef)(o),n=(0,Um.useCallback)(()=>{if(!t.selectionManager.isFocused||o===l.current){l.current=o;return}let i=bw(o,l.current),s=bw(l.current,o),u=t.selectionManager.selectionBehavior==="replace",c=[];if(t.selectionManager.selectedKeys.size===1&&u){let d=t.selectionManager.selectedKeys.keys().next().value;if(d!=null&&t.collection.getItem(d)){let f=a(d);f&&c.push(r.format("selectedItem",{item:f}))}}else if(i.size===1&&s.size===0){let d=i.keys().next().value;if(d!=null){let f=a(d);f&&c.push(r.format("selectedItem",{item:f}))}}else if(s.size===1&&i.size===0){let d=s.keys().next().value;if(d!=null&&t.collection.getItem(d)){let f=a(d);f&&c.push(r.format("deselectedItem",{item:f}))}}t.selectionManager.selectionMode==="multiple"&&(c.length===0||o==="all"||o.size>1||l.current==="all"||l.current?.size>1)&&c.push(o==="all"?r.format("selectedAll"):r.format("selectedCount",{count:o.size})),c.length>0&&pn(c.join(" ")),l.current=o},[o,t.selectionManager.selectedKeys,t.selectionManager.isFocused,t.selectionManager.selectionBehavior,t.selectionManager.selectionMode,t.collection,a,r]);$p(()=>{if(t.selectionManager.isFocused)n();else{let i=requestAnimationFrame(n);return()=>cancelAnimationFrame(i)}},[o,t.selectionManager.isFocused])}function bw(e,t){let a=new Set;if(e==="all"||t==="all")return a;for(let r of e.keys())t.has(r)||a.add(r);return a}var gw=T(R(),1);function Gm(e,t){let a=t?.isDisabled,[r,o]=(0,gw.useState)(!1);return ae(()=>{if(e?.current&&!a){let l=()=>{if(e.current){let i=Kt(e.current,{tabbable:!0});o(!!i.nextNode())}};l();let n=new MutationObserver(l);return n.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{n.disconnect()}}}),a?!1:r}var $w=T(R(),1);function Ez(e){return e&&e.__esModule?e.default:e}function xw(e){let t=it(Ez(Fi),"@react-aria/grid"),a=nd(),r=(a==="pointer"||a==="virtual"||a==null)&&typeof window<"u"&&"ontouchstart"in window,o=(0,$w.useMemo)(()=>{let n=e.selectionManager.selectionMode,i=e.selectionManager.selectionBehavior,s;return r&&(s=t.format("longPressToSelect")),i==="replace"&&n!=="none"&&e.hasItemActions?s:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,r]);return Mo(o)}function Tz(e){return e&&e.__esModule?e.default:e}function vw(e,t){let{key:a}=e,r=t.selectionManager,o=Ne(),l=!t.selectionManager.canSelectItem(a),n=t.selectionManager.isSelected(a),i=()=>r.toggleSelection(a),s=it(Tz(Fi),"@react-aria/grid");return{checkboxProps:{id:o,"aria-label":s.format("select"),isSelected:n,isDisabled:l,onChange:i}}}var U2={};U2={"Clear search":"\\u0645\\u0633\\u062D \\u0627\\u0644\\u0628\\u062D\\u062B"};var G2={};G2={"Clear search":"\\u0418\\u0437\\u0447\\u0438\\u0441\\u0442\\u0432\\u0430\\u043D\\u0435 \\u043D\\u0430 \\u0442\\u044A\\u0440\\u0441\\u0435\\u043D\\u0435"};var q2={};q2={"Clear search":"Vymazat hled\\xE1n\\xED"};var Y2={};Y2={"Clear search":"Ryd s\\xF8gning"};var W2={};W2={"Clear search":"Suche zur\\xFCcksetzen"};var X2={};X2={"Clear search":"\\u0391\\u03C0\\u03B1\\u03BB\\u03BF\\u03B9\\u03C6\\u03AE \\u03B1\\u03BD\\u03B1\\u03B6\\u03AE\\u03C4\\u03B7\\u03C3\\u03B7\\u03C2"};var Z2={};Z2={"Clear search":"Clear search"};var Q2={};Q2={"Clear search":"Borrar b\\xFAsqueda"};var J2={};J2={"Clear search":"T\\xFChjenda otsing"};var e4={};e4={"Clear search":"Tyhjenn\\xE4 haku"};var t4={};t4={"Clear search":"Effacer la recherche"};var a4={};a4={"Clear search":"\\u05E0\\u05E7\\u05D4 \\u05D7\\u05D9\\u05E4\\u05D5\\u05E9"};var r4={};r4={"Clear search":"Obri\\u0161i pretragu"};var o4={};o4={"Clear search":"Keres\\xE9s t\\xF6rl\\xE9se"};var l4={};l4={"Clear search":"Cancella ricerca"};var n4={};n4={"Clear search":"\\u691C\\u7D22\\u3092\\u30AF\\u30EA\\u30A2"};var i4={};i4={"Clear search":"\\uAC80\\uC0C9 \\uC9C0\\uC6B0\\uAE30"};var s4={};s4={"Clear search":"I\\u0161valyti ie\\u0161k\\u0105"};var u4={};u4={"Clear search":"Not\\u012Br\\u012Bt mekl\\u0113\\u0161anu"};var c4={};c4={"Clear search":"T\\xF8m s\\xF8k"};var d4={};d4={"Clear search":"Zoekactie wissen"};var f4={};f4={"Clear search":"Wyczy\\u015B\\u0107 zawarto\\u015B\\u0107 wyszukiwania"};var p4={};p4={"Clear search":"Limpar pesquisa"};var m4={};m4={"Clear search":"Limpar pesquisa"};var b4={};b4={"Clear search":"\\u015Eterge\\u0163i c\\u0103utarea"};var h4={};h4={"Clear search":"\\u041E\\u0447\\u0438\\u0441\\u0442\\u0438\\u0442\\u044C \\u043F\\u043E\\u0438\\u0441\\u043A"};var g4={};g4={"Clear search":"Vymaza\\u0165 vyh\\u013Ead\\xE1vanie"};var $4={};$4={"Clear search":"Po\\u010Disti iskanje"};var x4={};x4={"Clear search":"Obri\\u0161i pretragu"};var v4={};v4={"Clear search":"Rensa s\\xF6kning"};var y4={};y4={"Clear search":"Aramay\\u0131 temizle"};var C4={};C4={"Clear search":"\\u041E\\u0447\\u0438\\u0441\\u0442\\u0438\\u0442\\u0438 \\u043F\\u043E\\u0448\\u0443\\u043A"};var S4={};S4={"Clear search":"\\u6E05\\u9664\\u641C\\u7D22"};var w4={};w4={"Clear search":"\\u6E05\\u9664\\u641C\\u5C0B\\u689D\\u4EF6"};var E4={};E4={"ar-AE":U2,"bg-BG":G2,"cs-CZ":q2,"da-DK":Y2,"de-DE":W2,"el-GR":X2,"en-US":Z2,"es-ES":Q2,"et-EE":J2,"fi-FI":e4,"fr-FR":t4,"he-IL":a4,"hr-HR":r4,"hu-HU":o4,"it-IT":l4,"ja-JP":n4,"ko-KR":i4,"lt-LT":s4,"lv-LV":u4,"nb-NO":c4,"nl-NL":d4,"pl-PL":f4,"pt-BR":p4,"pt-PT":m4,"ro-RO":b4,"ru-RU":h4,"sk-SK":g4,"sl-SI":$4,"sr-SP":x4,"sv-SE":v4,"tr-TR":y4,"uk-UA":C4,"zh-CN":S4,"zh-TW":w4};function Dz(e){return e&&e.__esModule?e.default:e}function T4(e,t,a){let r=it(Dz(E4),"@react-aria/searchfield"),{isDisabled:o,isReadOnly:l,onSubmit:n,onClear:i,type:s="search"}=e,{keyboardProps:u}=oa({isDisabled:o||l,shortcuts:{Enter:()=>{if(n){n(t.value);return}return!1},Escape:()=>{if(t.value===""&&(!a.current||a.current.value===""))return!1;t.setValue(""),i?.()}}}),c=()=>{t.setValue(""),i&&i()},d=()=>{a.current?.focus()},{labelProps:f,inputProps:b,descriptionProps:m,errorMessageProps:p,...x}=mw({...e,value:t.value,onChange:t.setValue,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,type:s},a);return{labelProps:f,inputProps:O(u,{...b,defaultValue:void 0}),clearButtonProps:{"aria-label":r.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:o||l,onPress:c,onPressStart:d},descriptionProps:m,errorMessageProps:p,...x}}var Ki=T(R(),1);function D4(e){let[t,a]=Bt(yw(e.value),yw(e.defaultValue)||"",e.onChange);return{value:t,setValue:a}}function yw(e){if(e!=null)return e.toString()}var Cw=(0,Ki.createContext)(null),k4=er(function(t,a){[t,a]=Te(t,a,Cw);let{validationBehavior:r}=Ot(pu)||{},o=t.validationBehavior??r??"native",l=(0,Ki.useRef)(null);[t,l]=Te(t,l,$m);let[n,i]=$i(!t["aria-label"]&&!t["aria-labelledby"]),s=D4({...t,validationBehavior:o}),{labelProps:u,inputProps:c,clearButtonProps:d,descriptionProps:f,errorMessageProps:b,...m}=T4({...Os(t),label:i,validationBehavior:o},s,l),p=be({...t,values:{isEmpty:s.value==="",isDisabled:t.isDisabled||!1,isInvalid:m.isInvalid||!1,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1,state:s},defaultClassName:"react-aria-SearchField"}),x=te(t,{global:!0});return delete x.id,Ki.default.createElement(le.div,{...x,...p,ref:a,slot:t.slot||void 0,"data-empty":s.value===""||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":m.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},Ki.default.createElement(Ct,{values:[[bl,{...u,ref:n}],[Hm,{...c,ref:l}],[br,d],[Ur,{slots:{description:f,errorMessage:b}}],[Tm,{isInvalid:m.isInvalid,isDisabled:t.isDisabled||!1}],[du,m]]},p.children))});function R4(e,t,a){let{labelProps:r,inputProps:o,isSelected:l,...n}=dw(e,t,a);return{labelProps:r,inputProps:{...o,role:"switch",checked:l},isSelected:l,...n}}var sa=T(R(),1);var kz=(0,sa.createContext)(null),Sw=(0,sa.createContext)(null);var ww=(0,sa.createContext)(null),A4=(0,sa.forwardRef)(function(t,a){let{inputRef:r=null,...o}=t;[t,a]=Te(o,a,kz);let{validationBehavior:l}=Ot(pu)||{},n=t.validationBehavior??l??"native",i=nt((0,sa.useMemo)(()=>Yt(r,t.inputRef!==void 0?t.inputRef:null),[r,t.inputRef])),s=Od(t),u=R4({...Os(t),children:typeof t.children=="function"?!0:t.children,validationBehavior:n},s,i),{descriptionProps:c,errorMessageProps:d,isSelected:f,isDisabled:b,isReadOnly:m,isInvalid:p,validationDetails:x,validationErrors:h}=u,g=be({...t,defaultClassName:"react-aria-SwitchField",values:{isSelected:f,isDisabled:b,isReadOnly:m,isInvalid:p,isRequired:t.isRequired||!1,state:s}}),$=te(t,{global:!0});return delete $.id,delete $.onClick,sa.default.createElement(le.div,{...O($,g),ref:a,slot:t.slot||void 0,"data-selected":f||void 0,"data-disabled":b||void 0,"data-readonly":m||void 0,"data-invalid":p||void 0,"data-required":t.isRequired||void 0},sa.default.createElement(Ct,{values:[[Sw,s],[ww,{...u,inputRef:i,defaultClassName:"react-aria-SwitchButton",isRequired:t.isRequired}],[Ur,{slots:{description:c,errorMessage:d}}],[du,{isInvalid:p,validationDetails:x,validationErrors:h}]]},g.children))}),N4=(0,sa.forwardRef)(function(t,a){let{labelProps:r,inputProps:o,isSelected:l,isDisabled:n,isReadOnly:i,isPressed:s,isInvalid:u,inputRef:c,defaultClassName:d,isRequired:f}=(0,sa.useContext)(ww),{isFocused:b,isFocusVisible:m,focusProps:p}=ot(),x=n||i,h=(0,sa.useContext)(Sw),{hoverProps:g,isHovered:$}=vt({...t,isDisabled:x}),v=be({...t,defaultClassName:d,values:{isSelected:l,isPressed:s,isHovered:$,isFocused:b,isFocusVisible:m,isDisabled:n,isReadOnly:i,isInvalid:u,isRequired:f||!1,state:h}}),y=te(t,{global:!0});return delete y.id,delete y.onClick,sa.default.createElement(le.label,{...O(y,r,g,v),ref:a,slot:t.slot||void 0,"data-selected":l||void 0,"data-pressed":s||void 0,"data-hovered":$||void 0,"data-focused":b||void 0,"data-focus-visible":m||void 0,"data-disabled":n||void 0,"data-readonly":i||void 0,"data-invalid":u||void 0,"data-required":f||void 0},sa.default.createElement($d,{elementType:"span"},sa.default.createElement("input",{...O(o,p),ref:c})),v.children)});var qm=class{setup(t,a,r){this.delegate=t,this.state=a,this.direction=r}getDropTargetFromPoint(t,a,r){let o=this.delegate.getDropTargetFromPoint(t,a,r);return!o||o.type==="root"?o:this.resolveDropTarget(o,t,a,r)}resolveDropTarget(t,a,r,o){let l=this.pointerTracking,n=r-l.lastY,i=a-l.lastX,s=l.yDirection,u=l.xDirection;if(Math.abs(n)>5&&(s=n>0?"down":"up",l.yDirection=s,l.lastY=r),Math.abs(i)>10&&(u=i>0?"right":"left",l.xDirection=u,l.lastX=a),t.dropPosition==="before"){let f=this.state.collection.getKeyBefore(t.key);for(;f!=null;){let b=this.state.collection.getItem(f);if(b?.type==="item")break;f=b?.parentKey??null}if(f!=null){let b={type:"item",key:f,dropPosition:"after"};o(b)&&(t=b)}}let c=this.getPotentialTargets(t,o);if(c.length===0)return{type:"root"};let d;return c.length>1?d=this.selectTarget(c,t,a,r,s,u):(d=c[0],l.boundaryContext=null),d}getPotentialTargets(t,a){if(t.dropPosition==="on")return[t];let r=t,o=this.state.collection,l=o.getItem(r.key);for(;l&&l?.type!=="item"&&l.nextKey!=null;)r.key=l.nextKey,l=o.getItem(l.nextKey);let n=[r];if(l&&l.hasChildNodes&&this.state.expandedKeys.has(l.key)&&o.getChildren&&r.dropPosition==="after"){let u=l.firstChildKey!=null?o.getItem(l.firstChildKey):null;for(;u&&u.type!=="item";)u=u.nextKey!=null?o.getItem(u.nextKey):null;if(u?.type==="item"){let c={type:"item",key:u.key,dropPosition:"before"};return a(c)?[c]:[]}}if(l?.nextKey!=null)return[t];let i=l?.parentKey,s=[];for(;i!=null;){let u=o.getItem(i),c=u?.nextKey!=null?o.getItem(u.nextKey):null;if(!c||c.parentKey!==i){if(u?.type==="item"){let f={type:"item",key:i,dropPosition:"after"};a(f)&&s.push(f)}if(c)break}i=u?.parentKey}if(s.length>0&&n.push(...s),n.length===1){let u=o.getKeyAfter(r.key),c=u!=null?o.getItem(u):null;if(u!=null&&c&&l&&c.level!=null&&l.level!=null&&c.level>l.level){let d={type:"item",key:u,dropPosition:"before"};if(a(d))return[d]}}return n.filter(a)}selectTarget(t,a,r,o,l,n){if(t.length<2)return t[0];let i=this.pointerTracking,u=this.state.collection.getItem(a.key)?.parentKey;if(u==null)return t[0];if(!i.boundaryContext||i.boundaryContext.parentKey!==u){let m=i.yDirection==="up"?t.length-1:0;i.boundaryContext={parentKey:u,preferredTargetIndex:m,lastSwitchY:o,lastSwitchX:r}}let c=i.boundaryContext,d=Math.abs(r-c.lastSwitchX);if(Math.abs(o-c.lastSwitchY)>5&&l){let m=c.preferredTargetIndex||0;l==="down"&&m===0?c.preferredTargetIndex=t.length-1:l==="up"&&m===t.length-1&&(c.preferredTargetIndex=0),i.xDirection=null}if(d>10&&n){let m=c.preferredTargetIndex||0;n==="left"?this.direction==="ltr"?m<t.length-1&&(c.preferredTargetIndex=m+1,c.lastSwitchX=r):m>0&&(c.preferredTargetIndex=m-1,c.lastSwitchX=r):n==="right"&&(this.direction==="ltr"?m>0&&(c.preferredTargetIndex=m-1,c.lastSwitchX=r):m<t.length-1&&(c.preferredTargetIndex=m+1,c.lastSwitchX=r)),i.yDirection=null}let b=Math.max(0,Math.min(c.preferredTargetIndex||0,t.length-1));return t[b]}constructor(){this.delegate=null,this.state=null,this.direction="ltr",this.pointerTracking={lastY:0,lastX:0,yDirection:null,xDirection:null,boundaryContext:null}}};var Ym=class{constructor(t){this.keyMap=new Map,this.keyMap=new Map,this.columnCount=t?.columnCount,this.rows=[];let a=l=>{let n=this.keyMap.get(l.key);t.visitNode&&(l=t.visitNode(l)),this.keyMap.set(l.key,l);let i=new Set,s=null,u=!1;if(l.type==="item"){for(let c of l.childNodes)if(c.props?.colSpan!==void 0){u=!0;break}}for(let c of l.childNodes)c.type==="cell"&&u&&(c.colspan=c.props?.colSpan,c.colSpan=c.props?.colSpan,c.colIndex=s?(s.colIndex??s.index)+(s.colSpan??1):c.index),c.type==="cell"&&c.parentKey==null&&(c.parentKey=l.key),i.add(c.key),s?(s.nextKey=c.key,c.prevKey=s.key):c.prevKey=null,a(c),s=c;if(s&&(s.nextKey=null),n)for(let c of n.childNodes)i.has(c.key)||r(c)},r=l=>{this.keyMap.delete(l.key);for(let n of l.childNodes)this.keyMap.get(n.key)===n&&r(n)},o=null;for(let[l,n]of t.items.entries()){let i={...n,level:n.level??0,key:n.key??"row-"+l,type:n.type??"row",value:n.value??null,hasChildNodes:!0,childNodes:[...n.childNodes],rendered:n.rendered,textValue:n.textValue??"",index:n.index??l};o?(o.nextKey=i.key,i.prevKey=o.key):i.prevKey=null,this.rows.push(i),a(i),o=i}o&&(o.nextKey=null)}*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let a=this.keyMap.get(t);return a?a.prevKey??null:null}getKeyAfter(t){let a=this.keyMap.get(t);return a?a.nextKey??null:null}getFirstKey(){return[...this.rows][0]?.key}getLastKey(){let t=[...this.rows];return t[t.length-1]?.key}getItem(t){return this.keyMap.get(t)??null}at(t){let a=[...this.getKeys()];return this.getItem(a[t])}getChildren(t){return this.keyMap.get(t)?.childNodes||[]}};var Ew="row-header-column-"+Math.random().toString(36).slice(2),M4="row-header-column-"+Math.random().toString(36).slice(2);for(;Ew===M4;)M4="row-header-column-"+Math.random().toString(36).slice(2);function Wm(e,t){if(t.length===0)return[];let a=[],r=new Map;for(let s of t){let u=s.parentKey,c=[s];for(;u!=null;){let d=e.get(u);if(!d)break;if(r.has(d)){d.colSpan??=0,d.colSpan++,d.colspan=d.colSpan;let{column:f,index:b}=r.get(d);if(b>c.length)break;for(let m=b;m<c.length;m++)f.splice(m,0,null);for(let m=c.length;m<f.length;m++)f[m]&&r.has(f[m])&&(r.get(f[m]).index=m)}else d.colSpan=1,d.colspan=1,c.push(d),r.set(d,{column:c,index:c.length-1});u=d.parentKey}a.push(c),s.index=a.length-1}let o=Math.max(...a.map(s=>s.length)),l=Array(o).fill(0).map(()=>[]),n=0;for(let s of a){let u=o-1;for(let c of s){if(c){let d=l[u],f=d.reduce((b,m)=>b+(m.colSpan??1),0);if(f<n){let b={type:"placeholder",key:"placeholder-"+c.key,colspan:n-f,colSpan:n-f,index:f,value:null,rendered:null,level:u,hasChildNodes:!1,childNodes:[],textValue:""};d.length>0&&(d[d.length-1].nextKey=b.key,b.prevKey=d[d.length-1].key),d.push(b)}d.length>0&&(d[d.length-1].nextKey=c.key,c.prevKey=d[d.length-1].key),c.level=u,c.colIndex=n,d.push(c)}u--}n++}let i=0;for(let s of l){let u=s.reduce((c,d)=>c+(d.colSpan??1),0);if(u<t.length){let c={type:"placeholder",key:"placeholder-"+s[s.length-1].key,colSpan:t.length-u,colspan:t.length-u,index:u,value:null,rendered:null,level:i,hasChildNodes:!1,childNodes:[],textValue:"",prevKey:s[s.length-1].key};s.push(c)}i++}return l.map((s,u)=>({type:"headerrow",key:"headerrow-"+u,index:u,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:s,textValue:""}))}var Vd=class extends Ym{constructor(t,a,r){let o=new Set,l=null,n=[];if(r?.showSelectionCheckboxes){let d={type:"column",key:Ew,value:null,textValue:"",level:0,index:r?.showDragButtons?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};n.unshift(d)}if(r?.showDragButtons){let d={type:"column",key:M4,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};n.unshift(d)}let i=[],s=new Map,u=d=>{switch(d.type){case"body":l=d;break;case"column":s.set(d.key,d),d.hasChildNodes||(n.push(d),d.props.isRowHeader&&o.add(d.key));break;case"item":i.push(d);return}for(let f of d.childNodes)u(f)};for(let d of t)u(d);let c=Wm(s,n);if(c.forEach((d,f)=>i.splice(f,0,d)),super({columnCount:n.length,items:i,visitNode:d=>(d.column=n[d.index],d)}),this._size=0,this.columns=n,this.rowHeaderColumnKeys=o,this.body=l,this.headerRows=c,this._size=[...l.childNodes].length,this.rowHeaderColumnKeys.size===0){let d=this.columns.find(f=>!f.props?.isDragButtonCell&&!f.props?.isSelectionCell);d&&this.rowHeaderColumnKeys.add(d.key)}}*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){return this.keyMap.get(t)?.prevKey??null}getKeyAfter(t){return this.keyMap.get(t)?.nextKey??null}getFirstKey(){return Fa(this.body.childNodes)?.key??null}getLastKey(){return Go(this.body.childNodes)?.key??null}getItem(t){return t===this.body.key?this.body:this.keyMap.get(t)??null}at(t){let a=[...this.getKeys()];return this.getItem(a[t])}getChildren(t){if(t===this.body.key)return this.body.childNodes;let a=this.getItem(t);return a?.type==="item"?[...a.childNodes].filter(r=>r.type==="cell"):super.getChildren(t)}getTextValue(t){let a=this.getItem(t);if(!a)return"";if(a.textValue)return a.textValue;let r=this.rowHeaderColumnKeys;if(r){let o=[];for(let l of a.childNodes){let n=this.columns[l.index];if(r.has(n.key)&&l.textValue&&o.push(l.textValue),o.length===r.size)break}return o.join(" ")}return""}};var A=T(R(),1),zw=T(mo(),1);function Rz(e){return e!=null&&(!isNaN(e)||String(e).match(/^(\\d+)(?=%$)/)!==null)}function Az(e){if(!e||typeof e=="number")return 1;let t=e.match(/^(.+)(?=fr$)/);return t?parseFloat(t[0]):1}function P4(e,t){if(typeof e=="string"){let a=e.match(/^(\\d+)(?=%$)/);if(!a)throw new Error("Only percentages or numbers are supported for static column widths");return t*(parseFloat(a[0])/100)}return e}function L4(e,t){return e!=null?P4(e,t):Number.MAX_SAFE_INTEGER}function B4(e,t){return e!=null?P4(e,t):0}function Tw(e,t,a,r,o){let l=e,n=Math.floor(e),i=e-n>0;e=n;let s=!1,u=t.map((d,f)=>{let b=a.get(d.key)!=null?a.get(d.key)??"1fr":d.width??d.defaultWidth??r?.(f)??"1fr",m=!1,p=0,x=0,h=0;Rz(b)?(p=P4(b,e),m=!0):(x=Az(b),x<=0&&(m=!0));let g=B4(d.minWidth??o?.(f)??0,e),$=L4(d.maxWidth,e),v=Math.max(g,Math.min(p,$));return m?h=v:p>v&&(m=!0,h=v),m||(s=!0),{frozen:m,baseSize:p,hypotheticalMainSize:v,min:g,max:$,flex:x,targetMainSize:h,violation:0}});for(;s;){let d=0,f=0;u.forEach(p=>{p.frozen?d+=p.targetMainSize:(d+=p.baseSize,f+=p.flex)});let b=e-d;b>0&&u.forEach(p=>{if(!p.frozen){let x=p.flex/f;p.targetMainSize=p.baseSize+x*b}});let m=0;u.forEach(p=>{if(p.violation=0,!p.frozen){let{min:x,max:h,targetMainSize:g}=p;p.targetMainSize=Math.max(x,Math.min(g,h)),p.violation=p.targetMainSize-g,m+=p.violation}}),s=!1,u.forEach(p=>{m===0||Math.sign(m)===Math.sign(p.violation)?p.frozen=!0:p.frozen||(s=!0)})}let c=Nz(u);if(i&&c.length>0){let d=l.toString().split(".")[1],f=c[c.length-1].toString();c[c.length-1]=+(f+"."+d)}return c}function Nz(e){let t=0,a=0,r=[];return e.forEach(function(o){let l=o.targetMainSize,n=Math.round(l+t)-a;t+=l,a+=n,r.push(n)}),r}var Xm=class{constructor(t){this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map,this.getDefaultWidth=t?.getDefaultWidth??(()=>"1fr"),this.getDefaultMinWidth=t?.getDefaultMinWidth??(()=>75)}splitColumnsIntoControlledAndUncontrolled(t){return t.reduce((a,r)=>(r.props.width!=null?a[0].set(r.key,r):a[1].set(r.key,r),a),[new Map,new Map])}recombineColumns(t,a,r,o){return new Map(t.map(l=>r.has(l.key)?[l.key,a.get(l.key)]:[l.key,o.get(l.key).props.width]))}getInitialUncontrolledWidths(t){return new Map(Array.from(t).map(([a,r])=>[a,r.props.defaultWidth??this.getDefaultWidth?.(r)??"1fr"]))}getColumnWidth(t){return this.columnWidths.get(t)??0}getColumnMinWidth(t){return this.columnMinWidths.get(t)??0}getColumnMaxWidth(t){return this.columnMaxWidths.get(t)??0}resizeColumnWidth(t,a,r,o){let l=this.columnWidths,n=!0,i=new Map;return o=Math.max(this.getColumnMinWidth(r),Math.min(this.getColumnMaxWidth(r),Math.floor(o))),t.columns.forEach(s=>{s.key===r?(i.set(s.key,o),n=!1):n?i.set(s.key,l.get(s.key)??0):i.set(s.key,s.props.width??a.get(s.key))}),i}buildColumnWidths(t,a,r){return this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map,Tw(t,a.columns.map(l=>({...l.props,key:l.key})),r,l=>this.getDefaultWidth(a.columns[l]),l=>this.getDefaultMinWidth(a.columns[l])).forEach((l,n)=>{let i=a.columns[n].key,s=a.columns[n];this.columnWidths.set(i,l),this.columnMinWidths.set(i,B4(s.props.minWidth??this.getDefaultMinWidth(s),t)),this.columnMaxWidths.set(i,L4(s.props.maxWidth,t))}),this.columnWidths}};var rr=T(R(),1);function z4(e,t){let{getDefaultWidth:a,getDefaultMinWidth:r,tableWidth:o=0}=e,[l,n]=(0,rr.useState)(null),i=(0,rr.useMemo)(()=>new Xm({getDefaultWidth:a,getDefaultMinWidth:r}),[a,r]),[s,u]=(0,rr.useMemo)(()=>i.splitColumnsIntoControlledAndUncontrolled(t.collection.columns),[t.collection.columns,i]),[c,d]=(0,rr.useState)(()=>i.getInitialUncontrolledWidths(u)),[f,b]=(0,rr.useState)(t.collection.columns);if(t.collection.columns!==f){if(t.collection.columns.length!==f.length||t.collection.columns.some(($,v)=>$.key!==f[v].key)){let $=i.getInitialUncontrolledWidths(u);d($)}b(t.collection.columns)}let m=(0,rr.useMemo)(()=>i.recombineColumns(t.collection.columns,c,u,s),[t.collection.columns,c,u,s,i]),p=(0,rr.useCallback)($=>{n($)},[n]),x=(0,rr.useCallback)(($,v)=>{let y=i.resizeColumnWidth(t.collection,c,$,v),E=new Map(Array.from(u).map(([C])=>[C,y.get(C)]));return E.set($,v),d(E),y},[u,d,i,t.collection,c]),h=(0,rr.useCallback)(()=>{n(null)},[n]),g=(0,rr.useMemo)(()=>i.buildColumnWidths(o,t.collection,m),[o,t.collection,m,i]);return(0,rr.useMemo)(()=>({resizingColumn:l,updateResizedColumns:x,startResize:p,endResize:h,getColumnWidth:$=>i.getColumnWidth($),getColumnMinWidth:$=>i.getColumnMinWidth($),getColumnMaxWidth:$=>i.getColumnMaxWidth($),tableState:t,columnWidths:g}),[i,g,l,x,p,h,t])}var Vi=T(R(),1);function Dw(e){let{collection:t,focusMode:a}=e,r=e.UNSAFE_selectionState||Mi(e),o=(0,Vi.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),l=r.setFocusedKey;r.setFocusedKey=(s,u)=>{if(a==="cell"&&s!=null){let c=t.getItem(s);if(c?.type==="item"){let d=St(c,t);u==="last"?s=Go(d)?.key??null:s=Fa(d)?.key??null}}l(s,u)};let n=(0,Vi.useMemo)(()=>new iu(t,r),[t,r]),i=(0,Vi.useRef)(null);return(0,Vi.useEffect)(()=>{if(r.focusedKey!=null&&i.current&&!t.getItem(r.focusedKey)){let s=i.current.getItem(r.focusedKey),u=s?.parentKey!=null&&(s.type==="cell"||s.type==="rowheader"||s.type==="column")?i.current.getItem(s.parentKey):s;if(!u){r.setFocusedKey(null);return}let c=i.current.rows,d=t.rows,f=c.length-d.length,b=Math.min(f>1?Math.max(u.index-f+1,0):u.index,d.length-1),m=null;for(let p=Math.max(0,b);p<d.length;p++)if(!n.isDisabled(d[p].key)&&d[p].type!=="headerrow"){m=d[p];break}if(m===null){for(let p=b-1;p>=0;p--)if(!n.isDisabled(d[p].key)&&d[p].type!=="headerrow"){m=d[p];break}}if(m){let p=m.hasChildNodes?[...St(m,t)]:[],x=m.hasChildNodes&&u!==s&&s&&s.index<p.length?p[s.index].key:m.key;r.setFocusedKey(x)}else r.setFocusedKey(null)}i.current=t},[t,n,r,r.focusedKey]),{collection:t,disabledKeys:o,isKeyboardNavigationDisabled:!1,selectionManager:n}}var _i=T(R(),1),Mz={ascending:"descending",descending:"ascending"};function O4(e){let[t,a]=(0,_i.useState)(!1),{selectionMode:r="none",showSelectionCheckboxes:o,showDragButtons:l,treeColumn:n=null}=e,i=(0,_i.useMemo)(()=>({showSelectionCheckboxes:o&&r!=="none",showDragButtons:l,selectionMode:r,columns:[]}),[e.children,o,r,l]),s=Cm(e,(0,_i.useCallback)(b=>new Vd(b,null,i),[i]),i),{disabledKeys:u,selectionManager:c}=Dw({...e,collection:s,disabledBehavior:e.disabledBehavior||"selection"}),[d,f]=Bt(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange);return{collection:s,disabledKeys:u,selectionManager:c,showSelectionCheckboxes:e.showSelectionCheckboxes||!1,sortDescriptor:e.sortDescriptor??null,isKeyboardNavigationDisabled:s.size===0||t,setKeyboardNavigationDisabled:a,sort(b,m){e.onSortChange?.({column:b,direction:m??(e.sortDescriptor?.column===b?Mz[e.sortDescriptor.direction]:"ascending")})},expandedKeys:d,toggleKey(b){f(m=>{let p=new Set(m);return p.has(b)?p.delete(b):p.add(b),p})},treeColumn:n}}function I4(e,t){let a=(0,_i.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),r=e.selectionManager.withCollection(a);return{...e,collection:a,selectionManager:r}}var $u=class{constructor(t){if(this.collection=t.collection,this.disabledKeys=t.disabledKeys,this.disabledBehavior=t.disabledBehavior||"all",this.direction=t.direction,this.collator=t.collator,!t.layout&&!t.ref)throw new Error("Either a layout or a ref must be specified.");this.layoutDelegate=t.layoutDelegate||(t.layout?new F4(t.layout):new Ri(t.ref)),this.focusMode=t.focusMode??"row"}isCell(t){return t.type==="cell"}isRow(t){return t.type==="row"||t.type==="item"}isDisabled(t){return this.disabledBehavior==="all"&&(t.props?.isDisabled||this.disabledKeys.has(t.key))&&t.props?.disabledBehavior!=="selection"}findPreviousKey(t,a,r=!1){let o=t!=null?this.collection.getKeyBefore(t):this.collection.getLastKey();for(;o!=null;){let l=this.collection.getItem(o);if(!l)return null;if((r||!this.isDisabled(l))&&(!a||a(l)))return o;o=this.collection.getKeyBefore(o)}return null}findNextKey(t,a,r=!1){let o=t!=null?this.collection.getKeyAfter(t):this.collection.getFirstKey();for(;o!=null;){let l=this.collection.getItem(o);if(!l)return null;if((r||!this.isDisabled(l))&&(!a||a(l)))return o;if(o=this.collection.getKeyAfter(o),o==null)return null}return null}getKeyForItemInRowByIndex(t,a=0){if(a<0)return null;let r=this.collection.getItem(t);if(!r)return null;let o=0;for(let l of St(r,this.collection)){if(l.colSpan&&l.colSpan+o>a||(l.colSpan&&(o=o+l.colSpan-1),o===a))return l.key??null;o++}return null}getKeyBelow(t,a){let r=t,o=this.collection.getItem(r);if(!o||(this.isCell(o)&&(r=o.parentKey??null),r==null))return null;if(r=this.findNextKey(r,l=>l.type==="item",a?.includeDisabled),r!=null){if(this.isCell(o)){let l=o.colIndex?o.colIndex:o.index;return this.getKeyForItemInRowByIndex(r,l)}if(this.focusMode==="row")return r}return null}getKeyAbove(t,a){let r=t,o=this.collection.getItem(r);if(!o||(this.isCell(o)&&(r=o.parentKey??null),r==null))return null;if(r=this.findPreviousKey(r,l=>l.type==="item",a?.includeDisabled),r!=null){if(this.isCell(o)){let l=o.colIndex?o.colIndex:o.index;return this.getKeyForItemInRowByIndex(r,l)}if(this.focusMode==="row")return r}return null}getKeyRightOf(t){let a=this.collection.getItem(t);if(!a)return null;if(this.isRow(a)){let r=St(a,this.collection);return(this.direction==="rtl"?Go(r)?.key:Fa(r)?.key)??null}if(this.isCell(a)&&a.parentKey!=null){let r=this.collection.getItem(a.parentKey);if(!r)return null;let o=St(r,this.collection),l=(this.direction==="rtl"?Ni(o,a.index-1):Ni(o,a.index+1))??null;return l?l.key??null:this.focusMode==="row"?a.parentKey??null:(this.direction==="rtl"?this.getFirstKey(t):this.getLastKey(t))??null}return null}getKeyLeftOf(t){let a=this.collection.getItem(t);if(!a)return null;if(this.isRow(a)){let r=St(a,this.collection);return(this.direction==="rtl"?Fa(r)?.key:Go(r)?.key)??null}if(this.isCell(a)&&a.parentKey!=null){let r=this.collection.getItem(a.parentKey);if(!r)return null;let o=St(r,this.collection),l=(this.direction==="rtl"?Ni(o,a.index+1):Ni(o,a.index-1))??null;return l?l.key??null:this.focusMode==="row"?a.parentKey??null:(this.direction==="rtl"?this.getLastKey(t):this.getFirstKey(t))??null}return null}getFirstKey(t,a){let r=t??null,o;if(r!=null){if(o=this.collection.getItem(r),!o)return null;if(this.isCell(o)&&!a&&o.parentKey!=null){let l=this.collection.getItem(o.parentKey);return l?Fa(St(l,this.collection))?.key??null:null}}if(r=this.findNextKey(void 0,l=>l.type==="item"),r!=null&&(o&&this.isCell(o)&&a||this.focusMode==="cell")){let l=this.collection.getItem(r);if(!l)return null;r=Fa(St(l,this.collection))?.key??null}return r}getLastKey(t,a){let r=t??null,o;if(r!=null){if(o=this.collection.getItem(r),!o)return null;if(this.isCell(o)&&!a&&o.parentKey!=null){let l=this.collection.getItem(o.parentKey);if(!l)return null;let n=St(l,this.collection);return Go(n)?.key??null}}if(r=this.findPreviousKey(void 0,l=>l.type==="item"),r!=null&&(o&&this.isCell(o)&&a||this.focusMode==="cell")){let l=this.collection.getItem(r);if(!l)return null;let n=St(l,this.collection);r=Go(n)?.key??null}return r}getKeyPageAbove(t){let a=t,r=this.layoutDelegate.getItemRect(a);if(!r)return null;let o=Math.max(0,r.y+r.height-this.layoutDelegate.getVisibleRect().height);for(;r&&r.y>o&&a!=null&&(a=this.getKeyAbove(a)??null,a!=null);)r=this.layoutDelegate.getItemRect(a);return a}getKeyPageBelow(t){let a=t,r=this.layoutDelegate.getItemRect(a);if(!r)return null;let o=this.layoutDelegate.getVisibleRect().height,l=Math.min(this.layoutDelegate.getContentSize().height,r.y+o);for(;r&&r.y+r.height<l;){let n=this.getKeyBelow(a);if(n==null)break;r=this.layoutDelegate.getItemRect(n),a=n}return a}getKeyForSearch(t,a){let r=a??null;if(!this.collator)return null;let o=this.collection;if(r=a??this.getFirstKey(),r==null)return null;let l=o.getItem(r);if(!l)return null;l.type==="cell"&&(r=l.parentKey??null);let n=!1;for(;r!=null;){let i=o.getItem(r);if(!i)return null;if(i.textValue){let s=i.textValue.slice(0,t.length);if(this.collator.compare(s,t)===0)return this.isRow(i)&&this.focusMode==="cell"?Fa(St(i,this.collection))?.key??null:i.key}r=this.findNextKey(r,s=>s.type==="item"),r==null&&!n&&(r=this.getFirstKey(),n=!0)}return null}},F4=class{constructor(t){this.layout=t}getContentSize(){return this.layout.getContentSize()}getItemRect(t){return this.layout.getLayoutInfo(t)?.rect||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}};var xu=new WeakMap;var _d=T(R(),1);function kw(e,t,a){let{isVirtualized:r,disallowTypeAhead:o,keyboardDelegate:l,focusMode:n,scrollRef:i,getRowText:s,onRowAction:u,onCellAction:c,escapeKeyBehavior:d="clearSelection",shouldSelectOnPressUp:f,keyboardNavigationBehavior:b="arrow"}=e,{selectionManager:m}=t;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let p=go({usage:"search",sensitivity:"base"}),{direction:x}=Fe(),h=t.selectionManager.disabledBehavior,g=(0,_d.useMemo)(()=>l||new $u({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:h,ref:a,direction:x,collator:p,focusMode:n}),[l,t.collection,t.disabledKeys,h,a,x,p,n]),{collectionProps:$}=nu({ref:a,selectionManager:m,keyboardDelegate:g,isVirtualized:r,scrollRef:i,disallowTypeAhead:o,escapeKeyBehavior:d}),v=Ne(e.id);xu.set(t,{keyboardDelegate:g,actions:{onRowAction:u,onCellAction:c},shouldSelectOnPressUp:f,keyboardNavigationBehavior:b});let y=xw({selectionManager:m,hasItemActions:!!(u||c)}),E=te(e,{labelable:!0}),C=(0,_d.useCallback)(_=>{if(m.isFocused){re(_.currentTarget,j(_))||m.setFocused(!1);return}re(_.currentTarget,j(_))&&m.setFocused(!0)},[m]),S=(0,_d.useMemo)(()=>({onBlur:$.onBlur,onFocus:C}),[C,$.onBlur]),D=Gm(a,{isDisabled:t.collection.size!==0}),k=O(E,{role:"grid",id:v,"aria-multiselectable":m.selectionMode==="multiple"?"true":void 0},t.isKeyboardNavigationDisabled?S:$,t.collection.size===0&&{tabIndex:D?-1:0}||void 0,y);return r&&(k["aria-rowcount"]=t.collection.size,k["aria-colcount"]=t.collection.columnCount),hw({getRowText:s},t),{gridProps:k}}var Zm=new WeakMap;function K4(e){return typeof e=="string"?e.replace(/\\s*/g,""):""+e}function Qm(e,t){let a=Zm.get(e);if(!a)throw new Error("Unknown grid");return`${a}-${K4(t)}`}function V4(e,t,a){let r=Zm.get(e);if(!r)throw new Error("Unknown grid");return`${r}-${K4(t)}-${K4(a)}`}function Hd(e,t){return[...e.collection.rowHeaderColumnKeys].map(a=>V4(e,t,a)).join(" ")}var _4={};_4={ascending:"\\u062A\\u0635\\u0627\\u0639\\u062F\\u064A",ascendingSort:e=>`\\u062A\\u0631\\u062A\\u064A\\u0628 \\u062D\\u0633\\u0628 \\u0627\\u0644\\u0639\\u0645\\u0648\\u062F ${e.columnName} \\u0628\\u062A\\u0631\\u062A\\u064A\\u0628 \\u062A\\u0635\\u0627\\u0639\\u062F\\u064A`,collapse:"\\u0637\\u064A",columnSize:e=>`${e.value} \\u0628\\u0627\\u0644\\u0628\\u0643\\u0633\\u0644`,descending:"\\u062A\\u0646\\u0627\\u0632\\u0644\\u064A",descendingSort:e=>`\\u062A\\u0631\\u062A\\u064A\\u0628 \\u062D\\u0633\\u0628 \\u0627\\u0644\\u0639\\u0645\\u0648\\u062F ${e.columnName} \\u0628\\u062A\\u0631\\u062A\\u064A\\u0628 \\u062A\\u0646\\u0627\\u0632\\u0644\\u064A`,expand:"\\u062A\\u0645\\u062F\\u064A\\u062F",resizerDescription:"\\u0627\\u0636\\u063A\\u0637 \\u0639\\u0644\\u0649 \\u0645\\u0641\\u062A\\u0627\\u062D Enter \\u0644\\u0628\\u062F\\u0621 \\u062A\\u063A\\u064A\\u064A\\u0631 \\u0627\\u0644\\u062D\\u062C\\u0645",select:"\\u062A\\u062D\\u062F\\u064A\\u062F",selectAll:"\\u062A\\u062D\\u062F\\u064A\\u062F \\u0627\\u0644\\u0643\\u0644",sortable:"\\u0639\\u0645\\u0648\\u062F \\u0642\\u0627\\u0628\\u0644 \\u0644\\u0644\\u062A\\u0631\\u062A\\u064A\\u0628"};var H4={};H4={ascending:"\\u0432\\u044A\\u0437\\u0445\\u043E\\u0434\\u044F\\u0449",ascendingSort:e=>`\\u0441\\u043E\\u0440\\u0442\\u0438\\u0440\\u0430\\u043D\\u043E \\u043F\\u043E \\u043A\\u043E\\u043B\\u043E\\u043D\\u0430 ${e.columnName} \\u0432\\u044A\\u0432 \\u0432\\u044A\\u0437\\u0445\\u043E\\u0434\\u044F\\u0449 \\u0440\\u0435\\u0434`,collapse:"\\u0421\\u0432\\u0438\\u0432\\u0430\\u043D\\u0435",columnSize:e=>`${e.value} \\u043F\\u0438\\u043A\\u0441\\u0435\\u043B\\u0430`,descending:"\\u043D\\u0438\\u0437\\u0445\\u043E\\u0434\\u044F\\u0449",descendingSort:e=>`\\u0441\\u043E\\u0440\\u0442\\u0438\\u0440\\u0430\\u043D\\u043E \\u043F\\u043E \\u043A\\u043E\\u043B\\u043E\\u043D\\u0430 ${e.columnName} \\u0432 \\u043D\\u0438\\u0437\\u0445\\u043E\\u0434\\u044F\\u0449 \\u0440\\u0435\\u0434`,expand:"\\u0420\\u0430\\u0437\\u0448\\u0438\\u0440\\u044F\\u0432\\u0430\\u043D\\u0435",resizerDescription:"\\u041D\\u0430\\u0442\\u0438\\u0441\\u043D\\u0435\\u0442\\u0435 \\u201EEnter\\u201C, \\u0437\\u0430 \\u0434\\u0430 \\u0437\\u0430\\u043F\\u043E\\u0447\\u043D\\u0435\\u0442\\u0435 \\u0434\\u0430 \\u043F\\u0440\\u0435\\u043E\\u0440\\u0430\\u0437\\u043C\\u0435\\u0440\\u044F\\u0432\\u0430\\u0442\\u0435",select:"\\u0418\\u0437\\u0431\\u0435\\u0440\\u0435\\u0442\\u0435",selectAll:"\\u0418\\u0437\\u0431\\u0435\\u0440\\u0435\\u0442\\u0435 \\u0432\\u0441\\u0438\\u0447\\u043A\\u043E",sortable:"\\u0441\\u043E\\u0440\\u0442\\u0438\\u0440\\u0430\\u0449\\u0430 \\u043A\\u043E\\u043B\\u043E\\u043D\\u0430"};var j4={};j4={ascending:"vzestupn\\u011B",ascendingSort:e=>`\\u0159azeno vzestupn\\u011B podle sloupce ${e.columnName}`,collapse:"Sbalit",columnSize:e=>`${e.value} pixel\\u016F`,descending:"sestupn\\u011B",descendingSort:e=>`\\u0159azeno sestupn\\u011B podle sloupce ${e.columnName}`,expand:"Rozt\\xE1hnout",resizerDescription:"Stisknut\\xEDm kl\\xE1vesy Enter za\\u010Dnete m\\u011Bnit velikost",select:"Vybrat",selectAll:"Vybrat v\\u0161e",sortable:"sloupec s mo\\u017Enost\\xED \\u0159azen\\xED"};var U4={};U4={ascending:"stigende",ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende r\\xE6kkef\\xF8lge`,collapse:"Skjul",columnSize:e=>`${e.value} pixels`,descending:"faldende",descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende r\\xE6kkef\\xF8lge`,expand:"Udvid",resizerDescription:"Tryk p\\xE5 Enter for at \\xE6ndre st\\xF8rrelse",select:"V\\xE6lg",selectAll:"V\\xE6lg alle",sortable:"sorterbar kolonne"};var G4={};G4={ascending:"aufsteigend",ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse:"Reduzieren",columnSize:e=>`${e.value} Pixel`,descending:"absteigend",descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,expand:"Erweitern",resizerDescription:"Eingabetaste zum Starten der Gr\\xF6\\xDFen\\xE4nderung dr\\xFCcken",select:"Ausw\\xE4hlen",selectAll:"Alles ausw\\xE4hlen",sortable:"sortierbare Spalte"};var q4={};q4={ascending:"\\u03B1\\u03CD\\u03BE\\u03BF\\u03C5\\u03C3\\u03B1",ascendingSort:e=>`\\u03B4\\u03B9\\u03B1\\u03BB\\u03BF\\u03B3\\u03AE \\u03B1\\u03BD\\u03AC \\u03C3\\u03C4\\u03AE\\u03BB\\u03B7 ${e.columnName} \\u03C3\\u03B5 \\u03B1\\u03CD\\u03BE\\u03BF\\u03C5\\u03C3\\u03B1 \\u03C3\\u03B5\\u03B9\\u03C1\\u03AC`,collapse:"\\u03A3\\u03CD\\u03BC\\u03C0\\u03C4\\u03C5\\u03BE\\u03B7",columnSize:e=>`${e.value} pixel`,descending:"\\u03C6\\u03B8\\u03AF\\u03BD\\u03BF\\u03C5\\u03C3\\u03B1",descendingSort:e=>`\\u03B4\\u03B9\\u03B1\\u03BB\\u03BF\\u03B3\\u03AE \\u03B1\\u03BD\\u03AC \\u03C3\\u03C4\\u03AE\\u03BB\\u03B7 ${e.columnName} \\u03C3\\u03B5 \\u03C6\\u03B8\\u03AF\\u03BD\\u03BF\\u03C5\\u03C3\\u03B1 \\u03C3\\u03B5\\u03B9\\u03C1\\u03AC`,expand:"\\u0391\\u03BD\\u03AC\\u03C0\\u03C4\\u03C5\\u03BE\\u03B7",resizerDescription:"\\u03A0\\u03B1\\u03C4\\u03AE\\u03C3\\u03C4\\u03B5 Enter \\u03B3\\u03B9\\u03B1 \\u03AD\\u03BD\\u03B1\\u03C1\\u03BE\\u03B7 \\u03C4\\u03B7\\u03C2 \\u03B1\\u03BB\\u03BB\\u03B1\\u03B3\\u03AE\\u03C2 \\u03BC\\u03B5\\u03B3\\u03AD\\u03B8\\u03BF\\u03C5\\u03C2",select:"\\u0395\\u03C0\\u03B9\\u03BB\\u03BF\\u03B3\\u03AE",selectAll:"\\u0395\\u03C0\\u03B9\\u03BB\\u03BF\\u03B3\\u03AE \\u03CC\\u03BB\\u03C9\\u03BD",sortable:"\\u03A3\\u03C4\\u03AE\\u03BB\\u03B7 \\u03B4\\u03B9\\u03B1\\u03BB\\u03BF\\u03B3\\u03AE\\u03C2"};var Y4={};Y4={select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:"Press Enter to start resizing",expand:"Expand",collapse:"Collapse"};var W4={};W4={ascending:"ascendente",ascendingSort:e=>`ordenado por columna ${e.columnName} en sentido ascendente`,collapse:"Contraer",columnSize:e=>`${e.value} p\\xEDxeles`,descending:"descendente",descendingSort:e=>`ordenado por columna ${e.columnName} en orden descendente`,expand:"Ampliar",resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"};var X4={};X4={ascending:"t\\xF5usev j\\xE4rjestus",ascendingSort:e=>`sorditud veeru j\\xE4rgi ${e.columnName} t\\xF5usvas j\\xE4rjestuses`,collapse:"Ahenda",columnSize:e=>`${e.value} pikslit`,descending:"laskuv j\\xE4rjestus",descendingSort:e=>`sorditud veeru j\\xE4rgi ${e.columnName} laskuvas j\\xE4rjestuses`,expand:"Laienda",resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:"Vali k\\xF5ik",sortable:"sorditav veerg"};var Z4={};Z4={ascending:"nouseva",ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\\xE4rjestyksess\\xE4`,collapse:"Pienenn\\xE4",columnSize:e=>`${e.value} pikseli\\xE4`,descending:"laskeva",descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa j\\xE4rjestyksess\\xE4`,expand:"Laajenna",resizerDescription:"Aloita koon muutos painamalla Enter-n\\xE4pp\\xE4int\\xE4",select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"};var Q4={};Q4={ascending:"croissant",ascendingSort:e=>`tri\\xE9 en fonction de la colonne\\xA0${e.columnName} par ordre croissant`,collapse:"R\\xE9duire",columnSize:e=>`${e.value}\\xA0pixels`,descending:"d\\xE9croissant",descendingSort:e=>`tri\\xE9 en fonction de la colonne\\xA0${e.columnName} par ordre d\\xE9croissant`,expand:"D\\xE9velopper",resizerDescription:"Appuyez sur Entr\\xE9e pour commencer le redimensionnement.",select:"S\\xE9lectionner",selectAll:"S\\xE9lectionner tout",sortable:"colonne triable"};var J4={};J4={ascending:"\\u05E2\\u05D5\\u05DC\\u05D4",ascendingSort:e=>`\\u05DE\\u05D5\\u05D9\\u05DF \\u05DC\\u05E4\\u05D9 \\u05E2\\u05DE\\u05D5\\u05D3\\u05D4 ${e.columnName} \\u05D1\\u05E1\\u05D3\\u05E8 \\u05E2\\u05D5\\u05DC\\u05D4`,collapse:"\\u05DB\\u05D5\\u05D5\\u05E5",columnSize:e=>`${e.value} \\u05E4\\u05D9\\u05E7\\u05E1\\u05DC\\u05D9\\u05DD`,descending:"\\u05D9\\u05D5\\u05E8\\u05D3",descendingSort:e=>`\\u05DE\\u05D5\\u05D9\\u05DF \\u05DC\\u05E4\\u05D9 \\u05E2\\u05DE\\u05D5\\u05D3\\u05D4 ${e.columnName} \\u05D1\\u05E1\\u05D3\\u05E8 \\u05D9\\u05D5\\u05E8\\u05D3`,expand:"\\u05D4\\u05E8\\u05D7\\u05D1",resizerDescription:"\\u05D4\\u05E7\\u05E9 Enter \\u05DB\\u05D3\\u05D9 \\u05DC\\u05E9\\u05E0\\u05D5\\u05EA \\u05D0\\u05EA \\u05D4\\u05D2\\u05D5\\u05D3\\u05DC",select:"\\u05D1\\u05D7\\u05E8",selectAll:"\\u05D1\\u05D7\\u05E8 \\u05D4\\u05DB\\u05D5\\u05DC",sortable:"\\u05E2\\u05DE\\u05D5\\u05D3\\u05D4 \\u05E9\\u05E0\\u05D9\\u05EA\\u05DF \\u05DC\\u05DE\\u05D9\\u05D9\\u05DF"};var e3={};e3={ascending:"rastu\\u0107i",ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastu\\u0107em redoslijedom`,collapse:"Sa\\u017Emi",columnSize:e=>`${e.value} piksela`,descending:"padaju\\u0107i",descendingSort:e=>`razvrstano po stupcima ${e.columnName} padaju\\u0107im redoslijedom`,expand:"Pro\\u0161iri",resizerDescription:"Pritisnite Enter da biste zapo\\u010Deli promenu veli\\u010Dine",select:"Odaberite",selectAll:"Odaberite sve",sortable:"stupac koji se mo\\u017Ee razvrstati"};var t3={};t3={ascending:"n\\xF6vekv\\u0151",ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, n\\xF6vekv\\u0151 sorrendben`,collapse:"\\xD6sszecsuk\\xE1s",columnSize:e=>`${e.value} k\\xE9ppont`,descending:"cs\\xF6kken\\u0151",descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, cs\\xF6kken\\u0151 sorrendben`,expand:"Kibont\\xE1s",resizerDescription:"Nyomja le az Enter billenty\\u0171t az \\xE1tm\\xE9retez\\xE9s megkezd\\xE9s\\xE9hez",select:"Kijel\\xF6l\\xE9s",selectAll:"\\xD6sszes kijel\\xF6l\\xE9se",sortable:"rendezend\\u0151 oszlop"};var a3={};a3={ascending:"crescente",ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,collapse:"Comprimi",columnSize:e=>`${e.value} pixel`,descending:"decrescente",descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,expand:"Espandi",resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"};var r3={};r3={ascending:"\\u6607\\u9806",ascendingSort:e=>`\\u5217 ${e.columnName} \\u3092\\u6607\\u9806\\u3067\\u4E26\\u3079\\u66FF\\u3048`,collapse:"\\u6298\\u308A\\u305F\\u305F\\u3080",columnSize:e=>`${e.value} \\u30D4\\u30AF\\u30BB\\u30EB`,descending:"\\u964D\\u9806",descendingSort:e=>`\\u5217 ${e.columnName} \\u3092\\u964D\\u9806\\u3067\\u4E26\\u3079\\u66FF\\u3048`,expand:"\\u5C55\\u958B",resizerDescription:"Enter \\u30AD\\u30FC\\u3092\\u62BC\\u3057\\u3066\\u30B5\\u30A4\\u30BA\\u5909\\u66F4\\u3092\\u958B\\u59CB",select:"\\u9078\\u629E",selectAll:"\\u3059\\u3079\\u3066\\u9078\\u629E",sortable:"\\u4E26\\u3079\\u66FF\\u3048\\u53EF\\u80FD\\u306A\\u5217"};var o3={};o3={ascending:"\\uC624\\uB984\\uCC28\\uC21C",ascendingSort:e=>`${e.columnName} \\uC5F4\\uC744 \\uAE30\\uC900\\uC73C\\uB85C \\uC624\\uB984\\uCC28\\uC21C\\uC73C\\uB85C \\uC815\\uB82C\\uB428`,collapse:"\\uC811\\uAE30",columnSize:e=>`${e.value} \\uD53D\\uC140`,descending:"\\uB0B4\\uB9BC\\uCC28\\uC21C",descendingSort:e=>`${e.columnName} \\uC5F4\\uC744 \\uAE30\\uC900\\uC73C\\uB85C \\uB0B4\\uB9BC\\uCC28\\uC21C\\uC73C\\uB85C \\uC815\\uB82C\\uB428`,expand:"\\uD3BC\\uCE58\\uAE30",resizerDescription:"\\uD06C\\uAE30 \\uC870\\uC815\\uC744 \\uC2DC\\uC791\\uD558\\uB824\\uBA74 Enter\\uB97C \\uB204\\uB974\\uC138\\uC694.",select:"\\uC120\\uD0DD",selectAll:"\\uBAA8\\uB450 \\uC120\\uD0DD",sortable:"\\uC815\\uB82C \\uAC00\\uB2A5\\uD55C \\uC5F4"};var l3={};l3={ascending:"did\\u0117jan\\u010Dia tvarka",ascendingSort:e=>`surikiuota pagal stulpel\\u012F ${e.columnName} did\\u0117jan\\u010Dia tvarka`,collapse:"Sutraukti",columnSize:e=>`${e.value} piks.`,descending:"ma\\u017E\\u0117jan\\u010Dia tvarka",descendingSort:e=>`surikiuota pagal stulpel\\u012F ${e.columnName} ma\\u017E\\u0117jan\\u010Dia tvarka`,expand:"I\\u0161skleisti",resizerDescription:"Paspauskite \\u201EEnter\\u201C, kad prad\\u0117tum\\u0117te keisti dyd\\u012F",select:"Pasirinkti",selectAll:"Pasirinkti visk\\u0105",sortable:"rikiuojamas stulpelis"};var n3={};n3={ascending:"augo\\u0161\\u0101 sec\\u012Bb\\u0101",ascendingSort:e=>`k\\u0101rtots p\\u0113c kolonnas ${e.columnName} augo\\u0161\\u0101 sec\\u012Bb\\u0101`,collapse:"Sak\\u013Caut",columnSize:e=>`${e.value} pikse\\u013Ci`,descending:"dilsto\\u0161\\u0101 sec\\u012Bb\\u0101",descendingSort:e=>`k\\u0101rtots p\\u0113c kolonnas ${e.columnName} dilsto\\u0161\\u0101 sec\\u012Bb\\u0101`,expand:"Izv\\u0113rst",resizerDescription:"Nospiediet Enter, lai s\\u0101ktu izm\\u0113ru main\\u012B\\u0161anu",select:"Atlas\\u012Bt",selectAll:"Atlas\\u012Bt visu",sortable:"k\\u0101rtojam\\u0101 kolonna"};var i3={};i3={ascending:"stigende",ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkef\\xF8lge`,collapse:"Skjul",columnSize:e=>`${e.value} piksler`,descending:"synkende",descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkef\\xF8lge`,expand:"Utvid",resizerDescription:"Trykk p\\xE5 Enter for \\xE5 starte st\\xF8rrelsesendring",select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"};var s3={};s3={ascending:"oplopend",ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse:"Samenvouwen",columnSize:e=>`${e.value} pixels`,descending:"aflopend",descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,expand:"Uitvouwen",resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"};var u3={};u3={ascending:"rosn\\u0105co",ascendingSort:e=>`posortowano wed\\u0142ug kolumny ${e.columnName} w porz\\u0105dku rosn\\u0105cym`,collapse:"Zwi\\u0144",columnSize:e=>`Liczba pikseli: ${e.value}`,descending:"malej\\u0105co",descendingSort:e=>`posortowano wed\\u0142ug kolumny ${e.columnName} w porz\\u0105dku malej\\u0105cym`,expand:"Rozwi\\u0144",resizerDescription:"Naci\\u015Bnij Enter, aby rozpocz\\u0105\\u0107 zmienianie rozmiaru",select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:"kolumna z mo\\u017Cliwo\\u015Bci\\u0105 sortowania"};var c3={};c3={ascending:"crescente",ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,collapse:"Recolher",columnSize:e=>`${e.value} pixels`,descending:"decrescente",descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,expand:"Expandir",resizerDescription:"Pressione Enter para come\\xE7ar a redimensionar",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"coluna classific\\xE1vel"};var d3={};d3={ascending:"ascendente",ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse:"Colapsar",columnSize:e=>`${e.value} pixels`,descending:"descendente",descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,expand:"Expandir",resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"Coluna orden\\xE1vel"};var f3={};f3={ascending:"cresc\\u0103toare",ascendingSort:e=>`sortate dup\\u0103 coloana ${e.columnName} \\xEEn ordine cresc\\u0103toare`,collapse:"Restr\\xE2nge\\u021Bi",columnSize:e=>`${e.value} pixeli`,descending:"descresc\\u0103toare",descendingSort:e=>`sortate dup\\u0103 coloana ${e.columnName} \\xEEn ordine descresc\\u0103toare`,expand:"Extinde\\u021Bi",resizerDescription:"Ap\\u0103sa\\u021Bi pe Enter pentru a \\xEEncepe redimensionarea",select:"Selectare",selectAll:"Selectare total\\u0103",sortable:"coloan\\u0103 sortabil\\u0103"};var p3={};p3={ascending:"\\u0432\\u043E\\u0437\\u0440\\u0430\\u0441\\u0442\\u0430\\u043D\\u0438\\u0435",ascendingSort:e=>`\\u0441\\u043E\\u0440\\u0442\\u0438\\u0440\\u043E\\u0432\\u0430\\u0442\\u044C \\u0441\\u0442\\u043E\\u043B\\u0431\\u0435\\u0446 ${e.columnName} \\u0432 \\u043F\\u043E\\u0440\\u044F\\u0434\\u043A\\u0435 \\u0432\\u043E\\u0437\\u0440\\u0430\\u0441\\u0442\\u0430\\u043D\\u0438\\u044F`,collapse:"\\u0421\\u0432\\u0435\\u0440\\u043D\\u0443\\u0442\\u044C",columnSize:e=>`${e.value} \\u043F\\u0438\\u043A\\u0441.`,descending:"\\u0443\\u0431\\u044B\\u0432\\u0430\\u043D\\u0438\\u0435",descendingSort:e=>`\\u0441\\u043E\\u0440\\u0442\\u0438\\u0440\\u043E\\u0432\\u0430\\u0442\\u044C \\u0441\\u0442\\u043E\\u043B\\u0431\\u0435\\u0446 ${e.columnName} \\u0432 \\u043F\\u043E\\u0440\\u044F\\u0434\\u043A\\u0435 \\u0443\\u0431\\u044B\\u0432\\u0430\\u043D\\u0438\\u044F`,expand:"\\u0420\\u0430\\u0437\\u0432\\u0435\\u0440\\u043D\\u0443\\u0442\\u044C",resizerDescription:"\\u041D\\u0430\\u0436\\u043C\\u0438\\u0442\\u0435 \\u043A\\u043B\\u0430\\u0432\\u0438\\u0448\\u0443 Enter \\u0434\\u043B\\u044F \\u043D\\u0430\\u0447\\u0430\\u043B\\u0430 \\u0438\\u0437\\u043C\\u0435\\u043D\\u0435\\u043D\\u0438\\u044F \\u0440\\u0430\\u0437\\u043C\\u0435\\u0440\\u043E\\u0432",select:"\\u0412\\u044B\\u0431\\u0440\\u0430\\u0442\\u044C",selectAll:"\\u0412\\u044B\\u0431\\u0440\\u0430\\u0442\\u044C \\u0432\\u0441\\u0435",sortable:"\\u0441\\u043E\\u0440\\u0442\\u0438\\u0440\\u0443\\u0435\\u043C\\u044B\\u0439 \\u0441\\u0442\\u043E\\u043B\\u0431\\u0435\\u0446"};var m3={};m3={ascending:"vzostupne",ascendingSort:e=>`zoraden\\xE9 zostupne pod\\u013Ea st\\u013Apca ${e.columnName}`,collapse:"Zbali\\u0165",columnSize:e=>`Po\\u010Det pixelov: ${e.value}`,descending:"zostupne",descendingSort:e=>`zoraden\\xE9 zostupne pod\\u013Ea st\\u013Apca ${e.columnName}`,expand:"Rozbali\\u0165",resizerDescription:"Stla\\u010Den\\xEDm kl\\xE1vesu Enter za\\u010Dnete zmenu ve\\u013Ekosti",select:"Vybra\\u0165",selectAll:"Vybra\\u0165 v\\u0161etko",sortable:"zoradite\\u013En\\xFD st\\u013Apec"};var b3={};b3={ascending:"nara\\u0161\\u010Dajo\\u010De",ascendingSort:e=>`razvr\\u0161\\u010Deno po stolpcu ${e.columnName} v nara\\u0161\\u010Dajo\\u010Dem vrstnem redu`,collapse:"Strni",columnSize:e=>`${e.value} slikovnih pik`,descending:"padajo\\u010De",descendingSort:e=>`razvr\\u0161\\u010Deno po stolpcu ${e.columnName} v padajo\\u010Dem vrstnem redu`,expand:"Raz\\u0161iri",resizerDescription:"Pritisnite tipko Enter da za\\u010Dnete spreminjati velikost",select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"};var h3={};h3={ascending:"rastu\\u0107i",ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastu\\u0107im redosledom`,collapse:"Skupi",columnSize:e=>`${e.value} piksela`,descending:"padaju\\u0107i",descendingSort:e=>`sortirano po kolonama ${e.columnName} padaju\\u0107im redosledom`,expand:"Pro\\u0161iri",resizerDescription:"Pritisnite Enter da biste zapo\\u010Deli promenu veli\\u010Dine",select:"Izaberite",selectAll:"Izaberite sve",sortable:"kolona koja se mo\\u017Ee sortirati"};var g3={};g3={ascending:"stigande",ascendingSort:e=>`sorterat p\\xE5 kolumn ${e.columnName} i stigande ordning`,collapse:"D\\xF6lj",columnSize:e=>`${e.value} pixlar`,descending:"fallande",descendingSort:e=>`sorterat p\\xE5 kolumn ${e.columnName} i fallande ordning`,expand:"Expandera",resizerDescription:"Tryck p\\xE5 Retur f\\xF6r att b\\xF6rja \\xE4ndra storlek",select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"};var $3={};$3={ascending:"artan s\\u0131rada",ascendingSort:e=>`${e.columnName} s\\xFCtuna g\\xF6re artan d\\xFCzende s\\u0131rala`,collapse:"Daralt",columnSize:e=>`${e.value} piksel`,descending:"azalan s\\u0131rada",descendingSort:e=>`${e.columnName} s\\xFCtuna g\\xF6re azalan d\\xFCzende s\\u0131rala`,expand:"Geni\\u015Flet",resizerDescription:"Yeniden boyutland\\u0131rmak i\\xE7in Enter\'a bas\\u0131n",select:"Se\\xE7",selectAll:"T\\xFCm\\xFCn\\xFC Se\\xE7",sortable:"S\\u0131ralanabilir s\\xFCtun"};var x3={};x3={ascending:"\\u0432\\u0438\\u0441\\u0445\\u0456\\u0434\\u043D\\u0438\\u0439",ascendingSort:e=>`\\u0432\\u0456\\u0434\\u0441\\u043E\\u0440\\u0442\\u043E\\u0432\\u0430\\u043D\\u043E \\u0437\\u0430 \\u0441\\u0442\\u043E\\u0432\\u043F\\u0446\\u0435\\u043C ${e.columnName} \\u0443 \\u0432\\u0438\\u0441\\u0445\\u0456\\u0434\\u043D\\u043E\\u043C\\u0443 \\u043F\\u043E\\u0440\\u044F\\u0434\\u043A\\u0443`,collapse:"\\u0417\\u0433\\u043E\\u0440\\u043D\\u0443\\u0442\\u0438",columnSize:e=>`${e.value} \\u043F\\u0456\\u043A\\u0441.`,descending:"\\u043D\\u0438\\u0437\\u0445\\u0456\\u0434\\u043D\\u0438\\u0439",descendingSort:e=>`\\u0432\\u0456\\u0434\\u0441\\u043E\\u0440\\u0442\\u043E\\u0432\\u0430\\u043D\\u043E \\u0437\\u0430 \\u0441\\u0442\\u043E\\u0432\\u043F\\u0446\\u0435\\u043C ${e.columnName} \\u0443 \\u043D\\u0438\\u0437\\u0445\\u0456\\u0434\\u043D\\u043E\\u043C\\u0443 \\u043F\\u043E\\u0440\\u044F\\u0434\\u043A\\u0443`,expand:"\\u0420\\u043E\\u0437\\u0433\\u043E\\u0440\\u043D\\u0443\\u0442\\u0438",resizerDescription:"\\u041D\\u0430\\u0442\\u0438\\u0441\\u043D\\u0456\\u0442\\u044C Enter, \\u0449\\u043E\\u0431 \\u043F\\u043E\\u0447\\u0430\\u0442\\u0438 \\u0437\\u043C\\u0456\\u043D\\u0443 \\u0440\\u043E\\u0437\\u043C\\u0456\\u0440\\u0443",select:"\\u0412\\u0438\\u0431\\u0440\\u0430\\u0442\\u0438",selectAll:"\\u0412\\u0438\\u0431\\u0440\\u0430\\u0442\\u0438 \\u0432\\u0441\\u0435",sortable:"\\u0441\\u043E\\u0440\\u0442\\u0443\\u0432\\u0430\\u043B\\u044C\\u043D\\u0438\\u0439 \\u0441\\u0442\\u043E\\u0432\\u043F\\u0435\\u0446\\u044C"};var v3={};v3={ascending:"\\u5347\\u5E8F",ascendingSort:e=>`\\u6309\\u5217 ${e.columnName} \\u5347\\u5E8F\\u6392\\u5E8F`,collapse:"\\u6298\\u53E0",columnSize:e=>`${e.value} \\u50CF\\u7D20`,descending:"\\u964D\\u5E8F",descendingSort:e=>`\\u6309\\u5217 ${e.columnName} \\u964D\\u5E8F\\u6392\\u5E8F`,expand:"\\u6269\\u5C55",resizerDescription:"\\u6309 Enter \\u5F00\\u59CB\\u8C03\\u6574\\u5927\\u5C0F\\u3002",select:"\\u9009\\u62E9",selectAll:"\\u5168\\u9009",sortable:"\\u53EF\\u6392\\u5E8F\\u7684\\u5217"};var y3={};y3={ascending:"\\u905E\\u589E",ascendingSort:e=>`\\u5DF2\\u4F9D\\u64DA\\u300C${e.columnName}\\u300D\\u6B04\\u905E\\u589E\\u6392\\u5E8F`,collapse:"\\u6536\\u5408",columnSize:e=>`${e.value} \\u50CF\\u7D20`,descending:"\\u905E\\u6E1B",descendingSort:e=>`\\u5DF2\\u4F9D\\u64DA\\u300C${e.columnName}\\u300D\\u6B04\\u905E\\u6E1B\\u6392\\u5E8F`,expand:"\\u5C55\\u958B",resizerDescription:"\\u6309 Enter \\u9375\\u4EE5\\u958B\\u59CB\\u8ABF\\u6574\\u5927\\u5C0F",select:"\\u9078\\u53D6",selectAll:"\\u5168\\u9078",sortable:"\\u53EF\\u6392\\u5E8F\\u7684\\u6B04"};var xo={};xo={"ar-AE":_4,"bg-BG":H4,"cs-CZ":j4,"da-DK":U4,"de-DE":G4,"el-GR":q4,"en-US":Y4,"es-ES":W4,"et-EE":X4,"fi-FI":Z4,"fr-FR":Q4,"he-IL":J4,"hr-HR":e3,"hu-HU":t3,"it-IT":a3,"ja-JP":r3,"ko-KR":o3,"lt-LT":l3,"lv-LV":n3,"nb-NO":i3,"nl-NL":s3,"pl-PL":u3,"pt-BR":c3,"pt-PT":d3,"ro-RO":f3,"ru-RU":p3,"sk-SK":m3,"sl-SI":b3,"sr-SP":h3,"sv-SE":g3,"tr-TR":$3,"uk-UA":x3,"zh-CN":v3,"zh-TW":y3};var Jm=class extends $u{isCell(t){return t.type==="cell"||t.type==="rowheader"||t.type==="column"}getKeyBelow(t,a){let r=this.collection.getItem(t);if(!r)return null;if(r.type==="column"){let o=Fa(St(r,this.collection));if(o)return o.key;let l=this.getFirstKey();return l==null||!this.collection.getItem(l)?null:super.getKeyForItemInRowByIndex(l,r.index)}return super.getKeyBelow(t,a)}getKeyAbove(t,a){let r=this.collection.getItem(t);if(!r)return null;if(r.type==="column"){let n=r.parentKey!=null?this.collection.getItem(r.parentKey):null;return n&&n.type==="column"?n.key:null}let o=super.getKeyAbove(t,a),l=o!=null?this.collection.getItem(o):null;return l&&l.type!=="headerrow"?o:this.isCell(r)?this.collection.columns[r.index].key:this.collection.columns[0].key}findNextColumnKey(t){let a=this.findNextKey(t.key,o=>o.type==="column");if(a!=null)return a;let r=this.collection.headerRows[t.level];for(let o of St(r,this.collection))if(o.type==="column")return o.key;return null}findPreviousColumnKey(t){let a=this.findPreviousKey(t.key,l=>l.type==="column");if(a!=null)return a;let r=this.collection.headerRows[t.level],o=[...St(r,this.collection)];for(let l=o.length-1;l>=0;l--){let n=o[l];if(n.type==="column")return n.key}return null}getKeyRightOf(t){let a=this.collection.getItem(t);return a?a.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(a):this.findNextColumnKey(a):super.getKeyRightOf(t):null}getKeyLeftOf(t){let a=this.collection.getItem(t);return a?a.type==="column"?this.direction==="rtl"?this.findNextColumnKey(a):this.findPreviousColumnKey(a):super.getKeyLeftOf(t):null}getKeyForSearch(t,a){if(!this.collator)return null;let r=this.collection,o=a??this.getFirstKey();if(o==null)return null;let l=r.getItem(o);l?.type==="cell"&&(o=l.parentKey??null);let n=!1;for(;o!=null;){let i=r.getItem(o);if(!i)return null;if(i.textValue){let s=i.textValue.slice(0,t.length);if(this.collator.compare(s,t)===0)return i.key}for(let s of St(i,this.collection)){let u=r.columns[s.index];if(r.rowHeaderColumnKeys.has(u.key)&&s.textValue){let c=s.textValue.slice(0,t.length);if(this.collator.compare(c,t)===0)return(a!=null?r.getItem(a):l)?.type==="cell"?s.key:i.key}}o=this.getKeyBelow(o),o==null&&!n&&(o=this.getFirstKey(),n=!0)}return null}};var C3=T(R(),1);function Pz(e){return e&&e.__esModule?e.default:e}function S3(e,t,a){let{keyboardDelegate:r,isVirtualized:o,layoutDelegate:l,layout:n}=e,i=go({usage:"search",sensitivity:"base"}),{direction:s}=Fe(),u=t.selectionManager.disabledBehavior,c=(0,C3.useMemo)(()=>r||new Jm({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:u,ref:a,direction:s,collator:i,layoutDelegate:l,layout:n}),[r,t.collection,t.disabledKeys,u,a,s,i,l,n]),d=Ne(e.id);Zm.set(t,d);let{gridProps:f}=kw({...e,id:d,keyboardDelegate:c},t,a);o&&(f["aria-rowcount"]=t.collection.size+t.collection.headerRows.length),t.treeColumn!=null&&(f.role="treegrid");let{column:b,direction:m}=t.sortDescriptor||{},p=it(Pz(xo),"@react-aria/table"),x=(0,C3.useMemo)(()=>{let g=t.collection.columns.find($=>$.key===b)?.textValue??"";return m&&b?p.format(`${m}Sort`,{columnName:g}):void 0},[m,b,t.collection.columns]),h=Mo(x);return $p(()=>{x&&pn(x,"assertive",500)},[x]),{gridProps:O(f,h,{"aria-describedby":[h["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")})}}var E3=T(R(),1);function e0(e,t,a){let{node:r,isVirtualized:o,focusMode:l,allowsArrowNavigation:n,shouldSelectOnPressUp:i,onAction:s}=e,{direction:u}=Fe(),{keyboardDelegate:c,actions:{onCellAction:d},keyboardNavigationBehavior:f}=xu.get(t),b=l??(f==="tab"?"cell":"child"),m=(0,E3.useRef)(null),p=(0,E3.useRef)(null),x=()=>{if(a.current){let C=Kt(a.current);if(b==="child"){let S=de(ce(a.current));if(fr(a.current)&&a.current!==S)return;let D=ce(a.current);if(!S||S===D.body||S===a.current){let J=p.current;if(J&&m.current===r.key&&re(a.current,J)){rt(J);return}}let _=t.selectionManager.childFocusStrategy==="last"?w3(C):C.firstChild();if(_){rt(_);return}}(m.current!=null&&r.key!==m.current||!fr(a.current))&&rt(a.current)}},{itemProps:h,isPressed:g}=xn({selectionManager:t.selectionManager,key:r.key,ref:a,isVirtualized:o,focus:x,shouldSelectOnPressUp:i,onAction:d?()=>d(r.key):s,isDisabled:t.collection.size===0}),$=C=>{let S=de(ce(a.current));if(!re(C.currentTarget,j(C))||t.isKeyboardNavigationDisabled||!a.current||!S)return;let D=Kt(a.current);switch(D.currentNode=S,C.key){case"ArrowLeft":{let k=u==="rtl"?D.nextNode():D.previousNode();if(b==="child"&&k===a.current&&(k=null),C.preventDefault(),C.stopPropagation(),k)rt(k),Po(k,{containingElement:Ir(a.current)});else{if(c.getKeyLeftOf?.(r.key)!==r.key){a.current.parentElement?.dispatchEvent(new KeyboardEvent(C.nativeEvent.type,C.nativeEvent));break}b==="cell"&&u==="rtl"?(rt(a.current),Po(a.current,{containingElement:Ir(a.current)})):(D.currentNode=a.current,k=u==="rtl"?D.firstChild():w3(D),k&&(rt(k),Po(k,{containingElement:Ir(a.current)})))}break}case"ArrowRight":{let k=u==="rtl"?D.previousNode():D.nextNode();if(b==="child"&&k===a.current&&(k=null),C.preventDefault(),C.stopPropagation(),k)rt(k),Po(k,{containingElement:Ir(a.current)});else{if(c.getKeyRightOf?.(r.key)!==r.key){a.current.parentElement?.dispatchEvent(new KeyboardEvent(C.nativeEvent.type,C.nativeEvent));break}b==="cell"&&u==="ltr"?(rt(a.current),Po(a.current,{containingElement:Ir(a.current)})):(D.currentNode=a.current,k=u==="rtl"?w3(D):D.firstChild(),k&&(rt(k),Po(k,{containingElement:Ir(a.current)})))}break}case"ArrowUp":case"ArrowDown":!C.altKey&&re(a.current,j(C))&&(C.stopPropagation(),C.preventDefault(),a.current.parentElement?.dispatchEvent(new KeyboardEvent(C.nativeEvent.type,C.nativeEvent)));break}},v=C=>{let S=de(ce(a.current));if(!(!re(C.currentTarget,j(C))||t.isKeyboardNavigationDisabled||!a.current||!S)){if(f==="tab"&&j(C)!==a.current&&C.key!=="Tab"){C.stopPropagation();return}switch(C.key){case"Tab":if(f==="tab"){let D=Kt(a.current,{tabbable:!0});D.currentNode=S,(C.shiftKey?D.previousNode():D.nextNode())&&C.stopPropagation()}}}},y=C=>{if(m.current=r.key,j(C)!==a.current){let S=j(C);a.current&&re(a.current,S)&&(p.current=S),zo()||t.selectionManager.setFocusedKey(r.key);return}b==="child"&&C.relatedTarget&&re(a.current,C.relatedTarget)||requestAnimationFrame(()=>{b==="child"&&de(ce(a.current))===a.current&&x()})},E=O(h,{role:"gridcell",onKeyDownCapture:f!=="tab"||n?$:void 0,onKeyDown:f==="tab"?v:void 0,"aria-colspan":r.colSpan,"aria-colindex":r.colIndex!=null?r.colIndex+1:void 0,colSpan:o?void 0:r.colSpan,onFocus:y,...b==="child"&&f==="tab"?{tabIndex:-1}:{}});return o&&(E["aria-colindex"]=(r.colIndex??r.index)+1),i&&E.tabIndex!=null&&E.onPointerDown==null&&(E.onPointerDown=C=>{let S=C.currentTarget,D=S.getAttribute("tabindex");S.removeAttribute("tabindex"),requestAnimationFrame(()=>{D!=null&&S.setAttribute("tabindex",D)})}),{gridCellProps:E,isPressed:g}}function w3(e){let t=null,a=null;do a=e.lastChild(),a&&(t=a);while(a);return t}var Rw=T(R(),1);function Lz(e){return e&&e.__esModule?e.default:e}function T3(e,t,a){let{node:r}=e,o=r.props.allowsSorting,{gridCellProps:l}=e0({focusMode:"child",...e},t,a),n=r.props.isSelectionCell&&t.selectionManager.selectionMode==="single",{pressProps:i,isPressed:s}=za({isDisabled:!o||n,onPress(){t.sort(r.key)},ref:a}),{focusableProps:u}=Fr({},a),c,d=t.sortDescriptor?.column===r.key,f=t.sortDescriptor?.direction;r.props.allowsSorting&&!Or()&&(c=d?f:"none");let b=it(Lz(xo),"@react-aria/table"),m;o&&(m=`${b.format("sortable")}`,d&&f&&Or()&&(m=`${m}, ${b.format(f)}`));let p=Mo(m),x=t.collection.size===0;return(0,Rw.useEffect)(()=>{x&&t.selectionManager.focusedKey===r.key&&t.selectionManager.setFocusedKey(null)},[x,t.selectionManager,r.key]),{columnHeaderProps:{...O(u,l,i,p,x?{tabIndex:-1}:null),role:"columnheader",id:Qm(t,r.key),"aria-colspan":r.colSpan&&r.colSpan>1?r.colSpan:void 0,"aria-sort":c},isPressed:s}}function Aw(e,t,a){let{node:r,isVirtualized:o,shouldSelectOnPressUp:l,onAction:n}=e,{actions:i,shouldSelectOnPressUp:s}=xu.get(t),u=i.onRowAction?()=>i.onRowAction?.(r.key):n,{itemProps:c,...d}=xn({selectionManager:t.selectionManager,key:r.key,ref:a,isVirtualized:o,shouldSelectOnPressUp:s||l,onAction:u||r?.props?.onAction?Rt(r?.props?.onAction,u):void 0,isDisabled:t.collection.size===0}),f=t.selectionManager.isSelected(r.key),b={role:"row","aria-selected":t.selectionManager.selectionMode!=="none"?f:void 0,"aria-disabled":d.isDisabled||void 0,...c};return o&&(b["aria-rowindex"]=r.index+1),{rowProps:b,...d}}function Bz(e){return e&&e.__esModule?e.default:e}var Nw={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function D3(e,t,a){let{node:r,isVirtualized:o}=e,{rowProps:l,...n}=Aw(e,t,a),{direction:i}=Fe();o&&t.treeColumn==null?l["aria-rowindex"]=r.index+1+t.collection.headerRows.length:delete l["aria-rowindex"];let s=t.treeColumn!=null&&(t.expandedKeys==="all"||t.expandedKeys.has(r.key)),u=it(Bz(xo),"@react-aria/table"),c=No({"aria-label":s?u.format("collapse"):u.format("expand"),"aria-labelledby":Hd(t,r.key)}),d={},f={};if(t.treeColumn!=null){let p=t.collection.getItem(r.key);if(p!=null){let x=Mw(t.collection,r),h=p.props?.hasChildRows||p.props?.UNSTABLE_childItems||x?.type!=="cell",g=t.collection.getItem(r.parentKey),$=g.type==="tablebody"||g.type==="body",v=Mw(t.collection,g);for(;v&&v.type!=="item"&&v.prevKey!=null;)v=t.collection.getItem(v.prevKey);d={onKeyDown:y=>{y.key===Nw.expand[i]&&t.selectionManager.focusedKey===p.key&&h&&t.expandedKeys!=="all"&&!t.expandedKeys.has(p.key)?(t.toggleKey(p.key),y.stopPropagation()):y.key===Nw.collapse[i]&&t.selectionManager.focusedKey===p.key&&(t.expandedKeys!=="all"?h&&t.expandedKeys.has(p.key)?(t.toggleKey(p.key),y.stopPropagation()):!t.expandedKeys.has(p.key)&&p.parentKey!=null&&p.level>0&&(t.selectionManager.setFocusedKey(p.parentKey),y.stopPropagation()):t.expandedKeys==="all"&&(t.toggleKey(p.key),y.stopPropagation()))},"aria-expanded":h?t.expandedKeys==="all"||t.expandedKeys.has(r.key):void 0,"aria-level":p.level+1,"aria-posinset":p.index-($?0:t.collection.columnCount)+1,"aria-setsize":v.index-($?0:t.collection.columnCount)+1},f={isDisabled:n.isDisabled,onPress:()=>{n.isDisabled||(t.toggleKey(r.key),t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(r.key))},excludeFromTabOrder:!0,preventFocusOnPress:!0,"data-react-aria-prevent-focus":!0,...c}}}let b=_h(r.props),m=n.hasAction?b:{};return{rowProps:{...O(l,d,m),"aria-labelledby":Hd(t,r.key)},expandButtonProps:f,...n}}function Mw(e,t){return"lastChildKey"in t?t.lastChildKey!=null?e.getItem(t.lastChildKey):null:Array.from(t.childNodes).findLast(a=>a.parentKey===t.key)}function k3(e,t,a){let{node:r,isVirtualized:o}=e,l={role:"row"};return o&&t.treeColumn==null&&(l["aria-rowindex"]=r.index+1),{rowProps:l}}function R3(e,t,a){let{gridCellProps:r,isPressed:o}=e0(e,t,a),l=e.node.column?.key;return l!=null&&t.collection.rowHeaderColumnKeys.has(l)&&(r.role="rowheader",r.id=V4(t,e.node.parentKey,l)),{gridCellProps:r,isPressed:o}}function zz(e){return e&&e.__esModule?e.default:e}function A3(e,t){let{key:a}=e,{checkboxProps:r}=vw(e,t);return{checkboxProps:{...r,"aria-labelledby":`${r.id} ${Hd(t,a)}`}}}function N3(e){let{isEmpty:t,isSelectAll:a,selectionMode:r}=e.selectionManager;return{checkboxProps:{"aria-label":it(zz(xo),"@react-aria/table").format(r==="single"?"select":"selectAll"),isSelected:a,isDisabled:r!=="multiple"||e.collection.size===0||e.collection.rows.length===1&&e.collection.rows[0].type==="loader",isIndeterminate:!t&&!a,onChange:()=>e.selectionManager.toggleSelectAll()}}}var ka=T(R(),1);function Oz(e){return e&&e.__esModule?e.default:e}function M3(e,t,a){let{column:r,triggerRef:o,isDisabled:l,onResizeStart:n,onResize:i,onResizeEnd:s,"aria-label":u}=e,c=it(Oz(xo),"@react-aria/table"),d=Ne(),f=t.resizingColumn===r.key,b=(0,ka.useRef)(f),m=(0,ka.useRef)(null),p=(0,ka.useRef)(!1),x=t.tableState.isKeyboardNavigationDisabled,[h,g]=(0,ka.useState)(!1),{direction:$}=Fe(),v=(0,ka.useCallback)(Y=>{b.current||(m.current=t.updateResizedColumns(Y.key,t.getColumnWidth(Y.key)),t.startResize(Y.key),t.tableState.setKeyboardNavigationDisabled(!0),n?.(m.current)),b.current=!0},[t,n]),y=(0,ka.useCallback)((Y,ue)=>{let qe=t.updateResizedColumns(Y.key,ue);i?.(qe),m.current=qe},[t,i]),E=(0,ka.useCallback)(Y=>{b.current&&(m.current==null&&(m.current=t.updateResizedColumns(Y.key,t.getColumnWidth(Y.key))),t.endResize(),t.tableState.setKeyboardNavigationDisabled(!1),s?.(m.current),b.current=!1,o?.current&&!p.current&&rt(o.current)),m.current=null},[t,o,s]),C=()=>{if(x){E(r);return}return!1},{keyboardProps:S}=oa({shortcuts:{Escape:()=>C(),Enter:()=>{x?E(r):v(r)}," ":()=>C(),Tab:()=>C()}}),D=(0,ka.useRef)(0),{moveProps:k}=pw({onMoveStart(Y){D.current=t.getColumnWidth(r.key),Y.pointerType==="mouse"&&g(!0),v(r)},onMove(Y){let{deltaX:ue,deltaY:qe,pointerType:tt}=Y;$==="rtl"&&(ue*=-1),tt==="keyboard"&&(qe!==0&&ue===0&&(ue=qe*-1),ue*=10),ue!==0&&(D.current+=ue,y(r,D.current))},onMoveEnd(Y){let{pointerType:ue}=Y;D.current=0,g(!1),(ue==="mouse"||ue==="touch"&&p.current)&&E(r)}}),_=(0,ka.useCallback)(Y=>{x&&k.onKeyDown?.(Y)},[x,k]),J=Math.floor(t.getColumnMinWidth(r.key)),ne=Math.floor(t.getColumnMaxWidth(r.key));ne===1/0&&(ne=Number.MAX_SAFE_INTEGER);let M=Math.floor(t.getColumnWidth(r.key)),H=nd();H==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(H="touch");let se=o?.current==null&&(H==="keyboard"||H==="virtual")&&!f?c.format("resizerDescription"):void 0,U=Mo(se),$e={"aria-label":u,"aria-orientation":"horizontal","aria-labelledby":`${d} ${Qm(t.tableState,r.key)}`,"aria-valuetext":c.format("columnSize",{value:M}),type:"range",min:J,max:ne,value:M,...U},V=(0,ka.useCallback)(()=>{a.current&&rt(a.current)},[a]),G=t.resizingColumn,X=(0,ka.useRef)(null),ze=at(v);(0,ka.useEffect)(()=>{if(X.current!==G&&G!=null&&G===r.key){p.current=de()===a.current,ze(r);let Y=setTimeout(()=>V(),0),ue=setTimeout(V,400);return()=>{clearTimeout(Y),clearTimeout(ue)}}X.current=G},[G,r,V,a]);let ft=Y=>{let ue=t.getColumnWidth(r.key),qe=parseFloat(j(Y).value);qe>ue?qe=ue+10:qe=ue-10,y(r,qe)},{pressProps:pt}=za({preventFocusOnPress:!0,onPressStart:Y=>{if(!(Y.ctrlKey||Y.altKey||Y.metaKey||Y.shiftKey||Y.pointerType==="keyboard")){if(Y.pointerType==="virtual"&&t.resizingColumn!=null){E(r);return}V(),Y.pointerType!=="virtual"&&v(r)}},onPress:Y=>{(Y.pointerType==="touch"&&p.current||Y.pointerType==="mouse")&&t.resizingColumn!=null&&E(r)}}),{visuallyHiddenProps:F}=_o();return{resizerProps:O(S,{...k,onKeyDown:_},pt,{style:{touchAction:"none"}}),inputProps:O(F,{id:d,onBlur:()=>{E(r)},onChange:ft,disabled:l},$e),isResizing:f,isMouseResizing:h}}function Pw(){return{rowGroupProps:{role:"rowgroup"}}}function t0(){return Pw()}function Iz(e){return e&&e.__esModule?e.default:e}var P3=class extends Di{withExpandedKeys(t){let a=this.clone();return a.expandedKeys=t,a.frozen=this.frozen,a.rows=Array.from(a.getRows()),a}addNode(t){super.addNode(t),this.columnsDirty||=t.type==="column",t.type==="tableheader"&&(this.head=t)}getRows(){let t=[];for(let a of this)(a.type==="tablebody"||a.type==="tablefooter")&&t.push(...this.getChildren(a.key));return t}get body(){for(let t of this)if(t.type==="tablebody")return t;return new r0(-2)}commit(t,a,r=!1){this.updateColumns(r),this.firstKey=t,this.lastKey=a,this.rows=[];for(let o of this.getRows()){let l=o.lastChildKey;if(l!=null){let n=this.getItem(l);for(;n&&n.type!=="cell";)n=n.prevKey!=null?this.getItem(n.prevKey):null;if(n){let i=(n.colIndex??n.index)+(n.colSpan??1);if(i!==this.columns.length&&!r)throw new Error(`Cell count must match column count. Found ${i} cells and ${this.columns.length} columns.`)}}this.rows.push(o)}super.commit(t,a,r)}updateColumns(t){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let a=new Map,r=o=>{o.type==="column"&&(a.set(o.key,o),o.hasChildNodes||(o.index=this.columns.length,this.columns.push(o),o.props.isRowHeader&&this.rowHeaderColumnKeys.add(o.key)));for(let l of this.getChildren(o.key))r(l)};for(let o of this.getChildren(this.head.key))r(o);if(this.headerRows=Wm(a,this.columns),this.columnsDirty=!1,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!t)throw new Error("A table must have at least one Column with the isRowHeader prop set to true")}get columnCount(){return this.columns.length}*[Symbol.iterator](){let t=this.firstKey;for(;t!=null;){let a=this.getItem(t);a&&(yield a),t=a?.nextKey??null}}getFirstKey(){for(let t of this)if(t.type==="tablebody")return t.firstChildKey??null;return null}getLastKey(){let t=this.lastKey;if(t==null)return null;let a=this.getItem(t);for(;a?.lastChildKey!=null&&(a.type!=="item"||this.expandedKeys.has(a.key));)a=this.getItem(a.lastChildKey);return a?.key}getKeyAfter(t){let a=this.getItem(t);if(a?.type==="column")return a.nextKey??null;if(!a)return null;if(a.type==="item"&&a.firstChildKey!=null&&this.expandedKeys.has(a.key)){let r=this.getItem(a.firstChildKey);for(;r;){if(r.type==="item")return r.key;r=r.nextKey!=null?this.getItem(r.nextKey):null}}return super.getKeyAfter(t)}getKeyBefore(t){let a=this.getItem(t);if(a?.type==="column")return a.prevKey??null;if(!a)return null;let r=null;if(a.prevKey!=null){for(a=this.getItem(a.prevKey);a&&(a.type!=="item"||this.expandedKeys.has(a.key))&&a.lastChildKey!=null;)a=this.getItem(a.lastChildKey);r=a?.key??null}return r==null&&(r=a.parentKey),r!=null&&this.getItem(r)?.type==="tableheader"?null:r}getChildren(t){let a=this.getItem(t);if(!a){for(let o of this.headerRows)if(o.key===t)return o.childNodes}let r=this;return a?.type==="tablebody"||a?.type==="tablefooter"?{*[Symbol.iterator](){let o=a.firstChildKey,l=o!=null?r.getItem(o):null;for(;l;){yield l;let n=r.getKeyAfter(l.key);if(l=n!=null?r.getItem(n):null,l&&l.parentKey===a.parentKey)break}}}:{*[Symbol.iterator](){let o=r.getItem(t),l=o?.firstChildKey!=null?r.getItem(o.firstChildKey):null;for(;l&&(yield l,l=l.nextKey!=null?r.getItem(l.nextKey):null,!(o?.type==="item"&&l?.type!=="cell")););}}}clone(){let t=super.clone();return t.headerRows=this.headerRows,t.columns=this.columns,t.rows=this.rows,t.rowHeaderColumnKeys=this.rowHeaderColumnKeys,t.head=this.head,t}getTextValue(t){let a=this.getItem(t);if(!a)return"";if(a.textValue)return a.textValue;let r=this.rowHeaderColumnKeys,o=[];for(let l of this.getChildren(t)){let n=this.columns[l.index];if(r.has(n.key)&&l.textValue&&o.push(l.textValue),o.length===r.size)break}return o.join(" ")}constructor(...t){super(...t),this.headerRows=[],this.columns=[],this.rows=[],this.rowHeaderColumnKeys=new Set,this.head=new a0(-1),this.columnsDirty=!0,this.expandedKeys=new Set}},O3=(0,A.createContext)(null),I3=(0,A.forwardRef)(function(t,a){let r=nt(a),o=(0,A.useRef)(null),l=(0,A.useRef)(null),[n,i]=(0,A.useState)(0);ae(()=>{let u=o.current;for(;u&&u!==r.current&&!La(u);)u=u.parentElement;l.current=u},[r]),on({ref:l,box:"border-box",onResize(){i(l.current?.clientWidth??0)}}),ae(()=>{i(l.current?.clientWidth??0)},[]);let s=(0,A.useMemo)(()=>({tableRef:o,scrollRef:l,tableWidth:n,useTableColumnResizeState:z4,onResizeStart:t.onResizeStart,onResize:t.onResize,onResizeEnd:t.onResizeEnd}),[o,n,t.onResizeStart,t.onResize,t.onResizeEnd]);return A.default.createElement(le.div,{render:t.render,...te(t,{global:!0}),ref:r,className:t.className||"react-aria-ResizableTableContainer",style:t.style,onScroll:t.onScroll},A.default.createElement(O3.Provider,{value:s},t.children))}),Ow=(0,A.createContext)(null),vo=(0,A.createContext)(null),o0=(0,A.createContext)(null),F3=(0,A.forwardRef)(function(t,a){[t,a]=Te(t,a,Ow);let r=Mi(t),{selectionBehavior:o,selectionMode:l,disallowEmptySelection:n}=r,i=!!t.dragAndDropHooks?.useDraggableCollectionState,s=(0,A.useMemo)(()=>({selectionBehavior:l==="none"?null:o,selectionMode:l,disallowEmptySelection:n,allowsDragging:i}),[o,l,n,i]),u=A.default.createElement(Vz.Provider,{value:s},A.default.createElement(gr,t));return A.default.createElement(Ho,{content:u,createCollection:()=>new P3},c=>A.default.createElement(Kz,{props:t,forwardedRef:a,selectionState:r,collection:c}))}),Fz=(0,A.forwardRef)(function(t,a){let{isVirtualized:r}=(0,A.useContext)(st);return r?A.default.createElement(le.div,{...t,ref:a}):A.default.createElement(le.table,{...t,ref:a})}),Lw={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function Kz({props:e,forwardedRef:t,selectionState:a,collection:r}){[e,t]=Te(e,t,Sd);let{shouldUseVirtualFocus:o,disallowTypeAhead:l,filter:n,...i}=e,s=(0,A.useContext)(O3);t=nt((0,A.useMemo)(()=>Yt(t,s?.tableRef),[t,s?.tableRef]));let[u,c]=Bt(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange);r=(0,A.useMemo)(()=>r.withExpandedKeys(u),[r,u]);let d=O4({...i,collection:r,children:void 0,UNSAFE_selectionState:a,expandedKeys:u,onExpandedChange:c}),f=I4(d,n),{isVirtualized:b,layoutDelegate:m,dropTargetDelegate:p,CollectionRoot:x}=(0,A.useContext)(st),{dragAndDropHooks:h}=e,{gridProps:g}=S3({...i,layoutDelegate:m,isVirtualized:b},f,t),$=f.selectionManager,v=!!h?.useDraggableCollectionState,y=!!h?.useDroppableCollectionState,E=(0,A.useRef)(v),C=(0,A.useRef)(y);(0,A.useEffect)(()=>{},[v,y]);let S,D,k,_=!1,J=null,ne=(0,A.useRef)(null),{direction:M}=Fe(),[H]=(0,A.useState)(()=>new qm);if(v&&h){S=h.useDraggableCollectionState({collection:f.collection,selectionManager:$,preview:h.renderDragPreview?ne:void 0}),h.useDraggableCollection({},S,t);let pt=h.DragPreview;J=h.renderDragPreview?A.default.createElement(pt,{ref:ne},h.renderDragPreview):null}if(y&&h){D=h.useDroppableCollectionState({collection:f.collection,selectionManager:$});let pt=new ho({collection:f.collection,disabledKeys:$.disabledKeys,disabledBehavior:$.disabledBehavior,ref:t,layoutDelegate:m}),F=h.dropTargetDelegate||p||new h.ListDropTargetDelegate(r.rows,t);H.setup(F,d,M),k=h.useDroppableCollection({keyboardDelegate:pt,dropTargetDelegate:H,onDropActivate:Y=>{if(Y.target.type==="item"){let ue=Y.target.key,qe=d.collection.getItem(ue),tt=u.has(ue);qe&&qe.hasChildNodes&&(!tt||h?.isVirtualDragging?.())&&d.toggleKey(ue)}},onKeyDown:Y=>{let ue=D?.target;if(ue&&ue.type==="item"&&ue.dropPosition==="on"){let qe=d.collection.getItem(ue.key);(Y.key===Lw.expand[M]&&qe?.hasChildNodes&&!d.expandedKeys.has(ue.key)||Y.key===Lw.collapse[M]&&qe?.hasChildNodes&&d.expandedKeys.has(ue.key))&&d.toggleKey(ue.key)}}},D,t),_=D.isDropTarget({type:"root"})}let{focusProps:se,isFocused:U,isFocusVisible:$e}=ot(),V=be({...e,children:void 0,defaultClassName:"react-aria-Table",values:{isDropTarget:_,isFocused:U,isFocusVisible:$e,state:f}}),G=!!(v&&!S?.isDisabled),X=V.style,ze=null;s&&(ze=s.useTableColumnResizeState({tableWidth:s.tableWidth},f),b||(X={...X,tableLayout:"fixed",width:"min-content"}));let ft=te(e,{global:!0});return A.default.createElement(Ct,{values:[[vo,f],[o0,ze],[qr,{dragAndDropHooks:h,dragState:S,dropState:D}],[Nd,{render:qz}],[Sd,null],[$m,null]]},A.default.createElement(Ti,null,A.default.createElement(Fz,{...O(ft,V,g,se,k?.collectionProps),style:X,ref:t,slot:e.slot||void 0,onScroll:e.onScroll,"data-allows-dragging":G||void 0,"data-drop-target":_||void 0,"data-focused":U||void 0,"data-focus-visible":$e||void 0},A.default.createElement($n,null,A.default.createElement(x,{collection:f.collection,scrollRef:s?.scrollRef??t,persistedKeys:km($,h,D)})))),J)}var Vz=(0,A.createContext)(null);var a0=class extends Xt{static{this.type="tableheader"}},_z=(0,A.forwardRef)(function(t,a){let{isVirtualized:r}=(0,A.useContext)(st);return r?A.default.createElement(le.div,{...t,ref:a}):A.default.createElement(le.thead,{...t,ref:a})}),K3=gn(a0,(e,t)=>{let a=(0,A.useContext)(vo).collection,r=ki({items:a.headerRows,children:(0,A.useCallback)(s=>{if(s.type==="headerrow")return A.default.createElement(jz,{item:s});throw new Error("Unsupported node type in TableHeader: "+s.type)},[])}),{rowGroupProps:o}=t0(),{hoverProps:l,isHovered:n}=vt({onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),i=be({...e,children:void 0,defaultClassName:"react-aria-TableHeader",values:{isHovered:n}});return A.default.createElement(_z,{...O(te(e,{global:!0}),o,l),...i,ref:t,"data-hovered":n||void 0},r)},e=>A.default.createElement(gr,{dependencies:e.dependencies,items:e.columns},e.children)),Hz=(0,A.forwardRef)(function(t,a){let{isVirtualized:r}=(0,A.useContext)(st);return r?A.default.createElement("div",{...t,ref:a}):A.default.createElement("tr",{...t,ref:a})});function jz({item:e}){let t=(0,A.useRef)(null),a=(0,A.useContext)(vo),{isVirtualized:r,CollectionBranch:o}=(0,A.useContext)(st),{rowProps:l}=k3({node:e,isVirtualized:r},a,t),{checkboxProps:n}=N3(a);return A.default.createElement(Hz,{...l,ref:t},A.default.createElement(Ct,{values:[[s2,{slots:{selection:n}}],[u2,{slots:{selection:n}}]]},A.default.createElement(o,{collection:a.collection,parent:e})))}var L3=class extends Xt{static{this.type="column"}},Uz=(0,A.forwardRef)(function(t,a){let{isVirtualized:r}=(0,A.useContext)(st);return r?A.default.createElement(le.div,{...t,ref:a}):A.default.createElement(le.th,{...t,ref:a})}),V3=jr(L3,(e,t,a)=>{let r=nt(t),o=(0,A.useContext)(vo),{isVirtualized:l}=(0,A.useContext)(st),{columnHeaderProps:n,isPressed:i}=T3({node:a,isVirtualized:l,focusMode:e.focusMode,allowsArrowNavigation:e.allowsArrowNavigation},o,r),{isFocused:s,isFocusVisible:u,focusProps:c}=ot(),d=(0,A.useContext)(o0),f=!1;d&&(f=d.resizingColumn===a.key);let{hoverProps:b,isHovered:m}=vt({isDisabled:!e.allowsSorting}),p=be({...e,id:void 0,children:a.rendered,defaultClassName:"react-aria-Column",values:{isHovered:m,isPressed:i,isFocused:s,isFocusVisible:u,allowsSorting:a.props.allowsSorting,sortDirection:o.sortDescriptor?.column===a.key?o.sortDescriptor.direction:void 0,isResizing:f,startResize:()=>{if(d)d.startResize(a.key),o.setKeyboardNavigationDisabled(!0);else throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing")},sort:g=>{o.sort(a.key,g)}}}),x=p.style;d&&(x={...x,width:d.getColumnWidth(a.key)});let h=te(e,{global:!0});return delete h.id,A.default.createElement(Uz,{...O(h,n,c,b),...p,style:x,ref:r,"data-hovered":m||void 0,"data-pressed":i||void 0,"data-focused":s||void 0,"data-focus-visible":u||void 0,"data-resizing":f||void 0,"data-allows-sorting":a.props.allowsSorting||void 0,"data-sort-direction":o.sortDescriptor?.column===a.key?o.sortDescriptor.direction:void 0},A.default.createElement(Ct,{values:[[Iw,{column:a,triggerRef:r}],[st,ru]]},p.children))}),Iw=(0,A.createContext)(null),_3=(0,A.forwardRef)(function(t,a){let r=(0,A.useContext)(o0);if(!r)throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");let o=it(Iz(Ad),"react-aria-components"),{onResizeStart:l,onResize:n,onResizeEnd:i}=(0,A.useContext)(O3),{column:s,triggerRef:u}=(0,A.useContext)(Iw),c=(0,A.useRef)(null),{resizerProps:d,inputProps:f,isResizing:b,isMouseResizing:m}=M3({column:s,"aria-label":t["aria-label"]||o.format("tableResizer"),onResizeStart:l,onResize:n,onResizeEnd:i,triggerRef:u},r,c),{focusProps:p,isFocused:x,isFocusVisible:h}=ot(),{hoverProps:g,isHovered:$}=vt(t),v=r.getColumnMinWidth(s.key)>=r.getColumnWidth(s.key),y=r.getColumnMaxWidth(s.key)<=r.getColumnWidth(s.key),{direction:E}=Fe(),C="both";v?C=E==="rtl"?"right":"left":y?C=E==="rtl"?"left":"right":C="both";let S=nt(a),[D,k]=(0,A.useState)("");(0,A.useEffect)(()=>{if(!S.current)return;let ne=window.getComputedStyle(S.current);k(ne.cursor)},[S,C]);let _=be({...t,defaultClassName:"react-aria-ColumnResizer",values:{isFocused:x,isFocusVisible:h,isResizing:b,isHovered:$,resizableDirection:C}}),J=te(t,{global:!0});return A.default.createElement(le.div,{ref:S,role:"presentation",...O(J,_,d,g),"data-hovered":$||void 0,"data-focused":x||void 0,"data-focus-visible":h||void 0,"data-resizing":b||void 0,"data-resizable-direction":C},_.children,A.default.createElement("input",{ref:c,...O(f,p)}),b&&m&&zw.default.createPortal(A.default.createElement("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,cursor:D},"data-testid":"cursor-overlay"}),document.body))}),r0=class extends hn{static{this.type="tablebody"}},Gz=(0,A.forwardRef)(function(t,a){let{isVirtualized:r}=(0,A.useContext)(st);return r?A.default.createElement(le.div,{...t,ref:a}):A.default.createElement(le.tbody,{...t,ref:a})}),H3=gn(r0,(e,t,a)=>{let r=(0,A.useContext)(vo),{isVirtualized:o}=(0,A.useContext)(st),l=r.collection,{CollectionBranch:n}=(0,A.useContext)(st),{dragAndDropHooks:i,dropState:s}=(0,A.useContext)(qr),u=!!i?.useDroppableCollectionState&&!s?.isDisabled,c=u&&!!s&&(s.isDropTarget({type:"root"})??!1),d=l.size===0,f={isDropTarget:c,isEmpty:d},b=be({...e,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:f}),m,p=l.columnCount;if(d&&e.renderEmptyState&&r){let g={},$={},v={};o?($["aria-colspan"]=p,v={display:"contents"}):$.colSpan=p,m=A.default.createElement(vu,{role:"row",...g,style:v},A.default.createElement(yu,{role:"rowheader",...$,style:v},e.renderEmptyState(f)))}let{rowGroupProps:x}=t0(),h=te(e,{global:!0});return A.default.createElement(Gz,{...O(h,b,x),ref:t,"data-empty":d||void 0},u&&A.default.createElement(Qz,null),A.default.createElement(n,{collection:l,parent:a,renderDropIndicator:Md(i,s)}),m)}),Bw=class extends hn{static{this.type="tablefooter"}};var Fw=(0,A.createContext)({isFocusVisibleWithinRow:!1}),B3=class extends Xt{static{this.type="item"}filter(t,a,r){let o=t.getChildren(this.key);for(let l of o)if(r(l.textValue,l)){let n=this.clone();return a.addDescendants(n,t),n}return null}},vu=(0,A.forwardRef)(function(t,a){let{isVirtualized:r}=(0,A.useContext)(st);return r?A.default.createElement(le.div,{...t,ref:a}):A.default.createElement(le.tr,{...t,ref:a})}),j3=gn(B3,(e,t,a)=>{let r=nt(t),o=(0,A.useContext)(vo),{dragAndDropHooks:l,dragState:n,dropState:i}=(0,A.useContext)(qr),{isVirtualized:s,CollectionBranch:u}=(0,A.useContext)(st),c=n&&!(n.isDisabled||n.selectionManager.isDisabled(a.key)),{rowProps:d,expandButtonProps:f,...b}=D3({node:a,shouldSelectOnPressUp:!!n,isVirtualized:s},o,r),{isFocused:m,isFocusVisible:p,focusProps:x}=ot(),{isFocusVisible:h,focusProps:g}=ot({within:!0}),{hoverProps:$,isHovered:v}=vt({isDisabled:!b.allowsSelection&&!b.hasAction&&!c,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{checkboxProps:y}=A3({key:a.key},o),E;n&&l&&(E=l.useDraggableItem({key:a.key,hasDragButton:!0},n));let C,S=(0,A.useRef)(null),{visuallyHiddenProps:D}=_o();i&&l&&(C=l.useDropIndicator({target:{type:"item",key:a.key,dropPosition:"on"}},i,S));let k=(0,A.useRef)(null);(0,A.useEffect)(()=>{n&&k.current},[]);let _=n&&n.isDragging(a.key),{children:J,...ne}=e,M=e.hasChildItems||o.collection.getItem(a.lastChildKey)?.type!=="cell",H=M&&o.expandedKeys.has(a.key),se=be({...ne,id:void 0,defaultClassName:"react-aria-Row",defaultStyle:{"--table-row-level":a.level+1},values:{...b,state:o,isHovered:v,isFocused:m,isFocusVisible:p,selectionMode:o.selectionManager.selectionMode,selectionBehavior:o.selectionManager.selectionBehavior,isDragging:_,isDropTarget:C?.isDropTarget,isFocusVisibleWithin:h,id:a.key,hasChildItems:M,isExpanded:H,level:a.level+1}}),U=te(e,{global:!0});return delete U.id,delete U.onClick,A.default.createElement(A.default.Fragment,null,C&&!C.isHidden&&A.default.createElement(vu,{role:"row",style:{height:0}},A.default.createElement(yu,{role:"gridcell",colSpan:o.collection.columnCount,style:{padding:0}},A.default.createElement("div",{role:"button",...D,...C.dropIndicatorProps,ref:S}))),A.default.createElement(vu,{...O(U,se,d,x,$,E?.dragProps,g),ref:r,"data-disabled":b.isDisabled||void 0,"data-selected":b.isSelected||void 0,"data-hovered":v||void 0,"data-focused":b.isFocused||void 0,"data-focus-visible":p||void 0,"data-pressed":b.isPressed||void 0,"data-dragging":_||void 0,"data-drop-target":C?.isDropTarget||void 0,"data-selection-mode":o.selectionManager.selectionMode==="none"?void 0:o.selectionManager.selectionMode,"data-focus-visible-within":h||void 0,"data-expanded":H||void 0,"data-has-child-items":M||void 0,"data-level":a.level+1},A.default.createElement(Ct,{values:[[s2,{slots:{[pr]:{},selection:y}}],[u2,{slots:{[pr]:{},selection:y}}],[br,{slots:{[pr]:{},chevron:f,drag:{...E?.dragButtonProps,ref:k,style:{pointerEvents:"none"}}}}],[jo,{isSelected:b.isSelected}],[Fw,{isFocusVisibleWithinRow:h}]]},A.default.createElement(u,{collection:o.collection,parent:a}))))},e=>{if(e.id==null&&typeof e.children=="function")throw new Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t=[e.value].concat(e.dependencies);return A.default.createElement(gr,{dependencies:t,items:e.columns,idScope:e.id},e.children)}),z3=class extends Xt{static{this.type="cell"}},yu=(0,A.forwardRef)(function(t,a){let{isVirtualized:r}=(0,A.useContext)(st);return r?A.default.createElement(le.div,{...t,ref:a}):A.default.createElement(le.td,{...t,ref:a})}),U3=jr(z3,(e,t,a)=>{let r=nt(t),o=(0,A.useContext)(vo),{dragState:l}=(0,A.useContext)(qr),{isVirtualized:n}=(0,A.useContext)(st);a.column=o.collection.columns[a.index];let{gridCellProps:i,isPressed:s}=R3({node:a,shouldSelectOnPressUp:!!l,isVirtualized:n,focusMode:e.focusMode,allowsArrowNavigation:e.allowsArrowNavigation},o,r),{isFocused:u,isFocusVisible:c,focusProps:d}=ot(),{hoverProps:f,isHovered:b}=vt({}),{isFocusVisibleWithinRow:m}=(0,A.useContext)(Fw),p=a.parentKey!=null?o.selectionManager.isSelected(a.parentKey):!1,x=a.colIndex||a.index,h=o.collection.getItem(a.parentKey),g=h.props.hasChildItems||o.collection.getItem(h.lastChildKey)?.type!=="cell",$=g&&o.expandedKeys.has(a.parentKey),v=o.selectionManager.isDisabled(a.parentKey),y=be({...e,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:u,isFocusVisible:c,isFocusVisibleWithinRow:m,isPressed:s,isHovered:b,isSelected:p,id:a.key,columnIndex:x,hasChildItems:g,isExpanded:$,isDisabled:v,level:h.level+1,isTreeColumn:a.column.key===o.treeColumn}}),E=te(e,{global:!0});return delete E.id,A.default.createElement(yu,{...O(E,y,i,d,f),ref:r,"data-focused":u||void 0,"data-focus-visible":c||void 0,"data-focus-visible-within-row":m||void 0,"data-pressed":s||void 0,"data-selected":p||void 0,"data-column-index":x,"data-expanded":$||void 0,"data-has-child-items":g||void 0,"data-level":h.level+1,"data-tree-column":a.column.key===o.treeColumn||void 0,"data-disabled":v||void 0},A.default.createElement(st.Provider,{value:ru},y.children))});function qz(e,t){t=nt(t);let{dragAndDropHooks:a,dropState:r}=(0,A.useContext)(qr),o=(0,A.useRef)(null),{dropIndicatorProps:l,isHidden:n,isDropTarget:i}=a.useDropIndicator(e,r,o);if(n)return null;let s=r&&e.target.type==="item"?(r.collection.getItem(e.target.key)?.level||0)+1:1;return A.default.createElement(Zz,{...e,dropIndicatorProps:l,isDropTarget:i,buttonRef:o,level:s,ref:t})}var Yz=(0,A.forwardRef)(function(t,a){let{isVirtualized:r}=(0,A.useContext)(st);return r?A.default.createElement(le.div,{...t,ref:a}):A.default.createElement(le.tr,{...t,ref:a})}),Wz=(0,A.forwardRef)(function(t,a){let{isVirtualized:r}=(0,A.useContext)(st);return r?A.default.createElement(le.div,{...t,ref:a}):A.default.createElement(le.td,{...t,ref:a})});function Xz(e,t){let{dropIndicatorProps:a,isDropTarget:r,buttonRef:o,level:l,...n}=e,i=(0,A.useContext)(vo),{visuallyHiddenProps:s}=_o(),u=be({...n,defaultClassName:"react-aria-DropIndicator",defaultStyle:{"--table-row-level":l+1},values:{isDropTarget:r}});return A.default.createElement(Yz,{...te(e,{global:!0}),...u,role:"row",ref:t,"data-drop-target":r||void 0,"aria-level":l},A.default.createElement(Wz,{role:"gridcell",colSpan:i.collection.columnCount,style:{padding:0}},A.default.createElement("div",{...s,role:"button",...a,ref:o}),u.children))}var Zz=(0,A.forwardRef)(Xz);function Qz(){let e=(0,A.useContext)(vo),{dragAndDropHooks:t,dropState:a}=(0,A.useContext)(qr),r=(0,A.useRef)(null),{dropIndicatorProps:o}=t.useDropIndicator({target:{type:"root"}},a,r),l=a.isDropTarget({type:"root"}),{visuallyHiddenProps:n}=_o();return!l&&o["aria-hidden"]?null:A.default.createElement(vu,{role:"row","aria-hidden":o["aria-hidden"],style:{height:0}},A.default.createElement(yu,{role:"gridcell",colSpan:e.collection.columnCount,style:{padding:0}},A.default.createElement("div",{role:"button",...n,...o,ref:r})))}var G3=jr(wl,function(t,a,r){let o=(0,A.useContext)(vo),{isVirtualized:l}=(0,A.useContext)(st),{isLoading:n,onLoadMore:i,scrollOffset:s,...u}=t,c=o.collection.columns.length,d=(0,A.useRef)(null),f=(0,A.useMemo)(()=>({onLoadMore:i,collection:o?.collection,sentinelRef:d,scrollOffset:s}),[i,s,o?.collection]);pi(f,d);let b=be({...u,id:void 0,children:r.rendered,defaultClassName:"react-aria-TableLoadingIndicator",defaultStyle:{"--table-row-level":r.level+1},values:void 0}),m={},p={},x={};return l?(p["aria-colspan"]=c,x={display:"contents"}):p.colSpan=c,A.default.createElement(A.default.Fragment,null,A.default.createElement(vu,{style:{height:0},inert:Lo(!0)},A.default.createElement(yu,{style:{padding:0,border:0}},A.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:d,style:{position:"relative",height:1,width:1}}))),n&&b.children&&A.default.createElement(vu,{...O(te(t,{global:!0}),m),...b,role:"row",ref:a,"aria-level":r.level+1,"data-level":r.level+1},A.default.createElement(yu,{role:"rowheader",...p,style:x},b.children)))});var q3=new WeakMap;function Cu(e,t,a){return e?(typeof t=="string"&&(t=t.replace(/\\s+/g,"")),`${q3.get(e)}-${a}-${t}`):""}function Y3(e,t,a){let{key:r,isDisabled:o,shouldSelectOnPressUp:l}=e,{selectionManager:n,selectedKey:i}=t,s=r===i,u=o||t.isDisabled||t.selectionManager.isDisabled(r),c=t.collection.getItem(r),{itemProps:d,isPressed:f}=xn({selectionManager:n,key:r,ref:a,isDisabled:u,shouldSelectOnPressUp:l??c?.props.href!=null,linkBehavior:"selection"}),b=Cu(t,r,"tab"),m=Cu(t,r,"tabpanel"),{tabIndex:p}=d,x=te(c?.props,{labelable:!0});delete x.id;let h=ui(c?.props),{focusableProps:g}=Fr({...c?.props,isDisabled:u},a);return{tabProps:O(x,g,h,d,{id:b,"aria-selected":s,"aria-disabled":u||void 0,"aria-controls":s?m:void 0,tabIndex:u?void 0:p,role:"tab"}),isSelected:s,isDisabled:u,isPressed:f}}function W3(e,t,a){let r=Gm(a)?void 0:0,o=Cu(t,e.id??t?.selectedKey,"tabpanel"),l=No({...e,id:o,"aria-labelledby":Cu(t,t?.selectedKey,"tab")});return{tabPanelProps:O(l,{tabIndex:r,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}var l0=class{constructor(t,a,r,o=new Set){this.collection=t,this.flipDirection=a==="rtl",this.disabledKeys=o,this.tabDirection=r==="horizontal"}getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){return this.disabledKeys.has(t)||!!this.collection.getItem(t)?.props?.isDisabled}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(t)}getNextKey(t){let a=t;do a=this.collection.getKeyAfter(a),a==null&&(a=this.collection.getFirstKey());while(a!=null&&this.isDisabled(a)&&a!==t);return a}getPreviousKey(t){let a=t;do a=this.collection.getKeyBefore(a),a==null&&(a=this.collection.getLastKey());while(a!=null&&this.isDisabled(a)&&a!==t);return a}};var Kw=T(R(),1);function X3(e,t,a){let{orientation:r="horizontal",keyboardActivation:o="automatic"}=e,{collection:l,selectionManager:n,disabledKeys:i}=t,{direction:s}=Fe(),u=(0,Kw.useMemo)(()=>new l0(l,s,r,i),[l,i,r,s]),{collectionProps:c}=nu({ref:a,selectionManager:n,keyboardDelegate:u,selectOnFocus:o==="automatic",disallowEmptySelection:!0,scrollRef:a,linkBehavior:"selection"}),d=Ne();q3.set(t,d);let f=No({...e,id:d});return{tabListProps:{...O(c,f),role:"tablist","aria-orientation":r,tabIndex:void 0}}}var Ie=T(R(),1);var Vw=T(R(),1);function _w(e){let[t,a]=Bt(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=(0,Vw.useMemo)(()=>t!=null?[t]:[],[t]),{collection:o,disabledKeys:l,selectionManager:n}=Li({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:s=>{if(s==="all")return;let u=s.values().next().value??null;u===t&&e.onSelectionChange&&e.onSelectionChange(u),a(u)}}),i=t!=null?o.getItem(t):null;return{collection:o,disabledKeys:l,selectionManager:n,selectedKey:t,setSelectedKey:a,selectedItem:i}}var n0=T(R(),1);function Z3(e){let t=_w({...e,onSelectionChange:e.onSelectionChange?n=>{n!=null&&e.onSelectionChange?.(n)}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??Hw(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:a,collection:r,selectedKey:o}=t,l=(0,n0.useRef)(o);return(0,n0.useEffect)(()=>{let n=o;e.selectedKey==null&&(a.isEmpty||n==null||!r.getItem(n))&&(n=Hw(r,t.disabledKeys),n!=null&&a.setSelectedKeys([n])),(n!=null&&a.focusedKey==null||!a.isFocused&&n!==l.current)&&a.setFocusedKey(n),l.current=n}),{...t,isDisabled:e.isDisabled||!1}}function Hw(e,t){let a=null;if(e){for(a=e.getFirstKey();a!=null&&(t.has(a)||e.getItem(a)?.props?.isDisabled)&&a!==e.getLastKey();)a=e.getKeyAfter(a);a!=null&&(t.has(a)||e.getItem(a)?.props?.isDisabled)&&a===e.getLastKey()&&(a=e.getFirstKey())}return a}var jd=(0,Ie.createContext)(null),Sn=(0,Ie.createContext)(null),J3=(0,Ie.forwardRef)(function(t,a){[t,a]=Te(t,a,jd);let{children:r,orientation:o="horizontal"}=t;return r=(0,Ie.useMemo)(()=>typeof r=="function"?r({orientation:o,defaultChildren:null}):r,[r,o]),Ie.default.createElement(Ho,{content:r},l=>Ie.default.createElement(Jz,{props:t,collection:l,tabsRef:a}))});function Jz({props:e,tabsRef:t,collection:a}){let{orientation:r="horizontal"}=e,o=Z3({...e,collection:a,children:void 0}),{focusProps:l,isFocused:n,isFocusVisible:i}=ot({within:!0}),s=(0,Ie.useMemo)(()=>({orientation:r,isFocusWithin:n,isFocusVisible:i}),[r,n,i]),u=be({...e,defaultClassName:"react-aria-Tabs",values:s}),c=te(e,{global:!0});return Ie.default.createElement(le.div,{...O(c,u,l),ref:t,slot:e.slot||void 0,"data-focused":n||void 0,"data-orientation":r,"data-focus-visible":i||void 0,"data-disabled":o.isDisabled||void 0},Ie.default.createElement(Ct,{values:[[jd,e],[Sn,o]]},u.children))}var i0=(0,Ie.forwardRef)(function(t,a){return(0,Ie.useContext)(Sn)?Ie.default.createElement(eO,{props:t,forwardedRef:a}):Ie.default.createElement(gr,t)});function eO({props:e,forwardedRef:t}){let a=(0,Ie.useContext)(Sn),{CollectionRoot:r}=(0,Ie.useContext)(st),{orientation:o="horizontal",keyboardActivation:l="automatic"}=Ot(jd),n=nt(t),{tabListProps:i}=X3({...e,orientation:o,keyboardActivation:l},a,n),s=be({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:o,state:a}}),u=te(e,{global:!0});return delete u.id,Ie.default.createElement(le.div,{...O(u,s,i),ref:n,"data-orientation":o||void 0},Ie.default.createElement($n,null,Ie.default.createElement(r,{collection:a.collection,persistedKeys:lS(a.selectionManager.focusedKey)})))}var Q3=class extends Xt{static{this.type="item"}},ev=jr(Q3,(e,t,a)=>{let r=(0,Ie.useContext)(Sn),o=nt(t),{tabProps:l,isSelected:n,isDisabled:i,isPressed:s}=Y3({key:a.key,...e},r,o),{focusProps:u,isFocused:c,isFocusVisible:d}=ot(),{hoverProps:f,isHovered:b}=vt({isDisabled:i,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),m=be({...e,id:void 0,children:a.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:n,isDisabled:i,isFocused:c,isFocusVisible:d,isPressed:s,isHovered:b}}),p=a.props.href?le.a:le.div,x=te(e,{global:!0});return delete x.id,delete x.onClick,Ie.default.createElement(p,{...O(x,m,l,u,f),ref:o,"data-selected":n||void 0,"data-disabled":i||void 0,"data-focused":c||void 0,"data-focus-visible":d||void 0,"data-pressed":s||void 0,"data-hovered":b||void 0},Ie.default.createElement(jo.Provider,{value:{isSelected:n}},m.children))});var tv=er(function(t,a){let r=(0,Ie.useContext)(Sn),o=nt(a),l=r.selectedKey===t.id,[n,i]=(0,Ie.useState)(r.selectedKey!=null?l:null);n==null&&r.selectedKey!=null?i(l):!l&&n&&i(!1);let s=cn(o,l);return!l&&!t.shouldForceMount&&!s?null:Ie.default.createElement(tO,{...t,tabPanelRef:o,isInitiallySelected:n||!1,isExiting:s})});function tO(e){let t=(0,Ie.useContext)(Sn),{id:a,tabPanelRef:r,isInitiallySelected:o,isExiting:l,...n}=e,{tabPanelProps:i}=W3(e,t,r),{focusProps:s,isFocused:u,isFocusVisible:c}=ot(),d=t.selectedKey===e.id,f=un(r)&&!o,b=be({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:u,isFocusVisible:c,isInert:Lo(!d),isEntering:f,isExiting:l,state:t}}),m=te(n,{global:!0});delete m.id;let p=d?O(m,i,s,b):O(m,b);return Ie.default.createElement(le.div,{...p,ref:r,"data-focused":u||void 0,"data-focus-visible":c||void 0,inert:Lo(!d||e.inert),"data-inert":d?void 0:"true","data-entering":f||void 0,"data-exiting":l||void 0},Ie.default.createElement(Ct,{values:[[jd,null],[Sn,null]]},Ie.default.createElement(st.Provider,{value:ru},b.children)))}var Yr=T(R(),1);var Su={blue:"\\x1B[34m",green:"\\x1B[32m",magenta:"\\x1B[35m",red:"\\x1B[31m",reset:"\\x1B[0m",yellow:"\\x1B[33m"},aO={debug:Su.magenta,error:Su.red,info:Su.blue,success:Su.green,warn:Su.yellow},rO={debug:"\\u{1F50D}",error:"\\u274C",info:"\\u2139\\uFE0F",success:"\\u2705",warn:"\\u26A0\\uFE0F"},s0=class{constructor(t={}){this.enabled=t.enabled??!0,this.prefix=t.prefix??"HeroUI"}formatMessage(t,a){let r=aO[t],o=rO[t];return`${r}[${this.prefix}]${Su.reset} ${o} ${a}`}log(t,a,...r){if(!this.enabled)return;let o=this.formatMessage(t,a);switch(t){case"error":console.error(o,...r);break;case"warn":console.warn(o,...r);break;default:console.log(o,...r)}}info(t,...a){this.log("info",t,...a)}success(t,...a){this.log("success",t,...a)}warn(t,...a){this.log("warn",t,...a)}error(t,...a){this.log("error",t,...a)}debug(t,...a){this.log("debug",t,...a)}divider(t="=",a=80){this.enabled&&console.log(t.repeat(a))}newline(){this.enabled&&console.log()}};var Ud=T(me(),1),oO=new s0({prefix:"HeroUI"}),av,lO=!1,jw=e=>{lO&&(av??=new Set,av.has(e)&&oO.warn(`Duplicate collection slot "${e}". Use a unique, namespaced name (e.g. "tabs.listContainer", "menu.popover").`),av.add(e));let t=`$$heroui.collection.${e}`,a=(0,Yr.createContext)(void 0),r=(s,u)=>Yr.Children.map(s,c=>(0,Yr.isValidElement)(c)?Yr.default.cloneElement(c,{[t]:u}):c),o=s=>{let{[t]:u,...c}=s;return[u,c]},l=s=>{let[u,c]=o(s),d=(0,Yr.useContext)(a);return[u??d,c]},n=({children:s,...u})=>(0,Ud.jsx)(a.Provider,{value:u,children:r(s,u)});return n.displayName=`HeroUI.CollectionSlot(${e})`,{key:t,inject:r,consume:o,useSlot:l,Injector:n,withSlot:(s,u)=>{let c=(0,Yr.forwardRef)(function(f,b){let[m,p]=l(f),{children:x,...h}=p;if(!m)return(0,Ud.jsx)(s,{...h,ref:b,children:x});if(u)return u({...h,children:x},m,b);let{className:g,render:$,...v}=m;return(0,Ud.jsx)(s,{...h,ref:b,children:$?$({children:x,className:g,...v}):(0,Ud.jsx)("div",{className:g,"data-slot":`${e}-container`,...v,children:x})})});return c.displayName=`HeroUI.withCollectionSlot(${s.displayName||s.name||e})`,c},Context:a}};var Re=T(R(),1);var Uw=(e,t)=>e.closest(\'[data-slot="drawer-dialog"]\')===t;var ma=T(me(),1);var nO={variant:"default"},iO=8,sO=.3,uO=.5;function cO(e,t){let a=(0,Re.use)(Ta),r=(0,Re.useRef)(null),o=(0,Re.useRef)(!1),l=(0,Re.useRef)(!1),n=(0,Re.useRef)(0),i=(0,Re.useRef)(0),s=(0,Re.useRef)(0),u=(0,Re.useRef)(0),c=(0,Re.useRef)(0),d=e==="top"||e==="bottom",f=(0,Re.useCallback)(v=>d?v.clientY:v.clientX,[d]),b=(0,Re.useCallback)(v=>{switch(e){case"bottom":return Math.max(0,v);case"top":return Math.min(0,v);case"right":return Math.max(0,v);case"left":return Math.min(0,v);default:return v}},[e]),m=(0,Re.useCallback)(v=>{if(!t||v.button!==0)return;let y=v.target,E=v.currentTarget;Uw(y,E)&&(y.closest("input, textarea, button, [role=\'button\'], select, a, [data-slot=\'drawer-body\']")||(o.current=!0,l.current=!1,n.current=f(v),c.current=n.current,u.current=Date.now(),i.current=0,s.current=0))},[f,t]),p=(0,Re.useCallback)(v=>{if(!o.current||!r.current)return;let y=f(v),E=y-n.current,C=b(E);if(!l.current){if(Math.abs(E)<iO)return;l.current=!0,r.current.style.transition="none",r.current.setPointerCapture(v.pointerId)}i.current=C;let S=Date.now(),D=S-u.current;D>0&&(s.current=(y-c.current)/D,u.current=S,c.current=y);let k=d?"Y":"X";r.current.style.transform=`translate${k}(${C}px)`},[f,b,d]),x=(0,Re.useCallback)(v=>{v.style.transition="transform 300ms cubic-bezier(0.32, 0.72, 0, 1)",v.style.transform="";let y=()=>{v.style.transition=""};v.addEventListener("transitionend",y,{once:!0})},[]),h=(0,Re.useCallback)(v=>{if(!o.current)return;o.current=!1;let y=r.current;if(!y||!l.current){l.current=!1;return}l.current=!1;try{y.releasePointerCapture(v.pointerId)}catch{}let E=d?y.offsetHeight:y.offsetWidth,C=Math.abs(i.current),S=Math.abs(s.current);(C>E*sO||S>uO)&&a?(y.style.transition="",a.close()):x(y),i.current=0,s.current=0},[d,a,x]),g=(0,Re.useCallback)(v=>{if(!o.current)return;let y=l.current;o.current=!1,l.current=!1,i.current=0,s.current=0;let E=r.current;if(E){try{E.releasePointerCapture(v.pointerId)}catch{}y&&x(E)}},[x]),$=(0,Re.useCallback)(v=>{v.target===v.currentTarget&&g(v)},[g]);return{dialogRef:r,dragHandlers:t?{onLostPointerCapture:$,onPointerCancel:g,onPointerDown:m,onPointerMove:p,onPointerUp:h}:{}}}var yr=(0,Re.createContext)({}),u0=({children:e,state:t,...a})=>{let r=(0,Re.useMemo)(()=>({slots:Xc(),placement:void 0,isDismissable:!0}),[]),o=(0,Re.useMemo)(()=>t?{isOpen:t.isOpen,onOpenChange:t.setOpen}:{},[t]);return(0,ma.jsx)(yr,{value:r,children:(0,ma.jsx)(G$,{"data-slot":"drawer-root",...O(a,o),children:e})})};u0.displayName="HeroUI.Drawer";var rv=({children:e,className:t,...a})=>{let{slots:r}=(0,Re.use)(yr);return(0,ma.jsx)(yl,{className:ye(t,r?.trigger()),"data-slot":"drawer-trigger",...a,children:e})};rv.displayName="HeroUI.Drawer.Trigger";var ov=({children:e,className:t,isDismissable:a=!0,variant:r,...o})=>{let{slots:l}=(0,Re.use)(yr),n=(0,Re.useMemo)(()=>Xc({variant:r}),[r]),i=(0,Re.useMemo)(()=>({slots:{...l,...n},isDismissable:a}),[l,n,a]);return(0,ma.jsx)(Sm,{className:ye(t,n?.backdrop()),"data-slot":"drawer-backdrop",isDismissable:a,...o,children:s=>(0,ma.jsx)(yr,{value:i,children:typeof e=="function"?e(s):e})})};ov.displayName="HeroUI.Drawer.Backdrop";var lv=({children:e,className:t,placement:a="bottom",...r})=>{let{isDismissable:o,slots:l}=(0,Re.use)(yr),n=(0,Re.useMemo)(()=>Xc({placement:a}),[a]),i=(0,Re.useMemo)(()=>({placement:a,isDismissable:o,slots:{...l,...n}}),[l,a,o,n]);return(0,ma.jsx)(X$,{className:ye(t,n?.content()),"data-placement":a,"data-slot":"drawer-content",...r,children:s=>(0,ma.jsx)(yr,{value:i,children:typeof e=="function"?e(s):e})})};lv.displayName="HeroUI.Drawer.Content";var nv=({children:e,className:t,style:a,...r})=>{let{isDismissable:o=!0,placement:l,slots:n}=(0,Re.use)(yr),{dialogRef:i,dragHandlers:s}=cO(l,o);return(0,ma.jsx)(Si,{value:nO,children:(0,ma.jsx)(q$,{ref:i,className:ve(n?.dialog,t),"data-placement":l,"data-slot":"drawer-dialog",...s,...r,style:o?{touchAction:"none",...a}:a,children:e})})};nv.displayName="HeroUI.Drawer.Dialog";var iv=({children:e,className:t,...a})=>{let{slots:r}=(0,Re.use)(yr);return(0,ma.jsx)(Ee.div,{className:ve(r?.header,t),"data-slot":"drawer-header",...a,children:e})};iv.displayName="HeroUI.Drawer.Header";var sv=({children:e,className:t,...a})=>{let{slots:r}=(0,Re.use)(yr);return(0,ma.jsx)(Ee.div,{className:ve(r?.body,t),"data-slot":"drawer-body",style:{touchAction:"pan-y"},...a,children:e})};sv.displayName="HeroUI.Drawer.Body";var uv=({children:e,className:t,...a})=>{let{slots:r}=(0,Re.use)(yr);return(0,ma.jsx)(Ee.div,{className:ve(r?.footer,t),"data-slot":"drawer-footer",...a,children:e})};uv.displayName="HeroUI.Drawer.Footer";var cv=({children:e,className:t,...a})=>{let{slots:r}=(0,Re.use)(yr);return(0,ma.jsx)(qg,{className:ve(r?.heading,t),"data-slot":"drawer-heading",slot:"title",...a,children:e})};cv.displayName="HeroUI.Drawer.Heading";var dv=({className:e,...t})=>{let{slots:a}=(0,Re.use)(yr);return(0,ma.jsx)(Ee.div,{"aria-hidden":"true",className:ve(a?.handle,e),"data-slot":"drawer-handle",...t,children:(0,ma.jsx)("div",{"data-slot":"drawer-handle-bar"})})};dv.displayName="HeroUI.Drawer.Handle";var fv=({className:e,...t})=>{let{slots:a}=(0,Re.use)(yr);return(0,ma.jsx)(Em,{className:ye(e,a?.closeTrigger()),"data-slot":"drawer-close-trigger",slot:"close",...t})};fv.displayName="HeroUI.Drawer.CloseTrigger";var Rl=Object.assign(u0,{Root:u0,Trigger:rv,Backdrop:ov,Content:lv,Dialog:nv,Header:iv,Heading:cv,Body:sv,Footer:uv,Handle:dv,CloseTrigger:fv});var Gw=T(R(),1);var qw=T(me(),1),c0=({children:e,className:t,...a})=>{let r=(0,Gw.useMemo)(()=>$g({className:t}),[t]);return(0,qw.jsx)(Ee.div,{className:r,"data-slot":"empty-state",...a,children:e||"No results found"})};c0.displayName="HeroUI.EmptyState";var pv=Object.assign(c0,{Root:c0});var Yw=T(R(),1);var Ww=T(me(),1),d0=({children:e,className:t,isDisabled:a,isInvalid:r,isRequired:o,...l})=>{let n=(0,Yw.useMemo)(()=>xg({className:t,isDisabled:a,isInvalid:r,isRequired:o}),[t,a,r,o]);return(0,Ww.jsx)(Bg,{className:n,"data-slot":"label",...l,children:e})};d0.displayName="HeroUI.Label";var mv=Object.assign(d0,{Root:d0});var Eu=T(R(),1);var wu=T(me(),1);var Xw=(0,Eu.createContext)({}),f0=({children:e,className:t,variant:a,...r})=>{let o=Eu.default.useMemo(()=>yg({variant:a}),[a]);return(0,wu.jsx)(_x,{className:ye(t,o.item()),"data-slot":"list-box-item",...r,children:l=>(0,wu.jsx)(Xw,{value:{slots:o,state:l},children:typeof e=="function"?e(l):e})})};f0.displayName="HeroUI.ListBoxItem";var Gd=({children:e,className:t,...a})=>{let{slots:r,state:o}=(0,Eu.use)(Xw),l=o?.isSelected,n=typeof e=="function"?e(o??{}):e||(0,wu.jsx)("svg",{"aria-hidden":"true","data-slot":"list-box-item-indicator--checkmark",fill:"none",role:"presentation",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:l?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 17 18",children:(0,wu.jsx)("polyline",{points:"1 9 7 14 15 4"})});return(0,wu.jsx)(Ee.span,{"aria-hidden":"true",className:ve(r?.indicator,t),"data-slot":"list-box-item-indicator","data-visible":l||void 0,...a,children:n})};Gd.displayName="HeroUI.ListBoxItem.Indicator";var Zw=Object.assign(f0,{Root:f0,Indicator:Gd});var Qw=T(R(),1);var Jw=T(me(),1),bv=({children:e,className:t,...a})=>{let r=Qw.default.useMemo(()=>Cg({class:typeof t=="string"?t:void 0}),[t]);return(0,Jw.jsx)(Vx,{className:r,...a,children:e})};bv.displayName="HeroUI.ListBoxSection";var eE=bv;var tE=T(R(),1);var aE=T(me(),1);function p0({className:e,variant:t,...a}){let r=tE.default.useMemo(()=>Sg({variant:t}),[t]);return(0,aE.jsx)(Kx,{className:ye(e,r),"data-slot":"list-box",...a})}p0.displayName="HeroUI.ListBox";var wn=Object.assign(p0,{Root:p0,Item:Zw,ItemIndicator:Gd,Section:eE});var Tu=T(R(),1);var m0=T(R(),1),rE=globalThis?.document?m0.useLayoutEffect:m0.useEffect;var Al=T(R(),1),oE=e=>{let{containerRef:t,isEnabled:a,offset:r,onVisibilityChange:o,orientation:l,visibility:n}=e,i=(0,Al.useRef)(o);(0,Al.useEffect)(()=>{i.current=o},[o]);let s=(0,Al.useRef)(null),u=(0,Al.useRef)(null),c=(0,Al.useCallback)(()=>{let d=t.current;if(!d)return;let f=l==="vertical",b=f?d.scrollTop:Math.abs(d.scrollLeft),m=f?d.scrollHeight:d.scrollWidth,p=f?d.clientHeight:d.clientWidth,x=b>r,h=b+p+r<m-1,g=s.current;g&&g.hasScrollBefore===x&&g.hasScrollAfter===h||(s.current={hasScrollBefore:x,hasScrollAfter:h},u.current!==null&&cancelAnimationFrame(u.current),u.current=requestAnimationFrame(()=>{u.current=null;let $=i.current;f?x&&h?(d.dataset.topBottomScroll="true",delete d.dataset.topScroll,delete d.dataset.bottomScroll,$?.("both")):(d.dataset.topScroll=String(x),d.dataset.bottomScroll=String(h),delete d.dataset.topBottomScroll,$&&$(x?"top":h?"bottom":"none")):x&&h?(d.dataset.leftRightScroll="true",delete d.dataset.leftScroll,delete d.dataset.rightScroll,$?.("both")):(d.dataset.leftScroll=String(x),d.dataset.rightScroll=String(h),delete d.dataset.leftRightScroll,$&&$(x?"left":h?"right":"none"))}))},[t,l,r]);(0,Al.useEffect)(()=>{let d=t.current;if(!d||!a||n!=="auto")return;c(),d.addEventListener("scroll",c,{passive:!0});let f=new ResizeObserver(c);f.observe(d);let b=new MutationObserver(c);return b.observe(d,{attributeFilter:["class","style"],attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>{d.removeEventListener("scroll",c),f.disconnect(),b.disconnect(),u.current!==null&&(cancelAnimationFrame(u.current),u.current=null),s.current=null}},[t,n,a,c])};var lE=T(me(),1),b0=({children:e,className:t,hideScrollBar:a=!1,isEnabled:r=!0,offset:o=0,onVisibilityChange:l,orientation:n="vertical",ref:i,size:s=40,style:u,variant:c="fade",visibility:d="auto",...f})=>{let b=(0,Tu.useRef)(null);oE({containerRef:b,isEnabled:r,offset:o,onVisibilityChange:l,orientation:n,visibility:d}),rE(()=>{let g=b.current;!g||d==="auto"&&r||(delete g.dataset.topScroll,delete g.dataset.bottomScroll,delete g.dataset.topBottomScroll,delete g.dataset.leftScroll,delete g.dataset.rightScroll,delete g.dataset.leftRightScroll,d!=="auto"&&(d==="both"?g.dataset[n==="vertical"?"topBottomScroll":"leftRightScroll"]="true":d!=="none"&&(g.dataset[`${d}Scroll`]="true")))},[d,n,r]);let m=(0,Tu.useMemo)(()=>wg({hideScrollBar:a,orientation:n,variant:c}),[n,a,c]),p=(0,Tu.useMemo)(()=>m.base({className:t}),[t,m]),x={"--scroll-shadow-size":`${s}px`,"--scroll-shadow-offset":`${o}px`,...u},h=(0,Tu.useMemo)(()=>Yt(b,i),[b,i]);return(0,lE.jsx)("div",{ref:h,className:p,"data-orientation":n,"data-scroll-shadow-mode":r&&d==="auto"?"auto":"manual","data-scroll-shadow-size":s,"data-slot":"scroll-shadow",style:x,...f,children:e})};b0.displayName="HeroUI.ScrollShadow";var nE=Object.assign(b0,{Root:b0});var Wr=T(R(),1);var Hi=T(me(),1),qd=(0,Wr.createContext)({}),h0=({children:e,className:t,fullWidth:a,variant:r,...o})=>{let l=Wr.default.useMemo(()=>Eg({fullWidth:a,variant:r}),[a,r]),n=Wr.default.useMemo(()=>({slots:l}),[l]);return(0,Hi.jsx)(qd,{value:n,children:(0,Hi.jsx)(k4,{"data-slot":"search-field",...o,className:ye(t,l?.base()),children:e})})};h0.displayName="HeroUI.SearchField";var hv=({children:e,className:t,...a})=>{let{slots:r}=(0,Wr.use)(qd);return(0,Hi.jsx)(Dd,{className:ye(t,r?.group()),"data-slot":"search-field-group",...a,children:e})};hv.displayName="HeroUI.SearchField.Group";var gv=({className:e,...t})=>{let{slots:a}=(0,Wr.use)(qd);return(0,Hi.jsx)(c2,{className:ye(e,a?.input()),"data-slot":"search-field-input",...t})};gv.displayName="HeroUI.SearchField.Input";var $v=({children:e,className:t,...a})=>{let{slots:r}=(0,Wr.use)(qd);return e&&Wr.default.isValidElement(e)?Wr.default.cloneElement(e,{...a,className:ve(r?.searchIcon,t),"data-slot":"search-field-search-icon"}):(0,Hi.jsx)(cC,{className:ve(r?.searchIcon,t),"data-slot":"search-field-search-icon",...a})};$v.displayName="HeroUI.SearchField.SearchIcon";var xv=({className:e,...t})=>{let{slots:a}=(0,Wr.use)(qd);return(0,Hi.jsx)(Em,{className:ye(e,a?.clearButton()),"data-slot":"search-field-clear-button",slot:"clear",...t})};xv.displayName="HeroUI.SearchField.ClearButton";var ji=Object.assign(h0,{Root:h0,Group:hv,Input:gv,SearchIcon:$v,ClearButton:xv});var Nt=T(R(),1);var Xr=T(me(),1);var Du=(0,Nt.createContext)({}),iE=(0,Nt.createContext)({}),sE=e=>(e?.selectionManager.selectedKeys.size??0)===0,uE=(e,t)=>{e?.selectionManager.setSelectedKeys(new Set),t?.()},g0=({children:e,className:t,fullWidth:a,isDisabled:r,onClear:o,variant:l,...n})=>{let i=Nt.default.useMemo(()=>Tg({fullWidth:a,variant:l}),[a,l]),s=Nt.default.useRef(0),u=Nt.default.useCallback(()=>(s.current+=1,()=>{s.current-=1}),[]),c=Nt.default.useCallback(()=>s.current>0,[]),d=Nt.default.useMemo(()=>({hasClearButton:c,isDisabled:r,onClear:o,registerClearButton:u,slots:i}),[c,r,o,u,i]);return(0,Xr.jsx)(tw,{children:(0,Xr.jsx)(Du,{value:d,children:(0,Xr.jsx)(qx,{"data-slot":"select",...n,className:ye(t,i?.base()),isDisabled:r,children:e})})})};g0.displayName="HeroUI.Select";var vv=({children:e,className:t,onKeyDown:a,...r})=>{let{hasClearButton:o,onClear:l,slots:n}=(0,Nt.use)(Du),i=(0,Nt.use)(Bi),s=u=>{a?.(u);let c=u.key==="Backspace"||u.key==="Delete",d=!!o?.()&&!sE(i);if(!c||!d||i?.isOpen){u.continuePropagation();return}u.preventDefault(),uE(i,l)};return(0,Xr.jsx)(yl,{className:ye(t,n?.trigger()),"data-slot":"select-trigger",...r,onKeyDown:s,children:u=>(0,Xr.jsx)(iE,{value:{isDisabled:u.isDisabled},children:typeof e=="function"?e(u):e})})};vv.displayName="HeroUI.Select.Trigger";var yv=({children:e,className:t,...a})=>{let{slots:r}=(0,Nt.use)(Du);return(0,Xr.jsx)(Wx,{className:ye(t,r?.value()),"data-slot":"select-value",...a,children:e})};yv.displayName="HeroUI.Select.Value";var Cv=({children:e,className:t,...a})=>{let{slots:r}=(0,Nt.use)(Du),o=(0,Nt.use)(Bi);return e&&Nt.default.isValidElement(e)?Nt.default.cloneElement(e,{...a,className:ve(r?.indicator,t),"data-slot":"select-indicator","data-open":Gs(o?.isOpen)}):(0,Xr.jsx)(Qp,{className:ve(r?.indicator,t),"data-open":Gs(o?.isOpen),"data-slot":"select-default-indicator",...a})};Cv.displayName="HeroUI.Select.Indicator";var Sv=({children:e,className:t,onClick:a,onPointerDown:r,...o})=>{let{isDisabled:l,onClear:n,registerClearButton:i,slots:s}=(0,Nt.use)(Du),{isDisabled:u}=(0,Nt.use)(iE),c=(0,Nt.use)(Bi),d=u??l??!1,f=sE(c);Nt.default.useEffect(()=>i?.(),[i]);let b=p=>{p.stopPropagation(),r?.(p)},m=p=>{p.preventDefault(),p.stopPropagation(),!d&&!f&&uE(c,n),a?.(p)};return(0,Xr.jsx)(Ee.span,{"aria-hidden":!0,className:s?.clearButton({className:t}),"data-empty":Gs(f),"data-slot":"select-clear-button",...o,onClick:m,onPointerDown:b,children:e??(0,Xr.jsx)(em,{"data-slot":"select-clear-button-icon"})})};Sv.displayName="HeroUI.Select.ClearButton";var wv=({children:e,className:t,defaultOpen:a,isExiting:r,isOpen:o,placement:l="bottom",ref:n,...i})=>{let{slots:s}=(0,Nt.use)(Du),{isExiting:u,ref:c}=rw({...i,defaultOpen:a,isOpen:o},{ref:n});return(0,Xr.jsx)(Si,{value:{variant:"default"},children:(0,Xr.jsx)(Y1,{...i,ref:c,className:ye(t,s?.popover()),"data-slot":"select-popover",defaultOpen:a,isExiting:u||r,isOpen:o,placement:l,children:e})})};wv.displayName="HeroUI.Select.Popover";var Zr=Object.assign(g0,{Root:g0,Trigger:vv,Value:yv,Indicator:Cv,ClearButton:Sv,Popover:wv});var $0=T(R(),1);var Ra=T(me(),1),dO=({...e})=>{let t=(0,$0.useId)();return(0,Ra.jsxs)("svg",{"data-slot":"spinner-icon",viewBox:"0 0 24 24",...e,children:[(0,Ra.jsxs)("defs",{children:[(0,Ra.jsxs)("linearGradient",{id:`\\xABdata-slot-icon-def-1\\xBB-${t}`,x1:"50%",x2:"50%",y1:"5.271%",y2:"91.793%",children:[(0,Ra.jsx)("stop",{offset:"0%",stopColor:"currentColor"}),(0,Ra.jsx)("stop",{offset:"100%",stopColor:"currentColor",stopOpacity:.55})]}),(0,Ra.jsxs)("linearGradient",{id:`\\xABdata-slot-icon-def-2\\xBB-${t}`,x1:"50%",x2:"50%",y1:"15.24%",y2:"87.15%",children:[(0,Ra.jsx)("stop",{offset:"0%",stopColor:"currentColor",stopOpacity:0}),(0,Ra.jsx)("stop",{offset:"100%",stopColor:"currentColor",stopOpacity:.55})]})]}),(0,Ra.jsxs)("g",{fill:"none",children:[(0,Ra.jsx)("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),(0,Ra.jsx)("path",{d:"M8.749.021a1.5 1.5 0 0 1 .497 2.958A7.5 7.5 0 0 0 3 10.375a7.5 7.5 0 0 0 7.5 7.5v3c-5.799 0-10.5-4.7-10.5-10.5C0 5.23 3.726.865 8.749.021",fill:`url(#\\xABdata-slot-icon-def-1\\xBB-${t})`,transform:"translate(1.5 1.625)"}),(0,Ra.jsx)("path",{d:"M15.392 2.673a1.5 1.5 0 0 1 2.119-.115A10.48 10.48 0 0 1 21 10.375c0 5.8-4.701 10.5-10.5 10.5v-3a7.5 7.5 0 0 0 5.007-13.084a1.5 1.5 0 0 1-.115-2.118",fill:`url(#\\xABdata-slot-icon-def-2\\xBB-${t})`,transform:"translate(1.5 1.625)"})]})]})},x0=({className:e,color:t,size:a,...r})=>{let o=(0,$0.useMemo)(()=>Dg({className:e,color:t,size:a}),[e,t,a]);return(0,Ra.jsx)(Ee.span,{"aria-label":"Loading","data-slot":"spinner",role:"status",...r,className:o,children:(0,Ra.jsx)(dO,{"aria-hidden":!0})})};x0.displayName="HeroUI.Spinner";var Ev=Object.assign(x0,{Root:x0});var Nl=T(R(),1);var En=T(me(),1),fO={elementType:"span"},Yd=(0,Nl.createContext)({}),v0=({children:e,className:t,size:a,...r})=>{let o=Nl.default.useMemo(()=>Rg({size:a}),[a]);return(0,En.jsx)(A4,{"data-slot":"switch",...r,className:ye(t,o.base()),children:l=>(0,En.jsx)(Yd,{value:{slots:o,state:l},children:typeof e=="function"?e(l):e})})};v0.displayName="HeroUI.Switch";var Tv=({children:e,className:t,...a})=>{let{slots:r}=(0,Nl.use)(Yd);return(0,En.jsx)(N4,{"data-slot":"switch-content",...a,className:ye(t,r?.content()),children:o=>(0,En.jsx)(bl,{value:fO,children:typeof e=="function"?e(o):e})})};Tv.displayName="HeroUI.Switch.Content";var Dv=({children:e,className:t,...a})=>{let{slots:r}=(0,Nl.use)(Yd);return(0,En.jsx)(Ee.span,{className:ve(r?.control,t),"data-slot":"switch-control",...a,children:e})};Dv.displayName="HeroUI.Switch.Control";var kv=({children:e,className:t,...a})=>{let{slots:r}=(0,Nl.use)(Yd);return(0,En.jsx)(Ee.span,{className:ve(r?.thumb,t),"data-slot":"switch-thumb",...a,children:e})};kv.displayName="HeroUI.Switch.Thumb";var Rv=({children:e,className:t,...a})=>{let{slots:r}=(0,Nl.use)(Yd);return(0,En.jsx)(Ee.span,{className:ve(r?.icon,t),"data-slot":"switch-icon",...a,children:e})};Rv.displayName="HeroUI.Switch.Icon";var ku=Object.assign(v0,{Root:v0,Content:Tv,Control:Dv,Thumb:kv,Icon:Rv});var Ui=T(R(),1);var Wd=T(me(),1);var y0=(0,Ui.createContext)({});var C0=({children:e,className:t,fullWidth:a,isDetached:r=!1,isDisabled:o,orientation:l,render:n,size:i,...s})=>{let u=Ot(bu,s.slot),c=n??u?.render,d=l??u?.orientation??"horizontal",f=Ui.default.useMemo(()=>Mg({fullWidth:a,isDetached:r,orientation:d}),[a,r,d]),b=Ui.default.useMemo(()=>({slots:f,size:i,isDisabled:o}),[f,i,o]);return(0,Wd.jsx)(y0,{value:b,children:(0,Wd.jsx)(t2,{className:ye(t,f.base()),"data-slot":"toggle-button-group",isDisabled:o,orientation:d,...s,render:(m,p)=>{if(c)return c(m,p);let x={...m,"aria-orientation":m.role==="group"?void 0:m["aria-orientation"]};return(0,Wd.jsx)("div",{...x})},children:e})})};C0.displayName="HeroUI.ToggleButtonGroup";var Av=({className:e,...t})=>{let{slots:a}=(0,Ui.use)(y0);return(0,Wd.jsx)(Ee.span,{"aria-hidden":"true",className:ve(a?.separator,e),"data-slot":"toggle-button-group-separator",...t})};Av.displayName="HeroUI.ToggleButtonGroup.Separator";var ba=T(R(),1);var Vt=T(me(),1);var Ru=(0,ba.createContext)({}),cE=jw("tabs.listContainer"),S0=({align:e,children:t,className:a,orientation:r="horizontal",variant:o,...l})=>{let[n,i]=ba.default.useState(!1);ba.default.useEffect(()=>{let c=requestAnimationFrame(()=>i(!0));return()=>cancelAnimationFrame(c)},[]);let s=ba.default.useMemo(()=>Ng({align:e,variant:o}),[e,o]),u=ba.default.useMemo(()=>({isIndicatorReady:n,orientation:r,slots:s}),[n,r,s]);return(0,Vt.jsx)(Ru,{value:u,children:(0,Vt.jsx)(J3,{...l,className:ye(a,s.base()),"data-slot":"tabs",orientation:r,children:t})})};S0.displayName="HeroUI.Tabs";var Nv=({children:e,className:t,render:a,...r})=>(0,Vt.jsx)(cE.Injector,{...r,className:t,render:a,children:e});Nv.displayName="HeroUI.Tabs.ListContainer";var Mv=({children:e,className:t,...a})=>{let{orientation:r="horizontal",slots:o}=(0,ba.use)(Ru),l=(0,ba.useRef)(null),n=r==="vertical",[i,s]=cE.useSlot(a),u=ye(t,o?.tabList()),c=(0,ba.useCallback)(m=>{let p=l.current;if(!p)return;let x=n?p.clientHeight:p.clientWidth,h=n?p.scrollHeight:p.scrollWidth,g=Math.max(0,h-x),$=!n&&getComputedStyle(p).direction==="rtl",v=m*x*.8*($?-1:1),y=n?p.scrollTop:p.scrollLeft,E=Math.min($?0:g,Math.max($?-g:0,y+v));E!==y&&p.scrollTo({behavior:"smooth",[n?"top":"left"]:E})},[n]);if(!i)return(0,Vt.jsx)(i0,{...s,className:u,"data-slot":"tabs-list",children:e});let{className:d,render:f,...b}=i;return(0,Vt.jsx)(i0,{...s,className:u,"data-slot":"tabs-list",render:m=>{let{children:p,className:x,ref:h,...g}=m;return(0,Vt.jsxs)(Ee.div,{className:ve(o?.tabListContainer,d),"data-slot":"tabs-list-container",render:f,...b,children:[(0,Vt.jsx)(nE,{ref:l,hideScrollBar:!0,className:ve(o?.scroller),orientation:r,size:64,children:(0,Vt.jsx)("div",{...g,ref:h,className:x,children:p})}),(0,Vt.jsx)("button",{"aria-label":n?"Scroll tabs up":"Scroll tabs left",className:ve(o?.scrollPrev),tabIndex:-1,type:"button",onClick:()=>c(-1),children:n?(0,Vt.jsx)(Jp,{}):(0,Vt.jsx)(oC,{})}),(0,Vt.jsx)("button",{"aria-label":n?"Scroll tabs down":"Scroll tabs right",className:ve(o?.scrollNext),tabIndex:-1,type:"button",onClick:()=>c(1),children:n?(0,Vt.jsx)(Qp,{}):(0,Vt.jsx)(lC,{})})]})},children:e})};Mv.displayName="HeroUI.Tabs.List";var Pv=({children:e,className:t,...a})=>{let{slots:r}=(0,ba.use)(Ru);return(0,Vt.jsx)(ev,{...a,className:ye(t,r?.tab()),"data-slot":"tabs-tab",children:e})};Pv.displayName="HeroUI.Tabs.Tab";var Lv=({className:e,...t})=>{let{isIndicatorReady:a=!1,slots:r}=(0,ba.use)(Ru);return(0,Vt.jsx)(t$,{className:ve(r?.tabIndicator,e),"data-animation-ready":a,"data-slot":"tabs-indicator",...t})};Lv.displayName="HeroUI.Tabs.Indicator";var Bv=({children:e,className:t,...a})=>{let{slots:r}=(0,ba.use)(Ru);return(0,Vt.jsx)(tv,{...a,className:ye(t,r?.tabPanel()),"data-slot":"tabs-panel",children:e})};Bv.displayName="HeroUI.Tabs.Panel";var zv=({className:e,...t})=>{let{slots:a}=(0,ba.use)(Ru);return(0,Vt.jsx)(Ee.span,{"aria-hidden":"true",className:ve(a?.separator,e),"data-slot":"tabs-separator",...t})};zv.displayName="HeroUI.Tabs.Separator";var _t=T(R(),1);var ua=T(me(),1),Cr=(0,_t.createContext)({}),w0=({children:e,className:t,variant:a,...r})=>{let o=_t.default.useMemo(()=>Ag({variant:a}),[a]),l=_t.default.useMemo(()=>({slots:o}),[o]);return(0,ua.jsx)(Cr,{value:l,children:(0,ua.jsx)(Ee.div,{className:o.base({className:t}),"data-slot":"table",...r,children:e})})};w0.displayName="HeroUI.Table";var Ov=({className:e,...t})=>{let{slots:a}=(0,_t.use)(Cr);return(0,ua.jsx)(Ee.div,{className:ve(a?.scrollContainer,e),"data-slot":"table-scroll-container",...t})};Ov.displayName="HeroUI.Table.ScrollContainer";function Iv({className:e,keyboardNavigationBehavior:t="tab",...a}){let{slots:r}=(0,_t.use)(Cr);return(0,ua.jsx)(F3,{className:ye(e,r?.content()),"data-slot":"table-content",keyboardNavigationBehavior:t,...a})}Iv.displayName="HeroUI.Table.Content";function Fv({className:e,...t}){let{slots:a}=(0,_t.use)(Cr);return(0,ua.jsx)(K3,{className:ye(e,a?.header()),"data-slot":"table-header",...t})}Fv.displayName="HeroUI.Table.Header";var Kv=({className:e,ref:t,...a})=>{let{slots:r}=(0,_t.use)(Cr);return(0,ua.jsx)(V3,{ref:t,className:ye(e,r?.column()),"data-slot":"table-column",...a})};Kv.displayName="HeroUI.Table.Column";function Vv({className:e,...t}){let{slots:a}=(0,_t.use)(Cr);return(0,ua.jsx)(H3,{className:ye(e,a?.body()),"data-slot":"table-body",...t})}Vv.displayName="HeroUI.Table.Body";function _v({className:e,...t}){let{slots:a}=(0,_t.use)(Cr);return(0,ua.jsx)(j3,{className:ye(e,a?.row()),"data-slot":"table-row",...t})}_v.displayName="HeroUI.Table.Row";var Hv=({className:e,ref:t,...a})=>{let{slots:r}=(0,_t.use)(Cr);return(0,ua.jsx)(U3,{ref:t,className:ye(e,r?.cell()),"data-slot":"table-cell",...a})};Hv.displayName="HeroUI.Table.Cell";var jv=({className:e,...t})=>{let{slots:a}=(0,_t.use)(Cr);return(0,ua.jsx)(Ee.div,{className:ve(a?.footer,e),"data-slot":"table-footer",...t})};jv.displayName="HeroUI.Table.Footer";var Uv=({className:e,ref:t,...a})=>(0,ua.jsx)(I3,{ref:t,className:Wc("table__resizable-container",e),"data-slot":"table-resizable-container",...a});Uv.displayName="HeroUI.Table.ResizableContainer";var Gv=({className:e,ref:t,...a})=>{let{slots:r}=(0,_t.use)(Cr);return(0,ua.jsx)(_3,{ref:t,className:ye(e,r?.columnResizer()),"data-slot":"table-column-resizer",...a})};Gv.displayName="HeroUI.Table.ColumnResizer";var qv=({className:e,ref:t,...a})=>{let{slots:r}=(0,_t.use)(Cr);return(0,ua.jsx)(G3,{ref:t,className:ve(r?.loadMore,e),"data-slot":"table-load-more",...a})};qv.displayName="HeroUI.Table.LoadMore";var Yv=({className:e,...t})=>{let{slots:a}=(0,_t.use)(Cr);return(0,ua.jsx)(Ee.div,{className:ve(a?.loadMoreContent,e),"data-slot":"table-load-more-content",...t})};Yv.displayName="HeroUI.Table.LoadMoreContent";var Wv=({children:e,className:t,indicator:a,ref:r,showIndicator:o=!0,sortDirection:l,...n})=>{let{slots:i}=(0,_t.use)(Cr),s=o&&!!l,u=null;if(s)if(a===void 0)u=(0,ua.jsx)(Jp,{className:i?.sortableColumnIndicator(),"data-direction":l,"data-slot":"table-sortable-column-indicator"});else if(_t.default.isValidElement(a)){let c=a;u=_t.default.cloneElement(c,{className:ve(i?.sortableColumnIndicator,c.props.className),"data-direction":l,"data-slot":"table-sortable-column-indicator"})}else u=a;return(0,ua.jsxs)("span",{ref:r,className:ve(i?.sortableColumnHeader,t),"data-direction":l,"data-slot":"table-sortable-column-header",...n,children:[e,u]})};Wv.displayName="HeroUI.Table.SortableColumnHeader";var dE=gr;var Mt=Object.assign(w0,{Body:Vv,Cell:Hv,Collection:dE,Column:Kv,ColumnResizer:Gv,Content:Iv,Footer:jv,Header:Fv,LoadMore:qv,LoadMoreContent:Yv,ResizableContainer:Uv,Root:w0,Row:_v,ScrollContainer:Ov,SortableColumnHeader:Wv});var Qr=Object.assign(S0,{Root:S0,ListContainer:Nv,List:Mv,Tab:Pv,Indicator:Lv,Separator:zv,Panel:Bv});var E0=T(R(),1);var fE=T(me(),1);var T0=({children:e,className:t,isIconOnly:a,size:r,style:o,variant:l,...n})=>{let i=(0,E0.use)(y0),s=r??i?.size,u=(0,E0.useMemo)(()=>Pg({isIconOnly:a,size:s,variant:l}),[s,a,l]),c=ye(t,u);return(0,fE.jsx)(a2,{className:c,"data-slot":"toggle-button",style:o,...n,children:e})};T0.displayName="HeroUI.ToggleButton";var Tn=Object.assign(T0,{Root:T0});var Au=Object.assign(C0,{Root:C0,Separator:Av});var pE=T(R(),1),pO=()=>()=>{},mO=()=>!0,bO=()=>!1;function Xd(){return pE.useSyncExternalStore(pO,mO,bO)}var yo=T(me(),1);function hO({size:e=24,className:t}){return(0,yo.jsx)("span",{"aria-hidden":"true",className:`inline-grid shrink-0 place-items-center leading-none ${t??""}`.trim(),style:{width:e,height:e,fontSize:e,fontFamily:X7},children:Nh.icon})}function mE({product:e,href:t,size:a=24,className:r}){let o=e?(0,yo.jsx)("span",{className:"truncate font-semibold tracking-tight text-foreground",children:e}):(0,yo.jsxs)(yo.Fragment,{children:[(0,yo.jsx)(hO,{size:a}),(0,yo.jsx)("span",{className:"font-semibold tracking-tight text-foreground",children:Nh.name})]});return(0,yo.jsx)("span",{className:`inline-flex min-w-0 items-center gap-2 text-base ${r??""}`.trim(),"data-mockingbird-brand":!0,children:t?(0,yo.jsx)("a",{href:t,className:"inline-flex min-w-0 items-center gap-2 rounded-sm no-underline outline-none focus-visible:ring-2 focus-visible:ring-focus",children:o}):o})}var gO="mx-auto w-full max-w-[1536px]";function D0({children:e,product:t,brandHref:a,nav:r,actions:o,footer:l,mainProps:n}){let i=gO;return(0,Jr.jsxs)("div",{className:"flex min-h-[var(--mb-app-height,100dvh)] flex-col bg-background text-foreground","data-mockingbird-shell":!0,children:[(0,Jr.jsx)("header",{className:"sticky top-0 z-40 border-b border-separator bg-background/90 backdrop-blur",children:(0,Jr.jsxs)("div",{className:`${i} flex flex-wrap items-center gap-x-6 gap-y-0 px-4 sm:px-6 min-h-14`,children:[(0,Jr.jsx)(mE,{product:t,...a?{href:a}:{},className:"py-3"}),r&&r.length>0?(0,Jr.jsx)("nav",{"aria-label":"Primary",className:"order-last -mx-4 flex w-[calc(100%+2rem)] items-center gap-1 overflow-x-auto px-3 pb-2 md:order-none md:mx-0 md:w-auto md:overflow-visible md:p-0",children:r.map(s=>(0,Jr.jsxs)(Fd,{href:s.href,...s.current?{"aria-current":"page"}:{},className:`inline-flex shrink-0 items-center gap-1.5 rounded-md px-2.5 py-1.5 text-sm font-medium no-underline transition-colors hover:bg-default hover:text-foreground ${s.current?"bg-default text-foreground":"text-muted"}`,children:[s.icon,s.label]},s.href))}):null,o?(0,Jr.jsx)("div",{className:"ml-auto flex items-center gap-2 py-2",children:o}):null]})}),(0,Jr.jsx)("main",{...n,className:`${i} flex-1 px-4 py-6 sm:px-6 ${n?.className??""}`.trim(),children:e}),l?(0,Jr.jsx)("footer",{className:"border-t border-separator",children:(0,Jr.jsx)("div",{className:`${i} px-4 py-4 text-sm text-muted sm:px-6`,children:l})}):null]})}var eo=T(me(),1);var Xv=T(R(),1),$O=e=>Xv.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Xv.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 1.5A.75.75 0 0 0 10 3h1.94L6.97 7.97a.75.75 0 0 0 1.06 1.06L13 4.06V6a.75.75 0 0 0 1.5 0V2.25a.75.75 0 0 0-.75-.75zM7.5 3.25a.75.75 0 0 0-.75-.75H4.5a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h6a3 3 0 0 0 3-3V9.25a.75.75 0 0 0-1.5 0v2.25a1.5 1.5 0 0 1-1.5 1.5h-6A1.5 1.5 0 0 1 3 11.5v-6A1.5 1.5 0 0 1 4.5 4h2.25a.75.75 0 0 0 .75-.75",clipRule:"evenodd"})),Zv=$O;var Qv=T(R(),1),xO=e=>Qv.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Qv.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m4.665 7.822.62-3.096a2.77 2.77 0 0 1 5.43 0l.62 3.096a4.8 4.8 0 0 0 1.305 2.44l.194.193a.567.567 0 0 1-.273.953l-.821.19a16.6 16.6 0 0 1-7.48 0l-.82-.19a.567.567 0 0 1-.274-.953l.194-.193a4.77 4.77 0 0 0 1.305-2.44m-1.47-.294.619-3.096a4.27 4.27 0 0 1 8.372 0l.62 3.096c.126.634.438 1.216.895 1.673l.194.194a2.066 2.066 0 0 1-.997 3.475l-.821.19q-1.053.24-2.12.358a2 2 0 0 1-3.913 0 18 18 0 0 1-2.12-.359l-.822-.19a2.067 2.067 0 0 1-.997-3.474L2.3 9.2c.457-.457.769-1.04.895-1.673",clipRule:"evenodd"})),Jv=xO;var e5=T(R(),1),vO=e=>e5.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),e5.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.488 3.43a.75.75 0 0 1 .081 1.058l-6 7a.75.75 0 0 1-1.1.042l-3.5-3.5A.75.75 0 0 1 4.03 6.97l2.928 2.927 5.473-6.385a.75.75 0 0 1 1.057-.081",clipRule:"evenodd"})),t5=vO;var a5=T(R(),1),yO=e=>a5.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),a5.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2.5H8A1.5 1.5 0 0 0 6.5 4v1H8a3 3 0 0 1 3 3v1.5h1A1.5 1.5 0 0 0 13.5 8V4A1.5 1.5 0 0 0 12 2.5M11 11h1a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v1H4a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3zM4 6.5h4A1.5 1.5 0 0 1 9.5 8v4A1.5 1.5 0 0 1 8 13.5H4A1.5 1.5 0 0 1 2.5 12V8A1.5 1.5 0 0 1 4 6.5",clipRule:"evenodd"})),r5=yO;var o5=T(R(),1),CO=e=>o5.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o5.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 3H4a1.5 1.5 0 0 0-1.5 1.5v4A1.5 1.5 0 0 0 4 10h8a1.5 1.5 0 0 0 1.5-1.5v-4A1.5 1.5 0 0 0 12 3M4 1.5a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h3.25V13h-2.5a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-2.5v-1.5H12a3 3 0 0 0 3-3v-4a3 3 0 0 0-3-3z",clipRule:"evenodd"})),Zd=CO;var l5=T(R(),1),SO=e=>l5.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),l5.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.5 5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m3.25-2a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zm0 8.5a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zM5 8a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 5 8M3.75 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M2.5 13.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5",clipRule:"evenodd"})),n5=SO;var i5=T(R(),1),wO=e=>i5.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),i5.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 13.5a5.5 5.5 0 0 0 2.263-10.514 5.5 5.5 0 0 1-7.278 7.278A5.5 5.5 0 0 0 8 13.5M1.045 8.795a7.001 7.001 0 1 0 7.75-7.75l-.028-.003A7 7 0 0 0 8 1c-.527 0-.59.842-.185 1.18a4 4 0 0 1 .342.322A4 4 0 1 1 2.18 7.814C1.842 7.41 1 7.474 1 8a7 7 0 0 0 .045.794",clipRule:"evenodd"})),s5=wO;var u5=T(R(),1),EO=e=>u5.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),u5.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.5 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m1.405.75a3.001 3.001 0 0 1-5.81 0H1.747a.75.75 0 0 1 0-1.5h1.348a3.001 3.001 0 0 1 5.81 0h5.345a.75.75 0 0 1 0 1.5zm-7.158 4.5h5.345a3.001 3.001 0 0 1 5.811 0h1.347a.75.75 0 1 1 0 1.5h-1.347a3.001 3.001 0 0 1-5.81 0H1.746a.75.75 0 0 1 0-1.5m8.25-.75a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3",clipRule:"evenodd"})),c5=EO;var d5=T(R(),1),TO=e=>d5.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),d5.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 3a.75.75 0 0 1-.75-.75V.75a.75.75 0 0 1 1.5 0v1.5A.75.75 0 0 1 8 3m0 7.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8m-.75 3.25a.75.75 0 0 0 1.5 0v-1.5a.75.75 0 0 0-1.5 0zM13 8a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5A.75.75 0 0 1 13 8M.75 7.25a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5zm10.786-2.786a.75.75 0 0 1 0-1.06l1.06-1.06a.75.75 0 0 1 1.06 1.06l-1.06 1.06a.75.75 0 0 1-1.06 0m-9.193 8.132a.75.75 0 0 0 1.06 1.06l1.062-1.06a.75.75 0 0 0-1.061-1.06zm9.193-1.06a.75.75 0 0 1 1.06 0l1.06 1.06a.75.75 0 0 1-1.06 1.06l-1.06-1.06a.75.75 0 0 1 0-1.06M3.404 2.343a.75.75 0 0 0-1.06 1.06l1.06 1.061a.75.75 0 1 0 1.06-1.06z",clipRule:"evenodd"})),f5=TO;var Gi=T(R(),1),DO=e=>Gi.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Gi.createElement("g",{clipPath:"url(#a)"},Gi.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.06 9.94A1.5 1.5 0 0 0 4 9.5H2a.5.5 0 0 1-.5-.5V7a.5.5 0 0 1 .5-.5h2a1.5 1.5 0 0 0 1.06-.44l2.483-2.482a.268.268 0 0 1 .457.19v8.464a.268.268 0 0 1-.457.19zM2 5h2l2.482-2.482A1.768 1.768 0 0 1 9.5 3.768v8.464a1.768 1.768 0 0 1-3.018 1.25L4 11H2a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2m12.162 8.103c-.265.319-.743.316-1.036.024-.292-.293-.288-.766-.031-1.09A6.47 6.47 0 0 0 14.5 8a6.47 6.47 0 0 0-1.405-4.037c-.257-.324-.261-.797.031-1.09.293-.292.771-.294 1.036.024A7.97 7.97 0 0 1 16 8c0 1.94-.69 3.718-1.838 5.103m-2.138-2.135c-.246.333-.726.33-1.019.037s-.284-.764-.06-1.113A3.5 3.5 0 0 0 11.5 8c0-.697-.204-1.347-.555-1.892-.224-.348-.233-.82.06-1.113s.773-.296 1.02.037C12.637 5.862 13 6.89 13 8a4.98 4.98 0 0 1-.976 2.968",clipRule:"evenodd"})),Gi.createElement("defs",null,Gi.createElement("clipPath",{id:"a"},Gi.createElement("path",{fill:"currentColor",d:"M0 0h16v16H0z"})))),p5=DO;var m5=T(R(),1),kO=e=>m5.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),m5.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.06 9.94A1.5 1.5 0 0 0 4 9.5H2a.5.5 0 0 1-.5-.5V7a.5.5 0 0 1 .5-.5h2a1.5 1.5 0 0 0 1.06-.44l2.483-2.482a.268.268 0 0 1 .457.19v8.464a.268.268 0 0 1-.457.19zM2 5h2l2.482-2.482A1.768 1.768 0 0 1 9.5 3.768v8.464a1.768 1.768 0 0 1-3.018 1.25L4 11H2a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2m10.28.72a.75.75 0 1 0-1.06 1.06L12.44 8l-1.22 1.22a.75.75 0 1 0 1.06 1.06l1.22-1.22 1.22 1.22a.75.75 0 1 0 1.06-1.06L14.56 8l1.22-1.22a.75.75 0 0 0-1.06-1.06L13.5 6.94z",clipRule:"evenodd"})),b5=kO;var h5=T(R(),1),RO=e=>h5.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),h5.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06",clipRule:"evenodd"})),g5=RO;var k0=T(R(),1);function bE({code:e,label:t,language:a,copyable:r=!0,maxHeight:o,wrap:l=!1,copyLabel:n="Copy",actions:i}){let s=Xd(),[u,c]=(0,k0.useState)(!1);(0,k0.useEffect)(()=>{if(!u)return;let b=setTimeout(()=>c(!1),1500);return()=>clearTimeout(b)},[u]);let d=t??a,f=s&&r?(0,eo.jsx)(kl,{isIconOnly:!0,size:"sm",variant:"ghost","aria-label":u?"Copied":n,className:"size-7 min-w-7",onPress:()=>{navigator.clipboard?.writeText(e).then(()=>c(!0))},children:u?(0,eo.jsx)(t5,{className:"size-3.5"}):(0,eo.jsx)(r5,{className:"size-3.5"})}):null;return(0,eo.jsxs)("div",{className:"min-w-0 overflow-hidden rounded-lg border border-border bg-surface-secondary","data-mockingbird-code":!0,children:[d||f||i?(0,eo.jsxs)("div",{className:"flex min-h-9 items-center justify-between gap-2 border-b border-separator py-1 pr-1 pl-3",children:[(0,eo.jsx)("span",{className:"truncate font-mono text-xs text-muted",children:d}),(0,eo.jsxs)("span",{className:"flex shrink-0 items-center gap-1",children:[i,f]})]}):null,(0,eo.jsx)("pre",{className:`m-0 overflow-auto p-3 font-mono text-[13px] leading-relaxed text-foreground ${l?"break-words whitespace-pre-wrap":"whitespace-pre"}`,style:o?{maxHeight:o}:void 0,children:(0,eo.jsx)("code",{children:e})})]})}function $5({value:e,...t}){let a=e===void 0?"undefined":JSON.stringify(e,null,2)??String(e);return(0,eo.jsx)(bE,{...t,code:a,language:"json"})}var Nu=T(me(),1);function x5({items:e,className:t}){return(0,Nu.jsx)("dl",{className:`grid grid-cols-1 gap-x-6 text-sm sm:grid-cols-[minmax(8rem,max-content)_1fr] ${t??""}`.trim(),"data-mockingbird-key-values":!0,children:e.map((a,r)=>(0,Nu.jsxs)("div",{className:"grid grid-cols-subgrid border-b border-separator py-2 last:border-b-0 sm:col-span-2",children:[(0,Nu.jsx)("dt",{className:"text-muted",children:a.label}),(0,Nu.jsx)("dd",{className:`m-0 min-w-0 break-words text-foreground ${a.mono?"font-mono text-[13px]":""}`,children:a.value})]},a.id??(typeof a.label=="string"?a.label:r)))})}var Dn=T(me(),1);function v5({title:e,description:t,actions:a,eyebrow:r,level:o=1}){let l=o===1?"h1":"h2";return(0,Dn.jsxs)("div",{className:"mb-6 flex flex-wrap items-start justify-between gap-x-6 gap-y-3","data-mockingbird-page-header":!0,children:[(0,Dn.jsxs)("div",{className:"min-w-0 flex-1 basis-80",children:[r?(0,Dn.jsx)("div",{className:"mb-1 text-sm text-muted",children:r}):null,(0,Dn.jsx)(l,{className:`font-semibold tracking-tight text-foreground ${o===1?"text-2xl":"text-xl"}`,children:e}),t?(0,Dn.jsx)("p",{className:"mt-1 max-w-prose text-sm text-muted",children:t}):null]}),a?(0,Dn.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:a}):null]})}var R0=T(me(),1);function A0({children:e,theme:t="system",locale:a,navigate:r,className:o}){let l=(0,R0.jsx)("div",{"data-mockingbird":!0,...t==="system"?{}:{"data-theme":t},className:`bg-background font-sans text-foreground ${t==="system"?"":t} ${o??""}`.trim(),children:e});return r&&(l=(0,R0.jsx)(Lc,{navigate:r,children:l})),a&&(l=(0,R0.jsx)(Jc,{locale:a,children:l})),l}var Aa=T(me(),1);function y5({title:e,description:t,icon:a,action:r}){return(0,Aa.jsxs)(pv,{className:"flex flex-col items-center gap-2 px-4 py-12 text-center",children:[a?(0,Aa.jsx)("div",{className:"mb-1 text-muted [&_svg]:size-6",children:a}):null,(0,Aa.jsx)("p",{className:"text-base font-medium text-foreground",children:e}),t?(0,Aa.jsx)("p",{className:"max-w-md text-sm text-muted",children:t}):null,r?(0,Aa.jsx)("div",{className:"mt-2",children:r}):null]})}var AO=e=>e==null?void 0:e instanceof Error?e.message:typeof e=="string"?e:String(e);function C5({title:e="Something went wrong",error:t,onRetry:a,retryLabel:r="Retry"}){let o=AO(t);return(0,Aa.jsxs)(la,{status:"danger",role:"alert",children:[(0,Aa.jsx)(la.Indicator,{}),(0,Aa.jsxs)(la.Content,{children:[(0,Aa.jsx)(la.Title,{children:e}),o?(0,Aa.jsx)(la.Description,{className:"break-words",children:o}):null,a?(0,Aa.jsx)(kl,{size:"sm",variant:"danger-soft",className:"mt-2",onPress:a,children:r}):null]})]})}function S5({label:e="Loading\\u2026"}){return(0,Aa.jsxs)("div",{role:"status","aria-live":"polite",className:"flex flex-col items-center justify-center gap-3 px-4 py-12 text-sm text-muted",children:[(0,Aa.jsx)(Ev,{size:"md"}),(0,Aa.jsx)("span",{children:e})]})}var Qd=T(me(),1);var NO={ok:"success",warning:"warning",error:"danger",info:"accent",neutral:"default"};function qi({status:e,children:t,size:a="sm",dot:r=!1}){return(0,Qd.jsxs)(qo,{color:NO[e],variant:"soft",size:a,"data-status":e,children:[r?(0,Qd.jsx)("span",{"aria-hidden":"true",className:"size-1.5 rounded-full bg-current"}):null,(0,Qd.jsx)(qo.Label,{children:t})]})}var N0=T(me(),1);var Mu=T(R(),1);var MO=()=>{try{let e=localStorage.getItem(Jl);return e==="light"||e==="dark"?e:"system"}catch{return"system"}};function hE(){let[e,t]=(0,Mu.useState)("system");(0,Mu.useEffect)(()=>t(MO()),[]);let a=(0,Mu.useCallback)(r=>{try{r==="system"?localStorage.removeItem(Jl):localStorage.setItem(Jl,r)}catch{}Z7(document.documentElement,r),t(r)},[]);return[e,a]}var PO=[{id:"light",label:"Light theme",Icon:f5},{id:"dark",label:"Dark theme",Icon:s5},{id:"system",label:"System theme",Icon:Zd}];function M0(){let e=Xd(),[t,a]=hE();return e?(0,N0.jsx)(Au,{"aria-label":"Theme",size:"sm",selectionMode:"single",disallowEmptySelection:!0,selectedKeys:[t],onSelectionChange:r=>{let[o]=[...r];(o==="light"||o==="dark"||o==="system")&&a(o)},children:PO.map(({id:r,label:o,Icon:l})=>(0,N0.jsx)(Tn,{id:r,isIconOnly:!0,"aria-label":o,children:(0,N0.jsx)(l,{className:"size-4"})},r))}):null}var nN=T(mo(),1),iN=T(gA(),1);var qa=T(R(),1);var Yl=["sms","push","email","chat"];var L={app:"notifications-app",topbar:"topbar",namespace:"namespace",menu:"topbar-menu",search:"search",viewDevices:"view-devices",viewTimeline:"view-timeline",follow:"follow",sound:"sound-toggle",connection:"connection",source:"source",notice:"notice",toast:"toast",toastUndo:"toast-undo",channelTabs:"channel-tabs",channelTab:"channel-tab",channelTabUnread:"channel-tab-unread",smsDevice:"sms-device",smsRecipient:"sms-recipient",smsUnreadCount:"sms-unread-count",smsThread:"sms-thread",smsThreadName:"sms-thread-name",smsThreadPreview:"sms-thread-preview",smsThreadTime:"sms-thread-time",smsThreadUnread:"sms-thread-unread",smsThreadVia:"sms-thread-via",smsThreadDelete:"sms-thread-delete",smsThreadMute:"sms-thread-mute",smsThreadPin:"sms-thread-pin",smsThreadToggleUnread:"sms-thread-toggle-unread",smsEmpty:"sms-empty",smsConversation:"sms-conversation",smsConversationTitle:"sms-conversation-title",smsBack:"sms-back",smsBubble:"sms-bubble",smsBubbleMedia:"sms-bubble-media",smsBubbleTime:"sms-bubble-time",smsTapback:"sms-tapback",smsTimestamp:"sms-timestamp",smsCode:"sms-code",smsMenu:"sms-menu",smsMenuCopy:"sms-menu-copy",smsMenuTapback:"sms-menu-tapback",pushDevice:"push-device",pushRecipient:"push-recipient",pushSkin:"push-skin",pushUnreadCount:"push-unread-count",pushNotification:"push-notification",pushNotificationApp:"push-notification-app",pushNotificationTitle:"push-notification-title",pushNotificationBody:"push-notification-body",pushNotificationTime:"push-notification-time",pushNotificationImage:"push-notification-image",pushNotificationData:"push-notification-data",pushNotificationMeta:"push-notification-meta",pushGroup:"push-group",pushGroupMore:"push-group-more",pushGroupCollapse:"push-group-collapse",pushClear:"push-clear",pushOptions:"push-options",pushPreview:"push-preview",pushSettings:"push-settings",pushClearAll:"push-clear-all",pushEmpty:"push-empty",emailDevice:"email-device",emailRecipient:"email-recipient",emailUnreadCount:"email-unread-count",emailRow:"email-row",emailRowFrom:"email-row-from",emailRowSubject:"email-row-subject",emailRowSnippet:"email-row-snippet",emailRowDate:"email-row-date",emailRowService:"email-row-service",emailRowAttachment:"email-row-attachment",emailRowStar:"email-row-star",emailRowArchive:"email-row-archive",emailRowDelete:"email-row-delete",emailRowToggleRead:"email-row-toggle-read",emailRefresh:"email-refresh",emailEmpty:"email-empty",emailOpen:"email-open",emailBack:"email-back",emailArchive:"email-archive",emailDelete:"email-delete",emailMarkUnread:"email-mark-unread",emailSubject:"email-subject",emailFromName:"email-from-name",emailFromAddress:"email-from-address",emailTo:"email-to",emailDate:"email-date",emailDetails:"email-details",emailDetail:"email-detail",emailBody:"email-body",emailText:"email-text",emailAttachments:"email-attachments",emailAttachment:"email-attachment",chatDevice:"chat-device",chatRecipient:"chat-recipient",chatUnreadCount:"chat-unread-count",chatWorkspace:"chat-workspace",chatChannel:"chat-channel",chatTitle:"chat-title",chatMessage:"chat-message",chatMessageAuthor:"chat-message-author",chatMessageTime:"chat-message-time",chatMessageText:"chat-message-text",chatMessageBlocks:"chat-message-blocks",chatMessageAttachments:"chat-message-attachments",chatMessageReaction:"chat-message-reaction",chatEmpty:"chat-empty",timeline:"timeline",timelineRow:"timeline-row",timelineEmpty:"timeline-empty",inspector:"inspector",inspectorTitle:"inspector-title",inspectorClose:"inspector-close",inspectorShowOnDevice:"inspector-show-on-device",inspectorField:"inspector-field",inspectorJson:"inspector-json",dashboard:"dashboard",dashboardTab:"dashboard-tab",dashboardPanel:"dashboard-panel",dashboardBadge:"dashboard-badge"};var vh=T(R(),1);var oi=e=>e?.sms?.via==="whatsapp",gh=e=>{let t=/^\\+1(\\d{3})(\\d{3})(\\d{4})$/.exec(e);return t?`+1 (${t[1]}) ${t[2]}-${t[3]}`:e},v7=e=>/^\\+?\\d[\\d\\s()-]{5,}$/.test(e),y7=e=>e.replace(/^whatsapp:/i,""),Rc=e=>{let t=y7(e.from.address);return e.from.name??(v7(t)?gh(t):t)},Wl=e=>{let t=e.replace(/[^\\p{L}\\p{N}\\s]/gu," ").trim().split(/\\s+/).filter(Boolean);return t.length?((t[0]?.[0]??"")+(t[1]?.[0]??"")).toUpperCase():"?"},OK=["#1a73e8","#e8710a","#188038","#d93025","#9334e6","#12b5cb","#e52592","#f9ab00","#5f6368","#a142f4"],tp=["#ff9500","#34c759","#5856d6","#ff2d55","#007aff","#af52de","#ff3b30","#30b0c7"],IK=e=>[...e].reduce((t,a)=>t*31+a.charCodeAt(0)>>>0,7),li=(e,t=OK)=>t[IK(e)%t.length]??"#5f6368",xs=(e,t)=>e.toDateString()===t.toDateString(),fo=e=>e.toLocaleTimeString([],{hour:"numeric",minute:"2-digit"}),$h=e=>fo(e).replace(/\\s?[AP]M$/i,""),$A=(e,t)=>{let a=new Date(e),r=new Date(t);if(xs(a,r))return fo(a);let o=new Date(r);return o.setDate(r.getDate()-1),xs(a,o)?"Yesterday":r.getTime()-a.getTime()<5184e5?a.toLocaleDateString([],{weekday:"long"}):a.toLocaleDateString([],{year:"2-digit",month:"numeric",day:"numeric"})},xA=(e,t)=>{let a=new Date(e);return xs(a,new Date(t))?{day:"Today",time:fo(a)}:{day:a.toLocaleDateString([],{weekday:"short",month:"short",day:"numeric"}),time:`at ${fo(a)}`}},C7=(e,t)=>{let a=Math.max(0,(t-Date.parse(e))/1e3);return a<60?"now":a<3600?`${Math.floor(a/60)}m ago`:a<86400?`${Math.floor(a/3600)}h ago`:`${Math.floor(a/86400)}d ago`},vA=(e,t)=>{let a=Math.max(0,(t-Date.parse(e))/1e3);return a<60?"now":a<3600?`${Math.floor(a/60)}m`:a<86400?`${Math.floor(a/3600)}h`:`${Math.floor(a/86400)}d`},yA=(e,t)=>{let a=new Date(e);return xs(a,new Date(t))?a.toLocaleTimeString():a.toLocaleString([],{month:"short",day:"numeric",hour:"numeric",minute:"2-digit",...a.getFullYear()===new Date(t).getFullYear()?{}:{year:"numeric"}})},CA=(e,t)=>{let a=new Date(e),r=new Date(t);return xs(a,r)?fo(a):a.getFullYear()===r.getFullYear()?a.toLocaleDateString([],{month:"short",day:"numeric"}):a.toLocaleDateString([],{year:"2-digit",month:"numeric",day:"numeric"})},SA=(e,t)=>{let r=new Date(e).toLocaleString([],{weekday:"short",month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit"}),o=C7(e,t);return`${r} (${o==="now"?"0 minutes ago":o})`},wA=(e,t)=>{let a=new Date(e),r=new Date(t);if(xs(a,r))return"Today";let o=new Date(r);return o.setDate(r.getDate()-1),xs(a,o)?"Yesterday":a.toLocaleDateString([],{weekday:"long",month:"long",day:"numeric"})},ni=e=>e.startsWith("/services/")?`Webhook \\u2026${e.slice(-6)}`:e,FK={twilio:"Twilio",resend:"Resend",fcm:"FCM",ses:"SES",sns:"SNS",customerio:"Customer.io",mailosaur:"Mailosaur",slack:"Slack",cognito:"Cognito"},Xl=e=>FK[e]??e,EA={sms:"SMS",push:"Push",email:"Email",chat:"Chat"},xh=e=>e.sms?.code??(/\\b(code|otp|passcode|pin|verif)/i.test(e.sms?.body??"")?/\\b(\\d{4,8})\\b/.exec(e.sms?.body??"")?.[1]??null:null),TA=(e,t)=>`${e.length>22?`${e.slice(0,10)}\\u2026${e.slice(-8)}`:e}${t&&t!=="unknown"?` \\xB7 ${t}`:""}`,DA=e=>{let t=(e??"").toLowerCase();return t?/fail|error|undeliver|bounce|reject|complain/.test(t)?"error":/deliver|sent|success|read|ok/.test(t)?"ok":/queue|accept|pending|sending|schedul/.test(t)?"info":"neutral":"neutral"},kA=(e,t)=>({"data-notification-id":e.id,"data-channel":e.channel,"data-service":e.service,"data-source":e.source,"data-to":e.to,"data-from":e.from.address,"data-status":e.status??"","data-created-at":e.createdAt,"data-unread":String(t),...oi(e)?{"data-via":"whatsapp"}:{}});var S7=T(me(),1),RA=(0,vh.createContext)(null);function AA({store:e,children:t}){return(0,S7.jsx)(RA,{value:e,children:t})}function He(){let e=(0,vh.use)(RA);if(!e)throw new Error("useStore: no StoreProvider");return e}function Q({svg:e}){return(0,S7.jsx)("i",{className:"mbn-i",dangerouslySetInnerHTML:{__html:e}})}var Lr=()=>{let e=He();return t=>kA(t,e.isUnread(t.id))};var Nc=T(R(),1);var w7=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),PA=e=>w7(e)?e:{},Zl=e=>Array.isArray(e)?e.filter(w7):[],et=e=>typeof e=="string"?e:"",yt=e=>String(e??"").replace(/[&<>"\']/g,t=>`&#${t.charCodeAt(0)};`),yh=e=>/^(https?:\\/\\/|mailto:)/i.test(e.trim())?e.trim():null,KK={"+1":"\\u{1F44D}",thumbsup:"\\u{1F44D}","-1":"\\u{1F44E}",thumbsdown:"\\u{1F44E}",tada:"\\u{1F389}",rocket:"\\u{1F680}",white_check_mark:"\\u2705",heavy_check_mark:"\\u2714\\uFE0F",x:"\\u274C",warning:"\\u26A0\\uFE0F",rotating_light:"\\u{1F6A8}",fire:"\\u{1F525}",eyes:"\\u{1F440}",heart:"\\u2764\\uFE0F",wave:"\\u{1F44B}",bell:"\\u{1F514}",calendar:"\\u{1F4C5}",package:"\\u{1F4E6}",bug:"\\u{1F41B}",hourglass:"\\u231B",moneybag:"\\u{1F4B0}",email:"\\u2709\\uFE0F",red_circle:"\\u{1F534}",large_green_circle:"\\u{1F7E2}",large_yellow_circle:"\\u{1F7E1}",sparkles:"\\u2728",memo:"\\u{1F4DD}",lock:"\\u{1F512}",information_source:"\\u2139\\uFE0F",pray:"\\u{1F64F}"},ap=e=>KK[e.toLowerCase()]??`:${e}:`,vs=(e,t={})=>{let a=[],r=s=>`\\0${a.push(s)-1}\\0`,o=s=>s.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&"),l=s=>s.replace(/&#(\\d+);/g,(u,c)=>String.fromCharCode(Number(c))),n=yt(e).replace(/```\\n?([\\s\\S]*?)```/g,(s,u)=>r(`<pre class="chat-pre">${o(u)}</pre>`)).replace(/`([^`\\n]+)`/g,(s,u)=>r(`<code class="chat-code">${o(u)}</code>`)).replace(/<(.+?)>/g,(s,u)=>{let[c="",d]=u.split("|");if(c.startsWith("@")||c.startsWith("#")){let b=c.slice(1),m=d||t.name?.(l(b))||b;return r(`<span class="chat-mention">${c[0]}${yt(l(m))}</span>`)}if(c.startsWith("!")){let b=c.slice(1).split("^")[0]??"";return r(`<span class="chat-mention">${d||`@${b}`}</span>`)}let f=yh(l(c));return f?r(`<a href="${yt(f)}" target="_blank" rel="noreferrer">${d||c}</a>`):s});n=o(n).replace(/(^|[\\s(])\\*([^*\\n]+)\\*(?=$|[\\s.,;:!?)])/gm,"$1<b>$2</b>").replace(/(^|[\\s(])_([^_\\n]+)_(?=$|[\\s.,;:!?)])/gm,"$1<i>$2</i>").replace(/(^|[\\s(])~([^~\\n]+)~(?=$|[\\s.,;:!?)])/gm,"$1<s>$2</s>").replace(/:([a-z0-9_+-]+):/gi,(s,u)=>ap(u)).replace(/(?:^> ?.*(?:\\n|$))+/gm,s=>`<blockquote class="chat-quote">${s.replace(/\\n$/,"").replace(/^> ?/gm,"")}</blockquote>`);let i=/\\u0000(\\d+)\\u0000/g;for(let s=0;s<3&&n.includes("\\0");s++)n=n.replace(i,(u,c)=>a[Number(c)]??"");return n},Ac=(e,t)=>{if(typeof e=="string")return vs(e,t);let a=PA(e),r=et(a.text);return r?a.type==="plain_text"?yt(r).replace(/:([a-z0-9_+-]+):/gi,(o,l)=>ap(l)):vs(r,t):""},E7=(e,t,a)=>{let r=yh(e);return r?`<img class="${a}" src="${yt(r)}" alt="${yt(t)}" loading="lazy">`:""},LA=(e,t)=>`<span class="chat-btn ${e.style==="primary"||e.style==="danger"?e.style:""}" data-block-element="${yt(et(e.type))}">${Ac(e.text??e.placeholder,t)||yt(et(e.type))}</span>`,NA=(e,t)=>e.type==="image"?E7(et(e.image_url),et(e.alt_text),"chat-thumb"):e.type==="mrkdwn"||e.type==="plain_text"?`<span>${Ac(e,t)}</span>`:LA(e,t),MA=(e,t)=>{let a=PA(e.style),r;if(e.type==="link"){let o=yh(et(e.url)),l=yt(et(e.text)||et(e.url));r=o?`<a href="${yt(o)}" target="_blank" rel="noreferrer">${l}</a>`:l}else e.type==="emoji"?r=yt(ap(et(e.name))):e.type==="user"||e.type==="usergroup"?r=`<span class="chat-mention">@${yt(t.name?.(et(e.user_id))??et(e.user_id??e.usergroup_id))}</span>`:e.type==="channel"?r=`<span class="chat-mention">#${yt(t.name?.(et(e.channel_id))??et(e.channel_id))}</span>`:e.type==="broadcast"?r=`<span class="chat-mention">@${yt(et(e.range))}</span>`:r=yt(et(e.text));return a.code&&(r=`<code class="chat-code">${r}</code>`),a.bold&&(r=`<b>${r}</b>`),a.italic&&(r=`<i>${r}</i>`),a.strike&&(r=`<s>${r}</s>`),r},VK=(e,t)=>Zl(e.elements).map(a=>{let r=Zl(a.elements);if(a.type==="rich_text_list")return`<${a.style==="ordered"?"ol":"ul"} class="chat-list-block">${r.map(l=>`<li>${Zl(l.elements).map(n=>MA(n,t)).join("")}</li>`).join("")}</${a.style==="ordered"?"ol":"ul"}>`;let o=r.map(l=>MA(l,t)).join("");return a.type==="rich_text_preformatted"?`<pre class="chat-pre">${o}</pre>`:a.type==="rich_text_quote"?`<blockquote class="chat-quote">${o}</blockquote>`:`<div class="chat-text">${o}</div>`}).join(""),_K=(e,t)=>{let a=et(e.type),r=(o,l="")=>`<div class="chat-block chat-block-${yt(a)} ${l}" data-block="${yt(a)}">${o}</div>`;switch(a){case"section":{let o=Zl(e.fields),l=w7(e.accessory)?NA(e.accessory,t):"";return r(`<div class="chat-section-body">${e.text?`<div class="chat-text">${Ac(e.text,t)}</div>`:""}${o.length?`<div class="chat-fields">${o.map(n=>`<div class="chat-text">${Ac(n,t)}</div>`).join("")}</div>`:""}</div>${l?`<div class="chat-accessory">${l}</div>`:""}`,l?"with-accessory":"")}case"header":return r(Ac(e.text,t));case"divider":return r("<hr>");case"context":return r(Zl(e.elements).map(o=>NA(o,t)).join(""));case"actions":return r(Zl(e.elements).map(o=>LA(o,t)).join(""));case"image":return r(`${e.title?`<div class="chat-caption">${Ac(e.title,t)}</div>`:""}${E7(et(e.image_url),et(e.alt_text),"chat-image")}`);case"rich_text":return r(VK(e,t));default:return r(`<span class="chat-unknown">${yt(a||"block")}</span>`,"unknown")}},T7=(e,t={})=>Zl(e).map(a=>_K(a,t)).join(""),HK={good:"#2eb67d",warning:"#ecb22e",danger:"#e01e5a"},BA=(e,t={})=>Zl(e).map(a=>{let r=et(a.color),o=HK[r]??(/^#?[0-9a-f]{3,8}$/i.test(r)?`#${r.replace(/^#/,"")}`:"#dddddd"),l=yh(et(a.title_link)),n=yt(et(a.title)),i=Zl(a.fields);return`<div class="chat-attachment" data-color="${yt(o)}" style="border-left-color:${yt(o)}">${a.pretext?`<div class="chat-text">${vs(et(a.pretext),t)}</div>`:""}${a.author_name?`<div class="chat-att-author">${yt(et(a.author_name))}</div>`:""}${n?`<div class="chat-att-title">${l?`<a href="${yt(l)}" target="_blank" rel="noreferrer">${n}</a>`:n}</div>`:""}${a.text?`<div class="chat-text">${vs(et(a.text),t)}</div>`:""}${i.length?`<div class="chat-fields">${i.map(s=>`<div class="chat-field ${s.short?"short":""}"><b>${yt(et(s.title))}</b><div class="chat-text">${vs(et(s.value),t)}</div></div>`).join("")}</div>`:""}${T7(a.blocks,t)}${E7(et(a.image_url),et(a.fallback),"chat-image")}${a.footer?`<div class="chat-att-footer">${yt(et(a.footer))}</div>`:""}</div>`}).join("");var dr=(e,t,a,r="")=>`<svg width="${e}" height="${t}" viewBox="0 0 ${e} ${t}" fill="none" aria-hidden="true" ${r}>${a}</svg>`,Me=(e,t=20)=>`<svg width="${t}" height="${t}" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="${e}"/></svg>`,q={signal:(e="currentColor")=>dr(18,12,`<rect x="0" y="8" width="3" height="4" rx="1" fill="${e}"/><rect x="5" y="5.5" width="3" height="6.5" rx="1" fill="${e}"/><rect x="10" y="3" width="3" height="9" rx="1" fill="${e}"/><rect x="15" y="0" width="3" height="12" rx="1" fill="${e}"/>`),wifi:(e="currentColor")=>dr(16,12,`<path d="M8 2.6c2.3 0 4.4.9 6 2.4l1.1-1.1A10 10 0 0 0 8 1 10 10 0 0 0 .9 3.9L2 5c1.6-1.5 3.7-2.4 6-2.4Z" fill="${e}"/><path d="M8 5.9c1.4 0 2.6.5 3.6 1.4l1.1-1.1A6.7 6.7 0 0 0 8 4.3c-1.8 0-3.5.7-4.7 1.9l1.1 1.1c1-.9 2.2-1.4 3.6-1.4Z" fill="${e}"/><path d="M10.3 8.6 8 11 5.7 8.6A3.3 3.3 0 0 1 8 7.6c.9 0 1.7.4 2.3 1Z" fill="${e}"/>`),battery:(e="currentColor")=>dr(27,13,`<rect x=".5" y=".5" width="23" height="12" rx="3.8" stroke="${e}" stroke-opacity=".4"/><rect x="2" y="2" width="20" height="9" rx="2.5" fill="${e}"/><path d="M25 4.5v4c.8-.3 1.3-1.1 1.3-2s-.5-1.7-1.3-2Z" fill="${e}" fill-opacity=".45"/>`),compose:()=>dr(24,24,\'<path d="M19 13v6.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 3 19.5v-13A1.5 1.5 0 0 1 4.5 5H11" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/><path d="m9.5 14.5.6-3.1 8.8-8.8a1.5 1.5 0 0 1 2.1 0l.9.9a1.5 1.5 0 0 1 0 2.1l-8.8 8.8-3.6.1Z" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round"/>\'),search:(e="currentColor",t=16)=>dr(t,t,`<circle cx="${t*.43}" cy="${t*.43}" r="${t*.3}" stroke="${e}" stroke-width="${t/9}"/><path d="m${t*.65} ${t*.65} ${t*.27} ${t*.27}" stroke="${e}" stroke-width="${t/9}" stroke-linecap="round"/>`),mic:(e="#8e8e93")=>dr(14,20,`<rect x="4" y="1" width="6" height="11" rx="3" fill="${e}"/><path d="M1.5 9a5.5 5.5 0 0 0 11 0M7 14.5V18" stroke="${e}" stroke-width="1.6" stroke-linecap="round"/>`),chevronRight:(e="currentColor")=>dr(8,13,`<path d="m1.5 1.5 5 5-5 5" stroke="${e}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`),chevronBack:()=>dr(13,21,\'<path d="M11 2 2.5 10.5 11 19" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>\'),plus:()=>dr(16,16,\'<path d="M8 2v12M2 8h12" stroke="#8e8e93" stroke-width="2.2" stroke-linecap="round"/>\'),person:()=>dr(26,26,\'<circle cx="13" cy="9" r="5" fill="#fff"/><path d="M3 24c0-5.5 4.5-9 10-9s10 3.5 10 9" fill="#fff"/>\'),padlock:()=>dr(16,21,\'<rect x="1" y="9" width="14" height="11" rx="2.5" fill="#fff"/><path d="M4 9V6a4 4 0 0 1 8 0v3" stroke="#fff" stroke-width="2"/>\'),flashlight:()=>dr(14,22,\'<path d="M2 1h10v4L9.5 9v11a1 1 0 0 1-1 1h-3a1 1 0 0 1-1-1V9L2 5V1Z" fill="#fff"/>\'),camera:()=>dr(22,18,\'<path d="M2 5.5A1.5 1.5 0 0 1 3.5 4h3l1.6-2.2h5.8L15.5 4h3A1.5 1.5 0 0 1 20 5.5v10a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 2 15.5v-10Z" fill="#fff"/><circle cx="11" cy="10.3" r="3.6" fill="#555"/>\'),bell:()=>Me("M12 22a2 2 0 0 0 2-2h-4a2 2 0 0 0 2 2Zm6-6V11a6 6 0 0 0-5-5.9V4a1 1 0 0 0-2 0v1.1A6 6 0 0 0 6 11v5l-2 2v1h16v-1l-2-2Z",18),expand:()=>Me("M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z",16),collapse:()=>Me("M7.4 15.4 12 10.8l4.6 4.6L18 14l-6-6-6 6z",16),androidWifi:()=>Me("M12 21 23.6 6.5A17.6 17.6 0 0 0 12 2.5 17.6 17.6 0 0 0 .4 6.5Z",15),androidSignal:()=>Me("M2 22h20V2Z",14),androidBattery:()=>Me("M16 4h-2V2h-4v2H8a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1Z",15),menu:()=>Me("M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z",24),tune:(e=24)=>Me("M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z",e),help:()=>Me("M11 18h2v-2h-2v2zm1-16a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm0-14a4 4 0 0 0-4 4h2a2 2 0 1 1 4 0c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5a4 4 0 0 0-4-4z",24),gear:()=>Me("M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.49.49 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.48.48 0 0 0-.48-.41h-3.84a.48.48 0 0 0-.48.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96a.48.48 0 0 0-.59.22L2.74 8.87a.47.47 0 0 0 .12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32a.47.47 0 0 0-.12-.61l-2.01-1.58zM12 15.6A3.6 3.6 0 1 1 12 8.4a3.6 3.6 0 0 1 0 7.2z",24),apps:()=>Me("M6 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm-6 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0-6a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm4-8a2 2 0 1 0 4 0 2 2 0 0 0-4 0zm-4 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 6a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 6a2 2 0 1 0 0-4 2 2 0 0 0 0 4z",24),pencil:()=>Me("M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z",24),inbox:()=>Me("M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm0 12h-4a3 3 0 0 1-6 0H5V5h14v10z",20),star:()=>Me("M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z",20),clock:()=>Me("M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7z",20),send:()=>Me("M3.4 20.4l17.45-7.48a1 1 0 0 0 0-1.84L3.4 3.6a.99.99 0 0 0-1.39.91L2 9.12c0 .5.37.93.87.99L17 12 2.87 13.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91z",20),draft:()=>Me("M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zM6 20V4h7v5h5v11H6z",20),more:()=>Me("M12 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4z",20),refresh:()=>Me("M17.65 6.35A7.96 7.96 0 0 0 12 4a8 8 0 1 0 7.73 10h-2.08A6 6 0 1 1 12 6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z",20),checkbox:()=>Me("M19 5v14H5V5h14m0-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2z",18),back:()=>Me("M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",20),archive:()=>Me("M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.5c0-.48-.17-.93-.46-1.27zM12 17.5 6.5 12H10v-2h4v2h3.5L12 17.5zM5.12 5l.81-1h12l.94 1H5.12z",20),report:()=>Me("M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM19 14.9 14.9 19H9.1L5 14.9V9.1L9.1 5h5.8L19 9.1v5.8zM11 7h2v6h-2zm0 8h2v2h-2z",20),trash:()=>Me("M15 4V3H9v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5zm2 15H7V6h10v13zM9 8h2v9H9zm4 0h2v9h-2z",20),reply:()=>Me("M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z",20),forward:()=>Me("M14 9V5l7 7-7 7v-4.1c-5 0-8.5 1.6-11 5.1 1-5 4-10 11-11z",20),clip:()=>Me("M16.5 6v11.5a4 4 0 0 1-8 0V5a2.5 2.5 0 0 1 5 0v10.5a1 1 0 0 1-2 0V6H10v9.5a2.5 2.5 0 0 0 5 0V5a4 4 0 0 0-8 0v12.5a5.5 5.5 0 0 0 11 0V6h-1.5z",16),file:()=>Me("M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm4 18H6V4h7v5h5v11z",28),dropdown:()=>Me("M7 10l5 5 5-5z",18),lock:()=>Me("M18 8h-1V6A5 5 0 0 0 7 6v2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2zM9 6a3 3 0 0 1 6 0v2H9V6z",14),envelope:()=>dr(30,24,\'<path d="M3 4h24v16a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4Z" fill="#e8eaed"/><path d="M3 4l12 9 12-9" stroke="#5f6368" stroke-width="2.2" stroke-linejoin="round"/><path d="M3 4h24" stroke="#5f6368" stroke-width="2.2"/>\'),pin:(e=16)=>Me("M16 9V4h1c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3z",e),bellSlash:(e=16)=>Me("M20 18.69 7.84 6.14 5.27 3.49 4 4.76l2.8 2.8v.01c-.52.99-.8 2.16-.8 3.42v5l-2 2v1h13.73l2 2L21 19.72l-1-1.03zM12 22c1.11 0 2-.89 2-2h-4c0 1.11.89 2 2 2zm6-7.32V11c0-3.08-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68c-.15.03-.29.08-.42.12-.1.03-.2.07-.3.11-.23.09-.46.2-.68.31L18 14.68z",e),volumeOn:(e=16)=>Me("M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z",e),volumeOff:(e=16)=>Me("M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3 3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4 9.91 6.09 12 8.18V4z",e),markUnread:(e=20)=>Me("M22 8.98V18c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h10.1c-.06.32-.1.66-.1 1 0 1.48.65 2.79 1.67 3.71L12 11 4 6v2l8 5 5.3-3.32c.54.2 1.1.32 1.7.32 1.13 0 2.16-.39 3-1.02zM16 5c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3z",e),markRead:(e=20)=>Me("M21.99 8c0-.72-.37-1.35-.94-1.7L12 1 2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zM12 13 3.74 7.84 12 3l8.26 4.84L12 13z",e),close:(e=16)=>Me("M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",e),starFilled:(e=20)=>Me("M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",e)};var he=T(me(),1);function D7({className:e,testId:t,html:a}){return(0,he.jsx)("div",{className:e,"data-testid":t,dangerouslySetInnerHTML:{__html:a}})}function jK({n:e}){let t=He(),a=Lr(),r=e.chat,o=e.from.name??e.from.address,l={name:n=>r?.names?.[n]};return(0,he.jsxs)("div",{className:`chat-msg ${t.state.arrived.has(e.id)?"arrive":""}`,...a(e),"data-testid":L.chatMessage,"data-method":r?.method??"","data-ephemeral":String(r?.ephemeral??!1),"data-thread":r?.threadTs??"",role:"listitem",tabIndex:0,children:[(0,he.jsx)("span",{className:"chat-avatar",style:{background:li(e.from.address,tp)},"aria-hidden":"true",children:Wl(o)}),(0,he.jsxs)("div",{className:"chat-msg-main",children:[(0,he.jsxs)("div",{className:"chat-meta",children:[(0,he.jsx)("b",{"data-testid":L.chatMessageAuthor,children:o}),(0,he.jsx)("span",{className:"chat-app",children:"APP"}),(0,he.jsx)("span",{className:"chat-time","data-testid":L.chatMessageTime,children:fo(new Date(e.createdAt))}),r?.edited?(0,he.jsx)("span",{className:"chat-edited",children:"(edited)"}):null]}),r?.ephemeral?(0,he.jsx)("div",{className:"chat-note",children:"Only visible to you"}):null,r?.threadTs?(0,he.jsx)("div",{className:"chat-note",children:"replied to a thread"}):null,r?.text&&!r.blocks.length?(0,he.jsx)(D7,{className:"chat-text",testId:L.chatMessageText,html:vs(r.text,l)}):null,r?.blocks.length?(0,he.jsx)(D7,{className:"chat-blocks",testId:L.chatMessageBlocks,html:T7(r.blocks,l)}):null,r?.attachments.length?(0,he.jsx)(D7,{className:"chat-attachments",testId:L.chatMessageAttachments,html:BA(r.attachments,l)}):null,r?.reactions.length?(0,he.jsx)("div",{className:"chat-reactions",children:r.reactions.map(n=>(0,he.jsxs)("span",{className:"chat-reaction","data-testid":L.chatMessageReaction,"data-name":n.name,"data-count":n.count,children:[ap(n.name)," ",n.count]},n.name))}):null]})]})}function zA(){let e=He(),t=(0,Nc.useRef)(null),a=e.state.chat.to,r=e.byChannel("chat"),o=e.chatItems(),l=e.recipients("chat"),n=r[0]?.chat?.workspace??"Workspace",i=e.nowMs();(0,Nc.useLayoutEffect)(()=>{let u=()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)};u();let c=requestAnimationFrame(u);return()=>cancelAnimationFrame(c)},[a,o.length]);let s="";return(0,he.jsxs)("div",{className:"window chat mbn-skin","data-testid":L.chatDevice,"data-recipient":a??"","data-workspace":n,children:[(0,he.jsxs)("div",{className:"chrome",children:[(0,he.jsxs)("span",{className:"lights",children:[(0,he.jsx)("i",{}),(0,he.jsx)("i",{}),(0,he.jsx)("i",{})]}),(0,he.jsxs)("span",{className:"omnibox",children:[(0,he.jsx)(Q,{svg:q.lock()})," chat.example.test/",a?ni(a).replace(/^#/,""):""]})]}),(0,he.jsxs)("div",{className:"chat-body",children:[(0,he.jsxs)("nav",{className:"chat-side","aria-label":"Channels",children:[(0,he.jsxs)("div",{className:"chat-team","data-testid":L.chatWorkspace,children:[n," ",(0,he.jsx)(Q,{svg:q.dropdown()})]}),(0,he.jsx)("div",{className:"chat-side-label",children:"Channels"}),l.map(u=>(0,he.jsxs)("button",{type:"button",className:`chat-chan ${u.to===a?"on":""} ${u.unread?"unread":""}`,"data-action":"chat-channel","data-value":u.to,"data-testid":L.chatChannel,"data-to":u.to,"data-unread":u.unread,"aria-current":u.to===a,children:[(0,he.jsx)("span",{className:"hash",children:u.to.startsWith("#")?"#":"~"}),(0,he.jsx)("span",{className:"lbl",children:ni(u.to).replace(/^#/,"")}),u.unread?(0,he.jsx)("span",{className:"n",children:u.unread}):null]},u.to))]}),(0,he.jsxs)("div",{className:"chat-main",children:[(0,he.jsxs)("header",{className:"chat-head",children:[(0,he.jsx)("b",{"data-testid":L.chatTitle,children:a?ni(a):"Chat"}),(0,he.jsx)("span",{children:o.length?`${o.length} message${o.length===1?"":"s"}`:""})]}),(0,he.jsx)("div",{className:"chat-list",role:"list",ref:t,children:o.length?o.map(u=>{let c=wA(u.createdAt,i),d=c!==s;return s=c,(0,he.jsxs)(Nc.Fragment,{children:[d?(0,he.jsx)("div",{className:"chat-day",children:(0,he.jsx)("span",{children:c})}):null,(0,he.jsx)(jK,{n:u})]},u.id)}):(0,he.jsxs)("div",{className:"chat-empty","data-testid":L.chatEmpty,children:[(0,he.jsx)("b",{children:a?"No messages in this channel":"No chat messages yet"}),a?"":"Messages posted to the Slack emulator, with chat.postMessage or an incoming webhook, land here."]})}),(0,he.jsxs)("div",{className:"chat-compose",children:[(0,he.jsxs)("span",{children:["Message ",a?ni(a):"channel"]}),(0,he.jsx)("span",{className:"send",children:(0,he.jsx)(Q,{svg:q.send()})})]})]})]})]})}var Mc=T(R(),1);var ys=(e,t,a,r,o,l=1)=>{for(let[n,i]of[[1,1],[2.76,.18],[5.4,.06]]){let s=e.createOscillator(),u=e.createGain();s.type="sine",s.frequency.value=r*n,u.gain.setValueAtTime(0,a),u.gain.linearRampToValueAtTime(.32*i*l,a+.006),u.gain.exponentialRampToValueAtTime(1e-4,a+o/n**.35),s.connect(u).connect(t),s.start(a),s.stop(a+o+.05)}},rp=(e,t,a,r,o)=>{let l=e.createOscillator(),n=e.createBiquadFilter(),i=e.createGain();l.type="triangle",l.frequency.value=r,n.type="lowpass",n.frequency.setValueAtTime(r*6,a),n.frequency.exponentialRampToValueAtTime(r*1.5,a+o),i.gain.setValueAtTime(0,a),i.gain.linearRampToValueAtTime(.42,a+.004),i.gain.exponentialRampToValueAtTime(1e-4,a+o),l.connect(n).connect(i).connect(t),l.start(a),l.stop(a+o+.05)},UK={sms:(e,t,a)=>{ys(e,t,a,1318.5,.5),ys(e,t,a+.12,1661.2,.5),ys(e,t,a+.24,1975.5,.8)},"push-ios":(e,t,a)=>{ys(e,t,a,1760,.35,.8),ys(e,t,a+.09,2349.3,.9,.9)},"push-android":(e,t,a)=>{rp(e,t,a,1046.5,.22),rp(e,t,a+.1,1568,.22),rp(e,t,a+.2,2093,.45)},email:(e,t,a)=>{ys(e,t,a,987.8,.45,.7),ys(e,t,a+.16,1318.5,.9,.7)},chat:(e,t,a)=>{rp(e,t,a,587.3,.12),rp(e,t,a+.11,880,.2)}},GK={sms:[180,90,180],"push-ios":[120],"push-android":[60,80,60]},OA=(e=!1)=>{let t=null,a=null,r=new Map,o=()=>{if(t)return t;let n=globalThis.AudioContext??globalThis.webkitAudioContext;if(!n)return null;try{t=new n,a=t.createGain(),a.gain.value=.6,a.connect(t.destination)}catch{t=null}return t},l={enabled:e,unlock(){if(!l.enabled)return;let n=o();n?.state==="suspended"&&n.resume().catch(()=>{})},play(n){if(!l.enabled)return;let i=Date.now();if(i-(r.get(n)??0)<600)return;r.set(n,i);let s=GK[n];if(s)try{navigator.vibrate?.(s)}catch{}let u=o();!u||!a||(u.state==="suspended"&&u.resume().catch(()=>{}),UK[n](u,a,u.currentTime+.02))},close(){t?.close().catch(()=>{}),t=null}};return l};var IA={all:"All",sms:"Text",push:"Push",email:"Email",chat:"Chat"},qK=.5,Ch=e=>typeof e=="number"&&Number.isFinite(e)?Math.max(qK,Math.min(1,e)):1,FA=(e,t,a=1)=>e==="tabs"||e==="auto"&&t>0&&t/a<800,YK=640,KA=e=>e>0&&e<YK,VA=(e,t=1)=>Math.max(.5,Math.min(1,(e/t-16)/362)),_A=(e,t)=>e.length<2?[]:t?[...e]:["all",...e],HA=(e,t,a,r)=>a&&e.includes(a)?a:e.length===1&&e[0]?e[0]:t?(r&&e.includes(r)?r:e[0])??"all":"all";var Cs=(e,t)=>`${e}|${t}`,Sh=(e,t)=>`${e}|${t}`;function k7(e={}){let t=e.live??!0,a=e.syncUrl??(t&&!e.fetch&&!e.baseUrl),r=e.storage??t,o=e.now,l=()=>o??Date.now(),n=e.baseUrl??(e.fetch||typeof location>"u"?"http://harness.local/":location.href),i=(w,z)=>{let ee=new Request(new URL(w,n),z);return e.fetch?e.fetch(ee):fetch(ee)},s=new Set,u=(w,z)=>{let ee=setTimeout(()=>{s.delete(ee),z()},w);s.add(ee)},c=[],d=!1,f=new URLSearchParams(e.search??(a&&typeof location<"u"?location.search:"")),b=f.get("view"),m=e.initial??{},p={namespace:f.get("namespace")??e.namespace??"default",namespaces:[],items:[],sources:[],discoveryError:null,version:0,view:b==="timeline"?"timeline":m.view??"devices",only:m.only!==void 0?m.only:Yl.includes(b??"")?b:null,search:m.search??"",menu:m.menu??!1,follow:m.follow??f.get("follow")!=="0",connected:!1,sms:{to:m.sms?.to??null,thread:m.sms?.thread??null,menu:m.sms?.menu??null},push:{to:m.push?.to??null,skin:m.push?.skin??"auto",expanded:m.push?.expanded??null,preview:m.push?.preview??null,settings:m.push?.settings??null},email:{to:m.email?.to??null,open:m.email?.open??null},chat:{to:m.chat?.to??null},inspect:m.inspect??null,toast:m.toast?{text:m.toast}:null,arrived:new Set(e.arrived??[]),mailDetailsOpen:m.mailDetailsOpen??!1,ready:!1},x={sms:null,email:!1,wake:!1},h={dismissed:new Set(m.local?.dismissed??[]),pinned:new Set(m.local?.pinned??[]),muted:new Set(m.local?.muted??[]),starred:new Set(m.local?.starred??[]),silent:new Set(m.local?.silent??[]),checked:new Set,tapbacks:new Map(Object.entries(m.local?.tapbacks??{})),openGroups:new Set(m.push?.openGroups??[])},g=f.get("to"),$=f.get("from"),v=f.get("id"),y=g&&p.only?{channel:p.only,to:g}:null;f.get("follow")===null&&y&&(p.follow=!1);let E=Yl.filter(w=>e.channels===void 0||e.channels.includes(w)),C=e.layout??"auto",S={scale:Ch(e.scale),compact:C==="tabs",width:0,fit:1,size:"wide"},D=p.only,k=()=>HA(E,S.compact,p.only,D),_=w=>{if(w<=0)return!1;let z=`${S.compact}|${S.size}|${S.fit}`;return S.width=w,S.fit=VA(w,S.scale),S.size=KA(w)?"phone":"wide",S.compact=FA(e.tabs===!1&&C==="auto"?"grid":C,w,S.scale),z!==`${S.compact}|${S.size}|${S.fit}`},J=()=>typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion: reduce)").matches,ne=()=>(e.motion??"auto")==="auto"?J()?"reduce":"full":e.motion,M=()=>ne()==="full",H="mockingbird-notifications:sound",se=()=>{if(!r)return null;try{let w=localStorage.getItem(H);return w===null?null:w==="1"}catch{return null}},U=OA(f.get("sound")!==null?f.get("sound")==="1":se()??e.sound??!1),$e=()=>`mockingbird-notifications:seen:${p.namespace}`,V=new Set(e.seen??[]),G=()=>{if(r)try{V=new Set(JSON.parse(localStorage.getItem($e())??"[]"))}catch{V=new Set}},X=()=>{if(r)try{localStorage.setItem($e(),JSON.stringify([...V].slice(-5e3)))}catch{}},ze=w=>{let z=!1;for(let ee of w)V.has(ee)||(V.add(ee),z=!0);z&&X()},ft=w=>{for(let z of w)V.delete(z);X()},pt=w=>!V.has(w),F=w=>{let z=p.search.trim().toLowerCase();return z?[w.to,w.from.address,w.from.name??"",w.preview,w.email?.subject??"",w.push?.title??"",w.source,w.service].join(`\n`).toLowerCase().includes(z):!0},Y=()=>p.items.filter(F),ue=w=>Y().filter(z=>z.channel===w&&!h.dismissed.has(z.id)),qe=w=>{let z=new Map;for(let ee of ue(w)){let Ke=z.get(ee.to)??{to:ee.to,count:0,unread:0,latest:ee.createdAt};Ke.count++,V.has(ee.id)||Ke.unread++,ee.createdAt>Ke.latest&&(Ke.latest=ee.createdAt),ee.push&&(Ke.platform=ee.push.platform),z.set(ee.to,Ke)}return[...z.values()].sort((ee,Ke)=>ee.latest<Ke.latest?1:-1)},tt=w=>ue(w).filter(z=>!V.has(z.id)).length,Ql=()=>{for(let w of Yl){let z=qe(w),ee=p[w];if(y?.channel===w){ee.to=y.to;continue}(!ee.to||!z.some(Ke=>Ke.to===ee.to))&&(ee.to=z[0]?.to??null)}},W=w=>{let z=new Map;for(let ee of ue("sms").filter(Ke=>Ke.to===w)){let Ke=ee.from.address;z.set(Ke,[...z.get(Ke)??[],ee])}return[...z.entries()].map(([ee,Ke])=>({from:ee,items:Ke.sort((Ve,po)=>Ve.createdAt<po.createdAt?-1:1),pinned:h.pinned.has(Cs(w,ee))})).sort((ee,Ke)=>ee.pinned!==Ke.pinned?ee.pinned?-1:1:(ee.items.at(-1)?.createdAt??"")<(Ke.items.at(-1)?.createdAt??"")?1:-1)},Z=()=>{let w=p.sms.to;return w?W(w).find(z=>z.from===p.sms.thread):void 0},kt=()=>{let w=p.push.to;return w?ue("push").filter(z=>z.to===w):[]},mt=()=>{let w=p.email.to;return w?ue("email").filter(z=>z.to===w):[]},Pc=()=>{let w=p.chat.to;return w?ue("chat").filter(z=>z.to===w).sort((z,ee)=>z.createdAt<ee.createdAt?-1:1):[]},cN=()=>p.push.skin!=="auto"?p.push.skin:kt()[0]?.push?.platform==="android"?"android":"ios",Ss=w=>{let z=k();return E.includes(w)&&(z==="all"||z===w)},op=new Set,I7=0,F7=()=>e.title??"Notifications",dN=()=>{if(!a||!t||typeof document>"u")return;let w=Yl.reduce((z,ee)=>z+tt(ee),0);document.title=`${w?`(${w}) `:""}${F7()} \\xB7 Mockingbird`},fN=()=>{if(Z()||(p.sms.thread=null,p.sms.menu=null),p.email.open&&!mt().some(w=>w.id===p.email.open)&&(p.email.open=null),p.view==="devices"){if(Ss("sms")){let w=Z();w&&ze(w.items.map(z=>z.id))}Ss("push")&&ze(kt().map(w=>w.id)),Ss("email")&&p.email.open&&ze([p.email.open]),Ss("chat")&&ze(Pc().map(w=>w.id))}},pe=()=>{if(!d){fN(),dN(),I7++;for(let w of[...op])w()}},Th=async w=>{let z=await i(w);if(!z.ok)throw new Error(`${w}: HTTP ${z.status}`);return await z.json()},lp=async()=>{let w=new URLSearchParams({namespace:p.namespace,order:"newest"}),z=await Th(`./api/notifications?${w}`);d||(p.items=z.notifications,p.version=z.version??p.version,Ql(),pe())},K7=async()=>{try{let w=await Th("./api/sources");p.sources=w.sources,p.discoveryError=w.discoveryError;let z=await Th("./api/namespaces");p.namespaces=z.namespaces,pe()}catch{}},np=null,pN=w=>{if(w.channel==="sms")return h.muted.has(Cs(w.to,w.from.address))?null:"sms";if(w.channel==="email")return"email";if(w.channel==="chat")return"chat";let z=p.push.skin==="auto"?w.push?.platform==="android"?"android":"ios":p.push.skin;return z==="android"&&h.silent.has(w.push?.app??"App")?null:z==="android"?"push-android":"push-ios"},mN=w=>{for(let Ve of w)p.arrived.add(Ve.id);let z=[...w].sort((Ve,po)=>Ve.createdAt<po.createdAt?1:-1);for(let Ve of Yl){let po=z.filter(si=>si.channel===Ve),Ya=y?.channel===Ve?po.find(si=>si.to===y.to):po[0];Ya&&(y?.channel===Ve?Ve==="sms"&&!p.sms.thread&&(p.sms.thread=Ya.from.address):p.follow&&(p[Ve].to=Ya.to,Ve==="sms"&&p.sms.thread!==null&&(p.sms.thread=Ya.from.address)),Ve==="push"&&p.push.to===Ya.to&&(x.wake=!0))}let ee=np&&z.find(Ve=>Ve.channel==="sms"&&Ve.to===np);ee&&(p.sms.to=ee.to,p.sms.thread=ee.from.address,np=null);let Ke=new Set(w.map(pN).filter(Ve=>Ve!==null));for(let Ve of Ke)U.play(Ve);e.onArrive?.(w),u(1800,()=>{for(let Ve of w)p.arrived.delete(Ve.id)})},Dh=null,V7=()=>{Dh?.abort();let w=new AbortController;Dh=w;let z=p.namespace,ee=(Ve,po)=>{if(!w.signal.aborted){if(Ve==="sources")p.sources=JSON.parse(po),pe();else if(Ve==="change"){let{added:Ya,version:si}=JSON.parse(po);p.version=si,mN(Ya),lp().catch(()=>{})}}};(async()=>{for(;!w.signal.aborted;){try{let Ve=await i(`./api/events?namespace=${encodeURIComponent(z)}`,{signal:w.signal,headers:{accept:"text/event-stream"}});if(!Ve.ok||!Ve.body)throw new Error(`events: HTTP ${Ve.status}`);p.connected=!0,pe();let po=Ve.body.pipeThrough(new TextDecoderStream).getReader(),Ya="";for(;;){let{value:si,done:yN}=await po.read();if(yN)break;Ya+=si.replace(/\\r\\n/g,`\n`);let sp=Ya.indexOf(`\n\n`);for(;sp>=0;){let CN=Ya.slice(0,sp);Ya=Ya.slice(sp+2);let Y7="message",Ah=[];for(let up of CN.split(`\n`))up.startsWith("event:")?Y7=up.slice(6).trim():up.startsWith("data:")&&Ah.push(up.slice(5).trimStart());Ah.length&&ee(Y7,Ah.join(`\n`)),sp=Ya.indexOf(`\n\n`)}}}catch{}if(w.signal.aborted)return;p.connected=!1,pe(),await new Promise(Ve=>u(1e3,()=>Ve(null)))}})()},bN=w=>{if(p.only=w==="all"?null:w,w!=="all"&&(D=w),a&&typeof location<"u"){let z=new URL(location.href);w==="all"?z.searchParams.delete("view"):z.searchParams.set("view",w);for(let ee of["to","from","id"])z.searchParams.delete(ee);y?.channel===w&&z.searchParams.set("to",y.to),history.replaceState(null,"",z)}pe()},_7=w=>{E.includes(w)&&(D=w,!Ss(w)&&(p.only=w))},kh=null,Rh=w=>{p.view="devices",_7(w.channel),p[w.channel].to=w.to,w.channel==="sms"&&(p.sms.thread=w.from.address),w.channel==="email"&&(p.email.open=w.id),w.channel==="push"&&(p.push.expanded=w.id,h.openGroups.add(Sh(w.to,w.push?.app??"App"))),h.dismissed.delete(w.id),p.inspect=null,kh=w.id,pe()},H7=()=>{if(y&&(p[y.channel].to=y.to,y.channel==="sms"&&(p.sms.thread=$??W(y.to)[0]?.from??null)),v){let w=p.items.find(z=>z.id===v);if(w)return Rh(w)}pe()},hN=(w,z)=>{p.toast=z?{text:w,undo:z}:{text:w},pe();let ee=p.toast;u(6e3,()=>{p.toast===ee&&(p.toast=null,pe())})},j7=w=>{try{navigator.clipboard?.writeText(w).catch(()=>{})}catch{}},ip=w=>p.items.find(z=>z.id===w),gN={setView(w){p.view=w,p.menu=!1,pe()},selectTab:bN,toggleMenu(){p.menu=!p.menu,pe()},setSearch(w){p.search=w,Ql(),pe()},setFollow(w){p.follow=w,pe()},setRecipient(w,z){p[w].to=z,w==="sms"&&(p.sms.thread=null),w==="email"&&(p.email.open=null),pe()},chatChannel(w){p.chat.to=w,pe()},smsOpen(w){p.sms.thread=w||null,x.sms="push",pe()},smsBack(){p.sms.thread=null,x.sms="back",pe()},deleteThread(w){let z=p.sms.to;if(z){for(let ee of ue("sms"))ee.to===z&&ee.from.address===w&&h.dismissed.add(ee.id);pe()}},threadPin(w){let z=Cs(p.sms.to??"",w);h.pinned.delete(z)||h.pinned.add(z),pe()},threadMute(w){let z=Cs(p.sms.to??"",w);h.muted.delete(z)||h.muted.add(z),pe()},threadUnread(w){let z=p.sms.to??"",ee=ue("sms").filter(Ke=>Ke.to===z&&Ke.from.address===w);if(ee.some(Ke=>!V.has(Ke.id)))ze(ee.map(Ke=>Ke.id));else{let Ke=ee.at(-1);Ke&&ft([Ke.id])}pe()},tapback(w,z){h.tapbacks.get(w)===z?h.tapbacks.delete(w):h.tapbacks.set(w,z),p.sms.menu=null,pe()},smsCopy(w){let z=ip(w);z&&j7(z.sms?.body??""),p.sms.menu=null,pe()},copy:j7,closeOverlays(){let w=p.sms.menu||p.push.preview||p.push.settings;return p.sms.menu=null,p.push.preview=null,p.push.settings=null,w&&pe(),!!w},longPress(w,z){if(w==="sms-bubble"){p.sms.menu=z;try{navigator.vibrate?.(10)}catch{}}else w==="ios-note"?p.push.preview=z:w==="a-note"&&(p.push.settings=p.push.settings===z?null:z);pe()},pushToggle(w,z=!1){if(z){let ee=ip(w);ee&&(h.openGroups.add(Sh(ee.to,ee.push?.app??"App")),pe());return}p.push.expanded=p.push.expanded===w?null:w,pe()},pushExpand(w){p.push.expanded=w,pe()},dismissPush(w){h.dismissed.add(w),p.push.preview===w&&(p.push.preview=null),pe()},dismissMany(w){for(let z of w)h.dismissed.add(z);pe()},pushOptions(w){p.push.preview=w,pe()},pushAlerting(w,z){z?h.silent.add(w):h.silent.delete(w),pe()},groupOpen(w){h.openGroups.add(w),pe()},groupCollapse(w){h.openGroups.delete(w),pe()},groupClear(w,z){for(let ee of ue("push"))ee.to===p.push.to&&(ee.push?.app??"App")===z&&h.dismissed.add(ee.id);h.openGroups.delete(w),pe()},setSkin(w){p.push.skin=w,pe()},mailOpen(w){p.email.open=w,x.email=!0,p.mailDetailsOpen=!1,pe()},mailBack(){p.email.open=null,x.email=!0,pe()},mailDetails(){p.mailDetailsOpen=!p.mailDetailsOpen,pe()},archiveEmail(w,z){h.dismissed.add(w),p.email.open===w&&(p.email.open=null,x.email=!0),hN(z==="archived"?"Conversation archived.":"Conversation moved to Trash.",()=>{h.dismissed.delete(w),p.toast=null,pe()})},mailUnread(w){ft([w]),p.email.open=null,x.email=!0,pe()},mailToggleRead(w){V.has(w)?ft([w]):ze([w]),pe()},mailStar(w){h.starred.delete(w)||h.starred.add(w),pe()},mailCheck(w){h.checked.delete(w)||h.checked.add(w),pe()},toastUndo(){p.toast?.undo?.()},toastClose(){p.toast=null,pe()},refresh(){lp().catch(()=>{})},inspect(w){p.inspect=w,pe()},showOnDevice(w){let z=ip(w);z&&Rh(z)}},U7=()=>{},$N=new Promise(w=>{U7=w}),G7=()=>{p.ready=!0,pe()},xN={show(w){let z=w.id?ip(w.id):void 0;if(z)return Rh(z);w.channel&&(p.view="devices",_7(w.channel),w.to&&(p[w.channel].to=w.to),w.channel==="sms"&&w.to&&(p.sms.thread=W(w.to)[0]?.from??null,np=p.sms.thread===null?w.to:null),w.channel==="email"&&(p.email.open=null),pe())},setNamespace(w){if(w!==p.namespace){if(p.namespace=w,p.items=[],p.sms={...p.sms,to:null,thread:null,menu:null},p.email={...p.email,to:null,open:null},p.push.to=null,p.chat.to=null,G(),a&&typeof location<"u"){let z=new URL(location.href);z.searchParams.set("namespace",w),history.replaceState(null,"",z)}t?(V7(),lp().catch(()=>{})):pe()}},setSound(w){if(U.enabled=w,w&&U.unlock(),r)try{localStorage.setItem(H,w?"1":"0")}catch{}pe()},setScale(w){if(Ch(w)===S.scale)return;S.scale=Ch(w);let z=S.width;S.width=0,_(z),pe()}},vN=()=>{if(!t){p.items=[...e.items??[]].sort((z,ee)=>z.createdAt<ee.createdAt?1:-1),p.sources=e.sources??[],p.namespaces=e.namespaces??[],p.discoveryError=e.discoveryError??null,p.connected=e.connected??!0,Ql(),H7(),G7();return}c.push(setInterval(()=>{q7()||p.sms.menu||p.push.preview||p.push.settings||pe()},3e4),setInterval(()=>{K7()},5e3)),G(),pe(),V7(),K7(),(async()=>{for(let z=0;!d;z++)try{await lp(),H7(),G7();return}catch{await new Promise(ee=>u(Math.min(5e3,500*2**z),()=>ee(null)))}})()},q7=()=>!1;return{options:e,state:p,local:h,cues:x,frame:S,enabled:E,sound:U,ready:$N,live:t,syncUrl:a,title:F7,nowMs:l,later:u,animate:M,motion:ne,tab:k,shown:Ss,measure:_,visible:Y,byChannel:ue,recipients:qe,unreadIn:tt,isUnread:pt,smsThreads:W,openThread:Z,pushItems:kt,pushSkin:cN,emailItems:mt,chatItems:Pc,actions:gN,handle:xN,start:vN,emit:pe,subscribe(w){return op.add(w),()=>op.delete(w)},getVersion:()=>I7,drawnReady(){p.ready&&U7()},takeScrollTarget(){let w=kh;return kh=null,w},setGesturing(w){q7=w},destroy(){d=!0,Dh?.abort();for(let w of s)clearTimeout(w);s.clear();for(let w of c)clearInterval(w);U.close(),op.clear()}}}var K=T(me(),1),jA=[{id:"heart",glyph:"\\u2665",label:"Heart"},{id:"like",glyph:"\\u{1F44D}",label:"Like"},{id:"dislike",glyph:"\\u{1F44E}",label:"Dislike"},{id:"laugh",glyph:(0,K.jsxs)(K.Fragment,{children:["HA",(0,K.jsx)("br",{}),"HA"]}),label:"Laugh"},{id:"emphasize",glyph:"\\u203C",label:"Emphasize"},{id:"question",glyph:"?",label:"Question"}],WK=/\\bhttps?:\\/\\/[^\\s<]+[^\\s<.,;:!?)\'"]/g;function R7(e,t=null){let a=[],r=0,o=t,l=i=>{if(!i)return;let s=o?new RegExp(`\\\\b${o}\\\\b`).exec(i):null;if(!s||!o){a.push(i);return}a.push(i.slice(0,s.index),(0,K.jsx)("span",{className:"code",children:o},`code${r++}`),i.slice(s.index+o.length)),o=null},n=0;for(let i of e.matchAll(WK))l(e.slice(n,i.index)),a.push((0,K.jsx)("a",{href:i[0],target:"_blank",rel:"noreferrer",children:i[0]},`url${r++}`)),n=(i.index??0)+i[0].length;return l(e.slice(n)),a}function A7({light:e=!1}){let t=He();return(0,K.jsxs)("div",{className:`statusbar ${e?"light":""}`,children:[(0,K.jsx)("span",{children:$h(new Date(t.nowMs()))}),(0,K.jsxs)("span",{className:"icons",children:[(0,K.jsx)(Q,{svg:q.signal()}),(0,K.jsx)(Q,{svg:q.wifi()}),(0,K.jsx)(Q,{svg:q.battery()})]})]})}function UA({n:e,className:t="avatar"}){let a=e?Rc(e):"",r=v7(y7(e?.from.address??""))&&!e?.from.name;return(0,K.jsx)("div",{className:t,children:r?(0,K.jsx)(Q,{svg:q.person()}):Wl(a)})}function XK({id:e}){let t=He(),a=jA.find(r=>r.id===t.local.tapbacks.get(e));return a?(0,K.jsx)("span",{className:"tapback","data-testid":L.smsTapback,"data-tapback":a.id,"aria-label":a.label,children:a.glyph}):null}function GA({n:e}){return(0,K.jsxs)(K.Fragment,{children:[(e.sms?.media??[]).map(t=>(0,K.jsx)("img",{className:"media",src:t,alt:"","data-testid":L.smsBubbleMedia},t)),R7(e.sms?.body??"",xh(e))]})}function ZK({n:e}){let a=He().local.tapbacks.get(e.id);return(0,K.jsxs)("div",{className:"ios-overlay","data-action":"close-overlay","data-testid":L.smsMenu,"data-notification-id":e.id,role:"dialog","aria-label":"Message actions",children:[(0,K.jsx)("div",{className:"tapback-bar",role:"toolbar","aria-label":"Tapback",children:jA.map(r=>(0,K.jsx)("button",{type:"button","data-action":"tapback","data-id":e.id,"data-value":r.id,"data-testid":L.smsMenuTapback,"data-tapback":r.id,"aria-label":r.label,"aria-pressed":a===r.id,children:r.glyph},r.id))}),(0,K.jsx)("div",{className:"bubble tail",children:(0,K.jsx)(GA,{n:e})}),(0,K.jsxs)("div",{className:"ios-menu",role:"menu",children:[(0,K.jsx)("button",{type:"button",role:"menuitem","data-action":"close-overlay",children:"Reply"}),(0,K.jsx)("button",{type:"button",role:"menuitem","data-action":"sms-copy","data-id":e.id,"data-testid":L.smsMenuCopy,children:"Copy"}),(0,K.jsx)("button",{type:"button",role:"menuitem","data-action":"close-overlay",children:"Translate"}),(0,K.jsx)("button",{type:"button",role:"menuitem","data-action":"close-overlay",children:"More\\u2026"})]})]})}function QK({to:e,items:t}){let a=He(),r=Lr(),o=(0,Mc.useRef)(null),l=t[0],n=l?.from.address??"",i=oi(l),s=a.smsThreads(e).filter(g=>g.from!==n).reduce((g,$)=>g+$.items.filter(v=>a.isUnread(v.id)).length,0),u=a.cues.sms==="push"&&a.animate(),c=a.local.muted.has(Cs(e,n)),d=t.at(-1),f=d?xh(d):null,b=a.state.sms.menu?t.find(g=>g.id===a.state.sms.menu):null,m=a.nowMs();(0,Mc.useLayoutEffect)(()=>{let g=()=>{o.current&&(o.current.scrollTop=o.current.scrollHeight)};g();let $=requestAnimationFrame(g);return()=>cancelAnimationFrame($)},[n,t.length]);let p=0,x=!0,h=t.map((g,$)=>{let v=Date.parse(g.createdAt),y=$===0||v-p>15*6e4?xA(g.createdAt,m):null,E=t[$+1],C=!E||Date.parse(E.createdAt)-v>6e4,S=!y&&x&&$>0;p=v,x=C;let D=xh(g);return(0,K.jsxs)(Mc.Fragment,{children:[y?(0,K.jsxs)("div",{className:"stamp","data-testid":L.smsTimestamp,children:[$===0?(0,K.jsxs)(K.Fragment,{children:[i?"WhatsApp":"Text Message",(0,K.jsx)("br",{})]}):null,(0,K.jsx)("b",{children:y.day})," ",y.time]}):null,(0,K.jsxs)("div",{className:`bubble-row ${S?"gap":""}`,children:[(0,K.jsxs)("div",{className:`bubble ${C?"tail":""} ${a.state.arrived.has(g.id)?"arrive":""}`,...r(g),"data-testid":L.smsBubble,...D?{"data-code":D}:{},"data-longpress":"sms-bubble",tabIndex:0,"aria-haspopup":"menu",children:[(0,K.jsx)(GA,{n:g}),i?(0,K.jsx)("span",{className:"wa-time",children:fo(new Date(v))}):null,(0,K.jsx)(XK,{id:g.id})]}),(0,K.jsx)("span",{className:"bubble-time","data-testid":L.smsBubbleTime,"aria-hidden":"true",children:fo(new Date(v))})]})]},g.id)});return(0,K.jsxs)("div",{className:`convo ${i?"wa":""} ${u?"enter":""}`,"data-testid":L.smsConversation,"data-from":n,"data-via":i?"whatsapp":"sms",children:[(0,K.jsx)("div",{className:"convo-nav",children:(0,K.jsxs)("div",{className:"bar",children:[(0,K.jsxs)("button",{type:"button",className:"back","data-action":"sms-back","data-testid":L.smsBack,"aria-label":"Back to Messages",children:[(0,K.jsx)(Q,{svg:q.chevronBack()}),s?(0,K.jsx)("span",{className:"badge",children:s}):null]}),(0,K.jsx)(UA,{n:l}),(0,K.jsxs)("div",{className:"who",children:[(0,K.jsx)("span",{"data-testid":L.smsConversationTitle,children:l?Rc(l):n}),c?(0,K.jsxs)(K.Fragment,{children:[" ",(0,K.jsx)("span",{className:"flag",children:(0,K.jsx)(Q,{svg:q.bellSlash(12)})})]}):null," ",i?(0,K.jsx)("small",{className:"wa-sub",children:"WhatsApp"}):(0,K.jsx)(Q,{svg:q.chevronRight("#8e8e93")})]})]})}),(0,K.jsx)("div",{className:"convo-body","data-swipe":"sms-convo",ref:o,children:h}),f&&d&&m-Date.parse(d.createdAt)<10*6e4?(0,K.jsxs)("button",{type:"button",className:"qt","data-action":"sms-copy-code","data-code":f,"data-testid":L.smsCode,children:[(0,K.jsxs)("small",{children:["From ",i?"WhatsApp":"Messages"]}),f]}):null,(0,K.jsxs)("div",{className:"convo-input",children:[(0,K.jsx)("span",{className:"plus",children:(0,K.jsx)(Q,{svg:q.plus()})}),(0,K.jsxs)("span",{className:"field-ios",children:[i?"Message":"Text Message",(0,K.jsx)("span",{children:(0,K.jsx)(Q,{svg:q.mic()})})]})]}),b?(0,K.jsx)(ZK,{n:b}):null]})}function JK({to:e}){let t=He(),a=Lr(),r=e?t.smsThreads(e):[],o=t.cues.sms==="back"&&t.animate(),l=t.nowMs();return(0,K.jsxs)("div",{className:`msgs ${o?"enter":""}`,children:[(0,K.jsxs)("div",{className:"msgs-nav",children:[(0,K.jsxs)("div",{className:"row",children:[(0,K.jsx)("span",{children:"Edit"}),(0,K.jsx)(Q,{svg:q.compose()})]}),(0,K.jsx)("h1",{children:"Messages"}),(0,K.jsxs)("div",{className:"ios-search",children:[(0,K.jsx)(Q,{svg:q.search("currentColor",15)}),(0,K.jsx)("span",{children:"Search"}),(0,K.jsx)(Q,{svg:q.mic("currentColor")})]})]}),r.length&&e?(0,K.jsx)("div",{className:"threads",role:"list",children:r.map(n=>{let i=n.items.at(-1),s=n.items.some(f=>t.isUnread(f.id)),u=t.local.muted.has(Cs(e,n.from)),c=i?Rc(i):n.from,d=oi(i);return(0,K.jsxs)("div",{className:"swipe thread-swipe","data-swipe":"sms-thread","data-from":n.from,"data-flip":`thread:${n.from}`,role:"listitem",children:[(0,K.jsxs)("div",{className:"swipe-actions",children:[(0,K.jsxs)("div",{className:"side",children:[(0,K.jsxs)("button",{type:"button",className:"act-unread","data-action":"thread-unread","data-from":n.from,"data-testid":L.smsThreadToggleUnread,children:[(0,K.jsx)(Q,{svg:s?q.markRead(22):q.markUnread(22)}),s?"Read":"Unread"]}),(0,K.jsxs)("button",{type:"button",className:"act-pin","data-action":"thread-pin","data-from":n.from,"data-testid":L.smsThreadPin,children:[(0,K.jsx)(Q,{svg:q.pin(22)}),n.pinned?"Unpin":"Pin"]})]}),(0,K.jsxs)("div",{className:"side",children:[(0,K.jsxs)("button",{type:"button",className:"act-mute","data-action":"thread-mute","data-from":n.from,"data-testid":L.smsThreadMute,children:[(0,K.jsx)(Q,{svg:q.bellSlash(22)}),u?"Show Alerts":"Hide Alerts"]}),(0,K.jsxs)("button",{type:"button",className:"act-delete","data-action":"thread-delete","data-from":n.from,"data-testid":L.smsThreadDelete,children:[(0,K.jsx)(Q,{svg:q.trash()}),"Delete"]})]})]}),(0,K.jsxs)("div",{className:"thread swipe-card","data-action":"sms-open",...i?a(i):{},"data-from":n.from,"data-testid":L.smsThread,"data-unread":String(s),"data-pinned":String(n.pinned),"data-muted":String(u),role:"button",tabIndex:0,"aria-label":`${c}${d?", WhatsApp":""}${s?", unread":""}`,children:[s?(0,K.jsx)("span",{className:"unread","data-testid":L.smsThreadUnread}):null,(0,K.jsx)(UA,{n:i,className:`avatar ${d?"wa":""}`}),(0,K.jsxs)("div",{className:"text",children:[(0,K.jsxs)("div",{className:"top",children:[(0,K.jsxs)("span",{className:"name-line",children:[(0,K.jsx)("span",{className:"name","data-testid":L.smsThreadName,children:c}),d?(0,K.jsx)("span",{className:"via-wa","data-testid":L.smsThreadVia,children:"WhatsApp"}):null,n.pinned?(0,K.jsx)("span",{className:"flag",children:(0,K.jsx)(Q,{svg:q.pin(13)})}):null,u?(0,K.jsx)("span",{className:"flag",children:(0,K.jsx)(Q,{svg:q.bellSlash(13)})}):null]}),(0,K.jsxs)("span",{className:"when","data-testid":L.smsThreadTime,children:[$A(i?.createdAt??"",l)," ",(0,K.jsx)(Q,{svg:q.chevronRight()})]})]}),(0,K.jsx)("div",{className:"preview","data-testid":L.smsThreadPreview,children:i?.sms?.body??""})]})]})]},n.from)})}):(0,K.jsx)("div",{className:"empty-ios","data-testid":L.smsEmpty,children:e?"No Messages":(0,K.jsxs)(K.Fragment,{children:["No text messages yet.",(0,K.jsx)("br",{}),(0,K.jsx)("br",{}),"SMS sent through Twilio, SNS, Customer.io, Mailosaur or Cognito, and WhatsApp sent through Twilio, show up here."]})})]})}function qA(){let e=He(),t=e.state.sms.to,a=e.openThread(),r=a?oi(a.items[0]):!1;return(0,K.jsx)("div",{className:"iphone mbn-skin","data-testid":L.smsDevice,"data-screen":a?"conversation":"threads","data-recipient":t??"","data-thread":a?.from??"",...r?{"data-via":"whatsapp"}:{},children:(0,K.jsxs)("div",{className:"screen",children:[(0,K.jsx)("div",{className:"island"}),(0,K.jsx)(A7,{}),a&&t?(0,K.jsx)(QK,{to:t,items:a.items}):(0,K.jsx)(JK,{to:t}),(0,K.jsx)("div",{className:"home-indicator"})]})})}function wh(e,t){if(!t)return()=>{};let a=r=>{let o=r;if(o.defaultPrevented||o.button!==0)return;let n=r.target?.closest?.("a[href]");!n||!/^https?:$/.test(n.protocol)||t(n.href)&&r.preventDefault()};return e.addEventListener("click",a),()=>e.removeEventListener("click",a)}var N=T(me(),1),eV=e=>`<!doctype html><html><head><meta charset="utf-8"><base target="_blank"><style>body{margin:0;font:14px/1.5 Arial,Helvetica,sans-serif;color:#222;overflow-wrap:anywhere}img{max-width:100%;height:auto}</style></head><body>${e.email?.html??""}</body></html>`,Ga=({svg:e})=>(0,N.jsx)("span",{className:"icon-btn",children:(0,N.jsx)(Q,{svg:e})});function tV({open:e,items:t,me:a}){let r=He(),o=Lr(),l=e.email,n=e.from.name??e.from.address,i=e.to.toLowerCase()===a.toLowerCase()?"me":e.to,s=r.cues.email&&r.animate(),u=r.state.mailDetailsOpen,c=(d,f,b)=>(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)("span",{children:[f,":"]}),(0,N.jsx)("span",{"data-testid":L.emailDetail,"data-field":d,children:b})]});return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)("div",{className:"mail-toolbar",children:[(0,N.jsx)("button",{type:"button",className:"icon-btn","data-action":"mail-back","data-testid":L.emailBack,title:"Back to Inbox","aria-label":"Back to Inbox",children:(0,N.jsx)(Q,{svg:q.back()})}),(0,N.jsx)("button",{type:"button",className:"icon-btn","data-action":"mail-archive","data-id":e.id,"data-testid":L.emailArchive,title:"Archive","aria-label":"Archive",children:(0,N.jsx)(Q,{svg:q.archive()})}),(0,N.jsx)(Ga,{svg:q.report()}),(0,N.jsx)("button",{type:"button",className:"icon-btn","data-action":"mail-delete","data-id":e.id,"data-testid":L.emailDelete,title:"Delete","aria-label":"Delete",children:(0,N.jsx)(Q,{svg:q.trash()})}),(0,N.jsx)("button",{type:"button",className:"icon-btn","data-action":"mail-unread","data-id":e.id,"data-testid":L.emailMarkUnread,title:"Mark as unread","aria-label":"Mark as unread",children:(0,N.jsx)(Q,{svg:q.markUnread()})}),(0,N.jsx)(Ga,{svg:q.clock()}),(0,N.jsx)(Ga,{svg:q.more()}),(0,N.jsxs)("span",{className:"range",children:[t.indexOf(e)+1," of ",t.length]})]}),(0,N.jsxs)("div",{className:`reader ${s?"enter":""}`,...o(e),"data-testid":L.emailOpen,children:[(0,N.jsxs)("div",{className:"subject-row",children:[(0,N.jsx)("h1",{"data-testid":L.emailSubject,children:l?.subject||"(no subject)"}),(0,N.jsx)("span",{className:"label-chip",children:"Inbox"})]}),(0,N.jsxs)("div",{className:"sender-row",children:[(0,N.jsx)("span",{className:"mail-avatar",style:{background:li(e.from.address)},children:Wl(n).slice(0,1)}),(0,N.jsxs)("div",{className:"who",children:[(0,N.jsx)("b",{"data-testid":L.emailFromName,children:n})," ",(0,N.jsxs)("span",{className:"addr",children:["<",(0,N.jsx)("span",{"data-testid":L.emailFromAddress,children:e.from.address}),">"]}),(0,N.jsxs)("div",{className:"to","data-action":"mail-details","data-testid":L.emailTo,role:"button",tabIndex:0,"aria-expanded":u,children:["to ",i,l?.cc.length?`, ${l.cc.join(", ")}`:""," ",(0,N.jsx)(Q,{svg:q.dropdown()})]})]}),(0,N.jsxs)("div",{className:"meta",children:[(0,N.jsx)("span",{"data-testid":L.emailDate,children:SA(e.createdAt,r.nowMs())})," ",(0,N.jsx)(Ga,{svg:q.star()}),(0,N.jsx)(Ga,{svg:q.reply()}),(0,N.jsx)(Ga,{svg:q.more()})]})]}),u?(0,N.jsxs)("div",{className:"details","data-testid":L.emailDetails,children:[c("from","from",e.from.name?`${e.from.name} <${e.from.address}>`:e.from.address),c("to","to",e.to),l?.cc.length?c("cc","cc",l.cc.join(", ")):null,l?.bcc.length?c("bcc","bcc",l.bcc.join(", ")):null,l?.replyTo.length?c("reply-to","reply-to",l.replyTo.join(", ")):null,c("date","date",new Date(e.createdAt).toLocaleString()),c("subject","subject",l?.subject??""),c("mailed-by","mailed-by",`${Xl(e.service)} (${e.source})`),c("message-id","message id",e.providerId)]}):null,l?.html?(0,N.jsx)("iframe",{className:"mail-frame",name:"email-body","data-testid":L.emailBody,"data-format":"html",sandbox:"allow-same-origin allow-popups allow-popups-to-escape-sandbox",title:"Email body",srcDoc:eV(e),onLoad:d=>{let f=d.currentTarget,b=f.contentDocument;b&&wh(b,r.options.openLink),b&&(f.style.height=`${Math.max(120,b.documentElement.scrollHeight+8)}px`)}}):(0,N.jsx)("div",{className:"mail-text","data-testid":L.emailText,"data-format":"text",children:R7(l?.text??"")}),l?.attachments.length?(0,N.jsxs)("div",{className:"attachments","data-testid":L.emailAttachments,"data-count":l.attachments.length,children:[(0,N.jsxs)("h3",{children:[l.attachments.length," attachment",l.attachments.length===1?"":"s"]}),(0,N.jsx)("div",{className:"att-grid",children:l.attachments.map((d,f)=>(0,N.jsxs)("div",{className:"att","data-testid":L.emailAttachment,"data-filename":d.filename,"data-content-type":d.contentType??"","data-size":d.size??"",children:[(0,N.jsx)("div",{className:"att-top",children:(0,N.jsx)(Q,{svg:q.file()})}),(0,N.jsxs)("div",{className:"att-name",children:[(0,N.jsx)(Q,{svg:q.clip()})," ",d.filename,d.size?(0,N.jsxs)(N.Fragment,{children:[" ",(0,N.jsxs)("span",{className:"att-size",children:[Math.max(1,Math.round(d.size/1024))," KB"]})]}):null]})]},`${d.filename}:${f}`))})]}):null,(0,N.jsxs)("div",{className:"reply-row",children:[(0,N.jsxs)("span",{children:[(0,N.jsx)(Q,{svg:q.reply()})," Reply"]}),(0,N.jsxs)("span",{children:[(0,N.jsx)(Q,{svg:q.forward()})," Forward"]})]})]})]})}function aV({to:e,items:t}){let a=He(),r=Lr(),o=a.cues.email&&a.animate(),l=a.nowMs();return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)("div",{className:"mail-toolbar",children:[(0,N.jsx)(Ga,{svg:q.checkbox()}),(0,N.jsx)("button",{type:"button",className:"icon-btn","data-action":"refresh","data-testid":L.emailRefresh,title:"Refresh","aria-label":"Refresh",children:(0,N.jsx)(Q,{svg:q.refresh()})}),(0,N.jsx)(Ga,{svg:q.more()}),(0,N.jsx)("span",{className:"range",children:t.length?`1\\u2013${t.length} of ${t.length}`:""})]}),(0,N.jsxs)("div",{className:"cat-tabs",children:[(0,N.jsxs)("div",{className:"on",children:[(0,N.jsx)(Q,{svg:q.inbox()})," Primary"]}),(0,N.jsxs)("div",{children:[(0,N.jsx)(Q,{svg:q.star()})," Promotions"]}),(0,N.jsxs)("div",{children:[(0,N.jsx)(Q,{svg:q.send()})," Updates"]})]}),(0,N.jsx)("div",{className:`mail-list ${o?"enter":""}`,role:"list",children:t.length?t.map(n=>{let i=a.isUnread(n.id),s=n.from.name??n.from.address,u=a.local.starred.has(n.id);return(0,N.jsxs)("div",{className:"swipe mrow-swipe","data-swipe":"mrow","data-id":n.id,"data-flip":`row:${n.id}`,role:"listitem",children:[(0,N.jsxs)("div",{className:"swipe-actions",children:[(0,N.jsx)(Q,{svg:q.archive()}),(0,N.jsx)(Q,{svg:q.archive()})]}),(0,N.jsxs)("div",{className:`mrow swipe-card ${i?"unread":""} ${a.state.arrived.has(n.id)?"arrive":""}`,"data-action":"mail-open","data-id":n.id,...r(n),"data-testid":L.emailRow,"data-starred":String(u),role:"button",tabIndex:0,children:[(0,N.jsx)("span",{className:"chk","data-action":"mail-check","data-id":n.id,role:"checkbox","aria-checked":a.local.checked.has(n.id),"aria-label":"Select",tabIndex:-1,children:(0,N.jsx)(Q,{svg:q.checkbox()})}),(0,N.jsx)("span",{className:"star","data-action":"mail-star","data-id":n.id,"data-testid":L.emailRowStar,role:"button",tabIndex:-1,"aria-pressed":u,"aria-label":u?"Starred":"Not starred",children:(0,N.jsx)(Q,{svg:u?q.starFilled():q.star()})}),(0,N.jsx)("span",{className:"from","data-testid":L.emailRowFrom,children:s}),(0,N.jsxs)("span",{className:"subj",children:[(0,N.jsx)("span",{"data-testid":L.emailRowSubject,children:n.email?.subject||"(no subject)"})," ",(0,N.jsxs)("span",{className:"snippet",children:["- ",(0,N.jsx)("span",{"data-testid":L.emailRowSnippet,children:n.preview})]})]}),n.email?.attachments.length?(0,N.jsx)("span",{className:"clip","data-testid":L.emailRowAttachment,children:(0,N.jsx)(Q,{svg:q.clip()})}):null,(0,N.jsx)("span",{className:"svc","data-testid":L.emailRowService,children:Xl(n.service)}),(0,N.jsx)("span",{className:"date","data-testid":L.emailRowDate,children:CA(n.createdAt,l)}),(0,N.jsxs)("span",{className:"hover-actions",children:[(0,N.jsx)("button",{type:"button",className:"icon-btn","data-action":"mail-archive","data-id":n.id,"data-testid":L.emailRowArchive,title:"Archive","aria-label":"Archive",children:(0,N.jsx)(Q,{svg:q.archive()})}),(0,N.jsx)("button",{type:"button",className:"icon-btn","data-action":"mail-delete","data-id":n.id,"data-testid":L.emailRowDelete,title:"Delete","aria-label":"Delete",children:(0,N.jsx)(Q,{svg:q.trash()})}),(0,N.jsx)("button",{type:"button",className:"icon-btn","data-action":"mail-toggle-read","data-id":n.id,"data-testid":L.emailRowToggleRead,title:i?"Mark as read":"Mark as unread","aria-label":i?"Mark as read":"Mark as unread",children:(0,N.jsx)(Q,{svg:i?q.markRead():q.markUnread()})}),(0,N.jsx)(Ga,{svg:q.clock()})]})]})]},n.id)}):(0,N.jsxs)("div",{className:"mail-empty","data-testid":L.emailEmpty,children:[(0,N.jsx)(Q,{svg:q.envelope()}),(0,N.jsx)("b",{children:e?"Your Primary tab is empty.":"No email yet"}),e?"":"Email sent through Resend, SES, SNS, Customer.io or Mailosaur lands here."]})})]})}function YA(){let e=He(),t=e.state.email.to,a=e.emailItems(),r=a.filter(i=>e.isUnread(i.id)).length,o=a.find(i=>i.id===e.state.email.open),l=t??"you@example.test",n=e.state.toast;return(0,N.jsxs)("div",{className:"window mbn-skin","data-testid":L.emailDevice,"data-screen":o?"message":"inbox","data-recipient":t??"",children:[(0,N.jsxs)("div",{className:"chrome",children:[(0,N.jsxs)("span",{className:"lights",children:[(0,N.jsx)("i",{}),(0,N.jsx)("i",{}),(0,N.jsx)("i",{})]}),(0,N.jsxs)("span",{className:"omnibox",children:[(0,N.jsx)(Q,{svg:q.lock()})," mail.example.test/#inbox",o?`/${o.providerId}`:""]})]}),(0,N.jsxs)("div",{className:"mail-top",children:[(0,N.jsx)(Ga,{svg:q.menu()}),(0,N.jsxs)("span",{className:"mail-logo",children:[(0,N.jsx)(Q,{svg:q.envelope()}),(0,N.jsx)("span",{className:"lbl",children:"Mail"})]}),(0,N.jsxs)("div",{className:"mail-search",children:[(0,N.jsx)(Ga,{svg:q.search("currentColor",20)}),(0,N.jsx)("span",{className:"placeholder",children:"Search mail"}),(0,N.jsx)(Ga,{svg:q.tune()})]}),(0,N.jsxs)("div",{className:"right",children:[(0,N.jsx)(Ga,{svg:q.help()}),(0,N.jsx)(Ga,{svg:q.gear()}),(0,N.jsx)(Ga,{svg:q.apps()}),(0,N.jsx)("span",{className:"mail-avatar",title:l,style:{background:li(l)},children:l.slice(0,1).toUpperCase()})]})]}),(0,N.jsxs)("div",{className:"mail-body",children:[(0,N.jsxs)("nav",{className:"mail-nav",children:[(0,N.jsxs)("button",{type:"button",className:"compose",children:[(0,N.jsx)(Q,{svg:q.pencil()}),(0,N.jsx)("span",{className:"lbl",children:"Compose"})]}),(0,N.jsxs)("div",{className:"nav-item active",children:[(0,N.jsx)(Q,{svg:q.inbox()}),(0,N.jsx)("span",{className:"lbl",children:"Inbox"}),(0,N.jsx)("span",{className:"n",children:r||""})]}),(0,N.jsxs)("div",{className:"nav-item",children:[(0,N.jsx)(Q,{svg:q.star()}),(0,N.jsx)("span",{className:"lbl",children:"Starred"})]}),(0,N.jsxs)("div",{className:"nav-item",children:[(0,N.jsx)(Q,{svg:q.clock()}),(0,N.jsx)("span",{className:"lbl",children:"Snoozed"})]}),(0,N.jsxs)("div",{className:"nav-item",children:[(0,N.jsx)(Q,{svg:q.send()}),(0,N.jsx)("span",{className:"lbl",children:"Sent"})]}),(0,N.jsxs)("div",{className:"nav-item",children:[(0,N.jsx)(Q,{svg:q.draft()}),(0,N.jsx)("span",{className:"lbl",children:"Drafts"})]}),(0,N.jsxs)("div",{className:"nav-item",children:[(0,N.jsx)(Q,{svg:q.expand()}),(0,N.jsx)("span",{className:"lbl",children:"More"})]})]}),(0,N.jsx)("div",{className:"mail-main",children:o?(0,N.jsx)(tV,{open:o,items:a,me:l}):(0,N.jsx)(aV,{to:t,items:a})})]}),n?(0,N.jsxs)("div",{className:"toast","data-testid":L.toast,role:"status",children:[(0,N.jsx)("span",{children:n.text}),n.undo?(0,N.jsx)("button",{type:"button","data-action":"toast-undo","data-testid":L.toastUndo,children:"Undo"}):null,(0,N.jsx)("button",{type:"button","data-action":"toast-close","aria-label":"Dismiss",children:(0,N.jsx)(Q,{svg:q.close(16)})})]}):null]})}var B=T(me(),1);function WA({n:e}){let t=e.push?.data??{};return Object.keys(t).length?(0,B.jsx)("div",{className:"note-data","data-testid":L.pushNotificationData,children:JSON.stringify(t,null,2)}):null}function XA({n:e}){let t=e.push?.badge;return(0,B.jsxs)("div",{className:"note-meta","data-testid":L.pushNotificationMeta,children:[Xl(e.service)," \\xB7 ",e.status??"accepted",t!=null?` \\xB7 badge ${t}`:"",e.push?.sound?` \\xB7 sound ${e.push.sound}`:""]})}var ZA=()=>{let e=Lr();return(t,a={})=>({...e(t),"data-testid":L.pushNotification,"data-platform":t.push?.platform??"unknown","data-app":t.push?.app??"App",...Object.fromEntries(Object.entries(a).map(([r,o])=>[`data-${r}`,String(o)]))})};function QA({n:e,expanded:t,stacked:a=!1,top:r=!1}){let o=He(),l=ZA(),n=e.push,i=n?.app??"App",s=o.nowMs();return(0,B.jsxs)("div",{className:`ios-note swipe-card ${t?"expanded":""} ${o.state.arrived.has(e.id)?"arrive":""}`,"data-action":"push-toggle","data-id":e.id,...l(e,{expanded:t,stacked:a}),...r?{"data-group-top":"true"}:{},role:"button",tabIndex:0,"aria-expanded":t,"data-longpress":"ios-note",children:[(0,B.jsx)("span",{className:"app-icon",style:{background:li(i,tp)},"data-testid":L.pushNotificationApp,"aria-label":i,children:Wl(i).slice(0,1)}),(0,B.jsxs)("div",{className:"content",children:[(0,B.jsxs)("div",{className:"line1",children:[(0,B.jsx)("span",{className:"title","data-testid":L.pushNotificationTitle,children:n?.title??i}),(0,B.jsx)("span",{className:"time","data-testid":L.pushNotificationTime,children:C7(e.createdAt,s)})]}),(0,B.jsx)("div",{className:"body","data-testid":L.pushNotificationBody,children:n?.body??""}),t&&n?.imageUrl?(0,B.jsx)("img",{className:"hero",src:n.imageUrl,alt:"","data-testid":L.pushNotificationImage}):null,t?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(WA,{n:e}),(0,B.jsx)(XA,{n:e})]}):null]}),!t&&n?.imageUrl?(0,B.jsx)("img",{className:"thumb",src:n.imageUrl,alt:"","data-testid":L.pushNotificationImage}):null]})}function Eh({n:e,stacked:t=!1,hidden:a=!1,top:r=!1}){let o=He();return(0,B.jsxs)("div",{className:"swipe ios-swipe","data-swipe":"ios-note","data-id":e.id,"data-flip":`note:${e.id}`,hidden:a,children:[(0,B.jsxs)("div",{className:"swipe-actions",children:[(0,B.jsx)("button",{type:"button","data-action":"push-options","data-id":e.id,"data-testid":L.pushOptions,children:"Options"}),(0,B.jsx)("button",{type:"button","data-action":"push-clear","data-id":e.id,"data-testid":L.pushClear,children:"Clear"})]}),(0,B.jsx)(QA,{n:e,expanded:o.state.push.expanded===e.id,stacked:t,top:r})]})}function rV({to:e,items:t}){let a=He(),r=[],o=new Map;for(let l of t){let n=l.push?.app??"App";o.has(n)||r.push(n),o.set(n,[...o.get(n)??[],l])}return(0,B.jsx)(B.Fragment,{children:r.map(l=>{let n=o.get(l)??[],i=n[0];if(!i)return null;if(n.length===1)return(0,B.jsx)(Eh,{n:i},i.id);let s=Sh(e,l),u=n.length-1;return a.local.openGroups.has(s)?(0,B.jsxs)("div",{className:"push-group","data-testid":L.pushGroup,"data-app":l,"data-count":n.length,"data-open":"true","data-flip":`group:${l}`,children:[(0,B.jsxs)("div",{className:"group-head",children:[(0,B.jsx)("h3",{children:l}),(0,B.jsx)("button",{type:"button","data-action":"group-collapse","data-key":s,"data-testid":L.pushGroupCollapse,children:"Show less"}),(0,B.jsx)("button",{type:"button",className:"x","data-action":"group-clear","data-key":s,"data-app":l,"aria-label":`Clear ${l} notifications`,children:(0,B.jsx)(Q,{svg:q.close(14)})})]}),n.map(c=>(0,B.jsx)(Eh,{n:c},c.id))]},`group:${l}`):(0,B.jsxs)("div",{className:"push-group","data-testid":L.pushGroup,"data-app":l,"data-count":n.length,"data-open":"false","data-flip":`group:${l}`,children:[(0,B.jsx)(Eh,{n:i,top:!0}),(0,B.jsxs)("button",{type:"button",className:"stack-layers","data-action":"group-open","data-key":s,"data-testid":L.pushGroupMore,"data-count":u,"aria-label":`Show ${u} more notification${u===1?"":"s"}`,children:[(0,B.jsx)("div",{className:"ios-stack-more"}),u>1?(0,B.jsx)("div",{className:"ios-stack-more"}):null,(0,B.jsxs)("div",{className:"center-label",style:{fontSize:13,marginTop:6},children:[u," more notification",u===1?"":"s"]})]}),n.slice(1).map(c=>(0,B.jsx)(Eh,{n:c,stacked:!0,hidden:!0},c.id))]},`group:${l}`)})})}function oV({n:e}){let t=He(),a=ZA(),r=e.push,o=t.state.push.expanded===e.id,l=r?.app??"App",n=t.state.push.settings===e.id,i=t.local.silent.has(l);return(0,B.jsxs)("div",{className:`a-note ${o?"expanded":""} ${t.state.arrived.has(e.id)?"arrive":""}`,"data-action":"push-toggle","data-id":e.id,...a(e,{expanded:o}),"data-swipe":"a-note","data-longpress":"a-note","data-flip":`note:${e.id}`,role:"button",tabIndex:0,"aria-expanded":o,children:[(0,B.jsx)("span",{className:"a-icon",style:{background:li(l,tp)},"aria-hidden":"true",children:Wl(l).slice(0,1)}),(0,B.jsxs)("div",{className:"a-main",children:[(0,B.jsxs)("div",{className:"a-head",children:[(0,B.jsx)("span",{"data-testid":L.pushNotificationApp,children:l}),(0,B.jsx)("span",{children:"\\u2022"}),(0,B.jsx)("span",{"data-testid":L.pushNotificationTime,children:vA(e.createdAt,t.nowMs())}),i?(0,B.jsx)("span",{children:(0,B.jsx)(Q,{svg:q.bellSlash(12)})}):null,(0,B.jsx)("span",{className:"chev",children:(0,B.jsx)(Q,{svg:o?q.collapse():q.expand()})})]}),r?.title?(0,B.jsx)("div",{className:"a-title","data-testid":L.pushNotificationTitle,children:r.title}):null,(0,B.jsx)("div",{className:"a-body","data-testid":L.pushNotificationBody,children:r?.body??""}),o&&r?.imageUrl?(0,B.jsx)("img",{className:"big-picture",src:r.imageUrl,alt:"","data-testid":L.pushNotificationImage}):null,o?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(WA,{n:e}),(0,B.jsx)(XA,{n:e})]}):null,n?(0,B.jsxs)("div",{className:"a-settings","data-testid":L.pushSettings,"data-app":l,children:[(0,B.jsxs)("button",{type:"button",className:"opt","data-action":"push-alerting","data-app":l,"data-value":"alerting","aria-pressed":!i,children:[(0,B.jsx)(Q,{svg:q.bell()}),(0,B.jsxs)("span",{children:["Default",(0,B.jsx)("small",{children:"May ring or vibrate based on device settings"})]})]}),(0,B.jsxs)("button",{type:"button",className:"opt","data-action":"push-alerting","data-app":l,"data-value":"silent","aria-pressed":i,children:[(0,B.jsx)(Q,{svg:q.bellSlash(18)}),(0,B.jsxs)("span",{children:["Silent",(0,B.jsx)("small",{children:"No sound or vibration"})]})]}),(0,B.jsxs)("div",{className:"row",children:[(0,B.jsx)("button",{type:"button","data-action":"close-overlay",children:"Turn off notifications"}),(0,B.jsx)("button",{type:"button","data-action":"close-overlay",children:"Done"})]})]}):null]}),!o&&r?.imageUrl?(0,B.jsx)("img",{className:"large-icon",src:r.imageUrl,alt:"","data-testid":L.pushNotificationImage}):null]})}function JA(){let e=He(),t=e.state.push.to,a=e.pushItems(),r=a[0]?.push?.platform??"unknown",o=e.pushSkin(),l=new Date(e.nowMs()),n=e.cues.wake&&e.animate(),i={"data-testid":L.pushDevice,"data-skin":o,"data-recipient":t??"","data-platform":r};if(o==="android")return(0,B.jsx)("div",{className:"pixel mbn-skin",...i,children:(0,B.jsxs)("div",{className:"screen",children:[(0,B.jsx)("div",{className:"punch"}),(0,B.jsxs)("div",{className:"shade",children:[(0,B.jsxs)("div",{className:"sb",children:[(0,B.jsx)("span",{children:$h(l)}),(0,B.jsxs)("span",{className:"icons",children:[(0,B.jsx)(Q,{svg:q.androidWifi()}),(0,B.jsx)(Q,{svg:q.androidSignal()}),(0,B.jsx)(Q,{svg:q.androidBattery()})]})]}),(0,B.jsxs)("div",{className:"qs-head",children:[(0,B.jsx)("span",{children:l.toLocaleDateString([],{weekday:"short",month:"short",day:"numeric"})}),(0,B.jsx)(Q,{svg:q.gear()})]}),(0,B.jsxs)("div",{className:"qs",children:[(0,B.jsxs)("div",{className:"tile on",children:[(0,B.jsx)(Q,{svg:q.androidWifi()}),(0,B.jsxs)("div",{children:["Internet",(0,B.jsx)("small",{children:"Mockingbird"})]})]}),(0,B.jsxs)("div",{className:"tile",children:[(0,B.jsx)(Q,{svg:q.bell()}),(0,B.jsxs)("div",{children:["Do Not Disturb",(0,B.jsx)("small",{children:"Off"})]})]}),(0,B.jsxs)("div",{className:"tile",children:[(0,B.jsx)(Q,{svg:q.androidBattery()}),(0,B.jsxs)("div",{children:["Battery Saver",(0,B.jsx)("small",{children:"Off"})]})]}),(0,B.jsxs)("div",{className:"tile",children:[(0,B.jsx)(Q,{svg:q.lock()}),(0,B.jsxs)("div",{children:["Screen lock",(0,B.jsx)("small",{children:"On"})]})]})]}),(0,B.jsx)("div",{className:"qs-bright"}),(0,B.jsx)("div",{className:"shade-list",role:"list",children:a.length?a.map(u=>(0,B.jsx)(oV,{n:u},u.id)):(0,B.jsx)("div",{className:"shade-empty","data-testid":L.pushEmpty,children:"No notifications"})}),a.length?(0,B.jsxs)("div",{className:"shade-actions",children:[(0,B.jsx)("button",{type:"button","data-action":"close-overlay",children:"Manage"}),(0,B.jsx)("button",{type:"button","data-action":"push-clear-all","data-testid":L.pushClearAll,children:"Clear all"})]}):null,(0,B.jsx)("div",{className:"gesture"})]})]})});let s=e.state.push.preview?a.find(u=>u.id===e.state.push.preview):null;return(0,B.jsx)("div",{className:"iphone mbn-skin",...i,children:(0,B.jsxs)("div",{className:"screen",children:[(0,B.jsx)("div",{className:"island"}),(0,B.jsx)(A7,{light:!0}),(0,B.jsxs)("div",{className:`lock ${n?"wake":""}`,children:[(0,B.jsx)("div",{className:"padlock",children:(0,B.jsx)(Q,{svg:q.padlock()})}),(0,B.jsx)("div",{className:"date",children:l.toLocaleDateString([],{weekday:"long",month:"long",day:"numeric"})}),(0,B.jsx)("div",{className:"clock",children:fo(l).replace(/\\s?[AP]M$/i,"")}),(0,B.jsx)("div",{className:"lock-stack",role:"list",children:a.length&&t?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)("div",{className:"center-label",children:"Notification Center"}),(0,B.jsx)(rV,{to:t,items:a})]}):(0,B.jsx)("div",{className:"lock-empty","data-testid":L.pushEmpty,children:t?"No Older Notifications":"No push notifications yet"})}),(0,B.jsxs)("div",{className:"lock-buttons",children:[(0,B.jsx)("span",{children:(0,B.jsx)(Q,{svg:q.flashlight()})}),(0,B.jsx)("span",{children:(0,B.jsx)(Q,{svg:q.camera()})})]}),s?(0,B.jsxs)("div",{className:"ios-overlay dark","data-action":"close-overlay","data-testid":L.pushPreview,"data-notification-id":s.id,role:"dialog","aria-label":"Notification preview",children:[(0,B.jsx)(QA,{n:s,expanded:!0}),(0,B.jsxs)("div",{className:"ios-menu",role:"menu",children:[(0,B.jsx)("button",{type:"button",role:"menuitem","data-action":"push-clear","data-id":s.id,children:"Clear"}),(0,B.jsx)("button",{type:"button",role:"menuitem","data-action":"close-overlay",children:"Options"})]})]}):null]}),(0,B.jsx)("div",{className:"home-indicator light"})]})})}var N7=e=>e.currentCSSZoom||1;function eN(e,t){let a=new AbortController,r=(y,E,C=!1)=>e.addEventListener(y,E,{signal:a.signal,capture:C}),{actions:o,state:l,later:n,animate:i}=t,s=(y,E)=>{if(!i())return E();y.style.height=`${y.offsetHeight}px`,y.classList.add("collapsing"),y.offsetHeight,Object.assign(y.style,{height:"0px",marginTop:"0px",marginBottom:"0px",paddingTop:"0px",paddingBottom:"0px",opacity:"0"}),n(270,E)},u=(y,E,C,S)=>{if(!i())return S();y.classList.add("settling"),E.classList.add("settling"),E.style.transform=`translateX(${C*(y.offsetWidth+40)}px)`,E.style.opacity="0",n(230,()=>s(y,S))},c=y=>e.querySelector(y),d=y=>y.querySelector(".swipe-card")??y,f=(y,E=-1)=>{let C=c(`.ios-swipe[data-id="${CSS.escape(y)}"]`)??c(`.a-note[data-id="${CSS.escape(y)}"]`),S=()=>o.dismissPush(y);if(!C)return S();u(C,d(C),E,S)},b=y=>{let E=c(`.thread-swipe[data-from="${CSS.escape(y)}"]`),C=()=>o.deleteThread(y);if(!E)return C();u(E,d(E),-1,C)},m=(y,E,C=-1)=>{let S=c(`.mrow-swipe[data-id="${CSS.escape(y)}"]`),D=()=>o.archiveEmail(y,E);if(!S)return D();u(S,d(S),C,D)},p=null,x=!1;t.setGesturing(()=>p!==null);let h=(y,E)=>{let C=d(y);C.style.transform=E?`translateX(${E}px)`:"",y.dataset.swipe==="a-note"&&(C.style.opacity=String(1-Math.min(.9,Math.abs(E)/y.offsetWidth)))},g=(y,E,C)=>{y.classList.add("settling"),y.classList.toggle("open",C),h(y,E),n(340,()=>{y.classList.remove("settling","swiping"),y.dataset.offset=String(E)})},$=y=>{let E=y.dataset.longpress??"",C=y.dataset.notificationId??y.dataset.id??"";o.longPress(E,C)};r("pointerdown",y=>{if(t.sound.unlock(),x=!1,y.button!==0||!y.isPrimary)return;let E=y.target;if(E.closest("select, input, .swipe-actions button, .ios-overlay"))return;let C=E.closest("[data-swipe]"),S=E.closest("[data-longpress]");if(!(!C&&!S)&&(p={pointerId:y.pointerId,x0:y.clientX,y0:y.clientY,t0:performance.now(),dx:0,axis:null,swipe:C,press:S,base:Number(C?.dataset.offset??0),timer:null},S)){let D=p;D.timer=setTimeout(()=>{p!==D||D.axis||(x=!0,p=null,$(S))},480)}}),r("pointermove",y=>{if(!p||y.pointerId!==p.pointerId)return;let E=N7(p.swipe??e),C=(y.clientX-p.x0)/E,S=(y.clientY-p.y0)/E;if(!p.axis){if(Math.hypot(C,S)<8)return;if(p.axis=Math.abs(C)>Math.abs(S)?"x":"y",p.timer&&clearTimeout(p.timer),p.axis==="x"&&p.swipe){p.swipe.classList.add("swiping"),p.swipe.classList.remove("settling"),d(p.swipe).classList.remove("settling");try{p.swipe.setPointerCapture(y.pointerId)}catch{}}}if(p.axis!=="x"||!p.swipe)return;y.preventDefault(),p.dx=C;let D=p.swipe.dataset.swipe,k=p.base+C;if(D==="sms-convo"){let _=Math.max(0,Math.min(72,-C));p.swipe.style.setProperty("--reveal",`${_}px`);return}D==="ios-note"&&k>0&&(k=k*.35),(D==="mrow"||D==="a-note")&&(k=C),h(p.swipe,k)});let v=y=>{if(!p||y.pointerId!==p.pointerId)return;let E=p;if(p=null,E.timer&&clearTimeout(E.timer),E.axis!=="x"||!E.swipe)return;x=!0;let C=E.swipe,S=C.dataset.swipe,D=C.offsetWidth||1,k=E.dx/Math.max(1,performance.now()-E.t0),_=E.base+E.dx;if(S==="sms-convo")C.classList.add("settling"),C.style.setProperty("--reveal","0px"),n(320,()=>C.classList.remove("settling"));else if(S==="ios-note"){let J=C.dataset.id??"";_<-D*.7||k<-1.1&&_<-60?f(J):_<-60?g(C,-160,!0):_>70?(g(C,0,!1),o.pushExpand(J)):g(C,0,!1)}else if(S==="a-note")Math.abs(_)>D*.4||Math.abs(k)>.7?f(C.dataset.id??"",Math.sign(_)||1):g(C,0,!1);else if(S==="sms-thread"){let J=C.dataset.from??"";_<-D*.6?b(J):_<-50?g(C,-148,!0):_>50?g(C,148,!0):g(C,0,!1)}else S==="mrow"&&(Math.abs(_)>D*.35||Math.abs(k)>.8?m(C.dataset.id??"","archived",Math.sign(_)||1):g(C,0,!1))};return r("pointerup",v),r("pointercancel",v),r("contextmenu",y=>{let E=y.target.closest("[data-longpress]");E&&(y.preventDefault(),$(E))}),r("click",y=>{x&&(x=!1,y.stopPropagation(),y.preventDefault())},!0),r("click",y=>{let E=y.target.closest("[data-action]");if(!E||!e.contains(E))return;let C=E.closest(".swipe.open");if(C&&E.classList.contains("swipe-card")){g(C,0,!1);return}let S=E.dataset.action,D=E.dataset.id??"",k=E.dataset.from??"";switch(S){case"chat-channel":o.chatChannel(E.dataset.value??"");break;case"sms-open":o.smsOpen(k);break;case"sms-back":o.smsBack();break;case"thread-delete":b(k);break;case"thread-pin":o.threadPin(k);break;case"thread-mute":o.threadMute(k);break;case"thread-unread":o.threadUnread(k);break;case"tapback":o.tapback(D,E.dataset.value);break;case"sms-copy":o.smsCopy(D);break;case"sms-copy-code":o.copy(E.dataset.code??"");break;case"close-overlay":o.closeOverlays();break;case"push-toggle":o.pushToggle(D,E.dataset.groupTop==="true");break;case"push-clear":l.push.preview=null,f(D);break;case"push-options":o.pushOptions(D);break;case"push-alerting":o.pushAlerting(E.dataset.app??"App",E.dataset.value==="silent");break;case"push-clear-all":{let _=[...e.querySelectorAll(".shade-list .a-note")],J=_.map(M=>M.dataset.id??""),ne=()=>o.dismissMany(J);if(!i())return ne();_.forEach((M,H)=>{n(H*60,()=>{M.classList.add("settling"),M.style.transform=`translateX(${M.offsetWidth+40}px)`,M.style.opacity="0"})}),n(_.length*60+300,ne);break}case"group-open":o.groupOpen(E.dataset.key??"");break;case"group-collapse":o.groupCollapse(E.dataset.key??"");break;case"group-clear":o.groupClear(E.dataset.key??"",E.dataset.app??"App");break;case"skin":o.setSkin(E.dataset.value??"auto");break;case"mail-open":o.mailOpen(D);break;case"mail-back":o.mailBack();break;case"mail-details":o.mailDetails();break;case"mail-archive":m(D,"archived");break;case"mail-delete":m(D,"deleted");break;case"mail-unread":o.mailUnread(D);break;case"mail-toggle-read":o.mailToggleRead(D);break;case"mail-star":o.mailStar(D);break;case"mail-check":o.mailCheck(D);break;case"toast-undo":o.toastUndo();break;case"toast-close":o.toastClose();break;case"refresh":o.refresh();break}}),r("dblclick",y=>{let E=y.target.closest("[data-notification-id]");E?.closest("[data-region=devices]")&&o.inspect(E.dataset.notificationId??null)}),r("keydown",y=>{t.sound.unlock();let E=y.target;if(y.key==="Escape"){o.closeOverlays()&&y.stopPropagation();return}if(!E.matches("input, select, textarea")&&E.closest("[data-region=devices]")){if(y.key==="ContextMenu"||y.shiftKey&&y.key==="F10"){let C=E.closest("[data-longpress]");C&&(y.preventDefault(),$(C));return}if(y.key==="Delete"||y.key==="Backspace"||y.key==="#"||y.key==="e"){let C=E.dataset.id??"";E.matches("[data-testid=push-notification]")&&y.key!=="e"?(y.preventDefault(),f(C)):E.matches("[data-testid=sms-thread]")&&y.key!=="e"?(y.preventDefault(),b(E.dataset.from??"")):E.matches("[data-testid=email-row]")&&(y.preventDefault(),m(C,y.key==="e"?"archived":"deleted"));return}(y.key==="Enter"||y.key===" ")&&E.matches("[role=button]:not(button)")&&(y.preventDefault(),E.click())}}),()=>{a.abort(),t.setGesturing(()=>!1)}}var M7=(e,t)=>{let a=e.replace(/\\/\\*[\\s\\S]*?\\*\\//g,""),r="",o=0;for(;o<a.length;){let l=a.indexOf("{",o);if(l<0)break;let n=a.slice(o,l).trim(),i=1,s=l+1;for(;s<a.length&&i>0;)a[s]==="{"?i++:a[s]==="}"&&i--,s++;let u=a.slice(l+1,s-1);/^@(media|container|supports|layer)\\b/.test(n)?r+=`${n} {\n${M7(u,t)}}\n`:n.startsWith("@")?r+=`${n} {${u}}\n`:r+=`${lV(n,t)} {${u}}\n`,o=s}return r},lV=(e,t)=>nV(e).map(a=>{let r=a.trim();return r===":root"||r==="html"||r==="body"?t:r.startsWith(":root")?`${t}${r.slice(5)}`:r.startsWith("&")?`${t}${r.slice(1)}`:`${t} ${r}`}).join(", "),nV=e=>{let t=[],a=0,r=0;for(let o=0;o<e.length;o++){let l=e[o];l==="("?a++:l===")"?a--:l===","&&a===0&&(t.push(e.slice(r,o)),r=o+1)}return t.push(e.slice(r)),t};var P7="mb-notifications",iV=`\n:root {\n --ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;\n --android: "Google Sans Text", "Google Sans", Roboto, "Segoe UI", system-ui, sans-serif;\n --mail: "Google Sans", Roboto, RobotoDraft, Helvetica, Arial, sans-serif;\n --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n -webkit-tap-highlight-color: transparent;\n\n /* iOS (Messages, lock screen): UIKit\'s system colors */\n --ios-bg: light-dark(#fff, #000);\n --ios-label: light-dark(#000, #fff);\n --ios-label-2: light-dark(rgba(60,60,67,.6), rgba(235,235,245,.6));\n --ios-label-3: light-dark(#c4c4c6, rgba(235,235,245,.3));\n --ios-separator: light-dark(#c6c6c8, #38383a);\n --ios-blue: light-dark(#007aff, #0a84ff);\n --ios-yellow: light-dark(#ffcc00, #ffd60a);\n --ios-indigo: light-dark(#5856d6, #5e5ce6);\n --ios-red: light-dark(#ff3b30, #ff453a);\n --ios-fill: light-dark(rgba(118,118,128,.12), rgba(118,118,128,.24));\n --ios-pressed: light-dark(#e5e5ea, #2c2c2e);\n --ios-bar: light-dark(rgba(249,249,249,.94), rgba(29,29,29,.94));\n --ios-bar-edge: light-dark(rgba(0,0,0,.18), rgba(255,255,255,.15));\n --ios-bubble-in: light-dark(#e9e9eb, #26252a);\n --ios-field-edge: light-dark(#c6c6c8, #3a3a3c);\n --ios-placeholder: light-dark(#c4c4c6, #5b5b5f);\n --ios-button-fill: light-dark(#e9e9eb, #2c2c2e);\n --ios-suggestion: light-dark(#d1d3d9, #3a3a3c);\n --ios-suggestion-label: light-dark(#3c3c43, rgba(235,235,245,.6));\n --ios-material: light-dark(rgba(246,246,246,.66), rgba(37,37,37,.62));\n --ios-material-thin: light-dark(rgba(246,246,246,.6), rgba(37,37,37,.6));\n --ios-material-stack: light-dark(rgba(246,246,246,.42), rgba(37,37,37,.44));\n --ios-material-stack-2: light-dark(rgba(246,246,246,.28), rgba(37,37,37,.3));\n --ios-material-edge: light-dark(rgba(255,255,255,.25), rgba(255,255,255,.08));\n --ios-material-label: light-dark(#000, #fff);\n --ios-material-label-2: light-dark(rgba(60,60,67,.62), rgba(235,235,245,.6));\n --ios-material-label-3: light-dark(rgba(60,60,67,.7), rgba(235,235,245,.6));\n --ios-material-well: light-dark(rgba(255,255,255,.55), rgba(0,0,0,.28));\n --ios-material-well-label: light-dark(#1c1c1e, #f2f2f7);\n --ios-menu: light-dark(rgba(237,237,237,.86), rgba(37,37,37,.86));\n --ios-menu-separator: light-dark(rgba(60,60,67,.29), rgba(84,84,88,.6));\n --ios-menu-pressed: light-dark(rgba(0,0,0,.08), rgba(255,255,255,.1));\n --ios-overlay: light-dark(rgba(255,255,255,.28), rgba(0,0,0,.4));\n --ios-overlay-dim: light-dark(rgba(0,0,0,.28), rgba(0,0,0,.45));\n --ios-tapback-bar: light-dark(rgba(233,233,235,.96), rgba(44,44,46,.96));\n /* Dark Mode dims the wallpaper behind the lock screen. */\n --ios-wallpaper-dim: light-dark(transparent, rgba(0,0,0,.3));\n\n /* WhatsApp on iOS */\n --wa-green: light-dark(#1daa61, #21c063);\n --wa-wallpaper: light-dark(#efeae2, #0b141a);\n --wa-bar: light-dark(rgba(246,246,246,.96), rgba(29,29,29,.96));\n --wa-bubble-in: light-dark(#fff, #202c33);\n --wa-label: light-dark(#000, #e9edef);\n --wa-meta: light-dark(#667781, #8696a0);\n --wa-stamp: light-dark(rgba(255,255,255,.92), #182229);\n --wa-stamp-label: light-dark(#54656f, #8696a0);\n --wa-chip: light-dark(#d9fdd3, #103529);\n --wa-chip-label: light-dark(#0a7a43, #21c063);\n --wa-input-bar: light-dark(#f6f6f6, #1c1c1e);\n --wa-field: light-dark(#fff, #2c2c2e);\n --wa-field-edge: light-dark(#e2e2e2, #3a3a3c);\n\n /* Android notification shade: Material You */\n --md-scrim: light-dark(rgba(247,242,250,.94), rgba(20,18,24,.94));\n --md-scrim-2: light-dark(rgba(247,242,250,.98), rgba(20,18,24,.98));\n --md-glow: light-dark(#e8def8, #4b3f72);\n --md-surface: light-dark(#f7f2fa, #141218);\n --md-on-surface: light-dark(#1d1b20, #e6e1e5);\n --md-on-surface-variant: light-dark(#49454f, #cac4d0);\n --md-outline: light-dark(#79747e, #938f99);\n --md-outline-variant: light-dark(#cac4d0, #49454f);\n --md-tile: light-dark(#e6e0e9, #36343b);\n --md-primary: light-dark(#6750a4, #d0bcff);\n --md-on-primary: light-dark(#fff, #381e72);\n --md-secondary-container: light-dark(#e8def8, #4a4458);\n --md-card: light-dark(#fffbfe, #2b2930);\n --md-card-chip: light-dark(#e8def8, #49454f);\n --md-well: light-dark(#f3edf7, #1d1b20);\n --md-handle: light-dark(rgba(0,0,0,.6), rgba(255,255,255,.75));\n\n /* Webmail: Gmail\'s light and dark themes */\n --mail-chrome: light-dark(#dfe3e9, #202124);\n --mail-omnibox: light-dark(#fff, #35363a);\n --mail-omnibox-label: light-dark(#5f6368, #bdc1c6);\n --mail-bg: light-dark(#f8fafd, #131314);\n --mail-surface: light-dark(#fff, #1f1f1f);\n --mail-label: light-dark(#1f1f1f, #e3e3e3);\n --mail-label-row: light-dark(#202124, #e3e3e3);\n --mail-label-2: light-dark(#5f6368, #a8abaf);\n --mail-label-3: light-dark(#5e5e5e, #a8abaf);\n --mail-icon: light-dark(#444746, #c4c7c5);\n --mail-hover: light-dark(rgba(68,71,70,.08), rgba(227,227,227,.08));\n --mail-search: light-dark(#e9eef6, #2d2f31);\n --mail-compose: light-dark(#c2e7ff, #004a77);\n --mail-on-compose: light-dark(#001d35, #c2e7ff);\n --mail-nav-active: light-dark(#d3e3fd, #004a77);\n --mail-on-nav-active: light-dark(#001d35, #d3e3fd);\n --mail-accent: light-dark(#0b57d0, #a8c7fa);\n --mail-divider: light-dark(#f1f3f4, #2d2f31);\n --mail-outline: light-dark(#dadce0, #444746);\n --mail-row-read: light-dark(#f2f6fc, #19191a);\n --mail-row-unread: light-dark(#fff, #1f1f1f);\n --mail-row-shadow: light-dark(rgba(60,64,67,.3), rgba(0,0,0,.6));\n --mail-row-shadow-2: light-dark(rgba(60,64,67,.15), rgba(0,0,0,.3));\n --mail-row-flash: light-dark(#fef7e0, #3c3523);\n --mail-check: light-dark(#c4c7c5, #8e918f);\n --mail-star: light-dark(#f4b400, #fdd663);\n --mail-chip: light-dark(#ddd, #444746);\n --mail-text: light-dark(#222, #e3e3e3);\n --mail-link: light-dark(#1155cc, #8ab4f8);\n --mail-file: light-dark(#d93025, #f28b82);\n --mail-file-well: light-dark(#f1f3f4, #2d2f31);\n --mail-button-edge: light-dark(#747775, #8e918f);\n --mail-toast: light-dark(#303030, #e3e3e3);\n --mail-on-toast: light-dark(#f2f2f2, #1f1f1f);\n --mail-toast-action: light-dark(#a8c7fa, #0b57d0);\n\n /* Team chat: Slack\'s light and dark themes */\n --chat-bg: light-dark(#fff, #1a1d21);\n --chat-label: light-dark(#1d1c1d, #d1d2d3);\n --chat-label-2: light-dark(#616061, #ababad);\n --chat-side: light-dark(#2f1d3a, #19171d);\n --chat-side-label: light-dark(#cfc3d4, #b9babd);\n --chat-side-edge: light-dark(rgba(255,255,255,.1), rgba(255,255,255,.08));\n --chat-side-active: light-dark(#5b3a70, #1164a3);\n --chat-divider: light-dark(#e3e3e3, #35373b);\n --chat-hover: light-dark(#f8f8f8, #222529);\n --chat-new: light-dark(#fffbea, rgba(242,199,68,.1));\n --chat-ephemeral: light-dark(#f6f6f6, #222529);\n --chat-tag: light-dark(#e8e8e8, #35373b);\n --chat-tag-label: light-dark(#555, #ababad);\n --chat-link: light-dark(#1264a3, #1d9bd1);\n --chat-code: light-dark(#f4f4f4, #222529);\n --chat-code-edge: light-dark(#dcdcdc, #35373b);\n --chat-code-label: light-dark(#c0143c, #e8912d);\n --chat-pre: light-dark(#f7f7f7, #222529);\n --chat-mention: light-dark(#e8f1fa, rgba(29,155,209,.1));\n --chat-quote: light-dark(#ddd, #565856);\n --chat-control-edge: light-dark(#bbb, #565856);\n --chat-placeholder: light-dark(#8a8a8a, #9a9b9e);\n --chat-reaction: light-dark(#f0f0f0, #2c2d30);\n --chat-reaction-edge: light-dark(#e0e0e0, #35373b);\n --chat-unknown-edge: light-dark(#ccc, #565856);\n}\n.mbn-skin, .mbn-skin *, .mbn-skin *::before, .mbn-skin *::after { box-sizing: border-box; }\n.mbn-skin button { font: inherit; color: inherit; cursor: pointer; }\n.mbn-skin h1, .mbn-skin h2, .mbn-skin h3 { margin: 0; }\n.mbn-i { display: contents; }\n/* The shared stylesheet\'s reset makes images and icons blocks; the skins draw them inline, as a\n browser does by default, and place them where they need otherwise. */\n.mbn-skin svg, .mbn-skin img { display: inline; vertical-align: baseline; }\n[hidden] { display: none !important; }\n&[data-motion="reduce"] *, &[data-motion="reduce"] *::before, &[data-motion="reduce"] *::after { animation: none !important; transition: none !important; }\n.mbn-skin [role="button"]:focus-visible, .mbn-skin .icon-btn:focus-visible, .mbn-skin [tabindex]:focus-visible { outline: 2px solid #0a84ff; outline-offset: 2px; }\n\n/* \\u2500\\u2500 Device frames: side by side, or one at a time \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 */\n.devices { display: flex; flex-wrap: wrap; gap: 28px; padding: 20px 16px 40px; align-items: flex-start; justify-content: center; zoom: var(--mbn-scale, 1); }\n.devices.solo .device-col.wide { max-width: 1280px; }\n.device-col { display: flex; flex-direction: column; gap: 12px; align-items: center; width: 362px; flex: none; }\n.device-col.wide { flex: 3 1 480px; width: auto; min-width: 0; max-width: 1180px; align-items: stretch; }\n.device-col.wide.chat-col { flex: 2 1 340px; max-width: 760px; }\n.devices.solo .device-col.wide.chat-col { max-width: 980px; }\n&[data-layout="tabs"] .devices { padding: 14px 8px 32px; gap: 0; }\n&[data-layout="tabs"] .device-col.wide { flex-basis: 100%; }\n&[data-layout="tabs"] .iphone, &[data-layout="tabs"] .pixel { zoom: var(--mbn-fit, 1); }\n&[data-layout="tabs"] .device-col:not(.wide) { width: auto; max-width: 100%; }\n&[data-layout="tabs"] .device-col:not(.wide) .device-head { width: calc(362px * var(--mbn-fit, 1)); }\n/* \\u2500\\u2500 Phone hardware \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 */\n.iphone { position: relative; width: 362px; height: 760px; border-radius: 58px; padding: 12px; background: #0b0b0c;\n box-shadow: 0 0 0 2px #3a3a3c, 0 0 0 6px #1c1c1e, 0 0 0 7px #4a4a4e, 0 40px 80px rgba(0,0,0,.55); }\n.iphone::before, .iphone::after { content: ""; position: absolute; left: -9px; width: 4px; border-radius: 2px; background: #2c2c2e; }\n.iphone::before { top: 150px; height: 60px; }\n.iphone::after { top: 225px; height: 60px; }\n/* clip-path as well as overflow: under zoom, Chromium lets a blurred bar (backdrop-filter) square off the rounded corners. */\n.iphone .screen { position: relative; width: 100%; height: 100%; border-radius: 47px; overflow: hidden; clip-path: inset(0 round 47px); background: var(--ios-bg); font-family: var(--ios); color: var(--ios-label); -webkit-font-smoothing: antialiased; }\n.island { position: absolute; z-index: 30; top: 11px; left: 50%; transform: translateX(-50%); width: 112px; height: 33px; border-radius: 20px; background: #000; }\n.statusbar { position: absolute; z-index: 25; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 32px 0 40px; font: 600 16px/1 var(--ios); letter-spacing: -.01em; }\n.statusbar .icons { display: flex; gap: 6px; align-items: center; }\n.statusbar.light { color: #fff; }\n.home-indicator { position: absolute; z-index: 30; bottom: 8px; left: 50%; transform: translateX(-50%); width: 134px; height: 5px; border-radius: 3px; background: var(--ios-label); }\n.home-indicator.light { background: rgba(255,255,255,.9); }\n\n.pixel { position: relative; width: 352px; height: 760px; border-radius: 44px; padding: 10px; background: #111;\n box-shadow: 0 0 0 2px #2b2b2f, 0 0 0 5px #3c3c41, 0 40px 80px rgba(0,0,0,.55); }\n.pixel::after { content: ""; position: absolute; right: -7px; top: 170px; width: 4px; height: 90px; border-radius: 2px; background: #2c2c2e; }\n.pixel .screen { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; clip-path: inset(0 round 35px); font-family: var(--android); }\n.punch { position: absolute; z-index: 30; top: 12px; left: 50%; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: #050505; box-shadow: inset 0 0 0 2px #1a1a1a; }\n\n/* \\u2500\\u2500 Messages (iOS) \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 */\n.msgs { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--ios-bg); }\n.msgs-nav { padding: 54px 16px 0; }\n.msgs-nav .row { display: flex; justify-content: space-between; align-items: center; height: 44px; color: var(--ios-blue); font-size: 17px; }\n.msgs-nav h1 { margin: 2px 0 8px; font: 700 34px/41px var(--ios); letter-spacing: .01em; }\n.ios-search { display: flex; align-items: center; gap: 6px; height: 36px; border-radius: 10px; background: var(--ios-fill); color: var(--ios-label-2); padding: 0 8px; font-size: 17px; margin-bottom: 8px; }\n.ios-search span { flex: 1; }\n.threads { flex: 1; overflow-y: auto; }\n.thread { position: relative; display: flex; gap: 12px; padding: 10px 16px 0 26px; cursor: pointer; }\n.thread:active { background: var(--ios-pressed); }\n.thread .unread { position: absolute; left: 8px; top: 30px; width: 10px; height: 10px; border-radius: 50%; background: var(--ios-blue); }\n.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 18px var(--ios); background: linear-gradient(180deg,#a5abb8,#858994); }\n.thread .text { flex: 1; min-width: 0; border-bottom: .5px solid var(--ios-separator); padding-bottom: 10px; }\n.thread .top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }\n.thread .name { font: 600 17px/22px var(--ios); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.thread .when { flex: none; color: var(--ios-label-2); font-size: 15px; display: flex; align-items: center; gap: 6px; }\n.thread .when .mbn-i { color: var(--ios-label-3); }\n.thread .preview { color: var(--ios-label-2); font-size: 15px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -.01em; }\n.empty-ios { flex: 1; display: grid; place-items: center; color: var(--ios-label-2); font-size: 17px; text-align: center; padding: 40px; }\n\n.convo { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--ios-bg); }\n.convo-nav { position: relative; z-index: 5; padding-top: 50px; background: var(--ios-bar); backdrop-filter: blur(20px); border-bottom: .5px solid var(--ios-bar-edge); }\n.convo-nav .bar { position: relative; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }\n.convo-nav .back { position: absolute; left: 8px; top: 8px; display: flex; align-items: center; color: var(--ios-blue); font-size: 17px; background: none; border: 0; padding: 4px; }\n.convo-nav .back .badge { background: var(--ios-blue); color: #fff; border-radius: 10px; font-size: 13px; min-width: 20px; padding: 0 6px; line-height: 20px; margin-left: 2px; }\n.convo-nav .avatar { width: 54px; height: 54px; font-size: 22px; }\n.convo-nav .who { font-size: 12px; display: flex; align-items: center; gap: 2px; }\n.convo-body { flex: 1; overflow-y: auto; padding: 8px 0 12px; }\n.stamp { text-align: center; color: var(--ios-label-2); font-size: 12px; margin: 14px 0 6px; }\n.stamp b { font-weight: 600; }\n.bubble-row { display: flex; padding: 0 14px; margin-top: 2px; }\n.bubble-row.gap { margin-top: 10px; }\n.bubble { position: relative; max-width: 74%; padding: 7px 12px 8px; border-radius: 18px; background: var(--ios-bubble-in); color: var(--ios-label); font-size: 17px; line-height: 22px; letter-spacing: -.02em; white-space: pre-wrap; overflow-wrap: anywhere; }\n.bubble.tail::before { content: ""; position: absolute; bottom: 0; left: -7px; width: 20px; height: 20px; background: var(--ios-bubble-in); border-bottom-right-radius: 15px; }\n.bubble.tail::after { content: ""; position: absolute; bottom: 0; left: -10px; width: 10px; height: 20px; background: var(--ios-bg); border-bottom-right-radius: 10px; }\n.bubble a, .bubble .code { color: inherit; text-decoration: underline; text-underline-offset: 2px; }\n.bubble .media { display: block; max-width: 100%; border-radius: 12px; margin: 2px 0 4px; }\n.bubble.arrive { animation: mbn-pop .35s cubic-bezier(.2,.9,.3,1.3); }\n.delivered-note { padding: 2px 16px 0 26px; color: var(--ios-label-2); font-size: 11px; }\n.convo-input { display: flex; align-items: flex-end; gap: 8px; padding: 6px 10px 32px; background: var(--ios-bg); }\n.convo-input .plus { width: 34px; height: 34px; border-radius: 50%; background: var(--ios-button-fill); display: grid; place-items: center; flex: none; }\n.convo-input .field-ios { flex: 1; height: 36px; border: 1px solid var(--ios-field-edge); border-radius: 18px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 14px; color: var(--ios-placeholder); font-size: 17px; }\n.qt { margin: 0 10px 6px; padding: 8px 12px; border-radius: 10px; background: var(--ios-suggestion); text-align: center; font-size: 15px; color: var(--ios-label); }\n.qt small { display: block; font-size: 12px; color: var(--ios-suggestion-label); }\n\n/* \\u2500\\u2500 Lock screen (iOS) \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 */\n.lock { position: absolute; inset: 0; color: #fff; overflow: hidden;\n background: linear-gradient(var(--ios-wallpaper-dim), var(--ios-wallpaper-dim)), radial-gradient(120% 70% at 20% 10%, #6f86ff 0%, transparent 55%), radial-gradient(90% 60% at 90% 30%, #ff7eb3 0%, transparent 60%), radial-gradient(120% 80% at 50% 100%, #1d1b4a 0%, transparent 70%), linear-gradient(180deg,#3a3f9f,#141433); }\n.lock .padlock { position: absolute; top: 56px; left: 50%; transform: translateX(-50%); opacity: .95; }\n.lock .date { position: absolute; top: 84px; width: 100%; text-align: center; font: 600 19px var(--ios); letter-spacing: .01em; opacity: .92; }\n.lock .clock { position: absolute; top: 102px; width: 100%; text-align: center; font: 700 92px/1 "SF Pro Rounded", var(--ios); letter-spacing: -.02em; color: rgba(255,255,255,.93); }\n.lock-stack { position: absolute; left: 10px; right: 10px; top: 236px; bottom: 112px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; scrollbar-width: none; }\n.lock-stack::-webkit-scrollbar { display: none; }\n.lock-stack .center-label { text-align: center; font: 600 15px var(--ios); opacity: .85; padding: 4px 0; }\n.ios-note { position: relative; display: flex; gap: 10px; padding: 11px 12px 12px 11px; border-radius: 22px; color: var(--ios-material-label); background: var(--ios-material); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); cursor: pointer; box-shadow: 0 1px 0 var(--ios-material-edge) inset; }\n.ios-note.arrive { animation: mbn-drop .45s cubic-bezier(.2,.9,.3,1.15); }\n.ios-note .app-icon { flex: none; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; color: #fff; font: 700 18px var(--ios); box-shadow: 0 0 0 .5px rgba(0,0,0,.08); }\n.ios-note .content { flex: 1; min-width: 0; }\n.ios-note .line1 { display: flex; justify-content: space-between; gap: 8px; }\n.ios-note .title { font: 600 15px/20px var(--ios); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ios-note .time { flex: none; font-size: 13px; color: var(--ios-material-label-2); }\n.ios-note .body { font: 400 15px/20px var(--ios); letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }\n.ios-note .thumb { flex: none; width: 38px; height: 38px; border-radius: 7px; object-fit: cover; align-self: center; }\n.ios-note.expanded .body { -webkit-line-clamp: unset; }\n.ios-note .hero { width: 100%; border-radius: 12px; margin-top: 8px; display: block; }\n.note-data { margin-top: 8px; font: 12px/1.45 var(--mono); background: var(--ios-material-well); border-radius: 10px; padding: 8px 10px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ios-material-well-label); }\n.note-meta { margin-top: 6px; font-size: 12px; color: var(--ios-material-label-3); }\n.ios-stack-more { position: relative; height: 18px; margin: -14px 14px 0; border-radius: 0 0 18px 18px; background: var(--ios-material-stack); backdrop-filter: blur(20px); }\n.ios-stack-more + .ios-stack-more { margin: -10px 26px 0; background: var(--ios-material-stack-2); }\n.lock-buttons { position: absolute; bottom: 46px; left: 46px; right: 46px; display: flex; justify-content: space-between; }\n.lock-buttons span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.28); backdrop-filter: blur(20px); }\n.lock-empty { text-align: center; font: 500 15px var(--ios); opacity: .7; margin-top: 30px; }\n\n/* \\u2500\\u2500 Notification shade (Android) \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 */\n.shade { position: absolute; inset: 0; color: var(--md-on-surface); background: linear-gradient(180deg, var(--md-scrim), var(--md-scrim-2)), radial-gradient(100% 60% at 30% 0%, var(--md-glow), var(--md-surface)); overflow: hidden; }\n.shade .sb { position: absolute; top: 0; left: 0; right: 0; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 6px 24px 0; font: 500 14px var(--android); color: var(--md-on-surface); }\n.shade .sb .icons { display: flex; gap: 5px; align-items: center; }\n.shade .qs-head { position: absolute; top: 46px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; font: 400 15px var(--android); color: var(--md-on-surface-variant); }\n.qs { position: absolute; top: 80px; left: 14px; right: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }\n.qs .tile { height: 60px; border-radius: 20px; background: var(--md-tile); display: flex; align-items: center; gap: 10px; padding: 0 14px; font: 500 14px var(--android); color: var(--md-on-surface); min-width: 0; }\n.qs .tile > div { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.qs .tile svg { flex: none; }\n.qs .tile.on { background: var(--md-primary); color: var(--md-on-primary); }\n.qs .tile small { display: block; font-weight: 400; font-size: 12px; opacity: .8; }\n.qs-bright { position: absolute; top: 216px; left: 14px; right: 14px; height: 44px; border-radius: 22px; background: var(--md-tile); overflow: hidden; }\n.qs-bright::before { content: ""; position: absolute; inset: 0 44% 0 0; background: var(--md-primary); border-radius: 22px; }\n.shade-list { position: absolute; top: 276px; left: 10px; right: 10px; bottom: 92px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; scrollbar-width: none; }\n.shade-list::-webkit-scrollbar { display: none; }\n.a-note { background: var(--md-card); border-radius: 6px; padding: 14px 16px 14px 14px; cursor: pointer; display: flex; gap: 12px; }\n.a-note:first-child { border-top-left-radius: 26px; border-top-right-radius: 26px; }\n.a-note:last-child { border-bottom-left-radius: 26px; border-bottom-right-radius: 26px; }\n.a-note.arrive { animation: mbn-headsup .5s cubic-bezier(.2,.9,.3,1.12); }\n.a-note .a-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 15px var(--android); }\n.a-note .a-main { flex: 1; min-width: 0; }\n.a-note .a-head { display: flex; align-items: center; gap: 6px; font: 400 12px var(--android); color: var(--md-on-surface-variant); }\n.a-note .a-head .chev { margin-left: auto; width: 26px; height: 20px; border-radius: 10px; background: var(--md-card-chip); display: grid; place-items: center; }\n.a-note .a-title { font: 500 15px/20px var(--android); color: var(--md-on-surface); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.a-note .a-body { font: 400 14px/20px var(--android); color: var(--md-on-surface-variant); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }\n.a-note.expanded .a-body { -webkit-line-clamp: unset; }\n.a-note .large-icon { flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; align-self: center; }\n.a-note .big-picture { display: block; width: 100%; border-radius: 14px; margin-top: 10px; }\n.a-note .note-data { background: var(--md-well); color: var(--md-on-surface); }\n.a-note .note-meta { color: var(--md-outline); }\n.shade-actions { position: absolute; bottom: 44px; left: 14px; right: 14px; display: flex; justify-content: space-between; }\n.shade-actions span { padding: 8px 16px; border-radius: 18px; background: var(--md-tile); font: 500 14px var(--android); color: var(--md-on-surface); }\n.shade-empty { text-align: center; color: var(--md-outline); font: 400 14px var(--android); margin-top: 26px; }\n.gesture { position: absolute; bottom: 12px; left: 50%; width: 110px; height: 4px; margin-left: -55px; border-radius: 2px; background: var(--md-handle); }\n\n/* \\u2500\\u2500 Mail (web client) \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 */\n.window { position: relative; container-type: inline-size; border-radius: 12px; overflow: hidden; background: var(--mail-bg); box-shadow: 0 0 0 1px #2c313c, 0 30px 70px rgba(0,0,0,.5); height: 760px; display: flex; flex-direction: column; font-family: var(--mail); color: var(--mail-label); }\n.chrome { flex: none; height: 38px; background: var(--mail-chrome); display: flex; align-items: center; gap: 12px; padding: 0 12px; }\n.lights { display: flex; gap: 7px; }\n.lights i { width: 12px; height: 12px; border-radius: 50%; display: block; }\n.lights i:nth-child(1) { background: #ff5f57; } .lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }\n.omnibox { flex: 1; max-width: 560px; margin: 0 auto; height: 26px; border-radius: 13px; background: var(--mail-omnibox); display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--mail-omnibox-label); font: 13px system-ui; }\n.mail-top { flex: none; height: 64px; display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; }\n.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--mail-icon); border: 0; background: none; flex: none; }\n.icon-btn:hover { background: var(--mail-hover); }\n.mail-logo { display: flex; align-items: center; gap: 6px; width: 194px; font: 400 22px var(--mail); color: var(--mail-icon); letter-spacing: -.01em; }\n.mail-search { flex: 1; min-width: 0; max-width: 720px; height: 48px; border-radius: 24px; background: var(--mail-search); display: flex; align-items: center; gap: 4px; padding: 0 4px; color: var(--mail-icon); font-size: 16px; }\n.mail-search .placeholder { flex: 1; padding-left: 4px; }\n.mail-top .right { margin-left: auto; display: flex; align-items: center; gap: 2px; }\n.mail-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 500 15px var(--mail); margin-left: 8px; }\n.mail-body { flex: 1; min-height: 0; display: flex; }\n.mail-nav { flex: none; width: 236px; padding: 8px 8px 0 0; overflow: hidden; }\n.compose { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 16px; margin: 0 0 16px 8px; border-radius: 16px; background: var(--mail-compose); color: var(--mail-on-compose); font: 500 14px var(--mail); border: 0; box-shadow: none; }\n.nav-item { display: flex; align-items: center; gap: 18px; height: 32px; padding: 0 12px 0 26px; border-radius: 0 16px 16px 0; color: var(--mail-label-row); font: 400 14px var(--mail); }\n.nav-item.active { background: var(--mail-nav-active); font-weight: 700; color: var(--mail-on-nav-active); }\n.nav-item .n { margin-left: auto; font-size: 12px; }\n.mail-main { flex: 1; min-width: 0; margin: 0 16px 16px 0; background: var(--mail-surface); border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; }\n.mail-toolbar { flex: none; height: 48px; display: flex; align-items: center; gap: 4px; padding: 0 12px 0 14px; color: var(--mail-icon); }\n.mail-toolbar .range { margin-left: auto; font-size: 12px; color: var(--mail-icon); }\n.cat-tabs { flex: none; display: flex; border-bottom: 1px solid var(--mail-divider); }\n.cat-tabs div { flex: 0 1 250px; min-width: 0; height: 54px; display: flex; align-items: center; gap: 16px; padding: 0 16px; color: var(--mail-icon); font: 500 14px var(--mail); position: relative; }\n.cat-tabs div.on { color: var(--mail-accent); }\n.cat-tabs div.on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--mail-accent); }\n.mail-list { flex: 1; overflow-y: auto; }\n.mrow { display: flex; align-items: center; height: 40px; padding: 0 16px 0 12px; border-bottom: 1px solid var(--mail-divider); cursor: pointer; font-size: 14px; color: var(--mail-label-row); background: var(--mail-row-read); }\n.mrow.unread { background: var(--mail-row-unread); font-weight: 700; }\n.mrow:hover { box-shadow: inset 1px 0 0 var(--mail-outline), inset -1px 0 0 var(--mail-outline), 0 1px 2px 0 var(--mail-row-shadow), 0 1px 3px 1px var(--mail-row-shadow-2); position: relative; z-index: 1; }\n.mrow.arrive { animation: mbn-rowflash 1.6s ease-out; }\n.mrow .chk, .mrow .star { flex: none; width: 20px; height: 20px; margin-right: 10px; color: var(--mail-check); display: grid; place-items: center; }\n.mrow .from { flex: none; width: 168px; padding-right: 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.mrow .subj { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.mrow .snippet { color: var(--mail-label-2); font-weight: 400; }\n.mrow .clip { color: var(--mail-label-2); margin-left: 8px; flex: none; }\n.mrow .date { flex: none; width: 78px; text-align: right; font-size: 12px; }\n.mrow .svc { flex: none; font: 500 10px var(--mail); color: var(--mail-label-2); border: 1px solid var(--mail-outline); border-radius: 4px; padding: 0 4px; margin-left: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; }\n.mail-empty { padding: 60px 20px; text-align: center; color: var(--mail-label-2); font: 400 14px var(--mail); }\n.mail-empty b { display: block; font: 400 22px var(--mail); color: var(--mail-label); margin: 12px 0 4px; }\n.reader { flex: 1; overflow-y: auto; padding: 0 0 24px; }\n.reader .subject-row { display: flex; align-items: center; gap: 10px; padding: 18px 16px 8px 72px; }\n.reader h1 { margin: 0; font: 400 22px/28px var(--mail); color: var(--mail-label); }\n.label-chip { font: 400 12px var(--mail); background: var(--mail-chip); border-radius: 4px; padding: 0 6px; color: var(--mail-icon); display: inline-flex; gap: 4px; align-items: center; }\n.sender-row { display: flex; gap: 14px; padding: 12px 16px 0 16px; }\n.sender-row .mail-avatar { width: 40px; height: 40px; font-size: 18px; margin: 0; }\n.sender-row .who { flex: 1; min-width: 0; }\n.sender-row .who b { font: 700 14px var(--mail); color: var(--mail-label); }\n.sender-row .who .addr { font: 400 12px var(--mail); color: var(--mail-label-3); }\n.sender-row .who .to { font: 400 12px var(--mail); color: var(--mail-label-3); display: flex; align-items: center; gap: 2px; margin-top: 2px; }\n.sender-row .meta { display: flex; align-items: center; gap: 4px; color: var(--mail-label-3); font: 400 12px var(--mail); white-space: nowrap; }\n.details { margin: 8px 16px 0 70px; padding: 10px 14px; border: 1px solid var(--mail-outline); border-radius: 8px; font: 12px/1.6 var(--mail); color: var(--mail-label-3); display: grid; grid-template-columns: max-content 1fr; gap: 0 12px; }\n.details span:nth-child(odd) { text-align: right; }\n.details span:nth-child(even) { color: var(--mail-label); overflow-wrap: anywhere; }\n/* An HTML message keeps the white page it was written for in both themes, as Gmail shows it. */\n.mail-frame { display: block; width: calc(100% - 86px); margin: 16px 16px 0 70px; border: 0; min-height: 120px; background: #fff; color-scheme: light; }\n.mail-text { margin: 16px 16px 0 70px; white-space: pre-wrap; font: 400 14px/1.55 Arial, sans-serif; color: var(--mail-text); overflow-wrap: anywhere; }\n.mail-text a { color: var(--mail-link); }\n.attachments { margin: 18px 16px 0 70px; border-top: 1px solid var(--mail-outline); padding-top: 14px; }\n.attachments h3 { margin: 0 0 10px; font: 500 14px var(--mail); color: var(--mail-label); }\n.att-grid { display: flex; flex-wrap: wrap; gap: 12px; }\n.att { width: 180px; height: 104px; border: 1px solid var(--mail-outline); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }\n.att .att-top { flex: 1; background: var(--mail-file-well); display: grid; place-items: center; color: var(--mail-file); }\n.att .att-name { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 10px; font: 500 12px var(--mail); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.att .att-size { color: var(--mail-label-2); font-weight: 400; }\n.reply-row { display: flex; gap: 10px; margin: 24px 16px 0 70px; }\n.reply-row span { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px 0 16px; height: 36px; border: 1px solid var(--mail-button-edge); border-radius: 18px; font: 500 14px var(--mail); color: var(--mail-icon); }\n\n/* \\u2500\\u2500 Swipe gestures \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 */\n.swipe { position: relative; touch-action: pan-y; }\n.swipe > .swipe-card { position: relative; z-index: 1; will-change: transform; }\n.swipe.settling > .swipe-card, .settling.a-note { transition: transform .32s cubic-bezier(.2,.9,.25,1), opacity .32s ease; }\n.swipe-actions { position: absolute; inset: 0; display: flex; justify-content: flex-end; align-items: stretch; visibility: hidden; }\n.swipe.swiping > .swipe-actions, .swipe.open > .swipe-actions { visibility: visible; }\n.collapsing { overflow: hidden; transition: height .26s ease, margin .26s ease, padding .26s ease, opacity .2s ease !important; }\n\n/* iOS lock screen: Options / Clear behind a card */\n.ios-swipe .swipe-actions { gap: 8px; }\n.ios-swipe .swipe-actions button { width: 72px; border: 0; border-radius: 20px; background: var(--ios-material-thin); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: var(--ios-material-label); font: 500 14px var(--ios); }\n.push-group { display: flex; flex-direction: column; gap: 8px; }\n.group-head { display: flex; align-items: center; gap: 8px; padding: 0 2px; animation: mbn-fadein .25s ease; }\n.group-head h3 { flex: 1; margin: 0; font: 700 20px/1.2 var(--ios); color: #fff; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.group-head button { border: 0; border-radius: 15px; background: var(--ios-material-thin); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: var(--ios-material-label); font: 500 13px var(--ios); padding: 6px 12px; }\n.group-head button.x { width: 30px; height: 30px; padding: 0; display: grid; place-items: center; border-radius: 50%; }\n.push-group[data-open="true"] .ios-swipe { animation: mbn-unstack .38s cubic-bezier(.2,.9,.3,1.1) backwards; }\n.push-group[data-open="true"] .ios-swipe:nth-child(3) { animation-delay: .03s; } .push-group[data-open="true"] .ios-swipe:nth-child(4) { animation-delay: .06s; }\n.stack-layers { cursor: pointer; border: 0; padding: 0; background: none; display: block; width: 100%; }\n.stack-layers .ios-stack-more:first-child { margin-top: -14px; }\n.lock.wake { animation: mbn-wake 1.1s ease-out; }\n.ios-overlay { position: absolute; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 14px; background: var(--ios-overlay); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); animation: mbn-fadein .2s ease; }\n.ios-overlay.dark { background: var(--ios-overlay-dim); }\n.ios-overlay .ios-note { animation: mbn-lift .3s cubic-bezier(.2,.9,.3,1.2); box-shadow: 0 20px 40px rgba(0,0,0,.25); }\n.ios-menu { align-self: flex-start; width: 250px; border-radius: 14px; overflow: hidden; background: var(--ios-menu); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); box-shadow: 0 10px 40px rgba(0,0,0,.2); animation: mbn-lift .28s cubic-bezier(.2,.9,.3,1.2); }\n.ios-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 16px; border: 0; border-bottom: .5px solid var(--ios-menu-separator); background: none; color: var(--ios-label); font: 400 17px var(--ios); letter-spacing: -.02em; text-align: left; }\n.ios-menu button:last-child { border-bottom: 0; }\n.ios-menu button:active { background: var(--ios-menu-pressed); }\n.ios-overlay.dark .ios-menu { align-self: stretch; width: auto; }\n\n/* Android shade */\n.a-note { touch-action: pan-y; position: relative; }\n.a-settings { margin-top: 8px; display: grid; gap: 8px; animation: mbn-fadein .2s ease; }\n.a-settings .opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--md-outline-variant); font: 500 14px var(--android); color: var(--md-on-surface); background: none; text-align: left; }\n.a-settings .opt[aria-pressed="true"] { background: var(--md-secondary-container); border-color: var(--md-primary); }\n.a-settings .opt small { display: block; font-weight: 400; color: var(--md-on-surface-variant); font-size: 12px; }\n.a-settings .row { display: flex; justify-content: space-between; }\n.a-settings .row button { border: 0; background: none; color: var(--md-primary); font: 500 14px var(--android); padding: 6px 4px; }\n.shade-actions button { padding: 8px 16px; border: 0; border-radius: 18px; background: var(--md-tile); font: 500 14px var(--android); color: var(--md-on-surface); }\n\n/* Messages: thread swipe actions, page transitions, bubble times, tapbacks */\n.thread-swipe .swipe-actions { justify-content: space-between; }\n.thread-swipe .swipe-actions .side { display: flex; }\n.thread-swipe .swipe-actions button { width: 74px; border: 0; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 400 13px var(--ios); }\n.act-unread { background: var(--ios-blue); } .act-pin { background: var(--ios-yellow); } .act-mute { background: var(--ios-indigo); } .act-delete { background: var(--ios-red); }\n.thread-swipe .thread { background: var(--ios-bg); }\n.thread .name-line { display: flex; align-items: center; gap: 4px; min-width: 0; }\n.thread .flag { flex: none; color: var(--ios-label-2); display: inline-flex; }\n.msgs.enter { animation: mbn-back .38s cubic-bezier(.2,.9,.25,1); }\n.convo.enter { animation: mbn-push .4s cubic-bezier(.2,.9,.25,1); box-shadow: -10px 0 30px rgba(0,0,0,.12); }\n.convo-body { --reveal: 0px; overflow-x: hidden; touch-action: pan-y; }\n.convo-body .bubble-row, .convo-body .stamp { transform: translateX(calc(-1 * var(--reveal))); }\n.convo-body.settling .bubble-row, .convo-body.settling .stamp { transition: transform .3s cubic-bezier(.2,.9,.25,1); }\n.bubble-row { position: relative; }\n.bubble-time { position: absolute; right: -66px; top: 50%; transform: translateY(-50%); width: 58px; color: var(--ios-label-2); font-size: 12px; white-space: nowrap; }\n.bubble { touch-action: pan-y; -webkit-user-select: text; user-select: text; }\n.tapback { position: absolute; z-index: 2; top: -16px; right: -12px; min-width: 30px; height: 30px; padding: 0 4px; border-radius: 15px; background: var(--ios-blue); color: #fff; display: grid; place-items: center; font: 700 13px/1 var(--ios); box-shadow: 0 0 0 2.5px var(--ios-bg); animation: mbn-pop .35s cubic-bezier(.2,.9,.3,1.4); }\n.tapback-bar { align-self: flex-start; display: flex; gap: 4px; padding: 6px 8px; border-radius: 26px; background: var(--ios-tapback-bar); box-shadow: 0 8px 30px rgba(0,0,0,.18); animation: mbn-lift .28s cubic-bezier(.2,.9,.3,1.3); }\n.tapback-bar button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: none; color: #8e8e93; font: 700 16px/1 var(--ios); display: grid; place-items: center; }\n.tapback-bar button[aria-pressed="true"] { background: var(--ios-blue); color: #fff; }\n.ios-overlay .bubble { align-self: flex-start; max-width: 80%; animation: mbn-lift .28s cubic-bezier(.2,.9,.3,1.2); }\n\n/* Mail: hover actions, row swipe, toast */\n.mrow .hover-actions { display: none; flex: none; align-items: center; gap: 2px; margin-left: 8px; }\n.mrow .hover-actions .icon-btn { width: 32px; height: 32px; }\n.mrow:hover .hover-actions, .mrow:focus-within .hover-actions { display: flex; }\n.mrow:hover .date, .mrow:focus-within .date { display: none; }\n.mrow .star { cursor: pointer; }\n.mrow .star[aria-pressed="true"] { color: var(--mail-star); }\n.mrow-swipe { background: #188038; }\n.mrow-swipe .swipe-actions { justify-content: space-between; align-items: center; padding: 0 22px; color: #fff; }\n.toast { position: absolute; z-index: 20; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 24px; min-width: 288px; max-width: calc(100% - 48px); padding: 14px 16px 14px 24px; border-radius: 4px; background: var(--mail-toast); color: var(--mail-on-toast); font: 400 14px var(--mail); box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px rgba(0,0,0,.14); animation: mbn-toast .25s cubic-bezier(0,0,.2,1); }\n.toast button { margin-left: auto; border: 0; background: none; color: var(--mail-toast-action); font: 500 14px var(--mail); padding: 4px 8px; }\n.reader.enter, .mail-list.enter { animation: mbn-fadein .18s ease; }\n\n@keyframes mbn-fadein { from { opacity: 0; } to { opacity: 1; } }\n@keyframes mbn-headsup { from { opacity: 0; transform: translateY(-70px) scale(.98); } to { opacity: 1; transform: none; } }\n@keyframes mbn-unstack { from { opacity: 0; transform: translateY(-40px) scale(.94); } to { opacity: 1; transform: none; } }\n@keyframes mbn-wake { from { filter: brightness(.25); } to { filter: none; } }\n@keyframes mbn-lift { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }\n@keyframes mbn-push { from { transform: translateX(100%); } to { transform: none; } }\n@keyframes mbn-back { from { transform: translateX(-28%); filter: brightness(.92); } to { transform: none; filter: none; } }\n@keyframes mbn-toast { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }\n@keyframes mbn-pop { from { transform: scale(.6) translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }\n@keyframes mbn-drop { from { transform: translateY(-30px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }\n@keyframes mbn-fade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }\n@keyframes mbn-rowflash { from { background: var(--mail-row-flash); } to { background: var(--mail-row-unread); } }\n@container (max-width: 980px) { .mail-nav { width: 72px; } .mail-nav .lbl, .mail-nav .n, .compose .lbl { display: none; } .mail-logo { width: auto; } .compose { padding: 0 16px; } .mrow .svc { display: none; } }\n@container (max-width: 480px) { .mrow { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; grid-template-areas: "star from date" ". subj subj"; align-items: center; column-gap: 10px; row-gap: 2px; height: auto; padding: 10px 14px 11px 10px; }\n .mrow .chk, .mrow .svc, .mrow .clip { display: none; } .mrow .star { grid-area: star; margin: 0; } .mrow .from { grid-area: from; width: auto; padding: 0; }\n .mrow:hover .hover-actions, .mrow:focus-within .hover-actions { display: none; }\n .mrow .date { grid-area: date; width: auto; } .mrow .subj { grid-area: subj; white-space: normal; line-height: 19px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }\n@container (max-width: 640px) { .mail-nav, .mail-search, .cat-tabs, .mail-logo .lbl, .mail-toolbar .range { display: none; } .mail-main { margin-left: 8px; } .mrow .from { width: 110px; } .reader .subject-row, .sender-row { padding-left: 16px; } .mail-frame, .mail-text, .attachments, .reply-row, .details { margin-left: 16px; } .mail-frame { width: calc(100% - 32px); } .sender-row { flex-wrap: wrap; } .sender-row .who { flex-basis: calc(100% - 54px); } .sender-row .meta { flex-basis: 100%; padding-left: 54px; white-space: normal; } .reader h1 { font-size: 19px; line-height: 24px; } }\n\n/* \\u2500\\u2500 WhatsApp: the same phone, a different app \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 */\n.avatar.wa { background: linear-gradient(180deg,#5fe08b,#1daa61); }\n.thread .via-wa { flex: none; font: 600 10px/16px var(--ios); letter-spacing: .02em; color: var(--wa-chip-label); background: var(--wa-chip); border-radius: 4px; padding: 0 5px; }\n.convo.wa { background: var(--wa-wallpaper); }\n.convo.wa .convo-nav { background: var(--wa-bar); }\n.convo.wa .convo-nav .back { color: var(--wa-green); }\n.convo.wa .convo-nav .back svg [stroke] { stroke: var(--wa-green); }\n.convo.wa .convo-nav .back svg [fill]:not([fill="none"]) { fill: var(--wa-green); }\n.convo.wa .convo-nav .avatar { background: linear-gradient(180deg,#5fe08b,#1daa61); }\n.convo.wa .convo-nav .back .badge { background: var(--wa-green); }\n.convo.wa .convo-nav .who { flex-direction: column; gap: 0; }\n.convo.wa .wa-sub { font: 400 11px/14px var(--ios); color: var(--wa-green); }\n.convo.wa .convo-body { background: var(--wa-wallpaper); }\n.convo.wa .stamp { width: max-content; max-width: 90%; margin: 12px auto 8px; padding: 3px 10px; border-radius: 8px; background: var(--wa-stamp); color: var(--wa-stamp-label); box-shadow: 0 1px .5px rgba(11,20,26,.13); }\n.convo.wa .bubble { background: var(--wa-bubble-in); color: var(--wa-label); border-radius: 8px; border-top-left-radius: 8px; font-size: 16px; line-height: 21px; padding: 6px 9px 7px; box-shadow: 0 1px .5px rgba(11,20,26,.13); }\n.convo.wa .bubble.tail { border-bottom-left-radius: 0; }\n.convo.wa .bubble.tail::before { left: -7px; width: 8px; height: 12px; background: var(--wa-bubble-in); border-radius: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }\n.convo.wa .bubble.tail::after { display: none; }\n.convo.wa .wa-time { float: right; margin: 9px 0 -3px 10px; font: 400 11px/14px var(--ios); letter-spacing: 0; color: var(--wa-meta); }\n.convo.wa .convo-input { background: var(--wa-input-bar); }\n.convo.wa .convo-input .plus { background: none; }\n.convo.wa .convo-input .field-ios { background: var(--wa-field); border-color: var(--wa-field-edge); }\n.convo.wa .otp-bar small { color: var(--wa-green); }\n\n/* \\u2500\\u2500 Chat: a team chat window \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 */\n.window.chat { background: var(--chat-bg); color: var(--chat-label); font-family: "Lato", "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif; }\n.window.chat .chrome { flex: none; }\n.chat-body { flex: 1; min-height: 0; display: flex; }\n.chat-side { flex: none; width: 200px; background: var(--chat-side); color: var(--chat-side-label); padding: 0 8px 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 1px; }\n.chat-team { display: flex; align-items: center; gap: 4px; padding: 14px 8px 12px; margin: 0 -8px 8px; border-bottom: 1px solid var(--chat-side-edge); color: #fff; font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.chat-side-label { padding: 6px 8px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }\n.chat-chan { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: none; color: inherit; text-align: left; padding: 4px 8px; border-radius: 6px; font-size: 14px; min-width: 0; }\n.chat-chan:hover { background: rgba(255,255,255,.08); }\n.chat-chan .hash { opacity: .7; width: 12px; text-align: center; flex: none; }\n.chat-chan .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.chat-chan .n { flex: none; background: #e01e5a; color: #fff; border-radius: 999px; font-size: 11px; line-height: 16px; padding: 0 6px; font-weight: 700; }\n.chat-chan.unread { color: #fff; font-weight: 700; }\n.chat-chan.on { background: var(--chat-side-active); color: #fff; }\n.chat-chan:focus-visible { outline: 2px solid #9ec5ff; outline-offset: -2px; }\n.chat-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--chat-bg); }\n.chat-head { flex: none; display: flex; align-items: baseline; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--chat-divider); }\n.chat-head b { font-size: 17px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.chat-head span { color: var(--chat-label-2); font-size: 12px; white-space: nowrap; }\n.chat-list { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 0 12px; display: flex; flex-direction: column; }\n.chat-list > :first-child { margin-top: auto; }\n.chat-day { display: flex; align-items: center; gap: 10px; padding: 8px 18px; color: var(--chat-label-2); font-size: 12px; font-weight: 700; }\n.chat-day::before, .chat-day::after { content: ""; flex: 1; height: 1px; background: var(--chat-divider); }\n.chat-day span { border: 1px solid var(--chat-divider); border-radius: 999px; padding: 2px 12px; }\n.chat-msg { display: flex; gap: 10px; padding: 7px 18px; outline: 0; }\n.chat-msg:hover, .chat-msg:focus-visible { background: var(--chat-hover); }\n.chat-msg[data-unread="true"] { background: var(--chat-new); }\n.chat-msg[data-ephemeral="true"] { background: var(--chat-ephemeral); }\n.chat-msg.arrive { animation: mbn-chat-in .3s ease-out; }\n@keyframes mbn-chat-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }\n.chat-avatar { flex: none; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }\n.chat-msg-main { flex: 1; min-width: 0; font-size: 15px; line-height: 22px; }\n.chat-meta { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }\n.chat-meta b { font-weight: 800; }\n.chat-app { background: var(--chat-tag); color: var(--chat-tag-label); font-size: 10px; font-weight: 700; border-radius: 3px; padding: 0 4px; line-height: 14px; align-self: center; }\n.chat-time, .chat-edited { color: var(--chat-label-2); font-size: 12px; }\n.chat-note { color: var(--chat-label-2); font-size: 12px; line-height: 16px; }\n.chat-text { white-space: pre-wrap; overflow-wrap: anywhere; }\n.chat-text a, .chat-att-title a { color: var(--chat-link); text-decoration: none; }\n.chat-text a:hover { text-decoration: underline; }\n.chat-code { font: 12px/18px var(--mono); background: var(--chat-code); border: 1px solid var(--chat-code-edge); border-radius: 3px; padding: 1px 3px; color: var(--chat-code-label); }\n.chat-pre { font: 12px/18px var(--mono); background: var(--chat-pre); border: 1px solid var(--chat-code-edge); border-radius: 4px; padding: 8px; margin: 4px 0; white-space: pre-wrap; overflow-wrap: anywhere; }\n.chat-mention { background: var(--chat-mention); color: var(--chat-link); border-radius: 3px; padding: 0 2px; }\n.chat-quote { display: block; border-left: 4px solid var(--chat-quote); padding-left: 10px; margin: 2px 0; }\n.chat-blocks, .chat-attachments { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }\n.chat-block-header { font-size: 18px; font-weight: 800; line-height: 24px; }\n.chat-block-divider hr { border: 0; border-top: 1px solid var(--chat-divider); margin: 4px 0; }\n.chat-block-context { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--chat-label-2); font-size: 13px; }\n.chat-block-actions { display: flex; flex-wrap: wrap; gap: 8px; }\n.chat-block.with-accessory { display: flex; gap: 12px; align-items: flex-start; }\n.chat-section-body { flex: 1; min-width: 0; }\n.chat-accessory { flex: none; }\n.chat-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-top: 4px; }\n.chat-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid var(--chat-control-edge); border-radius: 4px; background: var(--chat-bg); font-size: 13px; font-weight: 700; color: var(--chat-label); }\n.chat-btn.primary { background: #007a5a; border-color: #007a5a; color: #fff; }\n.chat-btn.danger { color: #e01e5a; }\n.chat-thumb { width: 72px; height: 72px; border-radius: 6px; object-fit: cover; display: block; }\n.chat-block-context .chat-thumb { width: 20px; height: 20px; border-radius: 3px; }\n.chat-image { max-width: min(360px, 100%); max-height: 260px; border-radius: 6px; display: block; }\n.chat-caption { color: var(--chat-label-2); font-size: 13px; }\n.chat-list-block { margin: 2px 0; padding-left: 22px; }\n.chat-unknown { color: var(--chat-label-2); font: 12px var(--mono); border: 1px dashed var(--chat-unknown-edge); border-radius: 4px; padding: 2px 6px; }\n.chat-attachment { border-left: 4px solid var(--chat-quote); padding-left: 12px; display: flex; flex-direction: column; gap: 2px; }\n.chat-att-author { font-size: 13px; font-weight: 700; }\n.chat-att-title { font-weight: 700; }\n.chat-field { margin-top: 4px; }\n.chat-field:not(.short) { grid-column: 1 / -1; }\n.chat-att-footer { color: var(--chat-label-2); font-size: 12px; }\n.chat-reactions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }\n.chat-reaction { background: var(--chat-reaction); border: 1px solid var(--chat-reaction-edge); border-radius: 999px; padding: 0 8px; font-size: 12px; line-height: 22px; }\n.chat-compose { flex: none; display: flex; align-items: center; justify-content: space-between; margin: 0 18px 16px; padding: 0 12px; height: 42px; border: 1px solid var(--chat-control-edge); border-radius: 8px; color: var(--chat-placeholder); font-size: 14px; }\n.chat-compose span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.chat-compose .send { display: grid; place-items: center; opacity: .5; }\n.chat-empty { margin: auto; padding: 40px 28px; text-align: center; color: var(--chat-label-2); display: flex; flex-direction: column; gap: 6px; max-width: 380px; }\n.chat-empty b { color: var(--chat-label); font-size: 16px; }\n@container (max-width: 560px) { .chat-side { display: none; } .chat-msg, .chat-head, .chat-day { padding-left: 12px; padding-right: 12px; } .chat-compose { margin: 0 12px 12px; } .chat-fields { grid-template-columns: 1fr; } }\n\n/* \\u2500\\u2500 Phone \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\n The harness itself is on a phone: the open device fills the screen below the tabs, instead of\n a 760px phone drawn at 362px wide. */\n&[data-size="phone"] .devices { zoom: 1; flex: 1 0 auto; min-height: max(440px, calc(100dvh - 200px)); flex-wrap: nowrap; align-items: stretch; padding: 0 12px 12px; gap: 0; }\n&.embedded[data-size="phone"] .devices { min-height: 440px; }\n&[data-size="phone"] .device-col, &[data-size="phone"] .device-col.wide { flex: 1 1 100%; width: 100%; max-width: none; min-width: 0; align-items: stretch; gap: 0; }\n&[data-size="phone"][data-layout="tabs"] .device-col:not(.wide) .device-head { width: 100%; }\n&[data-size="phone"] .iphone, &[data-size="phone"] .pixel { zoom: 1; display: flex; flex: 1; width: 100%; height: auto; min-height: 0; border-radius: 40px; padding: 7px;\n box-shadow: 0 0 0 1.5px #3a3a3c, 0 18px 40px rgba(0,0,0,.45); }\n&[data-size="phone"] .iphone::before, &[data-size="phone"] .iphone::after, &[data-size="phone"] .pixel::after { display: none; }\n&[data-size="phone"] .iphone .screen, &[data-size="phone"] .pixel .screen { flex: 1; height: auto; border-radius: 33px; clip-path: inset(0 round 33px); }\n&[data-size="phone"] .window { flex: 1; height: auto; min-height: 0; border-radius: 16px; }\n&[data-size="phone"] .window .chrome { display: none; }\n`,T3e=M7(iV,`.${P7}`);var P=T(me(),1),sV={sms:"success",push:"warning",email:"accent",chat:"default"},L7=class extends qa.Component{ref=(0,qa.createRef)();getSnapshotBeforeUpdate(){let t=this.ref.current;if(!this.props.enabled||!t||typeof t.animate!="function")return null;let a=new Map;for(let r of t.querySelectorAll("[data-flip]"))a.set(r.dataset.flip??"",r.getBoundingClientRect().top);return a}componentDidUpdate(t,a,r){let o=this.ref.current;if(!(!r||!o))for(let l of o.querySelectorAll("[data-flip]")){let n=r.get(l.dataset.flip??"");if(n===void 0)continue;let i=(n-l.getBoundingClientRect().top)/N7(l);Math.abs(i)<1||l.animate([{transform:`translateY(${i}px)`},{transform:"none"}],{duration:380,easing:"cubic-bezier(.2,.9,.25,1)"})}}render(){let{className:t,hidden:a,region:r,id:o,children:l}=this.props;return(0,P.jsx)("div",{ref:this.ref,className:t,hidden:a,"data-region":r,id:o,children:l})}};function uV(){let e=He();return(0,P.jsx)(P.Fragment,{children:e.state.sources.map(t=>(0,P.jsx)("span",{title:t.error??t.url,"data-testid":L.source,"data-name":t.name,"data-service":t.service??"","data-ok":String(t.ok),"data-count":t.count,children:(0,P.jsxs)(qi,{status:t.ok?"ok":t.error?"error":"neutral",dot:!0,children:[t.service&&t.name!==t.service?`${t.name} \\xB7 ${Xl(t.service)}`:Xl(t.name)," ",(0,P.jsx)("b",{className:"font-semibold",children:t.count})]})},t.name))})}function cV({heading:e}){let t=He(),{state:a,actions:r,handle:o,sound:l}=t,n=t.frame.size==="phone",i=[...new Set([...a.namespaces,a.namespace])].sort(),s=`${(0,qa.useRef)(`mbn-${Math.random().toString(36).slice(2,8)}`).current}-more`,u=(0,P.jsx)("span",{"data-testid":L.connection,"data-state":a.connected?"live":"reconnecting",role:"status",children:(0,P.jsx)(qi,{status:a.connected?"ok":"warning",dot:!0,children:a.connected?"Live":"Reconnecting"})}),c=(0,P.jsxs)(Au,{"aria-label":"View",size:"sm",selectionMode:"single",disallowEmptySelection:!0,selectedKeys:[a.view],onSelectionChange:d=>{let[f]=[...d];(f==="devices"||f==="timeline")&&r.setView(f)},children:[(0,P.jsxs)(Tn,{id:"devices","data-testid":L.viewDevices,children:[(0,P.jsx)(Zd,{className:"size-4"}),"Devices"]}),(0,P.jsxs)(Tn,{id:"timeline","data-testid":L.viewTimeline,children:[(0,P.jsx)(n5,{className:"size-4"}),"Timeline",(0,P.jsx)("span",{className:"text-muted",children:a.items.length})]})]});return(0,P.jsxs)("div",{className:"flex flex-none flex-col gap-3 px-4 pt-4 sm:px-6","data-testid":L.topbar,children:[e?(0,P.jsx)(v5,{level:e==="page"?1:2,title:t.title(),description:"Every text, push, email and chat message the app sent, as the recipient sees it.",actions:(0,P.jsxs)(P.Fragment,{children:[u,c]})}):null,(0,P.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,P.jsx)(ji,{"aria-label":"Filter notifications",value:a.search,onChange:r.setSearch,className:"min-w-0 flex-1 basis-48 sm:max-w-sm",children:(0,P.jsxs)(ji.Group,{children:[(0,P.jsx)(ji.SearchIcon,{}),(0,P.jsx)(ji.Input,{"data-testid":L.search,placeholder:n?"Filter notifications\\u2026":"Filter by recipient, sender, text\\u2026"}),(0,P.jsx)(ji.ClearButton,{})]})}),e?null:u,n?(0,P.jsx)(kl,{isIconOnly:!0,variant:"secondary",size:"sm","data-testid":L.menu,"aria-label":"More options","aria-expanded":a.menu,"aria-controls":s,onPress:r.toggleMenu,children:a.menu?(0,P.jsx)(g5,{className:"size-4"}):(0,P.jsx)(c5,{className:"size-4"})}):null,(0,P.jsxs)("div",{id:s,className:`flex flex-wrap items-center gap-x-4 gap-y-2 ${n?a.menu?"basis-full":"hidden":""}`,children:[e?null:c,(0,P.jsxs)(Zr,{"aria-label":"Namespace",selectedKey:a.namespace,onSelectionChange:d=>d!==null&&o.setNamespace(String(d)),className:"w-44","data-testid":L.namespace,"data-value":a.namespace,children:[(0,P.jsxs)(Zr.Trigger,{children:[(0,P.jsx)(Zr.Value,{}),(0,P.jsx)(Zr.Indicator,{})]}),(0,P.jsx)(Zr.Popover,{children:(0,P.jsx)(wn,{"aria-label":"Namespaces",children:i.map(d=>(0,P.jsxs)(wn.Item,{id:d,textValue:d,children:[d,(0,P.jsx)(wn.ItemIndicator,{})]},d))})})]}),(0,P.jsx)(ku,{isSelected:a.follow,onChange:r.setFollow,"data-testid":L.follow,"aria-label":"Follow new: jump each device to the newest arrival",children:(0,P.jsxs)(ku.Content,{children:[(0,P.jsx)(ku.Control,{children:(0,P.jsx)(ku.Thumb,{})}),(0,P.jsx)(mv,{children:"Follow new"})]})}),(0,P.jsxs)(Tn,{size:"sm",isSelected:l.enabled,onChange:d=>o.setSound(d),"data-testid":L.sound,"aria-label":"Sound: play alert sounds on arrivals",children:[l.enabled?(0,P.jsx)(p5,{className:"size-4"}):(0,P.jsx)(b5,{className:"size-4"}),"Sound"]})]})]}),a.sources.length?(0,P.jsx)("div",{className:`flex flex-wrap items-center gap-1.5 ${n&&!a.menu?"hidden":""}`,children:(0,P.jsx)(uV,{})}):null]})}function dV(){let e=He(),{state:t}=e,a=t.sources.filter(r=>r.error);return t.discoveryError||a.length?(0,P.jsx)("div",{className:"px-4 pt-3 sm:px-6","data-testid":L.notice,"data-kind":"error",children:(0,P.jsxs)(la,{status:"danger",children:[(0,P.jsx)(la.Indicator,{}),(0,P.jsxs)(la.Content,{children:[(0,P.jsx)(la.Title,{children:t.discoveryError?"Fleet discovery failed":"An emulator is not answering"}),(0,P.jsxs)(la.Description,{className:"break-words",children:[t.discoveryError?`${t.discoveryError}. `:"",a.map((r,o)=>(0,P.jsxs)("span",{children:[o?" \\xB7 ":"",(0,P.jsx)("b",{children:r.name}),": ",r.error]},r.name))]})]})]})}):t.sources.length?null:(0,P.jsx)("div",{className:"px-4 pt-3 sm:px-6","data-testid":L.notice,"data-kind":"empty",children:(0,P.jsxs)(la,{status:"default",children:[(0,P.jsx)(la.Indicator,{}),(0,P.jsxs)(la.Content,{children:[(0,P.jsx)(la.Title,{children:"No messaging emulators found yet"}),(0,P.jsx)(la.Description,{children:"Start the fleet with twilio, resend, fcm, ses, sns, customerio, mailosaur, slack or cognito."})]})]})})}function fV(){let e=He(),t=e.options.tabs===!1?[]:_A(e.enabled,e.frame.compact);if(!t.length||e.state.view!=="devices")return null;let a=e.tab(),r=e.frame.compact;return(0,P.jsx)(Qr,{selectedKey:a,onSelectionChange:o=>e.actions.selectTab(String(o)),className:"flex-none px-4 pt-3 sm:px-6",children:(0,P.jsx)(Qr.ListContainer,{className:r?"":"w-fit max-w-full",children:(0,P.jsx)(Qr.List,{"aria-label":"Notification channels","data-testid":L.channelTabs,"data-layout":r?"tabs":"grid",className:r?"w-full":"",children:t.map(o=>{let l=o==="all"?0:e.unreadIn(o);return(0,P.jsxs)(Qr.Tab,{id:o,"data-testid":L.channelTab,"data-value":o,"data-unread":l,className:r?"flex-1":"",children:[IA[o],l&&o!==a?(0,P.jsx)(qo,{size:"sm",color:"accent",variant:"primary",className:"ml-1.5","data-testid":L.channelTabUnread,"aria-label":`${l} unread`,children:l}):null]},o)})})})})}var pV={sms:{label:"Phone",testId:L.smsRecipient},push:{label:"Device",testId:L.pushRecipient},email:{label:"Mailbox",testId:L.emailRecipient},chat:{label:"Channel",testId:L.chatRecipient}},mV={sms:L.smsUnreadCount,push:L.pushUnreadCount,email:L.emailUnreadCount,chat:L.chatUnreadCount},bV={sms:"Text messages",push:"Push",email:"Email",chat:"Chat"};function hV({channel:e}){let t=He(),a=t.recipients(e),r=t.state[e].to,{label:o,testId:l}=pV[e],n=i=>e==="sms"?gh(i):e==="chat"?ni(i):e==="push"?TA(i,a.find(s=>s.to===i)?.platform):i;return(0,P.jsxs)(Zr,{"aria-label":o,placeholder:"No recipients yet",selectedKey:r&&a.some(i=>i.to===r)?r:null,onSelectionChange:i=>i!==null&&t.actions.setRecipient(e,String(i)),isDisabled:!a.length,className:"w-full min-w-0","data-testid":l,"data-value":r??"",children:[(0,P.jsxs)(Zr.Trigger,{className:"gap-2",children:[(0,P.jsx)("span",{className:"flex-none text-xs text-muted",children:o}),(0,P.jsx)(Zr.Value,{className:"min-w-0 flex-1 truncate text-left",children:({selectedText:i,isPlaceholder:s,defaultChildren:u})=>s?u:i}),(0,P.jsx)(Zr.Indicator,{})]}),(0,P.jsx)(Zr.Popover,{children:(0,P.jsx)(wn,{"aria-label":o,children:a.map(i=>(0,P.jsxs)(wn.Item,{id:i.to,textValue:n(i.to),children:[(0,P.jsx)("span",{className:"min-w-0 flex-1 truncate",children:n(i.to)}),(0,P.jsx)("span",{className:"text-xs text-muted",children:i.count}),i.unread?(0,P.jsx)("span",{className:"size-2 rounded-full bg-accent",role:"img","aria-label":"unread"}):null,(0,P.jsx)(wn.ItemIndicator,{})]},i.to))})})]})}function gV(){let e=He();return(0,P.jsx)(Au,{"aria-label":"Phone",size:"sm",selectionMode:"single",disallowEmptySelection:!0,selectedKeys:[e.state.push.skin],onSelectionChange:t=>{let[a]=[...t];a&&e.actions.setSkin(String(a))},children:["auto","ios","android"].map(t=>(0,P.jsx)(Tn,{id:t,"data-testid":L.pushSkin,"data-value":t,children:t==="auto"?"Auto":t==="ios"?"iOS":"Android"},t))})}function $V({channel:e}){let a=He().unreadIn(e);return(0,P.jsxs)("div",{className:"device-head grid h-[76px] w-full flex-none grid-rows-[32px_36px] gap-2",children:[(0,P.jsxs)("div",{className:"flex min-w-0 items-center justify-between gap-2 overflow-hidden",children:[(0,P.jsxs)("h2",{className:"flex items-center gap-2 whitespace-nowrap text-sm font-semibold text-foreground",children:[bV[e],a?(0,P.jsx)(qo,{size:"sm",color:"accent",variant:"primary","data-testid":mV[e],"data-count":a,children:a}):null]}),e==="push"?(0,P.jsx)(gV,{}):null]}),(0,P.jsx)(hV,{channel:e})]})}var xV={sms:qA,push:JA,email:YA,chat:zA};function vV({uid:e}){let t=He(),a=Yl.filter(t.shown),r=t.state.view==="devices";return(0,P.jsx)("section",{className:`devices ${a.length===1?"solo":""}`,"data-region":"devices",hidden:!r,children:Yl.map(o=>{let l=xV[o],n=t.shown(o);return(0,P.jsx)(L7,{enabled:t.animate(),className:`device-col ${o==="email"||o==="chat"?"wide":""} ${o==="chat"?"chat-col":""}`,hidden:!n,region:`col-${o}`,id:`${e}-panel-${o}`,children:r&&n?(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)($V,{channel:o}),(0,P.jsx)(l,{})]}):null},o)})})}function yV(){let e=He(),t=Lr(),a=e.visible(),r=e.nowMs();return e.state.view!=="timeline"?null:a.length?(0,P.jsx)("div",{className:"px-4 py-4 sm:px-6","data-region":"timeline",children:(0,P.jsx)(Mt,{children:(0,P.jsx)(Mt.ScrollContainer,{children:(0,P.jsxs)(Mt.Content,{"aria-label":"Timeline","data-testid":L.timeline,onRowAction:o=>e.actions.inspect(String(o)),children:[(0,P.jsxs)(Mt.Header,{children:[(0,P.jsx)(Mt.Column,{isRowHeader:!0,children:"Time"}),(0,P.jsx)(Mt.Column,{children:"Channel"}),(0,P.jsx)(Mt.Column,{className:"max-sm:hidden",children:"Source"}),(0,P.jsx)(Mt.Column,{children:"To"}),(0,P.jsx)(Mt.Column,{className:"max-md:hidden",children:"From"}),(0,P.jsx)(Mt.Column,{className:"max-sm:hidden",children:"Content"}),(0,P.jsx)(Mt.Column,{className:"max-md:hidden",children:"Status"})]}),(0,P.jsx)(Mt.Body,{children:a.map(o=>(0,P.jsxs)(Mt.Row,{id:o.id,"data-testid":L.timelineRow,...t(o),className:"cursor-pointer",children:[(0,P.jsx)(Mt.Cell,{"data-col":"time",className:"whitespace-nowrap font-mono text-xs",children:yA(o.createdAt,r)}),(0,P.jsx)(Mt.Cell,{"data-col":"channel",children:(0,P.jsx)(qo,{size:"sm",variant:"soft",color:sV[o.channel],children:oi(o)?"WhatsApp":EA[o.channel]})}),(0,P.jsxs)(Mt.Cell,{"data-col":"source",className:"text-xs text-muted max-sm:hidden",children:[Xl(o.service),o.source!==o.service?` \\xB7 ${o.source}`:""]}),(0,P.jsx)(Mt.Cell,{"data-col":"to",className:"max-w-56 truncate font-mono text-xs",children:o.channel==="sms"?gh(o.to):o.channel==="chat"?ni(o.to):o.to.length>28?`${o.to.slice(0,26)}\\u2026`:o.to}),(0,P.jsx)(Mt.Cell,{"data-col":"from",className:"max-md:hidden",children:Rc(o)}),(0,P.jsxs)(Mt.Cell,{"data-col":"content",className:"max-w-[32rem] text-muted max-sm:hidden",children:[o.email?(0,P.jsxs)("b",{className:"font-semibold text-foreground",children:[o.email.subject," \\u2014 "]}):o.push?.title?(0,P.jsxs)("b",{className:"font-semibold text-foreground",children:[o.push.title," \\u2014 "]}):null,o.channel==="email"||o.channel==="chat"?o.preview.slice(0,120):o.sms?.body??o.push?.body??o.preview]}),(0,P.jsx)(Mt.Cell,{"data-col":"status",className:"max-md:hidden",children:o.status?(0,P.jsx)(qi,{status:DA(o.status),children:o.status}):null})]},o.id))})]})})})}):(0,P.jsx)("div",{className:"px-4 py-4 sm:px-6","data-region":"timeline","data-testid":L.timelineEmpty,children:(0,P.jsx)(y5,{icon:(0,P.jsx)(Jv,{}),title:"Nothing sent yet",description:(0,P.jsxs)(P.Fragment,{children:["Nothing sent in namespace ",(0,P.jsx)("b",{children:e.state.namespace})," yet."]})})})}function CV({n:e}){let{raw:t,...a}=e,r=(o,l,n)=>({id:o,label:l,mono:!0,value:(0,P.jsx)("span",{"data-testid":L.inspectorField,"data-field":o,children:n})});return(0,P.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,P.jsx)(x5,{items:[r("id","Id",e.id),r("providerId","Provider id",e.providerId),r("service","Service",`${e.service} (${e.source})`),r("namespace","Namespace",e.namespace),r("to","To",e.to),r("from","From",e.from.name?`${e.from.name} <${e.from.address}>`:e.from.address),r("createdAt","Created",e.createdAt),r("status","Status",e.status??"\\u2014")]}),(0,P.jsx)("div",{"data-testid":L.inspectorJson,children:(0,P.jsx)($5,{value:{...a,raw:t},label:"",copyable:!1,wrap:!0})})]})}function SV(){let e=He(),t=Lr(),a=e.state.inspect?e.state.items.find(r=>r.id===e.state.inspect):null;return(0,P.jsx)(Rl.Backdrop,{isOpen:!!a,onOpenChange:r=>{r||e.actions.inspect(null)},children:(0,P.jsx)(Rl.Content,{placement:"right",children:(0,P.jsx)(Rl.Dialog,{className:"sm:w-[560px]","aria-label":"Notification","data-testid":L.inspector,...a?t(a):{},children:a?(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(Rl.Header,{children:(0,P.jsxs)(Rl.Heading,{"data-testid":L.inspectorTitle,className:"truncate",children:[oi(a)?"WHATSAPP":a.channel.toUpperCase()," \\xB7"," ",a.email?.subject??a.push?.title??a.preview.slice(0,60)]})}),(0,P.jsx)(Rl.Body,{children:(0,P.jsx)(CV,{n:a})}),(0,P.jsxs)(Rl.Footer,{children:[(0,P.jsx)(kl,{variant:"secondary","data-testid":L.inspectorClose,onPress:()=>e.actions.inspect(null),children:"Close"}),(0,P.jsx)(kl,{"data-testid":L.inspectorShowOnDevice,onPress:()=>e.actions.showOnDevice(a.id),children:"Show on device"})]})]}):null})})})}function B7({store:e,heading:t=!0}){(0,qa.useSyncExternalStore)(e.subscribe,e.getVersion,e.getVersion);let a=(0,qa.useRef)(null),r=(0,qa.useRef)(`mbn-${Math.random().toString(36).slice(2,8)}`).current,{state:o,frame:l,options:n}=e;(0,qa.useEffect)(()=>{if(!a.current)return;let s=[eN(a.current,e),wh(a.current,e.options.openLink)];return()=>{for(let u of s)u()}},[e]),(0,qa.useLayoutEffect)(()=>{let s=a.current;if(!s)return;let u=()=>{e.measure(s.clientWidth)&&e.emit()};if(u(),typeof ResizeObserver!="function")return window.addEventListener("resize",u),()=>window.removeEventListener("resize",u);let c=new ResizeObserver(u);return c.observe(s),()=>c.disconnect()},[e]),(0,qa.useEffect)(()=>{e.cues.sms=null,e.cues.email=!1,e.cues.wake=!1,e.drawnReady();let s=e.takeScrollTarget();s&&a.current?.querySelector(`[data-region="devices"] [data-notification-id="${CSS.escape(s)}"]`)?.scrollIntoView({block:"nearest"})});let i=n.chrome!==!1;return(0,P.jsx)(AA,{store:e,children:(0,P.jsxs)("div",{ref:a,className:`${P7} ${n.embedded?"embedded flex h-full min-h-0 flex-col overflow-hidden":"flex min-h-full flex-col"} relative bg-background text-foreground`,"data-testid":L.app,"data-ready":String(o.ready),"data-view":o.view,"data-namespace":o.namespace,"data-count":o.items.length,"data-version":o.version,"data-connected":String(o.connected),"data-sound":String(e.sound.enabled),"data-motion":e.motion(),"data-layout":l.compact?"tabs":"grid","data-tab":e.tab(),"data-size":l.size,style:{"--mbn-scale":String(l.scale),"--mbn-fit":String(l.fit)},children:[i?(0,P.jsx)(cV,{heading:t}):null,i?(0,P.jsx)(dV,{}):null,(0,P.jsx)(fV,{}),(0,P.jsxs)("div",{className:`mbn-scroll flex min-h-0 flex-col ${n.embedded||l.size==="phone"?"flex-1 overflow-auto":""}`,"data-region":"scroll",children:[(0,P.jsx)(vV,{uid:r}),(0,P.jsx)(yV,{})]}),(0,P.jsx)(SV,{})]})})}var rN=T(R(),1);var wV="emulators",ii="notifications",tN=e=>e instanceof Error?e.message:String(e);function aN(e){let t=[...e.tabs??[],...e.emulators?[{id:wV,label:e.emulators.label??"Emulators",mount:e.emulators.mount}]:[],...e.notifications?[{id:ii,label:e.notifications.label??"Notifications",mount:null}]:[]];if(t.length===0)throw new Error("mountDashboard: pass tabs, emulators or notifications");let a=new Set;for(let m of t){if(a.has(m.id))throw new Error(`mountDashboard: duplicate tab id ${m.id}`);a.add(m.id)}let r=t.map(m=>({...m,mounted:m.mount===null,dispose:null,panel:null,status:null})),o="",l=0,n=!1,i=0,s=new Set,u=()=>{i++;for(let m of[...s])m()},c=m=>{if(m.mounted||!m.mount||!m.panel||n)return;m.mounted=!0;let p=x=>{if(typeof x!="function")return;let h=x;n?h():m.dispose=h};try{let x=m.mount(m.panel);if(!(x instanceof Promise))return p(x);m.status={kind:"loading"},u(),x.then(h=>{m.status=null,p(h),u()},h=>{m.status=n?null:{kind:"error",message:tN(h)},u()})}catch(x){m.status={kind:"error",message:tN(x)},u()}},d=m=>{let p=r.find(h=>h.id===m);if(!p||n||m===o)return;let x=o==="";if(o=m,m===ii&&(l=0),c(p),e.syncUrl&&typeof location<"u"&&typeof history<"u"){let h=new URL(location.href);h.searchParams.get("tab")!==m&&!(x&&!h.searchParams.has("tab"))&&(h.searchParams.set("tab",m),history.replaceState(history.state,"",h))}u(),x||e.onTabChange?.(m)},b=[e.syncUrl&&typeof location<"u"?new URL(location.href).searchParams.get("tab"):null,e.initialTab].find(m=>m!=null&&r.some(p=>p.id===m));return d(b??r[0].id),{entries:r,show:d,active:()=>o,tabs:()=>r.map(m=>m.id),unread:()=>l,attach(m,p){let x=r.find(h=>h.id===m);!x||x.panel===p||(x.panel=p,p&&m===o&&c(x))},arrive(m){o!==ii&&(l+=m.length,u()),e.notifications?.onArrive?.(m)},subscribe(m){return s.add(m),()=>s.delete(m)},getVersion:()=>i,get destroyed(){return n},destroy(){if(!n){n=!0;for(let m of r){try{m.dispose?.()}catch{}m.dispose=null}s.clear()}}}}var We=T(me(),1),z7="mb-dashboard";function EV({count:e}){return(0,We.jsx)("span",{"data-testid":L.dashboardBadge,"data-count":e,hidden:e===0,className:"ml-1.5",children:(0,We.jsxs)(qo,{size:"sm",color:"accent",variant:"primary",children:[e>99?"99+":e,(0,We.jsx)("span",{className:"sr-only",children:" new"})]})})}function TV({model:e,entry:t}){return(0,We.jsxs)(We.Fragment,{children:[t.status?.kind==="loading"?(0,We.jsx)(S5,{}):null,t.status?.kind==="error"?(0,We.jsx)(C5,{title:`${t.label} could not load`,error:t.status.message}):null,(0,We.jsx)("div",{ref:a=>e.attach(t.id,a),className:"min-w-0"})]})}function oN({model:e,store:t,title:a,asideRef:r,actions:o}){(0,rN.useSyncExternalStore)(e.subscribe,e.getVersion,e.getVersion);let l=e.active();return(0,We.jsx)("div",{"data-testid":L.dashboard,"data-tab":l,className:"min-h-full",children:(0,We.jsx)(D0,{product:a,actions:(0,We.jsxs)(We.Fragment,{children:[(0,We.jsx)("div",{ref:r,className:"flex items-center gap-3 text-sm text-muted empty:hidden"}),o,(0,We.jsx)(M0,{})]}),children:(0,We.jsxs)(Qr,{selectedKey:l,onSelectionChange:n=>e.show(String(n)),className:"-mt-2",children:[(0,We.jsx)(Qr.ListContainer,{className:"w-fit max-w-full",children:(0,We.jsx)(Qr.List,{"aria-label":a,children:e.entries.map(n=>(0,We.jsxs)(Qr.Tab,{id:n.id,"data-testid":L.dashboardTab,"data-tab":n.id,children:[n.label,n.id===ii?(0,We.jsx)(EV,{count:e.unread()}):null]},n.id))})}),e.entries.map(n=>(0,We.jsx)(Qr.Panel,{id:n.id,shouldForceMount:!0,"data-testid":L.dashboardPanel,"data-tab":n.id,className:"-mx-4 w-auto px-0 pt-2 data-[inert=true]:hidden sm:-mx-6",children:n.id===ii&&t?(0,We.jsx)(B7,{store:t}):(0,We.jsx)("div",{className:"px-4 sm:px-6","aria-busy":n.status?.kind==="loading"||void 0,children:(0,We.jsx)(TV,{model:e,entry:n})})},n.id))]})})})}function lN({store:e,title:t}){return(0,We.jsx)(D0,{product:t,actions:(0,We.jsx)(M0,{}),children:(0,We.jsx)("div",{className:"-mx-4 -mt-4 sm:-mx-6",children:(0,We.jsx)(B7,{store:e,heading:"page"})})})}var Br=T(me(),1),DV={dark:"dark",light:"light",auto:"system"},sN=(e,t)=>{e.replaceChildren();let a=(0,iN.createRoot)(e);return(0,nN.flushSync)(()=>a.render(t)),a},kV=(e,t)=>({render:e.emit,state:e.state,ready:e.ready,show:e.handle.show,setNamespace:e.handle.setNamespace,setSound:e.handle.setSound,setScale:e.handle.setScale,destroy:t});var RV=e=>{let{harness:t,injectStyles:a,...r}=e;return t?{...r,fetch:o=>t.fetch(o)}:r};function AV(e,t,a={}){let r=aN(t),o;if(t.notifications){let{label:u,onArrive:c,...d}=t.notifications;o=k7({syncUrl:!1,...RV(d),onArrive:f=>r.arrive(f)}),o.start()}let l=null;e.classList.add(z7);let n=sN(e,(0,Br.jsx)(A0,{theme:DV[t.theme??"auto"],className:"h-full overflow-auto",children:(0,Br.jsx)(oN,{model:r,...o?{store:o}:{},title:t.title??"Notifications",asideRef:u=>{l=u??l},actions:a.actions})})),i=!1,s=()=>{i||(i=!0,r.destroy(),o?.destroy(),n.unmount(),e.replaceChildren(),e.classList.remove(z7))};return{show:r.show,active:r.active,tabs:r.tabs,aside:l??document.createElement("div"),...o?{notifications:kV(o,()=>o?.destroy())}:{},destroy:s}}function uN(e,t){let{info:a,title:r}=t;if(!a?.admin){let s=k7({live:!0});s.start(),sN(e,(0,Br.jsx)(A0,{children:(0,Br.jsx)(lN,{store:s,title:r})}));return}let o=new URLSearchParams(location.search),l=["view","to","from","id"].some(s=>o.has(s)),n=a.admin,i=a.emulators.length;AV(e,{title:r,syncUrl:!0,initialTab:l?ii:t.defaultTab,emulators:{mount:s=>t.mountAdmin(s,n)},notifications:{syncUrl:!0,baseUrl:location.href}},{actions:(0,Br.jsxs)(Br.Fragment,{children:[(0,Br.jsx)("span",{className:"max-sm:hidden",children:(0,Br.jsxs)(qi,{status:"ok",dot:!0,children:[i," emulator",i===1?"":"s"]})}),a.fleet?(0,Br.jsxs)(Fd,{href:a.fleet.consoleUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-sm",children:["Fleet console",(0,Br.jsx)(Zv,{className:"size-3.5"})]}):null]})})}var O7=document.getElementById("app"),NV=async()=>{try{let e=await fetch(new URL("api/admin",location.href));return e.ok?await e.json():null}catch{return null}},MV=(e,t)=>new Promise((a,r)=>{let o=document.createElement("div");o.style.cssText="color-scheme:light dark";let l=document.createElement("main");l.id="admin-root",l.setAttribute("data-mockingbird-admin",""),l.style.cssText="display:block",o.attachShadow({mode:"open"}).append(l),e.append(o);let n=document.createElement("script");n.src=new URL("admin/ui.js",location.href).href,n.onload=()=>{let i=globalThis.MockingbirdAdmin;if(!i)return r(new Error("The admin UI did not load."));let s=i.mount(l,t);a(()=>{typeof s=="function"?s():document.dispatchEvent(new Event("mockingbird:unmount")),o.remove()})},n.onerror=()=>r(new Error("The admin UI could not be loaded.")),document.head.append(n)}),PV=()=>{try{let e=localStorage.getItem(Jl);if(e!=="light"&&e!=="dark")return;document.documentElement.classList.add(e),document.documentElement.dataset.theme=e}catch{}},LV=async()=>{PV(),uN(O7,{title:O7.dataset.title??"Notifications",defaultTab:O7.dataset.defaultTab??"notifications",info:await NV(),mountAdmin:MV})};LV();})();\n';
|
|
3
|
+
export {
|
|
4
|
+
BUNDLE
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=browser.bundle-CHF65ZZT.js.map
|