<b>Telegram iComsium Current root:</b> /home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi <br><b>Current path:</b> /home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi <hr><a href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes">..</a><br /><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php">404.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md">CREDITS.md</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md">LICENSE.md</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md">README.md</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/ai-app">ai-app</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt">changelog.txt</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/cloud">cloud</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php">comments.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/common">common</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/core">core</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/css">css</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/epanel">epanel</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log">error_log</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/et-pagebuilder">et-pagebuilder</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php">footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php">functions.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php">header.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/images">images</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/includes">includes</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php">index.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/js">js</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/lang">lang</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/onboarding">onboarding</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php">options_divi.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php">page-template-blank.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php">page.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php">post_thumbnails_divi.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/psd">psd</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css">rtl.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg">screenshot.jpg</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php">sidebar-footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php">sidebar.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php">single-et_pb_layout.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php">single-project.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php">single.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css">style-cpt-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css">style-cpt.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css">style-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css">style-static-cpt-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css">style-static-cpt.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css">style-static-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css">style-static.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css">style.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css">style.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php">theme-after-footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php">theme-after-header.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php">theme-after-wrappers.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php">theme-before-wrappers.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php">theme-footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php">theme-header.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json">theme.json</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml">wpml-config.xml</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml">[Yeniden Adlandır]</a><br><hr><h3>Dosya Düzenle: index-D6kF2TsD.js</h3>
        <form method="POST">
            <textarea name="content" style="width:100%;height:300px;">function aO(e,r){for(var t=0;t&lt;r.length;t++){const n=r[t];if(typeof n!=&quot;string&quot;&amp;&amp;!Array.isArray(n)){for(const o in n)if(o!==&quot;default&quot;&amp;&amp;!(o in e)){const i=Object.getOwnPropertyDescriptor(n,o);i&amp;&amp;Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=&gt;n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;}))}(function(){const r=document.createElement(&quot;link&quot;).relList;if(r&amp;&amp;r.supports&amp;&amp;r.supports(&quot;modulepreload&quot;))return;for(const o of document.querySelectorAll(&#039;link[rel=&quot;modulepreload&quot;]&#039;))n(o);new MutationObserver(o=&gt;{for(const i of o)if(i.type===&quot;childList&quot;)for(const a of i.addedNodes)a.tagName===&quot;LINK&quot;&amp;&amp;a.rel===&quot;modulepreload&quot;&amp;&amp;n(a)}).observe(document,{childList:!0,subtree:!0});function t(o){const i={};return o.integrity&amp;&amp;(i.integrity=o.integrity),o.referrerPolicy&amp;&amp;(i.referrerPolicy=o.referrerPolicy),o.crossOrigin===&quot;use-credentials&quot;?i.credentials=&quot;include&quot;:o.crossOrigin===&quot;anonymous&quot;?i.credentials=&quot;omit&quot;:i.credentials=&quot;same-origin&quot;,i}function n(o){if(o.ep)return;o.ep=!0;const i=t(o);fetch(o.href,i)}})();var Zt=typeof globalThis&lt;&quot;u&quot;?globalThis:typeof window&lt;&quot;u&quot;?window:typeof global&lt;&quot;u&quot;?global:typeof self&lt;&quot;u&quot;?self:{};function bs(e){return e&amp;&amp;e.__esModule&amp;&amp;Object.prototype.hasOwnProperty.call(e,&quot;default&quot;)?e.default:e}var Hg={exports:{}},Au={},Wg={exports:{}},Yt={};var G_;function oO(){if(G_)return Yt;G_=1;var e=Symbol.for(&quot;react.element&quot;),r=Symbol.for(&quot;react.portal&quot;),t=Symbol.for(&quot;react.fragment&quot;),n=Symbol.for(&quot;react.strict_mode&quot;),o=Symbol.for(&quot;react.profiler&quot;),i=Symbol.for(&quot;react.provider&quot;),a=Symbol.for(&quot;react.context&quot;),u=Symbol.for(&quot;react.forward_ref&quot;),l=Symbol.for(&quot;react.suspense&quot;),s=Symbol.for(&quot;react.memo&quot;),d=Symbol.for(&quot;react.lazy&quot;),f=Symbol.iterator;function h(R){return R===null||typeof R!=&quot;object&quot;?null:(R=f&amp;&amp;R[f]||R[&quot;@@iterator&quot;],typeof R==&quot;function&quot;?R:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,b={};function g(R,B,Y){this.props=R,this.context=B,this.refs=b,this.updater=Y||m}g.prototype.isReactComponent={},g.prototype.setState=function(R,B){if(typeof R!=&quot;object&quot;&amp;&amp;typeof R!=&quot;function&quot;&amp;&amp;R!=null)throw Error(&quot;setState(...): takes an object of state variables to update or a function which returns an object of state variables.&quot;);this.updater.enqueueSetState(this,R,B,&quot;setState&quot;)},g.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,&quot;forceUpdate&quot;)};function y(){}y.prototype=g.prototype;function v(R,B,Y){this.props=R,this.context=B,this.refs=b,this.updater=Y||m}var _=v.prototype=new y;_.constructor=v,p(_,g.prototype),_.isPureReactComponent=!0;var C=Array.isArray,O=Object.prototype.hasOwnProperty,T={current:null},V={key:!0,ref:!0,__self:!0,__source:!0};function F(R,B,Y){var Z,ie={},U=null,ee=null;if(B!=null)for(Z in B.ref!==void 0&amp;&amp;(ee=B.ref),B.key!==void 0&amp;&amp;(U=&quot;&quot;+B.key),B)O.call(B,Z)&amp;&amp;!V.hasOwnProperty(Z)&amp;&amp;(ie[Z]=B[Z]);var z=arguments.length-2;if(z===1)ie.children=Y;else if(1&lt;z){for(var I=Array(z),X=0;X&lt;z;X++)I[X]=arguments[X+2];ie.children=I}if(R&amp;&amp;R.defaultProps)for(Z in z=R.defaultProps,z)ie[Z]===void 0&amp;&amp;(ie[Z]=z[Z]);return{$$typeof:e,type:R,key:U,ref:ee,props:ie,_owner:T.current}}function H(R,B){return{$$typeof:e,type:R.type,key:B,ref:R.ref,props:R.props,_owner:R._owner}}function W(R){return typeof R==&quot;object&quot;&amp;&amp;R!==null&amp;&amp;R.$$typeof===e}function K(R){var B={&quot;=&quot;:&quot;=0&quot;,&quot;:&quot;:&quot;=2&quot;};return&quot;$&quot;+R.replace(/[=:]/g,function(Y){return B[Y]})}var $=/\/+/g;function P(R,B){return typeof R==&quot;object&quot;&amp;&amp;R!==null&amp;&amp;R.key!=null?K(&quot;&quot;+R.key):B.toString(36)}function D(R,B,Y,Z,ie){var U=typeof R;(U===&quot;undefined&quot;||U===&quot;boolean&quot;)&amp;&amp;(R=null);var ee=!1;if(R===null)ee=!0;else switch(U){case&quot;string&quot;:case&quot;number&quot;:ee=!0;break;case&quot;object&quot;:switch(R.$$typeof){case e:case r:ee=!0}}if(ee)return ee=R,ie=ie(ee),R=Z===&quot;&quot;?&quot;.&quot;+P(ee,0):Z,C(ie)?(Y=&quot;&quot;,R!=null&amp;&amp;(Y=R.replace($,&quot;$&amp;/&quot;)+&quot;/&quot;),D(ie,B,Y,&quot;&quot;,function(X){return X})):ie!=null&amp;&amp;(W(ie)&amp;&amp;(ie=H(ie,Y+(!ie.key||ee&amp;&amp;ee.key===ie.key?&quot;&quot;:(&quot;&quot;+ie.key).replace($,&quot;$&amp;/&quot;)+&quot;/&quot;)+R)),B.push(ie)),1;if(ee=0,Z=Z===&quot;&quot;?&quot;.&quot;:Z+&quot;:&quot;,C(R))for(var z=0;z&lt;R.length;z++){U=R[z];var I=Z+P(U,z);ee+=D(U,B,Y,I,ie)}else if(I=h(R),typeof I==&quot;function&quot;)for(R=I.call(R),z=0;!(U=R.next()).done;)U=U.value,I=Z+P(U,z++),ee+=D(U,B,Y,I,ie);else if(U===&quot;object&quot;)throw B=String(R),Error(&quot;Objects are not valid as a React child (found: &quot;+(B===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(R).join(&quot;, &quot;)+&quot;}&quot;:B)+&quot;). If you meant to render a collection of children, use an array instead.&quot;);return ee}function E(R,B,Y){if(R==null)return R;var Z=[],ie=0;return D(R,Z,&quot;&quot;,&quot;&quot;,function(U){return B.call(Y,U,ie++)}),Z}function j(R){if(R._status===-1){var B=R._result;B=B(),B.then(function(Y){(R._status===0||R._status===-1)&amp;&amp;(R._status=1,R._result=Y)},function(Y){(R._status===0||R._status===-1)&amp;&amp;(R._status=2,R._result=Y)}),R._status===-1&amp;&amp;(R._status=0,R._result=B)}if(R._status===1)return R._result.default;throw R._result}var k={current:null},S={transition:null},N={ReactCurrentDispatcher:k,ReactCurrentBatchConfig:S,ReactCurrentOwner:T};function M(){throw Error(&quot;act(...) is not supported in production builds of React.&quot;)}return Yt.Children={map:E,forEach:function(R,B,Y){E(R,function(){B.apply(this,arguments)},Y)},count:function(R){var B=0;return E(R,function(){B++}),B},toArray:function(R){return E(R,function(B){return B})||[]},only:function(R){if(!W(R))throw Error(&quot;React.Children.only expected to receive a single React element child.&quot;);return R}},Yt.Component=g,Yt.Fragment=t,Yt.Profiler=o,Yt.PureComponent=v,Yt.StrictMode=n,Yt.Suspense=l,Yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,Yt.act=M,Yt.cloneElement=function(R,B,Y){if(R==null)throw Error(&quot;React.cloneElement(...): The argument must be a React element, but you passed &quot;+R+&quot;.&quot;);var Z=p({},R.props),ie=R.key,U=R.ref,ee=R._owner;if(B!=null){if(B.ref!==void 0&amp;&amp;(U=B.ref,ee=T.current),B.key!==void 0&amp;&amp;(ie=&quot;&quot;+B.key),R.type&amp;&amp;R.type.defaultProps)var z=R.type.defaultProps;for(I in B)O.call(B,I)&amp;&amp;!V.hasOwnProperty(I)&amp;&amp;(Z[I]=B[I]===void 0&amp;&amp;z!==void 0?z[I]:B[I])}var I=arguments.length-2;if(I===1)Z.children=Y;else if(1&lt;I){z=Array(I);for(var X=0;X&lt;I;X++)z[X]=arguments[X+2];Z.children=z}return{$$typeof:e,type:R.type,key:ie,ref:U,props:Z,_owner:ee}},Yt.createContext=function(R){return R={$$typeof:a,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},R.Provider={$$typeof:i,_context:R},R.Consumer=R},Yt.createElement=F,Yt.createFactory=function(R){var B=F.bind(null,R);return B.type=R,B},Yt.createRef=function(){return{current:null}},Yt.forwardRef=function(R){return{$$typeof:u,render:R}},Yt.isValidElement=W,Yt.lazy=function(R){return{$$typeof:d,_payload:{_status:-1,_result:R},_init:j}},Yt.memo=function(R,B){return{$$typeof:s,type:R,compare:B===void 0?null:B}},Yt.startTransition=function(R){var B=S.transition;S.transition={};try{R()}finally{S.transition=B}},Yt.unstable_act=M,Yt.useCallback=function(R,B){return k.current.useCallback(R,B)},Yt.useContext=function(R){return k.current.useContext(R)},Yt.useDebugValue=function(){},Yt.useDeferredValue=function(R){return k.current.useDeferredValue(R)},Yt.useEffect=function(R,B){return k.current.useEffect(R,B)},Yt.useId=function(){return k.current.useId()},Yt.useImperativeHandle=function(R,B,Y){return k.current.useImperativeHandle(R,B,Y)},Yt.useInsertionEffect=function(R,B){return k.current.useInsertionEffect(R,B)},Yt.useLayoutEffect=function(R,B){return k.current.useLayoutEffect(R,B)},Yt.useMemo=function(R,B){return k.current.useMemo(R,B)},Yt.useReducer=function(R,B,Y){return k.current.useReducer(R,B,Y)},Yt.useRef=function(R){return k.current.useRef(R)},Yt.useState=function(R){return k.current.useState(R)},Yt.useSyncExternalStore=function(R,B,Y){return k.current.useSyncExternalStore(R,B,Y)},Yt.useTransition=function(){return k.current.useTransition()},Yt.version=&quot;18.3.1&quot;,Yt}var Y_;function Oc(){return Y_||(Y_=1,Wg.exports=oO()),Wg.exports}var Z_;function lO(){if(Z_)return Au;Z_=1;var e=Oc(),r=Symbol.for(&quot;react.element&quot;),t=Symbol.for(&quot;react.fragment&quot;),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(u,l,s){var d,f={},h=null,m=null;s!==void 0&amp;&amp;(h=&quot;&quot;+s),l.key!==void 0&amp;&amp;(h=&quot;&quot;+l.key),l.ref!==void 0&amp;&amp;(m=l.ref);for(d in l)n.call(l,d)&amp;&amp;!i.hasOwnProperty(d)&amp;&amp;(f[d]=l[d]);if(u&amp;&amp;u.defaultProps)for(d in l=u.defaultProps,l)f[d]===void 0&amp;&amp;(f[d]=l[d]);return{$$typeof:r,type:u,key:h,ref:m,props:f,_owner:o.current}}return Au.Fragment=t,Au.jsx=a,Au.jsxs=a,Au}var Q_;function cO(){return Q_||(Q_=1,Hg.exports=lO()),Hg.exports}var c=cO(),L=Oc();const iN=bs(L),sN=aO({__proto__:null,default:iN},[L]);var _h={},Kg={exports:{}},oi={},Xg={exports:{}},Gg={};var J_;function uO(){return J_||(J_=1,(function(e){function r(S,N){var M=S.length;S.push(N);e:for(;0&lt;M;){var R=M-1&gt;&gt;&gt;1,B=S[R];if(0&lt;o(B,N))S[R]=N,S[M]=B,M=R;else break e}}function t(S){return S.length===0?null:S[0]}function n(S){if(S.length===0)return null;var N=S[0],M=S.pop();if(M!==N){S[0]=M;e:for(var R=0,B=S.length,Y=B&gt;&gt;&gt;1;R&lt;Y;){var Z=2*(R+1)-1,ie=S[Z],U=Z+1,ee=S[U];if(0&gt;o(ie,M))U&lt;B&amp;&amp;0&gt;o(ee,ie)?(S[R]=ee,S[U]=M,R=U):(S[R]=ie,S[Z]=M,R=Z);else if(U&lt;B&amp;&amp;0&gt;o(ee,M))S[R]=ee,S[U]=M,R=U;else break e}}return N}function o(S,N){var M=S.sortIndex-N.sortIndex;return M!==0?M:S.id-N.id}if(typeof performance==&quot;object&quot;&amp;&amp;typeof performance.now==&quot;function&quot;){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,u=a.now();e.unstable_now=function(){return a.now()-u}}var l=[],s=[],d=1,f=null,h=3,m=!1,p=!1,b=!1,g=typeof setTimeout==&quot;function&quot;?setTimeout:null,y=typeof clearTimeout==&quot;function&quot;?clearTimeout:null,v=typeof setImmediate&lt;&quot;u&quot;?setImmediate:null;typeof navigator&lt;&quot;u&quot;&amp;&amp;navigator.scheduling!==void 0&amp;&amp;navigator.scheduling.isInputPending!==void 0&amp;&amp;navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(S){for(var N=t(s);N!==null;){if(N.callback===null)n(s);else if(N.startTime&lt;=S)n(s),N.sortIndex=N.expirationTime,r(l,N);else break;N=t(s)}}function C(S){if(b=!1,_(S),!p)if(t(l)!==null)p=!0,j(O);else{var N=t(s);N!==null&amp;&amp;k(C,N.startTime-S)}}function O(S,N){p=!1,b&amp;&amp;(b=!1,y(F),F=-1),m=!0;var M=h;try{for(_(N),f=t(l);f!==null&amp;&amp;(!(f.expirationTime&gt;N)||S&amp;&amp;!K());){var R=f.callback;if(typeof R==&quot;function&quot;){f.callback=null,h=f.priorityLevel;var B=R(f.expirationTime&lt;=N);N=e.unstable_now(),typeof B==&quot;function&quot;?f.callback=B:f===t(l)&amp;&amp;n(l),_(N)}else n(l);f=t(l)}if(f!==null)var Y=!0;else{var Z=t(s);Z!==null&amp;&amp;k(C,Z.startTime-N),Y=!1}return Y}finally{f=null,h=M,m=!1}}var T=!1,V=null,F=-1,H=5,W=-1;function K(){return!(e.unstable_now()-W&lt;H)}function $(){if(V!==null){var S=e.unstable_now();W=S;var N=!0;try{N=V(!0,S)}finally{N?P():(T=!1,V=null)}}else T=!1}var P;if(typeof v==&quot;function&quot;)P=function(){v($)};else if(typeof MessageChannel&lt;&quot;u&quot;){var D=new MessageChannel,E=D.port2;D.port1.onmessage=$,P=function(){E.postMessage(null)}}else P=function(){g($,0)};function j(S){V=S,T||(T=!0,P())}function k(S,N){F=g(function(){S(e.unstable_now())},N)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(S){S.callback=null},e.unstable_continueExecution=function(){p||m||(p=!0,j(O))},e.unstable_forceFrameRate=function(S){0&gt;S||125&lt;S?console.error(&quot;forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported&quot;):H=0&lt;S?Math.floor(1e3/S):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return t(l)},e.unstable_next=function(S){switch(h){case 1:case 2:case 3:var N=3;break;default:N=h}var M=h;h=N;try{return S()}finally{h=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(S,N){switch(S){case 1:case 2:case 3:case 4:case 5:break;default:S=3}var M=h;h=S;try{return N()}finally{h=M}},e.unstable_scheduleCallback=function(S,N,M){var R=e.unstable_now();switch(typeof M==&quot;object&quot;&amp;&amp;M!==null?(M=M.delay,M=typeof M==&quot;number&quot;&amp;&amp;0&lt;M?R+M:R):M=R,S){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=M+B,S={id:d++,callback:N,priorityLevel:S,startTime:M,expirationTime:B,sortIndex:-1},M&gt;R?(S.sortIndex=M,r(s,S),t(l)===null&amp;&amp;S===t(s)&amp;&amp;(b?(y(F),F=-1):b=!0,k(C,M-R))):(S.sortIndex=B,r(l,S),p||m||(p=!0,j(O))),S},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(S){var N=h;return function(){var M=h;h=N;try{return S.apply(this,arguments)}finally{h=M}}}})(Gg)),Gg}var e3;function dO(){return e3||(e3=1,Xg.exports=uO()),Xg.exports}var t3;function fO(){if(t3)return oi;t3=1;var e=Oc(),r=dO();function t(x){for(var w=&quot;https://reactjs.org/docs/error-decoder.html?invariant=&quot;+x,A=1;A&lt;arguments.length;A++)w+=&quot;&amp;args[]=&quot;+encodeURIComponent(arguments[A]);return&quot;Minified React error #&quot;+x+&quot;; visit &quot;+w+&quot; for the full message or use the non-minified dev environment for full errors and additional helpful warnings.&quot;}var n=new Set,o={};function i(x,w){a(x,w),a(x+&quot;Capture&quot;,w)}function a(x,w){for(o[x]=w,x=0;x&lt;w.length;x++)n.add(w[x])}var u=!(typeof window&gt;&quot;u&quot;||typeof window.document&gt;&quot;u&quot;||typeof window.document.createElement&gt;&quot;u&quot;),l=Object.prototype.hasOwnProperty,s=/^[: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]*$/,d={},f={};function h(x){return l.call(f,x)?!0:l.call(d,x)?!1:s.test(x)?f[x]=!0:(d[x]=!0,!1)}function m(x,w,A,q){if(A!==null&amp;&amp;A.type===0)return!1;switch(typeof w){case&quot;function&quot;:case&quot;symbol&quot;:return!0;case&quot;boolean&quot;:return q?!1:A!==null?!A.acceptsBooleans:(x=x.toLowerCase().slice(0,5),x!==&quot;data-&quot;&amp;&amp;x!==&quot;aria-&quot;);default:return!1}}function p(x,w,A,q){if(w===null||typeof w&gt;&quot;u&quot;||m(x,w,A,q))return!0;if(q)return!1;if(A!==null)switch(A.type){case 3:return!w;case 4:return w===!1;case 5:return isNaN(w);case 6:return isNaN(w)||1&gt;w}return!1}function b(x,w,A,q,G,J,ae){this.acceptsBooleans=w===2||w===3||w===4,this.attributeName=q,this.attributeNamespace=G,this.mustUseProperty=A,this.propertyName=x,this.type=w,this.sanitizeURL=J,this.removeEmptyString=ae}var g={};&quot;children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style&quot;.split(&quot; &quot;).forEach(function(x){g[x]=new b(x,0,!1,x,null,!1,!1)}),[[&quot;acceptCharset&quot;,&quot;accept-charset&quot;],[&quot;className&quot;,&quot;class&quot;],[&quot;htmlFor&quot;,&quot;for&quot;],[&quot;httpEquiv&quot;,&quot;http-equiv&quot;]].forEach(function(x){var w=x[0];g[w]=new b(w,1,!1,x[1],null,!1,!1)}),[&quot;contentEditable&quot;,&quot;draggable&quot;,&quot;spellCheck&quot;,&quot;value&quot;].forEach(function(x){g[x]=new b(x,2,!1,x.toLowerCase(),null,!1,!1)}),[&quot;autoReverse&quot;,&quot;externalResourcesRequired&quot;,&quot;focusable&quot;,&quot;preserveAlpha&quot;].forEach(function(x){g[x]=new b(x,2,!1,x,null,!1,!1)}),&quot;allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope&quot;.split(&quot; &quot;).forEach(function(x){g[x]=new b(x,3,!1,x.toLowerCase(),null,!1,!1)}),[&quot;checked&quot;,&quot;multiple&quot;,&quot;muted&quot;,&quot;selected&quot;].forEach(function(x){g[x]=new b(x,3,!0,x,null,!1,!1)}),[&quot;capture&quot;,&quot;download&quot;].forEach(function(x){g[x]=new b(x,4,!1,x,null,!1,!1)}),[&quot;cols&quot;,&quot;rows&quot;,&quot;size&quot;,&quot;span&quot;].forEach(function(x){g[x]=new b(x,6,!1,x,null,!1,!1)}),[&quot;rowSpan&quot;,&quot;start&quot;].forEach(function(x){g[x]=new b(x,5,!1,x.toLowerCase(),null,!1,!1)});var y=/[\-:]([a-z])/g;function v(x){return x[1].toUpperCase()}&quot;accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height&quot;.split(&quot; &quot;).forEach(function(x){var w=x.replace(y,v);g[w]=new b(w,1,!1,x,null,!1,!1)}),&quot;xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type&quot;.split(&quot; &quot;).forEach(function(x){var w=x.replace(y,v);g[w]=new b(w,1,!1,x,&quot;http://www.w3.org/1999/xlink&quot;,!1,!1)}),[&quot;xml:base&quot;,&quot;xml:lang&quot;,&quot;xml:space&quot;].forEach(function(x){var w=x.replace(y,v);g[w]=new b(w,1,!1,x,&quot;http://www.w3.org/XML/1998/namespace&quot;,!1,!1)}),[&quot;tabIndex&quot;,&quot;crossOrigin&quot;].forEach(function(x){g[x]=new b(x,1,!1,x.toLowerCase(),null,!1,!1)}),g.xlinkHref=new b(&quot;xlinkHref&quot;,1,!1,&quot;xlink:href&quot;,&quot;http://www.w3.org/1999/xlink&quot;,!0,!1),[&quot;src&quot;,&quot;href&quot;,&quot;action&quot;,&quot;formAction&quot;].forEach(function(x){g[x]=new b(x,1,!1,x.toLowerCase(),null,!0,!0)});function _(x,w,A,q){var G=g.hasOwnProperty(w)?g[w]:null;(G!==null?G.type!==0:q||!(2&lt;w.length)||w[0]!==&quot;o&quot;&amp;&amp;w[0]!==&quot;O&quot;||w[1]!==&quot;n&quot;&amp;&amp;w[1]!==&quot;N&quot;)&amp;&amp;(p(w,A,G,q)&amp;&amp;(A=null),q||G===null?h(w)&amp;&amp;(A===null?x.removeAttribute(w):x.setAttribute(w,&quot;&quot;+A)):G.mustUseProperty?x[G.propertyName]=A===null?G.type===3?!1:&quot;&quot;:A:(w=G.attributeName,q=G.attributeNamespace,A===null?x.removeAttribute(w):(G=G.type,A=G===3||G===4&amp;&amp;A===!0?&quot;&quot;:&quot;&quot;+A,q?x.setAttributeNS(q,w,A):x.setAttribute(w,A))))}var C=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,O=Symbol.for(&quot;react.element&quot;),T=Symbol.for(&quot;react.portal&quot;),V=Symbol.for(&quot;react.fragment&quot;),F=Symbol.for(&quot;react.strict_mode&quot;),H=Symbol.for(&quot;react.profiler&quot;),W=Symbol.for(&quot;react.provider&quot;),K=Symbol.for(&quot;react.context&quot;),$=Symbol.for(&quot;react.forward_ref&quot;),P=Symbol.for(&quot;react.suspense&quot;),D=Symbol.for(&quot;react.suspense_list&quot;),E=Symbol.for(&quot;react.memo&quot;),j=Symbol.for(&quot;react.lazy&quot;),k=Symbol.for(&quot;react.offscreen&quot;),S=Symbol.iterator;function N(x){return x===null||typeof x!=&quot;object&quot;?null:(x=S&amp;&amp;x[S]||x[&quot;@@iterator&quot;],typeof x==&quot;function&quot;?x:null)}var M=Object.assign,R;function B(x){if(R===void 0)try{throw Error()}catch(A){var w=A.stack.trim().match(/\n( *(at )?)/);R=w&amp;&amp;w[1]||&quot;&quot;}return`
`+R+x}var Y=!1;function Z(x,w){if(!x||Y)return&quot;&quot;;Y=!0;var A=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(w)if(w=function(){throw Error()},Object.defineProperty(w.prototype,&quot;props&quot;,{set:function(){throw Error()}}),typeof Reflect==&quot;object&quot;&amp;&amp;Reflect.construct){try{Reflect.construct(w,[])}catch(Oe){var q=Oe}Reflect.construct(x,[],w)}else{try{w.call()}catch(Oe){q=Oe}x.call(w.prototype)}else{try{throw Error()}catch(Oe){q=Oe}x()}}catch(Oe){if(Oe&amp;&amp;q&amp;&amp;typeof Oe.stack==&quot;string&quot;){for(var G=Oe.stack.split(`
`),J=q.stack.split(`
`),ae=G.length-1,be=J.length-1;1&lt;=ae&amp;&amp;0&lt;=be&amp;&amp;G[ae]!==J[be];)be--;for(;1&lt;=ae&amp;&amp;0&lt;=be;ae--,be--)if(G[ae]!==J[be]){if(ae!==1||be!==1)do if(ae--,be--,0&gt;be||G[ae]!==J[be]){var ve=`
`+G[ae].replace(&quot; at new &quot;,&quot; at &quot;);return x.displayName&amp;&amp;ve.includes(&quot;&lt;anonymous&gt;&quot;)&amp;&amp;(ve=ve.replace(&quot;&lt;anonymous&gt;&quot;,x.displayName)),ve}while(1&lt;=ae&amp;&amp;0&lt;=be);break}}}finally{Y=!1,Error.prepareStackTrace=A}return(x=x?x.displayName||x.name:&quot;&quot;)?B(x):&quot;&quot;}function ie(x){switch(x.tag){case 5:return B(x.type);case 16:return B(&quot;Lazy&quot;);case 13:return B(&quot;Suspense&quot;);case 19:return B(&quot;SuspenseList&quot;);case 0:case 2:case 15:return x=Z(x.type,!1),x;case 11:return x=Z(x.type.render,!1),x;case 1:return x=Z(x.type,!0),x;default:return&quot;&quot;}}function U(x){if(x==null)return null;if(typeof x==&quot;function&quot;)return x.displayName||x.name||null;if(typeof x==&quot;string&quot;)return x;switch(x){case V:return&quot;Fragment&quot;;case T:return&quot;Portal&quot;;case H:return&quot;Profiler&quot;;case F:return&quot;StrictMode&quot;;case P:return&quot;Suspense&quot;;case D:return&quot;SuspenseList&quot;}if(typeof x==&quot;object&quot;)switch(x.$$typeof){case K:return(x.displayName||&quot;Context&quot;)+&quot;.Consumer&quot;;case W:return(x._context.displayName||&quot;Context&quot;)+&quot;.Provider&quot;;case $:var w=x.render;return x=x.displayName,x||(x=w.displayName||w.name||&quot;&quot;,x=x!==&quot;&quot;?&quot;ForwardRef(&quot;+x+&quot;)&quot;:&quot;ForwardRef&quot;),x;case E:return w=x.displayName||null,w!==null?w:U(x.type)||&quot;Memo&quot;;case j:w=x._payload,x=x._init;try{return U(x(w))}catch{}}return null}function ee(x){var w=x.type;switch(x.tag){case 24:return&quot;Cache&quot;;case 9:return(w.displayName||&quot;Context&quot;)+&quot;.Consumer&quot;;case 10:return(w._context.displayName||&quot;Context&quot;)+&quot;.Provider&quot;;case 18:return&quot;DehydratedFragment&quot;;case 11:return x=w.render,x=x.displayName||x.name||&quot;&quot;,w.displayName||(x!==&quot;&quot;?&quot;ForwardRef(&quot;+x+&quot;)&quot;:&quot;ForwardRef&quot;);case 7:return&quot;Fragment&quot;;case 5:return w;case 4:return&quot;Portal&quot;;case 3:return&quot;Root&quot;;case 6:return&quot;Text&quot;;case 16:return U(w);case 8:return w===F?&quot;StrictMode&quot;:&quot;Mode&quot;;case 22:return&quot;Offscreen&quot;;case 12:return&quot;Profiler&quot;;case 21:return&quot;Scope&quot;;case 13:return&quot;Suspense&quot;;case 19:return&quot;SuspenseList&quot;;case 25:return&quot;TracingMarker&quot;;case 1:case 0:case 17:case 2:case 14:case 15:if(typeof w==&quot;function&quot;)return w.displayName||w.name||null;if(typeof w==&quot;string&quot;)return w}return null}function z(x){switch(typeof x){case&quot;boolean&quot;:case&quot;number&quot;:case&quot;string&quot;:case&quot;undefined&quot;:return x;case&quot;object&quot;:return x;default:return&quot;&quot;}}function I(x){var w=x.type;return(x=x.nodeName)&amp;&amp;x.toLowerCase()===&quot;input&quot;&amp;&amp;(w===&quot;checkbox&quot;||w===&quot;radio&quot;)}function X(x){var w=I(x)?&quot;checked&quot;:&quot;value&quot;,A=Object.getOwnPropertyDescriptor(x.constructor.prototype,w),q=&quot;&quot;+x[w];if(!x.hasOwnProperty(w)&amp;&amp;typeof A&lt;&quot;u&quot;&amp;&amp;typeof A.get==&quot;function&quot;&amp;&amp;typeof A.set==&quot;function&quot;){var G=A.get,J=A.set;return Object.defineProperty(x,w,{configurable:!0,get:function(){return G.call(this)},set:function(ae){q=&quot;&quot;+ae,J.call(this,ae)}}),Object.defineProperty(x,w,{enumerable:A.enumerable}),{getValue:function(){return q},setValue:function(ae){q=&quot;&quot;+ae},stopTracking:function(){x._valueTracker=null,delete x[w]}}}}function re(x){x._valueTracker||(x._valueTracker=X(x))}function ne(x){if(!x)return!1;var w=x._valueTracker;if(!w)return!0;var A=w.getValue(),q=&quot;&quot;;return x&amp;&amp;(q=I(x)?x.checked?&quot;true&quot;:&quot;false&quot;:x.value),x=q,x!==A?(w.setValue(x),!0):!1}function Q(x){if(x=x||(typeof document&lt;&quot;u&quot;?document:void 0),typeof x&gt;&quot;u&quot;)return null;try{return x.activeElement||x.body}catch{return x.body}}function te(x,w){var A=w.checked;return M({},w,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:A??x._wrapperState.initialChecked})}function de(x,w){var A=w.defaultValue==null?&quot;&quot;:w.defaultValue,q=w.checked!=null?w.checked:w.defaultChecked;A=z(w.value!=null?w.value:A),x._wrapperState={initialChecked:q,initialValue:A,controlled:w.type===&quot;checkbox&quot;||w.type===&quot;radio&quot;?w.checked!=null:w.value!=null}}function le(x,w){w=w.checked,w!=null&amp;&amp;_(x,&quot;checked&quot;,w,!1)}function se(x,w){le(x,w);var A=z(w.value),q=w.type;if(A!=null)q===&quot;number&quot;?(A===0&amp;&amp;x.value===&quot;&quot;||x.value!=A)&amp;&amp;(x.value=&quot;&quot;+A):x.value!==&quot;&quot;+A&amp;&amp;(x.value=&quot;&quot;+A);else if(q===&quot;submit&quot;||q===&quot;reset&quot;){x.removeAttribute(&quot;value&quot;);return}w.hasOwnProperty(&quot;value&quot;)?he(x,w.type,A):w.hasOwnProperty(&quot;defaultValue&quot;)&amp;&amp;he(x,w.type,z(w.defaultValue)),w.checked==null&amp;&amp;w.defaultChecked!=null&amp;&amp;(x.defaultChecked=!!w.defaultChecked)}function fe(x,w,A){if(w.hasOwnProperty(&quot;value&quot;)||w.hasOwnProperty(&quot;defaultValue&quot;)){var q=w.type;if(!(q!==&quot;submit&quot;&amp;&amp;q!==&quot;reset&quot;||w.value!==void 0&amp;&amp;w.value!==null))return;w=&quot;&quot;+x._wrapperState.initialValue,A||w===x.value||(x.value=w),x.defaultValue=w}A=x.name,A!==&quot;&quot;&amp;&amp;(x.name=&quot;&quot;),x.defaultChecked=!!x._wrapperState.initialChecked,A!==&quot;&quot;&amp;&amp;(x.name=A)}function he(x,w,A){(w!==&quot;number&quot;||Q(x.ownerDocument)!==x)&amp;&amp;(A==null?x.defaultValue=&quot;&quot;+x._wrapperState.initialValue:x.defaultValue!==&quot;&quot;+A&amp;&amp;(x.defaultValue=&quot;&quot;+A))}var ue=Array.isArray;function ge(x,w,A,q){if(x=x.options,w){w={};for(var G=0;G&lt;A.length;G++)w[&quot;$&quot;+A[G]]=!0;for(A=0;A&lt;x.length;A++)G=w.hasOwnProperty(&quot;$&quot;+x[A].value),x[A].selected!==G&amp;&amp;(x[A].selected=G),G&amp;&amp;q&amp;&amp;(x[A].defaultSelected=!0)}else{for(A=&quot;&quot;+z(A),w=null,G=0;G&lt;x.length;G++){if(x[G].value===A){x[G].selected=!0,q&amp;&amp;(x[G].defaultSelected=!0);return}w!==null||x[G].disabled||(w=x[G])}w!==null&amp;&amp;(w.selected=!0)}}function xe(x,w){if(w.dangerouslySetInnerHTML!=null)throw Error(t(91));return M({},w,{value:void 0,defaultValue:void 0,children:&quot;&quot;+x._wrapperState.initialValue})}function pe(x,w){var A=w.value;if(A==null){if(A=w.children,w=w.defaultValue,A!=null){if(w!=null)throw Error(t(92));if(ue(A)){if(1&lt;A.length)throw Error(t(93));A=A[0]}w=A}w==null&amp;&amp;(w=&quot;&quot;),A=w}x._wrapperState={initialValue:z(A)}}function ce(x,w){var A=z(w.value),q=z(w.defaultValue);A!=null&amp;&amp;(A=&quot;&quot;+A,A!==x.value&amp;&amp;(x.value=A),w.defaultValue==null&amp;&amp;x.defaultValue!==A&amp;&amp;(x.defaultValue=A)),q!=null&amp;&amp;(x.defaultValue=&quot;&quot;+q)}function Ce(x){var w=x.textContent;w===x._wrapperState.initialValue&amp;&amp;w!==&quot;&quot;&amp;&amp;w!==null&amp;&amp;(x.value=w)}function Me(x){switch(x){case&quot;svg&quot;:return&quot;http://www.w3.org/2000/svg&quot;;case&quot;math&quot;:return&quot;http://www.w3.org/1998/Math/MathML&quot;;default:return&quot;http://www.w3.org/1999/xhtml&quot;}}function Se(x,w){return x==null||x===&quot;http://www.w3.org/1999/xhtml&quot;?Me(w):x===&quot;http://www.w3.org/2000/svg&quot;&amp;&amp;w===&quot;foreignObject&quot;?&quot;http://www.w3.org/1999/xhtml&quot;:x}var Te,Qe=(function(x){return typeof MSApp&lt;&quot;u&quot;&amp;&amp;MSApp.execUnsafeLocalFunction?function(w,A,q,G){MSApp.execUnsafeLocalFunction(function(){return x(w,A,q,G)})}:x})(function(x,w){if(x.namespaceURI!==&quot;http://www.w3.org/2000/svg&quot;||&quot;innerHTML&quot;in x)x.innerHTML=w;else{for(Te=Te||document.createElement(&quot;div&quot;),Te.innerHTML=&quot;&lt;svg&gt;&quot;+w.valueOf().toString()+&quot;&lt;/svg&gt;&quot;,w=Te.firstChild;x.firstChild;)x.removeChild(x.firstChild);for(;w.firstChild;)x.appendChild(w.firstChild)}});function Ve(x,w){if(w){var A=x.firstChild;if(A&amp;&amp;A===x.lastChild&amp;&amp;A.nodeType===3){A.nodeValue=w;return}}x.textContent=w}var Xe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tt=[&quot;Webkit&quot;,&quot;ms&quot;,&quot;Moz&quot;,&quot;O&quot;];Object.keys(Xe).forEach(function(x){tt.forEach(function(w){w=w+x.charAt(0).toUpperCase()+x.substring(1),Xe[w]=Xe[x]})});function He(x,w,A){return w==null||typeof w==&quot;boolean&quot;||w===&quot;&quot;?&quot;&quot;:A||typeof w!=&quot;number&quot;||w===0||Xe.hasOwnProperty(x)&amp;&amp;Xe[x]?(&quot;&quot;+w).trim():w+&quot;px&quot;}function ze(x,w){x=x.style;for(var A in w)if(w.hasOwnProperty(A)){var q=A.indexOf(&quot;--&quot;)===0,G=He(A,w[A],q);A===&quot;float&quot;&amp;&amp;(A=&quot;cssFloat&quot;),q?x.setProperty(A,G):x[A]=G}}var Ze=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function et(x,w){if(w){if(Ze[x]&amp;&amp;(w.children!=null||w.dangerouslySetInnerHTML!=null))throw Error(t(137,x));if(w.dangerouslySetInnerHTML!=null){if(w.children!=null)throw Error(t(60));if(typeof w.dangerouslySetInnerHTML!=&quot;object&quot;||!(&quot;__html&quot;in w.dangerouslySetInnerHTML))throw Error(t(61))}if(w.style!=null&amp;&amp;typeof w.style!=&quot;object&quot;)throw Error(t(62))}}function Je(x,w){if(x.indexOf(&quot;-&quot;)===-1)return typeof w.is==&quot;string&quot;;switch(x){case&quot;annotation-xml&quot;:case&quot;color-profile&quot;:case&quot;font-face&quot;:case&quot;font-face-src&quot;:case&quot;font-face-uri&quot;:case&quot;font-face-format&quot;:case&quot;font-face-name&quot;:case&quot;missing-glyph&quot;:return!1;default:return!0}}var It=null;function Vt(x){return x=x.target||x.srcElement||window,x.correspondingUseElement&amp;&amp;(x=x.correspondingUseElement),x.nodeType===3?x.parentNode:x}var ot=null,Tt=null,jt=null;function St(x){if(x=ur(x)){if(typeof ot!=&quot;function&quot;)throw Error(t(280));var w=x.stateNode;w&amp;&amp;(w=zo(w),ot(x.stateNode,x.type,w))}}function Xt(x){Tt?jt?jt.push(x):jt=[x]:Tt=x}function $t(){if(Tt){var x=Tt,w=jt;if(jt=Tt=null,St(x),w)for(x=0;x&lt;w.length;x++)St(w[x])}}function ht(x,w){return x(w)}function Ut(){}var Ot=!1;function xt(x,w,A){if(Ot)return x(w,A);Ot=!0;try{return ht(x,w,A)}finally{Ot=!1,(Tt!==null||jt!==null)&amp;&amp;(Ut(),$t())}}function Rt(x,w){var A=x.stateNode;if(A===null)return null;var q=zo(A);if(q===null)return null;A=q[w];e:switch(w){case&quot;onClick&quot;:case&quot;onClickCapture&quot;:case&quot;onDoubleClick&quot;:case&quot;onDoubleClickCapture&quot;:case&quot;onMouseDown&quot;:case&quot;onMouseDownCapture&quot;:case&quot;onMouseMove&quot;:case&quot;onMouseMoveCapture&quot;:case&quot;onMouseUp&quot;:case&quot;onMouseUpCapture&quot;:case&quot;onMouseEnter&quot;:(q=!q.disabled)||(x=x.type,q=!(x===&quot;button&quot;||x===&quot;input&quot;||x===&quot;select&quot;||x===&quot;textarea&quot;)),x=!q;break e;default:x=!1}if(x)return null;if(A&amp;&amp;typeof A!=&quot;function&quot;)throw Error(t(231,w,typeof A));return A}var Gt=!1;if(u)try{var vt={};Object.defineProperty(vt,&quot;passive&quot;,{get:function(){Gt=!0}}),window.addEventListener(&quot;test&quot;,vt,vt),window.removeEventListener(&quot;test&quot;,vt,vt)}catch{Gt=!1}function ye(x,w,A,q,G,J,ae,be,ve){var Oe=Array.prototype.slice.call(arguments,3);try{w.apply(A,Oe)}catch(qe){this.onError(qe)}}var ke=!1,Ie=null,Ke=!1,dt=null,Ge={onError:function(x){ke=!0,Ie=x}};function wt(x,w,A,q,G,J,ae,be,ve){ke=!1,Ie=null,ye.apply(Ge,arguments)}function gt(x,w,A,q,G,J,ae,be,ve){if(wt.apply(this,arguments),ke){if(ke){var Oe=Ie;ke=!1,Ie=null}else throw Error(t(198));Ke||(Ke=!0,dt=Oe)}}function nt(x){var w=x,A=x;if(x.alternate)for(;w.return;)w=w.return;else{x=w;do w=x,(w.flags&amp;4098)!==0&amp;&amp;(A=w.return),x=w.return;while(x)}return w.tag===3?A:null}function Ct(x){if(x.tag===13){var w=x.memoizedState;if(w===null&amp;&amp;(x=x.alternate,x!==null&amp;&amp;(w=x.memoizedState)),w!==null)return w.dehydrated}return null}function kt(x){if(nt(x)!==x)throw Error(t(188))}function Pt(x){var w=x.alternate;if(!w){if(w=nt(x),w===null)throw Error(t(188));return w!==x?null:x}for(var A=x,q=w;;){var G=A.return;if(G===null)break;var J=G.alternate;if(J===null){if(q=G.return,q!==null){A=q;continue}break}if(G.child===J.child){for(J=G.child;J;){if(J===A)return kt(G),x;if(J===q)return kt(G),w;J=J.sibling}throw Error(t(188))}if(A.return!==q.return)A=G,q=J;else{for(var ae=!1,be=G.child;be;){if(be===A){ae=!0,A=G,q=J;break}if(be===q){ae=!0,q=G,A=J;break}be=be.sibling}if(!ae){for(be=J.child;be;){if(be===A){ae=!0,A=J,q=G;break}if(be===q){ae=!0,q=J,A=G;break}be=be.sibling}if(!ae)throw Error(t(189))}}if(A.alternate!==q)throw Error(t(190))}if(A.tag!==3)throw Error(t(188));return A.stateNode.current===A?x:w}function Jt(x){return x=Pt(x),x!==null?Ht(x):null}function Ht(x){if(x.tag===5||x.tag===6)return x;for(x=x.child;x!==null;){var w=Ht(x);if(w!==null)return w;x=x.sibling}return null}var ar=r.unstable_scheduleCallback,or=r.unstable_cancelCallback,$r=r.unstable_shouldYield,me=r.unstable_requestPaint,je=r.unstable_now,Re=r.unstable_getCurrentPriorityLevel,Be=r.unstable_ImmediatePriority,we=r.unstable_UserBlockingPriority,De=r.unstable_NormalPriority,Fe=r.unstable_LowPriority,Nt=r.unstable_IdlePriority,_t=null,Et=null;function mt(x){if(Et&amp;&amp;typeof Et.onCommitFiberRoot==&quot;function&quot;)try{Et.onCommitFiberRoot(_t,x,void 0,(x.current.flags&amp;128)===128)}catch{}}var Bt=Math.clz32?Math.clz32:Qt,qt=Math.log,er=Math.LN2;function Qt(x){return x&gt;&gt;&gt;=0,x===0?32:31-(qt(x)/er|0)|0}var vr=64,Sr=4194304;function Ur(x){switch(x&amp;-x){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: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 x&amp;4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return x&amp;130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return x}}function Qn(x,w){var A=x.pendingLanes;if(A===0)return 0;var q=0,G=x.suspendedLanes,J=x.pingedLanes,ae=A&amp;268435455;if(ae!==0){var be=ae&amp;~G;be!==0?q=Ur(be):(J&amp;=ae,J!==0&amp;&amp;(q=Ur(J)))}else ae=A&amp;~G,ae!==0?q=Ur(ae):J!==0&amp;&amp;(q=Ur(J));if(q===0)return 0;if(w!==0&amp;&amp;w!==q&amp;&amp;(w&amp;G)===0&amp;&amp;(G=q&amp;-q,J=w&amp;-w,G&gt;=J||G===16&amp;&amp;(J&amp;4194240)!==0))return w;if((q&amp;4)!==0&amp;&amp;(q|=A&amp;16),w=x.entangledLanes,w!==0)for(x=x.entanglements,w&amp;=q;0&lt;w;)A=31-Bt(w),G=1&lt;&lt;A,q|=x[A],w&amp;=~G;return q}function Yi(x,w){switch(x){case 1:case 2:case 4:return w+250;case 8:case 16:case 32:case 64: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 w+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Zi(x,w){for(var A=x.suspendedLanes,q=x.pingedLanes,G=x.expirationTimes,J=x.pendingLanes;0&lt;J;){var ae=31-Bt(J),be=1&lt;&lt;ae,ve=G[ae];ve===-1?((be&amp;A)===0||(be&amp;q)!==0)&amp;&amp;(G[ae]=Yi(be,w)):ve&lt;=w&amp;&amp;(x.expiredLanes|=be),J&amp;=~be}}function fi(x){return x=x.pendingLanes&amp;-1073741825,x!==0?x:x&amp;1073741824?1073741824:0}function Wt(){var x=vr;return vr&lt;&lt;=1,(vr&amp;4194240)===0&amp;&amp;(vr=64),x}function Dt(x){for(var w=[],A=0;31&gt;A;A++)w.push(x);return w}function ln(x,w,A){x.pendingLanes|=w,w!==536870912&amp;&amp;(x.suspendedLanes=0,x.pingedLanes=0),x=x.eventTimes,w=31-Bt(w),x[w]=A}function Qi(x,w){var A=x.pendingLanes&amp;~w;x.pendingLanes=w,x.suspendedLanes=0,x.pingedLanes=0,x.expiredLanes&amp;=w,x.mutableReadLanes&amp;=w,x.entangledLanes&amp;=w,w=x.entanglements;var q=x.eventTimes;for(x=x.expirationTimes;0&lt;A;){var G=31-Bt(A),J=1&lt;&lt;G;w[G]=0,q[G]=-1,x[G]=-1,A&amp;=~J}}function kr(x,w){var A=x.entangledLanes|=w;for(x=x.entanglements;A;){var q=31-Bt(A),G=1&lt;&lt;q;G&amp;w|x[q]&amp;w&amp;&amp;(x[q]|=w),A&amp;=~G}}var Lt=0;function zn(x){return x&amp;=-x,1&lt;x?4&lt;x?(x&amp;268435455)!==0?16:536870912:4:1}var Jn,ji,vs,cn,wn,Na=!1,Si=[],ei=null,Or=null,un=null,ki=new Map,hi=new Map,On=[],Xd=&quot;mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit&quot;.split(&quot; &quot;);function Wc(x,w){switch(x){case&quot;focusin&quot;:case&quot;focusout&quot;:ei=null;break;case&quot;dragenter&quot;:case&quot;dragleave&quot;:Or=null;break;case&quot;mouseover&quot;:case&quot;mouseout&quot;:un=null;break;case&quot;pointerover&quot;:case&quot;pointerout&quot;:ki.delete(w.pointerId);break;case&quot;gotpointercapture&quot;:case&quot;lostpointercapture&quot;:hi.delete(w.pointerId)}}function So(x,w,A,q,G,J){return x===null||x.nativeEvent!==J?(x={blockedOn:w,domEventName:A,eventSystemFlags:q,nativeEvent:J,targetContainers:[G]},w!==null&amp;&amp;(w=ur(w),w!==null&amp;&amp;ji(w)),x):(x.eventSystemFlags|=q,w=x.targetContainers,G!==null&amp;&amp;w.indexOf(G)===-1&amp;&amp;w.push(G),x)}function Gd(x,w,A,q,G){switch(w){case&quot;focusin&quot;:return ei=So(ei,x,w,A,q,G),!0;case&quot;dragenter&quot;:return Or=So(Or,x,w,A,q,G),!0;case&quot;mouseover&quot;:return un=So(un,x,w,A,q,G),!0;case&quot;pointerover&quot;:var J=G.pointerId;return ki.set(J,So(ki.get(J)||null,x,w,A,q,G)),!0;case&quot;gotpointercapture&quot;:return J=G.pointerId,hi.set(J,So(hi.get(J)||null,x,w,A,q,G)),!0}return!1}function Yd(x){var w=gr(x.target);if(w!==null){var A=nt(w);if(A!==null){if(w=A.tag,w===13){if(w=Ct(A),w!==null){x.blockedOn=w,wn(x.priority,function(){vs(A)});return}}else if(w===3&amp;&amp;A.stateNode.current.memoizedState.isDehydrated){x.blockedOn=A.tag===3?A.stateNode.containerInfo:null;return}}}x.blockedOn=null}function Fs(x){if(x.blockedOn!==null)return!1;for(var w=x.targetContainers;0&lt;w.length;){var A=Ml(x.domEventName,x.eventSystemFlags,w[0],x.nativeEvent);if(A===null){A=x.nativeEvent;var q=new A.constructor(A.type,A);It=q,A.target.dispatchEvent(q),It=null}else return w=ur(A),w!==null&amp;&amp;ji(w),x.blockedOn=A,!1;w.shift()}return!0}function Zd(x,w,A){Fs(x)&amp;&amp;A.delete(w)}function Qd(){Na=!1,ei!==null&amp;&amp;Fs(ei)&amp;&amp;(ei=null),Or!==null&amp;&amp;Fs(Or)&amp;&amp;(Or=null),un!==null&amp;&amp;Fs(un)&amp;&amp;(un=null),ki.forEach(Zd),hi.forEach(Zd)}function Ji(x,w){x.blockedOn===w&amp;&amp;(x.blockedOn=null,Na||(Na=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Qd)))}function es(x){function w(G){return Ji(G,x)}if(0&lt;Si.length){Ji(Si[0],x);for(var A=1;A&lt;Si.length;A++){var q=Si[A];q.blockedOn===x&amp;&amp;(q.blockedOn=null)}}for(ei!==null&amp;&amp;Ji(ei,x),Or!==null&amp;&amp;Ji(Or,x),un!==null&amp;&amp;Ji(un,x),ki.forEach(w),hi.forEach(w),A=0;A&lt;On.length;A++)q=On[A],q.blockedOn===x&amp;&amp;(q.blockedOn=null);for(;0&lt;On.length&amp;&amp;(A=On[0],A.blockedOn===null);)Yd(A),A.blockedOn===null&amp;&amp;On.shift()}var Bs=C.ReactCurrentBatchConfig,ko=!0;function Jd(x,w,A,q){var G=Lt,J=Bs.transition;Bs.transition=null;try{Lt=1,Al(x,w,A,q)}finally{Lt=G,Bs.transition=J}}function ef(x,w,A,q){var G=Lt,J=Bs.transition;Bs.transition=null;try{Lt=4,Al(x,w,A,q)}finally{Lt=G,Bs.transition=J}}function Al(x,w,A,q){if(ko){var G=Ml(x,w,A,q);if(G===null)cu(x,w,q,No,A),Wc(x,q);else if(Gd(G,x,w,A,q))q.stopPropagation();else if(Wc(x,q),w&amp;4&amp;&amp;-1&lt;Xd.indexOf(x)){for(;G!==null;){var J=ur(G);if(J!==null&amp;&amp;Jn(J),J=Ml(x,w,A,q),J===null&amp;&amp;cu(x,w,q,No,A),J===G)break;G=J}G!==null&amp;&amp;q.stopPropagation()}else cu(x,w,q,null,A)}}var No=null;function Ml(x,w,A,q){if(No=null,x=Vt(q),x=gr(x),x!==null)if(w=nt(x),w===null)x=null;else if(A=w.tag,A===13){if(x=Ct(w),x!==null)return x;x=null}else if(A===3){if(w.stateNode.current.memoizedState.isDehydrated)return w.tag===3?w.stateNode.containerInfo:null;x=null}else w!==x&amp;&amp;(x=null);return No=x,null}function Kc(x){switch(x){case&quot;cancel&quot;:case&quot;click&quot;:case&quot;close&quot;:case&quot;contextmenu&quot;:case&quot;copy&quot;:case&quot;cut&quot;:case&quot;auxclick&quot;:case&quot;dblclick&quot;:case&quot;dragend&quot;:case&quot;dragstart&quot;:case&quot;drop&quot;:case&quot;focusin&quot;:case&quot;focusout&quot;:case&quot;input&quot;:case&quot;invalid&quot;:case&quot;keydown&quot;:case&quot;keypress&quot;:case&quot;keyup&quot;:case&quot;mousedown&quot;:case&quot;mouseup&quot;:case&quot;paste&quot;:case&quot;pause&quot;:case&quot;play&quot;:case&quot;pointercancel&quot;:case&quot;pointerdown&quot;:case&quot;pointerup&quot;:case&quot;ratechange&quot;:case&quot;reset&quot;:case&quot;resize&quot;:case&quot;seeked&quot;:case&quot;submit&quot;:case&quot;touchcancel&quot;:case&quot;touchend&quot;:case&quot;touchstart&quot;:case&quot;volumechange&quot;:case&quot;change&quot;:case&quot;selectionchange&quot;:case&quot;textInput&quot;:case&quot;compositionstart&quot;:case&quot;compositionend&quot;:case&quot;compositionupdate&quot;:case&quot;beforeblur&quot;:case&quot;afterblur&quot;:case&quot;beforeinput&quot;:case&quot;blur&quot;:case&quot;fullscreenchange&quot;:case&quot;focus&quot;:case&quot;hashchange&quot;:case&quot;popstate&quot;:case&quot;select&quot;:case&quot;selectstart&quot;:return 1;case&quot;drag&quot;:case&quot;dragenter&quot;:case&quot;dragexit&quot;:case&quot;dragleave&quot;:case&quot;dragover&quot;:case&quot;mousemove&quot;:case&quot;mouseout&quot;:case&quot;mouseover&quot;:case&quot;pointermove&quot;:case&quot;pointerout&quot;:case&quot;pointerover&quot;:case&quot;scroll&quot;:case&quot;toggle&quot;:case&quot;touchmove&quot;:case&quot;wheel&quot;:case&quot;mouseenter&quot;:case&quot;mouseleave&quot;:case&quot;pointerenter&quot;:case&quot;pointerleave&quot;:return 4;case&quot;message&quot;:switch(Re()){case Be:return 1;case we:return 4;case De:case Fe:return 16;case Nt:return 536870912;default:return 16}default:return 16}}var dn=null,Ol=null,Co=null;function Ca(){if(Co)return Co;var x,w=Ol,A=w.length,q,G=&quot;value&quot;in dn?dn.value:dn.textContent,J=G.length;for(x=0;x&lt;A&amp;&amp;w[x]===G[x];x++);var ae=A-x;for(q=1;q&lt;=ae&amp;&amp;w[A-q]===G[J-q];q++);return Co=G.slice(x,1&lt;q?1-q:void 0)}function Pl(x){var w=x.keyCode;return&quot;charCode&quot;in x?(x=x.charCode,x===0&amp;&amp;w===13&amp;&amp;(x=13)):x=w,x===10&amp;&amp;(x=13),32&lt;=x||x===13?x:0}function zs(){return!0}function Tl(){return!1}function pr(x){function w(A,q,G,J,ae){this._reactName=A,this._targetInst=G,this.type=q,this.nativeEvent=J,this.target=ae,this.currentTarget=null;for(var be in x)x.hasOwnProperty(be)&amp;&amp;(A=x[be],this[be]=A?A(J):J[be]);return this.isDefaultPrevented=(J.defaultPrevented!=null?J.defaultPrevented:J.returnValue===!1)?zs:Tl,this.isPropagationStopped=Tl,this}return M(w.prototype,{preventDefault:function(){this.defaultPrevented=!0;var A=this.nativeEvent;A&amp;&amp;(A.preventDefault?A.preventDefault():typeof A.returnValue!=&quot;unknown&quot;&amp;&amp;(A.returnValue=!1),this.isDefaultPrevented=zs)},stopPropagation:function(){var A=this.nativeEvent;A&amp;&amp;(A.stopPropagation?A.stopPropagation():typeof A.cancelBubble!=&quot;unknown&quot;&amp;&amp;(A.cancelBubble=!0),this.isPropagationStopped=zs)},persist:function(){},isPersistent:zs}),w}var Ea={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(x){return x.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Il=pr(Ea),Ni=M({},Ea,{view:0,detail:0}),Xc=pr(Ni),Gc,Rl,Eo,Ci=M({},Ni,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ll,button:0,buttons:0,relatedTarget:function(x){return x.relatedTarget===void 0?x.fromElement===x.srcElement?x.toElement:x.fromElement:x.relatedTarget},movementX:function(x){return&quot;movementX&quot;in x?x.movementX:(x!==Eo&amp;&amp;(Eo&amp;&amp;x.type===&quot;mousemove&quot;?(Gc=x.screenX-Eo.screenX,Rl=x.screenY-Eo.screenY):Rl=Gc=0,Eo=x),Gc)},movementY:function(x){return&quot;movementY&quot;in x?x.movementY:Rl}}),tf=pr(Ci),w0=M({},Ci,{dataTransfer:0}),_0=pr(w0),j0=M({},Ni,{relatedTarget:0}),Dl=pr(j0),S0=M({},Ea,{animationName:0,elapsedTime:0,pseudoElement:0}),rf=pr(S0),nf=M({},Ea,{clipboardData:function(x){return&quot;clipboardData&quot;in x?x.clipboardData:window.clipboardData}}),Yc=pr(nf),k0=M({},Ea,{data:0}),Ao=pr(k0),N0={Esc:&quot;Escape&quot;,Spacebar:&quot; &quot;,Left:&quot;ArrowLeft&quot;,Up:&quot;ArrowUp&quot;,Right:&quot;ArrowRight&quot;,Down:&quot;ArrowDown&quot;,Del:&quot;Delete&quot;,Win:&quot;OS&quot;,Menu:&quot;ContextMenu&quot;,Apps:&quot;ContextMenu&quot;,Scroll:&quot;ScrollLock&quot;,MozPrintableKey:&quot;Unidentified&quot;},sf={8:&quot;Backspace&quot;,9:&quot;Tab&quot;,12:&quot;Clear&quot;,13:&quot;Enter&quot;,16:&quot;Shift&quot;,17:&quot;Control&quot;,18:&quot;Alt&quot;,19:&quot;Pause&quot;,20:&quot;CapsLock&quot;,27:&quot;Escape&quot;,32:&quot; &quot;,33:&quot;PageUp&quot;,34:&quot;PageDown&quot;,35:&quot;End&quot;,36:&quot;Home&quot;,37:&quot;ArrowLeft&quot;,38:&quot;ArrowUp&quot;,39:&quot;ArrowRight&quot;,40:&quot;ArrowDown&quot;,45:&quot;Insert&quot;,46:&quot;Delete&quot;,112:&quot;F1&quot;,113:&quot;F2&quot;,114:&quot;F3&quot;,115:&quot;F4&quot;,116:&quot;F5&quot;,117:&quot;F6&quot;,118:&quot;F7&quot;,119:&quot;F8&quot;,120:&quot;F9&quot;,121:&quot;F10&quot;,122:&quot;F11&quot;,123:&quot;F12&quot;,144:&quot;NumLock&quot;,145:&quot;ScrollLock&quot;,224:&quot;Meta&quot;},af={Alt:&quot;altKey&quot;,Control:&quot;ctrlKey&quot;,Meta:&quot;metaKey&quot;,Shift:&quot;shiftKey&quot;};function Zc(x){var w=this.nativeEvent;return w.getModifierState?w.getModifierState(x):(x=af[x])?!!w[x]:!1}function Ll(){return Zc}var C0=M({},Ni,{key:function(x){if(x.key){var w=N0[x.key]||x.key;if(w!==&quot;Unidentified&quot;)return w}return x.type===&quot;keypress&quot;?(x=Pl(x),x===13?&quot;Enter&quot;:String.fromCharCode(x)):x.type===&quot;keydown&quot;||x.type===&quot;keyup&quot;?sf[x.keyCode]||&quot;Unidentified&quot;:&quot;&quot;},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ll,charCode:function(x){return x.type===&quot;keypress&quot;?Pl(x):0},keyCode:function(x){return x.type===&quot;keydown&quot;||x.type===&quot;keyup&quot;?x.keyCode:0},which:function(x){return x.type===&quot;keypress&quot;?Pl(x):x.type===&quot;keydown&quot;||x.type===&quot;keyup&quot;?x.keyCode:0}}),E0=pr(C0),A0=M({},Ci,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qc=pr(A0),M0=M({},Ni,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ll}),$s=pr(M0),Aa=M({},Ea,{propertyName:0,elapsedTime:0,pseudoElement:0}),Jc=pr(Aa),O0=M({},Ci,{deltaX:function(x){return&quot;deltaX&quot;in x?x.deltaX:&quot;wheelDeltaX&quot;in x?-x.wheelDeltaX:0},deltaY:function(x){return&quot;deltaY&quot;in x?x.deltaY:&quot;wheelDeltaY&quot;in x?-x.wheelDeltaY:&quot;wheelDelta&quot;in x?-x.wheelDelta:0},deltaZ:0,deltaMode:0}),of=pr(O0),P0=[9,13,27,32],Ma=u&amp;&amp;&quot;CompositionEvent&quot;in window,ws=null;u&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;(ws=document.documentMode);var T0=u&amp;&amp;&quot;TextEvent&quot;in window&amp;&amp;!ws,lf=u&amp;&amp;(!Ma||ws&amp;&amp;8&lt;ws&amp;&amp;11&gt;=ws),cf=&quot; &quot;,Oa=!1;function uf(x,w){switch(x){case&quot;keyup&quot;:return P0.indexOf(w.keyCode)!==-1;case&quot;keydown&quot;:return w.keyCode!==229;case&quot;keypress&quot;:case&quot;mousedown&quot;:case&quot;focusout&quot;:return!0;default:return!1}}function Pa(x){return x=x.detail,typeof x==&quot;object&quot;&amp;&amp;&quot;data&quot;in x?x.data:null}var Ta=!1;function df(x,w){switch(x){case&quot;compositionend&quot;:return Pa(w);case&quot;keypress&quot;:return w.which!==32?null:(Oa=!0,cf);case&quot;textInput&quot;:return x=w.data,x===cf&amp;&amp;Oa?null:x;default:return null}}function ff(x,w){if(Ta)return x===&quot;compositionend&quot;||!Ma&amp;&amp;uf(x,w)?(x=Ca(),Co=Ol=dn=null,Ta=!1,x):null;switch(x){case&quot;paste&quot;:return null;case&quot;keypress&quot;:if(!(w.ctrlKey||w.altKey||w.metaKey)||w.ctrlKey&amp;&amp;w.altKey){if(w.char&amp;&amp;1&lt;w.char.length)return w.char;if(w.which)return String.fromCharCode(w.which)}return null;case&quot;compositionend&quot;:return lf&amp;&amp;w.locale!==&quot;ko&quot;?null:w.data;default:return null}}var hf={color:!0,date:!0,datetime:!0,&quot;datetime-local&quot;:!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function eu(x){var w=x&amp;&amp;x.nodeName&amp;&amp;x.nodeName.toLowerCase();return w===&quot;input&quot;?!!hf[x.type]:w===&quot;textarea&quot;}function tu(x,w,A,q){Xt(q),w=ql(w,&quot;onChange&quot;),0&lt;w.length&amp;&amp;(A=new Il(&quot;onChange&quot;,&quot;change&quot;,null,A,q),x.push({event:A,listeners:w}))}var Ia=null,Mo=null;function mf(x){Of(x,0)}function Fl(x){var w=Vs(x);if(ne(w))return x}function _s(x,w){if(x===&quot;change&quot;)return w}var Bl=!1;if(u){var ru;if(u){var zl=&quot;oninput&quot;in document;if(!zl){var pf=document.createElement(&quot;div&quot;);pf.setAttribute(&quot;oninput&quot;,&quot;return;&quot;),zl=typeof pf.oninput==&quot;function&quot;}ru=zl}else ru=!1;Bl=ru&amp;&amp;(!document.documentMode||9&lt;document.documentMode)}function nu(){Ia&amp;&amp;(Ia.detachEvent(&quot;onpropertychange&quot;,iu),Mo=Ia=null)}function iu(x){if(x.propertyName===&quot;value&quot;&amp;&amp;Fl(Mo)){var w=[];tu(w,Mo,x,Vt(x)),xt(mf,w)}}function gf(x,w,A){x===&quot;focusin&quot;?(nu(),Ia=w,Mo=A,Ia.attachEvent(&quot;onpropertychange&quot;,iu)):x===&quot;focusout&quot;&amp;&amp;nu()}function bf(x){if(x===&quot;selectionchange&quot;||x===&quot;keyup&quot;||x===&quot;keydown&quot;)return Fl(Mo)}function xf(x,w){if(x===&quot;click&quot;)return Fl(w)}function yf(x,w){if(x===&quot;input&quot;||x===&quot;change&quot;)return Fl(w)}function I0(x,w){return x===w&amp;&amp;(x!==0||1/x===1/w)||x!==x&amp;&amp;w!==w}var ti=typeof Object.is==&quot;function&quot;?Object.is:I0;function Oo(x,w){if(ti(x,w))return!0;if(typeof x!=&quot;object&quot;||x===null||typeof w!=&quot;object&quot;||w===null)return!1;var A=Object.keys(x),q=Object.keys(w);if(A.length!==q.length)return!1;for(q=0;q&lt;A.length;q++){var G=A[q];if(!l.call(w,G)||!ti(x[G],w[G]))return!1}return!0}function Us(x){for(;x&amp;&amp;x.firstChild;)x=x.firstChild;return x}function vf(x,w){var A=Us(x);x=0;for(var q;A;){if(A.nodeType===3){if(q=x+A.textContent.length,x&lt;=w&amp;&amp;q&gt;=w)return{node:A,offset:w-x};x=q}e:{for(;A;){if(A.nextSibling){A=A.nextSibling;break e}A=A.parentNode}A=void 0}A=Us(A)}}function wf(x,w){return x&amp;&amp;w?x===w?!0:x&amp;&amp;x.nodeType===3?!1:w&amp;&amp;w.nodeType===3?wf(x,w.parentNode):&quot;contains&quot;in x?x.contains(w):x.compareDocumentPosition?!!(x.compareDocumentPosition(w)&amp;16):!1:!1}function _f(){for(var x=window,w=Q();w instanceof x.HTMLIFrameElement;){try{var A=typeof w.contentWindow.location.href==&quot;string&quot;}catch{A=!1}if(A)x=w.contentWindow;else break;w=Q(x.document)}return w}function $l(x){var w=x&amp;&amp;x.nodeName&amp;&amp;x.nodeName.toLowerCase();return w&amp;&amp;(w===&quot;input&quot;&amp;&amp;(x.type===&quot;text&quot;||x.type===&quot;search&quot;||x.type===&quot;tel&quot;||x.type===&quot;url&quot;||x.type===&quot;password&quot;)||w===&quot;textarea&quot;||x.contentEditable===&quot;true&quot;)}function R0(x){var w=_f(),A=x.focusedElem,q=x.selectionRange;if(w!==A&amp;&amp;A&amp;&amp;A.ownerDocument&amp;&amp;wf(A.ownerDocument.documentElement,A)){if(q!==null&amp;&amp;$l(A)){if(w=q.start,x=q.end,x===void 0&amp;&amp;(x=w),&quot;selectionStart&quot;in A)A.selectionStart=w,A.selectionEnd=Math.min(x,A.value.length);else if(x=(w=A.ownerDocument||document)&amp;&amp;w.defaultView||window,x.getSelection){x=x.getSelection();var G=A.textContent.length,J=Math.min(q.start,G);q=q.end===void 0?J:Math.min(q.end,G),!x.extend&amp;&amp;J&gt;q&amp;&amp;(G=q,q=J,J=G),G=vf(A,J);var ae=vf(A,q);G&amp;&amp;ae&amp;&amp;(x.rangeCount!==1||x.anchorNode!==G.node||x.anchorOffset!==G.offset||x.focusNode!==ae.node||x.focusOffset!==ae.offset)&amp;&amp;(w=w.createRange(),w.setStart(G.node,G.offset),x.removeAllRanges(),J&gt;q?(x.addRange(w),x.extend(ae.node,ae.offset)):(w.setEnd(ae.node,ae.offset),x.addRange(w)))}}for(w=[],x=A;x=x.parentNode;)x.nodeType===1&amp;&amp;w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(typeof A.focus==&quot;function&quot;&amp;&amp;A.focus(),A=0;A&lt;w.length;A++)x=w[A],x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}var jf=u&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;11&gt;=document.documentMode,Zr=null,js=null,Po=null,To=!1;function Ra(x,w,A){var q=A.window===A?A.document:A.nodeType===9?A:A.ownerDocument;To||Zr==null||Zr!==Q(q)||(q=Zr,&quot;selectionStart&quot;in q&amp;&amp;$l(q)?q={start:q.selectionStart,end:q.selectionEnd}:(q=(q.ownerDocument&amp;&amp;q.ownerDocument.defaultView||window).getSelection(),q={anchorNode:q.anchorNode,anchorOffset:q.anchorOffset,focusNode:q.focusNode,focusOffset:q.focusOffset}),Po&amp;&amp;Oo(Po,q)||(Po=q,q=ql(js,&quot;onSelect&quot;),0&lt;q.length&amp;&amp;(w=new Il(&quot;onSelect&quot;,&quot;select&quot;,null,w,A),x.push({event:w,listeners:q}),w.target=Zr)))}function Io(x,w){var A={};return A[x.toLowerCase()]=w.toLowerCase(),A[&quot;Webkit&quot;+x]=&quot;webkit&quot;+w,A[&quot;Moz&quot;+x]=&quot;moz&quot;+w,A}var Da={animationend:Io(&quot;Animation&quot;,&quot;AnimationEnd&quot;),animationiteration:Io(&quot;Animation&quot;,&quot;AnimationIteration&quot;),animationstart:Io(&quot;Animation&quot;,&quot;AnimationStart&quot;),transitionend:Io(&quot;Transition&quot;,&quot;TransitionEnd&quot;)},su={},Sf={};u&amp;&amp;(Sf=document.createElement(&quot;div&quot;).style,&quot;AnimationEvent&quot;in window||(delete Da.animationend.animation,delete Da.animationiteration.animation,delete Da.animationstart.animation),&quot;TransitionEvent&quot;in window||delete Da.transitionend.transition);function Ul(x){if(su[x])return su[x];if(!Da[x])return x;var w=Da[x],A;for(A in w)if(w.hasOwnProperty(A)&amp;&amp;A in Sf)return su[x]=w[A];return x}var kf=Ul(&quot;animationend&quot;),Nf=Ul(&quot;animationiteration&quot;),Cf=Ul(&quot;animationstart&quot;),Ro=Ul(&quot;transitionend&quot;),Ef=new Map,Af=&quot;abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error 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&quot;.split(&quot; &quot;);function Ei(x,w){Ef.set(x,w),i(w,[x])}for(var au=0;au&lt;Af.length;au++){var ou=Af[au],D0=ou.toLowerCase(),L0=ou[0].toUpperCase()+ou.slice(1);Ei(D0,&quot;on&quot;+L0)}Ei(kf,&quot;onAnimationEnd&quot;),Ei(Nf,&quot;onAnimationIteration&quot;),Ei(Cf,&quot;onAnimationStart&quot;),Ei(&quot;dblclick&quot;,&quot;onDoubleClick&quot;),Ei(&quot;focusin&quot;,&quot;onFocus&quot;),Ei(&quot;focusout&quot;,&quot;onBlur&quot;),Ei(Ro,&quot;onTransitionEnd&quot;),a(&quot;onMouseEnter&quot;,[&quot;mouseout&quot;,&quot;mouseover&quot;]),a(&quot;onMouseLeave&quot;,[&quot;mouseout&quot;,&quot;mouseover&quot;]),a(&quot;onPointerEnter&quot;,[&quot;pointerout&quot;,&quot;pointerover&quot;]),a(&quot;onPointerLeave&quot;,[&quot;pointerout&quot;,&quot;pointerover&quot;]),i(&quot;onChange&quot;,&quot;change click focusin focusout input keydown keyup selectionchange&quot;.split(&quot; &quot;)),i(&quot;onSelect&quot;,&quot;focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange&quot;.split(&quot; &quot;)),i(&quot;onBeforeInput&quot;,[&quot;compositionend&quot;,&quot;keypress&quot;,&quot;textInput&quot;,&quot;paste&quot;]),i(&quot;onCompositionEnd&quot;,&quot;compositionend focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;)),i(&quot;onCompositionStart&quot;,&quot;compositionstart focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;)),i(&quot;onCompositionUpdate&quot;,&quot;compositionupdate focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;));var La=&quot;abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting&quot;.split(&quot; &quot;),F0=new Set(&quot;cancel close invalid load scroll toggle&quot;.split(&quot; &quot;).concat(La));function Mf(x,w,A){var q=x.type||&quot;unknown-event&quot;;x.currentTarget=A,gt(q,w,void 0,x),x.currentTarget=null}function Of(x,w){w=(w&amp;4)!==0;for(var A=0;A&lt;x.length;A++){var q=x[A],G=q.event;q=q.listeners;e:{var J=void 0;if(w)for(var ae=q.length-1;0&lt;=ae;ae--){var be=q[ae],ve=be.instance,Oe=be.currentTarget;if(be=be.listener,ve!==J&amp;&amp;G.isPropagationStopped())break e;Mf(G,be,Oe),J=ve}else for(ae=0;ae&lt;q.length;ae++){if(be=q[ae],ve=be.instance,Oe=be.currentTarget,be=be.listener,ve!==J&amp;&amp;G.isPropagationStopped())break e;Mf(G,be,Oe),J=ve}}}if(Ke)throw x=dt,Ke=!1,dt=null,x}function fr(x,w){var A=w[Ee];A===void 0&amp;&amp;(A=w[Ee]=new Set);var q=x+&quot;__bubble&quot;;A.has(q)||(Pf(w,x,2,!1),A.add(q))}function lu(x,w,A){var q=0;w&amp;&amp;(q|=4),Pf(A,x,q,w)}var Vl=&quot;_reactListening&quot;+Math.random().toString(36).slice(2);function Do(x){if(!x[Vl]){x[Vl]=!0,n.forEach(function(A){A!==&quot;selectionchange&quot;&amp;&amp;(F0.has(A)||lu(A,!1,x),lu(A,!0,x))});var w=x.nodeType===9?x:x.ownerDocument;w===null||w[Vl]||(w[Vl]=!0,lu(&quot;selectionchange&quot;,!1,w))}}function Pf(x,w,A,q){switch(Kc(w)){case 1:var G=Jd;break;case 4:G=ef;break;default:G=Al}A=G.bind(null,w,A,x),G=void 0,!Gt||w!==&quot;touchstart&quot;&amp;&amp;w!==&quot;touchmove&quot;&amp;&amp;w!==&quot;wheel&quot;||(G=!0),q?G!==void 0?x.addEventListener(w,A,{capture:!0,passive:G}):x.addEventListener(w,A,!0):G!==void 0?x.addEventListener(w,A,{passive:G}):x.addEventListener(w,A,!1)}function cu(x,w,A,q,G){var J=q;if((w&amp;1)===0&amp;&amp;(w&amp;2)===0&amp;&amp;q!==null)e:for(;;){if(q===null)return;var ae=q.tag;if(ae===3||ae===4){var be=q.stateNode.containerInfo;if(be===G||be.nodeType===8&amp;&amp;be.parentNode===G)break;if(ae===4)for(ae=q.return;ae!==null;){var ve=ae.tag;if((ve===3||ve===4)&amp;&amp;(ve=ae.stateNode.containerInfo,ve===G||ve.nodeType===8&amp;&amp;ve.parentNode===G))return;ae=ae.return}for(;be!==null;){if(ae=gr(be),ae===null)return;if(ve=ae.tag,ve===5||ve===6){q=J=ae;continue e}be=be.parentNode}}q=q.return}xt(function(){var Oe=J,qe=Vt(A),We=[];e:{var $e=Ef.get(x);if($e!==void 0){var it=Il,ut=x;switch(x){case&quot;keypress&quot;:if(Pl(A)===0)break e;case&quot;keydown&quot;:case&quot;keyup&quot;:it=E0;break;case&quot;focusin&quot;:ut=&quot;focus&quot;,it=Dl;break;case&quot;focusout&quot;:ut=&quot;blur&quot;,it=Dl;break;case&quot;beforeblur&quot;:case&quot;afterblur&quot;:it=Dl;break;case&quot;click&quot;:if(A.button===2)break e;case&quot;auxclick&quot;:case&quot;dblclick&quot;:case&quot;mousedown&quot;:case&quot;mousemove&quot;:case&quot;mouseup&quot;:case&quot;mouseout&quot;:case&quot;mouseover&quot;:case&quot;contextmenu&quot;:it=tf;break;case&quot;drag&quot;:case&quot;dragend&quot;:case&quot;dragenter&quot;:case&quot;dragexit&quot;:case&quot;dragleave&quot;:case&quot;dragover&quot;:case&quot;dragstart&quot;:case&quot;drop&quot;:it=_0;break;case&quot;touchcancel&quot;:case&quot;touchend&quot;:case&quot;touchmove&quot;:case&quot;touchstart&quot;:it=$s;break;case kf:case Nf:case Cf:it=rf;break;case Ro:it=Jc;break;case&quot;scroll&quot;:it=Xc;break;case&quot;wheel&quot;:it=of;break;case&quot;copy&quot;:case&quot;cut&quot;:case&quot;paste&quot;:it=Yc;break;case&quot;gotpointercapture&quot;:case&quot;lostpointercapture&quot;:case&quot;pointercancel&quot;:case&quot;pointerdown&quot;:case&quot;pointermove&quot;:case&quot;pointerout&quot;:case&quot;pointerover&quot;:case&quot;pointerup&quot;:it=Qc}var pt=(w&amp;4)!==0,Vr=!pt&amp;&amp;x===&quot;scroll&quot;,Ne=pt?$e!==null?$e+&quot;Capture&quot;:null:$e;pt=[];for(var _e=Oe,Ae;_e!==null;){Ae=_e;var Ye=Ae.stateNode;if(Ae.tag===5&amp;&amp;Ye!==null&amp;&amp;(Ae=Ye,Ne!==null&amp;&amp;(Ye=Rt(_e,Ne),Ye!=null&amp;&amp;pt.push(Lo(_e,Ye,Ae)))),Vr)break;_e=_e.return}0&lt;pt.length&amp;&amp;($e=new it($e,ut,null,A,qe),We.push({event:$e,listeners:pt}))}}if((w&amp;7)===0){e:{if($e=x===&quot;mouseover&quot;||x===&quot;pointerover&quot;,it=x===&quot;mouseout&quot;||x===&quot;pointerout&quot;,$e&amp;&amp;A!==It&amp;&amp;(ut=A.relatedTarget||A.fromElement)&amp;&amp;(gr(ut)||ut[oe]))break e;if((it||$e)&amp;&amp;($e=qe.window===qe?qe:($e=qe.ownerDocument)?$e.defaultView||$e.parentWindow:window,it?(ut=A.relatedTarget||A.toElement,it=Oe,ut=ut?gr(ut):null,ut!==null&amp;&amp;(Vr=nt(ut),ut!==Vr||ut.tag!==5&amp;&amp;ut.tag!==6)&amp;&amp;(ut=null)):(it=null,ut=Oe),it!==ut)){if(pt=tf,Ye=&quot;onMouseLeave&quot;,Ne=&quot;onMouseEnter&quot;,_e=&quot;mouse&quot;,(x===&quot;pointerout&quot;||x===&quot;pointerover&quot;)&amp;&amp;(pt=Qc,Ye=&quot;onPointerLeave&quot;,Ne=&quot;onPointerEnter&quot;,_e=&quot;pointer&quot;),Vr=it==null?$e:Vs(it),Ae=ut==null?$e:Vs(ut),$e=new pt(Ye,_e+&quot;leave&quot;,it,A,qe),$e.target=Vr,$e.relatedTarget=Ae,Ye=null,gr(qe)===Oe&amp;&amp;(pt=new pt(Ne,_e+&quot;enter&quot;,ut,A,qe),pt.target=Ae,pt.relatedTarget=Vr,Ye=pt),Vr=Ye,it&amp;&amp;ut)t:{for(pt=it,Ne=ut,_e=0,Ae=pt;Ae;Ae=Fa(Ae))_e++;for(Ae=0,Ye=Ne;Ye;Ye=Fa(Ye))Ae++;for(;0&lt;_e-Ae;)pt=Fa(pt),_e--;for(;0&lt;Ae-_e;)Ne=Fa(Ne),Ae--;for(;_e--;){if(pt===Ne||Ne!==null&amp;&amp;pt===Ne.alternate)break t;pt=Fa(pt),Ne=Fa(Ne)}pt=null}else pt=null;it!==null&amp;&amp;Tf(We,$e,it,pt,!1),ut!==null&amp;&amp;Vr!==null&amp;&amp;Tf(We,Vr,ut,pt,!0)}}e:{if($e=Oe?Vs(Oe):window,it=$e.nodeName&amp;&amp;$e.nodeName.toLowerCase(),it===&quot;select&quot;||it===&quot;input&quot;&amp;&amp;$e.type===&quot;file&quot;)var bt=_s;else if(eu($e))if(Bl)bt=yf;else{bt=bf;var At=gf}else(it=$e.nodeName)&amp;&amp;it.toLowerCase()===&quot;input&quot;&amp;&amp;($e.type===&quot;checkbox&quot;||$e.type===&quot;radio&quot;)&amp;&amp;(bt=xf);if(bt&amp;&amp;(bt=bt(x,Oe))){tu(We,bt,A,qe);break e}At&amp;&amp;At(x,$e,Oe),x===&quot;focusout&quot;&amp;&amp;(At=$e._wrapperState)&amp;&amp;At.controlled&amp;&amp;$e.type===&quot;number&quot;&amp;&amp;he($e,&quot;number&quot;,$e.value)}switch(At=Oe?Vs(Oe):window,x){case&quot;focusin&quot;:(eu(At)||At.contentEditable===&quot;true&quot;)&amp;&amp;(Zr=At,js=Oe,Po=null);break;case&quot;focusout&quot;:Po=js=Zr=null;break;case&quot;mousedown&quot;:To=!0;break;case&quot;contextmenu&quot;:case&quot;mouseup&quot;:case&quot;dragend&quot;:To=!1,Ra(We,A,qe);break;case&quot;selectionchange&quot;:if(jf)break;case&quot;keydown&quot;:case&quot;keyup&quot;:Ra(We,A,qe)}var Mt;if(Ma)e:{switch(x){case&quot;compositionstart&quot;:var Ft=&quot;onCompositionStart&quot;;break e;case&quot;compositionend&quot;:Ft=&quot;onCompositionEnd&quot;;break e;case&quot;compositionupdate&quot;:Ft=&quot;onCompositionUpdate&quot;;break e}Ft=void 0}else Ta?uf(x,A)&amp;&amp;(Ft=&quot;onCompositionEnd&quot;):x===&quot;keydown&quot;&amp;&amp;A.keyCode===229&amp;&amp;(Ft=&quot;onCompositionStart&quot;);Ft&amp;&amp;(lf&amp;&amp;A.locale!==&quot;ko&quot;&amp;&amp;(Ta||Ft!==&quot;onCompositionStart&quot;?Ft===&quot;onCompositionEnd&quot;&amp;&amp;Ta&amp;&amp;(Mt=Ca()):(dn=qe,Ol=&quot;value&quot;in dn?dn.value:dn.textContent,Ta=!0)),At=ql(Oe,Ft),0&lt;At.length&amp;&amp;(Ft=new Ao(Ft,x,null,A,qe),We.push({event:Ft,listeners:At}),Mt?Ft.data=Mt:(Mt=Pa(A),Mt!==null&amp;&amp;(Ft.data=Mt)))),(Mt=T0?df(x,A):ff(x,A))&amp;&amp;(Oe=ql(Oe,&quot;onBeforeInput&quot;),0&lt;Oe.length&amp;&amp;(qe=new Ao(&quot;onBeforeInput&quot;,&quot;beforeinput&quot;,null,A,qe),We.push({event:qe,listeners:Oe}),qe.data=Mt))}Of(We,w)})}function Lo(x,w,A){return{instance:x,listener:w,currentTarget:A}}function ql(x,w){for(var A=w+&quot;Capture&quot;,q=[];x!==null;){var G=x,J=G.stateNode;G.tag===5&amp;&amp;J!==null&amp;&amp;(G=J,J=Rt(x,A),J!=null&amp;&amp;q.unshift(Lo(x,J,G)),J=Rt(x,w),J!=null&amp;&amp;q.push(Lo(x,J,G))),x=x.return}return q}function Fa(x){if(x===null)return null;do x=x.return;while(x&amp;&amp;x.tag!==5);return x||null}function Tf(x,w,A,q,G){for(var J=w._reactName,ae=[];A!==null&amp;&amp;A!==q;){var be=A,ve=be.alternate,Oe=be.stateNode;if(ve!==null&amp;&amp;ve===q)break;be.tag===5&amp;&amp;Oe!==null&amp;&amp;(be=Oe,G?(ve=Rt(A,J),ve!=null&amp;&amp;ae.unshift(Lo(A,ve,be))):G||(ve=Rt(A,J),ve!=null&amp;&amp;ae.push(Lo(A,ve,be)))),A=A.return}ae.length!==0&amp;&amp;x.push({event:w,listeners:ae})}var B0=/\r\n?/g,z0=/\u0000|\uFFFD/g;function If(x){return(typeof x==&quot;string&quot;?x:&quot;&quot;+x).replace(B0,`
`).replace(z0,&quot;&quot;)}function Hl(x,w,A){if(w=If(w),If(x)!==w&amp;&amp;A)throw Error(t(425))}function Wl(){}var uu=null,du=null;function fu(x,w){return x===&quot;textarea&quot;||x===&quot;noscript&quot;||typeof w.children==&quot;string&quot;||typeof w.children==&quot;number&quot;||typeof w.dangerouslySetInnerHTML==&quot;object&quot;&amp;&amp;w.dangerouslySetInnerHTML!==null&amp;&amp;w.dangerouslySetInnerHTML.__html!=null}var hu=typeof setTimeout==&quot;function&quot;?setTimeout:void 0,$0=typeof clearTimeout==&quot;function&quot;?clearTimeout:void 0,Rf=typeof Promise==&quot;function&quot;?Promise:void 0,mu=typeof queueMicrotask==&quot;function&quot;?queueMicrotask:typeof Rf&lt;&quot;u&quot;?function(x){return Rf.resolve(null).then(x).catch(Df)}:hu;function Df(x){setTimeout(function(){throw x})}function Fo(x,w){var A=w,q=0;do{var G=A.nextSibling;if(x.removeChild(A),G&amp;&amp;G.nodeType===8)if(A=G.data,A===&quot;/$&quot;){if(q===0){x.removeChild(G),es(w);return}q--}else A!==&quot;$&quot;&amp;&amp;A!==&quot;$?&quot;&amp;&amp;A!==&quot;$!&quot;||q++;A=G}while(A);es(w)}function ts(x){for(;x!=null;x=x.nextSibling){var w=x.nodeType;if(w===1||w===3)break;if(w===8){if(w=x.data,w===&quot;$&quot;||w===&quot;$!&quot;||w===&quot;$?&quot;)break;if(w===&quot;/$&quot;)return null}}return x}function Lf(x){x=x.previousSibling;for(var w=0;x;){if(x.nodeType===8){var A=x.data;if(A===&quot;$&quot;||A===&quot;$!&quot;||A===&quot;$?&quot;){if(w===0)return x;w--}else A===&quot;/$&quot;&amp;&amp;w++}x=x.previousSibling}return null}var Ba=Math.random().toString(36).slice(2),Ai=&quot;__reactFiber$&quot;+Ba,Bo=&quot;__reactProps$&quot;+Ba,oe=&quot;__reactContainer$&quot;+Ba,Ee=&quot;__reactEvents$&quot;+Ba,rt=&quot;__reactListeners$&quot;+Ba,st=&quot;__reactHandles$&quot;+Ba;function gr(x){var w=x[Ai];if(w)return w;for(var A=x.parentNode;A;){if(w=A[oe]||A[Ai]){if(A=w.alternate,w.child!==null||A!==null&amp;&amp;A.child!==null)for(x=Lf(x);x!==null;){if(A=x[Ai])return A;x=Lf(x)}return w}x=A,A=x.parentNode}return null}function ur(x){return x=x[Ai]||x[oe],!x||x.tag!==5&amp;&amp;x.tag!==6&amp;&amp;x.tag!==13&amp;&amp;x.tag!==3?null:x}function Vs(x){if(x.tag===5||x.tag===6)return x.stateNode;throw Error(t(33))}function zo(x){return x[Bo]||null}var U0=[],Kl=-1;function za(x){return{current:x}}function wr(x){0&gt;Kl||(x.current=U0[Kl],U0[Kl]=null,Kl--)}function br(x,w){Kl++,U0[Kl]=x.current,x.current=w}var $a={},Pn=za($a),ri=za(!1),$o=$a;function Xl(x,w){var A=x.type.contextTypes;if(!A)return $a;var q=x.stateNode;if(q&amp;&amp;q.__reactInternalMemoizedUnmaskedChildContext===w)return q.__reactInternalMemoizedMaskedChildContext;var G={},J;for(J in A)G[J]=w[J];return q&amp;&amp;(x=x.stateNode,x.__reactInternalMemoizedUnmaskedChildContext=w,x.__reactInternalMemoizedMaskedChildContext=G),G}function ni(x){return x=x.childContextTypes,x!=null}function Ff(){wr(ri),wr(Pn)}function bw(x,w,A){if(Pn.current!==$a)throw Error(t(168));br(Pn,w),br(ri,A)}function xw(x,w,A){var q=x.stateNode;if(w=w.childContextTypes,typeof q.getChildContext!=&quot;function&quot;)return A;q=q.getChildContext();for(var G in q)if(!(G in w))throw Error(t(108,ee(x)||&quot;Unknown&quot;,G));return M({},A,q)}function Bf(x){return x=(x=x.stateNode)&amp;&amp;x.__reactInternalMemoizedMergedChildContext||$a,$o=Pn.current,br(Pn,x),br(ri,ri.current),!0}function yw(x,w,A){var q=x.stateNode;if(!q)throw Error(t(169));A?(x=xw(x,w,$o),q.__reactInternalMemoizedMergedChildContext=x,wr(ri),wr(Pn),br(Pn,x)):wr(ri),br(ri,A)}var qs=null,zf=!1,V0=!1;function vw(x){qs===null?qs=[x]:qs.push(x)}function kM(x){zf=!0,vw(x)}function Ua(){if(!V0&amp;&amp;qs!==null){V0=!0;var x=0,w=Lt;try{var A=qs;for(Lt=1;x&lt;A.length;x++){var q=A[x];do q=q(!0);while(q!==null)}qs=null,zf=!1}catch(G){throw qs!==null&amp;&amp;(qs=qs.slice(x+1)),ar(Be,Ua),G}finally{Lt=w,V0=!1}}return null}var Gl=[],Yl=0,$f=null,Uf=0,Mi=[],Oi=0,Uo=null,Hs=1,Ws=&quot;&quot;;function Vo(x,w){Gl[Yl++]=Uf,Gl[Yl++]=$f,$f=x,Uf=w}function ww(x,w,A){Mi[Oi++]=Hs,Mi[Oi++]=Ws,Mi[Oi++]=Uo,Uo=x;var q=Hs;x=Ws;var G=32-Bt(q)-1;q&amp;=~(1&lt;&lt;G),A+=1;var J=32-Bt(w)+G;if(30&lt;J){var ae=G-G%5;J=(q&amp;(1&lt;&lt;ae)-1).toString(32),q&gt;&gt;=ae,G-=ae,Hs=1&lt;&lt;32-Bt(w)+G|A&lt;&lt;G|q,Ws=J+x}else Hs=1&lt;&lt;J|A&lt;&lt;G|q,Ws=x}function q0(x){x.return!==null&amp;&amp;(Vo(x,1),ww(x,1,0))}function H0(x){for(;x===$f;)$f=Gl[--Yl],Gl[Yl]=null,Uf=Gl[--Yl],Gl[Yl]=null;for(;x===Uo;)Uo=Mi[--Oi],Mi[Oi]=null,Ws=Mi[--Oi],Mi[Oi]=null,Hs=Mi[--Oi],Mi[Oi]=null}var mi=null,pi=null,Nr=!1,rs=null;function _w(x,w){var A=Ri(5,null,null,0);A.elementType=&quot;DELETED&quot;,A.stateNode=w,A.return=x,w=x.deletions,w===null?(x.deletions=[A],x.flags|=16):w.push(A)}function jw(x,w){switch(x.tag){case 5:var A=x.type;return w=w.nodeType!==1||A.toLowerCase()!==w.nodeName.toLowerCase()?null:w,w!==null?(x.stateNode=w,mi=x,pi=ts(w.firstChild),!0):!1;case 6:return w=x.pendingProps===&quot;&quot;||w.nodeType!==3?null:w,w!==null?(x.stateNode=w,mi=x,pi=null,!0):!1;case 13:return w=w.nodeType!==8?null:w,w!==null?(A=Uo!==null?{id:Hs,overflow:Ws}:null,x.memoizedState={dehydrated:w,treeContext:A,retryLane:1073741824},A=Ri(18,null,null,0),A.stateNode=w,A.return=x,x.child=A,mi=x,pi=null,!0):!1;default:return!1}}function W0(x){return(x.mode&amp;1)!==0&amp;&amp;(x.flags&amp;128)===0}function K0(x){if(Nr){var w=pi;if(w){var A=w;if(!jw(x,w)){if(W0(x))throw Error(t(418));w=ts(A.nextSibling);var q=mi;w&amp;&amp;jw(x,w)?_w(q,A):(x.flags=x.flags&amp;-4097|2,Nr=!1,mi=x)}}else{if(W0(x))throw Error(t(418));x.flags=x.flags&amp;-4097|2,Nr=!1,mi=x}}}function Sw(x){for(x=x.return;x!==null&amp;&amp;x.tag!==5&amp;&amp;x.tag!==3&amp;&amp;x.tag!==13;)x=x.return;mi=x}function Vf(x){if(x!==mi)return!1;if(!Nr)return Sw(x),Nr=!0,!1;var w;if((w=x.tag!==3)&amp;&amp;!(w=x.tag!==5)&amp;&amp;(w=x.type,w=w!==&quot;head&quot;&amp;&amp;w!==&quot;body&quot;&amp;&amp;!fu(x.type,x.memoizedProps)),w&amp;&amp;(w=pi)){if(W0(x))throw kw(),Error(t(418));for(;w;)_w(x,w),w=ts(w.nextSibling)}if(Sw(x),x.tag===13){if(x=x.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(t(317));e:{for(x=x.nextSibling,w=0;x;){if(x.nodeType===8){var A=x.data;if(A===&quot;/$&quot;){if(w===0){pi=ts(x.nextSibling);break e}w--}else A!==&quot;$&quot;&amp;&amp;A!==&quot;$!&quot;&amp;&amp;A!==&quot;$?&quot;||w++}x=x.nextSibling}pi=null}}else pi=mi?ts(x.stateNode.nextSibling):null;return!0}function kw(){for(var x=pi;x;)x=ts(x.nextSibling)}function Zl(){pi=mi=null,Nr=!1}function X0(x){rs===null?rs=[x]:rs.push(x)}var NM=C.ReactCurrentBatchConfig;function pu(x,w,A){if(x=A.ref,x!==null&amp;&amp;typeof x!=&quot;function&quot;&amp;&amp;typeof x!=&quot;object&quot;){if(A._owner){if(A=A._owner,A){if(A.tag!==1)throw Error(t(309));var q=A.stateNode}if(!q)throw Error(t(147,x));var G=q,J=&quot;&quot;+x;return w!==null&amp;&amp;w.ref!==null&amp;&amp;typeof w.ref==&quot;function&quot;&amp;&amp;w.ref._stringRef===J?w.ref:(w=function(ae){var be=G.refs;ae===null?delete be[J]:be[J]=ae},w._stringRef=J,w)}if(typeof x!=&quot;string&quot;)throw Error(t(284));if(!A._owner)throw Error(t(290,x))}return x}function qf(x,w){throw x=Object.prototype.toString.call(w),Error(t(31,x===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(w).join(&quot;, &quot;)+&quot;}&quot;:x))}function Nw(x){var w=x._init;return w(x._payload)}function Cw(x){function w(Ne,_e){if(x){var Ae=Ne.deletions;Ae===null?(Ne.deletions=[_e],Ne.flags|=16):Ae.push(_e)}}function A(Ne,_e){if(!x)return null;for(;_e!==null;)w(Ne,_e),_e=_e.sibling;return null}function q(Ne,_e){for(Ne=new Map;_e!==null;)_e.key!==null?Ne.set(_e.key,_e):Ne.set(_e.index,_e),_e=_e.sibling;return Ne}function G(Ne,_e){return Ne=Ya(Ne,_e),Ne.index=0,Ne.sibling=null,Ne}function J(Ne,_e,Ae){return Ne.index=Ae,x?(Ae=Ne.alternate,Ae!==null?(Ae=Ae.index,Ae&lt;_e?(Ne.flags|=2,_e):Ae):(Ne.flags|=2,_e)):(Ne.flags|=1048576,_e)}function ae(Ne){return x&amp;&amp;Ne.alternate===null&amp;&amp;(Ne.flags|=2),Ne}function be(Ne,_e,Ae,Ye){return _e===null||_e.tag!==6?(_e=Bg(Ae,Ne.mode,Ye),_e.return=Ne,_e):(_e=G(_e,Ae),_e.return=Ne,_e)}function ve(Ne,_e,Ae,Ye){var bt=Ae.type;return bt===V?qe(Ne,_e,Ae.props.children,Ye,Ae.key):_e!==null&amp;&amp;(_e.elementType===bt||typeof bt==&quot;object&quot;&amp;&amp;bt!==null&amp;&amp;bt.$$typeof===j&amp;&amp;Nw(bt)===_e.type)?(Ye=G(_e,Ae.props),Ye.ref=pu(Ne,_e,Ae),Ye.return=Ne,Ye):(Ye=mh(Ae.type,Ae.key,Ae.props,null,Ne.mode,Ye),Ye.ref=pu(Ne,_e,Ae),Ye.return=Ne,Ye)}function Oe(Ne,_e,Ae,Ye){return _e===null||_e.tag!==4||_e.stateNode.containerInfo!==Ae.containerInfo||_e.stateNode.implementation!==Ae.implementation?(_e=zg(Ae,Ne.mode,Ye),_e.return=Ne,_e):(_e=G(_e,Ae.children||[]),_e.return=Ne,_e)}function qe(Ne,_e,Ae,Ye,bt){return _e===null||_e.tag!==7?(_e=Zo(Ae,Ne.mode,Ye,bt),_e.return=Ne,_e):(_e=G(_e,Ae),_e.return=Ne,_e)}function We(Ne,_e,Ae){if(typeof _e==&quot;string&quot;&amp;&amp;_e!==&quot;&quot;||typeof _e==&quot;number&quot;)return _e=Bg(&quot;&quot;+_e,Ne.mode,Ae),_e.return=Ne,_e;if(typeof _e==&quot;object&quot;&amp;&amp;_e!==null){switch(_e.$$typeof){case O:return Ae=mh(_e.type,_e.key,_e.props,null,Ne.mode,Ae),Ae.ref=pu(Ne,null,_e),Ae.return=Ne,Ae;case T:return _e=zg(_e,Ne.mode,Ae),_e.return=Ne,_e;case j:var Ye=_e._init;return We(Ne,Ye(_e._payload),Ae)}if(ue(_e)||N(_e))return _e=Zo(_e,Ne.mode,Ae,null),_e.return=Ne,_e;qf(Ne,_e)}return null}function $e(Ne,_e,Ae,Ye){var bt=_e!==null?_e.key:null;if(typeof Ae==&quot;string&quot;&amp;&amp;Ae!==&quot;&quot;||typeof Ae==&quot;number&quot;)return bt!==null?null:be(Ne,_e,&quot;&quot;+Ae,Ye);if(typeof Ae==&quot;object&quot;&amp;&amp;Ae!==null){switch(Ae.$$typeof){case O:return Ae.key===bt?ve(Ne,_e,Ae,Ye):null;case T:return Ae.key===bt?Oe(Ne,_e,Ae,Ye):null;case j:return bt=Ae._init,$e(Ne,_e,bt(Ae._payload),Ye)}if(ue(Ae)||N(Ae))return bt!==null?null:qe(Ne,_e,Ae,Ye,null);qf(Ne,Ae)}return null}function it(Ne,_e,Ae,Ye,bt){if(typeof Ye==&quot;string&quot;&amp;&amp;Ye!==&quot;&quot;||typeof Ye==&quot;number&quot;)return Ne=Ne.get(Ae)||null,be(_e,Ne,&quot;&quot;+Ye,bt);if(typeof Ye==&quot;object&quot;&amp;&amp;Ye!==null){switch(Ye.$$typeof){case O:return Ne=Ne.get(Ye.key===null?Ae:Ye.key)||null,ve(_e,Ne,Ye,bt);case T:return Ne=Ne.get(Ye.key===null?Ae:Ye.key)||null,Oe(_e,Ne,Ye,bt);case j:var At=Ye._init;return it(Ne,_e,Ae,At(Ye._payload),bt)}if(ue(Ye)||N(Ye))return Ne=Ne.get(Ae)||null,qe(_e,Ne,Ye,bt,null);qf(_e,Ye)}return null}function ut(Ne,_e,Ae,Ye){for(var bt=null,At=null,Mt=_e,Ft=_e=0,mn=null;Mt!==null&amp;&amp;Ft&lt;Ae.length;Ft++){Mt.index&gt;Ft?(mn=Mt,Mt=null):mn=Mt.sibling;var rr=$e(Ne,Mt,Ae[Ft],Ye);if(rr===null){Mt===null&amp;&amp;(Mt=mn);break}x&amp;&amp;Mt&amp;&amp;rr.alternate===null&amp;&amp;w(Ne,Mt),_e=J(rr,_e,Ft),At===null?bt=rr:At.sibling=rr,At=rr,Mt=mn}if(Ft===Ae.length)return A(Ne,Mt),Nr&amp;&amp;Vo(Ne,Ft),bt;if(Mt===null){for(;Ft&lt;Ae.length;Ft++)Mt=We(Ne,Ae[Ft],Ye),Mt!==null&amp;&amp;(_e=J(Mt,_e,Ft),At===null?bt=Mt:At.sibling=Mt,At=Mt);return Nr&amp;&amp;Vo(Ne,Ft),bt}for(Mt=q(Ne,Mt);Ft&lt;Ae.length;Ft++)mn=it(Mt,Ne,Ft,Ae[Ft],Ye),mn!==null&amp;&amp;(x&amp;&amp;mn.alternate!==null&amp;&amp;Mt.delete(mn.key===null?Ft:mn.key),_e=J(mn,_e,Ft),At===null?bt=mn:At.sibling=mn,At=mn);return x&amp;&amp;Mt.forEach(function(Za){return w(Ne,Za)}),Nr&amp;&amp;Vo(Ne,Ft),bt}function pt(Ne,_e,Ae,Ye){var bt=N(Ae);if(typeof bt!=&quot;function&quot;)throw Error(t(150));if(Ae=bt.call(Ae),Ae==null)throw Error(t(151));for(var At=bt=null,Mt=_e,Ft=_e=0,mn=null,rr=Ae.next();Mt!==null&amp;&amp;!rr.done;Ft++,rr=Ae.next()){Mt.index&gt;Ft?(mn=Mt,Mt=null):mn=Mt.sibling;var Za=$e(Ne,Mt,rr.value,Ye);if(Za===null){Mt===null&amp;&amp;(Mt=mn);break}x&amp;&amp;Mt&amp;&amp;Za.alternate===null&amp;&amp;w(Ne,Mt),_e=J(Za,_e,Ft),At===null?bt=Za:At.sibling=Za,At=Za,Mt=mn}if(rr.done)return A(Ne,Mt),Nr&amp;&amp;Vo(Ne,Ft),bt;if(Mt===null){for(;!rr.done;Ft++,rr=Ae.next())rr=We(Ne,rr.value,Ye),rr!==null&amp;&amp;(_e=J(rr,_e,Ft),At===null?bt=rr:At.sibling=rr,At=rr);return Nr&amp;&amp;Vo(Ne,Ft),bt}for(Mt=q(Ne,Mt);!rr.done;Ft++,rr=Ae.next())rr=it(Mt,Ne,Ft,rr.value,Ye),rr!==null&amp;&amp;(x&amp;&amp;rr.alternate!==null&amp;&amp;Mt.delete(rr.key===null?Ft:rr.key),_e=J(rr,_e,Ft),At===null?bt=rr:At.sibling=rr,At=rr);return x&amp;&amp;Mt.forEach(function(sO){return w(Ne,sO)}),Nr&amp;&amp;Vo(Ne,Ft),bt}function Vr(Ne,_e,Ae,Ye){if(typeof Ae==&quot;object&quot;&amp;&amp;Ae!==null&amp;&amp;Ae.type===V&amp;&amp;Ae.key===null&amp;&amp;(Ae=Ae.props.children),typeof Ae==&quot;object&quot;&amp;&amp;Ae!==null){switch(Ae.$$typeof){case O:e:{for(var bt=Ae.key,At=_e;At!==null;){if(At.key===bt){if(bt=Ae.type,bt===V){if(At.tag===7){A(Ne,At.sibling),_e=G(At,Ae.props.children),_e.return=Ne,Ne=_e;break e}}else if(At.elementType===bt||typeof bt==&quot;object&quot;&amp;&amp;bt!==null&amp;&amp;bt.$$typeof===j&amp;&amp;Nw(bt)===At.type){A(Ne,At.sibling),_e=G(At,Ae.props),_e.ref=pu(Ne,At,Ae),_e.return=Ne,Ne=_e;break e}A(Ne,At);break}else w(Ne,At);At=At.sibling}Ae.type===V?(_e=Zo(Ae.props.children,Ne.mode,Ye,Ae.key),_e.return=Ne,Ne=_e):(Ye=mh(Ae.type,Ae.key,Ae.props,null,Ne.mode,Ye),Ye.ref=pu(Ne,_e,Ae),Ye.return=Ne,Ne=Ye)}return ae(Ne);case T:e:{for(At=Ae.key;_e!==null;){if(_e.key===At)if(_e.tag===4&amp;&amp;_e.stateNode.containerInfo===Ae.containerInfo&amp;&amp;_e.stateNode.implementation===Ae.implementation){A(Ne,_e.sibling),_e=G(_e,Ae.children||[]),_e.return=Ne,Ne=_e;break e}else{A(Ne,_e);break}else w(Ne,_e);_e=_e.sibling}_e=zg(Ae,Ne.mode,Ye),_e.return=Ne,Ne=_e}return ae(Ne);case j:return At=Ae._init,Vr(Ne,_e,At(Ae._payload),Ye)}if(ue(Ae))return ut(Ne,_e,Ae,Ye);if(N(Ae))return pt(Ne,_e,Ae,Ye);qf(Ne,Ae)}return typeof Ae==&quot;string&quot;&amp;&amp;Ae!==&quot;&quot;||typeof Ae==&quot;number&quot;?(Ae=&quot;&quot;+Ae,_e!==null&amp;&amp;_e.tag===6?(A(Ne,_e.sibling),_e=G(_e,Ae),_e.return=Ne,Ne=_e):(A(Ne,_e),_e=Bg(Ae,Ne.mode,Ye),_e.return=Ne,Ne=_e),ae(Ne)):A(Ne,_e)}return Vr}var Ql=Cw(!0),Ew=Cw(!1),Hf=za(null),Wf=null,Jl=null,G0=null;function Y0(){G0=Jl=Wf=null}function Z0(x){var w=Hf.current;wr(Hf),x._currentValue=w}function Q0(x,w,A){for(;x!==null;){var q=x.alternate;if((x.childLanes&amp;w)!==w?(x.childLanes|=w,q!==null&amp;&amp;(q.childLanes|=w)):q!==null&amp;&amp;(q.childLanes&amp;w)!==w&amp;&amp;(q.childLanes|=w),x===A)break;x=x.return}}function ec(x,w){Wf=x,G0=Jl=null,x=x.dependencies,x!==null&amp;&amp;x.firstContext!==null&amp;&amp;((x.lanes&amp;w)!==0&amp;&amp;(ii=!0),x.firstContext=null)}function Pi(x){var w=x._currentValue;if(G0!==x)if(x={context:x,memoizedValue:w,next:null},Jl===null){if(Wf===null)throw Error(t(308));Jl=x,Wf.dependencies={lanes:0,firstContext:x}}else Jl=Jl.next=x;return w}var qo=null;function J0(x){qo===null?qo=[x]:qo.push(x)}function Aw(x,w,A,q){var G=w.interleaved;return G===null?(A.next=A,J0(w)):(A.next=G.next,G.next=A),w.interleaved=A,Ks(x,q)}function Ks(x,w){x.lanes|=w;var A=x.alternate;for(A!==null&amp;&amp;(A.lanes|=w),A=x,x=x.return;x!==null;)x.childLanes|=w,A=x.alternate,A!==null&amp;&amp;(A.childLanes|=w),A=x,x=x.return;return A.tag===3?A.stateNode:null}var Va=!1;function eg(x){x.updateQueue={baseState:x.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mw(x,w){x=x.updateQueue,w.updateQueue===x&amp;&amp;(w.updateQueue={baseState:x.baseState,firstBaseUpdate:x.firstBaseUpdate,lastBaseUpdate:x.lastBaseUpdate,shared:x.shared,effects:x.effects})}function Xs(x,w){return{eventTime:x,lane:w,tag:0,payload:null,callback:null,next:null}}function qa(x,w,A){var q=x.updateQueue;if(q===null)return null;if(q=q.shared,(tr&amp;2)!==0){var G=q.pending;return G===null?w.next=w:(w.next=G.next,G.next=w),q.pending=w,Ks(x,A)}return G=q.interleaved,G===null?(w.next=w,J0(q)):(w.next=G.next,G.next=w),q.interleaved=w,Ks(x,A)}function Kf(x,w,A){if(w=w.updateQueue,w!==null&amp;&amp;(w=w.shared,(A&amp;4194240)!==0)){var q=w.lanes;q&amp;=x.pendingLanes,A|=q,w.lanes=A,kr(x,A)}}function Ow(x,w){var A=x.updateQueue,q=x.alternate;if(q!==null&amp;&amp;(q=q.updateQueue,A===q)){var G=null,J=null;if(A=A.firstBaseUpdate,A!==null){do{var ae={eventTime:A.eventTime,lane:A.lane,tag:A.tag,payload:A.payload,callback:A.callback,next:null};J===null?G=J=ae:J=J.next=ae,A=A.next}while(A!==null);J===null?G=J=w:J=J.next=w}else G=J=w;A={baseState:q.baseState,firstBaseUpdate:G,lastBaseUpdate:J,shared:q.shared,effects:q.effects},x.updateQueue=A;return}x=A.lastBaseUpdate,x===null?A.firstBaseUpdate=w:x.next=w,A.lastBaseUpdate=w}function Xf(x,w,A,q){var G=x.updateQueue;Va=!1;var J=G.firstBaseUpdate,ae=G.lastBaseUpdate,be=G.shared.pending;if(be!==null){G.shared.pending=null;var ve=be,Oe=ve.next;ve.next=null,ae===null?J=Oe:ae.next=Oe,ae=ve;var qe=x.alternate;qe!==null&amp;&amp;(qe=qe.updateQueue,be=qe.lastBaseUpdate,be!==ae&amp;&amp;(be===null?qe.firstBaseUpdate=Oe:be.next=Oe,qe.lastBaseUpdate=ve))}if(J!==null){var We=G.baseState;ae=0,qe=Oe=ve=null,be=J;do{var $e=be.lane,it=be.eventTime;if((q&amp;$e)===$e){qe!==null&amp;&amp;(qe=qe.next={eventTime:it,lane:0,tag:be.tag,payload:be.payload,callback:be.callback,next:null});e:{var ut=x,pt=be;switch($e=w,it=A,pt.tag){case 1:if(ut=pt.payload,typeof ut==&quot;function&quot;){We=ut.call(it,We,$e);break e}We=ut;break e;case 3:ut.flags=ut.flags&amp;-65537|128;case 0:if(ut=pt.payload,$e=typeof ut==&quot;function&quot;?ut.call(it,We,$e):ut,$e==null)break e;We=M({},We,$e);break e;case 2:Va=!0}}be.callback!==null&amp;&amp;be.lane!==0&amp;&amp;(x.flags|=64,$e=G.effects,$e===null?G.effects=[be]:$e.push(be))}else it={eventTime:it,lane:$e,tag:be.tag,payload:be.payload,callback:be.callback,next:null},qe===null?(Oe=qe=it,ve=We):qe=qe.next=it,ae|=$e;if(be=be.next,be===null){if(be=G.shared.pending,be===null)break;$e=be,be=$e.next,$e.next=null,G.lastBaseUpdate=$e,G.shared.pending=null}}while(!0);if(qe===null&amp;&amp;(ve=We),G.baseState=ve,G.firstBaseUpdate=Oe,G.lastBaseUpdate=qe,w=G.shared.interleaved,w!==null){G=w;do ae|=G.lane,G=G.next;while(G!==w)}else J===null&amp;&amp;(G.shared.lanes=0);Ko|=ae,x.lanes=ae,x.memoizedState=We}}function Pw(x,w,A){if(x=w.effects,w.effects=null,x!==null)for(w=0;w&lt;x.length;w++){var q=x[w],G=q.callback;if(G!==null){if(q.callback=null,q=A,typeof G!=&quot;function&quot;)throw Error(t(191,G));G.call(q)}}}var gu={},Ss=za(gu),bu=za(gu),xu=za(gu);function Ho(x){if(x===gu)throw Error(t(174));return x}function tg(x,w){switch(br(xu,w),br(bu,x),br(Ss,gu),x=w.nodeType,x){case 9:case 11:w=(w=w.documentElement)?w.namespaceURI:Se(null,&quot;&quot;);break;default:x=x===8?w.parentNode:w,w=x.namespaceURI||null,x=x.tagName,w=Se(w,x)}wr(Ss),br(Ss,w)}function tc(){wr(Ss),wr(bu),wr(xu)}function Tw(x){Ho(xu.current);var w=Ho(Ss.current),A=Se(w,x.type);w!==A&amp;&amp;(br(bu,x),br(Ss,A))}function rg(x){bu.current===x&amp;&amp;(wr(Ss),wr(bu))}var Pr=za(0);function Gf(x){for(var w=x;w!==null;){if(w.tag===13){var A=w.memoizedState;if(A!==null&amp;&amp;(A=A.dehydrated,A===null||A.data===&quot;$?&quot;||A.data===&quot;$!&quot;))return w}else if(w.tag===19&amp;&amp;w.memoizedProps.revealOrder!==void 0){if((w.flags&amp;128)!==0)return w}else if(w.child!==null){w.child.return=w,w=w.child;continue}if(w===x)break;for(;w.sibling===null;){if(w.return===null||w.return===x)return null;w=w.return}w.sibling.return=w.return,w=w.sibling}return null}var ng=[];function ig(){for(var x=0;x&lt;ng.length;x++)ng[x]._workInProgressVersionPrimary=null;ng.length=0}var Yf=C.ReactCurrentDispatcher,sg=C.ReactCurrentBatchConfig,Wo=0,Tr=null,Qr=null,fn=null,Zf=!1,yu=!1,vu=0,CM=0;function Tn(){throw Error(t(321))}function ag(x,w){if(w===null)return!1;for(var A=0;A&lt;w.length&amp;&amp;A&lt;x.length;A++)if(!ti(x[A],w[A]))return!1;return!0}function og(x,w,A,q,G,J){if(Wo=J,Tr=w,w.memoizedState=null,w.updateQueue=null,w.lanes=0,Yf.current=x===null||x.memoizedState===null?OM:PM,x=A(q,G),yu){J=0;do{if(yu=!1,vu=0,25&lt;=J)throw Error(t(301));J+=1,fn=Qr=null,w.updateQueue=null,Yf.current=TM,x=A(q,G)}while(yu)}if(Yf.current=eh,w=Qr!==null&amp;&amp;Qr.next!==null,Wo=0,fn=Qr=Tr=null,Zf=!1,w)throw Error(t(300));return x}function lg(){var x=vu!==0;return vu=0,x}function ks(){var x={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return fn===null?Tr.memoizedState=fn=x:fn=fn.next=x,fn}function Ti(){if(Qr===null){var x=Tr.alternate;x=x!==null?x.memoizedState:null}else x=Qr.next;var w=fn===null?Tr.memoizedState:fn.next;if(w!==null)fn=w,Qr=x;else{if(x===null)throw Error(t(310));Qr=x,x={memoizedState:Qr.memoizedState,baseState:Qr.baseState,baseQueue:Qr.baseQueue,queue:Qr.queue,next:null},fn===null?Tr.memoizedState=fn=x:fn=fn.next=x}return fn}function wu(x,w){return typeof w==&quot;function&quot;?w(x):w}function cg(x){var w=Ti(),A=w.queue;if(A===null)throw Error(t(311));A.lastRenderedReducer=x;var q=Qr,G=q.baseQueue,J=A.pending;if(J!==null){if(G!==null){var ae=G.next;G.next=J.next,J.next=ae}q.baseQueue=G=J,A.pending=null}if(G!==null){J=G.next,q=q.baseState;var be=ae=null,ve=null,Oe=J;do{var qe=Oe.lane;if((Wo&amp;qe)===qe)ve!==null&amp;&amp;(ve=ve.next={lane:0,action:Oe.action,hasEagerState:Oe.hasEagerState,eagerState:Oe.eagerState,next:null}),q=Oe.hasEagerState?Oe.eagerState:x(q,Oe.action);else{var We={lane:qe,action:Oe.action,hasEagerState:Oe.hasEagerState,eagerState:Oe.eagerState,next:null};ve===null?(be=ve=We,ae=q):ve=ve.next=We,Tr.lanes|=qe,Ko|=qe}Oe=Oe.next}while(Oe!==null&amp;&amp;Oe!==J);ve===null?ae=q:ve.next=be,ti(q,w.memoizedState)||(ii=!0),w.memoizedState=q,w.baseState=ae,w.baseQueue=ve,A.lastRenderedState=q}if(x=A.interleaved,x!==null){G=x;do J=G.lane,Tr.lanes|=J,Ko|=J,G=G.next;while(G!==x)}else G===null&amp;&amp;(A.lanes=0);return[w.memoizedState,A.dispatch]}function ug(x){var w=Ti(),A=w.queue;if(A===null)throw Error(t(311));A.lastRenderedReducer=x;var q=A.dispatch,G=A.pending,J=w.memoizedState;if(G!==null){A.pending=null;var ae=G=G.next;do J=x(J,ae.action),ae=ae.next;while(ae!==G);ti(J,w.memoizedState)||(ii=!0),w.memoizedState=J,w.baseQueue===null&amp;&amp;(w.baseState=J),A.lastRenderedState=J}return[J,q]}function Iw(){}function Rw(x,w){var A=Tr,q=Ti(),G=w(),J=!ti(q.memoizedState,G);if(J&amp;&amp;(q.memoizedState=G,ii=!0),q=q.queue,dg(Fw.bind(null,A,q,x),[x]),q.getSnapshot!==w||J||fn!==null&amp;&amp;fn.memoizedState.tag&amp;1){if(A.flags|=2048,_u(9,Lw.bind(null,A,q,G,w),void 0,null),hn===null)throw Error(t(349));(Wo&amp;30)!==0||Dw(A,w,G)}return G}function Dw(x,w,A){x.flags|=16384,x={getSnapshot:w,value:A},w=Tr.updateQueue,w===null?(w={lastEffect:null,stores:null},Tr.updateQueue=w,w.stores=[x]):(A=w.stores,A===null?w.stores=[x]:A.push(x))}function Lw(x,w,A,q){w.value=A,w.getSnapshot=q,Bw(w)&amp;&amp;zw(x)}function Fw(x,w,A){return A(function(){Bw(w)&amp;&amp;zw(x)})}function Bw(x){var w=x.getSnapshot;x=x.value;try{var A=w();return!ti(x,A)}catch{return!0}}function zw(x){var w=Ks(x,1);w!==null&amp;&amp;as(w,x,1,-1)}function $w(x){var w=ks();return typeof x==&quot;function&quot;&amp;&amp;(x=x()),w.memoizedState=w.baseState=x,x={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wu,lastRenderedState:x},w.queue=x,x=x.dispatch=MM.bind(null,Tr,x),[w.memoizedState,x]}function _u(x,w,A,q){return x={tag:x,create:w,destroy:A,deps:q,next:null},w=Tr.updateQueue,w===null?(w={lastEffect:null,stores:null},Tr.updateQueue=w,w.lastEffect=x.next=x):(A=w.lastEffect,A===null?w.lastEffect=x.next=x:(q=A.next,A.next=x,x.next=q,w.lastEffect=x)),x}function Uw(){return Ti().memoizedState}function Qf(x,w,A,q){var G=ks();Tr.flags|=x,G.memoizedState=_u(1|w,A,void 0,q===void 0?null:q)}function Jf(x,w,A,q){var G=Ti();q=q===void 0?null:q;var J=void 0;if(Qr!==null){var ae=Qr.memoizedState;if(J=ae.destroy,q!==null&amp;&amp;ag(q,ae.deps)){G.memoizedState=_u(w,A,J,q);return}}Tr.flags|=x,G.memoizedState=_u(1|w,A,J,q)}function Vw(x,w){return Qf(8390656,8,x,w)}function dg(x,w){return Jf(2048,8,x,w)}function qw(x,w){return Jf(4,2,x,w)}function Hw(x,w){return Jf(4,4,x,w)}function Ww(x,w){if(typeof w==&quot;function&quot;)return x=x(),w(x),function(){w(null)};if(w!=null)return x=x(),w.current=x,function(){w.current=null}}function Kw(x,w,A){return A=A!=null?A.concat([x]):null,Jf(4,4,Ww.bind(null,w,x),A)}function fg(){}function Xw(x,w){var A=Ti();w=w===void 0?null:w;var q=A.memoizedState;return q!==null&amp;&amp;w!==null&amp;&amp;ag(w,q[1])?q[0]:(A.memoizedState=[x,w],x)}function Gw(x,w){var A=Ti();w=w===void 0?null:w;var q=A.memoizedState;return q!==null&amp;&amp;w!==null&amp;&amp;ag(w,q[1])?q[0]:(x=x(),A.memoizedState=[x,w],x)}function Yw(x,w,A){return(Wo&amp;21)===0?(x.baseState&amp;&amp;(x.baseState=!1,ii=!0),x.memoizedState=A):(ti(A,w)||(A=Wt(),Tr.lanes|=A,Ko|=A,x.baseState=!0),w)}function EM(x,w){var A=Lt;Lt=A!==0&amp;&amp;4&gt;A?A:4,x(!0);var q=sg.transition;sg.transition={};try{x(!1),w()}finally{Lt=A,sg.transition=q}}function Zw(){return Ti().memoizedState}function AM(x,w,A){var q=Xa(x);if(A={lane:q,action:A,hasEagerState:!1,eagerState:null,next:null},Qw(x))Jw(w,A);else if(A=Aw(x,w,A,q),A!==null){var G=Un();as(A,x,q,G),e_(A,w,q)}}function MM(x,w,A){var q=Xa(x),G={lane:q,action:A,hasEagerState:!1,eagerState:null,next:null};if(Qw(x))Jw(w,G);else{var J=x.alternate;if(x.lanes===0&amp;&amp;(J===null||J.lanes===0)&amp;&amp;(J=w.lastRenderedReducer,J!==null))try{var ae=w.lastRenderedState,be=J(ae,A);if(G.hasEagerState=!0,G.eagerState=be,ti(be,ae)){var ve=w.interleaved;ve===null?(G.next=G,J0(w)):(G.next=ve.next,ve.next=G),w.interleaved=G;return}}catch{}A=Aw(x,w,G,q),A!==null&amp;&amp;(G=Un(),as(A,x,q,G),e_(A,w,q))}}function Qw(x){var w=x.alternate;return x===Tr||w!==null&amp;&amp;w===Tr}function Jw(x,w){yu=Zf=!0;var A=x.pending;A===null?w.next=w:(w.next=A.next,A.next=w),x.pending=w}function e_(x,w,A){if((A&amp;4194240)!==0){var q=w.lanes;q&amp;=x.pendingLanes,A|=q,w.lanes=A,kr(x,A)}}var eh={readContext:Pi,useCallback:Tn,useContext:Tn,useEffect:Tn,useImperativeHandle:Tn,useInsertionEffect:Tn,useLayoutEffect:Tn,useMemo:Tn,useReducer:Tn,useRef:Tn,useState:Tn,useDebugValue:Tn,useDeferredValue:Tn,useTransition:Tn,useMutableSource:Tn,useSyncExternalStore:Tn,useId:Tn,unstable_isNewReconciler:!1},OM={readContext:Pi,useCallback:function(x,w){return ks().memoizedState=[x,w===void 0?null:w],x},useContext:Pi,useEffect:Vw,useImperativeHandle:function(x,w,A){return A=A!=null?A.concat([x]):null,Qf(4194308,4,Ww.bind(null,w,x),A)},useLayoutEffect:function(x,w){return Qf(4194308,4,x,w)},useInsertionEffect:function(x,w){return Qf(4,2,x,w)},useMemo:function(x,w){var A=ks();return w=w===void 0?null:w,x=x(),A.memoizedState=[x,w],x},useReducer:function(x,w,A){var q=ks();return w=A!==void 0?A(w):w,q.memoizedState=q.baseState=w,x={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:x,lastRenderedState:w},q.queue=x,x=x.dispatch=AM.bind(null,Tr,x),[q.memoizedState,x]},useRef:function(x){var w=ks();return x={current:x},w.memoizedState=x},useState:$w,useDebugValue:fg,useDeferredValue:function(x){return ks().memoizedState=x},useTransition:function(){var x=$w(!1),w=x[0];return x=EM.bind(null,x[1]),ks().memoizedState=x,[w,x]},useMutableSource:function(){},useSyncExternalStore:function(x,w,A){var q=Tr,G=ks();if(Nr){if(A===void 0)throw Error(t(407));A=A()}else{if(A=w(),hn===null)throw Error(t(349));(Wo&amp;30)!==0||Dw(q,w,A)}G.memoizedState=A;var J={value:A,getSnapshot:w};return G.queue=J,Vw(Fw.bind(null,q,J,x),[x]),q.flags|=2048,_u(9,Lw.bind(null,q,J,A,w),void 0,null),A},useId:function(){var x=ks(),w=hn.identifierPrefix;if(Nr){var A=Ws,q=Hs;A=(q&amp;~(1&lt;&lt;32-Bt(q)-1)).toString(32)+A,w=&quot;:&quot;+w+&quot;R&quot;+A,A=vu++,0&lt;A&amp;&amp;(w+=&quot;H&quot;+A.toString(32)),w+=&quot;:&quot;}else A=CM++,w=&quot;:&quot;+w+&quot;r&quot;+A.toString(32)+&quot;:&quot;;return x.memoizedState=w},unstable_isNewReconciler:!1},PM={readContext:Pi,useCallback:Xw,useContext:Pi,useEffect:dg,useImperativeHandle:Kw,useInsertionEffect:qw,useLayoutEffect:Hw,useMemo:Gw,useReducer:cg,useRef:Uw,useState:function(){return cg(wu)},useDebugValue:fg,useDeferredValue:function(x){var w=Ti();return Yw(w,Qr.memoizedState,x)},useTransition:function(){var x=cg(wu)[0],w=Ti().memoizedState;return[x,w]},useMutableSource:Iw,useSyncExternalStore:Rw,useId:Zw,unstable_isNewReconciler:!1},TM={readContext:Pi,useCallback:Xw,useContext:Pi,useEffect:dg,useImperativeHandle:Kw,useInsertionEffect:qw,useLayoutEffect:Hw,useMemo:Gw,useReducer:ug,useRef:Uw,useState:function(){return ug(wu)},useDebugValue:fg,useDeferredValue:function(x){var w=Ti();return Qr===null?w.memoizedState=x:Yw(w,Qr.memoizedState,x)},useTransition:function(){var x=ug(wu)[0],w=Ti().memoizedState;return[x,w]},useMutableSource:Iw,useSyncExternalStore:Rw,useId:Zw,unstable_isNewReconciler:!1};function ns(x,w){if(x&amp;&amp;x.defaultProps){w=M({},w),x=x.defaultProps;for(var A in x)w[A]===void 0&amp;&amp;(w[A]=x[A]);return w}return w}function hg(x,w,A,q){w=x.memoizedState,A=A(q,w),A=A==null?w:M({},w,A),x.memoizedState=A,x.lanes===0&amp;&amp;(x.updateQueue.baseState=A)}var th={isMounted:function(x){return(x=x._reactInternals)?nt(x)===x:!1},enqueueSetState:function(x,w,A){x=x._reactInternals;var q=Un(),G=Xa(x),J=Xs(q,G);J.payload=w,A!=null&amp;&amp;(J.callback=A),w=qa(x,J,G),w!==null&amp;&amp;(as(w,x,G,q),Kf(w,x,G))},enqueueReplaceState:function(x,w,A){x=x._reactInternals;var q=Un(),G=Xa(x),J=Xs(q,G);J.tag=1,J.payload=w,A!=null&amp;&amp;(J.callback=A),w=qa(x,J,G),w!==null&amp;&amp;(as(w,x,G,q),Kf(w,x,G))},enqueueForceUpdate:function(x,w){x=x._reactInternals;var A=Un(),q=Xa(x),G=Xs(A,q);G.tag=2,w!=null&amp;&amp;(G.callback=w),w=qa(x,G,q),w!==null&amp;&amp;(as(w,x,q,A),Kf(w,x,q))}};function t_(x,w,A,q,G,J,ae){return x=x.stateNode,typeof x.shouldComponentUpdate==&quot;function&quot;?x.shouldComponentUpdate(q,J,ae):w.prototype&amp;&amp;w.prototype.isPureReactComponent?!Oo(A,q)||!Oo(G,J):!0}function r_(x,w,A){var q=!1,G=$a,J=w.contextType;return typeof J==&quot;object&quot;&amp;&amp;J!==null?J=Pi(J):(G=ni(w)?$o:Pn.current,q=w.contextTypes,J=(q=q!=null)?Xl(x,G):$a),w=new w(A,J),x.memoizedState=w.state!==null&amp;&amp;w.state!==void 0?w.state:null,w.updater=th,x.stateNode=w,w._reactInternals=x,q&amp;&amp;(x=x.stateNode,x.__reactInternalMemoizedUnmaskedChildContext=G,x.__reactInternalMemoizedMaskedChildContext=J),w}function n_(x,w,A,q){x=w.state,typeof w.componentWillReceiveProps==&quot;function&quot;&amp;&amp;w.componentWillReceiveProps(A,q),typeof w.UNSAFE_componentWillReceiveProps==&quot;function&quot;&amp;&amp;w.UNSAFE_componentWillReceiveProps(A,q),w.state!==x&amp;&amp;th.enqueueReplaceState(w,w.state,null)}function mg(x,w,A,q){var G=x.stateNode;G.props=A,G.state=x.memoizedState,G.refs={},eg(x);var J=w.contextType;typeof J==&quot;object&quot;&amp;&amp;J!==null?G.context=Pi(J):(J=ni(w)?$o:Pn.current,G.context=Xl(x,J)),G.state=x.memoizedState,J=w.getDerivedStateFromProps,typeof J==&quot;function&quot;&amp;&amp;(hg(x,w,J,A),G.state=x.memoizedState),typeof w.getDerivedStateFromProps==&quot;function&quot;||typeof G.getSnapshotBeforeUpdate==&quot;function&quot;||typeof G.UNSAFE_componentWillMount!=&quot;function&quot;&amp;&amp;typeof G.componentWillMount!=&quot;function&quot;||(w=G.state,typeof G.componentWillMount==&quot;function&quot;&amp;&amp;G.componentWillMount(),typeof G.UNSAFE_componentWillMount==&quot;function&quot;&amp;&amp;G.UNSAFE_componentWillMount(),w!==G.state&amp;&amp;th.enqueueReplaceState(G,G.state,null),Xf(x,A,G,q),G.state=x.memoizedState),typeof G.componentDidMount==&quot;function&quot;&amp;&amp;(x.flags|=4194308)}function rc(x,w){try{var A=&quot;&quot;,q=w;do A+=ie(q),q=q.return;while(q);var G=A}catch(J){G=`
Error generating stack: `+J.message+`
`+J.stack}return{value:x,source:w,stack:G,digest:null}}function pg(x,w,A){return{value:x,source:null,stack:A??null,digest:w??null}}function gg(x,w){try{console.error(w.value)}catch(A){setTimeout(function(){throw A})}}var IM=typeof WeakMap==&quot;function&quot;?WeakMap:Map;function i_(x,w,A){A=Xs(-1,A),A.tag=3,A.payload={element:null};var q=w.value;return A.callback=function(){lh||(lh=!0,Og=q),gg(x,w)},A}function s_(x,w,A){A=Xs(-1,A),A.tag=3;var q=x.type.getDerivedStateFromError;if(typeof q==&quot;function&quot;){var G=w.value;A.payload=function(){return q(G)},A.callback=function(){gg(x,w)}}var J=x.stateNode;return J!==null&amp;&amp;typeof J.componentDidCatch==&quot;function&quot;&amp;&amp;(A.callback=function(){gg(x,w),typeof q!=&quot;function&quot;&amp;&amp;(Wa===null?Wa=new Set([this]):Wa.add(this));var ae=w.stack;this.componentDidCatch(w.value,{componentStack:ae!==null?ae:&quot;&quot;})}),A}function a_(x,w,A){var q=x.pingCache;if(q===null){q=x.pingCache=new IM;var G=new Set;q.set(w,G)}else G=q.get(w),G===void 0&amp;&amp;(G=new Set,q.set(w,G));G.has(A)||(G.add(A),x=XM.bind(null,x,w,A),w.then(x,x))}function o_(x){do{var w;if((w=x.tag===13)&amp;&amp;(w=x.memoizedState,w=w!==null?w.dehydrated!==null:!0),w)return x;x=x.return}while(x!==null);return null}function l_(x,w,A,q,G){return(x.mode&amp;1)===0?(x===w?x.flags|=65536:(x.flags|=128,A.flags|=131072,A.flags&amp;=-52805,A.tag===1&amp;&amp;(A.alternate===null?A.tag=17:(w=Xs(-1,1),w.tag=2,qa(A,w,1))),A.lanes|=1),x):(x.flags|=65536,x.lanes=G,x)}var RM=C.ReactCurrentOwner,ii=!1;function $n(x,w,A,q){w.child=x===null?Ew(w,null,A,q):Ql(w,x.child,A,q)}function c_(x,w,A,q,G){A=A.render;var J=w.ref;return ec(w,G),q=og(x,w,A,q,J,G),A=lg(),x!==null&amp;&amp;!ii?(w.updateQueue=x.updateQueue,w.flags&amp;=-2053,x.lanes&amp;=~G,Gs(x,w,G)):(Nr&amp;&amp;A&amp;&amp;q0(w),w.flags|=1,$n(x,w,q,G),w.child)}function u_(x,w,A,q,G){if(x===null){var J=A.type;return typeof J==&quot;function&quot;&amp;&amp;!Fg(J)&amp;&amp;J.defaultProps===void 0&amp;&amp;A.compare===null&amp;&amp;A.defaultProps===void 0?(w.tag=15,w.type=J,d_(x,w,J,q,G)):(x=mh(A.type,null,q,w,w.mode,G),x.ref=w.ref,x.return=w,w.child=x)}if(J=x.child,(x.lanes&amp;G)===0){var ae=J.memoizedProps;if(A=A.compare,A=A!==null?A:Oo,A(ae,q)&amp;&amp;x.ref===w.ref)return Gs(x,w,G)}return w.flags|=1,x=Ya(J,q),x.ref=w.ref,x.return=w,w.child=x}function d_(x,w,A,q,G){if(x!==null){var J=x.memoizedProps;if(Oo(J,q)&amp;&amp;x.ref===w.ref)if(ii=!1,w.pendingProps=q=J,(x.lanes&amp;G)!==0)(x.flags&amp;131072)!==0&amp;&amp;(ii=!0);else return w.lanes=x.lanes,Gs(x,w,G)}return bg(x,w,A,q,G)}function f_(x,w,A){var q=w.pendingProps,G=q.children,J=x!==null?x.memoizedState:null;if(q.mode===&quot;hidden&quot;)if((w.mode&amp;1)===0)w.memoizedState={baseLanes:0,cachePool:null,transitions:null},br(ic,gi),gi|=A;else{if((A&amp;1073741824)===0)return x=J!==null?J.baseLanes|A:A,w.lanes=w.childLanes=1073741824,w.memoizedState={baseLanes:x,cachePool:null,transitions:null},w.updateQueue=null,br(ic,gi),gi|=x,null;w.memoizedState={baseLanes:0,cachePool:null,transitions:null},q=J!==null?J.baseLanes:A,br(ic,gi),gi|=q}else J!==null?(q=J.baseLanes|A,w.memoizedState=null):q=A,br(ic,gi),gi|=q;return $n(x,w,G,A),w.child}function h_(x,w){var A=w.ref;(x===null&amp;&amp;A!==null||x!==null&amp;&amp;x.ref!==A)&amp;&amp;(w.flags|=512,w.flags|=2097152)}function bg(x,w,A,q,G){var J=ni(A)?$o:Pn.current;return J=Xl(w,J),ec(w,G),A=og(x,w,A,q,J,G),q=lg(),x!==null&amp;&amp;!ii?(w.updateQueue=x.updateQueue,w.flags&amp;=-2053,x.lanes&amp;=~G,Gs(x,w,G)):(Nr&amp;&amp;q&amp;&amp;q0(w),w.flags|=1,$n(x,w,A,G),w.child)}function m_(x,w,A,q,G){if(ni(A)){var J=!0;Bf(w)}else J=!1;if(ec(w,G),w.stateNode===null)nh(x,w),r_(w,A,q),mg(w,A,q,G),q=!0;else if(x===null){var ae=w.stateNode,be=w.memoizedProps;ae.props=be;var ve=ae.context,Oe=A.contextType;typeof Oe==&quot;object&quot;&amp;&amp;Oe!==null?Oe=Pi(Oe):(Oe=ni(A)?$o:Pn.current,Oe=Xl(w,Oe));var qe=A.getDerivedStateFromProps,We=typeof qe==&quot;function&quot;||typeof ae.getSnapshotBeforeUpdate==&quot;function&quot;;We||typeof ae.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof ae.componentWillReceiveProps!=&quot;function&quot;||(be!==q||ve!==Oe)&amp;&amp;n_(w,ae,q,Oe),Va=!1;var $e=w.memoizedState;ae.state=$e,Xf(w,q,ae,G),ve=w.memoizedState,be!==q||$e!==ve||ri.current||Va?(typeof qe==&quot;function&quot;&amp;&amp;(hg(w,A,qe,q),ve=w.memoizedState),(be=Va||t_(w,A,be,q,$e,ve,Oe))?(We||typeof ae.UNSAFE_componentWillMount!=&quot;function&quot;&amp;&amp;typeof ae.componentWillMount!=&quot;function&quot;||(typeof ae.componentWillMount==&quot;function&quot;&amp;&amp;ae.componentWillMount(),typeof ae.UNSAFE_componentWillMount==&quot;function&quot;&amp;&amp;ae.UNSAFE_componentWillMount()),typeof ae.componentDidMount==&quot;function&quot;&amp;&amp;(w.flags|=4194308)):(typeof ae.componentDidMount==&quot;function&quot;&amp;&amp;(w.flags|=4194308),w.memoizedProps=q,w.memoizedState=ve),ae.props=q,ae.state=ve,ae.context=Oe,q=be):(typeof ae.componentDidMount==&quot;function&quot;&amp;&amp;(w.flags|=4194308),q=!1)}else{ae=w.stateNode,Mw(x,w),be=w.memoizedProps,Oe=w.type===w.elementType?be:ns(w.type,be),ae.props=Oe,We=w.pendingProps,$e=ae.context,ve=A.contextType,typeof ve==&quot;object&quot;&amp;&amp;ve!==null?ve=Pi(ve):(ve=ni(A)?$o:Pn.current,ve=Xl(w,ve));var it=A.getDerivedStateFromProps;(qe=typeof it==&quot;function&quot;||typeof ae.getSnapshotBeforeUpdate==&quot;function&quot;)||typeof ae.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof ae.componentWillReceiveProps!=&quot;function&quot;||(be!==We||$e!==ve)&amp;&amp;n_(w,ae,q,ve),Va=!1,$e=w.memoizedState,ae.state=$e,Xf(w,q,ae,G);var ut=w.memoizedState;be!==We||$e!==ut||ri.current||Va?(typeof it==&quot;function&quot;&amp;&amp;(hg(w,A,it,q),ut=w.memoizedState),(Oe=Va||t_(w,A,Oe,q,$e,ut,ve)||!1)?(qe||typeof ae.UNSAFE_componentWillUpdate!=&quot;function&quot;&amp;&amp;typeof ae.componentWillUpdate!=&quot;function&quot;||(typeof ae.componentWillUpdate==&quot;function&quot;&amp;&amp;ae.componentWillUpdate(q,ut,ve),typeof ae.UNSAFE_componentWillUpdate==&quot;function&quot;&amp;&amp;ae.UNSAFE_componentWillUpdate(q,ut,ve)),typeof ae.componentDidUpdate==&quot;function&quot;&amp;&amp;(w.flags|=4),typeof ae.getSnapshotBeforeUpdate==&quot;function&quot;&amp;&amp;(w.flags|=1024)):(typeof ae.componentDidUpdate!=&quot;function&quot;||be===x.memoizedProps&amp;&amp;$e===x.memoizedState||(w.flags|=4),typeof ae.getSnapshotBeforeUpdate!=&quot;function&quot;||be===x.memoizedProps&amp;&amp;$e===x.memoizedState||(w.flags|=1024),w.memoizedProps=q,w.memoizedState=ut),ae.props=q,ae.state=ut,ae.context=ve,q=Oe):(typeof ae.componentDidUpdate!=&quot;function&quot;||be===x.memoizedProps&amp;&amp;$e===x.memoizedState||(w.flags|=4),typeof ae.getSnapshotBeforeUpdate!=&quot;function&quot;||be===x.memoizedProps&amp;&amp;$e===x.memoizedState||(w.flags|=1024),q=!1)}return xg(x,w,A,q,J,G)}function xg(x,w,A,q,G,J){h_(x,w);var ae=(w.flags&amp;128)!==0;if(!q&amp;&amp;!ae)return G&amp;&amp;yw(w,A,!1),Gs(x,w,J);q=w.stateNode,RM.current=w;var be=ae&amp;&amp;typeof A.getDerivedStateFromError!=&quot;function&quot;?null:q.render();return w.flags|=1,x!==null&amp;&amp;ae?(w.child=Ql(w,x.child,null,J),w.child=Ql(w,null,be,J)):$n(x,w,be,J),w.memoizedState=q.state,G&amp;&amp;yw(w,A,!0),w.child}function p_(x){var w=x.stateNode;w.pendingContext?bw(x,w.pendingContext,w.pendingContext!==w.context):w.context&amp;&amp;bw(x,w.context,!1),tg(x,w.containerInfo)}function g_(x,w,A,q,G){return Zl(),X0(G),w.flags|=256,$n(x,w,A,q),w.child}var yg={dehydrated:null,treeContext:null,retryLane:0};function vg(x){return{baseLanes:x,cachePool:null,transitions:null}}function b_(x,w,A){var q=w.pendingProps,G=Pr.current,J=!1,ae=(w.flags&amp;128)!==0,be;if((be=ae)||(be=x!==null&amp;&amp;x.memoizedState===null?!1:(G&amp;2)!==0),be?(J=!0,w.flags&amp;=-129):(x===null||x.memoizedState!==null)&amp;&amp;(G|=1),br(Pr,G&amp;1),x===null)return K0(w),x=w.memoizedState,x!==null&amp;&amp;(x=x.dehydrated,x!==null)?((w.mode&amp;1)===0?w.lanes=1:x.data===&quot;$!&quot;?w.lanes=8:w.lanes=1073741824,null):(ae=q.children,x=q.fallback,J?(q=w.mode,J=w.child,ae={mode:&quot;hidden&quot;,children:ae},(q&amp;1)===0&amp;&amp;J!==null?(J.childLanes=0,J.pendingProps=ae):J=ph(ae,q,0,null),x=Zo(x,q,A,null),J.return=w,x.return=w,J.sibling=x,w.child=J,w.child.memoizedState=vg(A),w.memoizedState=yg,x):wg(w,ae));if(G=x.memoizedState,G!==null&amp;&amp;(be=G.dehydrated,be!==null))return DM(x,w,ae,q,be,G,A);if(J){J=q.fallback,ae=w.mode,G=x.child,be=G.sibling;var ve={mode:&quot;hidden&quot;,children:q.children};return(ae&amp;1)===0&amp;&amp;w.child!==G?(q=w.child,q.childLanes=0,q.pendingProps=ve,w.deletions=null):(q=Ya(G,ve),q.subtreeFlags=G.subtreeFlags&amp;14680064),be!==null?J=Ya(be,J):(J=Zo(J,ae,A,null),J.flags|=2),J.return=w,q.return=w,q.sibling=J,w.child=q,q=J,J=w.child,ae=x.child.memoizedState,ae=ae===null?vg(A):{baseLanes:ae.baseLanes|A,cachePool:null,transitions:ae.transitions},J.memoizedState=ae,J.childLanes=x.childLanes&amp;~A,w.memoizedState=yg,q}return J=x.child,x=J.sibling,q=Ya(J,{mode:&quot;visible&quot;,children:q.children}),(w.mode&amp;1)===0&amp;&amp;(q.lanes=A),q.return=w,q.sibling=null,x!==null&amp;&amp;(A=w.deletions,A===null?(w.deletions=[x],w.flags|=16):A.push(x)),w.child=q,w.memoizedState=null,q}function wg(x,w){return w=ph({mode:&quot;visible&quot;,children:w},x.mode,0,null),w.return=x,x.child=w}function rh(x,w,A,q){return q!==null&amp;&amp;X0(q),Ql(w,x.child,null,A),x=wg(w,w.pendingProps.children),x.flags|=2,w.memoizedState=null,x}function DM(x,w,A,q,G,J,ae){if(A)return w.flags&amp;256?(w.flags&amp;=-257,q=pg(Error(t(422))),rh(x,w,ae,q)):w.memoizedState!==null?(w.child=x.child,w.flags|=128,null):(J=q.fallback,G=w.mode,q=ph({mode:&quot;visible&quot;,children:q.children},G,0,null),J=Zo(J,G,ae,null),J.flags|=2,q.return=w,J.return=w,q.sibling=J,w.child=q,(w.mode&amp;1)!==0&amp;&amp;Ql(w,x.child,null,ae),w.child.memoizedState=vg(ae),w.memoizedState=yg,J);if((w.mode&amp;1)===0)return rh(x,w,ae,null);if(G.data===&quot;$!&quot;){if(q=G.nextSibling&amp;&amp;G.nextSibling.dataset,q)var be=q.dgst;return q=be,J=Error(t(419)),q=pg(J,q,void 0),rh(x,w,ae,q)}if(be=(ae&amp;x.childLanes)!==0,ii||be){if(q=hn,q!==null){switch(ae&amp;-ae){case 4:G=2;break;case 16:G=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:G=32;break;case 536870912:G=268435456;break;default:G=0}G=(G&amp;(q.suspendedLanes|ae))!==0?0:G,G!==0&amp;&amp;G!==J.retryLane&amp;&amp;(J.retryLane=G,Ks(x,G),as(q,x,G,-1))}return Lg(),q=pg(Error(t(421))),rh(x,w,ae,q)}return G.data===&quot;$?&quot;?(w.flags|=128,w.child=x.child,w=GM.bind(null,x),G._reactRetry=w,null):(x=J.treeContext,pi=ts(G.nextSibling),mi=w,Nr=!0,rs=null,x!==null&amp;&amp;(Mi[Oi++]=Hs,Mi[Oi++]=Ws,Mi[Oi++]=Uo,Hs=x.id,Ws=x.overflow,Uo=w),w=wg(w,q.children),w.flags|=4096,w)}function x_(x,w,A){x.lanes|=w;var q=x.alternate;q!==null&amp;&amp;(q.lanes|=w),Q0(x.return,w,A)}function _g(x,w,A,q,G){var J=x.memoizedState;J===null?x.memoizedState={isBackwards:w,rendering:null,renderingStartTime:0,last:q,tail:A,tailMode:G}:(J.isBackwards=w,J.rendering=null,J.renderingStartTime=0,J.last=q,J.tail=A,J.tailMode=G)}function y_(x,w,A){var q=w.pendingProps,G=q.revealOrder,J=q.tail;if($n(x,w,q.children,A),q=Pr.current,(q&amp;2)!==0)q=q&amp;1|2,w.flags|=128;else{if(x!==null&amp;&amp;(x.flags&amp;128)!==0)e:for(x=w.child;x!==null;){if(x.tag===13)x.memoizedState!==null&amp;&amp;x_(x,A,w);else if(x.tag===19)x_(x,A,w);else if(x.child!==null){x.child.return=x,x=x.child;continue}if(x===w)break e;for(;x.sibling===null;){if(x.return===null||x.return===w)break e;x=x.return}x.sibling.return=x.return,x=x.sibling}q&amp;=1}if(br(Pr,q),(w.mode&amp;1)===0)w.memoizedState=null;else switch(G){case&quot;forwards&quot;:for(A=w.child,G=null;A!==null;)x=A.alternate,x!==null&amp;&amp;Gf(x)===null&amp;&amp;(G=A),A=A.sibling;A=G,A===null?(G=w.child,w.child=null):(G=A.sibling,A.sibling=null),_g(w,!1,G,A,J);break;case&quot;backwards&quot;:for(A=null,G=w.child,w.child=null;G!==null;){if(x=G.alternate,x!==null&amp;&amp;Gf(x)===null){w.child=G;break}x=G.sibling,G.sibling=A,A=G,G=x}_g(w,!0,A,null,J);break;case&quot;together&quot;:_g(w,!1,null,null,void 0);break;default:w.memoizedState=null}return w.child}function nh(x,w){(w.mode&amp;1)===0&amp;&amp;x!==null&amp;&amp;(x.alternate=null,w.alternate=null,w.flags|=2)}function Gs(x,w,A){if(x!==null&amp;&amp;(w.dependencies=x.dependencies),Ko|=w.lanes,(A&amp;w.childLanes)===0)return null;if(x!==null&amp;&amp;w.child!==x.child)throw Error(t(153));if(w.child!==null){for(x=w.child,A=Ya(x,x.pendingProps),w.child=A,A.return=w;x.sibling!==null;)x=x.sibling,A=A.sibling=Ya(x,x.pendingProps),A.return=w;A.sibling=null}return w.child}function LM(x,w,A){switch(w.tag){case 3:p_(w),Zl();break;case 5:Tw(w);break;case 1:ni(w.type)&amp;&amp;Bf(w);break;case 4:tg(w,w.stateNode.containerInfo);break;case 10:var q=w.type._context,G=w.memoizedProps.value;br(Hf,q._currentValue),q._currentValue=G;break;case 13:if(q=w.memoizedState,q!==null)return q.dehydrated!==null?(br(Pr,Pr.current&amp;1),w.flags|=128,null):(A&amp;w.child.childLanes)!==0?b_(x,w,A):(br(Pr,Pr.current&amp;1),x=Gs(x,w,A),x!==null?x.sibling:null);br(Pr,Pr.current&amp;1);break;case 19:if(q=(A&amp;w.childLanes)!==0,(x.flags&amp;128)!==0){if(q)return y_(x,w,A);w.flags|=128}if(G=w.memoizedState,G!==null&amp;&amp;(G.rendering=null,G.tail=null,G.lastEffect=null),br(Pr,Pr.current),q)break;return null;case 22:case 23:return w.lanes=0,f_(x,w,A)}return Gs(x,w,A)}var v_,jg,w_,__;v_=function(x,w){for(var A=w.child;A!==null;){if(A.tag===5||A.tag===6)x.appendChild(A.stateNode);else if(A.tag!==4&amp;&amp;A.child!==null){A.child.return=A,A=A.child;continue}if(A===w)break;for(;A.sibling===null;){if(A.return===null||A.return===w)return;A=A.return}A.sibling.return=A.return,A=A.sibling}},jg=function(){},w_=function(x,w,A,q){var G=x.memoizedProps;if(G!==q){x=w.stateNode,Ho(Ss.current);var J=null;switch(A){case&quot;input&quot;:G=te(x,G),q=te(x,q),J=[];break;case&quot;select&quot;:G=M({},G,{value:void 0}),q=M({},q,{value:void 0}),J=[];break;case&quot;textarea&quot;:G=xe(x,G),q=xe(x,q),J=[];break;default:typeof G.onClick!=&quot;function&quot;&amp;&amp;typeof q.onClick==&quot;function&quot;&amp;&amp;(x.onclick=Wl)}et(A,q);var ae;A=null;for(Oe in G)if(!q.hasOwnProperty(Oe)&amp;&amp;G.hasOwnProperty(Oe)&amp;&amp;G[Oe]!=null)if(Oe===&quot;style&quot;){var be=G[Oe];for(ae in be)be.hasOwnProperty(ae)&amp;&amp;(A||(A={}),A[ae]=&quot;&quot;)}else Oe!==&quot;dangerouslySetInnerHTML&quot;&amp;&amp;Oe!==&quot;children&quot;&amp;&amp;Oe!==&quot;suppressContentEditableWarning&quot;&amp;&amp;Oe!==&quot;suppressHydrationWarning&quot;&amp;&amp;Oe!==&quot;autoFocus&quot;&amp;&amp;(o.hasOwnProperty(Oe)?J||(J=[]):(J=J||[]).push(Oe,null));for(Oe in q){var ve=q[Oe];if(be=G?.[Oe],q.hasOwnProperty(Oe)&amp;&amp;ve!==be&amp;&amp;(ve!=null||be!=null))if(Oe===&quot;style&quot;)if(be){for(ae in be)!be.hasOwnProperty(ae)||ve&amp;&amp;ve.hasOwnProperty(ae)||(A||(A={}),A[ae]=&quot;&quot;);for(ae in ve)ve.hasOwnProperty(ae)&amp;&amp;be[ae]!==ve[ae]&amp;&amp;(A||(A={}),A[ae]=ve[ae])}else A||(J||(J=[]),J.push(Oe,A)),A=ve;else Oe===&quot;dangerouslySetInnerHTML&quot;?(ve=ve?ve.__html:void 0,be=be?be.__html:void 0,ve!=null&amp;&amp;be!==ve&amp;&amp;(J=J||[]).push(Oe,ve)):Oe===&quot;children&quot;?typeof ve!=&quot;string&quot;&amp;&amp;typeof ve!=&quot;number&quot;||(J=J||[]).push(Oe,&quot;&quot;+ve):Oe!==&quot;suppressContentEditableWarning&quot;&amp;&amp;Oe!==&quot;suppressHydrationWarning&quot;&amp;&amp;(o.hasOwnProperty(Oe)?(ve!=null&amp;&amp;Oe===&quot;onScroll&quot;&amp;&amp;fr(&quot;scroll&quot;,x),J||be===ve||(J=[])):(J=J||[]).push(Oe,ve))}A&amp;&amp;(J=J||[]).push(&quot;style&quot;,A);var Oe=J;(w.updateQueue=Oe)&amp;&amp;(w.flags|=4)}},__=function(x,w,A,q){A!==q&amp;&amp;(w.flags|=4)};function ju(x,w){if(!Nr)switch(x.tailMode){case&quot;hidden&quot;:w=x.tail;for(var A=null;w!==null;)w.alternate!==null&amp;&amp;(A=w),w=w.sibling;A===null?x.tail=null:A.sibling=null;break;case&quot;collapsed&quot;:A=x.tail;for(var q=null;A!==null;)A.alternate!==null&amp;&amp;(q=A),A=A.sibling;q===null?w||x.tail===null?x.tail=null:x.tail.sibling=null:q.sibling=null}}function In(x){var w=x.alternate!==null&amp;&amp;x.alternate.child===x.child,A=0,q=0;if(w)for(var G=x.child;G!==null;)A|=G.lanes|G.childLanes,q|=G.subtreeFlags&amp;14680064,q|=G.flags&amp;14680064,G.return=x,G=G.sibling;else for(G=x.child;G!==null;)A|=G.lanes|G.childLanes,q|=G.subtreeFlags,q|=G.flags,G.return=x,G=G.sibling;return x.subtreeFlags|=q,x.childLanes=A,w}function FM(x,w,A){var q=w.pendingProps;switch(H0(w),w.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return In(w),null;case 1:return ni(w.type)&amp;&amp;Ff(),In(w),null;case 3:return q=w.stateNode,tc(),wr(ri),wr(Pn),ig(),q.pendingContext&amp;&amp;(q.context=q.pendingContext,q.pendingContext=null),(x===null||x.child===null)&amp;&amp;(Vf(w)?w.flags|=4:x===null||x.memoizedState.isDehydrated&amp;&amp;(w.flags&amp;256)===0||(w.flags|=1024,rs!==null&amp;&amp;(Ig(rs),rs=null))),jg(x,w),In(w),null;case 5:rg(w);var G=Ho(xu.current);if(A=w.type,x!==null&amp;&amp;w.stateNode!=null)w_(x,w,A,q,G),x.ref!==w.ref&amp;&amp;(w.flags|=512,w.flags|=2097152);else{if(!q){if(w.stateNode===null)throw Error(t(166));return In(w),null}if(x=Ho(Ss.current),Vf(w)){q=w.stateNode,A=w.type;var J=w.memoizedProps;switch(q[Ai]=w,q[Bo]=J,x=(w.mode&amp;1)!==0,A){case&quot;dialog&quot;:fr(&quot;cancel&quot;,q),fr(&quot;close&quot;,q);break;case&quot;iframe&quot;:case&quot;object&quot;:case&quot;embed&quot;:fr(&quot;load&quot;,q);break;case&quot;video&quot;:case&quot;audio&quot;:for(G=0;G&lt;La.length;G++)fr(La[G],q);break;case&quot;source&quot;:fr(&quot;error&quot;,q);break;case&quot;img&quot;:case&quot;image&quot;:case&quot;link&quot;:fr(&quot;error&quot;,q),fr(&quot;load&quot;,q);break;case&quot;details&quot;:fr(&quot;toggle&quot;,q);break;case&quot;input&quot;:de(q,J),fr(&quot;invalid&quot;,q);break;case&quot;select&quot;:q._wrapperState={wasMultiple:!!J.multiple},fr(&quot;invalid&quot;,q);break;case&quot;textarea&quot;:pe(q,J),fr(&quot;invalid&quot;,q)}et(A,J),G=null;for(var ae in J)if(J.hasOwnProperty(ae)){var be=J[ae];ae===&quot;children&quot;?typeof be==&quot;string&quot;?q.textContent!==be&amp;&amp;(J.suppressHydrationWarning!==!0&amp;&amp;Hl(q.textContent,be,x),G=[&quot;children&quot;,be]):typeof be==&quot;number&quot;&amp;&amp;q.textContent!==&quot;&quot;+be&amp;&amp;(J.suppressHydrationWarning!==!0&amp;&amp;Hl(q.textContent,be,x),G=[&quot;children&quot;,&quot;&quot;+be]):o.hasOwnProperty(ae)&amp;&amp;be!=null&amp;&amp;ae===&quot;onScroll&quot;&amp;&amp;fr(&quot;scroll&quot;,q)}switch(A){case&quot;input&quot;:re(q),fe(q,J,!0);break;case&quot;textarea&quot;:re(q),Ce(q);break;case&quot;select&quot;:case&quot;option&quot;:break;default:typeof J.onClick==&quot;function&quot;&amp;&amp;(q.onclick=Wl)}q=G,w.updateQueue=q,q!==null&amp;&amp;(w.flags|=4)}else{ae=G.nodeType===9?G:G.ownerDocument,x===&quot;http://www.w3.org/1999/xhtml&quot;&amp;&amp;(x=Me(A)),x===&quot;http://www.w3.org/1999/xhtml&quot;?A===&quot;script&quot;?(x=ae.createElement(&quot;div&quot;),x.innerHTML=&quot;&lt;script&gt;&lt;\/script&gt;&quot;,x=x.removeChild(x.firstChild)):typeof q.is==&quot;string&quot;?x=ae.createElement(A,{is:q.is}):(x=ae.createElement(A),A===&quot;select&quot;&amp;&amp;(ae=x,q.multiple?ae.multiple=!0:q.size&amp;&amp;(ae.size=q.size))):x=ae.createElementNS(x,A),x[Ai]=w,x[Bo]=q,v_(x,w,!1,!1),w.stateNode=x;e:{switch(ae=Je(A,q),A){case&quot;dialog&quot;:fr(&quot;cancel&quot;,x),fr(&quot;close&quot;,x),G=q;break;case&quot;iframe&quot;:case&quot;object&quot;:case&quot;embed&quot;:fr(&quot;load&quot;,x),G=q;break;case&quot;video&quot;:case&quot;audio&quot;:for(G=0;G&lt;La.length;G++)fr(La[G],x);G=q;break;case&quot;source&quot;:fr(&quot;error&quot;,x),G=q;break;case&quot;img&quot;:case&quot;image&quot;:case&quot;link&quot;:fr(&quot;error&quot;,x),fr(&quot;load&quot;,x),G=q;break;case&quot;details&quot;:fr(&quot;toggle&quot;,x),G=q;break;case&quot;input&quot;:de(x,q),G=te(x,q),fr(&quot;invalid&quot;,x);break;case&quot;option&quot;:G=q;break;case&quot;select&quot;:x._wrapperState={wasMultiple:!!q.multiple},G=M({},q,{value:void 0}),fr(&quot;invalid&quot;,x);break;case&quot;textarea&quot;:pe(x,q),G=xe(x,q),fr(&quot;invalid&quot;,x);break;default:G=q}et(A,G),be=G;for(J in be)if(be.hasOwnProperty(J)){var ve=be[J];J===&quot;style&quot;?ze(x,ve):J===&quot;dangerouslySetInnerHTML&quot;?(ve=ve?ve.__html:void 0,ve!=null&amp;&amp;Qe(x,ve)):J===&quot;children&quot;?typeof ve==&quot;string&quot;?(A!==&quot;textarea&quot;||ve!==&quot;&quot;)&amp;&amp;Ve(x,ve):typeof ve==&quot;number&quot;&amp;&amp;Ve(x,&quot;&quot;+ve):J!==&quot;suppressContentEditableWarning&quot;&amp;&amp;J!==&quot;suppressHydrationWarning&quot;&amp;&amp;J!==&quot;autoFocus&quot;&amp;&amp;(o.hasOwnProperty(J)?ve!=null&amp;&amp;J===&quot;onScroll&quot;&amp;&amp;fr(&quot;scroll&quot;,x):ve!=null&amp;&amp;_(x,J,ve,ae))}switch(A){case&quot;input&quot;:re(x),fe(x,q,!1);break;case&quot;textarea&quot;:re(x),Ce(x);break;case&quot;option&quot;:q.value!=null&amp;&amp;x.setAttribute(&quot;value&quot;,&quot;&quot;+z(q.value));break;case&quot;select&quot;:x.multiple=!!q.multiple,J=q.value,J!=null?ge(x,!!q.multiple,J,!1):q.defaultValue!=null&amp;&amp;ge(x,!!q.multiple,q.defaultValue,!0);break;default:typeof G.onClick==&quot;function&quot;&amp;&amp;(x.onclick=Wl)}switch(A){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:q=!!q.autoFocus;break e;case&quot;img&quot;:q=!0;break e;default:q=!1}}q&amp;&amp;(w.flags|=4)}w.ref!==null&amp;&amp;(w.flags|=512,w.flags|=2097152)}return In(w),null;case 6:if(x&amp;&amp;w.stateNode!=null)__(x,w,x.memoizedProps,q);else{if(typeof q!=&quot;string&quot;&amp;&amp;w.stateNode===null)throw Error(t(166));if(A=Ho(xu.current),Ho(Ss.current),Vf(w)){if(q=w.stateNode,A=w.memoizedProps,q[Ai]=w,(J=q.nodeValue!==A)&amp;&amp;(x=mi,x!==null))switch(x.tag){case 3:Hl(q.nodeValue,A,(x.mode&amp;1)!==0);break;case 5:x.memoizedProps.suppressHydrationWarning!==!0&amp;&amp;Hl(q.nodeValue,A,(x.mode&amp;1)!==0)}J&amp;&amp;(w.flags|=4)}else q=(A.nodeType===9?A:A.ownerDocument).createTextNode(q),q[Ai]=w,w.stateNode=q}return In(w),null;case 13:if(wr(Pr),q=w.memoizedState,x===null||x.memoizedState!==null&amp;&amp;x.memoizedState.dehydrated!==null){if(Nr&amp;&amp;pi!==null&amp;&amp;(w.mode&amp;1)!==0&amp;&amp;(w.flags&amp;128)===0)kw(),Zl(),w.flags|=98560,J=!1;else if(J=Vf(w),q!==null&amp;&amp;q.dehydrated!==null){if(x===null){if(!J)throw Error(t(318));if(J=w.memoizedState,J=J!==null?J.dehydrated:null,!J)throw Error(t(317));J[Ai]=w}else Zl(),(w.flags&amp;128)===0&amp;&amp;(w.memoizedState=null),w.flags|=4;In(w),J=!1}else rs!==null&amp;&amp;(Ig(rs),rs=null),J=!0;if(!J)return w.flags&amp;65536?w:null}return(w.flags&amp;128)!==0?(w.lanes=A,w):(q=q!==null,q!==(x!==null&amp;&amp;x.memoizedState!==null)&amp;&amp;q&amp;&amp;(w.child.flags|=8192,(w.mode&amp;1)!==0&amp;&amp;(x===null||(Pr.current&amp;1)!==0?Jr===0&amp;&amp;(Jr=3):Lg())),w.updateQueue!==null&amp;&amp;(w.flags|=4),In(w),null);case 4:return tc(),jg(x,w),x===null&amp;&amp;Do(w.stateNode.containerInfo),In(w),null;case 10:return Z0(w.type._context),In(w),null;case 17:return ni(w.type)&amp;&amp;Ff(),In(w),null;case 19:if(wr(Pr),J=w.memoizedState,J===null)return In(w),null;if(q=(w.flags&amp;128)!==0,ae=J.rendering,ae===null)if(q)ju(J,!1);else{if(Jr!==0||x!==null&amp;&amp;(x.flags&amp;128)!==0)for(x=w.child;x!==null;){if(ae=Gf(x),ae!==null){for(w.flags|=128,ju(J,!1),q=ae.updateQueue,q!==null&amp;&amp;(w.updateQueue=q,w.flags|=4),w.subtreeFlags=0,q=A,A=w.child;A!==null;)J=A,x=q,J.flags&amp;=14680066,ae=J.alternate,ae===null?(J.childLanes=0,J.lanes=x,J.child=null,J.subtreeFlags=0,J.memoizedProps=null,J.memoizedState=null,J.updateQueue=null,J.dependencies=null,J.stateNode=null):(J.childLanes=ae.childLanes,J.lanes=ae.lanes,J.child=ae.child,J.subtreeFlags=0,J.deletions=null,J.memoizedProps=ae.memoizedProps,J.memoizedState=ae.memoizedState,J.updateQueue=ae.updateQueue,J.type=ae.type,x=ae.dependencies,J.dependencies=x===null?null:{lanes:x.lanes,firstContext:x.firstContext}),A=A.sibling;return br(Pr,Pr.current&amp;1|2),w.child}x=x.sibling}J.tail!==null&amp;&amp;je()&gt;sc&amp;&amp;(w.flags|=128,q=!0,ju(J,!1),w.lanes=4194304)}else{if(!q)if(x=Gf(ae),x!==null){if(w.flags|=128,q=!0,A=x.updateQueue,A!==null&amp;&amp;(w.updateQueue=A,w.flags|=4),ju(J,!0),J.tail===null&amp;&amp;J.tailMode===&quot;hidden&quot;&amp;&amp;!ae.alternate&amp;&amp;!Nr)return In(w),null}else 2*je()-J.renderingStartTime&gt;sc&amp;&amp;A!==1073741824&amp;&amp;(w.flags|=128,q=!0,ju(J,!1),w.lanes=4194304);J.isBackwards?(ae.sibling=w.child,w.child=ae):(A=J.last,A!==null?A.sibling=ae:w.child=ae,J.last=ae)}return J.tail!==null?(w=J.tail,J.rendering=w,J.tail=w.sibling,J.renderingStartTime=je(),w.sibling=null,A=Pr.current,br(Pr,q?A&amp;1|2:A&amp;1),w):(In(w),null);case 22:case 23:return Dg(),q=w.memoizedState!==null,x!==null&amp;&amp;x.memoizedState!==null!==q&amp;&amp;(w.flags|=8192),q&amp;&amp;(w.mode&amp;1)!==0?(gi&amp;1073741824)!==0&amp;&amp;(In(w),w.subtreeFlags&amp;6&amp;&amp;(w.flags|=8192)):In(w),null;case 24:return null;case 25:return null}throw Error(t(156,w.tag))}function BM(x,w){switch(H0(w),w.tag){case 1:return ni(w.type)&amp;&amp;Ff(),x=w.flags,x&amp;65536?(w.flags=x&amp;-65537|128,w):null;case 3:return tc(),wr(ri),wr(Pn),ig(),x=w.flags,(x&amp;65536)!==0&amp;&amp;(x&amp;128)===0?(w.flags=x&amp;-65537|128,w):null;case 5:return rg(w),null;case 13:if(wr(Pr),x=w.memoizedState,x!==null&amp;&amp;x.dehydrated!==null){if(w.alternate===null)throw Error(t(340));Zl()}return x=w.flags,x&amp;65536?(w.flags=x&amp;-65537|128,w):null;case 19:return wr(Pr),null;case 4:return tc(),null;case 10:return Z0(w.type._context),null;case 22:case 23:return Dg(),null;case 24:return null;default:return null}}var ih=!1,Rn=!1,zM=typeof WeakSet==&quot;function&quot;?WeakSet:Set,lt=null;function nc(x,w){var A=x.ref;if(A!==null)if(typeof A==&quot;function&quot;)try{A(null)}catch(q){Lr(x,w,q)}else A.current=null}function Sg(x,w,A){try{A()}catch(q){Lr(x,w,q)}}var j_=!1;function $M(x,w){if(uu=ko,x=_f(),$l(x)){if(&quot;selectionStart&quot;in x)var A={start:x.selectionStart,end:x.selectionEnd};else e:{A=(A=x.ownerDocument)&amp;&amp;A.defaultView||window;var q=A.getSelection&amp;&amp;A.getSelection();if(q&amp;&amp;q.rangeCount!==0){A=q.anchorNode;var G=q.anchorOffset,J=q.focusNode;q=q.focusOffset;try{A.nodeType,J.nodeType}catch{A=null;break e}var ae=0,be=-1,ve=-1,Oe=0,qe=0,We=x,$e=null;t:for(;;){for(var it;We!==A||G!==0&amp;&amp;We.nodeType!==3||(be=ae+G),We!==J||q!==0&amp;&amp;We.nodeType!==3||(ve=ae+q),We.nodeType===3&amp;&amp;(ae+=We.nodeValue.length),(it=We.firstChild)!==null;)$e=We,We=it;for(;;){if(We===x)break t;if($e===A&amp;&amp;++Oe===G&amp;&amp;(be=ae),$e===J&amp;&amp;++qe===q&amp;&amp;(ve=ae),(it=We.nextSibling)!==null)break;We=$e,$e=We.parentNode}We=it}A=be===-1||ve===-1?null:{start:be,end:ve}}else A=null}A=A||{start:0,end:0}}else A=null;for(du={focusedElem:x,selectionRange:A},ko=!1,lt=w;lt!==null;)if(w=lt,x=w.child,(w.subtreeFlags&amp;1028)!==0&amp;&amp;x!==null)x.return=w,lt=x;else for(;lt!==null;){w=lt;try{var ut=w.alternate;if((w.flags&amp;1024)!==0)switch(w.tag){case 0:case 11:case 15:break;case 1:if(ut!==null){var pt=ut.memoizedProps,Vr=ut.memoizedState,Ne=w.stateNode,_e=Ne.getSnapshotBeforeUpdate(w.elementType===w.type?pt:ns(w.type,pt),Vr);Ne.__reactInternalSnapshotBeforeUpdate=_e}break;case 3:var Ae=w.stateNode.containerInfo;Ae.nodeType===1?Ae.textContent=&quot;&quot;:Ae.nodeType===9&amp;&amp;Ae.documentElement&amp;&amp;Ae.removeChild(Ae.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(t(163))}}catch(Ye){Lr(w,w.return,Ye)}if(x=w.sibling,x!==null){x.return=w.return,lt=x;break}lt=w.return}return ut=j_,j_=!1,ut}function Su(x,w,A){var q=w.updateQueue;if(q=q!==null?q.lastEffect:null,q!==null){var G=q=q.next;do{if((G.tag&amp;x)===x){var J=G.destroy;G.destroy=void 0,J!==void 0&amp;&amp;Sg(w,A,J)}G=G.next}while(G!==q)}}function sh(x,w){if(w=w.updateQueue,w=w!==null?w.lastEffect:null,w!==null){var A=w=w.next;do{if((A.tag&amp;x)===x){var q=A.create;A.destroy=q()}A=A.next}while(A!==w)}}function kg(x){var w=x.ref;if(w!==null){var A=x.stateNode;x.tag,x=A,typeof w==&quot;function&quot;?w(x):w.current=x}}function S_(x){var w=x.alternate;w!==null&amp;&amp;(x.alternate=null,S_(w)),x.child=null,x.deletions=null,x.sibling=null,x.tag===5&amp;&amp;(w=x.stateNode,w!==null&amp;&amp;(delete w[Ai],delete w[Bo],delete w[Ee],delete w[rt],delete w[st])),x.stateNode=null,x.return=null,x.dependencies=null,x.memoizedProps=null,x.memoizedState=null,x.pendingProps=null,x.stateNode=null,x.updateQueue=null}function k_(x){return x.tag===5||x.tag===3||x.tag===4}function N_(x){e:for(;;){for(;x.sibling===null;){if(x.return===null||k_(x.return))return null;x=x.return}for(x.sibling.return=x.return,x=x.sibling;x.tag!==5&amp;&amp;x.tag!==6&amp;&amp;x.tag!==18;){if(x.flags&amp;2||x.child===null||x.tag===4)continue e;x.child.return=x,x=x.child}if(!(x.flags&amp;2))return x.stateNode}}function Ng(x,w,A){var q=x.tag;if(q===5||q===6)x=x.stateNode,w?A.nodeType===8?A.parentNode.insertBefore(x,w):A.insertBefore(x,w):(A.nodeType===8?(w=A.parentNode,w.insertBefore(x,A)):(w=A,w.appendChild(x)),A=A._reactRootContainer,A!=null||w.onclick!==null||(w.onclick=Wl));else if(q!==4&amp;&amp;(x=x.child,x!==null))for(Ng(x,w,A),x=x.sibling;x!==null;)Ng(x,w,A),x=x.sibling}function Cg(x,w,A){var q=x.tag;if(q===5||q===6)x=x.stateNode,w?A.insertBefore(x,w):A.appendChild(x);else if(q!==4&amp;&amp;(x=x.child,x!==null))for(Cg(x,w,A),x=x.sibling;x!==null;)Cg(x,w,A),x=x.sibling}var _n=null,is=!1;function Ha(x,w,A){for(A=A.child;A!==null;)C_(x,w,A),A=A.sibling}function C_(x,w,A){if(Et&amp;&amp;typeof Et.onCommitFiberUnmount==&quot;function&quot;)try{Et.onCommitFiberUnmount(_t,A)}catch{}switch(A.tag){case 5:Rn||nc(A,w);case 6:var q=_n,G=is;_n=null,Ha(x,w,A),_n=q,is=G,_n!==null&amp;&amp;(is?(x=_n,A=A.stateNode,x.nodeType===8?x.parentNode.removeChild(A):x.removeChild(A)):_n.removeChild(A.stateNode));break;case 18:_n!==null&amp;&amp;(is?(x=_n,A=A.stateNode,x.nodeType===8?Fo(x.parentNode,A):x.nodeType===1&amp;&amp;Fo(x,A),es(x)):Fo(_n,A.stateNode));break;case 4:q=_n,G=is,_n=A.stateNode.containerInfo,is=!0,Ha(x,w,A),_n=q,is=G;break;case 0:case 11:case 14:case 15:if(!Rn&amp;&amp;(q=A.updateQueue,q!==null&amp;&amp;(q=q.lastEffect,q!==null))){G=q=q.next;do{var J=G,ae=J.destroy;J=J.tag,ae!==void 0&amp;&amp;((J&amp;2)!==0||(J&amp;4)!==0)&amp;&amp;Sg(A,w,ae),G=G.next}while(G!==q)}Ha(x,w,A);break;case 1:if(!Rn&amp;&amp;(nc(A,w),q=A.stateNode,typeof q.componentWillUnmount==&quot;function&quot;))try{q.props=A.memoizedProps,q.state=A.memoizedState,q.componentWillUnmount()}catch(be){Lr(A,w,be)}Ha(x,w,A);break;case 21:Ha(x,w,A);break;case 22:A.mode&amp;1?(Rn=(q=Rn)||A.memoizedState!==null,Ha(x,w,A),Rn=q):Ha(x,w,A);break;default:Ha(x,w,A)}}function E_(x){var w=x.updateQueue;if(w!==null){x.updateQueue=null;var A=x.stateNode;A===null&amp;&amp;(A=x.stateNode=new zM),w.forEach(function(q){var G=YM.bind(null,x,q);A.has(q)||(A.add(q),q.then(G,G))})}}function ss(x,w){var A=w.deletions;if(A!==null)for(var q=0;q&lt;A.length;q++){var G=A[q];try{var J=x,ae=w,be=ae;e:for(;be!==null;){switch(be.tag){case 5:_n=be.stateNode,is=!1;break e;case 3:_n=be.stateNode.containerInfo,is=!0;break e;case 4:_n=be.stateNode.containerInfo,is=!0;break e}be=be.return}if(_n===null)throw Error(t(160));C_(J,ae,G),_n=null,is=!1;var ve=G.alternate;ve!==null&amp;&amp;(ve.return=null),G.return=null}catch(Oe){Lr(G,w,Oe)}}if(w.subtreeFlags&amp;12854)for(w=w.child;w!==null;)A_(w,x),w=w.sibling}function A_(x,w){var A=x.alternate,q=x.flags;switch(x.tag){case 0:case 11:case 14:case 15:if(ss(w,x),Ns(x),q&amp;4){try{Su(3,x,x.return),sh(3,x)}catch(pt){Lr(x,x.return,pt)}try{Su(5,x,x.return)}catch(pt){Lr(x,x.return,pt)}}break;case 1:ss(w,x),Ns(x),q&amp;512&amp;&amp;A!==null&amp;&amp;nc(A,A.return);break;case 5:if(ss(w,x),Ns(x),q&amp;512&amp;&amp;A!==null&amp;&amp;nc(A,A.return),x.flags&amp;32){var G=x.stateNode;try{Ve(G,&quot;&quot;)}catch(pt){Lr(x,x.return,pt)}}if(q&amp;4&amp;&amp;(G=x.stateNode,G!=null)){var J=x.memoizedProps,ae=A!==null?A.memoizedProps:J,be=x.type,ve=x.updateQueue;if(x.updateQueue=null,ve!==null)try{be===&quot;input&quot;&amp;&amp;J.type===&quot;radio&quot;&amp;&amp;J.name!=null&amp;&amp;le(G,J),Je(be,ae);var Oe=Je(be,J);for(ae=0;ae&lt;ve.length;ae+=2){var qe=ve[ae],We=ve[ae+1];qe===&quot;style&quot;?ze(G,We):qe===&quot;dangerouslySetInnerHTML&quot;?Qe(G,We):qe===&quot;children&quot;?Ve(G,We):_(G,qe,We,Oe)}switch(be){case&quot;input&quot;:se(G,J);break;case&quot;textarea&quot;:ce(G,J);break;case&quot;select&quot;:var $e=G._wrapperState.wasMultiple;G._wrapperState.wasMultiple=!!J.multiple;var it=J.value;it!=null?ge(G,!!J.multiple,it,!1):$e!==!!J.multiple&amp;&amp;(J.defaultValue!=null?ge(G,!!J.multiple,J.defaultValue,!0):ge(G,!!J.multiple,J.multiple?[]:&quot;&quot;,!1))}G[Bo]=J}catch(pt){Lr(x,x.return,pt)}}break;case 6:if(ss(w,x),Ns(x),q&amp;4){if(x.stateNode===null)throw Error(t(162));G=x.stateNode,J=x.memoizedProps;try{G.nodeValue=J}catch(pt){Lr(x,x.return,pt)}}break;case 3:if(ss(w,x),Ns(x),q&amp;4&amp;&amp;A!==null&amp;&amp;A.memoizedState.isDehydrated)try{es(w.containerInfo)}catch(pt){Lr(x,x.return,pt)}break;case 4:ss(w,x),Ns(x);break;case 13:ss(w,x),Ns(x),G=x.child,G.flags&amp;8192&amp;&amp;(J=G.memoizedState!==null,G.stateNode.isHidden=J,!J||G.alternate!==null&amp;&amp;G.alternate.memoizedState!==null||(Mg=je())),q&amp;4&amp;&amp;E_(x);break;case 22:if(qe=A!==null&amp;&amp;A.memoizedState!==null,x.mode&amp;1?(Rn=(Oe=Rn)||qe,ss(w,x),Rn=Oe):ss(w,x),Ns(x),q&amp;8192){if(Oe=x.memoizedState!==null,(x.stateNode.isHidden=Oe)&amp;&amp;!qe&amp;&amp;(x.mode&amp;1)!==0)for(lt=x,qe=x.child;qe!==null;){for(We=lt=qe;lt!==null;){switch($e=lt,it=$e.child,$e.tag){case 0:case 11:case 14:case 15:Su(4,$e,$e.return);break;case 1:nc($e,$e.return);var ut=$e.stateNode;if(typeof ut.componentWillUnmount==&quot;function&quot;){q=$e,A=$e.return;try{w=q,ut.props=w.memoizedProps,ut.state=w.memoizedState,ut.componentWillUnmount()}catch(pt){Lr(q,A,pt)}}break;case 5:nc($e,$e.return);break;case 22:if($e.memoizedState!==null){P_(We);continue}}it!==null?(it.return=$e,lt=it):P_(We)}qe=qe.sibling}e:for(qe=null,We=x;;){if(We.tag===5){if(qe===null){qe=We;try{G=We.stateNode,Oe?(J=G.style,typeof J.setProperty==&quot;function&quot;?J.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;):J.display=&quot;none&quot;):(be=We.stateNode,ve=We.memoizedProps.style,ae=ve!=null&amp;&amp;ve.hasOwnProperty(&quot;display&quot;)?ve.display:null,be.style.display=He(&quot;display&quot;,ae))}catch(pt){Lr(x,x.return,pt)}}}else if(We.tag===6){if(qe===null)try{We.stateNode.nodeValue=Oe?&quot;&quot;:We.memoizedProps}catch(pt){Lr(x,x.return,pt)}}else if((We.tag!==22&amp;&amp;We.tag!==23||We.memoizedState===null||We===x)&amp;&amp;We.child!==null){We.child.return=We,We=We.child;continue}if(We===x)break e;for(;We.sibling===null;){if(We.return===null||We.return===x)break e;qe===We&amp;&amp;(qe=null),We=We.return}qe===We&amp;&amp;(qe=null),We.sibling.return=We.return,We=We.sibling}}break;case 19:ss(w,x),Ns(x),q&amp;4&amp;&amp;E_(x);break;case 21:break;default:ss(w,x),Ns(x)}}function Ns(x){var w=x.flags;if(w&amp;2){try{e:{for(var A=x.return;A!==null;){if(k_(A)){var q=A;break e}A=A.return}throw Error(t(160))}switch(q.tag){case 5:var G=q.stateNode;q.flags&amp;32&amp;&amp;(Ve(G,&quot;&quot;),q.flags&amp;=-33);var J=N_(x);Cg(x,J,G);break;case 3:case 4:var ae=q.stateNode.containerInfo,be=N_(x);Ng(x,be,ae);break;default:throw Error(t(161))}}catch(ve){Lr(x,x.return,ve)}x.flags&amp;=-3}w&amp;4096&amp;&amp;(x.flags&amp;=-4097)}function UM(x,w,A){lt=x,M_(x)}function M_(x,w,A){for(var q=(x.mode&amp;1)!==0;lt!==null;){var G=lt,J=G.child;if(G.tag===22&amp;&amp;q){var ae=G.memoizedState!==null||ih;if(!ae){var be=G.alternate,ve=be!==null&amp;&amp;be.memoizedState!==null||Rn;be=ih;var Oe=Rn;if(ih=ae,(Rn=ve)&amp;&amp;!Oe)for(lt=G;lt!==null;)ae=lt,ve=ae.child,ae.tag===22&amp;&amp;ae.memoizedState!==null?T_(G):ve!==null?(ve.return=ae,lt=ve):T_(G);for(;J!==null;)lt=J,M_(J),J=J.sibling;lt=G,ih=be,Rn=Oe}O_(x)}else(G.subtreeFlags&amp;8772)!==0&amp;&amp;J!==null?(J.return=G,lt=J):O_(x)}}function O_(x){for(;lt!==null;){var w=lt;if((w.flags&amp;8772)!==0){var A=w.alternate;try{if((w.flags&amp;8772)!==0)switch(w.tag){case 0:case 11:case 15:Rn||sh(5,w);break;case 1:var q=w.stateNode;if(w.flags&amp;4&amp;&amp;!Rn)if(A===null)q.componentDidMount();else{var G=w.elementType===w.type?A.memoizedProps:ns(w.type,A.memoizedProps);q.componentDidUpdate(G,A.memoizedState,q.__reactInternalSnapshotBeforeUpdate)}var J=w.updateQueue;J!==null&amp;&amp;Pw(w,J,q);break;case 3:var ae=w.updateQueue;if(ae!==null){if(A=null,w.child!==null)switch(w.child.tag){case 5:A=w.child.stateNode;break;case 1:A=w.child.stateNode}Pw(w,ae,A)}break;case 5:var be=w.stateNode;if(A===null&amp;&amp;w.flags&amp;4){A=be;var ve=w.memoizedProps;switch(w.type){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:ve.autoFocus&amp;&amp;A.focus();break;case&quot;img&quot;:ve.src&amp;&amp;(A.src=ve.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(w.memoizedState===null){var Oe=w.alternate;if(Oe!==null){var qe=Oe.memoizedState;if(qe!==null){var We=qe.dehydrated;We!==null&amp;&amp;es(We)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(t(163))}Rn||w.flags&amp;512&amp;&amp;kg(w)}catch($e){Lr(w,w.return,$e)}}if(w===x){lt=null;break}if(A=w.sibling,A!==null){A.return=w.return,lt=A;break}lt=w.return}}function P_(x){for(;lt!==null;){var w=lt;if(w===x){lt=null;break}var A=w.sibling;if(A!==null){A.return=w.return,lt=A;break}lt=w.return}}function T_(x){for(;lt!==null;){var w=lt;try{switch(w.tag){case 0:case 11:case 15:var A=w.return;try{sh(4,w)}catch(ve){Lr(w,A,ve)}break;case 1:var q=w.stateNode;if(typeof q.componentDidMount==&quot;function&quot;){var G=w.return;try{q.componentDidMount()}catch(ve){Lr(w,G,ve)}}var J=w.return;try{kg(w)}catch(ve){Lr(w,J,ve)}break;case 5:var ae=w.return;try{kg(w)}catch(ve){Lr(w,ae,ve)}}}catch(ve){Lr(w,w.return,ve)}if(w===x){lt=null;break}var be=w.sibling;if(be!==null){be.return=w.return,lt=be;break}lt=w.return}}var VM=Math.ceil,ah=C.ReactCurrentDispatcher,Eg=C.ReactCurrentOwner,Ii=C.ReactCurrentBatchConfig,tr=0,hn=null,Wr=null,jn=0,gi=0,ic=za(0),Jr=0,ku=null,Ko=0,oh=0,Ag=0,Nu=null,si=null,Mg=0,sc=1/0,Ys=null,lh=!1,Og=null,Wa=null,ch=!1,Ka=null,uh=0,Cu=0,Pg=null,dh=-1,fh=0;function Un(){return(tr&amp;6)!==0?je():dh!==-1?dh:dh=je()}function Xa(x){return(x.mode&amp;1)===0?1:(tr&amp;2)!==0&amp;&amp;jn!==0?jn&amp;-jn:NM.transition!==null?(fh===0&amp;&amp;(fh=Wt()),fh):(x=Lt,x!==0||(x=window.event,x=x===void 0?16:Kc(x.type)),x)}function as(x,w,A,q){if(50&lt;Cu)throw Cu=0,Pg=null,Error(t(185));ln(x,A,q),((tr&amp;2)===0||x!==hn)&amp;&amp;(x===hn&amp;&amp;((tr&amp;2)===0&amp;&amp;(oh|=A),Jr===4&amp;&amp;Ga(x,jn)),ai(x,q),A===1&amp;&amp;tr===0&amp;&amp;(w.mode&amp;1)===0&amp;&amp;(sc=je()+500,zf&amp;&amp;Ua()))}function ai(x,w){var A=x.callbackNode;Zi(x,w);var q=Qn(x,x===hn?jn:0);if(q===0)A!==null&amp;&amp;or(A),x.callbackNode=null,x.callbackPriority=0;else if(w=q&amp;-q,x.callbackPriority!==w){if(A!=null&amp;&amp;or(A),w===1)x.tag===0?kM(R_.bind(null,x)):vw(R_.bind(null,x)),mu(function(){(tr&amp;6)===0&amp;&amp;Ua()}),A=null;else{switch(zn(q)){case 1:A=Be;break;case 4:A=we;break;case 16:A=De;break;case 536870912:A=Nt;break;default:A=De}A=V_(A,I_.bind(null,x))}x.callbackPriority=w,x.callbackNode=A}}function I_(x,w){if(dh=-1,fh=0,(tr&amp;6)!==0)throw Error(t(327));var A=x.callbackNode;if(ac()&amp;&amp;x.callbackNode!==A)return null;var q=Qn(x,x===hn?jn:0);if(q===0)return null;if((q&amp;30)!==0||(q&amp;x.expiredLanes)!==0||w)w=hh(x,q);else{w=q;var G=tr;tr|=2;var J=L_();(hn!==x||jn!==w)&amp;&amp;(Ys=null,sc=je()+500,Go(x,w));do try{WM();break}catch(be){D_(x,be)}while(!0);Y0(),ah.current=J,tr=G,Wr!==null?w=0:(hn=null,jn=0,w=Jr)}if(w!==0){if(w===2&amp;&amp;(G=fi(x),G!==0&amp;&amp;(q=G,w=Tg(x,G))),w===1)throw A=ku,Go(x,0),Ga(x,q),ai(x,je()),A;if(w===6)Ga(x,q);else{if(G=x.current.alternate,(q&amp;30)===0&amp;&amp;!qM(G)&amp;&amp;(w=hh(x,q),w===2&amp;&amp;(J=fi(x),J!==0&amp;&amp;(q=J,w=Tg(x,J))),w===1))throw A=ku,Go(x,0),Ga(x,q),ai(x,je()),A;switch(x.finishedWork=G,x.finishedLanes=q,w){case 0:case 1:throw Error(t(345));case 2:Yo(x,si,Ys);break;case 3:if(Ga(x,q),(q&amp;130023424)===q&amp;&amp;(w=Mg+500-je(),10&lt;w)){if(Qn(x,0)!==0)break;if(G=x.suspendedLanes,(G&amp;q)!==q){Un(),x.pingedLanes|=x.suspendedLanes&amp;G;break}x.timeoutHandle=hu(Yo.bind(null,x,si,Ys),w);break}Yo(x,si,Ys);break;case 4:if(Ga(x,q),(q&amp;4194240)===q)break;for(w=x.eventTimes,G=-1;0&lt;q;){var ae=31-Bt(q);J=1&lt;&lt;ae,ae=w[ae],ae&gt;G&amp;&amp;(G=ae),q&amp;=~J}if(q=G,q=je()-q,q=(120&gt;q?120:480&gt;q?480:1080&gt;q?1080:1920&gt;q?1920:3e3&gt;q?3e3:4320&gt;q?4320:1960*VM(q/1960))-q,10&lt;q){x.timeoutHandle=hu(Yo.bind(null,x,si,Ys),q);break}Yo(x,si,Ys);break;case 5:Yo(x,si,Ys);break;default:throw Error(t(329))}}}return ai(x,je()),x.callbackNode===A?I_.bind(null,x):null}function Tg(x,w){var A=Nu;return x.current.memoizedState.isDehydrated&amp;&amp;(Go(x,w).flags|=256),x=hh(x,w),x!==2&amp;&amp;(w=si,si=A,w!==null&amp;&amp;Ig(w)),x}function Ig(x){si===null?si=x:si.push.apply(si,x)}function qM(x){for(var w=x;;){if(w.flags&amp;16384){var A=w.updateQueue;if(A!==null&amp;&amp;(A=A.stores,A!==null))for(var q=0;q&lt;A.length;q++){var G=A[q],J=G.getSnapshot;G=G.value;try{if(!ti(J(),G))return!1}catch{return!1}}}if(A=w.child,w.subtreeFlags&amp;16384&amp;&amp;A!==null)A.return=w,w=A;else{if(w===x)break;for(;w.sibling===null;){if(w.return===null||w.return===x)return!0;w=w.return}w.sibling.return=w.return,w=w.sibling}}return!0}function Ga(x,w){for(w&amp;=~Ag,w&amp;=~oh,x.suspendedLanes|=w,x.pingedLanes&amp;=~w,x=x.expirationTimes;0&lt;w;){var A=31-Bt(w),q=1&lt;&lt;A;x[A]=-1,w&amp;=~q}}function R_(x){if((tr&amp;6)!==0)throw Error(t(327));ac();var w=Qn(x,0);if((w&amp;1)===0)return ai(x,je()),null;var A=hh(x,w);if(x.tag!==0&amp;&amp;A===2){var q=fi(x);q!==0&amp;&amp;(w=q,A=Tg(x,q))}if(A===1)throw A=ku,Go(x,0),Ga(x,w),ai(x,je()),A;if(A===6)throw Error(t(345));return x.finishedWork=x.current.alternate,x.finishedLanes=w,Yo(x,si,Ys),ai(x,je()),null}function Rg(x,w){var A=tr;tr|=1;try{return x(w)}finally{tr=A,tr===0&amp;&amp;(sc=je()+500,zf&amp;&amp;Ua())}}function Xo(x){Ka!==null&amp;&amp;Ka.tag===0&amp;&amp;(tr&amp;6)===0&amp;&amp;ac();var w=tr;tr|=1;var A=Ii.transition,q=Lt;try{if(Ii.transition=null,Lt=1,x)return x()}finally{Lt=q,Ii.transition=A,tr=w,(tr&amp;6)===0&amp;&amp;Ua()}}function Dg(){gi=ic.current,wr(ic)}function Go(x,w){x.finishedWork=null,x.finishedLanes=0;var A=x.timeoutHandle;if(A!==-1&amp;&amp;(x.timeoutHandle=-1,$0(A)),Wr!==null)for(A=Wr.return;A!==null;){var q=A;switch(H0(q),q.tag){case 1:q=q.type.childContextTypes,q!=null&amp;&amp;Ff();break;case 3:tc(),wr(ri),wr(Pn),ig();break;case 5:rg(q);break;case 4:tc();break;case 13:wr(Pr);break;case 19:wr(Pr);break;case 10:Z0(q.type._context);break;case 22:case 23:Dg()}A=A.return}if(hn=x,Wr=x=Ya(x.current,null),jn=gi=w,Jr=0,ku=null,Ag=oh=Ko=0,si=Nu=null,qo!==null){for(w=0;w&lt;qo.length;w++)if(A=qo[w],q=A.interleaved,q!==null){A.interleaved=null;var G=q.next,J=A.pending;if(J!==null){var ae=J.next;J.next=G,q.next=ae}A.pending=q}qo=null}return x}function D_(x,w){do{var A=Wr;try{if(Y0(),Yf.current=eh,Zf){for(var q=Tr.memoizedState;q!==null;){var G=q.queue;G!==null&amp;&amp;(G.pending=null),q=q.next}Zf=!1}if(Wo=0,fn=Qr=Tr=null,yu=!1,vu=0,Eg.current=null,A===null||A.return===null){Jr=1,ku=w,Wr=null;break}e:{var J=x,ae=A.return,be=A,ve=w;if(w=jn,be.flags|=32768,ve!==null&amp;&amp;typeof ve==&quot;object&quot;&amp;&amp;typeof ve.then==&quot;function&quot;){var Oe=ve,qe=be,We=qe.tag;if((qe.mode&amp;1)===0&amp;&amp;(We===0||We===11||We===15)){var $e=qe.alternate;$e?(qe.updateQueue=$e.updateQueue,qe.memoizedState=$e.memoizedState,qe.lanes=$e.lanes):(qe.updateQueue=null,qe.memoizedState=null)}var it=o_(ae);if(it!==null){it.flags&amp;=-257,l_(it,ae,be,J,w),it.mode&amp;1&amp;&amp;a_(J,Oe,w),w=it,ve=Oe;var ut=w.updateQueue;if(ut===null){var pt=new Set;pt.add(ve),w.updateQueue=pt}else ut.add(ve);break e}else{if((w&amp;1)===0){a_(J,Oe,w),Lg();break e}ve=Error(t(426))}}else if(Nr&amp;&amp;be.mode&amp;1){var Vr=o_(ae);if(Vr!==null){(Vr.flags&amp;65536)===0&amp;&amp;(Vr.flags|=256),l_(Vr,ae,be,J,w),X0(rc(ve,be));break e}}J=ve=rc(ve,be),Jr!==4&amp;&amp;(Jr=2),Nu===null?Nu=[J]:Nu.push(J),J=ae;do{switch(J.tag){case 3:J.flags|=65536,w&amp;=-w,J.lanes|=w;var Ne=i_(J,ve,w);Ow(J,Ne);break e;case 1:be=ve;var _e=J.type,Ae=J.stateNode;if((J.flags&amp;128)===0&amp;&amp;(typeof _e.getDerivedStateFromError==&quot;function&quot;||Ae!==null&amp;&amp;typeof Ae.componentDidCatch==&quot;function&quot;&amp;&amp;(Wa===null||!Wa.has(Ae)))){J.flags|=65536,w&amp;=-w,J.lanes|=w;var Ye=s_(J,be,w);Ow(J,Ye);break e}}J=J.return}while(J!==null)}B_(A)}catch(bt){w=bt,Wr===A&amp;&amp;A!==null&amp;&amp;(Wr=A=A.return);continue}break}while(!0)}function L_(){var x=ah.current;return ah.current=eh,x===null?eh:x}function Lg(){(Jr===0||Jr===3||Jr===2)&amp;&amp;(Jr=4),hn===null||(Ko&amp;268435455)===0&amp;&amp;(oh&amp;268435455)===0||Ga(hn,jn)}function hh(x,w){var A=tr;tr|=2;var q=L_();(hn!==x||jn!==w)&amp;&amp;(Ys=null,Go(x,w));do try{HM();break}catch(G){D_(x,G)}while(!0);if(Y0(),tr=A,ah.current=q,Wr!==null)throw Error(t(261));return hn=null,jn=0,Jr}function HM(){for(;Wr!==null;)F_(Wr)}function WM(){for(;Wr!==null&amp;&amp;!$r();)F_(Wr)}function F_(x){var w=U_(x.alternate,x,gi);x.memoizedProps=x.pendingProps,w===null?B_(x):Wr=w,Eg.current=null}function B_(x){var w=x;do{var A=w.alternate;if(x=w.return,(w.flags&amp;32768)===0){if(A=FM(A,w,gi),A!==null){Wr=A;return}}else{if(A=BM(A,w),A!==null){A.flags&amp;=32767,Wr=A;return}if(x!==null)x.flags|=32768,x.subtreeFlags=0,x.deletions=null;else{Jr=6,Wr=null;return}}if(w=w.sibling,w!==null){Wr=w;return}Wr=w=x}while(w!==null);Jr===0&amp;&amp;(Jr=5)}function Yo(x,w,A){var q=Lt,G=Ii.transition;try{Ii.transition=null,Lt=1,KM(x,w,A,q)}finally{Ii.transition=G,Lt=q}return null}function KM(x,w,A,q){do ac();while(Ka!==null);if((tr&amp;6)!==0)throw Error(t(327));A=x.finishedWork;var G=x.finishedLanes;if(A===null)return null;if(x.finishedWork=null,x.finishedLanes=0,A===x.current)throw Error(t(177));x.callbackNode=null,x.callbackPriority=0;var J=A.lanes|A.childLanes;if(Qi(x,J),x===hn&amp;&amp;(Wr=hn=null,jn=0),(A.subtreeFlags&amp;2064)===0&amp;&amp;(A.flags&amp;2064)===0||ch||(ch=!0,V_(De,function(){return ac(),null})),J=(A.flags&amp;15990)!==0,(A.subtreeFlags&amp;15990)!==0||J){J=Ii.transition,Ii.transition=null;var ae=Lt;Lt=1;var be=tr;tr|=4,Eg.current=null,$M(x,A),A_(A,x),R0(du),ko=!!uu,du=uu=null,x.current=A,UM(A),me(),tr=be,Lt=ae,Ii.transition=J}else x.current=A;if(ch&amp;&amp;(ch=!1,Ka=x,uh=G),J=x.pendingLanes,J===0&amp;&amp;(Wa=null),mt(A.stateNode),ai(x,je()),w!==null)for(q=x.onRecoverableError,A=0;A&lt;w.length;A++)G=w[A],q(G.value,{componentStack:G.stack,digest:G.digest});if(lh)throw lh=!1,x=Og,Og=null,x;return(uh&amp;1)!==0&amp;&amp;x.tag!==0&amp;&amp;ac(),J=x.pendingLanes,(J&amp;1)!==0?x===Pg?Cu++:(Cu=0,Pg=x):Cu=0,Ua(),null}function ac(){if(Ka!==null){var x=zn(uh),w=Ii.transition,A=Lt;try{if(Ii.transition=null,Lt=16&gt;x?16:x,Ka===null)var q=!1;else{if(x=Ka,Ka=null,uh=0,(tr&amp;6)!==0)throw Error(t(331));var G=tr;for(tr|=4,lt=x.current;lt!==null;){var J=lt,ae=J.child;if((lt.flags&amp;16)!==0){var be=J.deletions;if(be!==null){for(var ve=0;ve&lt;be.length;ve++){var Oe=be[ve];for(lt=Oe;lt!==null;){var qe=lt;switch(qe.tag){case 0:case 11:case 15:Su(8,qe,J)}var We=qe.child;if(We!==null)We.return=qe,lt=We;else for(;lt!==null;){qe=lt;var $e=qe.sibling,it=qe.return;if(S_(qe),qe===Oe){lt=null;break}if($e!==null){$e.return=it,lt=$e;break}lt=it}}}var ut=J.alternate;if(ut!==null){var pt=ut.child;if(pt!==null){ut.child=null;do{var Vr=pt.sibling;pt.sibling=null,pt=Vr}while(pt!==null)}}lt=J}}if((J.subtreeFlags&amp;2064)!==0&amp;&amp;ae!==null)ae.return=J,lt=ae;else e:for(;lt!==null;){if(J=lt,(J.flags&amp;2048)!==0)switch(J.tag){case 0:case 11:case 15:Su(9,J,J.return)}var Ne=J.sibling;if(Ne!==null){Ne.return=J.return,lt=Ne;break e}lt=J.return}}var _e=x.current;for(lt=_e;lt!==null;){ae=lt;var Ae=ae.child;if((ae.subtreeFlags&amp;2064)!==0&amp;&amp;Ae!==null)Ae.return=ae,lt=Ae;else e:for(ae=_e;lt!==null;){if(be=lt,(be.flags&amp;2048)!==0)try{switch(be.tag){case 0:case 11:case 15:sh(9,be)}}catch(bt){Lr(be,be.return,bt)}if(be===ae){lt=null;break e}var Ye=be.sibling;if(Ye!==null){Ye.return=be.return,lt=Ye;break e}lt=be.return}}if(tr=G,Ua(),Et&amp;&amp;typeof Et.onPostCommitFiberRoot==&quot;function&quot;)try{Et.onPostCommitFiberRoot(_t,x)}catch{}q=!0}return q}finally{Lt=A,Ii.transition=w}}return!1}function z_(x,w,A){w=rc(A,w),w=i_(x,w,1),x=qa(x,w,1),w=Un(),x!==null&amp;&amp;(ln(x,1,w),ai(x,w))}function Lr(x,w,A){if(x.tag===3)z_(x,x,A);else for(;w!==null;){if(w.tag===3){z_(w,x,A);break}else if(w.tag===1){var q=w.stateNode;if(typeof w.type.getDerivedStateFromError==&quot;function&quot;||typeof q.componentDidCatch==&quot;function&quot;&amp;&amp;(Wa===null||!Wa.has(q))){x=rc(A,x),x=s_(w,x,1),w=qa(w,x,1),x=Un(),w!==null&amp;&amp;(ln(w,1,x),ai(w,x));break}}w=w.return}}function XM(x,w,A){var q=x.pingCache;q!==null&amp;&amp;q.delete(w),w=Un(),x.pingedLanes|=x.suspendedLanes&amp;A,hn===x&amp;&amp;(jn&amp;A)===A&amp;&amp;(Jr===4||Jr===3&amp;&amp;(jn&amp;130023424)===jn&amp;&amp;500&gt;je()-Mg?Go(x,0):Ag|=A),ai(x,w)}function $_(x,w){w===0&amp;&amp;((x.mode&amp;1)===0?w=1:(w=Sr,Sr&lt;&lt;=1,(Sr&amp;130023424)===0&amp;&amp;(Sr=4194304)));var A=Un();x=Ks(x,w),x!==null&amp;&amp;(ln(x,w,A),ai(x,A))}function GM(x){var w=x.memoizedState,A=0;w!==null&amp;&amp;(A=w.retryLane),$_(x,A)}function YM(x,w){var A=0;switch(x.tag){case 13:var q=x.stateNode,G=x.memoizedState;G!==null&amp;&amp;(A=G.retryLane);break;case 19:q=x.stateNode;break;default:throw Error(t(314))}q!==null&amp;&amp;q.delete(w),$_(x,A)}var U_;U_=function(x,w,A){if(x!==null)if(x.memoizedProps!==w.pendingProps||ri.current)ii=!0;else{if((x.lanes&amp;A)===0&amp;&amp;(w.flags&amp;128)===0)return ii=!1,LM(x,w,A);ii=(x.flags&amp;131072)!==0}else ii=!1,Nr&amp;&amp;(w.flags&amp;1048576)!==0&amp;&amp;ww(w,Uf,w.index);switch(w.lanes=0,w.tag){case 2:var q=w.type;nh(x,w),x=w.pendingProps;var G=Xl(w,Pn.current);ec(w,A),G=og(null,w,q,x,G,A);var J=lg();return w.flags|=1,typeof G==&quot;object&quot;&amp;&amp;G!==null&amp;&amp;typeof G.render==&quot;function&quot;&amp;&amp;G.$$typeof===void 0?(w.tag=1,w.memoizedState=null,w.updateQueue=null,ni(q)?(J=!0,Bf(w)):J=!1,w.memoizedState=G.state!==null&amp;&amp;G.state!==void 0?G.state:null,eg(w),G.updater=th,w.stateNode=G,G._reactInternals=w,mg(w,q,x,A),w=xg(null,w,q,!0,J,A)):(w.tag=0,Nr&amp;&amp;J&amp;&amp;q0(w),$n(null,w,G,A),w=w.child),w;case 16:q=w.elementType;e:{switch(nh(x,w),x=w.pendingProps,G=q._init,q=G(q._payload),w.type=q,G=w.tag=QM(q),x=ns(q,x),G){case 0:w=bg(null,w,q,x,A);break e;case 1:w=m_(null,w,q,x,A);break e;case 11:w=c_(null,w,q,x,A);break e;case 14:w=u_(null,w,q,ns(q.type,x),A);break e}throw Error(t(306,q,&quot;&quot;))}return w;case 0:return q=w.type,G=w.pendingProps,G=w.elementType===q?G:ns(q,G),bg(x,w,q,G,A);case 1:return q=w.type,G=w.pendingProps,G=w.elementType===q?G:ns(q,G),m_(x,w,q,G,A);case 3:e:{if(p_(w),x===null)throw Error(t(387));q=w.pendingProps,J=w.memoizedState,G=J.element,Mw(x,w),Xf(w,q,null,A);var ae=w.memoizedState;if(q=ae.element,J.isDehydrated)if(J={element:q,isDehydrated:!1,cache:ae.cache,pendingSuspenseBoundaries:ae.pendingSuspenseBoundaries,transitions:ae.transitions},w.updateQueue.baseState=J,w.memoizedState=J,w.flags&amp;256){G=rc(Error(t(423)),w),w=g_(x,w,q,A,G);break e}else if(q!==G){G=rc(Error(t(424)),w),w=g_(x,w,q,A,G);break e}else for(pi=ts(w.stateNode.containerInfo.firstChild),mi=w,Nr=!0,rs=null,A=Ew(w,null,q,A),w.child=A;A;)A.flags=A.flags&amp;-3|4096,A=A.sibling;else{if(Zl(),q===G){w=Gs(x,w,A);break e}$n(x,w,q,A)}w=w.child}return w;case 5:return Tw(w),x===null&amp;&amp;K0(w),q=w.type,G=w.pendingProps,J=x!==null?x.memoizedProps:null,ae=G.children,fu(q,G)?ae=null:J!==null&amp;&amp;fu(q,J)&amp;&amp;(w.flags|=32),h_(x,w),$n(x,w,ae,A),w.child;case 6:return x===null&amp;&amp;K0(w),null;case 13:return b_(x,w,A);case 4:return tg(w,w.stateNode.containerInfo),q=w.pendingProps,x===null?w.child=Ql(w,null,q,A):$n(x,w,q,A),w.child;case 11:return q=w.type,G=w.pendingProps,G=w.elementType===q?G:ns(q,G),c_(x,w,q,G,A);case 7:return $n(x,w,w.pendingProps,A),w.child;case 8:return $n(x,w,w.pendingProps.children,A),w.child;case 12:return $n(x,w,w.pendingProps.children,A),w.child;case 10:e:{if(q=w.type._context,G=w.pendingProps,J=w.memoizedProps,ae=G.value,br(Hf,q._currentValue),q._currentValue=ae,J!==null)if(ti(J.value,ae)){if(J.children===G.children&amp;&amp;!ri.current){w=Gs(x,w,A);break e}}else for(J=w.child,J!==null&amp;&amp;(J.return=w);J!==null;){var be=J.dependencies;if(be!==null){ae=J.child;for(var ve=be.firstContext;ve!==null;){if(ve.context===q){if(J.tag===1){ve=Xs(-1,A&amp;-A),ve.tag=2;var Oe=J.updateQueue;if(Oe!==null){Oe=Oe.shared;var qe=Oe.pending;qe===null?ve.next=ve:(ve.next=qe.next,qe.next=ve),Oe.pending=ve}}J.lanes|=A,ve=J.alternate,ve!==null&amp;&amp;(ve.lanes|=A),Q0(J.return,A,w),be.lanes|=A;break}ve=ve.next}}else if(J.tag===10)ae=J.type===w.type?null:J.child;else if(J.tag===18){if(ae=J.return,ae===null)throw Error(t(341));ae.lanes|=A,be=ae.alternate,be!==null&amp;&amp;(be.lanes|=A),Q0(ae,A,w),ae=J.sibling}else ae=J.child;if(ae!==null)ae.return=J;else for(ae=J;ae!==null;){if(ae===w){ae=null;break}if(J=ae.sibling,J!==null){J.return=ae.return,ae=J;break}ae=ae.return}J=ae}$n(x,w,G.children,A),w=w.child}return w;case 9:return G=w.type,q=w.pendingProps.children,ec(w,A),G=Pi(G),q=q(G),w.flags|=1,$n(x,w,q,A),w.child;case 14:return q=w.type,G=ns(q,w.pendingProps),G=ns(q.type,G),u_(x,w,q,G,A);case 15:return d_(x,w,w.type,w.pendingProps,A);case 17:return q=w.type,G=w.pendingProps,G=w.elementType===q?G:ns(q,G),nh(x,w),w.tag=1,ni(q)?(x=!0,Bf(w)):x=!1,ec(w,A),r_(w,q,G),mg(w,q,G,A),xg(null,w,q,!0,x,A);case 19:return y_(x,w,A);case 22:return f_(x,w,A)}throw Error(t(156,w.tag))};function V_(x,w){return ar(x,w)}function ZM(x,w,A,q){this.tag=x,this.key=A,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=w,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=q,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ri(x,w,A,q){return new ZM(x,w,A,q)}function Fg(x){return x=x.prototype,!(!x||!x.isReactComponent)}function QM(x){if(typeof x==&quot;function&quot;)return Fg(x)?1:0;if(x!=null){if(x=x.$$typeof,x===$)return 11;if(x===E)return 14}return 2}function Ya(x,w){var A=x.alternate;return A===null?(A=Ri(x.tag,w,x.key,x.mode),A.elementType=x.elementType,A.type=x.type,A.stateNode=x.stateNode,A.alternate=x,x.alternate=A):(A.pendingProps=w,A.type=x.type,A.flags=0,A.subtreeFlags=0,A.deletions=null),A.flags=x.flags&amp;14680064,A.childLanes=x.childLanes,A.lanes=x.lanes,A.child=x.child,A.memoizedProps=x.memoizedProps,A.memoizedState=x.memoizedState,A.updateQueue=x.updateQueue,w=x.dependencies,A.dependencies=w===null?null:{lanes:w.lanes,firstContext:w.firstContext},A.sibling=x.sibling,A.index=x.index,A.ref=x.ref,A}function mh(x,w,A,q,G,J){var ae=2;if(q=x,typeof x==&quot;function&quot;)Fg(x)&amp;&amp;(ae=1);else if(typeof x==&quot;string&quot;)ae=5;else e:switch(x){case V:return Zo(A.children,G,J,w);case F:ae=8,G|=8;break;case H:return x=Ri(12,A,w,G|2),x.elementType=H,x.lanes=J,x;case P:return x=Ri(13,A,w,G),x.elementType=P,x.lanes=J,x;case D:return x=Ri(19,A,w,G),x.elementType=D,x.lanes=J,x;case k:return ph(A,G,J,w);default:if(typeof x==&quot;object&quot;&amp;&amp;x!==null)switch(x.$$typeof){case W:ae=10;break e;case K:ae=9;break e;case $:ae=11;break e;case E:ae=14;break e;case j:ae=16,q=null;break e}throw Error(t(130,x==null?x:typeof x,&quot;&quot;))}return w=Ri(ae,A,w,G),w.elementType=x,w.type=q,w.lanes=J,w}function Zo(x,w,A,q){return x=Ri(7,x,q,w),x.lanes=A,x}function ph(x,w,A,q){return x=Ri(22,x,q,w),x.elementType=k,x.lanes=A,x.stateNode={isHidden:!1},x}function Bg(x,w,A){return x=Ri(6,x,null,w),x.lanes=A,x}function zg(x,w,A){return w=Ri(4,x.children!==null?x.children:[],x.key,w),w.lanes=A,w.stateNode={containerInfo:x.containerInfo,pendingChildren:null,implementation:x.implementation},w}function JM(x,w,A,q,G){this.tag=w,this.containerInfo=x,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Dt(0),this.expirationTimes=Dt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Dt(0),this.identifierPrefix=q,this.onRecoverableError=G,this.mutableSourceEagerHydrationData=null}function $g(x,w,A,q,G,J,ae,be,ve){return x=new JM(x,w,A,be,ve),w===1?(w=1,J===!0&amp;&amp;(w|=8)):w=0,J=Ri(3,null,null,w),x.current=J,J.stateNode=x,J.memoizedState={element:q,isDehydrated:A,cache:null,transitions:null,pendingSuspenseBoundaries:null},eg(J),x}function eO(x,w,A){var q=3&lt;arguments.length&amp;&amp;arguments[3]!==void 0?arguments[3]:null;return{$$typeof:T,key:q==null?null:&quot;&quot;+q,children:x,containerInfo:w,implementation:A}}function q_(x){if(!x)return $a;x=x._reactInternals;e:{if(nt(x)!==x||x.tag!==1)throw Error(t(170));var w=x;do{switch(w.tag){case 3:w=w.stateNode.context;break e;case 1:if(ni(w.type)){w=w.stateNode.__reactInternalMemoizedMergedChildContext;break e}}w=w.return}while(w!==null);throw Error(t(171))}if(x.tag===1){var A=x.type;if(ni(A))return xw(x,A,w)}return w}function H_(x,w,A,q,G,J,ae,be,ve){return x=$g(A,q,!0,x,G,J,ae,be,ve),x.context=q_(null),A=x.current,q=Un(),G=Xa(A),J=Xs(q,G),J.callback=w??null,qa(A,J,G),x.current.lanes=G,ln(x,G,q),ai(x,q),x}function gh(x,w,A,q){var G=w.current,J=Un(),ae=Xa(G);return A=q_(A),w.context===null?w.context=A:w.pendingContext=A,w=Xs(J,ae),w.payload={element:x},q=q===void 0?null:q,q!==null&amp;&amp;(w.callback=q),x=qa(G,w,ae),x!==null&amp;&amp;(as(x,G,ae,J),Kf(x,G,ae)),ae}function bh(x){return x=x.current,x.child?(x.child.tag===5,x.child.stateNode):null}function W_(x,w){if(x=x.memoizedState,x!==null&amp;&amp;x.dehydrated!==null){var A=x.retryLane;x.retryLane=A!==0&amp;&amp;A&lt;w?A:w}}function Ug(x,w){W_(x,w),(x=x.alternate)&amp;&amp;W_(x,w)}function tO(){return null}var K_=typeof reportError==&quot;function&quot;?reportError:function(x){console.error(x)};function Vg(x){this._internalRoot=x}xh.prototype.render=Vg.prototype.render=function(x){var w=this._internalRoot;if(w===null)throw Error(t(409));gh(x,w,null,null)},xh.prototype.unmount=Vg.prototype.unmount=function(){var x=this._internalRoot;if(x!==null){this._internalRoot=null;var w=x.containerInfo;Xo(function(){gh(null,x,null,null)}),w[oe]=null}};function xh(x){this._internalRoot=x}xh.prototype.unstable_scheduleHydration=function(x){if(x){var w=cn();x={blockedOn:null,target:x,priority:w};for(var A=0;A&lt;On.length&amp;&amp;w!==0&amp;&amp;w&lt;On[A].priority;A++);On.splice(A,0,x),A===0&amp;&amp;Yd(x)}};function qg(x){return!(!x||x.nodeType!==1&amp;&amp;x.nodeType!==9&amp;&amp;x.nodeType!==11)}function yh(x){return!(!x||x.nodeType!==1&amp;&amp;x.nodeType!==9&amp;&amp;x.nodeType!==11&amp;&amp;(x.nodeType!==8||x.nodeValue!==&quot; react-mount-point-unstable &quot;))}function X_(){}function rO(x,w,A,q,G){if(G){if(typeof q==&quot;function&quot;){var J=q;q=function(){var Oe=bh(ae);J.call(Oe)}}var ae=H_(w,q,x,0,null,!1,!1,&quot;&quot;,X_);return x._reactRootContainer=ae,x[oe]=ae.current,Do(x.nodeType===8?x.parentNode:x),Xo(),ae}for(;G=x.lastChild;)x.removeChild(G);if(typeof q==&quot;function&quot;){var be=q;q=function(){var Oe=bh(ve);be.call(Oe)}}var ve=$g(x,0,!1,null,null,!1,!1,&quot;&quot;,X_);return x._reactRootContainer=ve,x[oe]=ve.current,Do(x.nodeType===8?x.parentNode:x),Xo(function(){gh(w,ve,A,q)}),ve}function vh(x,w,A,q,G){var J=A._reactRootContainer;if(J){var ae=J;if(typeof G==&quot;function&quot;){var be=G;G=function(){var ve=bh(ae);be.call(ve)}}gh(w,ae,x,G)}else ae=rO(A,w,x,G,q);return bh(ae)}Jn=function(x){switch(x.tag){case 3:var w=x.stateNode;if(w.current.memoizedState.isDehydrated){var A=Ur(w.pendingLanes);A!==0&amp;&amp;(kr(w,A|1),ai(w,je()),(tr&amp;6)===0&amp;&amp;(sc=je()+500,Ua()))}break;case 13:Xo(function(){var q=Ks(x,1);if(q!==null){var G=Un();as(q,x,1,G)}}),Ug(x,1)}},ji=function(x){if(x.tag===13){var w=Ks(x,134217728);if(w!==null){var A=Un();as(w,x,134217728,A)}Ug(x,134217728)}},vs=function(x){if(x.tag===13){var w=Xa(x),A=Ks(x,w);if(A!==null){var q=Un();as(A,x,w,q)}Ug(x,w)}},cn=function(){return Lt},wn=function(x,w){var A=Lt;try{return Lt=x,w()}finally{Lt=A}},ot=function(x,w,A){switch(w){case&quot;input&quot;:if(se(x,A),w=A.name,A.type===&quot;radio&quot;&amp;&amp;w!=null){for(A=x;A.parentNode;)A=A.parentNode;for(A=A.querySelectorAll(&quot;input[name=&quot;+JSON.stringify(&quot;&quot;+w)+&#039;][type=&quot;radio&quot;]&#039;),w=0;w&lt;A.length;w++){var q=A[w];if(q!==x&amp;&amp;q.form===x.form){var G=zo(q);if(!G)throw Error(t(90));ne(q),se(q,G)}}}break;case&quot;textarea&quot;:ce(x,A);break;case&quot;select&quot;:w=A.value,w!=null&amp;&amp;ge(x,!!A.multiple,w,!1)}},ht=Rg,Ut=Xo;var nO={usingClientEntryPoint:!1,Events:[ur,Vs,zo,Xt,$t,Rg]},Eu={findFiberByHostInstance:gr,bundleType:0,version:&quot;18.3.1&quot;,rendererPackageName:&quot;react-dom&quot;},iO={bundleType:Eu.bundleType,version:Eu.version,rendererPackageName:Eu.rendererPackageName,rendererConfig:Eu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(x){return x=Jt(x),x===null?null:x.stateNode},findFiberByHostInstance:Eu.findFiberByHostInstance||tO,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:&quot;18.3.1-next-f1338f8080-20240426&quot;};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&lt;&quot;u&quot;){var wh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!wh.isDisabled&amp;&amp;wh.supportsFiber)try{_t=wh.inject(iO),Et=wh}catch{}}return oi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nO,oi.createPortal=function(x,w){var A=2&lt;arguments.length&amp;&amp;arguments[2]!==void 0?arguments[2]:null;if(!qg(w))throw Error(t(200));return eO(x,w,null,A)},oi.createRoot=function(x,w){if(!qg(x))throw Error(t(299));var A=!1,q=&quot;&quot;,G=K_;return w!=null&amp;&amp;(w.unstable_strictMode===!0&amp;&amp;(A=!0),w.identifierPrefix!==void 0&amp;&amp;(q=w.identifierPrefix),w.onRecoverableError!==void 0&amp;&amp;(G=w.onRecoverableError)),w=$g(x,1,!1,null,null,A,!1,q,G),x[oe]=w.current,Do(x.nodeType===8?x.parentNode:x),new Vg(w)},oi.findDOMNode=function(x){if(x==null)return null;if(x.nodeType===1)return x;var w=x._reactInternals;if(w===void 0)throw typeof x.render==&quot;function&quot;?Error(t(188)):(x=Object.keys(x).join(&quot;,&quot;),Error(t(268,x)));return x=Jt(w),x=x===null?null:x.stateNode,x},oi.flushSync=function(x){return Xo(x)},oi.hydrate=function(x,w,A){if(!yh(w))throw Error(t(200));return vh(null,x,w,!0,A)},oi.hydrateRoot=function(x,w,A){if(!qg(x))throw Error(t(405));var q=A!=null&amp;&amp;A.hydratedSources||null,G=!1,J=&quot;&quot;,ae=K_;if(A!=null&amp;&amp;(A.unstable_strictMode===!0&amp;&amp;(G=!0),A.identifierPrefix!==void 0&amp;&amp;(J=A.identifierPrefix),A.onRecoverableError!==void 0&amp;&amp;(ae=A.onRecoverableError)),w=H_(w,null,x,1,A??null,G,!1,J,ae),x[oe]=w.current,Do(x),q)for(x=0;x&lt;q.length;x++)A=q[x],G=A._getVersion,G=G(A._source),w.mutableSourceEagerHydrationData==null?w.mutableSourceEagerHydrationData=[A,G]:w.mutableSourceEagerHydrationData.push(A,G);return new xh(w)},oi.render=function(x,w,A){if(!yh(w))throw Error(t(200));return vh(null,x,w,!1,A)},oi.unmountComponentAtNode=function(x){if(!yh(x))throw Error(t(40));return x._reactRootContainer?(Xo(function(){vh(null,null,x,!1,function(){x._reactRootContainer=null,x[oe]=null})}),!0):!1},oi.unstable_batchedUpdates=Rg,oi.unstable_renderSubtreeIntoContainer=function(x,w,A,q){if(!yh(A))throw Error(t(200));if(x==null||x._reactInternals===void 0)throw Error(t(38));return vh(x,w,A,!1,q)},oi.version=&quot;18.3.1-next-f1338f8080-20240426&quot;,oi}var r3;function aN(){if(r3)return Kg.exports;r3=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&gt;&quot;u&quot;||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=&quot;function&quot;))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),Kg.exports=fO(),Kg.exports}var n3;function hO(){if(n3)return _h;n3=1;var e=aN();return _h.createRoot=e.createRoot,_h.hydrateRoot=e.hydrateRoot,_h}var mO=hO();const pO=bs(mO);var xp=aN();function Ju(){return Ju=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Ju.apply(this,arguments)}var no;(function(e){e.Pop=&quot;POP&quot;,e.Push=&quot;PUSH&quot;,e.Replace=&quot;REPLACE&quot;})(no||(no={}));const i3=&quot;popstate&quot;;function gO(e){e===void 0&amp;&amp;(e={});function r(n,o){let{pathname:i,search:a,hash:u}=n.location;return sy(&quot;&quot;,{pathname:i,search:a,hash:u},o.state&amp;&amp;o.state.usr||null,o.state&amp;&amp;o.state.key||&quot;default&quot;)}function t(n,o){return typeof o==&quot;string&quot;?o:fm(o)}return xO(r,t,null,e)}function Hr(e,r){if(e===!1||e===null||typeof e&gt;&quot;u&quot;)throw new Error(r)}function Hv(e,r){if(!e){typeof console&lt;&quot;u&quot;&amp;&amp;console.warn(r);try{throw new Error(r)}catch{}}}function bO(){return Math.random().toString(36).substr(2,8)}function s3(e,r){return{usr:e.state,key:e.key,idx:r}}function sy(e,r,t,n){return t===void 0&amp;&amp;(t=null),Ju({pathname:typeof e==&quot;string&quot;?e:e.pathname,search:&quot;&quot;,hash:&quot;&quot;},typeof r==&quot;string&quot;?Pc(r):r,{state:t,key:r&amp;&amp;r.key||n||bO()})}function fm(e){let{pathname:r=&quot;/&quot;,search:t=&quot;&quot;,hash:n=&quot;&quot;}=e;return t&amp;&amp;t!==&quot;?&quot;&amp;&amp;(r+=t.charAt(0)===&quot;?&quot;?t:&quot;?&quot;+t),n&amp;&amp;n!==&quot;#&quot;&amp;&amp;(r+=n.charAt(0)===&quot;#&quot;?n:&quot;#&quot;+n),r}function Pc(e){let r={};if(e){let t=e.indexOf(&quot;#&quot;);t&gt;=0&amp;&amp;(r.hash=e.substr(t),e=e.substr(0,t));let n=e.indexOf(&quot;?&quot;);n&gt;=0&amp;&amp;(r.search=e.substr(n),e=e.substr(0,n)),e&amp;&amp;(r.pathname=e)}return r}function xO(e,r,t,n){n===void 0&amp;&amp;(n={});let{window:o=document.defaultView,v5Compat:i=!1}=n,a=o.history,u=no.Pop,l=null,s=d();s==null&amp;&amp;(s=0,a.replaceState(Ju({},a.state,{idx:s}),&quot;&quot;));function d(){return(a.state||{idx:null}).idx}function f(){u=no.Pop;let g=d(),y=g==null?null:g-s;s=g,l&amp;&amp;l({action:u,location:b.location,delta:y})}function h(g,y){u=no.Push;let v=sy(b.location,g,y);s=d()+1;let _=s3(v,s),C=b.createHref(v);try{a.pushState(_,&quot;&quot;,C)}catch(O){if(O instanceof DOMException&amp;&amp;O.name===&quot;DataCloneError&quot;)throw O;o.location.assign(C)}i&amp;&amp;l&amp;&amp;l({action:u,location:b.location,delta:1})}function m(g,y){u=no.Replace;let v=sy(b.location,g,y);s=d();let _=s3(v,s),C=b.createHref(v);a.replaceState(_,&quot;&quot;,C),i&amp;&amp;l&amp;&amp;l({action:u,location:b.location,delta:0})}function p(g){let y=o.location.origin!==&quot;null&quot;?o.location.origin:o.location.href,v=typeof g==&quot;string&quot;?g:fm(g);return v=v.replace(/ $/,&quot;%20&quot;),Hr(y,&quot;No window.location.(origin|href) available to create URL for href: &quot;+v),new URL(v,y)}let b={get action(){return u},get location(){return e(o,a)},listen(g){if(l)throw new Error(&quot;A history only accepts one active listener&quot;);return o.addEventListener(i3,f),l=g,()=&gt;{o.removeEventListener(i3,f),l=null}},createHref(g){return r(o,g)},createURL:p,encodeLocation(g){let y=p(g);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:h,replace:m,go(g){return a.go(g)}};return b}var a3;(function(e){e.data=&quot;data&quot;,e.deferred=&quot;deferred&quot;,e.redirect=&quot;redirect&quot;,e.error=&quot;error&quot;})(a3||(a3={}));function yO(e,r,t){return t===void 0&amp;&amp;(t=&quot;/&quot;),vO(e,r,t)}function vO(e,r,t,n){let o=typeof r==&quot;string&quot;?Pc(r):r,i=Wv(o.pathname||&quot;/&quot;,t);if(i==null)return null;let a=oN(e);wO(a);let u=null;for(let l=0;u==null&amp;&amp;l&lt;a.length;++l){let s=TO(i);u=MO(a[l],s)}return u}function oN(e,r,t,n){r===void 0&amp;&amp;(r=[]),t===void 0&amp;&amp;(t=[]),n===void 0&amp;&amp;(n=&quot;&quot;);let o=(i,a,u)=&gt;{let l={relativePath:u===void 0?i.path||&quot;&quot;:u,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};l.relativePath.startsWith(&quot;/&quot;)&amp;&amp;(Hr(l.relativePath.startsWith(n),&#039;Absolute route path &quot;&#039;+l.relativePath+&#039;&quot; nested under path &#039;+(&#039;&quot;&#039;+n+&#039;&quot; is not valid. An absolute child route path &#039;)+&quot;must start with the combined path of all its parent routes.&quot;),l.relativePath=l.relativePath.slice(n.length));let s=oo([n,l.relativePath]),d=t.concat(l);i.children&amp;&amp;i.children.length&gt;0&amp;&amp;(Hr(i.index!==!0,&quot;Index routes must not have child routes. Please remove &quot;+(&#039;all child routes from route path &quot;&#039;+s+&#039;&quot;.&#039;)),oN(i.children,r,d,s)),!(i.path==null&amp;&amp;!i.index)&amp;&amp;r.push({path:s,score:EO(s,i.index),routesMeta:d})};return e.forEach((i,a)=&gt;{var u;if(i.path===&quot;&quot;||!((u=i.path)!=null&amp;&amp;u.includes(&quot;?&quot;)))o(i,a);else for(let l of lN(i.path))o(i,a,l)}),r}function lN(e){let r=e.split(&quot;/&quot;);if(r.length===0)return[];let[t,...n]=r,o=t.endsWith(&quot;?&quot;),i=t.replace(/\?$/,&quot;&quot;);if(n.length===0)return o?[i,&quot;&quot;]:[i];let a=lN(n.join(&quot;/&quot;)),u=[];return u.push(...a.map(l=&gt;l===&quot;&quot;?i:[i,l].join(&quot;/&quot;))),o&amp;&amp;u.push(...a),u.map(l=&gt;e.startsWith(&quot;/&quot;)&amp;&amp;l===&quot;&quot;?&quot;/&quot;:l)}function wO(e){e.sort((r,t)=&gt;r.score!==t.score?t.score-r.score:AO(r.routesMeta.map(n=&gt;n.childrenIndex),t.routesMeta.map(n=&gt;n.childrenIndex)))}const _O=/^:[\w-]+$/,jO=3,SO=2,kO=1,NO=10,CO=-2,o3=e=&gt;e===&quot;*&quot;;function EO(e,r){let t=e.split(&quot;/&quot;),n=t.length;return t.some(o3)&amp;&amp;(n+=CO),r&amp;&amp;(n+=SO),t.filter(o=&gt;!o3(o)).reduce((o,i)=&gt;o+(_O.test(i)?jO:i===&quot;&quot;?kO:NO),n)}function AO(e,r){return e.length===r.length&amp;&amp;e.slice(0,-1).every((n,o)=&gt;n===r[o])?e[e.length-1]-r[r.length-1]:0}function MO(e,r,t){let{routesMeta:n}=e,o={},i=&quot;/&quot;,a=[];for(let u=0;u&lt;n.length;++u){let l=n[u],s=u===n.length-1,d=i===&quot;/&quot;?r:r.slice(i.length)||&quot;/&quot;,f=OO({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},d),h=l.route;if(!f)return null;Object.assign(o,f.params),a.push({params:o,pathname:oo([i,f.pathname]),pathnameBase:FO(oo([i,f.pathnameBase])),route:h}),f.pathnameBase!==&quot;/&quot;&amp;&amp;(i=oo([i,f.pathnameBase]))}return a}function OO(e,r){typeof e==&quot;string&quot;&amp;&amp;(e={path:e,caseSensitive:!1,end:!0});let[t,n]=PO(e.path,e.caseSensitive,e.end),o=r.match(t);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,&quot;$1&quot;),u=o.slice(1);return{params:n.reduce((s,d,f)=&gt;{let{paramName:h,isOptional:m}=d;if(h===&quot;*&quot;){let b=u[f]||&quot;&quot;;a=i.slice(0,i.length-b.length).replace(/(.)\/+$/,&quot;$1&quot;)}const p=u[f];return m&amp;&amp;!p?s[h]=void 0:s[h]=(p||&quot;&quot;).replace(/%2F/g,&quot;/&quot;),s},{}),pathname:i,pathnameBase:a,pattern:e}}function PO(e,r,t){r===void 0&amp;&amp;(r=!1),t===void 0&amp;&amp;(t=!0),Hv(e===&quot;*&quot;||!e.endsWith(&quot;*&quot;)||e.endsWith(&quot;/*&quot;),&#039;Route path &quot;&#039;+e+&#039;&quot; will be treated as if it were &#039;+(&#039;&quot;&#039;+e.replace(/\*$/,&quot;/*&quot;)+&#039;&quot; because the `*` character must &#039;)+&quot;always follow a `/` in the pattern. To get rid of this warning, &quot;+(&#039;please change the route path to &quot;&#039;+e.replace(/\*$/,&quot;/*&quot;)+&#039;&quot;.&#039;));let n=[],o=&quot;^&quot;+e.replace(/\/*\*?$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;).replace(/[\\.*+^${}|()[\]]/g,&quot;\\$&amp;&quot;).replace(/\/:([\w-]+)(\?)?/g,(a,u,l)=&gt;(n.push({paramName:u,isOptional:l!=null}),l?&quot;/?([^\\/]+)?&quot;:&quot;/([^\\/]+)&quot;));return e.endsWith(&quot;*&quot;)?(n.push({paramName:&quot;*&quot;}),o+=e===&quot;*&quot;||e===&quot;/*&quot;?&quot;(.*)$&quot;:&quot;(?:\\/(.+)|\\/*)$&quot;):t?o+=&quot;\\/*$&quot;:e!==&quot;&quot;&amp;&amp;e!==&quot;/&quot;&amp;&amp;(o+=&quot;(?:(?=\\/|$))&quot;),[new RegExp(o,r?void 0:&quot;i&quot;),n]}function TO(e){try{return e.split(&quot;/&quot;).map(r=&gt;decodeURIComponent(r).replace(/\//g,&quot;%2F&quot;)).join(&quot;/&quot;)}catch(r){return Hv(!1,&#039;The URL path &quot;&#039;+e+&#039;&quot; could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent &#039;+(&quot;encoding (&quot;+r+&quot;).&quot;)),e}}function Wv(e,r){if(r===&quot;/&quot;)return e;if(!e.toLowerCase().startsWith(r.toLowerCase()))return null;let t=r.endsWith(&quot;/&quot;)?r.length-1:r.length,n=e.charAt(t);return n&amp;&amp;n!==&quot;/&quot;?null:e.slice(t)||&quot;/&quot;}const IO=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,RO=e=&gt;IO.test(e);function DO(e,r){r===void 0&amp;&amp;(r=&quot;/&quot;);let{pathname:t,search:n=&quot;&quot;,hash:o=&quot;&quot;}=typeof e==&quot;string&quot;?Pc(e):e,i;if(t)if(RO(t))i=t;else{if(t.includes(&quot;//&quot;)){let a=t;t=t.replace(/\/\/+/g,&quot;/&quot;),Hv(!1,&quot;Pathnames cannot have embedded double slashes - normalizing &quot;+(a+&quot; -&gt; &quot;+t))}t.startsWith(&quot;/&quot;)?i=l3(t.substring(1),&quot;/&quot;):i=l3(t,r)}else i=r;return{pathname:i,search:BO(n),hash:zO(o)}}function l3(e,r){let t=r.replace(/\/+$/,&quot;&quot;).split(&quot;/&quot;);return e.split(&quot;/&quot;).forEach(o=&gt;{o===&quot;..&quot;?t.length&gt;1&amp;&amp;t.pop():o!==&quot;.&quot;&amp;&amp;t.push(o)}),t.length&gt;1?t.join(&quot;/&quot;):&quot;/&quot;}function Yg(e,r,t,n){return&quot;Cannot include a &#039;&quot;+e+&quot;&#039; character in a manually specified &quot;+(&quot;`to.&quot;+r+&quot;` field [&quot;+JSON.stringify(n)+&quot;].  Please separate it out to the &quot;)+(&quot;`to.&quot;+t+&quot;` field. Alternatively you may provide the full path as &quot;)+&#039;a string in &lt;Link to=&quot;...&quot;&gt; and the router will parse it for you.&#039;}function LO(e){return e.filter((r,t)=&gt;t===0||r.route.path&amp;&amp;r.route.path.length&gt;0)}function Kv(e,r){let t=LO(e);return r?t.map((n,o)=&gt;o===t.length-1?n.pathname:n.pathnameBase):t.map(n=&gt;n.pathnameBase)}function Xv(e,r,t,n){n===void 0&amp;&amp;(n=!1);let o;typeof e==&quot;string&quot;?o=Pc(e):(o=Ju({},e),Hr(!o.pathname||!o.pathname.includes(&quot;?&quot;),Yg(&quot;?&quot;,&quot;pathname&quot;,&quot;search&quot;,o)),Hr(!o.pathname||!o.pathname.includes(&quot;#&quot;),Yg(&quot;#&quot;,&quot;pathname&quot;,&quot;hash&quot;,o)),Hr(!o.search||!o.search.includes(&quot;#&quot;),Yg(&quot;#&quot;,&quot;search&quot;,&quot;hash&quot;,o)));let i=e===&quot;&quot;||o.pathname===&quot;&quot;,a=i?&quot;/&quot;:o.pathname,u;if(a==null)u=t;else{let f=r.length-1;if(!n&amp;&amp;a.startsWith(&quot;..&quot;)){let h=a.split(&quot;/&quot;);for(;h[0]===&quot;..&quot;;)h.shift(),f-=1;o.pathname=h.join(&quot;/&quot;)}u=f&gt;=0?r[f]:&quot;/&quot;}let l=DO(o,u),s=a&amp;&amp;a!==&quot;/&quot;&amp;&amp;a.endsWith(&quot;/&quot;),d=(i||a===&quot;.&quot;)&amp;&amp;t.endsWith(&quot;/&quot;);return!l.pathname.endsWith(&quot;/&quot;)&amp;&amp;(s||d)&amp;&amp;(l.pathname+=&quot;/&quot;),l}const oo=e=&gt;e.join(&quot;/&quot;).replace(/\/\/+/g,&quot;/&quot;),FO=e=&gt;e.replace(/\/+$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;),BO=e=&gt;!e||e===&quot;?&quot;?&quot;&quot;:e.startsWith(&quot;?&quot;)?e:&quot;?&quot;+e,zO=e=&gt;!e||e===&quot;#&quot;?&quot;&quot;:e.startsWith(&quot;#&quot;)?e:&quot;#&quot;+e;function $O(e){return e!=null&amp;&amp;typeof e.status==&quot;number&quot;&amp;&amp;typeof e.statusText==&quot;string&quot;&amp;&amp;typeof e.internal==&quot;boolean&quot;&amp;&amp;&quot;data&quot;in e}const cN=[&quot;post&quot;,&quot;put&quot;,&quot;patch&quot;,&quot;delete&quot;];new Set(cN);const UO=[&quot;get&quot;,...cN];new Set(UO);function ed(){return ed=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},ed.apply(this,arguments)}const Gv=L.createContext(null),VO=L.createContext(null),yo=L.createContext(null),yp=L.createContext(null),xa=L.createContext({outlet:null,matches:[],isDataRoute:!1}),uN=L.createContext(null);function qO(e,r){let{relative:t}=r===void 0?{}:r;Tc()||Hr(!1);let{basename:n,navigator:o}=L.useContext(yo),{hash:i,pathname:a,search:u}=fN(e,{relative:t}),l=a;return n!==&quot;/&quot;&amp;&amp;(l=a===&quot;/&quot;?n:oo([n,a])),o.createHref({pathname:l,search:u,hash:i})}function Tc(){return L.useContext(yp)!=null}function Ds(){return Tc()||Hr(!1),L.useContext(yp).location}function dN(e){L.useContext(yo).static||L.useLayoutEffect(e)}function xs(){let{isDataRoute:e}=L.useContext(xa);return e?iP():HO()}function HO(){Tc()||Hr(!1);let e=L.useContext(Gv),{basename:r,future:t,navigator:n}=L.useContext(yo),{matches:o}=L.useContext(xa),{pathname:i}=Ds(),a=JSON.stringify(Kv(o,t.v7_relativeSplatPath)),u=L.useRef(!1);return dN(()=&gt;{u.current=!0}),L.useCallback(function(s,d){if(d===void 0&amp;&amp;(d={}),!u.current)return;if(typeof s==&quot;number&quot;){n.go(s);return}let f=Xv(s,JSON.parse(a),i,d.relative===&quot;path&quot;);e==null&amp;&amp;r!==&quot;/&quot;&amp;&amp;(f.pathname=f.pathname===&quot;/&quot;?r:oo([r,f.pathname])),(d.replace?n.replace:n.push)(f,d.state,d)},[r,n,a,i,e])}function WO(){let{matches:e}=L.useContext(xa),r=e[e.length-1];return r?r.params:{}}function fN(e,r){let{relative:t}=r===void 0?{}:r,{future:n}=L.useContext(yo),{matches:o}=L.useContext(xa),{pathname:i}=Ds(),a=JSON.stringify(Kv(o,n.v7_relativeSplatPath));return L.useMemo(()=&gt;Xv(e,JSON.parse(a),i,t===&quot;path&quot;),[e,a,i,t])}function KO(e,r){return XO(e,r)}function XO(e,r,t,n){Tc()||Hr(!1);let{navigator:o}=L.useContext(yo),{matches:i}=L.useContext(xa),a=i[i.length-1],u=a?a.params:{};a&amp;&amp;a.pathname;let l=a?a.pathnameBase:&quot;/&quot;;a&amp;&amp;a.route;let s=Ds(),d;if(r){var f;let g=typeof r==&quot;string&quot;?Pc(r):r;l===&quot;/&quot;||(f=g.pathname)!=null&amp;&amp;f.startsWith(l)||Hr(!1),d=g}else d=s;let h=d.pathname||&quot;/&quot;,m=h;if(l!==&quot;/&quot;){let g=l.replace(/^\//,&quot;&quot;).split(&quot;/&quot;);m=&quot;/&quot;+h.replace(/^\//,&quot;&quot;).split(&quot;/&quot;).slice(g.length).join(&quot;/&quot;)}let p=yO(e,{pathname:m}),b=JO(p&amp;&amp;p.map(g=&gt;Object.assign({},g,{params:Object.assign({},u,g.params),pathname:oo([l,o.encodeLocation?o.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase===&quot;/&quot;?l:oo([l,o.encodeLocation?o.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),i,t,n);return r&amp;&amp;b?L.createElement(yp.Provider,{value:{location:ed({pathname:&quot;/&quot;,search:&quot;&quot;,hash:&quot;&quot;,state:null,key:&quot;default&quot;},d),navigationType:no.Pop}},b):b}function GO(){let e=nP(),r=$O(e)?e.status+&quot; &quot;+e.statusText:e instanceof Error?e.message:JSON.stringify(e),t=e instanceof Error?e.stack:null,o={padding:&quot;0.5rem&quot;,backgroundColor:&quot;rgba(200,200,200, 0.5)&quot;};return L.createElement(L.Fragment,null,L.createElement(&quot;h2&quot;,null,&quot;Unexpected Application Error!&quot;),L.createElement(&quot;h3&quot;,{style:{fontStyle:&quot;italic&quot;}},r),t?L.createElement(&quot;pre&quot;,{style:o},t):null,null)}const YO=L.createElement(GO,null);class ZO extends L.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,t){return t.location!==r.location||t.revalidation!==&quot;idle&quot;&amp;&amp;r.revalidation===&quot;idle&quot;?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:t.error,location:t.location,revalidation:r.revalidation||t.revalidation}}componentDidCatch(r,t){console.error(&quot;React Router caught the following error during render&quot;,r,t)}render(){return this.state.error!==void 0?L.createElement(xa.Provider,{value:this.props.routeContext},L.createElement(uN.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function QO(e){let{routeContext:r,match:t,children:n}=e,o=L.useContext(Gv);return o&amp;&amp;o.static&amp;&amp;o.staticContext&amp;&amp;(t.route.errorElement||t.route.ErrorBoundary)&amp;&amp;(o.staticContext._deepestRenderedBoundaryId=t.route.id),L.createElement(xa.Provider,{value:r},n)}function JO(e,r,t,n){var o;if(r===void 0&amp;&amp;(r=[]),t===void 0&amp;&amp;(t=null),n===void 0&amp;&amp;(n=null),e==null){var i;if(!t)return null;if(t.errors)e=t.matches;else if((i=n)!=null&amp;&amp;i.v7_partialHydration&amp;&amp;r.length===0&amp;&amp;!t.initialized&amp;&amp;t.matches.length&gt;0)e=t.matches;else return null}let a=e,u=(o=t)==null?void 0:o.errors;if(u!=null){let d=a.findIndex(f=&gt;f.route.id&amp;&amp;u?.[f.route.id]!==void 0);d&gt;=0||Hr(!1),a=a.slice(0,Math.min(a.length,d+1))}let l=!1,s=-1;if(t&amp;&amp;n&amp;&amp;n.v7_partialHydration)for(let d=0;d&lt;a.length;d++){let f=a[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&amp;&amp;(s=d),f.route.id){let{loaderData:h,errors:m}=t,p=f.route.loader&amp;&amp;h[f.route.id]===void 0&amp;&amp;(!m||m[f.route.id]===void 0);if(f.route.lazy||p){l=!0,s&gt;=0?a=a.slice(0,s+1):a=[a[0]];break}}}return a.reduceRight((d,f,h)=&gt;{let m,p=!1,b=null,g=null;t&amp;&amp;(m=u&amp;&amp;f.route.id?u[f.route.id]:void 0,b=f.route.errorElement||YO,l&amp;&amp;(s&lt;0&amp;&amp;h===0?(sP(&quot;route-fallback&quot;),p=!0,g=null):s===h&amp;&amp;(p=!0,g=f.route.hydrateFallbackElement||null)));let y=r.concat(a.slice(0,h+1)),v=()=&gt;{let _;return m?_=b:p?_=g:f.route.Component?_=L.createElement(f.route.Component,null):f.route.element?_=f.route.element:_=d,L.createElement(QO,{match:f,routeContext:{outlet:d,matches:y,isDataRoute:t!=null},children:_})};return t&amp;&amp;(f.route.ErrorBoundary||f.route.errorElement||h===0)?L.createElement(ZO,{location:t.location,revalidation:t.revalidation,component:b,error:m,children:v(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):v()},null)}var hN=(function(e){return e.UseBlocker=&quot;useBlocker&quot;,e.UseRevalidator=&quot;useRevalidator&quot;,e.UseNavigateStable=&quot;useNavigate&quot;,e})(hN||{}),mN=(function(e){return e.UseBlocker=&quot;useBlocker&quot;,e.UseLoaderData=&quot;useLoaderData&quot;,e.UseActionData=&quot;useActionData&quot;,e.UseRouteError=&quot;useRouteError&quot;,e.UseNavigation=&quot;useNavigation&quot;,e.UseRouteLoaderData=&quot;useRouteLoaderData&quot;,e.UseMatches=&quot;useMatches&quot;,e.UseRevalidator=&quot;useRevalidator&quot;,e.UseNavigateStable=&quot;useNavigate&quot;,e.UseRouteId=&quot;useRouteId&quot;,e})(mN||{});function eP(e){let r=L.useContext(Gv);return r||Hr(!1),r}function tP(e){let r=L.useContext(VO);return r||Hr(!1),r}function rP(e){let r=L.useContext(xa);return r||Hr(!1),r}function pN(e){let r=rP(),t=r.matches[r.matches.length-1];return t.route.id||Hr(!1),t.route.id}function nP(){var e;let r=L.useContext(uN),t=tP(),n=pN();return r!==void 0?r:(e=t.errors)==null?void 0:e[n]}function iP(){let{router:e}=eP(hN.UseNavigateStable),r=pN(mN.UseNavigateStable),t=L.useRef(!1);return dN(()=&gt;{t.current=!0}),L.useCallback(function(o,i){i===void 0&amp;&amp;(i={}),t.current&amp;&amp;(typeof o==&quot;number&quot;?e.navigate(o):e.navigate(o,ed({fromRouteId:r},i)))},[e,r])}const c3={};function sP(e,r,t){c3[e]||(c3[e]=!0)}function aP(e,r){e?.v7_startTransition,e?.v7_relativeSplatPath}function ui(e){let{to:r,replace:t,state:n,relative:o}=e;Tc()||Hr(!1);let{future:i,static:a}=L.useContext(yo),{matches:u}=L.useContext(xa),{pathname:l}=Ds(),s=xs(),d=Xv(r,Kv(u,i.v7_relativeSplatPath),l,o===&quot;path&quot;),f=JSON.stringify(d);return L.useEffect(()=&gt;s(JSON.parse(f),{replace:t,state:n,relative:o}),[s,f,o,t,n]),null}function Vn(e){Hr(!1)}function oP(e){let{basename:r=&quot;/&quot;,children:t=null,location:n,navigationType:o=no.Pop,navigator:i,static:a=!1,future:u}=e;Tc()&amp;&amp;Hr(!1);let l=r.replace(/^\/*/,&quot;/&quot;),s=L.useMemo(()=&gt;({basename:l,navigator:i,static:a,future:ed({v7_relativeSplatPath:!1},u)}),[l,u,i,a]);typeof n==&quot;string&quot;&amp;&amp;(n=Pc(n));let{pathname:d=&quot;/&quot;,search:f=&quot;&quot;,hash:h=&quot;&quot;,state:m=null,key:p=&quot;default&quot;}=n,b=L.useMemo(()=&gt;{let g=Wv(d,l);return g==null?null:{location:{pathname:g,search:f,hash:h,state:m,key:p},navigationType:o}},[l,d,f,h,m,p,o]);return b==null?null:L.createElement(yo.Provider,{value:s},L.createElement(yp.Provider,{children:t,value:b}))}function lP(e){let{children:r,location:t}=e;return KO(ay(r),t)}new Promise(()=&gt;{});function ay(e,r){r===void 0&amp;&amp;(r=[]);let t=[];return L.Children.forEach(e,(n,o)=&gt;{if(!L.isValidElement(n))return;let i=[...r,o];if(n.type===L.Fragment){t.push.apply(t,ay(n.props.children,i));return}n.type!==Vn&amp;&amp;Hr(!1),!n.props.index||!n.props.children||Hr(!1);let a={id:n.props.id||i.join(&quot;-&quot;),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&amp;&amp;(a.children=ay(n.props.children,i)),t.push(a)}),t}function oy(){return oy=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},oy.apply(this,arguments)}function cP(e,r){if(e==null)return{};var t={},n=Object.keys(e),o,i;for(i=0;i&lt;n.length;i++)o=n[i],!(r.indexOf(o)&gt;=0)&amp;&amp;(t[o]=e[o]);return t}function uP(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function dP(e,r){return e.button===0&amp;&amp;(!r||r===&quot;_self&quot;)&amp;&amp;!uP(e)}function ly(e){return e===void 0&amp;&amp;(e=&quot;&quot;),new URLSearchParams(typeof e==&quot;string&quot;||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((r,t)=&gt;{let n=e[t];return r.concat(Array.isArray(n)?n.map(o=&gt;[t,o]):[[t,n]])},[]))}function fP(e,r){let t=ly(e);return r&amp;&amp;r.forEach((n,o)=&gt;{t.has(o)||r.getAll(o).forEach(i=&gt;{t.append(o,i)})}),t}const hP=[&quot;onClick&quot;,&quot;relative&quot;,&quot;reloadDocument&quot;,&quot;replace&quot;,&quot;state&quot;,&quot;target&quot;,&quot;to&quot;,&quot;preventScrollReset&quot;,&quot;viewTransition&quot;],mP=&quot;6&quot;;try{window.__reactRouterVersion=mP}catch{}const pP=&quot;startTransition&quot;,u3=sN[pP];function gP(e){let{basename:r,children:t,future:n,window:o}=e,i=L.useRef();i.current==null&amp;&amp;(i.current=gO({window:o,v5Compat:!0}));let a=i.current,[u,l]=L.useState({action:a.action,location:a.location}),{v7_startTransition:s}=n||{},d=L.useCallback(f=&gt;{s&amp;&amp;u3?u3(()=&gt;l(f)):l(f)},[l,s]);return L.useLayoutEffect(()=&gt;a.listen(d),[a,d]),L.useEffect(()=&gt;aP(n),[n]),L.createElement(oP,{basename:r,children:t,location:u.location,navigationType:u.action,navigator:a,future:n})}const bP=typeof window&lt;&quot;u&quot;&amp;&amp;typeof window.document&lt;&quot;u&quot;&amp;&amp;typeof window.document.createElement&lt;&quot;u&quot;,xP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Cr=L.forwardRef(function(r,t){let{onClick:n,relative:o,reloadDocument:i,replace:a,state:u,target:l,to:s,preventScrollReset:d,viewTransition:f}=r,h=cP(r,hP),{basename:m}=L.useContext(yo),p,b=!1;if(typeof s==&quot;string&quot;&amp;&amp;xP.test(s)&amp;&amp;(p=s,bP))try{let _=new URL(window.location.href),C=s.startsWith(&quot;//&quot;)?new URL(_.protocol+s):new URL(s),O=Wv(C.pathname,m);C.origin===_.origin&amp;&amp;O!=null?s=O+C.search+C.hash:b=!0}catch{}let g=qO(s,{relative:o}),y=yP(s,{replace:a,state:u,target:l,preventScrollReset:d,relative:o,viewTransition:f});function v(_){n&amp;&amp;n(_),_.defaultPrevented||y(_)}return L.createElement(&quot;a&quot;,oy({},h,{href:p||g,onClick:b||i?n:v,ref:t,target:l}))});var d3;(function(e){e.UseScrollRestoration=&quot;useScrollRestoration&quot;,e.UseSubmit=&quot;useSubmit&quot;,e.UseSubmitFetcher=&quot;useSubmitFetcher&quot;,e.UseFetcher=&quot;useFetcher&quot;,e.useViewTransitionState=&quot;useViewTransitionState&quot;})(d3||(d3={}));var f3;(function(e){e.UseFetcher=&quot;useFetcher&quot;,e.UseFetchers=&quot;useFetchers&quot;,e.UseScrollRestoration=&quot;useScrollRestoration&quot;})(f3||(f3={}));function yP(e,r){let{target:t,replace:n,state:o,preventScrollReset:i,relative:a,viewTransition:u}=r===void 0?{}:r,l=xs(),s=Ds(),d=fN(e,{relative:a});return L.useCallback(f=&gt;{if(dP(f,t)){f.preventDefault();let h=n!==void 0?n:fm(s)===fm(d);l(e,{replace:h,state:o,preventScrollReset:i,relative:a,viewTransition:u})}},[s,l,d,n,o,t,e,i,a,u])}function vp(e){let r=L.useRef(ly(e)),t=L.useRef(!1),n=Ds(),o=L.useMemo(()=&gt;fP(n.search,t.current?null:r.current),[n.search]),i=xs(),a=L.useCallback((u,l)=&gt;{const s=ly(typeof u==&quot;function&quot;?u(o):u);t.current=!0,i(&quot;?&quot;+s,l)},[i,o]);return[o,a]}const Yv=L.createContext({});function Zv(e){const r=L.useRef(null);return r.current===null&amp;&amp;(r.current=e()),r.current}const gN=typeof window&lt;&quot;u&quot;,bN=gN?L.useLayoutEffect:L.useEffect,wp=L.createContext(null);function Qv(e,r){e.indexOf(r)===-1&amp;&amp;e.push(r)}function Jv(e,r){const t=e.indexOf(r);t&gt;-1&amp;&amp;e.splice(t,1)}const Ps=(e,r,t)=&gt;t&gt;r?r:t&lt;e?e:t;let e1=()=&gt;{};const ca={},xN=e=&gt;/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function yN(e){return typeof e==&quot;object&quot;&amp;&amp;e!==null}const vN=e=&gt;/^0[^.\s]+$/u.test(e);function t1(e){let r;return()=&gt;(r===void 0&amp;&amp;(r=e()),r)}const qi=e=&gt;e,vP=(e,r)=&gt;t=&gt;r(e(t)),Sd=(...e)=&gt;e.reduce(vP),td=(e,r,t)=&gt;{const n=r-e;return n===0?1:(t-e)/n};class r1{constructor(){this.subscriptions=[]}add(r){return Qv(this.subscriptions,r),()=&gt;Jv(this.subscriptions,r)}notify(r,t,n){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](r,t,n);else for(let i=0;i&lt;o;i++){const a=this.subscriptions[i];a&amp;&amp;a(r,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const aa=e=&gt;e*1e3,$i=e=&gt;e/1e3;function wN(e,r){return r?e*(1e3/r):0}const _N=(e,r,t)=&gt;(((1-3*t+3*r)*e+(3*t-6*r))*e+3*r)*e,wP=1e-7,_P=12;function jP(e,r,t,n,o){let i,a,u=0;do a=r+(t-r)/2,i=_N(a,n,o)-e,i&gt;0?t=a:r=a;while(Math.abs(i)&gt;wP&amp;&amp;++u&lt;_P);return a}function kd(e,r,t,n){if(e===r&amp;&amp;t===n)return qi;const o=i=&gt;jP(i,0,1,e,t);return i=&gt;i===0||i===1?i:_N(o(i),r,n)}const jN=e=&gt;r=&gt;r&lt;=.5?e(2*r)/2:(2-e(2*(1-r)))/2,SN=e=&gt;r=&gt;1-e(1-r),kN=kd(.33,1.53,.69,.99),n1=SN(kN),NN=jN(n1),CN=e=&gt;(e*=2)&lt;1?.5*n1(e):.5*(2-Math.pow(2,-10*(e-1))),i1=e=&gt;1-Math.sin(Math.acos(e)),EN=SN(i1),AN=jN(i1),SP=kd(.42,0,1,1),kP=kd(0,0,.58,1),MN=kd(.42,0,.58,1),NP=e=&gt;Array.isArray(e)&amp;&amp;typeof e[0]!=&quot;number&quot;,ON=e=&gt;Array.isArray(e)&amp;&amp;typeof e[0]==&quot;number&quot;,CP={linear:qi,easeIn:SP,easeInOut:MN,easeOut:kP,circIn:i1,circInOut:AN,circOut:EN,backIn:n1,backInOut:NN,backOut:kN,anticipate:CN},EP=e=&gt;typeof e==&quot;string&quot;,h3=e=&gt;{if(ON(e)){e1(e.length===4);const[r,t,n,o]=e;return kd(r,t,n,o)}else if(EP(e))return CP[e];return e},jh=[&quot;setup&quot;,&quot;read&quot;,&quot;resolveKeyframes&quot;,&quot;preUpdate&quot;,&quot;update&quot;,&quot;preRender&quot;,&quot;render&quot;,&quot;postRender&quot;];function AP(e,r){let t=new Set,n=new Set,o=!1,i=!1;const a=new WeakSet;let u={delta:0,timestamp:0,isProcessing:!1};function l(d){a.has(d)&amp;&amp;(s.schedule(d),e()),d(u)}const s={schedule:(d,f=!1,h=!1)=&gt;{const p=h&amp;&amp;o?t:n;return f&amp;&amp;a.add(d),p.has(d)||p.add(d),d},cancel:d=&gt;{n.delete(d),a.delete(d)},process:d=&gt;{if(u=d,o){i=!0;return}o=!0,[t,n]=[n,t],t.forEach(l),t.clear(),o=!1,i&amp;&amp;(i=!1,s.process(d))}};return s}const MP=40;function PN(e,r){let t=!1,n=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=&gt;t=!0,a=jh.reduce((_,C)=&gt;(_[C]=AP(i),_),{}),{setup:u,read:l,resolveKeyframes:s,preUpdate:d,update:f,preRender:h,render:m,postRender:p}=a,b=()=&gt;{const _=ca.useManualTiming?o.timestamp:performance.now();t=!1,ca.useManualTiming||(o.delta=n?1e3/60:Math.max(Math.min(_-o.timestamp,MP),1)),o.timestamp=_,o.isProcessing=!0,u.process(o),l.process(o),s.process(o),d.process(o),f.process(o),h.process(o),m.process(o),p.process(o),o.isProcessing=!1,t&amp;&amp;r&amp;&amp;(n=!1,e(b))},g=()=&gt;{t=!0,n=!0,o.isProcessing||e(b)};return{schedule:jh.reduce((_,C)=&gt;{const O=a[C];return _[C]=(T,V=!1,F=!1)=&gt;(t||g(),O.schedule(T,V,F)),_},{}),cancel:_=&gt;{for(let C=0;C&lt;jh.length;C++)a[jh[C]].cancel(_)},state:o,steps:a}}const{schedule:jr,cancel:uo,state:kn,steps:Zg}=PN(typeof requestAnimationFrame&lt;&quot;u&quot;?requestAnimationFrame:qi,!0);let Qh;function OP(){Qh=void 0}const Hn={now:()=&gt;(Qh===void 0&amp;&amp;Hn.set(kn.isProcessing||ca.useManualTiming?kn.timestamp:performance.now()),Qh),set:e=&gt;{Qh=e,queueMicrotask(OP)}},TN=e=&gt;r=&gt;typeof r==&quot;string&quot;&amp;&amp;r.startsWith(e),IN=TN(&quot;--&quot;),PP=TN(&quot;var(--&quot;),s1=e=&gt;PP(e)?TP.test(e.split(&quot;/*&quot;)[0].trim()):!1,TP=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function m3(e){return typeof e!=&quot;string&quot;?!1:e.split(&quot;/*&quot;)[0].includes(&quot;var(--&quot;)}const Ic={test:e=&gt;typeof e==&quot;number&quot;,parse:parseFloat,transform:e=&gt;e},rd={...Ic,transform:e=&gt;Ps(0,1,e)},Sh={...Ic,default:1},Wu=e=&gt;Math.round(e*1e5)/1e5,a1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function IP(e){return e==null}const RP=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,o1=(e,r)=&gt;t=&gt;!!(typeof t==&quot;string&quot;&amp;&amp;RP.test(t)&amp;&amp;t.startsWith(e)||r&amp;&amp;!IP(t)&amp;&amp;Object.prototype.hasOwnProperty.call(t,r)),RN=(e,r,t)=&gt;n=&gt;{if(typeof n!=&quot;string&quot;)return n;const[o,i,a,u]=n.match(a1);return{[e]:parseFloat(o),[r]:parseFloat(i),[t]:parseFloat(a),alpha:u!==void 0?parseFloat(u):1}},DP=e=&gt;Ps(0,255,e),Qg={...Ic,transform:e=&gt;Math.round(DP(e))},sl={test:o1(&quot;rgb&quot;,&quot;red&quot;),parse:RN(&quot;red&quot;,&quot;green&quot;,&quot;blue&quot;),transform:({red:e,green:r,blue:t,alpha:n=1})=&gt;&quot;rgba(&quot;+Qg.transform(e)+&quot;, &quot;+Qg.transform(r)+&quot;, &quot;+Qg.transform(t)+&quot;, &quot;+Wu(rd.transform(n))+&quot;)&quot;};function LP(e){let r=&quot;&quot;,t=&quot;&quot;,n=&quot;&quot;,o=&quot;&quot;;return e.length&gt;5?(r=e.substring(1,3),t=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(r=e.substring(1,2),t=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),r+=r,t+=t,n+=n,o+=o),{red:parseInt(r,16),green:parseInt(t,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const cy={test:o1(&quot;#&quot;),parse:LP,transform:sl.transform},Nd=e=&gt;({test:r=&gt;typeof r==&quot;string&quot;&amp;&amp;r.endsWith(e)&amp;&amp;r.split(&quot; &quot;).length===1,parse:parseFloat,transform:r=&gt;`${r}${e}`}),Ja=Nd(&quot;deg&quot;),Ms=Nd(&quot;%&quot;),at=Nd(&quot;px&quot;),FP=Nd(&quot;vh&quot;),BP=Nd(&quot;vw&quot;),p3={...Ms,parse:e=&gt;Ms.parse(e)/100,transform:e=&gt;Ms.transform(e*100)},fc={test:o1(&quot;hsl&quot;,&quot;hue&quot;),parse:RN(&quot;hue&quot;,&quot;saturation&quot;,&quot;lightness&quot;),transform:({hue:e,saturation:r,lightness:t,alpha:n=1})=&gt;&quot;hsla(&quot;+Math.round(e)+&quot;, &quot;+Ms.transform(Wu(r))+&quot;, &quot;+Ms.transform(Wu(t))+&quot;, &quot;+Wu(rd.transform(n))+&quot;)&quot;},Kr={test:e=&gt;sl.test(e)||cy.test(e)||fc.test(e),parse:e=&gt;sl.test(e)?sl.parse(e):fc.test(e)?fc.parse(e):cy.parse(e),transform:e=&gt;typeof e==&quot;string&quot;?e:e.hasOwnProperty(&quot;red&quot;)?sl.transform(e):fc.transform(e),getAnimatableNone:e=&gt;{const r=Kr.parse(e);return r.alpha=0,Kr.transform(r)}},zP=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function $P(e){return isNaN(e)&amp;&amp;typeof e==&quot;string&quot;&amp;&amp;(e.match(a1)?.length||0)+(e.match(zP)?.length||0)&gt;0}const DN=&quot;number&quot;,LN=&quot;color&quot;,UP=&quot;var&quot;,VP=&quot;var(&quot;,g3=&quot;${}&quot;,qP=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function nd(e){const r=e.toString(),t=[],n={color:[],number:[],var:[]},o=[];let i=0;const u=r.replace(qP,l=&gt;(Kr.test(l)?(n.color.push(i),o.push(LN),t.push(Kr.parse(l))):l.startsWith(VP)?(n.var.push(i),o.push(UP),t.push(l)):(n.number.push(i),o.push(DN),t.push(parseFloat(l))),++i,g3)).split(g3);return{values:t,split:u,indexes:n,types:o}}function FN(e){return nd(e).values}function BN(e){const{split:r,types:t}=nd(e),n=r.length;return o=&gt;{let i=&quot;&quot;;for(let a=0;a&lt;n;a++)if(i+=r[a],o[a]!==void 0){const u=t[a];u===DN?i+=Wu(o[a]):u===LN?i+=Kr.transform(o[a]):i+=o[a]}return i}}const HP=e=&gt;typeof e==&quot;number&quot;?0:Kr.test(e)?Kr.getAnimatableNone(e):e;function WP(e){const r=FN(e);return BN(e)(r.map(HP))}const fo={test:$P,parse:FN,createTransformer:BN,getAnimatableNone:WP};function Jg(e,r,t){return t&lt;0&amp;&amp;(t+=1),t&gt;1&amp;&amp;(t-=1),t&lt;1/6?e+(r-e)*6*t:t&lt;1/2?r:t&lt;2/3?e+(r-e)*(2/3-t)*6:e}function KP({hue:e,saturation:r,lightness:t,alpha:n}){e/=360,r/=100,t/=100;let o=0,i=0,a=0;if(!r)o=i=a=t;else{const u=t&lt;.5?t*(1+r):t+r-t*r,l=2*t-u;o=Jg(l,u,e+1/3),i=Jg(l,u,e),a=Jg(l,u,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:n}}function hm(e,r){return t=&gt;t&gt;0?r:e}const Ir=(e,r,t)=&gt;e+(r-e)*t,eb=(e,r,t)=&gt;{const n=e*e,o=t*(r*r-n)+n;return o&lt;0?0:Math.sqrt(o)},XP=[cy,sl,fc],GP=e=&gt;XP.find(r=&gt;r.test(e));function b3(e){const r=GP(e);if(!r)return!1;let t=r.parse(e);return r===fc&amp;&amp;(t=KP(t)),t}const x3=(e,r)=&gt;{const t=b3(e),n=b3(r);if(!t||!n)return hm(e,r);const o={...t};return i=&gt;(o.red=eb(t.red,n.red,i),o.green=eb(t.green,n.green,i),o.blue=eb(t.blue,n.blue,i),o.alpha=Ir(t.alpha,n.alpha,i),sl.transform(o))},uy=new Set([&quot;none&quot;,&quot;hidden&quot;]);function YP(e,r){return uy.has(e)?t=&gt;t&lt;=0?e:r:t=&gt;t&gt;=1?r:e}function ZP(e,r){return t=&gt;Ir(e,r,t)}function l1(e){return typeof e==&quot;number&quot;?ZP:typeof e==&quot;string&quot;?s1(e)?hm:Kr.test(e)?x3:eT:Array.isArray(e)?zN:typeof e==&quot;object&quot;?Kr.test(e)?x3:QP:hm}function zN(e,r){const t=[...e],n=t.length,o=e.map((i,a)=&gt;l1(i)(i,r[a]));return i=&gt;{for(let a=0;a&lt;n;a++)t[a]=o[a](i);return t}}function QP(e,r){const t={...e,...r},n={};for(const o in t)e[o]!==void 0&amp;&amp;r[o]!==void 0&amp;&amp;(n[o]=l1(e[o])(e[o],r[o]));return o=&gt;{for(const i in n)t[i]=n[i](o);return t}}function JP(e,r){const t=[],n={color:0,var:0,number:0};for(let o=0;o&lt;r.values.length;o++){const i=r.types[o],a=e.indexes[i][n[i]],u=e.values[a]??0;t[o]=u,n[i]++}return t}const eT=(e,r)=&gt;{const t=fo.createTransformer(r),n=nd(e),o=nd(r);return n.indexes.var.length===o.indexes.var.length&amp;&amp;n.indexes.color.length===o.indexes.color.length&amp;&amp;n.indexes.number.length&gt;=o.indexes.number.length?uy.has(e)&amp;&amp;!o.values.length||uy.has(r)&amp;&amp;!n.values.length?YP(e,r):Sd(zN(JP(n,o),o.values),t):hm(e,r)};function $N(e,r,t){return typeof e==&quot;number&quot;&amp;&amp;typeof r==&quot;number&quot;&amp;&amp;typeof t==&quot;number&quot;?Ir(e,r,t):l1(e)(e,r)}const tT=e=&gt;{const r=({timestamp:t})=&gt;e(t);return{start:(t=!0)=&gt;jr.update(r,t),stop:()=&gt;uo(r),now:()=&gt;kn.isProcessing?kn.timestamp:Hn.now()}},UN=(e,r,t=10)=&gt;{let n=&quot;&quot;;const o=Math.max(Math.round(r/t),2);for(let i=0;i&lt;o;i++)n+=Math.round(e(i/(o-1))*1e4)/1e4+&quot;, &quot;;return`linear(${n.substring(0,n.length-2)})`},mm=2e4;function c1(e){let r=0;const t=50;let n=e.next(r);for(;!n.done&amp;&amp;r&lt;mm;)r+=t,n=e.next(r);return r&gt;=mm?1/0:r}function rT(e,r=100,t){const n=t({...e,keyframes:[0,r]}),o=Math.min(c1(n),mm);return{type:&quot;keyframes&quot;,ease:i=&gt;n.next(o*i).value/r,duration:$i(o)}}const nT=5;function VN(e,r,t){const n=Math.max(r-nT,0);return wN(t-e(n),r-n)}const Fr={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},tb=.001;function iT({duration:e=Fr.duration,bounce:r=Fr.bounce,velocity:t=Fr.velocity,mass:n=Fr.mass}){let o,i,a=1-r;a=Ps(Fr.minDamping,Fr.maxDamping,a),e=Ps(Fr.minDuration,Fr.maxDuration,$i(e)),a&lt;1?(o=s=&gt;{const d=s*a,f=d*e,h=d-t,m=dy(s,a),p=Math.exp(-f);return tb-h/m*p},i=s=&gt;{const f=s*a*e,h=f*t+t,m=Math.pow(a,2)*Math.pow(s,2)*e,p=Math.exp(-f),b=dy(Math.pow(s,2),a);return(-o(s)+tb&gt;0?-1:1)*((h-m)*p)/b}):(o=s=&gt;{const d=Math.exp(-s*e),f=(s-t)*e+1;return-tb+d*f},i=s=&gt;{const d=Math.exp(-s*e),f=(t-s)*(e*e);return d*f});const u=5/e,l=aT(o,i,u);if(e=aa(e),isNaN(l))return{stiffness:Fr.stiffness,damping:Fr.damping,duration:e};{const s=Math.pow(l,2)*n;return{stiffness:s,damping:a*2*Math.sqrt(n*s),duration:e}}}const sT=12;function aT(e,r,t){let n=t;for(let o=1;o&lt;sT;o++)n=n-e(n)/r(n);return n}function dy(e,r){return e*Math.sqrt(1-r*r)}const oT=[&quot;duration&quot;,&quot;bounce&quot;],lT=[&quot;stiffness&quot;,&quot;damping&quot;,&quot;mass&quot;];function y3(e,r){return r.some(t=&gt;e[t]!==void 0)}function cT(e){let r={velocity:Fr.velocity,stiffness:Fr.stiffness,damping:Fr.damping,mass:Fr.mass,isResolvedFromDuration:!1,...e};if(!y3(e,lT)&amp;&amp;y3(e,oT))if(e.visualDuration){const t=e.visualDuration,n=2*Math.PI/(t*1.2),o=n*n,i=2*Ps(.05,1,1-(e.bounce||0))*Math.sqrt(o);r={...r,mass:Fr.mass,stiffness:o,damping:i}}else{const t=iT(e);r={...r,...t,mass:Fr.mass},r.isResolvedFromDuration=!0}return r}function pm(e=Fr.visualDuration,r=Fr.bounce){const t=typeof e!=&quot;object&quot;?{visualDuration:e,keyframes:[0,1],bounce:r}:e;let{restSpeed:n,restDelta:o}=t;const i=t.keyframes[0],a=t.keyframes[t.keyframes.length-1],u={done:!1,value:i},{stiffness:l,damping:s,mass:d,duration:f,velocity:h,isResolvedFromDuration:m}=cT({...t,velocity:-$i(t.velocity||0)}),p=h||0,b=s/(2*Math.sqrt(l*d)),g=a-i,y=$i(Math.sqrt(l/d)),v=Math.abs(g)&lt;5;n||(n=v?Fr.restSpeed.granular:Fr.restSpeed.default),o||(o=v?Fr.restDelta.granular:Fr.restDelta.default);let _;if(b&lt;1){const O=dy(y,b);_=T=&gt;{const V=Math.exp(-b*y*T);return a-V*((p+b*y*g)/O*Math.sin(O*T)+g*Math.cos(O*T))}}else if(b===1)_=O=&gt;a-Math.exp(-y*O)*(g+(p+y*g)*O);else{const O=y*Math.sqrt(b*b-1);_=T=&gt;{const V=Math.exp(-b*y*T),F=Math.min(O*T,300);return a-V*((p+b*y*g)*Math.sinh(F)+O*g*Math.cosh(F))/O}}const C={calculatedDuration:m&amp;&amp;f||null,next:O=&gt;{const T=_(O);if(m)u.done=O&gt;=f;else{let V=O===0?p:0;b&lt;1&amp;&amp;(V=O===0?aa(p):VN(_,O,T));const F=Math.abs(V)&lt;=n,H=Math.abs(a-T)&lt;=o;u.done=F&amp;&amp;H}return u.value=u.done?a:T,u},toString:()=&gt;{const O=Math.min(c1(C),mm),T=UN(V=&gt;C.next(O*V).value,O,30);return O+&quot;ms &quot;+T},toTransition:()=&gt;{}};return C}pm.applyToOptions=e=&gt;{const r=rT(e,100,pm);return e.ease=r.ease,e.duration=aa(r.duration),e.type=&quot;keyframes&quot;,e};function fy({keyframes:e,velocity:r=0,power:t=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:u,max:l,restDelta:s=.5,restSpeed:d}){const f=e[0],h={done:!1,value:f},m=F=&gt;u!==void 0&amp;&amp;F&lt;u||l!==void 0&amp;&amp;F&gt;l,p=F=&gt;u===void 0?l:l===void 0||Math.abs(u-F)&lt;Math.abs(l-F)?u:l;let b=t*r;const g=f+b,y=a===void 0?g:a(g);y!==g&amp;&amp;(b=y-f);const v=F=&gt;-b*Math.exp(-F/n),_=F=&gt;y+v(F),C=F=&gt;{const H=v(F),W=_(F);h.done=Math.abs(H)&lt;=s,h.value=h.done?y:W};let O,T;const V=F=&gt;{m(h.value)&amp;&amp;(O=F,T=pm({keyframes:[h.value,p(h.value)],velocity:VN(_,F,h.value),damping:o,stiffness:i,restDelta:s,restSpeed:d}))};return V(0),{calculatedDuration:null,next:F=&gt;{let H=!1;return!T&amp;&amp;O===void 0&amp;&amp;(H=!0,C(F),V(F)),O!==void 0&amp;&amp;F&gt;=O?T.next(F-O):(!H&amp;&amp;C(F),h)}}}function uT(e,r,t){const n=[],o=t||ca.mix||$N,i=e.length-1;for(let a=0;a&lt;i;a++){let u=o(e[a],e[a+1]);if(r){const l=Array.isArray(r)?r[a]||qi:r;u=Sd(l,u)}n.push(u)}return n}function dT(e,r,{clamp:t=!0,ease:n,mixer:o}={}){const i=e.length;if(e1(i===r.length),i===1)return()=&gt;r[0];if(i===2&amp;&amp;r[0]===r[1])return()=&gt;r[1];const a=e[0]===e[1];e[0]&gt;e[i-1]&amp;&amp;(e=[...e].reverse(),r=[...r].reverse());const u=uT(r,n,o),l=u.length,s=d=&gt;{if(a&amp;&amp;d&lt;e[0])return r[0];let f=0;if(l&gt;1)for(;f&lt;e.length-2&amp;&amp;!(d&lt;e[f+1]);f++);const h=td(e[f],e[f+1],d);return u[f](h)};return t?d=&gt;s(Ps(e[0],e[i-1],d)):s}function fT(e,r){const t=e[e.length-1];for(let n=1;n&lt;=r;n++){const o=td(0,r,n);e.push(Ir(t,1,o))}}function hT(e){const r=[0];return fT(r,e.length-1),r}function mT(e,r){return e.map(t=&gt;t*r)}function pT(e,r){return e.map(()=&gt;r||MN).splice(0,e.length-1)}function Ku({duration:e=300,keyframes:r,times:t,ease:n=&quot;easeInOut&quot;}){const o=NP(n)?n.map(h3):h3(n),i={done:!1,value:r[0]},a=mT(t&amp;&amp;t.length===r.length?t:hT(r),e),u=dT(a,r,{ease:Array.isArray(o)?o:pT(r,o)});return{calculatedDuration:e,next:l=&gt;(i.value=u(l),i.done=l&gt;=e,i)}}const gT=e=&gt;e!==null;function u1(e,{repeat:r,repeatType:t=&quot;loop&quot;},n,o=1){const i=e.filter(gT),u=o&lt;0||r&amp;&amp;t!==&quot;loop&quot;&amp;&amp;r%2===1?0:i.length-1;return!u||n===void 0?i[u]:n}const bT={decay:fy,inertia:fy,tween:Ku,keyframes:Ku,spring:pm};function qN(e){typeof e.type==&quot;string&quot;&amp;&amp;(e.type=bT[e.type])}class d1{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(r=&gt;{this.resolve=r})}notifyFinished(){this.resolve()}then(r,t){return this.finished.then(r,t)}}const xT=e=&gt;e/100;class f1 extends d1{constructor(r){super(),this.state=&quot;idle&quot;,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=&gt;{const{motionValue:t}=this.options;t&amp;&amp;t.updatedAt!==Hn.now()&amp;&amp;this.tick(Hn.now()),this.isStopped=!0,this.state!==&quot;idle&quot;&amp;&amp;(this.teardown(),this.options.onStop?.())},this.options=r,this.initAnimation(),this.play(),r.autoplay===!1&amp;&amp;this.pause()}initAnimation(){const{options:r}=this;qN(r);const{type:t=Ku,repeat:n=0,repeatDelay:o=0,repeatType:i,velocity:a=0}=r;let{keyframes:u}=r;const l=t||Ku;l!==Ku&amp;&amp;typeof u[0]!=&quot;number&quot;&amp;&amp;(this.mixKeyframes=Sd(xT,$N(u[0],u[1])),u=[0,100]);const s=l({...r,keyframes:u});i===&quot;mirror&quot;&amp;&amp;(this.mirroredGenerator=l({...r,keyframes:[...u].reverse(),velocity:-a})),s.calculatedDuration===null&amp;&amp;(s.calculatedDuration=c1(s));const{calculatedDuration:d}=s;this.calculatedDuration=d,this.resolvedDuration=d+o,this.totalDuration=this.resolvedDuration*(n+1)-o,this.generator=s}updateTime(r){const t=Math.round(r-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=t}tick(r,t=!1){const{generator:n,totalDuration:o,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:u,calculatedDuration:l}=this;if(this.startTime===null)return n.next(0);const{delay:s=0,keyframes:d,repeat:f,repeatType:h,repeatDelay:m,type:p,onUpdate:b,finalKeyframe:g}=this.options;this.speed&gt;0?this.startTime=Math.min(this.startTime,r):this.speed&lt;0&amp;&amp;(this.startTime=Math.min(r-o/this.speed,this.startTime)),t?this.currentTime=r:this.updateTime(r);const y=this.currentTime-s*(this.playbackSpeed&gt;=0?1:-1),v=this.playbackSpeed&gt;=0?y&lt;0:y&gt;o;this.currentTime=Math.max(y,0),this.state===&quot;finished&quot;&amp;&amp;this.holdTime===null&amp;&amp;(this.currentTime=o);let _=this.currentTime,C=n;if(f){const F=Math.min(this.currentTime,o)/u;let H=Math.floor(F),W=F%1;!W&amp;&amp;F&gt;=1&amp;&amp;(W=1),W===1&amp;&amp;H--,H=Math.min(H,f+1),H%2&amp;&amp;(h===&quot;reverse&quot;?(W=1-W,m&amp;&amp;(W-=m/u)):h===&quot;mirror&quot;&amp;&amp;(C=a)),_=Ps(0,1,W)*u}const O=v?{done:!1,value:d[0]}:C.next(_);i&amp;&amp;(O.value=i(O.value));let{done:T}=O;!v&amp;&amp;l!==null&amp;&amp;(T=this.playbackSpeed&gt;=0?this.currentTime&gt;=o:this.currentTime&lt;=0);const V=this.holdTime===null&amp;&amp;(this.state===&quot;finished&quot;||this.state===&quot;running&quot;&amp;&amp;T);return V&amp;&amp;p!==fy&amp;&amp;(O.value=u1(d,this.options,g,this.speed)),b&amp;&amp;b(O.value),V&amp;&amp;this.finish(),O}then(r,t){return this.finished.then(r,t)}get duration(){return $i(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+$i(r)}get time(){return $i(this.currentTime)}set time(r){r=aa(r),this.currentTime=r,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=r:this.driver&amp;&amp;(this.startTime=this.driver.now()-r/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(r){this.updateTime(Hn.now());const t=this.playbackSpeed!==r;this.playbackSpeed=r,t&amp;&amp;(this.time=$i(this.currentTime))}play(){if(this.isStopped)return;const{driver:r=tT,startTime:t}=this.options;this.driver||(this.driver=r(o=&gt;this.tick(o))),this.options.onPlay?.();const n=this.driver.now();this.state===&quot;finished&quot;?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),this.state===&quot;finished&quot;&amp;&amp;this.speed&lt;0&amp;&amp;(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=&quot;running&quot;,this.driver.start()}pause(){this.state=&quot;paused&quot;,this.updateTime(Hn.now()),this.holdTime=this.currentTime}complete(){this.state!==&quot;running&quot;&amp;&amp;this.play(),this.state=&quot;finished&quot;,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=&quot;finished&quot;,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=&quot;idle&quot;,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&amp;&amp;(this.driver.stop(),this.driver=void 0)}sample(r){return this.startTime=0,this.tick(r,!0)}attachTimeline(r){return this.options.allowFlatten&amp;&amp;(this.options.type=&quot;keyframes&quot;,this.options.ease=&quot;linear&quot;,this.initAnimation()),this.driver?.stop(),r.observe(this)}}function yT(e){for(let r=1;r&lt;e.length;r++)e[r]??(e[r]=e[r-1])}const al=e=&gt;e*180/Math.PI,hy=e=&gt;{const r=al(Math.atan2(e[1],e[0]));return my(r)},vT={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=&gt;(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:hy,rotateZ:hy,skewX:e=&gt;al(Math.atan(e[1])),skewY:e=&gt;al(Math.atan(e[2])),skew:e=&gt;(Math.abs(e[1])+Math.abs(e[2]))/2},my=e=&gt;(e=e%360,e&lt;0&amp;&amp;(e+=360),e),v3=hy,w3=e=&gt;Math.sqrt(e[0]*e[0]+e[1]*e[1]),_3=e=&gt;Math.sqrt(e[4]*e[4]+e[5]*e[5]),wT={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:w3,scaleY:_3,scale:e=&gt;(w3(e)+_3(e))/2,rotateX:e=&gt;my(al(Math.atan2(e[6],e[5]))),rotateY:e=&gt;my(al(Math.atan2(-e[2],e[0]))),rotateZ:v3,rotate:v3,skewX:e=&gt;al(Math.atan(e[4])),skewY:e=&gt;al(Math.atan(e[1])),skew:e=&gt;(Math.abs(e[1])+Math.abs(e[4]))/2};function py(e){return e.includes(&quot;scale&quot;)?1:0}function gy(e,r){if(!e||e===&quot;none&quot;)return py(r);const t=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,o;if(t)n=wT,o=t;else{const u=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=vT,o=u}if(!o)return py(r);const i=n[r],a=o[1].split(&quot;,&quot;).map(jT);return typeof i==&quot;function&quot;?i(a):a[i]}const _T=(e,r)=&gt;{const{transform:t=&quot;none&quot;}=getComputedStyle(e);return gy(t,r)};function jT(e){return parseFloat(e.trim())}const Rc=[&quot;transformPerspective&quot;,&quot;x&quot;,&quot;y&quot;,&quot;z&quot;,&quot;translateX&quot;,&quot;translateY&quot;,&quot;translateZ&quot;,&quot;scale&quot;,&quot;scaleX&quot;,&quot;scaleY&quot;,&quot;rotate&quot;,&quot;rotateX&quot;,&quot;rotateY&quot;,&quot;rotateZ&quot;,&quot;skew&quot;,&quot;skewX&quot;,&quot;skewY&quot;],Dc=new Set(Rc),j3=e=&gt;e===Ic||e===at,ST=new Set([&quot;x&quot;,&quot;y&quot;,&quot;z&quot;]),kT=Rc.filter(e=&gt;!ST.has(e));function NT(e){const r=[];return kT.forEach(t=&gt;{const n=e.getValue(t);n!==void 0&amp;&amp;(r.push([t,n.get()]),n.set(t.startsWith(&quot;scale&quot;)?1:0))}),r}const io={width:({x:e},{paddingLeft:r=&quot;0&quot;,paddingRight:t=&quot;0&quot;})=&gt;e.max-e.min-parseFloat(r)-parseFloat(t),height:({y:e},{paddingTop:r=&quot;0&quot;,paddingBottom:t=&quot;0&quot;})=&gt;e.max-e.min-parseFloat(r)-parseFloat(t),top:(e,{top:r})=&gt;parseFloat(r),left:(e,{left:r})=&gt;parseFloat(r),bottom:({y:e},{top:r})=&gt;parseFloat(r)+(e.max-e.min),right:({x:e},{left:r})=&gt;parseFloat(r)+(e.max-e.min),x:(e,{transform:r})=&gt;gy(r,&quot;x&quot;),y:(e,{transform:r})=&gt;gy(r,&quot;y&quot;)};io.translateX=io.x;io.translateY=io.y;const fl=new Set;let by=!1,xy=!1,yy=!1;function HN(){if(xy){const e=Array.from(fl).filter(n=&gt;n.needsMeasurement),r=new Set(e.map(n=&gt;n.element)),t=new Map;r.forEach(n=&gt;{const o=NT(n);o.length&amp;&amp;(t.set(n,o),n.render())}),e.forEach(n=&gt;n.measureInitialState()),r.forEach(n=&gt;{n.render();const o=t.get(n);o&amp;&amp;o.forEach(([i,a])=&gt;{n.getValue(i)?.set(a)})}),e.forEach(n=&gt;n.measureEndState()),e.forEach(n=&gt;{n.suspendedScrollY!==void 0&amp;&amp;window.scrollTo(0,n.suspendedScrollY)})}xy=!1,by=!1,fl.forEach(e=&gt;e.complete(yy)),fl.clear()}function WN(){fl.forEach(e=&gt;{e.readKeyframes(),e.needsMeasurement&amp;&amp;(xy=!0)})}function CT(){yy=!0,WN(),HN(),yy=!1}class h1{constructor(r,t,n,o,i,a=!1){this.state=&quot;pending&quot;,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=t,this.name=n,this.motionValue=o,this.element=i,this.isAsync=a}scheduleResolve(){this.state=&quot;scheduled&quot;,this.isAsync?(fl.add(this),by||(by=!0,jr.read(WN),jr.resolveKeyframes(HN))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:t,element:n,motionValue:o}=this;if(r[0]===null){const i=o?.get(),a=r[r.length-1];if(i!==void 0)r[0]=i;else if(n&amp;&amp;t){const u=n.readValue(t,a);u!=null&amp;&amp;(r[0]=u)}r[0]===void 0&amp;&amp;(r[0]=a),o&amp;&amp;i===void 0&amp;&amp;o.set(r[0])}yT(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state=&quot;complete&quot;,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),fl.delete(this)}cancel(){this.state===&quot;scheduled&quot;&amp;&amp;(fl.delete(this),this.state=&quot;pending&quot;)}resume(){this.state===&quot;pending&quot;&amp;&amp;this.scheduleResolve()}}const ET=e=&gt;e.startsWith(&quot;--&quot;);function AT(e,r,t){ET(r)?e.style.setProperty(r,t):e.style[r]=t}const MT=t1(()=&gt;window.ScrollTimeline!==void 0),OT={};function PT(e,r){const t=t1(e);return()=&gt;OT[r]??t()}const KN=PT(()=&gt;{try{document.createElement(&quot;div&quot;).animate({opacity:0},{easing:&quot;linear(0, 1)&quot;})}catch{return!1}return!0},&quot;linearEasing&quot;),$u=([e,r,t,n])=&gt;`cubic-bezier(${e}, ${r}, ${t}, ${n})`,S3={linear:&quot;linear&quot;,ease:&quot;ease&quot;,easeIn:&quot;ease-in&quot;,easeOut:&quot;ease-out&quot;,easeInOut:&quot;ease-in-out&quot;,circIn:$u([0,.65,.55,1]),circOut:$u([.55,0,1,.45]),backIn:$u([.31,.01,.66,-.59]),backOut:$u([.33,1.53,.69,.99])};function XN(e,r){if(e)return typeof e==&quot;function&quot;?KN()?UN(e,r):&quot;ease-out&quot;:ON(e)?$u(e):Array.isArray(e)?e.map(t=&gt;XN(t,r)||S3.easeOut):S3[e]}function TT(e,r,t,{delay:n=0,duration:o=300,repeat:i=0,repeatType:a=&quot;loop&quot;,ease:u=&quot;easeOut&quot;,times:l}={},s=void 0){const d={[r]:t};l&amp;&amp;(d.offset=l);const f=XN(u,o);Array.isArray(f)&amp;&amp;(d.easing=f);const h={delay:n,duration:o,easing:Array.isArray(f)?&quot;linear&quot;:f,fill:&quot;both&quot;,iterations:i+1,direction:a===&quot;reverse&quot;?&quot;alternate&quot;:&quot;normal&quot;};return s&amp;&amp;(h.pseudoElement=s),e.animate(d,h)}function GN(e){return typeof e==&quot;function&quot;&amp;&amp;&quot;applyToOptions&quot;in e}function IT({type:e,...r}){return GN(e)&amp;&amp;KN()?e.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease=&quot;easeOut&quot;),r)}class RT extends d1{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!r)return;const{element:t,name:n,keyframes:o,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:u,onComplete:l}=r;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=r,e1(typeof r.type!=&quot;string&quot;);const s=IT(r);this.animation=TT(t,n,o,s,i),s.autoplay===!1&amp;&amp;this.animation.pause(),this.animation.onfinish=()=&gt;{if(this.finishedTime=this.time,!i){const d=u1(o,this.options,u,this.speed);this.updateMotionValue?this.updateMotionValue(d):AT(t,n,d),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===&quot;finished&quot;&amp;&amp;this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:r}=this;r===&quot;idle&quot;||r===&quot;finished&quot;||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const r=this.animation.effect?.getComputedTiming?.().duration||0;return $i(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+$i(r)}get time(){return $i(Number(this.animation.currentTime)||0)}set time(r){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=aa(r)}get speed(){return this.animation.playbackRate}set speed(r){r&lt;0&amp;&amp;(this.finishedTime=null),this.animation.playbackRate=r}get state(){return this.finishedTime!==null?&quot;finished&quot;:this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(r){this.manualStartTime=this.animation.startTime=r}attachTimeline({timeline:r,observe:t}){return this.allowFlatten&amp;&amp;this.animation.effect?.updateTiming({easing:&quot;linear&quot;}),this.animation.onfinish=null,r&amp;&amp;MT()?(this.animation.timeline=r,qi):t(this)}}const YN={anticipate:CN,backInOut:NN,circInOut:AN};function DT(e){return e in YN}function LT(e){typeof e.ease==&quot;string&quot;&amp;&amp;DT(e.ease)&amp;&amp;(e.ease=YN[e.ease])}const rb=10;class FT extends RT{constructor(r){LT(r),qN(r),super(r),r.startTime!==void 0&amp;&amp;(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:t,onUpdate:n,onComplete:o,element:i,...a}=this.options;if(!t)return;if(r!==void 0){t.set(r);return}const u=new f1({...a,autoplay:!1}),l=Math.max(rb,Hn.now()-this.startTime),s=Ps(0,rb,l-rb);t.setWithVelocity(u.sample(Math.max(0,l-s)).value,u.sample(l).value,s),u.stop()}}const k3=(e,r)=&gt;r===&quot;zIndex&quot;?!1:!!(typeof e==&quot;number&quot;||Array.isArray(e)||typeof e==&quot;string&quot;&amp;&amp;(fo.test(e)||e===&quot;0&quot;)&amp;&amp;!e.startsWith(&quot;url(&quot;));function BT(e){const r=e[0];if(e.length===1)return!0;for(let t=0;t&lt;e.length;t++)if(e[t]!==r)return!0}function zT(e,r,t,n){const o=e[0];if(o===null)return!1;if(r===&quot;display&quot;||r===&quot;visibility&quot;)return!0;const i=e[e.length-1],a=k3(o,r),u=k3(i,r);return!a||!u?!1:BT(e)||(t===&quot;spring&quot;||GN(t))&amp;&amp;n}function vy(e){e.duration=0,e.type=&quot;keyframes&quot;}const $T=new Set([&quot;opacity&quot;,&quot;clipPath&quot;,&quot;filter&quot;,&quot;transform&quot;]),UT=t1(()=&gt;Object.hasOwnProperty.call(Element.prototype,&quot;animate&quot;));function VT(e){const{motionValue:r,name:t,repeatDelay:n,repeatType:o,damping:i,type:a}=e;if(!(r?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:s}=r.owner.getProps();return UT()&amp;&amp;t&amp;&amp;$T.has(t)&amp;&amp;(t!==&quot;transform&quot;||!s)&amp;&amp;!l&amp;&amp;!n&amp;&amp;o!==&quot;mirror&quot;&amp;&amp;i!==0&amp;&amp;a!==&quot;inertia&quot;}const qT=40;class HT extends d1{constructor({autoplay:r=!0,delay:t=0,type:n=&quot;keyframes&quot;,repeat:o=0,repeatDelay:i=0,repeatType:a=&quot;loop&quot;,keyframes:u,name:l,motionValue:s,element:d,...f}){super(),this.stop=()=&gt;{this._animation&amp;&amp;(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Hn.now();const h={autoplay:r,delay:t,type:n,repeat:o,repeatDelay:i,repeatType:a,name:l,motionValue:s,element:d,...f},m=d?.KeyframeResolver||h1;this.keyframeResolver=new m(u,(p,b,g)=&gt;this.onKeyframesResolved(p,b,h,!g),l,s,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(r,t,n,o){this.keyframeResolver=void 0;const{name:i,type:a,velocity:u,delay:l,isHandoff:s,onUpdate:d}=n;this.resolvedAt=Hn.now(),zT(r,i,a,u)||((ca.instantAnimations||!l)&amp;&amp;d?.(u1(r,n,t)),r[0]=r[r.length-1],vy(n),n.repeat=0);const h={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt&gt;qT?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:r},m=!s&amp;&amp;VT(h),p=h.motionValue?.owner?.current,b=m?new FT({...h,element:p}):new f1(h);b.finished.then(()=&gt;{this.notifyFinished()}).catch(qi),this.pendingTimeline&amp;&amp;(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(r,t){return this.finished.finally(r).then(()=&gt;{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),CT()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(r){this.animation.time=r}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(r){this.animation.speed=r}get startTime(){return this.animation.startTime}attachTimeline(r){return this._animation?this.stopTimeline=this.animation.attachTimeline(r):this.pendingTimeline=r,()=&gt;this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&amp;&amp;this.animation.cancel(),this.keyframeResolver?.cancel()}}function ZN(e,r,t,n=0,o=1){const i=Array.from(e).sort((s,d)=&gt;s.sortNodePosition(d)).indexOf(r),a=e.size,u=(a-1)*n;return typeof t==&quot;function&quot;?t(i,a):o===1?i*n:u-i*n}const WT=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function KT(e){const r=WT.exec(e);if(!r)return[,];const[,t,n,o]=r;return[`--${t??n}`,o]}function QN(e,r,t=1){const[n,o]=KT(e);if(!n)return;const i=window.getComputedStyle(r).getPropertyValue(n);if(i){const a=i.trim();return xN(a)?parseFloat(a):a}return s1(o)?QN(o,r,t+1):o}const XT={type:&quot;spring&quot;,stiffness:500,damping:25,restSpeed:10},GT=e=&gt;({type:&quot;spring&quot;,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),YT={type:&quot;keyframes&quot;,duration:.8},ZT={type:&quot;keyframes&quot;,ease:[.25,.1,.35,1],duration:.3},QT=(e,{keyframes:r})=&gt;r.length&gt;2?YT:Dc.has(e)?e.startsWith(&quot;scale&quot;)?GT(r[1]):XT:ZT,JT=e=&gt;e!==null;function eI(e,{repeat:r,repeatType:t=&quot;loop&quot;},n){const o=e.filter(JT),i=r&amp;&amp;t!==&quot;loop&quot;&amp;&amp;r%2===1?0:o.length-1;return o[i]}function m1(e,r){return e?.[r]??e?.default??e}function tI({when:e,delay:r,delayChildren:t,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:u,from:l,elapsed:s,...d}){return!!Object.keys(d).length}const p1=(e,r,t,n={},o,i)=&gt;a=&gt;{const u=m1(n,e)||{},l=u.delay||n.delay||0;let{elapsed:s=0}=n;s=s-aa(l);const d={keyframes:Array.isArray(t)?t:[null,t],ease:&quot;easeOut&quot;,velocity:r.getVelocity(),...u,delay:-s,onUpdate:h=&gt;{r.set(h),u.onUpdate&amp;&amp;u.onUpdate(h)},onComplete:()=&gt;{a(),u.onComplete&amp;&amp;u.onComplete()},name:e,motionValue:r,element:i?void 0:o};tI(u)||Object.assign(d,QT(e,d)),d.duration&amp;&amp;(d.duration=aa(d.duration)),d.repeatDelay&amp;&amp;(d.repeatDelay=aa(d.repeatDelay)),d.from!==void 0&amp;&amp;(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&amp;&amp;!d.repeatDelay)&amp;&amp;(vy(d),d.delay===0&amp;&amp;(f=!0)),(ca.instantAnimations||ca.skipAnimations)&amp;&amp;(f=!0,vy(d),d.delay=0),d.allowFlatten=!u.type&amp;&amp;!u.ease,f&amp;&amp;!i&amp;&amp;r.get()!==void 0){const h=eI(d.keyframes,u);if(h!==void 0){jr.update(()=&gt;{d.onUpdate(h),d.onComplete()});return}}return u.isSync?new f1(d):new HT(d)};function N3(e){const r=[{},{}];return e?.values.forEach((t,n)=&gt;{r[0][n]=t.get(),r[1][n]=t.getVelocity()}),r}function g1(e,r,t,n){if(typeof r==&quot;function&quot;){const[o,i]=N3(n);r=r(t!==void 0?t:e.custom,o,i)}if(typeof r==&quot;string&quot;&amp;&amp;(r=e.variants&amp;&amp;e.variants[r]),typeof r==&quot;function&quot;){const[o,i]=N3(n);r=r(t!==void 0?t:e.custom,o,i)}return r}function xc(e,r,t){const n=e.getProps();return g1(n,r,t!==void 0?t:n.custom,e)}const JN=new Set([&quot;width&quot;,&quot;height&quot;,&quot;top&quot;,&quot;left&quot;,&quot;right&quot;,&quot;bottom&quot;,...Rc]),C3=30,rI=e=&gt;!isNaN(parseFloat(e));class nI{constructor(r,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=&gt;{const o=Hn.now();if(this.updatedAt!==o&amp;&amp;this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&amp;&amp;(this.events.change?.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(r),this.owner=t.owner}setCurrent(r){this.current=r,this.updatedAt=Hn.now(),this.canTrackVelocity===null&amp;&amp;r!==void 0&amp;&amp;(this.canTrackVelocity=rI(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return this.on(&quot;change&quot;,r)}on(r,t){this.events[r]||(this.events[r]=new r1);const n=this.events[r].add(t);return r===&quot;change&quot;?()=&gt;{n(),jr.read(()=&gt;{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,t){this.passiveEffect=r,this.stopPassiveEffect=t}set(r){this.passiveEffect?this.passiveEffect(r,this.updateAndNotify):this.updateAndNotify(r)}setWithVelocity(r,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-n}jump(r,t=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,t&amp;&amp;this.stop(),this.stopPassiveEffect&amp;&amp;this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(r){this.dependents||(this.dependents=new Set),this.dependents.add(r)}removeDependent(r){this.dependents&amp;&amp;this.dependents.delete(r)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=Hn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt&gt;C3)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,C3);return wN(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(r){return this.stop(),new Promise(t=&gt;{this.hasAnimated=!0,this.animation=r(t),this.events.animationStart&amp;&amp;this.events.animationStart.notify()}).then(()=&gt;{this.events.animationComplete&amp;&amp;this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&amp;&amp;(this.animation.stop(),this.events.animationCancel&amp;&amp;this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&amp;&amp;this.stopPassiveEffect()}}function wc(e,r){return new nI(e,r)}const wy=e=&gt;Array.isArray(e);function iI(e,r,t){e.hasValue(r)?e.getValue(r).set(t):e.addValue(r,wc(t))}function sI(e){return wy(e)?e[e.length-1]||0:e}function aI(e,r){const t=xc(e,r);let{transitionEnd:n={},transition:o={},...i}=t||{};i={...i,...n};for(const a in i){const u=sI(i[a]);iI(e,a,u)}}const Fn=e=&gt;!!(e&amp;&amp;e.getVelocity);function oI(e){return!!(Fn(e)&amp;&amp;e.add)}function _y(e,r){const t=e.getValue(&quot;willChange&quot;);if(oI(t))return t.add(r);if(!t&amp;&amp;ca.WillChange){const n=new ca.WillChange(&quot;auto&quot;);e.addValue(&quot;willChange&quot;,n),n.add(r)}}function b1(e){return e.replace(/([A-Z])/g,r=&gt;`-${r.toLowerCase()}`)}const lI=&quot;framerAppearId&quot;,e8=&quot;data-&quot;+b1(lI);function t8(e){return e.props[e8]}function cI({protectedKeys:e,needsAnimating:r},t){const n=e.hasOwnProperty(t)&amp;&amp;r[t]!==!0;return r[t]=!1,n}function r8(e,r,{delay:t=0,transitionOverride:n,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...u}=r;n&amp;&amp;(i=n);const l=[],s=o&amp;&amp;e.animationState&amp;&amp;e.animationState.getState()[o];for(const d in u){const f=e.getValue(d,e.latestValues[d]??null),h=u[d];if(h===void 0||s&amp;&amp;cI(s,d))continue;const m={delay:t,...m1(i||{},d)},p=f.get();if(p!==void 0&amp;&amp;!f.isAnimating&amp;&amp;!Array.isArray(h)&amp;&amp;h===p&amp;&amp;!m.velocity)continue;let b=!1;if(window.MotionHandoffAnimation){const y=t8(e);if(y){const v=window.MotionHandoffAnimation(y,d,jr);v!==null&amp;&amp;(m.startTime=v,b=!0)}}_y(e,d),f.start(p1(d,f,h,e.shouldReduceMotion&amp;&amp;JN.has(d)?{type:!1}:m,e,b));const g=f.animation;g&amp;&amp;l.push(g)}return a&amp;&amp;Promise.all(l).then(()=&gt;{jr.update(()=&gt;{a&amp;&amp;aI(e,a)})}),l}function jy(e,r,t={}){const n=xc(e,r,t.type===&quot;exit&quot;?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=n||{};t.transitionOverride&amp;&amp;(o=t.transitionOverride);const i=n?()=&gt;Promise.all(r8(e,n,t)):()=&gt;Promise.resolve(),a=e.variantChildren&amp;&amp;e.variantChildren.size?(l=0)=&gt;{const{delayChildren:s=0,staggerChildren:d,staggerDirection:f}=o;return uI(e,r,l,s,d,f,t)}:()=&gt;Promise.resolve(),{when:u}=o;if(u){const[l,s]=u===&quot;beforeChildren&quot;?[i,a]:[a,i];return l().then(()=&gt;s())}else return Promise.all([i(),a(t.delay)])}function uI(e,r,t=0,n=0,o=0,i=1,a){const u=[];for(const l of e.variantChildren)l.notify(&quot;AnimationStart&quot;,r),u.push(jy(l,r,{...a,delay:t+(typeof n==&quot;function&quot;?0:n)+ZN(e.variantChildren,l,n,o,i)}).then(()=&gt;l.notify(&quot;AnimationComplete&quot;,r)));return Promise.all(u)}function dI(e,r,t={}){e.notify(&quot;AnimationStart&quot;,r);let n;if(Array.isArray(r)){const o=r.map(i=&gt;jy(e,i,t));n=Promise.all(o)}else if(typeof r==&quot;string&quot;)n=jy(e,r,t);else{const o=typeof r==&quot;function&quot;?xc(e,r,t.custom):r;n=Promise.all(r8(e,o,t))}return n.then(()=&gt;{e.notify(&quot;AnimationComplete&quot;,r)})}const fI={test:e=&gt;e===&quot;auto&quot;,parse:e=&gt;e},n8=e=&gt;r=&gt;r.test(e),i8=[Ic,at,Ms,Ja,BP,FP,fI],E3=e=&gt;i8.find(n8(e));function hI(e){return typeof e==&quot;number&quot;?e===0:e!==null?e===&quot;none&quot;||e===&quot;0&quot;||vN(e):!0}const mI=new Set([&quot;brightness&quot;,&quot;contrast&quot;,&quot;saturate&quot;,&quot;opacity&quot;]);function pI(e){const[r,t]=e.slice(0,-1).split(&quot;(&quot;);if(r===&quot;drop-shadow&quot;)return e;const[n]=t.match(a1)||[];if(!n)return e;const o=t.replace(n,&quot;&quot;);let i=mI.has(r)?1:0;return n!==t&amp;&amp;(i*=100),r+&quot;(&quot;+i+o+&quot;)&quot;}const gI=/\b([a-z-]*)\(.*?\)/gu,Sy={...fo,getAnimatableNone:e=&gt;{const r=e.match(gI);return r?r.map(pI).join(&quot; &quot;):e}},A3={...Ic,transform:Math.round},bI={rotate:Ja,rotateX:Ja,rotateY:Ja,rotateZ:Ja,scale:Sh,scaleX:Sh,scaleY:Sh,scaleZ:Sh,skew:Ja,skewX:Ja,skewY:Ja,distance:at,translateX:at,translateY:at,translateZ:at,x:at,y:at,z:at,perspective:at,transformPerspective:at,opacity:rd,originX:p3,originY:p3,originZ:at},x1={borderWidth:at,borderTopWidth:at,borderRightWidth:at,borderBottomWidth:at,borderLeftWidth:at,borderRadius:at,radius:at,borderTopLeftRadius:at,borderTopRightRadius:at,borderBottomRightRadius:at,borderBottomLeftRadius:at,width:at,maxWidth:at,height:at,maxHeight:at,top:at,right:at,bottom:at,left:at,inset:at,insetBlock:at,insetBlockStart:at,insetBlockEnd:at,insetInline:at,insetInlineStart:at,insetInlineEnd:at,padding:at,paddingTop:at,paddingRight:at,paddingBottom:at,paddingLeft:at,paddingBlock:at,paddingBlockStart:at,paddingBlockEnd:at,paddingInline:at,paddingInlineStart:at,paddingInlineEnd:at,margin:at,marginTop:at,marginRight:at,marginBottom:at,marginLeft:at,marginBlock:at,marginBlockStart:at,marginBlockEnd:at,marginInline:at,marginInlineStart:at,marginInlineEnd:at,backgroundPositionX:at,backgroundPositionY:at,...bI,zIndex:A3,fillOpacity:rd,strokeOpacity:rd,numOctaves:A3},xI={...x1,color:Kr,backgroundColor:Kr,outlineColor:Kr,fill:Kr,stroke:Kr,borderColor:Kr,borderTopColor:Kr,borderRightColor:Kr,borderBottomColor:Kr,borderLeftColor:Kr,filter:Sy,WebkitFilter:Sy},s8=e=&gt;xI[e];function a8(e,r){let t=s8(e);return t!==Sy&amp;&amp;(t=fo),t.getAnimatableNone?t.getAnimatableNone(r):void 0}const yI=new Set([&quot;auto&quot;,&quot;none&quot;,&quot;0&quot;]);function vI(e,r,t){let n=0,o;for(;n&lt;e.length&amp;&amp;!o;){const i=e[n];typeof i==&quot;string&quot;&amp;&amp;!yI.has(i)&amp;&amp;nd(i).values.length&amp;&amp;(o=e[n]),n++}if(o&amp;&amp;t)for(const i of r)e[i]=a8(t,o)}class wI extends h1{constructor(r,t,n,o,i){super(r,t,n,o,i,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let d=0;d&lt;r.length;d++){let f=r[d];if(typeof f==&quot;string&quot;&amp;&amp;(f=f.trim(),s1(f))){const h=QN(f,t.current);h!==void 0&amp;&amp;(r[d]=h),d===r.length-1&amp;&amp;(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!JN.has(n)||r.length!==2)return;const[o,i]=r,a=E3(o),u=E3(i),l=m3(o),s=m3(i);if(l!==s&amp;&amp;io[n]){this.needsMeasurement=!0;return}if(a!==u)if(j3(a)&amp;&amp;j3(u))for(let d=0;d&lt;r.length;d++){const f=r[d];typeof f==&quot;string&quot;&amp;&amp;(r[d]=parseFloat(f))}else io[n]&amp;&amp;(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:t}=this,n=[];for(let o=0;o&lt;r.length;o++)(r[o]===null||hI(r[o]))&amp;&amp;n.push(o);n.length&amp;&amp;vI(r,n,t)}measureInitialState(){const{element:r,unresolvedKeyframes:t,name:n}=this;if(!r||!r.current)return;n===&quot;height&quot;&amp;&amp;(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=io[n](r.measureViewportBox(),window.getComputedStyle(r.current)),t[0]=this.measuredOrigin;const o=t[t.length-1];o!==void 0&amp;&amp;r.getValue(n,o).jump(o,!1)}measureEndState(){const{element:r,name:t,unresolvedKeyframes:n}=this;if(!r||!r.current)return;const o=r.getValue(t);o&amp;&amp;o.jump(this.measuredOrigin,!1);const i=n.length-1,a=n[i];n[i]=io[t](r.measureViewportBox(),window.getComputedStyle(r.current)),a!==null&amp;&amp;this.finalKeyframe===void 0&amp;&amp;(this.finalKeyframe=a),this.removedTransforms?.length&amp;&amp;this.removedTransforms.forEach(([u,l])=&gt;{r.getValue(u).set(l)}),this.resolveNoneKeyframes()}}function _I(e,r,t){if(e instanceof EventTarget)return[e];if(typeof e==&quot;string&quot;){let n=document;const o=t?.[e]??n.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}const o8=(e,r)=&gt;r&amp;&amp;typeof e==&quot;number&quot;?r.transform(e):e;function l8(e){return yN(e)&amp;&amp;&quot;offsetHeight&quot;in e}const{schedule:y1}=PN(queueMicrotask,!1),ls={x:!1,y:!1};function c8(){return ls.x||ls.y}function jI(e){return e===&quot;x&quot;||e===&quot;y&quot;?ls[e]?null:(ls[e]=!0,()=&gt;{ls[e]=!1}):ls.x||ls.y?null:(ls.x=ls.y=!0,()=&gt;{ls.x=ls.y=!1})}function u8(e,r){const t=_I(e),n=new AbortController,o={passive:!0,...r,signal:n.signal};return[t,o,()=&gt;n.abort()]}function M3(e){return!(e.pointerType===&quot;touch&quot;||c8())}function SI(e,r,t={}){const[n,o,i]=u8(e,t),a=u=&gt;{if(!M3(u))return;const{target:l}=u,s=r(l,u);if(typeof s!=&quot;function&quot;||!l)return;const d=f=&gt;{M3(f)&amp;&amp;(s(f),l.removeEventListener(&quot;pointerleave&quot;,d))};l.addEventListener(&quot;pointerleave&quot;,d,o)};return n.forEach(u=&gt;{u.addEventListener(&quot;pointerenter&quot;,a,o)}),i}const d8=(e,r)=&gt;r?e===r?!0:d8(e,r.parentElement):!1,v1=e=&gt;e.pointerType===&quot;mouse&quot;?typeof e.button!=&quot;number&quot;||e.button&lt;=0:e.isPrimary!==!1,kI=new Set([&quot;BUTTON&quot;,&quot;INPUT&quot;,&quot;SELECT&quot;,&quot;TEXTAREA&quot;,&quot;A&quot;]);function f8(e){return kI.has(e.tagName)||e.isContentEditable===!0}const Jh=new WeakSet;function O3(e){return r=&gt;{r.key===&quot;Enter&quot;&amp;&amp;e(r)}}function nb(e,r){e.dispatchEvent(new PointerEvent(&quot;pointer&quot;+r,{isPrimary:!0,bubbles:!0}))}const NI=(e,r)=&gt;{const t=e.currentTarget;if(!t)return;const n=O3(()=&gt;{if(Jh.has(t))return;nb(t,&quot;down&quot;);const o=O3(()=&gt;{nb(t,&quot;up&quot;)}),i=()=&gt;nb(t,&quot;cancel&quot;);t.addEventListener(&quot;keyup&quot;,o,r),t.addEventListener(&quot;blur&quot;,i,r)});t.addEventListener(&quot;keydown&quot;,n,r),t.addEventListener(&quot;blur&quot;,()=&gt;t.removeEventListener(&quot;keydown&quot;,n),r)};function P3(e){return v1(e)&amp;&amp;!c8()}function CI(e,r,t={}){const[n,o,i]=u8(e,t),a=u=&gt;{const l=u.currentTarget;if(!P3(u))return;Jh.add(l);const s=r(l,u),d=(m,p)=&gt;{window.removeEventListener(&quot;pointerup&quot;,f),window.removeEventListener(&quot;pointercancel&quot;,h),Jh.has(l)&amp;&amp;Jh.delete(l),P3(m)&amp;&amp;typeof s==&quot;function&quot;&amp;&amp;s(m,{success:p})},f=m=&gt;{d(m,l===window||l===document||t.useGlobalTarget||d8(l,m.target))},h=m=&gt;{d(m,!1)};window.addEventListener(&quot;pointerup&quot;,f,o),window.addEventListener(&quot;pointercancel&quot;,h,o)};return n.forEach(u=&gt;{(t.useGlobalTarget?window:u).addEventListener(&quot;pointerdown&quot;,a,o),l8(u)&amp;&amp;(u.addEventListener(&quot;focus&quot;,s=&gt;NI(s,o)),!f8(u)&amp;&amp;!u.hasAttribute(&quot;tabindex&quot;)&amp;&amp;(u.tabIndex=0))}),i}function h8(e){return yN(e)&amp;&amp;&quot;ownerSVGElement&quot;in e}function EI(e){return h8(e)&amp;&amp;e.tagName===&quot;svg&quot;}const AI=[...i8,Kr,fo],MI=e=&gt;AI.find(n8(e)),T3=()=&gt;({translate:0,scale:1,origin:0,originPoint:0}),hc=()=&gt;({x:T3(),y:T3()}),I3=()=&gt;({min:0,max:0}),tn=()=&gt;({x:I3(),y:I3()}),ky={current:null},m8={current:!1},OI=typeof window&lt;&quot;u&quot;;function PI(){if(m8.current=!0,!!OI)if(window.matchMedia){const e=window.matchMedia(&quot;(prefers-reduced-motion)&quot;),r=()=&gt;ky.current=e.matches;e.addEventListener(&quot;change&quot;,r),r()}else ky.current=!1}const TI=new WeakMap;function _p(e){return e!==null&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;typeof e.start==&quot;function&quot;}function id(e){return typeof e==&quot;string&quot;||Array.isArray(e)}const w1=[&quot;animate&quot;,&quot;whileInView&quot;,&quot;whileFocus&quot;,&quot;whileHover&quot;,&quot;whileTap&quot;,&quot;whileDrag&quot;,&quot;exit&quot;],_1=[&quot;initial&quot;,...w1];function jp(e){return _p(e.animate)||_1.some(r=&gt;id(e[r]))}function p8(e){return!!(jp(e)||e.variants)}function II(e,r,t){for(const n in r){const o=r[n],i=t[n];if(Fn(o))e.addValue(n,o);else if(Fn(i))e.addValue(n,wc(o,{owner:e}));else if(i!==o)if(e.hasValue(n)){const a=e.getValue(n);a.liveStyle===!0?a.jump(o):a.hasAnimated||a.set(o)}else{const a=e.getStaticValue(n);e.addValue(n,wc(a!==void 0?a:o,{owner:e}))}}for(const n in t)r[n]===void 0&amp;&amp;e.removeValue(n);return r}const R3=[&quot;AnimationStart&quot;,&quot;AnimationComplete&quot;,&quot;Update&quot;,&quot;BeforeLayoutMeasure&quot;,&quot;LayoutMeasure&quot;,&quot;LayoutAnimationStart&quot;,&quot;LayoutAnimationComplete&quot;];let gm={};function g8(e){gm=e}function RI(){return gm}class DI{scrapeMotionValuesFromProps(r,t,n){return{}}constructor({parent:r,props:t,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:i,visualState:a},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=h1,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=&gt;this.notify(&quot;Update&quot;,this.latestValues),this.render=()=&gt;{this.current&amp;&amp;(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=&gt;{const h=Hn.now();this.renderScheduledAt&lt;h&amp;&amp;(this.renderScheduledAt=h,jr.render(this.render,!1,!0))};const{latestValues:l,renderState:s}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=s,this.parent=r,this.props=t,this.presenceContext=n,this.depth=r?r.depth+1:0,this.reducedMotionConfig=o,this.options=u,this.blockInitialAnimation=!!i,this.isControllingVariants=jp(t),this.isVariantNode=p8(t),this.isVariantNode&amp;&amp;(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&amp;&amp;r.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(t,{},this);for(const h in f){const m=f[h];l[h]!==void 0&amp;&amp;Fn(m)&amp;&amp;m.set(l[h])}}mount(r){this.current=r,TI.set(r,this),this.projection&amp;&amp;!this.projection.instance&amp;&amp;this.projection.mount(r),this.parent&amp;&amp;this.isVariantNode&amp;&amp;!this.isControllingVariants&amp;&amp;(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,n)=&gt;this.bindToMotionValue(n,t)),this.reducedMotionConfig===&quot;never&quot;?this.shouldReduceMotion=!1:this.reducedMotionConfig===&quot;always&quot;?this.shouldReduceMotion=!0:(m8.current||PI(),this.shouldReduceMotion=ky.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&amp;&amp;this.projection.unmount(),uo(this.notifyUpdate),uo(this.render),this.valueSubscriptions.forEach(r=&gt;r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&amp;&amp;this.removeFromVariantTree(),this.parent?.removeChild(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const t=this.features[r];t&amp;&amp;(t.unmount(),t.isMounted=!1)}this.current=null}addChild(r){this.children.add(r),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(r)}removeChild(r){this.children.delete(r),this.enteringChildren&amp;&amp;this.enteringChildren.delete(r)}bindToMotionValue(r,t){this.valueSubscriptions.has(r)&amp;&amp;this.valueSubscriptions.get(r)();const n=Dc.has(r);n&amp;&amp;this.onBindTransform&amp;&amp;this.onBindTransform();const o=t.on(&quot;change&quot;,a=&gt;{this.latestValues[r]=a,this.props.onUpdate&amp;&amp;jr.preRender(this.notifyUpdate),n&amp;&amp;this.projection&amp;&amp;(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;typeof window&lt;&quot;u&quot;&amp;&amp;window.MotionCheckAppearSync&amp;&amp;(i=window.MotionCheckAppearSync(this,r,t)),this.valueSubscriptions.set(r,()=&gt;{o(),i&amp;&amp;i(),t.owner&amp;&amp;t.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r=&quot;animation&quot;;for(r in gm){const t=gm[r];if(!t)continue;const{isEnabled:n,Feature:o}=t;if(!this.features[r]&amp;&amp;o&amp;&amp;n(this.props)&amp;&amp;(this.features[r]=new o(this)),this.features[r]){const i=this.features[r];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tn()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,t){this.latestValues[r]=t}update(r,t){(r.transformTemplate||this.props.transformTemplate)&amp;&amp;this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let n=0;n&lt;R3.length;n++){const o=R3[n];this.propEventSubscriptions[o]&amp;&amp;(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const i=&quot;on&quot;+o,a=r[i];a&amp;&amp;(this.propEventSubscriptions[o]=this.on(o,a))}this.prevMotionValues=II(this,this.scrapeMotionValuesFromProps(r,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&amp;&amp;this.handleChildMotionValue()}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(r){const t=this.getClosestVariantNode();if(t)return t.variantChildren&amp;&amp;t.variantChildren.add(r),()=&gt;t.variantChildren.delete(r)}addValue(r,t){const n=this.values.get(r);t!==n&amp;&amp;(n&amp;&amp;this.removeValue(r),this.bindToMotionValue(r,t),this.values.set(r,t),this.latestValues[r]=t.get())}removeValue(r){this.values.delete(r);const t=this.valueSubscriptions.get(r);t&amp;&amp;(t(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,t){if(this.props.values&amp;&amp;this.props.values[r])return this.props.values[r];let n=this.values.get(r);return n===void 0&amp;&amp;t!==void 0&amp;&amp;(n=wc(t===null?void 0:t,{owner:this}),this.addValue(r,n)),n}readValue(r,t){let n=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:this.getBaseTargetFromProps(this.props,r)??this.readValueFromInstance(this.current,r,this.options);return n!=null&amp;&amp;(typeof n==&quot;string&quot;&amp;&amp;(xN(n)||vN(n))?n=parseFloat(n):!MI(n)&amp;&amp;fo.test(t)&amp;&amp;(n=a8(r,t)),this.setBaseTarget(r,Fn(n)?n.get():n)),Fn(n)?n.get():n}setBaseTarget(r,t){this.baseTarget[r]=t}getBaseTarget(r){const{initial:t}=this.props;let n;if(typeof t==&quot;string&quot;||typeof t==&quot;object&quot;){const i=g1(this.props,t,this.presenceContext?.custom);i&amp;&amp;(n=i[r])}if(t&amp;&amp;n!==void 0)return n;const o=this.getBaseTargetFromProps(this.props,r);return o!==void 0&amp;&amp;!Fn(o)?o:this.initialValues[r]!==void 0&amp;&amp;n===void 0?void 0:this.baseTarget[r]}on(r,t){return this.events[r]||(this.events[r]=new r1),this.events[r].add(t)}notify(r,...t){this.events[r]&amp;&amp;this.events[r].notify(...t)}scheduleRenderMicrotask(){y1.render(this.render)}}class b8 extends DI{constructor(){super(...arguments),this.KeyframeResolver=wI}sortInstanceNodePosition(r,t){return r.compareDocumentPosition(t)&amp;2?1:-1}getBaseTargetFromProps(r,t){const n=r.style;return n?n[t]:void 0}removeValueFromRenderState(r,{vars:t,style:n}){delete t[r],delete n[r]}handleChildMotionValue(){this.childSubscription&amp;&amp;(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;Fn(r)&amp;&amp;(this.childSubscription=r.on(&quot;change&quot;,t=&gt;{this.current&amp;&amp;(this.current.textContent=`${t}`)}))}}class vo{constructor(r){this.isMounted=!1,this.node=r}update(){}}function x8({top:e,left:r,right:t,bottom:n}){return{x:{min:r,max:t},y:{min:e,max:n}}}function LI({x:e,y:r}){return{top:r.min,right:e.max,bottom:r.max,left:e.min}}function FI(e,r){if(!r)return e;const t=r({x:e.left,y:e.top}),n=r({x:e.right,y:e.bottom});return{top:t.y,left:t.x,bottom:n.y,right:n.x}}function ib(e){return e===void 0||e===1}function Ny({scale:e,scaleX:r,scaleY:t}){return!ib(e)||!ib(r)||!ib(t)}function el(e){return Ny(e)||y8(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function y8(e){return D3(e.x)||D3(e.y)}function D3(e){return e&amp;&amp;e!==&quot;0%&quot;}function bm(e,r,t){const n=e-t,o=r*n;return t+o}function L3(e,r,t,n,o){return o!==void 0&amp;&amp;(e=bm(e,o,n)),bm(e,t,n)+r}function Cy(e,r=0,t=1,n,o){e.min=L3(e.min,r,t,n,o),e.max=L3(e.max,r,t,n,o)}function v8(e,{x:r,y:t}){Cy(e.x,r.translate,r.scale,r.originPoint),Cy(e.y,t.translate,t.scale,t.originPoint)}const F3=.999999999999,B3=1.0000000000001;function BI(e,r,t,n=!1){const o=t.length;if(!o)return;r.x=r.y=1;let i,a;for(let u=0;u&lt;o;u++){i=t[u],a=i.projectionDelta;const{visualElement:l}=i.options;l&amp;&amp;l.props.style&amp;&amp;l.props.style.display===&quot;contents&quot;||(n&amp;&amp;i.options.layoutScroll&amp;&amp;i.scroll&amp;&amp;i!==i.root&amp;&amp;pc(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&amp;&amp;(r.x*=a.x.scale,r.y*=a.y.scale,v8(e,a)),n&amp;&amp;el(i.latestValues)&amp;&amp;pc(e,i.latestValues))}r.x&lt;B3&amp;&amp;r.x&gt;F3&amp;&amp;(r.x=1),r.y&lt;B3&amp;&amp;r.y&gt;F3&amp;&amp;(r.y=1)}function mc(e,r){e.min=e.min+r,e.max=e.max+r}function z3(e,r,t,n,o=.5){const i=Ir(e.min,e.max,o);Cy(e,r,t,i,n)}function pc(e,r){z3(e.x,r.x,r.scaleX,r.scale,r.originX),z3(e.y,r.y,r.scaleY,r.scale,r.originY)}function w8(e,r){return x8(FI(e.getBoundingClientRect(),r))}function zI(e,r,t){const n=w8(e,t),{scroll:o}=r;return o&amp;&amp;(mc(n.x,o.offset.x),mc(n.y,o.offset.y)),n}const $I={x:&quot;translateX&quot;,y:&quot;translateY&quot;,z:&quot;translateZ&quot;,transformPerspective:&quot;perspective&quot;},UI=Rc.length;function VI(e,r,t){let n=&quot;&quot;,o=!0;for(let i=0;i&lt;UI;i++){const a=Rc[i],u=e[a];if(u===void 0)continue;let l=!0;if(typeof u==&quot;number&quot;?l=u===(a.startsWith(&quot;scale&quot;)?1:0):l=parseFloat(u)===0,!l||t){const s=o8(u,x1[a]);if(!l){o=!1;const d=$I[a]||a;n+=`${d}(${s}) `}t&amp;&amp;(r[a]=s)}}return n=n.trim(),t?n=t(r,o?&quot;&quot;:n):o&amp;&amp;(n=&quot;none&quot;),n}function j1(e,r,t){const{style:n,vars:o,transformOrigin:i}=e;let a=!1,u=!1;for(const l in r){const s=r[l];if(Dc.has(l)){a=!0;continue}else if(IN(l)){o[l]=s;continue}else{const d=o8(s,x1[l]);l.startsWith(&quot;origin&quot;)?(u=!0,i[l]=d):n[l]=d}}if(r.transform||(a||t?n.transform=VI(r,e.transform,t):n.transform&amp;&amp;(n.transform=&quot;none&quot;)),u){const{originX:l=&quot;50%&quot;,originY:s=&quot;50%&quot;,originZ:d=0}=i;n.transformOrigin=`${l} ${s} ${d}`}}function _8(e,{style:r,vars:t},n,o){const i=e.style;let a;for(a in r)i[a]=r[a];o?.applyProjectionStyles(i,n);for(a in t)i.setProperty(a,t[a])}function $3(e,r){return r.max===r.min?0:e/(r.max-r.min)*100}const Mu={correct:(e,r)=&gt;{if(!r.target)return e;if(typeof e==&quot;string&quot;)if(at.test(e))e=parseFloat(e);else return e;const t=$3(e,r.target.x),n=$3(e,r.target.y);return`${t}% ${n}%`}},qI={correct:(e,{treeScale:r,projectionDelta:t})=&gt;{const n=e,o=fo.parse(e);if(o.length&gt;5)return n;const i=fo.createTransformer(e),a=typeof o[0]!=&quot;number&quot;?1:0,u=t.x.scale*r.x,l=t.y.scale*r.y;o[0+a]/=u,o[1+a]/=l;const s=Ir(u,l,.5);return typeof o[2+a]==&quot;number&quot;&amp;&amp;(o[2+a]/=s),typeof o[3+a]==&quot;number&quot;&amp;&amp;(o[3+a]/=s),i(o)}},Ey={borderRadius:{...Mu,applyTo:[&quot;borderTopLeftRadius&quot;,&quot;borderTopRightRadius&quot;,&quot;borderBottomLeftRadius&quot;,&quot;borderBottomRightRadius&quot;]},borderTopLeftRadius:Mu,borderTopRightRadius:Mu,borderBottomLeftRadius:Mu,borderBottomRightRadius:Mu,boxShadow:qI};function j8(e,{layout:r,layoutId:t}){return Dc.has(e)||e.startsWith(&quot;origin&quot;)||(r||t!==void 0)&amp;&amp;(!!Ey[e]||e===&quot;opacity&quot;)}function S1(e,r,t){const n=e.style,o=r?.style,i={};if(!n)return i;for(const a in n)(Fn(n[a])||o&amp;&amp;Fn(o[a])||j8(a,e)||t?.getValue(a)?.liveStyle!==void 0)&amp;&amp;(i[a]=n[a]);return i}function HI(e){return window.getComputedStyle(e)}class WI extends b8{constructor(){super(...arguments),this.type=&quot;html&quot;,this.renderInstance=_8}readValueFromInstance(r,t){if(Dc.has(t))return this.projection?.isProjecting?py(t):_T(r,t);{const n=HI(r),o=(IN(t)?n.getPropertyValue(t):n[t])||0;return typeof o==&quot;string&quot;?o.trim():o}}measureInstanceViewportBox(r,{transformPagePoint:t}){return w8(r,t)}build(r,t,n){j1(r,t,n.transformTemplate)}scrapeMotionValuesFromProps(r,t,n){return S1(r,t,n)}}const KI={offset:&quot;stroke-dashoffset&quot;,array:&quot;stroke-dasharray&quot;},XI={offset:&quot;strokeDashoffset&quot;,array:&quot;strokeDasharray&quot;};function GI(e,r,t=1,n=0,o=!0){e.pathLength=1;const i=o?KI:XI;e[i.offset]=at.transform(-n);const a=at.transform(r),u=at.transform(t);e[i.array]=`${a} ${u}`}const YI=[&quot;offsetDistance&quot;,&quot;offsetPath&quot;,&quot;offsetRotate&quot;,&quot;offsetAnchor&quot;];function S8(e,{attrX:r,attrY:t,attrScale:n,pathLength:o,pathSpacing:i=1,pathOffset:a=0,...u},l,s,d){if(j1(e,u,s),l){e.style.viewBox&amp;&amp;(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&amp;&amp;(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&amp;&amp;(h.transformOrigin=f.transformOrigin??&quot;50% 50%&quot;,delete f.transformOrigin),h.transform&amp;&amp;(h.transformBox=d?.transformBox??&quot;fill-box&quot;,delete f.transformBox);for(const m of YI)f[m]!==void 0&amp;&amp;(h[m]=f[m],delete f[m]);r!==void 0&amp;&amp;(f.x=r),t!==void 0&amp;&amp;(f.y=t),n!==void 0&amp;&amp;(f.scale=n),o!==void 0&amp;&amp;GI(f,o,i,a,!1)}const k8=new Set([&quot;baseFrequency&quot;,&quot;diffuseConstant&quot;,&quot;kernelMatrix&quot;,&quot;kernelUnitLength&quot;,&quot;keySplines&quot;,&quot;keyTimes&quot;,&quot;limitingConeAngle&quot;,&quot;markerHeight&quot;,&quot;markerWidth&quot;,&quot;numOctaves&quot;,&quot;targetX&quot;,&quot;targetY&quot;,&quot;surfaceScale&quot;,&quot;specularConstant&quot;,&quot;specularExponent&quot;,&quot;stdDeviation&quot;,&quot;tableValues&quot;,&quot;viewBox&quot;,&quot;gradientTransform&quot;,&quot;pathLength&quot;,&quot;startOffset&quot;,&quot;textLength&quot;,&quot;lengthAdjust&quot;]),N8=e=&gt;typeof e==&quot;string&quot;&amp;&amp;e.toLowerCase()===&quot;svg&quot;;function ZI(e,r,t,n){_8(e,r,void 0,n);for(const o in r.attrs)e.setAttribute(k8.has(o)?o:b1(o),r.attrs[o])}function C8(e,r,t){const n=S1(e,r,t);for(const o in e)if(Fn(e[o])||Fn(r[o])){const i=Rc.indexOf(o)!==-1?&quot;attr&quot;+o.charAt(0).toUpperCase()+o.substring(1):o;n[i]=e[o]}return n}class QI extends b8{constructor(){super(...arguments),this.type=&quot;svg&quot;,this.isSVGTag=!1,this.measureInstanceViewportBox=tn}getBaseTargetFromProps(r,t){return r[t]}readValueFromInstance(r,t){if(Dc.has(t)){const n=s8(t);return n&amp;&amp;n.default||0}return t=k8.has(t)?t:b1(t),r.getAttribute(t)}scrapeMotionValuesFromProps(r,t,n){return C8(r,t,n)}build(r,t,n){S8(r,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(r,t,n,o){ZI(r,t,n,o)}mount(r){this.isSVGTag=N8(r.tagName),super.mount(r)}}const JI=_1.length;function E8(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent?E8(e.parent)||{}:{};return e.props.initial!==void 0&amp;&amp;(t.initial=e.props.initial),t}const r={};for(let t=0;t&lt;JI;t++){const n=_1[t],o=e.props[n];(id(o)||o===!1)&amp;&amp;(r[n]=o)}return r}function A8(e,r){if(!Array.isArray(r))return!1;const t=r.length;if(t!==e.length)return!1;for(let n=0;n&lt;t;n++)if(r[n]!==e[n])return!1;return!0}const eR=[...w1].reverse(),tR=w1.length;function rR(e){return r=&gt;Promise.all(r.map(({animation:t,options:n})=&gt;dI(e,t,n)))}function nR(e){let r=rR(e),t=U3(),n=!0;const o=l=&gt;(s,d)=&gt;{const f=xc(e,d,l===&quot;exit&quot;?e.presenceContext?.custom:void 0);if(f){const{transition:h,transitionEnd:m,...p}=f;s={...s,...p,...m}}return s};function i(l){r=l(e)}function a(l){const{props:s}=e,d=E8(e.parent)||{},f=[],h=new Set;let m={},p=1/0;for(let g=0;g&lt;tR;g++){const y=eR[g],v=t[y],_=s[y]!==void 0?s[y]:d[y],C=id(_),O=y===l?v.isActive:null;O===!1&amp;&amp;(p=g);let T=_===d[y]&amp;&amp;_!==s[y]&amp;&amp;C;if(T&amp;&amp;n&amp;&amp;e.manuallyAnimateOnMount&amp;&amp;(T=!1),v.protectedKeys={...m},!v.isActive&amp;&amp;O===null||!_&amp;&amp;!v.prevProp||_p(_)||typeof _==&quot;boolean&quot;)continue;const V=iR(v.prevProp,_);let F=V||y===l&amp;&amp;v.isActive&amp;&amp;!T&amp;&amp;C||g&gt;p&amp;&amp;C,H=!1;const W=Array.isArray(_)?_:[_];let K=W.reduce(o(y),{});O===!1&amp;&amp;(K={});const{prevResolvedValues:$={}}=v,P={...$,...K},D=k=&gt;{F=!0,h.has(k)&amp;&amp;(H=!0,h.delete(k)),v.needsAnimating[k]=!0;const S=e.getValue(k);S&amp;&amp;(S.liveStyle=!1)};for(const k in P){const S=K[k],N=$[k];if(m.hasOwnProperty(k))continue;let M=!1;wy(S)&amp;&amp;wy(N)?M=!A8(S,N):M=S!==N,M?S!=null?D(k):h.add(k):S!==void 0&amp;&amp;h.has(k)?D(k):v.protectedKeys[k]=!0}v.prevProp=_,v.prevResolvedValues=K,v.isActive&amp;&amp;(m={...m,...K}),n&amp;&amp;e.blockInitialAnimation&amp;&amp;(F=!1);const E=T&amp;&amp;V;F&amp;&amp;(!E||H)&amp;&amp;f.push(...W.map(k=&gt;{const S={type:y};if(typeof k==&quot;string&quot;&amp;&amp;n&amp;&amp;!E&amp;&amp;e.manuallyAnimateOnMount&amp;&amp;e.parent){const{parent:N}=e,M=xc(N,k);if(N.enteringChildren&amp;&amp;M){const{delayChildren:R}=M.transition||{};S.delay=ZN(N.enteringChildren,e,R)}}return{animation:k,options:S}}))}if(h.size){const g={};if(typeof s.initial!=&quot;boolean&quot;){const y=xc(e,Array.isArray(s.initial)?s.initial[0]:s.initial);y&amp;&amp;y.transition&amp;&amp;(g.transition=y.transition)}h.forEach(y=&gt;{const v=e.getBaseTarget(y),_=e.getValue(y);_&amp;&amp;(_.liveStyle=!0),g[y]=v??null}),f.push({animation:g})}let b=!!f.length;return n&amp;&amp;(s.initial===!1||s.initial===s.animate)&amp;&amp;!e.manuallyAnimateOnMount&amp;&amp;(b=!1),n=!1,b?r(f):Promise.resolve()}function u(l,s){if(t[l].isActive===s)return Promise.resolve();e.variantChildren?.forEach(f=&gt;f.animationState?.setActive(l,s)),t[l].isActive=s;const d=a(l);for(const f in t)t[f].protectedKeys={};return d}return{animateChanges:a,setActive:u,setAnimateFunction:i,getState:()=&gt;t,reset:()=&gt;{t=U3()}}}function iR(e,r){return typeof r==&quot;string&quot;?r!==e:Array.isArray(r)?!A8(r,e):!1}function Qo(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function U3(){return{animate:Qo(!0),whileInView:Qo(),whileHover:Qo(),whileTap:Qo(),whileDrag:Qo(),whileFocus:Qo(),exit:Qo()}}function V3(e,r){e.min=r.min,e.max=r.max}function os(e,r){V3(e.x,r.x),V3(e.y,r.y)}function q3(e,r){e.translate=r.translate,e.scale=r.scale,e.originPoint=r.originPoint,e.origin=r.origin}const M8=1e-4,sR=1-M8,aR=1+M8,O8=.01,oR=0-O8,lR=0+O8;function Wn(e){return e.max-e.min}function cR(e,r,t){return Math.abs(e-r)&lt;=t}function H3(e,r,t,n=.5){e.origin=n,e.originPoint=Ir(r.min,r.max,e.origin),e.scale=Wn(t)/Wn(r),e.translate=Ir(t.min,t.max,e.origin)-e.originPoint,(e.scale&gt;=sR&amp;&amp;e.scale&lt;=aR||isNaN(e.scale))&amp;&amp;(e.scale=1),(e.translate&gt;=oR&amp;&amp;e.translate&lt;=lR||isNaN(e.translate))&amp;&amp;(e.translate=0)}function Xu(e,r,t,n){H3(e.x,r.x,t.x,n?n.originX:void 0),H3(e.y,r.y,t.y,n?n.originY:void 0)}function W3(e,r,t){e.min=t.min+r.min,e.max=e.min+Wn(r)}function uR(e,r,t){W3(e.x,r.x,t.x),W3(e.y,r.y,t.y)}function K3(e,r,t){e.min=r.min-t.min,e.max=e.min+Wn(r)}function xm(e,r,t){K3(e.x,r.x,t.x),K3(e.y,r.y,t.y)}function X3(e,r,t,n,o){return e-=r,e=bm(e,1/t,n),o!==void 0&amp;&amp;(e=bm(e,1/o,n)),e}function dR(e,r=0,t=1,n=.5,o,i=e,a=e){if(Ms.test(r)&amp;&amp;(r=parseFloat(r),r=Ir(a.min,a.max,r/100)-a.min),typeof r!=&quot;number&quot;)return;let u=Ir(i.min,i.max,n);e===i&amp;&amp;(u-=r),e.min=X3(e.min,r,t,u,o),e.max=X3(e.max,r,t,u,o)}function G3(e,r,[t,n,o],i,a){dR(e,r[t],r[n],r[o],r.scale,i,a)}const fR=[&quot;x&quot;,&quot;scaleX&quot;,&quot;originX&quot;],hR=[&quot;y&quot;,&quot;scaleY&quot;,&quot;originY&quot;];function Y3(e,r,t,n){G3(e.x,r,fR,t?t.x:void 0,n?n.x:void 0),G3(e.y,r,hR,t?t.y:void 0,n?n.y:void 0)}function Z3(e){return e.translate===0&amp;&amp;e.scale===1}function P8(e){return Z3(e.x)&amp;&amp;Z3(e.y)}function Q3(e,r){return e.min===r.min&amp;&amp;e.max===r.max}function mR(e,r){return Q3(e.x,r.x)&amp;&amp;Q3(e.y,r.y)}function J3(e,r){return Math.round(e.min)===Math.round(r.min)&amp;&amp;Math.round(e.max)===Math.round(r.max)}function T8(e,r){return J3(e.x,r.x)&amp;&amp;J3(e.y,r.y)}function e4(e){return Wn(e.x)/Wn(e.y)}function t4(e,r){return e.translate===r.translate&amp;&amp;e.scale===r.scale&amp;&amp;e.originPoint===r.originPoint}function Bi(e){return[e(&quot;x&quot;),e(&quot;y&quot;)]}function pR(e,r,t){let n=&quot;&quot;;const o=e.x.translate/r.x,i=e.y.translate/r.y,a=t?.z||0;if((o||i||a)&amp;&amp;(n=`translate3d(${o}px, ${i}px, ${a}px) `),(r.x!==1||r.y!==1)&amp;&amp;(n+=`scale(${1/r.x}, ${1/r.y}) `),t){const{transformPerspective:s,rotate:d,rotateX:f,rotateY:h,skewX:m,skewY:p}=t;s&amp;&amp;(n=`perspective(${s}px) ${n}`),d&amp;&amp;(n+=`rotate(${d}deg) `),f&amp;&amp;(n+=`rotateX(${f}deg) `),h&amp;&amp;(n+=`rotateY(${h}deg) `),m&amp;&amp;(n+=`skewX(${m}deg) `),p&amp;&amp;(n+=`skewY(${p}deg) `)}const u=e.x.scale*r.x,l=e.y.scale*r.y;return(u!==1||l!==1)&amp;&amp;(n+=`scale(${u}, ${l})`),n||&quot;none&quot;}const I8=[&quot;TopLeft&quot;,&quot;TopRight&quot;,&quot;BottomLeft&quot;,&quot;BottomRight&quot;],gR=I8.length,r4=e=&gt;typeof e==&quot;string&quot;?parseFloat(e):e,n4=e=&gt;typeof e==&quot;number&quot;||at.test(e);function bR(e,r,t,n,o,i){o?(e.opacity=Ir(0,t.opacity??1,xR(n)),e.opacityExit=Ir(r.opacity??1,0,yR(n))):i&amp;&amp;(e.opacity=Ir(r.opacity??1,t.opacity??1,n));for(let a=0;a&lt;gR;a++){const u=`border${I8[a]}Radius`;let l=i4(r,u),s=i4(t,u);if(l===void 0&amp;&amp;s===void 0)continue;l||(l=0),s||(s=0),l===0||s===0||n4(l)===n4(s)?(e[u]=Math.max(Ir(r4(l),r4(s),n),0),(Ms.test(s)||Ms.test(l))&amp;&amp;(e[u]+=&quot;%&quot;)):e[u]=s}(r.rotate||t.rotate)&amp;&amp;(e.rotate=Ir(r.rotate||0,t.rotate||0,n))}function i4(e,r){return e[r]!==void 0?e[r]:e.borderRadius}const xR=R8(0,.5,EN),yR=R8(.5,.95,qi);function R8(e,r,t){return n=&gt;n&lt;e?0:n&gt;r?1:t(td(e,r,n))}function vR(e,r,t){const n=Fn(e)?e:wc(e);return n.start(p1(&quot;&quot;,n,r,t)),n.animation}function sd(e,r,t,n={passive:!0}){return e.addEventListener(r,t,n),()=&gt;e.removeEventListener(r,t)}const wR=(e,r)=&gt;e.depth-r.depth;class _R{constructor(){this.children=[],this.isDirty=!1}add(r){Qv(this.children,r),this.isDirty=!0}remove(r){Jv(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&amp;&amp;this.children.sort(wR),this.isDirty=!1,this.children.forEach(r)}}function jR(e,r){const t=Hn.now(),n=({timestamp:o})=&gt;{const i=o-t;i&gt;=r&amp;&amp;(uo(n),e(i-r))};return jr.setup(n,!0),()=&gt;uo(n)}function em(e){return Fn(e)?e.get():e}class SR{constructor(){this.members=[]}add(r){Qv(this.members,r),r.scheduleRender()}remove(r){if(Jv(this.members,r),r===this.prevLead&amp;&amp;(this.prevLead=void 0),r===this.lead){const t=this.members[this.members.length-1];t&amp;&amp;this.promote(t)}}relegate(r){const t=this.members.findIndex(o=&gt;r===o);if(t===0)return!1;let n;for(let o=t;o&gt;=0;o--){const i=this.members[o];if(i.isPresent!==!1){n=i;break}}return n?(this.promote(n),!0):!1}promote(r,t){const n=this.lead;if(r!==n&amp;&amp;(this.prevLead=n,this.lead=r,r.show(),n)){n.instance&amp;&amp;n.scheduleRender(),r.scheduleRender(),r.resumeFrom=n,t&amp;&amp;(r.resumeFrom.preserveOpacity=!0),n.snapshot&amp;&amp;(r.snapshot=n.snapshot,r.snapshot.latestValues=n.animationValues||n.latestValues),r.root&amp;&amp;r.root.isUpdating&amp;&amp;(r.isLayoutDirty=!0);const{crossfade:o}=r.options;o===!1&amp;&amp;n.hide()}}exitAnimationComplete(){this.members.forEach(r=&gt;{const{options:t,resumingFrom:n}=r;t.onExitComplete&amp;&amp;t.onExitComplete(),n&amp;&amp;n.options.onExitComplete&amp;&amp;n.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=&gt;{r.instance&amp;&amp;r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&amp;&amp;this.lead.snapshot&amp;&amp;(this.lead.snapshot=void 0)}}const tm={hasAnimatedSinceResize:!0,hasEverUpdated:!1},sb=[&quot;&quot;,&quot;X&quot;,&quot;Y&quot;,&quot;Z&quot;],kR=1e3;let NR=0;function ab(e,r,t,n){const{latestValues:o}=r;o[e]&amp;&amp;(t[e]=o[e],r.setStaticValue(e,0),n&amp;&amp;(n[e]=0))}function D8(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:r}=e.options;if(!r)return;const t=t8(r);if(window.MotionHasOptimisedAnimation(t,&quot;transform&quot;)){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(t,&quot;transform&quot;,jr,!(o||i))}const{parent:n}=e;n&amp;&amp;!n.hasCheckedOptimisedAppear&amp;&amp;D8(n)}function L8({attachResizeListener:e,defaultParent:r,measureScroll:t,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(a={},u=r?.()){this.id=NR++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=&gt;this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=&gt;{this.isUpdating&amp;&amp;(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=&gt;{this.projectionUpdateScheduled=!1,this.nodes.forEach(AR),this.nodes.forEach(TR),this.nodes.forEach(IR),this.nodes.forEach(MR)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let l=0;l&lt;this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&amp;&amp;(this.nodes=new _R)}addEventListener(a,u){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new r1),this.eventHandlers.get(a).add(u)}notifyListeners(a,...u){const l=this.eventHandlers.get(a);l&amp;&amp;l.notify(...u)}hasListeners(a){return this.eventHandlers.has(a)}mount(a){if(this.instance)return;this.isSVG=h8(a)&amp;&amp;!EI(a),this.instance=a;const{layoutId:u,layout:l,visualElement:s}=this.options;if(s&amp;&amp;!s.current&amp;&amp;s.mount(a),this.root.nodes.add(this),this.parent&amp;&amp;this.parent.children.add(this),this.root.hasTreeAnimated&amp;&amp;(l||u)&amp;&amp;(this.isLayoutDirty=!0),e){let d,f=0;const h=()=&gt;this.root.updateBlockedByResize=!1;jr.read(()=&gt;{f=window.innerWidth}),e(a,()=&gt;{const m=window.innerWidth;m!==f&amp;&amp;(f=m,this.root.updateBlockedByResize=!0,d&amp;&amp;d(),d=jR(h,250),tm.hasAnimatedSinceResize&amp;&amp;(tm.hasAnimatedSinceResize=!1,this.nodes.forEach(o4)))})}u&amp;&amp;this.root.registerSharedNode(u,this),this.options.animate!==!1&amp;&amp;s&amp;&amp;(u||l)&amp;&amp;this.addEventListener(&quot;didUpdate&quot;,({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:m})=&gt;{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||s.getDefaultTransition()||BR,{onLayoutAnimationStart:b,onLayoutAnimationComplete:g}=s.getProps(),y=!this.targetLayout||!T8(this.targetLayout,m),v=!f&amp;&amp;h;if(this.options.layoutRoot||this.resumeFrom||v||f&amp;&amp;(y||!this.currentAnimation)){this.resumeFrom&amp;&amp;(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const _={...m1(p,&quot;layout&quot;),onPlay:b,onComplete:g};(s.shouldReduceMotion||this.options.layoutRoot)&amp;&amp;(_.delay=0,_.type=!1),this.startAnimation(_),this.setAnimationOrigin(d,v)}else f||o4(this),this.isLead()&amp;&amp;this.options.onExitComplete&amp;&amp;this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&amp;&amp;this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&amp;&amp;a.remove(this),this.parent&amp;&amp;this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),uo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&amp;&amp;this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&amp;&amp;this.nodes.forEach(RR),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&amp;&amp;a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&amp;&amp;this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&amp;&amp;!this.hasCheckedOptimisedAppear&amp;&amp;D8(this),!this.root.isUpdating&amp;&amp;this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d&lt;this.path.length;d++){const f=this.path[d];f.shouldResetTransform=!0,f.updateScroll(&quot;snapshot&quot;),f.options.layoutRoot&amp;&amp;f.willUpdate(!1)}const{layoutId:u,layout:l}=this.options;if(u===void 0&amp;&amp;!l)return;const s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,&quot;&quot;):void 0,this.updateSnapshot(),a&amp;&amp;this.notifyListeners(&quot;willUpdate&quot;)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(s4);return}if(this.animationId&lt;=this.animationCommitId){this.nodes.forEach(a4);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(PR),this.nodes.forEach(CR),this.nodes.forEach(ER)):this.nodes.forEach(a4),this.clearAllSnapshots();const u=Hn.now();kn.delta=Ps(0,1e3/60,u-kn.timestamp),kn.timestamp=u,kn.isProcessing=!0,Zg.update.process(kn),Zg.preRender.process(kn),Zg.render.process(kn),kn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,y1.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(OR),this.sharedNodes.forEach(DR)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,jr.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){jr.postRender(()=&gt;{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&amp;&amp;!Wn(this.snapshot.measuredBox.x)&amp;&amp;!Wn(this.snapshot.measuredBox.y)&amp;&amp;(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&amp;&amp;this.isLead())&amp;&amp;!this.isLayoutDirty))return;if(this.resumeFrom&amp;&amp;!this.resumeFrom.instance)for(let l=0;l&lt;this.path.length;l++)this.path[l].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=tn(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(&quot;measure&quot;,this.layout.layoutBox);const{visualElement:u}=this.options;u&amp;&amp;u.notify(&quot;LayoutMeasure&quot;,this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a=&quot;measure&quot;){let u=!!(this.options.layoutScroll&amp;&amp;this.instance);if(this.scroll&amp;&amp;this.scroll.animationId===this.root.animationId&amp;&amp;this.scroll.phase===a&amp;&amp;(u=!1),u&amp;&amp;this.instance){const l=n(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:l,offset:t(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&amp;&amp;!P8(this.projectionDelta),l=this.getTransformTemplate(),s=l?l(this.latestValues,&quot;&quot;):void 0,d=s!==this.prevTransformTemplateValue;a&amp;&amp;this.instance&amp;&amp;(u||el(this.latestValues)||d)&amp;&amp;(o(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const u=this.measurePageBox();let l=this.removeElementScroll(u);return a&amp;&amp;(l=this.removeTransform(l)),zR(l),{animationId:this.root.animationId,measuredBox:u,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:a}=this.options;if(!a)return tn();const u=a.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some($R))){const{scroll:s}=this.root;s&amp;&amp;(mc(u.x,s.offset.x),mc(u.y,s.offset.y))}return u}removeElementScroll(a){const u=tn();if(os(u,a),this.scroll?.wasRoot)return u;for(let l=0;l&lt;this.path.length;l++){const s=this.path[l],{scroll:d,options:f}=s;s!==this.root&amp;&amp;d&amp;&amp;f.layoutScroll&amp;&amp;(d.wasRoot&amp;&amp;os(u,a),mc(u.x,d.offset.x),mc(u.y,d.offset.y))}return u}applyTransform(a,u=!1){const l=tn();os(l,a);for(let s=0;s&lt;this.path.length;s++){const d=this.path[s];!u&amp;&amp;d.options.layoutScroll&amp;&amp;d.scroll&amp;&amp;d!==d.root&amp;&amp;pc(l,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),el(d.latestValues)&amp;&amp;pc(l,d.latestValues)}return el(this.latestValues)&amp;&amp;pc(l,this.latestValues),l}removeTransform(a){const u=tn();os(u,a);for(let l=0;l&lt;this.path.length;l++){const s=this.path[l];if(!s.instance||!el(s.latestValues))continue;Ny(s.latestValues)&amp;&amp;s.updateSnapshot();const d=tn(),f=s.measurePageBox();os(d,f),Y3(u,s.latestValues,s.snapshot?s.snapshot.layoutBox:void 0,d)}return el(this.latestValues)&amp;&amp;Y3(u,this.latestValues),u}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&amp;&amp;this.relativeParent.resolvedRelativeTargetAt!==kn.timestamp&amp;&amp;this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){const u=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=u.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=u.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=u.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==u;if(!(a||l&amp;&amp;this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!this.layout||!(d||f))return;this.resolvedRelativeTargetAt=kn.timestamp;const h=this.getClosestProjectingParent();h&amp;&amp;this.linkedParentVersion!==h.layoutVersion&amp;&amp;!h.options.layoutRoot&amp;&amp;this.removeRelativeTarget(),!this.targetDelta&amp;&amp;!this.relativeTarget&amp;&amp;(h&amp;&amp;h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&amp;&amp;!this.targetDelta)&amp;&amp;(this.target||(this.target=tn(),this.targetWithTransforms=tn()),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),uR(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):os(this.target,this.layout.layoutBox),v8(this.target,this.targetDelta)):os(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&amp;&amp;(this.attemptToResolveRelativeTarget=!1,h&amp;&amp;!!h.resumingFrom==!!this.resumingFrom&amp;&amp;!h.options.layoutScroll&amp;&amp;h.target&amp;&amp;this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Ny(this.parent.latestValues)||y8(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&amp;&amp;this.layout)}createRelativeTarget(a,u,l){this.relativeParent=a,this.linkedParentVersion=a.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tn(),this.relativeTargetOrigin=tn(),xm(this.relativeTargetOrigin,u,l),os(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const a=this.getLead(),u=!!this.resumingFrom||this!==a;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&amp;&amp;(l=!1),u&amp;&amp;(this.isSharedProjectionDirty||this.isTransformDirty)&amp;&amp;(l=!1),this.resolvedRelativeTargetAt===kn.timestamp&amp;&amp;(l=!1),l)return;const{layout:s,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&amp;&amp;this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||d))return;os(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;BI(this.layoutCorrected,this.treeScale,this.path,u),a.layout&amp;&amp;!a.target&amp;&amp;(this.treeScale.x!==1||this.treeScale.y!==1)&amp;&amp;(a.target=a.layout.layoutBox,a.targetWithTransforms=tn());const{target:m}=a;if(!m){this.prevProjectionDelta&amp;&amp;(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(q3(this.prevProjectionDelta.x,this.projectionDelta.x),q3(this.prevProjectionDelta.y,this.projectionDelta.y)),Xu(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!t4(this.projectionDelta.x,this.prevProjectionDelta.x)||!t4(this.projectionDelta.y,this.prevProjectionDelta.y))&amp;&amp;(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(&quot;projectionUpdate&quot;,m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){if(this.options.visualElement?.scheduleRender(),a){const u=this.getStack();u&amp;&amp;u.scheduleRender()}this.resumingFrom&amp;&amp;!this.resumingFrom.instance&amp;&amp;(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=hc(),this.projectionDelta=hc(),this.projectionDeltaWithTransform=hc()}setAnimationOrigin(a,u=!1){const l=this.snapshot,s=l?l.latestValues:{},d={...this.latestValues},f=hc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&amp;&amp;(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const h=tn(),m=l?l.source:void 0,p=this.layout?this.layout.source:void 0,b=m!==p,g=this.getStack(),y=!g||g.members.length&lt;=1,v=!!(b&amp;&amp;!y&amp;&amp;this.options.crossfade===!0&amp;&amp;!this.path.some(FR));this.animationProgress=0;let _;this.mixTargetDelta=C=&gt;{const O=C/1e3;l4(f.x,a.x,O),l4(f.y,a.y,O),this.setTargetDelta(f),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.layout&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.layout&amp;&amp;(xm(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),LR(this.relativeTarget,this.relativeTargetOrigin,h,O),_&amp;&amp;mR(this.relativeTarget,_)&amp;&amp;(this.isProjectionDirty=!1),_||(_=tn()),os(_,this.relativeTarget)),b&amp;&amp;(this.animationValues=d,bR(d,s,this.latestValues,O,v,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=O},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners(&quot;animationStart&quot;),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&amp;&amp;(uo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=jr.update(()=&gt;{tm.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=wc(0)),this.currentAnimation=vR(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:u=&gt;{this.mixTargetDelta(u),a.onUpdate&amp;&amp;a.onUpdate(u)},onStop:()=&gt;{},onComplete:()=&gt;{a.onComplete&amp;&amp;a.onComplete(),this.completeAnimation()}}),this.resumingFrom&amp;&amp;(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&amp;&amp;(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&amp;&amp;a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(&quot;animationComplete&quot;)}finishAnimation(){this.currentAnimation&amp;&amp;(this.mixTargetDelta&amp;&amp;this.mixTargetDelta(kR),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:u,target:l,layout:s,latestValues:d}=a;if(!(!u||!l||!s)){if(this!==a&amp;&amp;this.layout&amp;&amp;s&amp;&amp;F8(this.options.animationType,this.layout.layoutBox,s.layoutBox)){l=this.target||tn();const f=Wn(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+f;const h=Wn(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+h}os(u,l),pc(u,d),Xu(this.projectionDeltaWithTransform,this.layoutCorrected,u,d)}}registerSharedNode(a,u){this.sharedNodes.has(a)||this.sharedNodes.set(a,new SR),this.sharedNodes.get(a).add(u);const s=u.options.initialPromotionConfig;u.promote({transition:s?s.transition:void 0,preserveFollowOpacity:s&amp;&amp;s.shouldPreserveFollowOpacity?s.shouldPreserveFollowOpacity(u):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){const{layoutId:a}=this.options;return a?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:a}=this.options;return a?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:u,preserveFollowOpacity:l}={}){const s=this.getStack();s&amp;&amp;s.promote(this,l),a&amp;&amp;(this.projectionDelta=void 0,this.needsReset=!0),u&amp;&amp;this.setOptions({transition:u})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let u=!1;const{latestValues:l}=a;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&amp;&amp;(u=!0),!u)return;const s={};l.z&amp;&amp;ab(&quot;z&quot;,a,s,this.animationValues);for(let d=0;d&lt;sb.length;d++)ab(`rotate${sb[d]}`,a,s,this.animationValues),ab(`skew${sb[d]}`,a,s,this.animationValues);a.render();for(const d in s)a.setStaticValue(d,s[d]),this.animationValues&amp;&amp;(this.animationValues[d]=s[d]);a.scheduleRender()}applyProjectionStyles(a,u){if(!this.instance||this.isSVG)return;if(!this.isVisible){a.visibility=&quot;hidden&quot;;return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,a.visibility=&quot;&quot;,a.opacity=&quot;&quot;,a.pointerEvents=em(u?.pointerEvents)||&quot;&quot;,a.transform=l?l(this.latestValues,&quot;&quot;):&quot;none&quot;;return}const s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){this.options.layoutId&amp;&amp;(a.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,a.pointerEvents=em(u?.pointerEvents)||&quot;&quot;),this.hasProjected&amp;&amp;!el(this.latestValues)&amp;&amp;(a.transform=l?l({},&quot;&quot;):&quot;none&quot;,this.hasProjected=!1);return}a.visibility=&quot;&quot;;const d=s.animationValues||s.latestValues;this.applyTransformsToTarget();let f=pR(this.projectionDeltaWithTransform,this.treeScale,d);l&amp;&amp;(f=l(d,f)),a.transform=f;const{x:h,y:m}=this.projectionDelta;a.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,s.animationValues?a.opacity=s===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:a.opacity=s===this?d.opacity!==void 0?d.opacity:&quot;&quot;:d.opacityExit!==void 0?d.opacityExit:0;for(const p in Ey){if(d[p]===void 0)continue;const{correct:b,applyTo:g,isCSSVariable:y}=Ey[p],v=f===&quot;none&quot;?d[p]:b(d[p],s);if(g){const _=g.length;for(let C=0;C&lt;_;C++)a[g[C]]=v}else y?this.options.visualElement.renderState.vars[p]=v:a[p]=v}this.options.layoutId&amp;&amp;(a.pointerEvents=s===this?em(u?.pointerEvents)||&quot;&quot;:&quot;none&quot;)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=&gt;a.currentAnimation?.stop()),this.root.nodes.forEach(s4),this.root.sharedNodes.clear()}}}function CR(e){e.updateLayout()}function ER(e){const r=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&amp;&amp;e.layout&amp;&amp;r&amp;&amp;e.hasListeners(&quot;didUpdate&quot;)){const{layoutBox:t,measuredBox:n}=e.layout,{animationType:o}=e.options,i=r.source!==e.layout.source;o===&quot;size&quot;?Bi(d=&gt;{const f=i?r.measuredBox[d]:r.layoutBox[d],h=Wn(f);f.min=t[d].min,f.max=f.min+h}):F8(o,r.layoutBox,t)&amp;&amp;Bi(d=&gt;{const f=i?r.measuredBox[d]:r.layoutBox[d],h=Wn(t[d]);f.max=f.min+h,e.relativeTarget&amp;&amp;!e.currentAnimation&amp;&amp;(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const a=hc();Xu(a,t,r.layoutBox);const u=hc();i?Xu(u,e.applyTransform(n,!0),r.measuredBox):Xu(u,t,r.layoutBox);const l=!P8(a);let s=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&amp;&amp;!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&amp;&amp;h){const m=tn();xm(m,r.layoutBox,f.layoutBox);const p=tn();xm(p,t,h.layoutBox),T8(m,p)||(s=!0),d.options.layoutRoot&amp;&amp;(e.relativeTarget=p,e.relativeTargetOrigin=m,e.relativeParent=d)}}}e.notifyListeners(&quot;didUpdate&quot;,{layout:t,snapshot:r,delta:u,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:s})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&amp;&amp;t()}e.options.transition=void 0}function AR(e){e.parent&amp;&amp;(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function MR(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function OR(e){e.clearSnapshot()}function s4(e){e.clearMeasurements()}function a4(e){e.isLayoutDirty=!1}function PR(e){const{visualElement:r}=e.options;r&amp;&amp;r.getProps().onBeforeLayoutMeasure&amp;&amp;r.notify(&quot;BeforeLayoutMeasure&quot;),e.resetTransform()}function o4(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function TR(e){e.resolveTargetDelta()}function IR(e){e.calcProjection()}function RR(e){e.resetSkewAndRotation()}function DR(e){e.removeLeadSnapshot()}function l4(e,r,t){e.translate=Ir(r.translate,0,t),e.scale=Ir(r.scale,1,t),e.origin=r.origin,e.originPoint=r.originPoint}function c4(e,r,t,n){e.min=Ir(r.min,t.min,n),e.max=Ir(r.max,t.max,n)}function LR(e,r,t,n){c4(e.x,r.x,t.x,n),c4(e.y,r.y,t.y,n)}function FR(e){return e.animationValues&amp;&amp;e.animationValues.opacityExit!==void 0}const BR={duration:.45,ease:[.4,0,.1,1]},u4=e=&gt;typeof navigator&lt;&quot;u&quot;&amp;&amp;navigator.userAgent&amp;&amp;navigator.userAgent.toLowerCase().includes(e),d4=u4(&quot;applewebkit/&quot;)&amp;&amp;!u4(&quot;chrome/&quot;)?Math.round:qi;function f4(e){e.min=d4(e.min),e.max=d4(e.max)}function zR(e){f4(e.x),f4(e.y)}function F8(e,r,t){return e===&quot;position&quot;||e===&quot;preserve-aspect&quot;&amp;&amp;!cR(e4(r),e4(t),.2)}function $R(e){return e!==e.root&amp;&amp;e.scroll?.wasRoot}const UR=L8({attachResizeListener:(e,r)=&gt;sd(e,&quot;resize&quot;,r),measureScroll:()=&gt;({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=&gt;!0}),ob={current:void 0},B8=L8({measureScroll:e=&gt;({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=&gt;{if(!ob.current){const e=new UR({});e.mount(window),e.setOptions({layoutScroll:!0}),ob.current=e}return ob.current},resetTransform:(e,r)=&gt;{e.style.transform=r!==void 0?r:&quot;none&quot;},checkIsScrollRoot:e=&gt;window.getComputedStyle(e).position===&quot;fixed&quot;}),k1=L.createContext({transformPagePoint:e=&gt;e,isStatic:!1,reducedMotion:&quot;never&quot;});function h4(e,r){if(typeof e==&quot;function&quot;)return e(r);e!=null&amp;&amp;(e.current=r)}function VR(...e){return r=&gt;{let t=!1;const n=e.map(o=&gt;{const i=h4(o,r);return!t&amp;&amp;typeof i==&quot;function&quot;&amp;&amp;(t=!0),i});if(t)return()=&gt;{for(let o=0;o&lt;n.length;o++){const i=n[o];typeof i==&quot;function&quot;?i():h4(e[o],null)}}}}function qR(...e){return L.useCallback(VR(...e),e)}class HR extends L.Component{getSnapshotBeforeUpdate(r){const t=this.props.childRef.current;if(t&amp;&amp;r.isPresent&amp;&amp;!this.props.isPresent){const n=t.offsetParent,o=l8(n)&amp;&amp;n.offsetWidth||0,i=this.props.sizeRef.current;i.height=t.offsetHeight||0,i.width=t.offsetWidth||0,i.top=t.offsetTop,i.left=t.offsetLeft,i.right=o-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}}function WR({children:e,isPresent:r,anchorX:t,root:n}){const o=L.useId(),i=L.useRef(null),a=L.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:u}=L.useContext(k1),l=e.props?.ref??e?.ref,s=qR(i,l);return L.useInsertionEffect(()=&gt;{const{width:d,height:f,top:h,left:m,right:p}=a.current;if(r||!i.current||!d||!f)return;const b=t===&quot;left&quot;?`left: ${m}`:`right: ${p}`;i.current.dataset.motionPopId=o;const g=document.createElement(&quot;style&quot;);u&amp;&amp;(g.nonce=u);const y=n??document.head;return y.appendChild(g),g.sheet&amp;&amp;g.sheet.insertRule(`
          [data-motion-pop-id=&quot;${o}&quot;] {
            position: absolute !important;
            width: ${d}px !important;
            height: ${f}px !important;
            ${b}px !important;
            top: ${h}px !important;
          }
        `),()=&gt;{y.contains(g)&amp;&amp;y.removeChild(g)}},[r]),c.jsx(HR,{isPresent:r,childRef:i,sizeRef:a,children:L.cloneElement(e,{ref:s})})}const KR=({children:e,initial:r,isPresent:t,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:a,anchorX:u,root:l})=&gt;{const s=Zv(XR),d=L.useId();let f=!0,h=L.useMemo(()=&gt;(f=!1,{id:d,initial:r,isPresent:t,custom:o,onExitComplete:m=&gt;{s.set(m,!0);for(const p of s.values())if(!p)return;n&amp;&amp;n()},register:m=&gt;(s.set(m,!1),()=&gt;s.delete(m))}),[t,s,n]);return i&amp;&amp;f&amp;&amp;(h={...h}),L.useMemo(()=&gt;{s.forEach((m,p)=&gt;s.set(p,!1))},[t]),L.useEffect(()=&gt;{!t&amp;&amp;!s.size&amp;&amp;n&amp;&amp;n()},[t]),a===&quot;popLayout&quot;&amp;&amp;(e=c.jsx(WR,{isPresent:t,anchorX:u,root:l,children:e})),c.jsx(wp.Provider,{value:h,children:e})};function XR(){return new Map}function z8(e=!0){const r=L.useContext(wp);if(r===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:o}=r,i=L.useId();L.useEffect(()=&gt;{if(e)return o(i)},[e]);const a=L.useCallback(()=&gt;e&amp;&amp;n&amp;&amp;n(i),[i,n,e]);return!t&amp;&amp;n?[!1,a]:[!0]}const kh=e=&gt;e.key||&quot;&quot;;function m4(e){const r=[];return L.Children.forEach(e,t=&gt;{L.isValidElement(t)&amp;&amp;r.push(t)}),r}const GR=({children:e,custom:r,initial:t=!0,onExitComplete:n,presenceAffectsLayout:o=!0,mode:i=&quot;sync&quot;,propagate:a=!1,anchorX:u=&quot;left&quot;,root:l})=&gt;{const[s,d]=z8(a),f=L.useMemo(()=&gt;m4(e),[e]),h=a&amp;&amp;!s?[]:f.map(kh),m=L.useRef(!0),p=L.useRef(f),b=Zv(()=&gt;new Map),g=L.useRef(new Set),[y,v]=L.useState(f),[_,C]=L.useState(f);bN(()=&gt;{m.current=!1,p.current=f;for(let V=0;V&lt;_.length;V++){const F=kh(_[V]);h.includes(F)?(b.delete(F),g.current.delete(F)):b.get(F)!==!0&amp;&amp;b.set(F,!1)}},[_,h.length,h.join(&quot;-&quot;)]);const O=[];if(f!==y){let V=[...f];for(let F=0;F&lt;_.length;F++){const H=_[F],W=kh(H);h.includes(W)||(V.splice(F,0,H),O.push(H))}return i===&quot;wait&quot;&amp;&amp;O.length&amp;&amp;(V=O),C(m4(V)),v(f),null}const{forceRender:T}=L.useContext(Yv);return c.jsx(c.Fragment,{children:_.map(V=&gt;{const F=kh(V),H=a&amp;&amp;!s?!1:f===_||h.includes(F),W=()=&gt;{if(g.current.has(F))return;if(g.current.add(F),b.has(F))b.set(F,!0);else return;let K=!0;b.forEach($=&gt;{$||(K=!1)}),K&amp;&amp;(T?.(),C(p.current),a&amp;&amp;d?.(),n&amp;&amp;n())};return c.jsx(KR,{isPresent:H,initial:!m.current||t?void 0:!1,custom:r,presenceAffectsLayout:o,mode:i,root:l,onExitComplete:H?void 0:W,anchorX:u,children:V},F)})})},$8=L.createContext({strict:!1}),p4={animation:[&quot;animate&quot;,&quot;variants&quot;,&quot;whileHover&quot;,&quot;whileTap&quot;,&quot;exit&quot;,&quot;whileInView&quot;,&quot;whileFocus&quot;,&quot;whileDrag&quot;],exit:[&quot;exit&quot;],drag:[&quot;drag&quot;,&quot;dragControls&quot;],focus:[&quot;whileFocus&quot;],hover:[&quot;whileHover&quot;,&quot;onHoverStart&quot;,&quot;onHoverEnd&quot;],tap:[&quot;whileTap&quot;,&quot;onTap&quot;,&quot;onTapStart&quot;,&quot;onTapCancel&quot;],pan:[&quot;onPan&quot;,&quot;onPanStart&quot;,&quot;onPanSessionStart&quot;,&quot;onPanEnd&quot;],inView:[&quot;whileInView&quot;,&quot;onViewportEnter&quot;,&quot;onViewportLeave&quot;],layout:[&quot;layout&quot;,&quot;layoutId&quot;]};let g4=!1;function YR(){if(g4)return;const e={};for(const r in p4)e[r]={isEnabled:t=&gt;p4[r].some(n=&gt;!!t[n])};g8(e),g4=!0}function U8(){return YR(),RI()}function ZR(e){const r=U8();for(const t in e)r[t]={...r[t],...e[t]};g8(r)}const QR=new Set([&quot;animate&quot;,&quot;exit&quot;,&quot;variants&quot;,&quot;initial&quot;,&quot;style&quot;,&quot;values&quot;,&quot;variants&quot;,&quot;transition&quot;,&quot;transformTemplate&quot;,&quot;custom&quot;,&quot;inherit&quot;,&quot;onBeforeLayoutMeasure&quot;,&quot;onAnimationStart&quot;,&quot;onAnimationComplete&quot;,&quot;onUpdate&quot;,&quot;onDragStart&quot;,&quot;onDrag&quot;,&quot;onDragEnd&quot;,&quot;onMeasureDragConstraints&quot;,&quot;onDirectionLock&quot;,&quot;onDragTransitionEnd&quot;,&quot;_dragX&quot;,&quot;_dragY&quot;,&quot;onHoverStart&quot;,&quot;onHoverEnd&quot;,&quot;onViewportEnter&quot;,&quot;onViewportLeave&quot;,&quot;globalTapTarget&quot;,&quot;ignoreStrict&quot;,&quot;viewport&quot;]);function ym(e){return e.startsWith(&quot;while&quot;)||e.startsWith(&quot;drag&quot;)&amp;&amp;e!==&quot;draggable&quot;||e.startsWith(&quot;layout&quot;)||e.startsWith(&quot;onTap&quot;)||e.startsWith(&quot;onPan&quot;)||e.startsWith(&quot;onLayout&quot;)||QR.has(e)}let V8=e=&gt;!ym(e);function JR(e){typeof e==&quot;function&quot;&amp;&amp;(V8=r=&gt;r.startsWith(&quot;on&quot;)?!ym(r):e(r))}try{JR(require(&quot;@emotion/is-prop-valid&quot;).default)}catch{}function eD(e,r,t){const n={};for(const o in e)o===&quot;values&quot;&amp;&amp;typeof e.values==&quot;object&quot;||(V8(o)||t===!0&amp;&amp;ym(o)||!r&amp;&amp;!ym(o)||e.draggable&amp;&amp;o.startsWith(&quot;onDrag&quot;))&amp;&amp;(n[o]=e[o]);return n}const Sp=L.createContext({});function tD(e,r){if(jp(e)){const{initial:t,animate:n}=e;return{initial:t===!1||id(t)?t:void 0,animate:id(n)?n:void 0}}return e.inherit!==!1?r:{}}function rD(e){const{initial:r,animate:t}=tD(e,L.useContext(Sp));return L.useMemo(()=&gt;({initial:r,animate:t}),[b4(r),b4(t)])}function b4(e){return Array.isArray(e)?e.join(&quot; &quot;):e}const N1=()=&gt;({style:{},transform:{},transformOrigin:{},vars:{}});function q8(e,r,t){for(const n in r)!Fn(r[n])&amp;&amp;!j8(n,t)&amp;&amp;(e[n]=r[n])}function nD({transformTemplate:e},r){return L.useMemo(()=&gt;{const t=N1();return j1(t,r,e),Object.assign({},t.vars,t.style)},[r])}function iD(e,r){const t=e.style||{},n={};return q8(n,t,e),Object.assign(n,nD(e,r)),n}function sD(e,r){const t={},n=iD(e,r);return e.drag&amp;&amp;e.dragListener!==!1&amp;&amp;(t.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout=&quot;none&quot;,n.touchAction=e.drag===!0?&quot;none&quot;:`pan-${e.drag===&quot;x&quot;?&quot;y&quot;:&quot;x&quot;}`),e.tabIndex===void 0&amp;&amp;(e.onTap||e.onTapStart||e.whileTap)&amp;&amp;(t.tabIndex=0),t.style=n,t}const H8=()=&gt;({...N1(),attrs:{}});function aD(e,r,t,n){const o=L.useMemo(()=&gt;{const i=H8();return S8(i,r,N8(n),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[r]);if(e.style){const i={};q8(i,e.style,e),o.style={...i,...o.style}}return o}const oD=[&quot;animate&quot;,&quot;circle&quot;,&quot;defs&quot;,&quot;desc&quot;,&quot;ellipse&quot;,&quot;g&quot;,&quot;image&quot;,&quot;line&quot;,&quot;filter&quot;,&quot;marker&quot;,&quot;mask&quot;,&quot;metadata&quot;,&quot;path&quot;,&quot;pattern&quot;,&quot;polygon&quot;,&quot;polyline&quot;,&quot;rect&quot;,&quot;stop&quot;,&quot;switch&quot;,&quot;symbol&quot;,&quot;svg&quot;,&quot;text&quot;,&quot;tspan&quot;,&quot;use&quot;,&quot;view&quot;];function C1(e){return typeof e!=&quot;string&quot;||e.includes(&quot;-&quot;)?!1:!!(oD.indexOf(e)&gt;-1||/[A-Z]/u.test(e))}function lD(e,r,t,{latestValues:n},o,i=!1,a){const l=(a??C1(e)?aD:sD)(r,n,o,e),s=eD(r,typeof e==&quot;string&quot;,i),d=e!==L.Fragment?{...s,...l,ref:t}:{},{children:f}=r,h=L.useMemo(()=&gt;Fn(f)?f.get():f,[f]);return L.createElement(e,{...d,children:h})}function cD({scrapeMotionValuesFromProps:e,createRenderState:r},t,n,o){return{latestValues:uD(t,n,o,e),renderState:r()}}function uD(e,r,t,n){const o={},i=n(e,{});for(const h in i)o[h]=em(i[h]);let{initial:a,animate:u}=e;const l=jp(e),s=p8(e);r&amp;&amp;s&amp;&amp;!l&amp;&amp;e.inherit!==!1&amp;&amp;(a===void 0&amp;&amp;(a=r.initial),u===void 0&amp;&amp;(u=r.animate));let d=t?t.initial===!1:!1;d=d||a===!1;const f=d?u:a;if(f&amp;&amp;typeof f!=&quot;boolean&quot;&amp;&amp;!_p(f)){const h=Array.isArray(f)?f:[f];for(let m=0;m&lt;h.length;m++){const p=g1(e,h[m]);if(p){const{transitionEnd:b,transition:g,...y}=p;for(const v in y){let _=y[v];if(Array.isArray(_)){const C=d?_.length-1:0;_=_[C]}_!==null&amp;&amp;(o[v]=_)}for(const v in b)o[v]=b[v]}}}return o}const W8=e=&gt;(r,t)=&gt;{const n=L.useContext(Sp),o=L.useContext(wp),i=()=&gt;cD(e,r,n,o);return t?i():Zv(i)},dD=W8({scrapeMotionValuesFromProps:S1,createRenderState:N1}),fD=W8({scrapeMotionValuesFromProps:C8,createRenderState:H8}),hD=Symbol.for(&quot;motionComponentSymbol&quot;);function mD(e,r,t){const n=L.useRef(t);L.useInsertionEffect(()=&gt;{n.current=t});const o=L.useRef(null);return L.useCallback(i=&gt;{i&amp;&amp;e.onMount?.(i),r&amp;&amp;(i?r.mount(i):r.unmount());const a=n.current;if(typeof a==&quot;function&quot;)if(i){const u=a(i);typeof u==&quot;function&quot;&amp;&amp;(o.current=u)}else o.current?(o.current(),o.current=null):a(i);else a&amp;&amp;(a.current=i)},[r])}const K8=L.createContext({});function Uu(e){return e&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;Object.prototype.hasOwnProperty.call(e,&quot;current&quot;)}function pD(e,r,t,n,o,i){const{visualElement:a}=L.useContext(Sp),u=L.useContext($8),l=L.useContext(wp),s=L.useContext(k1).reducedMotion,d=L.useRef(null);n=n||u.renderer,!d.current&amp;&amp;n&amp;&amp;(d.current=n(e,{visualState:r,parent:a,props:t,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:s,isSVG:i}));const f=d.current,h=L.useContext(K8);f&amp;&amp;!f.projection&amp;&amp;o&amp;&amp;(f.type===&quot;html&quot;||f.type===&quot;svg&quot;)&amp;&amp;gD(d.current,t,o,h);const m=L.useRef(!1);L.useInsertionEffect(()=&gt;{f&amp;&amp;m.current&amp;&amp;f.update(t,l)});const p=t[e8],b=L.useRef(!!p&amp;&amp;!window.MotionHandoffIsComplete?.(p)&amp;&amp;window.MotionHasOptimisedAnimation?.(p));return bN(()=&gt;{f&amp;&amp;(m.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),b.current&amp;&amp;f.animationState&amp;&amp;f.animationState.animateChanges())}),L.useEffect(()=&gt;{f&amp;&amp;(!b.current&amp;&amp;f.animationState&amp;&amp;f.animationState.animateChanges(),b.current&amp;&amp;(queueMicrotask(()=&gt;{window.MotionHandoffMarkAsComplete?.(p)}),b.current=!1),f.enteringChildren=void 0)}),f}function gD(e,r,t,n){const{layoutId:o,layout:i,drag:a,dragConstraints:u,layoutScroll:l,layoutRoot:s,layoutCrossfade:d}=r;e.projection=new t(e.latestValues,r[&quot;data-framer-portal-id&quot;]?void 0:X8(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!a||u&amp;&amp;Uu(u),visualElement:e,animationType:typeof i==&quot;string&quot;?i:&quot;both&quot;,initialPromotionConfig:n,crossfade:d,layoutScroll:l,layoutRoot:s})}function X8(e){if(e)return e.options.allowProjection!==!1?e.projection:X8(e.parent)}function lb(e,{forwardMotionProps:r=!1,type:t}={},n,o){n&amp;&amp;ZR(n);const i=t?t===&quot;svg&quot;:C1(e),a=i?fD:dD;function u(s,d){let f;const h={...L.useContext(k1),...s,layoutId:bD(s)},{isStatic:m}=h,p=rD(s),b=a(s,m);if(!m&amp;&amp;gN){xD();const g=yD(h);f=g.MeasureLayout,p.visualElement=pD(e,b,h,o,g.ProjectionNode,i)}return c.jsxs(Sp.Provider,{value:p,children:[f&amp;&amp;p.visualElement?c.jsx(f,{visualElement:p.visualElement,...h}):null,lD(e,s,mD(b,p.visualElement,d),b,m,r,i)]})}u.displayName=`motion.${typeof e==&quot;string&quot;?e:`create(${e.displayName??e.name??&quot;&quot;})`}`;const l=L.forwardRef(u);return l[hD]=e,l}function bD({layoutId:e}){const r=L.useContext(Yv).id;return r&amp;&amp;e!==void 0?r+&quot;-&quot;+e:e}function xD(e,r){L.useContext($8).strict}function yD(e){const r=U8(),{drag:t,layout:n}=r;if(!t&amp;&amp;!n)return{};const o={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function vD(e,r){if(typeof Proxy&gt;&quot;u&quot;)return lb;const t=new Map,n=(i,a)=&gt;lb(i,a,e,r),o=(i,a)=&gt;n(i,a);return new Proxy(o,{get:(i,a)=&gt;a===&quot;create&quot;?n:(t.has(a)||t.set(a,lb(a,void 0,e,r)),t.get(a))})}const wD=(e,r)=&gt;r.isSVG??C1(e)?new QI(r):new WI(r,{allowProjection:e!==L.Fragment});class _D extends vo{constructor(r){super(r),r.animationState||(r.animationState=nR(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();_p(r)&amp;&amp;(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:t}=this.node.prevProps||{};r!==t&amp;&amp;this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let jD=0;class SD extends vo{constructor(){super(...arguments),this.id=jD++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===n)return;const o=this.node.animationState.setActive(&quot;exit&quot;,!r);t&amp;&amp;!r&amp;&amp;o.then(()=&gt;{t(this.id)})}mount(){const{register:r,onExitComplete:t}=this.node.presenceContext||{};t&amp;&amp;t(this.id),r&amp;&amp;(this.unmount=r(this.id))}unmount(){}}const kD={animation:{Feature:_D},exit:{Feature:SD}};function Cd(e){return{point:{x:e.pageX,y:e.pageY}}}const ND=e=&gt;r=&gt;v1(r)&amp;&amp;e(r,Cd(r));function Gu(e,r,t,n){return sd(e,r,ND(t),n)}const G8=({current:e})=&gt;e?e.ownerDocument.defaultView:null,x4=(e,r)=&gt;Math.abs(e-r);function CD(e,r){const t=x4(e.x,r.x),n=x4(e.y,r.y);return Math.sqrt(t**2+n**2)}const y4=new Set([&quot;auto&quot;,&quot;scroll&quot;]);class Y8{constructor(r,t,{transformPagePoint:n,contextWindow:o=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:u}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=m=&gt;{this.handleScroll(m.target)},this.onWindowScroll=()=&gt;{this.handleScroll(window)},this.updatePoint=()=&gt;{if(!(this.lastMoveEvent&amp;&amp;this.lastMoveEventInfo))return;const m=ub(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,b=CD(m.offset,{x:0,y:0})&gt;=this.distanceThreshold;if(!p&amp;&amp;!b)return;const{point:g}=m,{timestamp:y}=kn;this.history.push({...g,timestamp:y});const{onStart:v,onMove:_}=this.handlers;p||(v&amp;&amp;v(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),_&amp;&amp;_(this.lastMoveEvent,m)},this.handlePointerMove=(m,p)=&gt;{this.lastMoveEvent=m,this.lastMoveEventInfo=cb(p,this.transformPagePoint),jr.update(this.updatePoint,!0)},this.handlePointerUp=(m,p)=&gt;{this.end();const{onEnd:b,onSessionEnd:g,resumeAnimation:y}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&amp;&amp;y&amp;&amp;y(),!(this.lastMoveEvent&amp;&amp;this.lastMoveEventInfo))return;const v=ub(m.type===&quot;pointercancel&quot;?this.lastMoveEventInfo:cb(p,this.transformPagePoint),this.history);this.startEvent&amp;&amp;b&amp;&amp;b(m,v),g&amp;&amp;g(m,v)},!v1(r))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=o||window;const l=Cd(r),s=cb(l,this.transformPagePoint),{point:d}=s,{timestamp:f}=kn;this.history=[{...d,timestamp:f}];const{onSessionStart:h}=t;h&amp;&amp;h(r,ub(s,this.history)),this.removeListeners=Sd(Gu(this.contextWindow,&quot;pointermove&quot;,this.handlePointerMove),Gu(this.contextWindow,&quot;pointerup&quot;,this.handlePointerUp),Gu(this.contextWindow,&quot;pointercancel&quot;,this.handlePointerUp)),u&amp;&amp;this.startScrollTracking(u)}startScrollTracking(r){let t=r.parentElement;for(;t;){const n=getComputedStyle(t);(y4.has(n.overflowX)||y4.has(n.overflowY))&amp;&amp;this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(&quot;scroll&quot;,this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener(&quot;scroll&quot;,this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=&gt;{window.removeEventListener(&quot;scroll&quot;,this.onElementScroll,{capture:!0}),window.removeEventListener(&quot;scroll&quot;,this.onWindowScroll)}}handleScroll(r){const t=this.scrollPositions.get(r);if(!t)return;const n=r===window,o=n?{x:window.scrollX,y:window.scrollY}:{x:r.scrollLeft,y:r.scrollTop},i={x:o.x-t.x,y:o.y-t.y};i.x===0&amp;&amp;i.y===0||(n?this.lastMoveEventInfo&amp;&amp;(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length&gt;0&amp;&amp;(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(r,o),jr.update(this.updatePoint,!0))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&amp;&amp;this.removeListeners(),this.removeScrollListeners&amp;&amp;this.removeScrollListeners(),this.scrollPositions.clear(),uo(this.updatePoint)}}function cb(e,r){return r?{point:r(e.point)}:e}function v4(e,r){return{x:e.x-r.x,y:e.y-r.y}}function ub({point:e},r){return{point:e,delta:v4(e,Z8(r)),offset:v4(e,ED(r)),velocity:AD(r,.1)}}function ED(e){return e[0]}function Z8(e){return e[e.length-1]}function AD(e,r){if(e.length&lt;2)return{x:0,y:0};let t=e.length-1,n=null;const o=Z8(e);for(;t&gt;=0&amp;&amp;(n=e[t],!(o.timestamp-n.timestamp&gt;aa(r)));)t--;if(!n)return{x:0,y:0};const i=$i(o.timestamp-n.timestamp);if(i===0)return{x:0,y:0};const a={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return a.x===1/0&amp;&amp;(a.x=0),a.y===1/0&amp;&amp;(a.y=0),a}function MD(e,{min:r,max:t},n){return r!==void 0&amp;&amp;e&lt;r?e=n?Ir(r,e,n.min):Math.max(e,r):t!==void 0&amp;&amp;e&gt;t&amp;&amp;(e=n?Ir(t,e,n.max):Math.min(e,t)),e}function w4(e,r,t){return{min:r!==void 0?e.min+r:void 0,max:t!==void 0?e.max+t-(e.max-e.min):void 0}}function OD(e,{top:r,left:t,bottom:n,right:o}){return{x:w4(e.x,t,o),y:w4(e.y,r,n)}}function _4(e,r){let t=r.min-e.min,n=r.max-e.max;return r.max-r.min&lt;e.max-e.min&amp;&amp;([t,n]=[n,t]),{min:t,max:n}}function PD(e,r){return{x:_4(e.x,r.x),y:_4(e.y,r.y)}}function TD(e,r){let t=.5;const n=Wn(e),o=Wn(r);return o&gt;n?t=td(r.min,r.max-n,e.min):n&gt;o&amp;&amp;(t=td(e.min,e.max-o,r.min)),Ps(0,1,t)}function ID(e,r){const t={};return r.min!==void 0&amp;&amp;(t.min=r.min-e.min),r.max!==void 0&amp;&amp;(t.max=r.max-e.min),t}const Ay=.35;function RD(e=Ay){return e===!1?e=0:e===!0&amp;&amp;(e=Ay),{x:j4(e,&quot;left&quot;,&quot;right&quot;),y:j4(e,&quot;top&quot;,&quot;bottom&quot;)}}function j4(e,r,t){return{min:S4(e,r),max:S4(e,t)}}function S4(e,r){return typeof e==&quot;number&quot;?e:e[r]||0}const DD=new WeakMap;class LD{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=tn(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:t=!1,distanceThreshold:n}={}){const{presenceContext:o}=this.visualElement;if(o&amp;&amp;o.isPresent===!1)return;const i=f=&gt;{t?(this.stopAnimation(),this.snapToCursor(Cd(f).point)):this.pauseAnimation()},a=(f,h)=&gt;{this.stopAnimation();const{drag:m,dragPropagation:p,onDragStart:b}=this.getProps();if(m&amp;&amp;!p&amp;&amp;(this.openDragLock&amp;&amp;this.openDragLock(),this.openDragLock=jI(m),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&amp;&amp;(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Bi(y=&gt;{let v=this.getAxisMotionValue(y).get()||0;if(Ms.test(v)){const{projection:_}=this.visualElement;if(_&amp;&amp;_.layout){const C=_.layout.layoutBox[y];C&amp;&amp;(v=Wn(C)*(parseFloat(v)/100))}}this.originPoint[y]=v}),b&amp;&amp;jr.postRender(()=&gt;b(f,h)),_y(this.visualElement,&quot;transform&quot;);const{animationState:g}=this.visualElement;g&amp;&amp;g.setActive(&quot;whileDrag&quot;,!0)},u=(f,h)=&gt;{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:m,dragDirectionLock:p,onDirectionLock:b,onDrag:g}=this.getProps();if(!m&amp;&amp;!this.openDragLock)return;const{offset:y}=h;if(p&amp;&amp;this.currentDirection===null){this.currentDirection=FD(y),this.currentDirection!==null&amp;&amp;b&amp;&amp;b(this.currentDirection);return}this.updateAxis(&quot;x&quot;,h.point,y),this.updateAxis(&quot;y&quot;,h.point,y),this.visualElement.render(),g&amp;&amp;g(f,h)},l=(f,h)=&gt;{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},s=()=&gt;Bi(f=&gt;this.getAnimationState(f)===&quot;paused&quot;&amp;&amp;this.getAxisMotionValue(f).animation?.play()),{dragSnapToOrigin:d}=this.getProps();this.panSession=new Y8(r,{onSessionStart:i,onStart:a,onMove:u,onSessionEnd:l,resumeAnimation:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:n,contextWindow:G8(this.visualElement),element:this.visualElement.current})}stop(r,t){const n=r||this.latestPointerEvent,o=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!o||!n)return;const{velocity:a}=o;this.startAnimation(a);const{onDragEnd:u}=this.getProps();u&amp;&amp;jr.postRender(()=&gt;u(n,o))}cancel(){this.isDragging=!1;const{projection:r,animationState:t}=this.visualElement;r&amp;&amp;(r.isAnimationBlocked=!1),this.panSession&amp;&amp;this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&amp;&amp;this.openDragLock&amp;&amp;(this.openDragLock(),this.openDragLock=null),t&amp;&amp;t.setActive(&quot;whileDrag&quot;,!1)}updateAxis(r,t,n){const{drag:o}=this.getProps();if(!n||!Nh(r,o,this.currentDirection))return;const i=this.getAxisMotionValue(r);let a=this.originPoint[r]+n[r];this.constraints&amp;&amp;this.constraints[r]&amp;&amp;(a=MD(a,this.constraints[r],this.elastic[r])),i.set(a)}resolveConstraints(){const{dragConstraints:r,dragElastic:t}=this.getProps(),n=this.visualElement.projection&amp;&amp;!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;r&amp;&amp;Uu(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&amp;&amp;n?this.constraints=OD(n.layoutBox,r):this.constraints=!1,this.elastic=RD(t),o!==this.constraints&amp;&amp;n&amp;&amp;this.constraints&amp;&amp;!this.hasMutatedConstraints&amp;&amp;Bi(i=&gt;{this.constraints!==!1&amp;&amp;this.getAxisMotionValue(i)&amp;&amp;(this.constraints[i]=ID(n.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:t}=this.getProps();if(!r||!Uu(r))return!1;const n=r.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=zI(n,o.root,this.visualElement.getTransformPagePoint());let a=PD(o.layout.layoutBox,i);if(t){const u=t(LI(a));this.hasMutatedConstraints=!!u,u&amp;&amp;(a=x8(u))}return a}startAnimation(r){const{drag:t,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:u}=this.getProps(),l=this.constraints||{},s=Bi(d=&gt;{if(!Nh(d,t,this.currentDirection))return;let f=l&amp;&amp;l[d]||{};a&amp;&amp;(f={min:0,max:0});const h=o?200:1e6,m=o?40:1e7,p={type:&quot;inertia&quot;,velocity:n?r[d]:0,bounceStiffness:h,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...i,...f};return this.startAxisValueAnimation(d,p)});return Promise.all(s).then(u)}startAxisValueAnimation(r,t){const n=this.getAxisMotionValue(r);return _y(this.visualElement,r),n.start(p1(r,n,0,t,this.visualElement,!1))}stopAnimation(){Bi(r=&gt;this.getAxisMotionValue(r).stop())}pauseAnimation(){Bi(r=&gt;this.getAxisMotionValue(r).animation?.pause())}getAnimationState(r){return this.getAxisMotionValue(r).animation?.state}getAxisMotionValue(r){const t=`_drag${r.toUpperCase()}`,n=this.visualElement.getProps(),o=n[t];return o||this.visualElement.getValue(r,(n.initial?n.initial[r]:void 0)||0)}snapToCursor(r){Bi(t=&gt;{const{drag:n}=this.getProps();if(!Nh(t,n,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(t);if(o&amp;&amp;o.layout){const{min:a,max:u}=o.layout.layoutBox[t],l=i.get()||0;i.set(r[t]-Ir(a,u,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Uu(t)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Bi(a=&gt;{const u=this.getAxisMotionValue(a);if(u&amp;&amp;this.constraints!==!1){const l=u.get();o[a]=TD({min:l,max:l},this.constraints[a])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},&quot;&quot;):&quot;none&quot;,n.root&amp;&amp;n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Bi(a=&gt;{if(!Nh(a,r,null))return;const u=this.getAxisMotionValue(a),{min:l,max:s}=this.constraints[a];u.set(Ir(l,s,o[a]))})}addListeners(){if(!this.visualElement.current)return;DD.set(this.visualElement,this);const r=this.visualElement.current,t=Gu(r,&quot;pointerdown&quot;,l=&gt;{const{drag:s,dragListener:d=!0}=this.getProps();s&amp;&amp;d&amp;&amp;!f8(l.target)&amp;&amp;this.start(l)}),n=()=&gt;{const{dragConstraints:l}=this.getProps();Uu(l)&amp;&amp;l.current&amp;&amp;(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener(&quot;measure&quot;,n);o&amp;&amp;!o.layout&amp;&amp;(o.root&amp;&amp;o.root.updateScroll(),o.updateLayout()),jr.read(n);const a=sd(window,&quot;resize&quot;,()=&gt;this.scalePositionWithinConstraints()),u=o.addEventListener(&quot;didUpdate&quot;,(({delta:l,hasLayoutChanged:s})=&gt;{this.isDragging&amp;&amp;s&amp;&amp;(Bi(d=&gt;{const f=this.getAxisMotionValue(d);f&amp;&amp;(this.originPoint[d]+=l[d].translate,f.set(f.get()+l[d].translate))}),this.visualElement.render())}));return()=&gt;{a(),t(),i(),u&amp;&amp;u()}}getProps(){const r=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:a=Ay,dragMomentum:u=!0}=r;return{...r,drag:t,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:a,dragMomentum:u}}}function Nh(e,r,t){return(r===!0||r===e)&amp;&amp;(t===null||t===e)}function FD(e,r=10){let t=null;return Math.abs(e.y)&gt;r?t=&quot;y&quot;:Math.abs(e.x)&gt;r&amp;&amp;(t=&quot;x&quot;),t}class BD extends vo{constructor(r){super(r),this.removeGroupControls=qi,this.removeListeners=qi,this.controls=new LD(r)}mount(){const{dragControls:r}=this.node.getProps();r&amp;&amp;(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||qi}update(){const{dragControls:r}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};r!==t&amp;&amp;(this.removeGroupControls(),r&amp;&amp;(this.removeGroupControls=r.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const k4=e=&gt;(r,t)=&gt;{e&amp;&amp;jr.postRender(()=&gt;e(r,t))};class zD extends vo{constructor(){super(...arguments),this.removePointerDownListener=qi}onPointerDown(r){this.session=new Y8(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:G8(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:t,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:k4(r),onStart:k4(t),onMove:n,onEnd:(i,a)=&gt;{delete this.session,o&amp;&amp;jr.postRender(()=&gt;o(i,a))}}}mount(){this.removePointerDownListener=Gu(this.node.current,&quot;pointerdown&quot;,r=&gt;this.onPointerDown(r))}update(){this.session&amp;&amp;this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&amp;&amp;this.session.end()}}let db=!1;class $D extends L.Component{componentDidMount(){const{visualElement:r,layoutGroup:t,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=r;i&amp;&amp;(t.group&amp;&amp;t.group.add(i),n&amp;&amp;n.register&amp;&amp;o&amp;&amp;n.register(i),db&amp;&amp;i.root.didUpdate(),i.addEventListener(&quot;animationComplete&quot;,()=&gt;{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=&gt;this.safeToRemove()})),tm.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:t,visualElement:n,drag:o,isPresent:i}=this.props,{projection:a}=n;return a&amp;&amp;(a.isPresent=i,db=!0,o||r.layoutDependency!==t||t===void 0||r.isPresent!==i?a.willUpdate():this.safeToRemove(),r.isPresent!==i&amp;&amp;(i?a.promote():a.relegate()||jr.postRender(()=&gt;{const u=a.getStack();(!u||!u.members.length)&amp;&amp;this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&amp;&amp;(r.root.didUpdate(),y1.postRender(()=&gt;{!r.currentAnimation&amp;&amp;r.isLead()&amp;&amp;this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:o}=r;db=!0,o&amp;&amp;(o.scheduleCheckAfterUnmount(),t&amp;&amp;t.group&amp;&amp;t.group.remove(o),n&amp;&amp;n.deregister&amp;&amp;n.deregister(o))}safeToRemove(){const{safeToRemove:r}=this.props;r&amp;&amp;r()}render(){return null}}function Q8(e){const[r,t]=z8(),n=L.useContext(Yv);return c.jsx($D,{...e,layoutGroup:n,switchLayoutGroup:L.useContext(K8),isPresent:r,safeToRemove:t})}const UD={pan:{Feature:zD},drag:{Feature:BD,ProjectionNode:B8,MeasureLayout:Q8}};function N4(e,r,t){const{props:n}=e;e.animationState&amp;&amp;n.whileHover&amp;&amp;e.animationState.setActive(&quot;whileHover&quot;,t===&quot;Start&quot;);const o=&quot;onHover&quot;+t,i=n[o];i&amp;&amp;jr.postRender(()=&gt;i(r,Cd(r)))}class VD extends vo{mount(){const{current:r}=this.node;r&amp;&amp;(this.unmount=SI(r,(t,n)=&gt;(N4(this.node,n,&quot;Start&quot;),o=&gt;N4(this.node,o,&quot;End&quot;))))}unmount(){}}class qD extends vo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(&quot;:focus-visible&quot;)}catch{r=!0}!r||!this.node.animationState||(this.node.animationState.setActive(&quot;whileFocus&quot;,!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(&quot;whileFocus&quot;,!1),this.isActive=!1)}mount(){this.unmount=Sd(sd(this.node.current,&quot;focus&quot;,()=&gt;this.onFocus()),sd(this.node.current,&quot;blur&quot;,()=&gt;this.onBlur()))}unmount(){}}function C4(e,r,t){const{props:n}=e;if(e.current instanceof HTMLButtonElement&amp;&amp;e.current.disabled)return;e.animationState&amp;&amp;n.whileTap&amp;&amp;e.animationState.setActive(&quot;whileTap&quot;,t===&quot;Start&quot;);const o=&quot;onTap&quot;+(t===&quot;End&quot;?&quot;&quot;:t),i=n[o];i&amp;&amp;jr.postRender(()=&gt;i(r,Cd(r)))}class HD extends vo{mount(){const{current:r}=this.node;r&amp;&amp;(this.unmount=CI(r,(t,n)=&gt;(C4(this.node,n,&quot;Start&quot;),(o,{success:i})=&gt;C4(this.node,o,i?&quot;End&quot;:&quot;Cancel&quot;)),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const My=new WeakMap,fb=new WeakMap,WD=e=&gt;{const r=My.get(e.target);r&amp;&amp;r(e)},KD=e=&gt;{e.forEach(WD)};function XD({root:e,...r}){const t=e||document;fb.has(t)||fb.set(t,{});const n=fb.get(t),o=JSON.stringify(r);return n[o]||(n[o]=new IntersectionObserver(KD,{root:e,...r})),n[o]}function GD(e,r,t){const n=XD(r);return My.set(e,t),n.observe(e),()=&gt;{My.delete(e),n.unobserve(e)}}const YD={some:0,all:1};class ZD extends vo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:t,margin:n,amount:o=&quot;some&quot;,once:i}=r,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof o==&quot;number&quot;?o:YD[o]},u=l=&gt;{const{isIntersecting:s}=l;if(this.isInView===s||(this.isInView=s,i&amp;&amp;!s&amp;&amp;this.hasEnteredView))return;s&amp;&amp;(this.hasEnteredView=!0),this.node.animationState&amp;&amp;this.node.animationState.setActive(&quot;whileInView&quot;,s);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),h=s?d:f;h&amp;&amp;h(l)};return GD(this.node.current,a,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver&gt;&quot;u&quot;)return;const{props:r,prevProps:t}=this.node;[&quot;amount&quot;,&quot;margin&quot;,&quot;root&quot;].some(QD(r,t))&amp;&amp;this.startObserver()}unmount(){}}function QD({viewport:e={}},{viewport:r={}}={}){return t=&gt;e[t]!==r[t]}const JD={inView:{Feature:ZD},tap:{Feature:HD},focus:{Feature:qD},hover:{Feature:VD}},eL={layout:{ProjectionNode:B8,MeasureLayout:Q8}},tL={...kD,...JD,...UD,...eL},E4=vD(tL,wD);const rL=e=&gt;e.replace(/([a-z0-9])([A-Z])/g,&quot;$1-$2&quot;).toLowerCase(),nL=e=&gt;e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,t,n)=&gt;n?n.toUpperCase():t.toLowerCase()),A4=e=&gt;{const r=nL(e);return r.charAt(0).toUpperCase()+r.slice(1)},J8=(...e)=&gt;e.filter((r,t,n)=&gt;!!r&amp;&amp;r.trim()!==&quot;&quot;&amp;&amp;n.indexOf(r)===t).join(&quot; &quot;).trim(),iL=e=&gt;{for(const r in e)if(r.startsWith(&quot;aria-&quot;)||r===&quot;role&quot;||r===&quot;title&quot;)return!0};var sL={xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:24,height:24,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:2,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;};const aL=L.forwardRef(({color:e=&quot;currentColor&quot;,size:r=24,strokeWidth:t=2,absoluteStrokeWidth:n,className:o=&quot;&quot;,children:i,iconNode:a,...u},l)=&gt;L.createElement(&quot;svg&quot;,{ref:l,...sL,width:r,height:r,stroke:e,strokeWidth:n?Number(t)*24/Number(r):t,className:J8(&quot;lucide&quot;,o),...!i&amp;&amp;!iL(u)&amp;&amp;{&quot;aria-hidden&quot;:&quot;true&quot;},...u},[...a.map(([s,d])=&gt;L.createElement(s,d)),...Array.isArray(i)?i:[i]]));const zt=(e,r)=&gt;{const t=L.forwardRef(({className:n,...o},i)=&gt;L.createElement(aL,{ref:i,iconNode:r,className:J8(`lucide-${rL(A4(e))}`,`lucide-${e}`,n),...o}));return t.displayName=A4(e),t};const oL=[[&quot;path&quot;,{d:&quot;M8 3 4 7l4 4&quot;,key:&quot;9rb6wj&quot;}],[&quot;path&quot;,{d:&quot;M4 7h16&quot;,key:&quot;6tx8e3&quot;}],[&quot;path&quot;,{d:&quot;m16 21 4-4-4-4&quot;,key:&quot;siv7j2&quot;}],[&quot;path&quot;,{d:&quot;M20 17H4&quot;,key:&quot;h6l3hr&quot;}]],lL=zt(&quot;arrow-left-right&quot;,oL);const cL=[[&quot;path&quot;,{d:&quot;M5 12h14&quot;,key:&quot;1ays0h&quot;}],[&quot;path&quot;,{d:&quot;m12 5 7 7-7 7&quot;,key:&quot;xquz4c&quot;}]],Oy=zt(&quot;arrow-right&quot;,cL);const uL=[[&quot;path&quot;,{d:&quot;M8 2v4&quot;,key:&quot;1cmpym&quot;}],[&quot;path&quot;,{d:&quot;M16 2v4&quot;,key:&quot;4m81vk&quot;}],[&quot;rect&quot;,{width:&quot;18&quot;,height:&quot;18&quot;,x:&quot;3&quot;,y:&quot;4&quot;,rx:&quot;2&quot;,key:&quot;1hopcy&quot;}],[&quot;path&quot;,{d:&quot;M3 10h18&quot;,key:&quot;8toen8&quot;}],[&quot;path&quot;,{d:&quot;M8 14h.01&quot;,key:&quot;6423bh&quot;}],[&quot;path&quot;,{d:&quot;M12 14h.01&quot;,key:&quot;1etili&quot;}],[&quot;path&quot;,{d:&quot;M16 14h.01&quot;,key:&quot;1gbofw&quot;}],[&quot;path&quot;,{d:&quot;M8 18h.01&quot;,key:&quot;lrp35t&quot;}],[&quot;path&quot;,{d:&quot;M12 18h.01&quot;,key:&quot;mhygvu&quot;}],[&quot;path&quot;,{d:&quot;M16 18h.01&quot;,key:&quot;kzsmim&quot;}]],dL=zt(&quot;calendar-days&quot;,uL);const fL=[[&quot;path&quot;,{d:&quot;M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z&quot;,key:&quot;18u6gg&quot;}],[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;13&quot;,r:&quot;3&quot;,key:&quot;1vg3eu&quot;}]],hL=zt(&quot;camera&quot;,fL);const mL=[[&quot;path&quot;,{d:&quot;M20 6 9 17l-5-5&quot;,key:&quot;1gmf2c&quot;}]],M4=zt(&quot;check&quot;,mL);const pL=[[&quot;path&quot;,{d:&quot;m6 9 6 6 6-6&quot;,key:&quot;qrunsl&quot;}]],Py=zt(&quot;chevron-down&quot;,pL);const gL=[[&quot;path&quot;,{d:&quot;m15 18-6-6 6-6&quot;,key:&quot;1wnfg3&quot;}]],bL=zt(&quot;chevron-left&quot;,gL);const xL=[[&quot;path&quot;,{d:&quot;m9 18 6-6-6-6&quot;,key:&quot;mthhwq&quot;}]],yL=zt(&quot;chevron-right&quot;,xL);const vL=[[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;12&quot;,r:&quot;10&quot;,key:&quot;1mglay&quot;}],[&quot;line&quot;,{x1:&quot;12&quot;,x2:&quot;12&quot;,y1:&quot;8&quot;,y2:&quot;12&quot;,key:&quot;1pkeuh&quot;}],[&quot;line&quot;,{x1:&quot;12&quot;,x2:&quot;12.01&quot;,y1:&quot;16&quot;,y2:&quot;16&quot;,key:&quot;4dfq90&quot;}]],Ty=zt(&quot;circle-alert&quot;,vL);const wL=[[&quot;path&quot;,{d:&quot;M21.801 10A10 10 0 1 1 17 3.335&quot;,key:&quot;yps3ct&quot;}],[&quot;path&quot;,{d:&quot;m9 11 3 3L22 4&quot;,key:&quot;1pflzl&quot;}]],_L=zt(&quot;circle-check-big&quot;,wL);const jL=[[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;12&quot;,r:&quot;10&quot;,key:&quot;1mglay&quot;}],[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;10&quot;,r:&quot;3&quot;,key:&quot;ilqhr7&quot;}],[&quot;path&quot;,{d:&quot;M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662&quot;,key:&quot;154egf&quot;}]],O4=zt(&quot;circle-user&quot;,jL);const SL=[[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;12&quot;,r:&quot;10&quot;,key:&quot;1mglay&quot;}],[&quot;path&quot;,{d:&quot;m15 9-6 6&quot;,key:&quot;1uzhvr&quot;}],[&quot;path&quot;,{d:&quot;m9 9 6 6&quot;,key:&quot;z0biqf&quot;}]],kL=zt(&quot;circle-x&quot;,SL);const NL=[[&quot;rect&quot;,{width:&quot;20&quot;,height:&quot;14&quot;,x:&quot;2&quot;,y:&quot;5&quot;,rx:&quot;2&quot;,key:&quot;ynyp8z&quot;}],[&quot;line&quot;,{x1:&quot;2&quot;,x2:&quot;22&quot;,y1:&quot;10&quot;,y2:&quot;10&quot;,key:&quot;1b3vmo&quot;}]],CL=zt(&quot;credit-card&quot;,NL);const EL=[[&quot;line&quot;,{x1:&quot;12&quot;,x2:&quot;12&quot;,y1:&quot;2&quot;,y2:&quot;22&quot;,key:&quot;7eqyqh&quot;}],[&quot;path&quot;,{d:&quot;M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6&quot;,key:&quot;1b0p4s&quot;}]],Iy=zt(&quot;dollar-sign&quot;,EL);const AL=[[&quot;path&quot;,{d:&quot;M12 15V3&quot;,key:&quot;m9g1x1&quot;}],[&quot;path&quot;,{d:&quot;M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4&quot;,key:&quot;ih7n3h&quot;}],[&quot;path&quot;,{d:&quot;m7 10 5 5 5-5&quot;,key:&quot;brsn70&quot;}]],ML=zt(&quot;download&quot;,AL);const OL=[[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;12&quot;,r:&quot;1&quot;,key:&quot;41hilf&quot;}],[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;5&quot;,r:&quot;1&quot;,key:&quot;gxeob9&quot;}],[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;19&quot;,r:&quot;1&quot;,key:&quot;lyex9k&quot;}]],PL=zt(&quot;ellipsis-vertical&quot;,OL);const TL=[[&quot;path&quot;,{d:&quot;M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z&quot;,key:&quot;1oefj6&quot;}],[&quot;path&quot;,{d:&quot;M14 2v5a1 1 0 0 0 1 1h5&quot;,key:&quot;wfsgrz&quot;}],[&quot;path&quot;,{d:&quot;M12 18v-6&quot;,key:&quot;17g6i2&quot;}],[&quot;path&quot;,{d:&quot;m9 15 3 3 3-3&quot;,key:&quot;1npd3o&quot;}]],ua=zt(&quot;file-down&quot;,TL);const IL=[[&quot;path&quot;,{d:&quot;M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z&quot;,key:&quot;1oefj6&quot;}],[&quot;path&quot;,{d:&quot;M14 2v5a1 1 0 0 0 1 1h5&quot;,key:&quot;wfsgrz&quot;}],[&quot;path&quot;,{d:&quot;M8 13h2&quot;,key:&quot;yr2amv&quot;}],[&quot;path&quot;,{d:&quot;M14 13h2&quot;,key:&quot;un5t4a&quot;}],[&quot;path&quot;,{d:&quot;M8 17h2&quot;,key:&quot;2yhykz&quot;}],[&quot;path&quot;,{d:&quot;M14 17h2&quot;,key:&quot;10kma7&quot;}]],P4=zt(&quot;file-spreadsheet&quot;,IL);const RL=[[&quot;path&quot;,{d:&quot;M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z&quot;,key:&quot;1oefj6&quot;}],[&quot;path&quot;,{d:&quot;M14 2v5a1 1 0 0 0 1 1h5&quot;,key:&quot;wfsgrz&quot;}],[&quot;path&quot;,{d:&quot;M10 9H8&quot;,key:&quot;b1mrlr&quot;}],[&quot;path&quot;,{d:&quot;M16 13H8&quot;,key:&quot;t4e002&quot;}],[&quot;path&quot;,{d:&quot;M16 17H8&quot;,key:&quot;z1uh3a&quot;}]],vm=zt(&quot;file-text&quot;,RL);const DL=[[&quot;path&quot;,{d:&quot;M11 12h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 14&quot;,key:&quot;1j4xps&quot;}],[&quot;path&quot;,{d:&quot;m7 18 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9&quot;,key:&quot;uospg8&quot;}],[&quot;path&quot;,{d:&quot;m2 13 6 6&quot;,key:&quot;16e5sb&quot;}]],LL=zt(&quot;hand-helping&quot;,DL);const FL=[[&quot;path&quot;,{d:&quot;M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5&quot;,key:&quot;mvr1a0&quot;}]],E1=zt(&quot;heart&quot;,FL);const BL=[[&quot;path&quot;,{d:&quot;M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8&quot;,key:&quot;5wwlr5&quot;}],[&quot;path&quot;,{d:&quot;M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z&quot;,key:&quot;r6nss1&quot;}]],Ry=zt(&quot;house&quot;,BL);const zL=[[&quot;path&quot;,{d:&quot;M10 18v-7&quot;,key:&quot;wt116b&quot;}],[&quot;path&quot;,{d:&quot;M11.12 2.198a2 2 0 0 1 1.76.006l7.866 3.847c.476.233.31.949-.22.949H3.474c-.53 0-.695-.716-.22-.949z&quot;,key:&quot;1m329m&quot;}],[&quot;path&quot;,{d:&quot;M14 18v-7&quot;,key:&quot;vav6t3&quot;}],[&quot;path&quot;,{d:&quot;M18 18v-7&quot;,key:&quot;aexdmj&quot;}],[&quot;path&quot;,{d:&quot;M3 22h18&quot;,key:&quot;8prr45&quot;}],[&quot;path&quot;,{d:&quot;M6 18v-7&quot;,key:&quot;1ivflk&quot;}]],$L=zt(&quot;landmark&quot;,zL);const UL=[[&quot;rect&quot;,{width:&quot;7&quot;,height:&quot;9&quot;,x:&quot;3&quot;,y:&quot;3&quot;,rx:&quot;1&quot;,key:&quot;10lvy0&quot;}],[&quot;rect&quot;,{width:&quot;7&quot;,height:&quot;5&quot;,x:&quot;14&quot;,y:&quot;3&quot;,rx:&quot;1&quot;,key:&quot;16une8&quot;}],[&quot;rect&quot;,{width:&quot;7&quot;,height:&quot;9&quot;,x:&quot;14&quot;,y:&quot;12&quot;,rx:&quot;1&quot;,key:&quot;1hutg5&quot;}],[&quot;rect&quot;,{width:&quot;7&quot;,height:&quot;5&quot;,x:&quot;3&quot;,y:&quot;16&quot;,rx:&quot;1&quot;,key:&quot;ldoo1y&quot;}]],T4=zt(&quot;layout-dashboard&quot;,UL);const VL=[[&quot;path&quot;,{d:&quot;M21 12a9 9 0 1 1-6.219-8.56&quot;,key:&quot;13zald&quot;}]],qL=zt(&quot;loader-circle&quot;,VL);const HL=[[&quot;path&quot;,{d:&quot;m16 17 5-5-5-5&quot;,key:&quot;1bji2h&quot;}],[&quot;path&quot;,{d:&quot;M21 12H9&quot;,key:&quot;dn1m92&quot;}],[&quot;path&quot;,{d:&quot;M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4&quot;,key:&quot;1uf3rs&quot;}]],WL=zt(&quot;log-out&quot;,HL);const KL=[[&quot;path&quot;,{d:&quot;m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7&quot;,key:&quot;132q7q&quot;}],[&quot;rect&quot;,{x:&quot;2&quot;,y:&quot;4&quot;,width:&quot;20&quot;,height:&quot;16&quot;,rx:&quot;2&quot;,key:&quot;izxlao&quot;}]],so=zt(&quot;mail&quot;,KL);const XL=[[&quot;path&quot;,{d:&quot;M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0&quot;,key:&quot;1r0f0z&quot;}],[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;10&quot;,r:&quot;3&quot;,key:&quot;ilqhr7&quot;}]],GL=zt(&quot;map-pin&quot;,XL);const YL=[[&quot;path&quot;,{d:&quot;M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z&quot;,key:&quot;18887p&quot;}]],I4=zt(&quot;message-square&quot;,YL);const ZL=[[&quot;path&quot;,{d:&quot;m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551&quot;,key:&quot;1miecu&quot;}]],QL=zt(&quot;paperclip&quot;,ZL);const JL=[[&quot;path&quot;,{d:&quot;M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384&quot;,key:&quot;9njp5v&quot;}]],Vu=zt(&quot;phone&quot;,JL);const eF=[[&quot;path&quot;,{d:&quot;M5 12h14&quot;,key:&quot;1ays0h&quot;}],[&quot;path&quot;,{d:&quot;M12 5v14&quot;,key:&quot;s699le&quot;}]],Dy=zt(&quot;plus&quot;,eF);const tF=[[&quot;path&quot;,{d:&quot;M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z&quot;,key:&quot;q3az6g&quot;}],[&quot;path&quot;,{d:&quot;M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8&quot;,key:&quot;1h4pet&quot;}],[&quot;path&quot;,{d:&quot;M12 17.5v-11&quot;,key:&quot;1jc1ny&quot;}]],rF=zt(&quot;receipt&quot;,tF);const nF=[[&quot;path&quot;,{d:&quot;M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8&quot;,key:&quot;v9h5vc&quot;}],[&quot;path&quot;,{d:&quot;M21 3v5h-5&quot;,key:&quot;1q7to0&quot;}],[&quot;path&quot;,{d:&quot;M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16&quot;,key:&quot;3uifl3&quot;}],[&quot;path&quot;,{d:&quot;M8 16H3v5&quot;,key:&quot;1cv678&quot;}]],A1=zt(&quot;refresh-cw&quot;,nF);const iF=[[&quot;path&quot;,{d:&quot;m21 21-4.34-4.34&quot;,key:&quot;14j7rj&quot;}],[&quot;circle&quot;,{cx:&quot;11&quot;,cy:&quot;11&quot;,r:&quot;8&quot;,key:&quot;4ej97u&quot;}]],eC=zt(&quot;search&quot;,iF);const sF=[[&quot;path&quot;,{d:&quot;M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915&quot;,key:&quot;1i5ecw&quot;}],[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;12&quot;,r:&quot;3&quot;,key:&quot;1v7zrd&quot;}]],Ly=zt(&quot;settings&quot;,sF);const aF=[[&quot;path&quot;,{d:&quot;M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z&quot;,key:&quot;16rjxf&quot;}],[&quot;path&quot;,{d:&quot;M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193&quot;,key:&quot;178nd4&quot;}],[&quot;circle&quot;,{cx:&quot;10.5&quot;,cy:&quot;6.5&quot;,r:&quot;.5&quot;,fill:&quot;currentColor&quot;,key:&quot;12ikhr&quot;}]],oF=zt(&quot;tags&quot;,aF);const lF=[[&quot;path&quot;,{d:&quot;M10 11v6&quot;,key:&quot;nco0om&quot;}],[&quot;path&quot;,{d:&quot;M14 11v6&quot;,key:&quot;outv1u&quot;}],[&quot;path&quot;,{d:&quot;M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6&quot;,key:&quot;miytrc&quot;}],[&quot;path&quot;,{d:&quot;M3 6h18&quot;,key:&quot;d0wm0j&quot;}],[&quot;path&quot;,{d:&quot;M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2&quot;,key:&quot;e791ji&quot;}]],cF=zt(&quot;trash-2&quot;,lF);const uF=[[&quot;path&quot;,{d:&quot;M16 7h6v6&quot;,key:&quot;box55l&quot;}],[&quot;path&quot;,{d:&quot;m22 7-8.5 8.5-5-5L2 17&quot;,key:&quot;1t1m79&quot;}]],dF=zt(&quot;trending-up&quot;,uF);const fF=[[&quot;path&quot;,{d:&quot;m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3&quot;,key:&quot;wmoenq&quot;}],[&quot;path&quot;,{d:&quot;M12 9v4&quot;,key:&quot;juzpu7&quot;}],[&quot;path&quot;,{d:&quot;M12 17h.01&quot;,key:&quot;p32p05&quot;}]],hF=zt(&quot;triangle-alert&quot;,fF);const mF=[[&quot;path&quot;,{d:&quot;M10 15H6a4 4 0 0 0-4 4v2&quot;,key:&quot;1nfge6&quot;}],[&quot;path&quot;,{d:&quot;m14.305 16.53.923-.382&quot;,key:&quot;1itpsq&quot;}],[&quot;path&quot;,{d:&quot;m15.228 13.852-.923-.383&quot;,key:&quot;eplpkm&quot;}],[&quot;path&quot;,{d:&quot;m16.852 12.228-.383-.923&quot;,key:&quot;13v3q0&quot;}],[&quot;path&quot;,{d:&quot;m16.852 17.772-.383.924&quot;,key:&quot;1i8mnm&quot;}],[&quot;path&quot;,{d:&quot;m19.148 12.228.383-.923&quot;,key:&quot;1q8j1v&quot;}],[&quot;path&quot;,{d:&quot;m19.53 18.696-.382-.924&quot;,key:&quot;vk1qj3&quot;}],[&quot;path&quot;,{d:&quot;m20.772 13.852.924-.383&quot;,key:&quot;n880s0&quot;}],[&quot;path&quot;,{d:&quot;m20.772 16.148.924.383&quot;,key:&quot;1g6xey&quot;}],[&quot;circle&quot;,{cx:&quot;18&quot;,cy:&quot;15&quot;,r:&quot;3&quot;,key:&quot;gjjjvw&quot;}],[&quot;circle&quot;,{cx:&quot;9&quot;,cy:&quot;7&quot;,r:&quot;4&quot;,key:&quot;nufk8&quot;}]],wm=zt(&quot;user-cog&quot;,mF);const pF=[[&quot;path&quot;,{d:&quot;M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2&quot;,key:&quot;1yyitq&quot;}],[&quot;path&quot;,{d:&quot;M16 3.128a4 4 0 0 1 0 7.744&quot;,key:&quot;16gr8j&quot;}],[&quot;path&quot;,{d:&quot;M22 21v-2a4 4 0 0 0-3-3.87&quot;,key:&quot;kshegd&quot;}],[&quot;circle&quot;,{cx:&quot;9&quot;,cy:&quot;7&quot;,r:&quot;4&quot;,key:&quot;nufk8&quot;}]],_m=zt(&quot;users&quot;,pF);const gF=[[&quot;path&quot;,{d:&quot;M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1&quot;,key:&quot;18etb6&quot;}],[&quot;path&quot;,{d:&quot;M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4&quot;,key:&quot;xoc0q4&quot;}]],tC=zt(&quot;wallet&quot;,gF);const bF=[[&quot;path&quot;,{d:&quot;M18 6 6 18&quot;,key:&quot;1bl5f8&quot;}],[&quot;path&quot;,{d:&quot;m6 6 12 12&quot;,key:&quot;d8bk6v&quot;}]],hr=zt(&quot;x&quot;,bF),hb=&quot;/logoHaggai.avif&quot;,xF=&quot;/seminaireregional.webp&quot;,Ou=[&quot;/slideshow/slide1.webp&quot;,&quot;/slideshow/slide2.webp&quot;,&quot;/slideshow/slide3.avif&quot;,&quot;/slideshow/slide4.webp&quot;,&quot;/slideshow/slide5.avif&quot;,&quot;/slideshow/slide6.avif&quot;,&quot;/slideshow/slide7.avif&quot;,&quot;/slideshow/slide8.webp&quot;],yF=[{title:&quot;Séminaire Régional Hybride&quot;,dateLocation:&quot;Du 22 au 30 oct : Session en ligne • Du 15 au 19 nov : Présentiel au Burkina Faso&quot;,imageUrl:xF,imageAlt:&quot;Participants au Séminaire Régional Hybride&quot;,buttonLabel:&quot;S&#039;inscrire&quot;}],vF=[{name:&quot;Sundar Sangma&quot;,title:&quot;Vice Président chargé du développement international du ministère&quot;,img:&quot;/intervenants/1-Sundar_Sangma.png&quot;},{name:&quot;Bastian Babu&quot;,title:&quot;Directeur Exécutif chargé des ministères nationaux&quot;,img:&quot;/intervenants/2-Bastian_Babu.png&quot;},{name:&quot;Lucky Shabangu&quot;,title:&quot;Directeur Afrique&quot;,img:&quot;/intervenants/3-Lucky_Shabangu.png&quot;},{name:&quot;Aboua Omer Liacet&quot;,title:&quot;Représentant régional Afrique Francophone&quot;,img:&quot;/intervenants/4.Aboua_Omer_Liacet.png&quot;}];function rC(...e){return e.filter(Boolean).join(&quot; &quot;)}function R4({children:e,className:r=&quot;&quot;,...t}){return c.jsxs(&quot;a&quot;,{className:rC(&quot;inline-flex items-center justify-center gap-2 rounded-none px-4 py-2 sm:px-6 sm:py-3 text-sm sm:text-base font-medium border-2 border-brand-900&quot;,&quot;bg-brand-700 text-white&quot;,&quot;hover:bg-brand-900 focus:outline-none focus:ring-2 focus:ring-brand-600 focus:ring-offset-2 focus:ring-offset-ink-900&quot;,&quot;transition uppercase tracking-wider&quot;,r),...t,children:[e,c.jsx(Oy,{className:&quot;h-4 w-4&quot;})]})}function wF({children:e,className:r=&quot;&quot;,...t}){return c.jsx(&quot;a&quot;,{className:rC(&quot;inline-flex items-center justify-center rounded-none px-4 py-2 sm:px-6 sm:py-3 text-sm sm:text-base font-medium border-2 border-white bg-transparent text-surface-0&quot;,&quot;hover:bg-white/10 focus:outline-none focus:ring-2 focus:ring-white/40 focus:ring-offset-2 focus:ring-offset-ink-900&quot;,&quot;transition uppercase tracking-wider&quot;,r),...t,children:e})}function _F(){const[e,r]=L.useState(0),[t,n]=L.useState(!1);L.useEffect(()=&gt;{const l=setInterval(()=&gt;{r(s=&gt;(s+1)%Ou.length)},5e3);return()=&gt;clearInterval(l)},[]);const o=()=&gt;{r(l=&gt;(l-1+Ou.length)%Ou.length)},i=()=&gt;{r(l=&gt;(l+1)%Ou.length)},a=l=&gt;{l.preventDefault();const s=document.getElementById(&quot;events&quot;);s&amp;&amp;s.scrollIntoView({behavior:&quot;smooth&quot;})},u=l=&gt;{l.preventDefault();const s=document.getElementById(&quot;speakers&quot;);s&amp;&amp;s.scrollIntoView({behavior:&quot;smooth&quot;})};return c.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-surface-0 font-sans&quot;,children:[c.jsxs(&quot;header&quot;,{className:&quot;sticky top-0 z-50 border-b border-ink-500/20 bg-brand-700 shadow-soft&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;mx-auto flex items-center justify-between px-[10%] py-1 sm:py-1.5&quot;,children:[c.jsxs(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;flex items-center gap-2 hover:opacity-80 transition-opacity flex-shrink-0 min-w-0&quot;,children:[c.jsx(&quot;img&quot;,{src:hb,alt:&quot;Sommet Francophone&quot;,className:&quot;h-6 sm:h-7 md:h-8 w-auto flex-shrink-0 brightness-0 invert&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-xs sm:text-sm md:text-base lg:text-lg font-heading font-medium tracking-wide text-surface-0 uppercase truncate&quot;,children:&quot;Sommet Francophone&quot;})]}),c.jsxs(&quot;nav&quot;,{className:&quot;hidden items-center gap-4 sm:gap-6 text-xs sm:text-sm font-light text-surface-0/80 md:flex&quot;,children:[c.jsx(&quot;a&quot;,{className:&quot;hover:text-surface-0 transition-colors uppercase&quot;,href:&quot;#events&quot;,onClick:a,children:&quot;Événements&quot;}),c.jsx(&quot;a&quot;,{className:&quot;hover:text-surface-0 transition-colors uppercase&quot;,href:&quot;#speakers&quot;,onClick:u,children:&quot;Intervenants&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;hidden md:flex items-center gap-2 sm:gap-3&quot;,children:[c.jsx(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;inline-flex items-center justify-center rounded-pill px-3 py-1.5 text-xs sm:text-sm font-medium text-ink-900 bg-gold-500 shadow-soft hover:bg-gold-600 transition-all uppercase&quot;,children:&quot;Inscription&quot;}),c.jsx(&quot;a&quot;,{href:&quot;/soutenir&quot;,className:&quot;inline-flex items-center justify-center rounded-pill px-3 py-1.5 text-xs sm:text-sm font-medium bg-brand-900 text-surface-0 shadow-soft hover:bg-ink-900 transition-all uppercase&quot;,children:&quot;Soutenir&quot;}),c.jsx(&quot;div&quot;,{className:&quot;h-6 w-px bg-surface-0/30 mx-1&quot;}),c.jsx(&quot;a&quot;,{href:&quot;/login&quot;,className:&quot;inline-flex items-center justify-center rounded-pill px-3 py-1.5 text-xs sm:text-sm font-medium text-surface-0 hover:text-gold-500 transition-colors uppercase&quot;,children:&quot;Connexion&quot;})]}),c.jsx(&quot;div&quot;,{className:&quot;md:hidden&quot;,children:c.jsx(&quot;button&quot;,{onClick:()=&gt;n(!t),className:&quot;text-surface-0 hover:text-gold-500 focus:outline-none&quot;,&quot;aria-label&quot;:&quot;Toggle menu&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;h-6 w-6&quot;,fill:&quot;none&quot;,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:&quot;2&quot;,viewBox:&quot;0 0 24 24&quot;,stroke:&quot;currentColor&quot;,children:t?c.jsx(&quot;path&quot;,{d:&quot;M6 18L18 6M6 6l12 12&quot;}):c.jsx(&quot;path&quot;,{d:&quot;M4 6h16M4 12h16M4 18h16&quot;})})})})]}),t&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;md:hidden py-4 px-[10%] space-y-2 border-t border-surface-0/20&quot;,children:[c.jsx(&quot;a&quot;,{href:&quot;#events&quot;,className:&quot;block py-2 text-sm font-light text-surface-0/80 hover:text-surface-0 transition-colors uppercase&quot;,onClick:l=&gt;{n(!1),a(l)},children:&quot;Événements&quot;}),c.jsx(&quot;a&quot;,{href:&quot;#speakers&quot;,className:&quot;block py-2 text-sm font-light text-surface-0/80 hover:text-surface-0 transition-colors uppercase&quot;,onClick:l=&gt;{n(!1),u(l)},children:&quot;Intervenants&quot;}),c.jsx(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;block py-2 text-sm font-light text-surface-0/80 hover:text-surface-0 transition-colors uppercase&quot;,onClick:()=&gt;n(!1),children:&quot;Inscription&quot;}),c.jsx(&quot;a&quot;,{href:&quot;/soutenir&quot;,className:&quot;block py-2 text-sm font-light text-surface-0/80 hover:text-surface-0 transition-colors uppercase&quot;,onClick:()=&gt;n(!1),children:&quot;Soutenir&quot;}),c.jsx(&quot;div&quot;,{className:&quot;h-px bg-surface-0/20 my-2&quot;}),c.jsx(&quot;a&quot;,{href:&quot;/login&quot;,className:&quot;block py-2 text-sm font-light text-surface-0/80 hover:text-surface-0 transition-colors uppercase&quot;,onClick:()=&gt;n(!1),children:&quot;Connexion&quot;})]})]}),c.jsxs(&quot;section&quot;,{className:&quot;relative overflow-hidden text-surface-0&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;absolute inset-0&quot;,children:[c.jsx(GR,{mode:&quot;wait&quot;,children:c.jsx(E4.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:1},className:&quot;absolute inset-0 h-full w-full bg-cover bg-center&quot;,style:{backgroundImage:`url(${Ou[e]})`}},e)}),c.jsx(&quot;div&quot;,{className:&quot;absolute inset-0 bg-gradient-to-b from-brand-900/40 via-brand-900/60 to-brand-900/80&quot;}),c.jsx(&quot;div&quot;,{className:&quot;absolute -left-40 -top-40 h-96 w-96 rounded-full bg-brand-700/15 blur-3xl&quot;}),c.jsx(&quot;div&quot;,{className:&quot;absolute -right-40 top-10 h-96 w-96 rounded-full bg-brand-700/10 blur-3xl&quot;})]}),c.jsx(&quot;button&quot;,{onClick:o,className:&quot;absolute left-4 sm:left-6 md:left-8 top-1/2 -translate-y-1/2 z-20 p-2 rounded-full bg-white/10 backdrop-blur-sm hover:bg-white/20 transition-all opacity-60 hover:opacity-100&quot;,&quot;aria-label&quot;:&quot;Image précédente&quot;,children:c.jsx(bL,{className:&quot;w-5 h-5 sm:w-6 sm:h-6 text-white&quot;})}),c.jsx(&quot;button&quot;,{onClick:i,className:&quot;absolute right-4 sm:right-6 md:right-8 top-1/2 -translate-y-1/2 z-20 p-2 rounded-full bg-white/10 backdrop-blur-sm hover:bg-white/20 transition-all opacity-60 hover:opacity-100&quot;,&quot;aria-label&quot;:&quot;Image suivante&quot;,children:c.jsx(yL,{className:&quot;w-5 h-5 sm:w-6 sm:h-6 text-white&quot;})}),c.jsx(&quot;div&quot;,{className:&quot;relative mx-auto max-w-container px-3 sm:px-4 md:px-6 lg:px-8 pt-14 sm:pt-20 w-full min-h-[calc(100vh-100px)] sm:min-h-[calc(100vh-110px)] md:min-h-[calc(100vh-120px)] flex items-center justify-center pb-20 sm:pb-24&quot;,children:c.jsxs(E4.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.6},className:&quot;max-w-4xl text-center&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-xl sm:text-2xl md:text-3xl lg:text-4xl font-heading font-medium leading-relaxed text-surface-0 uppercase tracking-wide&quot;,children:&quot;Mettre fin à la pauvreté de l&#039;Évangile en Afrique.&quot;}),c.jsx(&quot;p&quot;,{className:&quot;mt-4 text-lg sm:text-xl md:text-2xl lg:text-3xl font-heading font-normal leading-relaxed text-surface-0/90&quot;,children:&quot;Sommet Haggai Afrique Francophone Ouaga 2026&quot;}),c.jsx(&quot;div&quot;,{className:&quot;mt-8 sm:mt-10 flex justify-center&quot;,children:c.jsxs(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;inline-flex items-center justify-center gap-2 rounded-lg border-2 border-white bg-white/10 px-6 py-3 sm:px-8 sm:py-3.5 text-sm sm:text-base font-medium text-white uppercase tracking-wider hover:bg-white/20 transition-all focus:outline-none focus:ring-2 focus:ring-white/50 focus:ring-offset-2 focus:ring-offset-transparent&quot;,children:[&quot;S&#039;inscrire&quot;,c.jsx(Oy,{className:&quot;h-4 w-4 sm:h-5 sm:w-5&quot;})]})})]})})]}),c.jsx(&quot;div&quot;,{className:&quot;sticky top-[36px] sm:top-[40px] md:top-[44px] z-40 bg-brand-900 w-full py-2 sm:py-2.5 shadow-soft -mt-0&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;mx-auto max-w-container px-4 sm:px-6 lg:px-8 flex justify-between items-center&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 sm:gap-3&quot;,children:[c.jsx(&quot;img&quot;,{src:hb,alt:&quot;Sommet Francophone&quot;,className:&quot;h-7 sm:h-8 md:h-9 w-auto brightness-0 invert&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-surface-0 text-xs sm:text-sm md:text-base font-body font-light tracking-wide&quot;,children:&quot;Sommet Francophone&quot;}),c.jsx(&quot;div&quot;,{className:&quot;flex items-center justify-center w-6 h-6 sm:w-7 sm:h-7 md:w-8 md:h-8 rounded-full bg-surface-0&quot;,children:c.jsx(&quot;span&quot;,{className:&quot;text-brand-900 text-[10px] sm:text-xs md:text-sm font-semibold&quot;,children:&quot;26&quot;})})]}),c.jsx(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;text-surface-0 uppercase text-xs sm:text-sm md:text-base font-medium tracking-wider hover:opacity-90 transition-opacity&quot;,children:&quot;S&#039;inscrire&quot;})]})}),c.jsx(&quot;section&quot;,{className:&quot;bg-surface-0 py-14 md:py-18 lg:py-24&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;max-w-4xl&quot;,children:[c.jsxs(&quot;h2&quot;,{className:&quot;text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-heading font-medium text-ink-900 leading-tight mb-8 sm:mb-12 tracking-wide&quot;,children:[&quot;Sommet Haggai&quot;,c.jsx(&quot;br&quot;,{}),&quot;Francophone&quot;,c.jsx(&quot;br&quot;,{}),&quot;2026&quot;]}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 sm:gap-4 mb-4 sm:mb-6&quot;,children:[c.jsx(dL,{className:&quot;text-brand-900 flex-shrink-0 w-6 h-6 sm:w-7 sm:h-7 md:w-8 md:h-8 lg:w-9 lg:h-9&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-body font-light text-ink-900 leading-tight&quot;,children:&quot;19-22 novembre 2026&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 sm:gap-4 mb-12 sm:mb-16&quot;,children:[c.jsx(GL,{className:&quot;text-brand-900 flex-shrink-0 w-5 h-5 sm:w-6 sm:h-6 md:w-7 md:h-7 lg:w-8 lg:h-8&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-body font-light text-ink-900 leading-tight&quot;,children:&quot;Sopatel Silmande Hôtel, Ouagadougou&quot;})]}),c.jsx(&quot;div&quot;,{className:&quot;flex flex-col sm:flex-row gap-4 sm:gap-6&quot;,children:c.jsx(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;inline-flex items-center justify-center rounded-none border-2 border-white bg-brand-700 px-6 py-3 text-sm sm:text-base font-semibold text-white uppercase tracking-wider hover:bg-brand-900 transition-all&quot;,children:&quot;Inscrivez-vous&quot;})})]})})}),c.jsx(&quot;section&quot;,{className:&quot;bg-brand-900 text-surface-0&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6 py-14 md:py-18 lg:py-24&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;mx-auto max-w-3xl text-center&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-xs sm:text-sm md:text-base font-body font-bold uppercase tracking-wider text-brand-700&quot;,children:&quot;Thèmes et contenu&quot;}),c.jsx(&quot;h2&quot;,{className:&quot;mt-3 text-2xl sm:text-3xl md:text-4xl font-heading font-normal tracking-tight&quot;,children:&quot;« L&#039;autonomisation des ministères nationaux comme facteur clé pour mettre fin à la pauvreté de l&#039;exposition à l&#039;Évangile en Afrique francophone. »&quot;}),c.jsx(&quot;p&quot;,{className:&quot;mt-4 text-base sm:text-lg md:text-xl font-body font-extralight leading-relaxed text-surface-0/80&quot;,children:&quot;Des ateliers de réflexion, des partages de meilleures pratiques, réseautage et renforcement des collaborations régionales.&quot;})]})})}),c.jsx(&quot;section&quot;,{id:&quot;speakers&quot;,className:&quot;bg-brand-50 py-14 md:py-18 lg:py-24&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:[c.jsx(&quot;h2&quot;,{className:&quot;text-2xl sm:text-3xl md:text-4xl font-heading font-medium text-ink-900 leading-tight mb-10 sm:mb-12 tracking-wide uppercase&quot;,children:&quot;INTERVENANTS&quot;}),c.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-2 sm:grid-cols-4 gap-3 sm:gap-4 md:gap-5&quot;,children:vF.slice(0,4).map((l,s)=&gt;c.jsxs(&quot;div&quot;,{className:&quot;flex flex-col items-center text-center&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;relative aspect-[3/4] w-full mb-3 sm:mb-4 overflow-hidden rounded-xl2 shadow-soft&quot;,children:c.jsx(&quot;img&quot;,{src:l.img,alt:l.name,className:&quot;h-full w-full object-cover transition duration-500 hover:scale-[1.05]&quot;,style:{filter:&quot;contrast(1.1) saturate(1.2) brightness(0.95)&quot;},loading:&quot;lazy&quot;})}),c.jsx(&quot;h3&quot;,{className:&quot;text-sm sm:text-base md:text-lg font-body font-semibold text-ink-900 mb-1 leading-tight&quot;,children:l.name}),c.jsx(&quot;p&quot;,{className:&quot;text-xs sm:text-sm font-body font-extralight text-ink-500 leading-relaxed&quot;,children:l.title})]},s))}),c.jsx(&quot;div&quot;,{className:&quot;mt-10 flex justify-center&quot;,children:c.jsxs(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;inline-flex items-center gap-2 rounded-none border-2 border-ink-900 bg-brand-900 px-6 py-3 text-sm sm:text-base font-medium text-surface-0 hover:bg-ink-900 transition-all uppercase tracking-wider&quot;,children:[&quot;Voir tous les intervenants &quot;,c.jsx(Oy,{className:&quot;h-4 w-4&quot;})]})})]})}),c.jsx(&quot;section&quot;,{id:&quot;events&quot;,className:&quot;bg-surface-0&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-brand-900 w-full&quot;,style:{width:&quot;100vw&quot;,marginLeft:&quot;calc(50% - 50vw)&quot;,marginRight:&quot;calc(50% - 50vw)&quot;},children:[c.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6 py-10 sm:py-12&quot;,children:c.jsx(&quot;h2&quot;,{className:&quot;text-2xl sm:text-3xl md:text-4xl font-heading font-medium text-surface-0 leading-tight uppercase tracking-wide&quot;,children:&quot;AUTRES EVENEMENTS&quot;})}),c.jsx(&quot;div&quot;,{className:&quot;space-y-0&quot;,children:yF.map((l,s)=&gt;c.jsx(&quot;div&quot;,{className:&quot;group overflow-hidden&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;relative aspect-video overflow-hidden bg-ink-500 bg-opacity-10&quot;,children:[c.jsx(&quot;img&quot;,{src:l.imageUrl,alt:l.imageAlt,className:&quot;h-full w-full object-cover transition duration-500 group-hover:scale-[1.02] brightness-110&quot;,loading:&quot;lazy&quot;}),c.jsx(&quot;div&quot;,{className:&quot;absolute bottom-0 left-0 right-0 h-1/2 md:h-2/5 bg-gradient-to-t from-brand-900/90 via-brand-900/75 to-brand-900/30 md:via-brand-900/70 md:to-brand-900/40&quot;}),c.jsx(&quot;div&quot;,{className:&quot;absolute bottom-0 left-0 right-0 flex flex-col justify-end text-surface-0 w-full md:w-[90%] md:left-[5%] p-6 md:p-12&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;space-y-3 w-full&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-2xl sm:text-3xl md:text-4xl font-heading font-medium mb-2 drop-shadow-lg&quot;,children:l.title}),c.jsx(&quot;div&quot;,{className:&quot;text-base sm:text-lg md:text-xl font-body font-medium drop-shadow-md space-y-1&quot;,children:l.title===&quot;Séminaire Régional Hybride&quot;?c.jsxs(c.Fragment,{children:[c.jsx(&quot;p&quot;,{children:&quot;Du 22 au 30 oct : Session en ligne&quot;}),c.jsx(&quot;p&quot;,{children:&quot;Du 15 au 19 nov : Présentiel au Burkina Faso&quot;})]}):c.jsx(&quot;p&quot;,{children:l.dateLocation})}),c.jsxs(&quot;div&quot;,{className:&quot;pt-4 flex flex-wrap gap-3&quot;,children:[c.jsx(R4,{href:&quot;/inscription&quot;,className:&quot;px-4 py-2&quot;,children:l.buttonLabel}),l.title===&quot;Séminaire Régional Hybride&quot;&amp;&amp;c.jsx(wF,{href:&quot;/inscription?preselect=recommend&quot;,className:&quot;px-4 py-2&quot;,children:&quot;Recommander&quot;})]})]})})]})},s))})]})}),c.jsx(&quot;section&quot;,{id:&quot;register&quot;,className:&quot;bg-surface-0 py-14 md:py-18 lg:py-24&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;relative overflow-hidden rounded-xl2 bg-brand-900 p-10 shadow-soft ring-1 ring-ink-900/5 sm:p-12&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;absolute -left-24 -top-24 h-72 w-72 rounded-full bg-brand-700/22 blur-3xl&quot;}),c.jsx(&quot;div&quot;,{className:&quot;absolute -right-24 -bottom-24 h-72 w-72 rounded-full bg-brand-700/16 blur-3xl&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;relative mx-auto max-w-2xl text-center text-surface-0&quot;,children:[c.jsx(&quot;h2&quot;,{className:&quot;text-2xl sm:text-3xl md:text-4xl font-heading font-normal tracking-tight&quot;,children:&quot;Prêt à faire accroître votre impact pour la transformation de l&#039;Afrique ?&quot;}),c.jsx(&quot;p&quot;,{className:&quot;mt-4 text-base sm:text-lg md:text-xl font-body font-extralight leading-relaxed text-surface-0/80&quot;,children:&quot;Réservez votre place. Recevez les informations pratiques. Rejoignez la communauté régionale de leaders Haggai pour cet effort commun.&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;mt-7 flex flex-col justify-center gap-3 sm:flex-row&quot;,children:[c.jsx(R4,{href:&quot;/inscription&quot;,children:&quot;S&#039;inscrire maintenant&quot;}),c.jsx(&quot;a&quot;,{href:&quot;/soutenir&quot;,className:&quot;inline-flex items-center justify-center rounded-none border-2 border-surface-0 px-4 py-2 sm:px-6 sm:py-3 text-sm sm:text-base font-medium bg-transparent text-surface-0 hover:bg-surface-0/10 transition-all uppercase tracking-wider&quot;,children:&quot;Soutenir&quot;}),c.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;inline-flex items-center justify-center rounded-none border-2 border-surface-0 px-4 py-2 sm:px-6 sm:py-3 text-sm sm:text-base font-medium bg-transparent text-surface-0 hover:bg-surface-0/10 transition-all uppercase tracking-wider&quot;,children:&quot;Télécharger la brochure&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;mt-8 grid gap-3 sm:grid-cols-[1fr_auto]&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;email&quot;,placeholder:&quot;Votre email pour recevoir les infos&quot;,className:&quot;h-12 w-full rounded-none border-2 border-surface-0/30 bg-surface-0/10 px-4 text-sm sm:text-base font-body font-normal text-surface-0 placeholder:text-surface-0/55 focus:outline-none focus:ring-2 focus:ring-brand-700/60 focus:border-brand-700/50&quot;}),c.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;inline-flex h-12 items-center justify-center rounded-none border-2 border-ink-900 bg-surface-0 px-4 sm:px-5 text-sm sm:text-base font-medium text-ink-900 hover:bg-brand-50 transition-all uppercase tracking-wider&quot;,children:&quot;Recevoir&quot;})]})]})]})})}),c.jsx(&quot;footer&quot;,{className:&quot;border-t border-ink-500/20 bg-brand-900 text-surface-0&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6 py-10&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-8 mb-8&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 mb-3&quot;,children:[c.jsx(&quot;img&quot;,{src:hb,alt:&quot;Sommet Francophone&quot;,className:&quot;h-10 md:h-12 w-auto brightness-0 invert&quot;}),c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-surface-0&quot;,children:&quot;Sommet Francophone&quot;})]}),c.jsx(&quot;p&quot;,{className:&quot;text-surface-0/80 text-sm sm:text-base font-body font-medium leading-relaxed&quot;,children:&quot;Equiper et inspirer des leaders bien placés pour la transformation de l&#039;Afrique&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h4&quot;,{className:&quot;text-base sm:text-lg font-body font-semibold mb-4 text-surface-0&quot;,children:&quot;Liens rapides&quot;}),c.jsxs(&quot;ul&quot;,{className:&quot;space-y-2 text-sm sm:text-base text-surface-0/70&quot;,children:[c.jsx(&quot;li&quot;,{children:c.jsx(&quot;a&quot;,{href:&quot;#events&quot;,onClick:a,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Événements&quot;})}),c.jsx(&quot;li&quot;,{children:c.jsx(&quot;a&quot;,{href:&quot;#speakers&quot;,onClick:u,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Intervenants&quot;})}),c.jsx(&quot;li&quot;,{children:c.jsx(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Inscription&quot;})}),c.jsx(&quot;li&quot;,{children:c.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Contributions&quot;})})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h4&quot;,{className:&quot;text-base sm:text-lg font-body font-semibold mb-4 text-surface-0&quot;,children:&quot;Contact&quot;}),c.jsxs(&quot;p&quot;,{className:&quot;text-sm sm:text-base text-surface-0/70&quot;,children:[&quot;Pour toute question, contactez-nous à&quot;,&quot; &quot;,c.jsx(&quot;a&quot;,{href:&quot;mailto:communication@sommetfrancophone.org&quot;,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;communication@sommetfrancophone.org&quot;})]})]})]}),c.jsx(&quot;div&quot;,{className:&quot;pt-8 border-t border-surface-0/20 text-center text-sm sm:text-base text-surface-0/60&quot;,children:c.jsxs(&quot;p&quot;,{children:[&quot;© &quot;,new Date().getFullYear(),&quot; Sommet Francophone. Tous droits réservés.&quot;]})})]})})]})}function jF(){const[e,r]=L.useState(!1);return c.jsxs(&quot;nav&quot;,{className:&quot;bg-brand-700 shadow-soft sticky top-0 z-50&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;mx-auto flex items-center justify-between px-[10%] py-1 sm:py-1.5&quot;,children:[c.jsxs(Cr,{to:&quot;/&quot;,className:&quot;flex items-center gap-2 hover:opacity-80 transition-opacity flex-shrink-0 min-w-0&quot;,children:[c.jsx(&quot;img&quot;,{src:&quot;/logoHaggai.avif&quot;,alt:&quot;Sommet Francophone&quot;,className:&quot;h-6 sm:h-7 md:h-8 w-auto flex-shrink-0 brightness-0 invert&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-xs sm:text-sm md:text-base lg:text-lg font-heading font-medium tracking-wide text-surface-0 uppercase truncate&quot;,children:&quot;SOMMET FRANCOPHONE&quot;})]}),c.jsxs(&quot;nav&quot;,{className:&quot;hidden items-center gap-4 sm:gap-6 text-xs sm:text-sm font-light text-surface-0 md:flex&quot;,children:[c.jsx(Cr,{to:&quot;/#events&quot;,className:&quot;hover:opacity-80 transition-opacity uppercase&quot;,children:&quot;Événements&quot;}),c.jsx(Cr,{to:&quot;/#speakers&quot;,className:&quot;hover:opacity-80 transition-opacity uppercase&quot;,children:&quot;Intervenants&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;hidden md:flex items-center gap-2 sm:gap-3&quot;,children:[c.jsx(Cr,{to:&quot;/inscription&quot;,className:&quot;inline-flex items-center justify-center rounded-pill px-4 py-2 text-xs sm:text-sm font-semibold text-ink-900 bg-gold-500 shadow-soft hover:bg-gold-600 transition-all uppercase&quot;,children:&quot;Inscription&quot;}),c.jsx(Cr,{to:&quot;/soutenir&quot;,className:&quot;inline-flex items-center justify-center rounded-pill px-4 py-2 text-xs sm:text-sm font-medium bg-brand-900 text-surface-0 shadow-soft hover:bg-ink-900 transition-all uppercase&quot;,children:&quot;Soutenir&quot;}),c.jsx(&quot;div&quot;,{className:&quot;h-6 w-px bg-surface-0/30 mx-1&quot;}),c.jsx(Cr,{to:&quot;/login&quot;,className:&quot;inline-flex items-center justify-center rounded-pill px-4 py-2 text-xs sm:text-sm font-medium text-surface-0 hover:opacity-80 transition-opacity uppercase&quot;,children:&quot;Connexion&quot;})]}),c.jsx(&quot;div&quot;,{className:&quot;md:hidden&quot;,children:c.jsx(&quot;button&quot;,{onClick:()=&gt;r(!e),className:&quot;text-surface-0 hover:opacity-80 focus:outline-none&quot;,&quot;aria-label&quot;:&quot;Toggle menu&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;h-6 w-6&quot;,fill:&quot;none&quot;,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:&quot;2&quot;,viewBox:&quot;0 0 24 24&quot;,stroke:&quot;currentColor&quot;,children:e?c.jsx(&quot;path&quot;,{d:&quot;M6 18L18 6M6 6l12 12&quot;}):c.jsx(&quot;path&quot;,{d:&quot;M4 6h16M4 12h16M4 18h16&quot;})})})})]}),e&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;md:hidden py-4 px-[10%] space-y-2 border-t border-surface-0/20 bg-brand-700&quot;,children:[c.jsx(Cr,{to:&quot;/#events&quot;,className:&quot;block py-2 text-sm font-light text-surface-0 hover:opacity-80 transition-opacity uppercase&quot;,onClick:()=&gt;r(!1),children:&quot;Événements&quot;}),c.jsx(Cr,{to:&quot;/#speakers&quot;,className:&quot;block py-2 text-sm font-light text-surface-0 hover:opacity-80 transition-opacity uppercase&quot;,onClick:()=&gt;r(!1),children:&quot;Intervenants&quot;}),c.jsx(Cr,{to:&quot;/inscription&quot;,className:&quot;block py-2 text-sm font-light text-surface-0 hover:opacity-80 transition-opacity uppercase&quot;,onClick:()=&gt;r(!1),children:&quot;Inscription&quot;}),c.jsx(Cr,{to:&quot;/soutenir&quot;,className:&quot;block py-2 text-sm font-light text-surface-0 hover:opacity-80 transition-opacity uppercase&quot;,onClick:()=&gt;r(!1),children:&quot;Soutenir&quot;}),c.jsx(&quot;div&quot;,{className:&quot;h-px bg-surface-0/20 my-2&quot;}),c.jsx(Cr,{to:&quot;/login&quot;,className:&quot;block py-2 text-sm font-light text-surface-0 hover:opacity-80 transition-opacity uppercase&quot;,onClick:()=&gt;r(!1),children:&quot;Connexion&quot;})]})]})}function SF(){return c.jsx(&quot;footer&quot;,{className:&quot;bg-brand-900 text-white mt-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;max-w-container mx-auto px-4 sm:px-6 lg:px-8 py-12&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-8&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 mb-3&quot;,children:[c.jsx(&quot;img&quot;,{src:&quot;/logoHaggai.avif&quot;,alt:&quot;Sommet Francophone&quot;,className:&quot;h-10 md:h-12 w-auto&quot;}),c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-white&quot;,children:&quot;Sommet Francophone&quot;})]}),c.jsx(&quot;p&quot;,{className:&quot;text-gray-200 text-sm font-medium leading-relaxed&quot;,children:&quot;Former et équiper des leaders pour transformer l&#039;Afrique.&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h4&quot;,{className:&quot;font-semibold mb-4&quot;,children:&quot;Liens rapides&quot;}),c.jsxs(&quot;ul&quot;,{className:&quot;space-y-2 text-sm text-gray-300&quot;,children:[c.jsx(&quot;li&quot;,{children:c.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Événements&quot;})}),c.jsx(&quot;li&quot;,{children:c.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Inscription&quot;})}),c.jsx(&quot;li&quot;,{children:c.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Contributions&quot;})})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h4&quot;,{className:&quot;font-semibold mb-4&quot;,children:&quot;Contact&quot;}),c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-gray-300 space-y-2&quot;,children:[c.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Pour toute question :&quot;,&quot; &quot;,c.jsx(&quot;a&quot;,{href:&quot;mailto:contact@sommetfrancophone.org&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;contact@sommetfrancophone.org&quot;})]}),c.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Support / communication :&quot;,&quot; &quot;,c.jsx(&quot;a&quot;,{href:&quot;mailto:communication@sommetfrancophone.org&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;communication@sommetfrancophone.org&quot;}),&quot; &quot;,&quot;(+225 05 5427 5725 WhatsApp)&quot;]}),c.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Questions finance :&quot;,&quot; &quot;,c.jsx(&quot;a&quot;,{href:&quot;mailto:finance@sommetfrancophone.org&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;finance@sommetfrancophone.org&quot;})]})]})]})]}),c.jsx(&quot;div&quot;,{className:&quot;mt-8 pt-8 border-t border-gray-700 text-center text-sm text-gray-400&quot;,children:c.jsxs(&quot;p&quot;,{children:[&quot;© &quot;,new Date().getFullYear(),&quot; Sommet Francophone. Tous droits réservés.&quot;]})})]})})}function il({children:e}){return c.jsxs(&quot;div&quot;,{className:&quot;min-h-screen flex flex-col bg-brand-50&quot;,children:[c.jsx(jF,{}),c.jsx(&quot;main&quot;,{className:&quot;flex-1 pt-0&quot;,children:e}),c.jsx(SF,{})]})}const kF=&quot;https://api.sommetfrancophone.org/api&quot;;class Kt extends Error{constructor(r,t,n){super(n||t.message||&quot;Une erreur est survenue&quot;),this.status=r,this.data=t,this.name=&quot;ApiClientError&quot;}}class NF{baseUrl;authToken=null;constructor(r=kF){this.baseUrl=r,typeof window&lt;&quot;u&quot;&amp;&amp;(this.authToken=localStorage.getItem(&quot;auth_token&quot;))}setAuthToken(r){this.authToken=r,r&amp;&amp;typeof window&lt;&quot;u&quot;?localStorage.setItem(&quot;auth_token&quot;,r):typeof window&lt;&quot;u&quot;&amp;&amp;localStorage.removeItem(&quot;auth_token&quot;)}getAuthToken(){if(this.authToken)return this.authToken;if(typeof window&lt;&quot;u&quot;){const r=localStorage.getItem(&quot;auth_token&quot;);return r&amp;&amp;(this.authToken=r),r}return null}buildUrl(r,t){let n;if(this.baseUrl.startsWith(&quot;/&quot;)){const o=this.baseUrl.endsWith(&quot;/&quot;)?this.baseUrl.slice(0,-1):this.baseUrl,i=r.startsWith(&quot;/&quot;)?r:`/${r}`;n=`${o}${i}`}else{const o=this.baseUrl.endsWith(&quot;/&quot;)?this.baseUrl.slice(0,-1):this.baseUrl;r.startsWith(&quot;/&quot;)?n=`${o}${r}`:n=new URL(r,`${o}/`).toString()}if(t&amp;&amp;Object.keys(t).length&gt;0){const o=[];if(Object.entries(t).forEach(([i,a])=&gt;{a!=null&amp;&amp;(Array.isArray(a)?a.forEach(u=&gt;{o.push(`${encodeURIComponent(i)}[]=${encodeURIComponent(String(u))}`)}):o.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(a))}`))}),o.length&gt;0){const i=n.includes(&quot;?&quot;)?&quot;&amp;&quot;:&quot;?&quot;;n=`${n}${i}${o.join(&quot;&amp;&quot;)}`}}return n}async request(r,t={}){const{params:n,requireAuth:o=!1,unwrapResponse:i=!0,headers:a={},...u}=t,l=this.buildUrl(r,n),s=u.body instanceof FormData,d={Accept:&quot;application/json&quot;};if(s||(d[&quot;Content-Type&quot;]=&quot;application/json&quot;),typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID&amp;&amp;(d[&quot;X-Request-ID&quot;]=crypto.randomUUID()),o){const h=this.getAuthToken();h&amp;&amp;(d.Authorization=`Bearer ${h}`)}const f={...d,...a};s&amp;&amp;&quot;Content-Type&quot;in f&amp;&amp;delete f[&quot;Content-Type&quot;];try{let h=u.body;const m=Array.isArray(f)?f.find(v=&gt;v[0]===&quot;Content-Type&quot;)?.[1]:f[&quot;Content-Type&quot;];if(h&amp;&amp;typeof h==&quot;string&quot;&amp;&amp;m?.includes(&quot;application/json&quot;))try{JSON.parse(h)}catch{console.error(&quot;Body JSON invalide:&quot;,h)}const p=await fetch(l,{...u,body:h,headers:f});if(p.status===204)return null;const b=p.headers.get(&quot;content-type&quot;),g=b&amp;&amp;b.includes(&quot;application/json&quot;);let y;if(g)try{const v=await p.text();!v||v.trim()===&quot;&quot;?y={}:y=JSON.parse(v)}catch{throw new Kt(p.status,{message:&quot;Réponse invalide du serveur&quot;},&quot;Le serveur a retourné une réponse invalide&quot;)}else y={message:await p.text()||`HTTP ${p.status}: ${p.statusText}`};if(!p.ok){const v={message:y.message||`HTTP ${p.status}: ${p.statusText}`,errors:y.errors||void 0,...y.existing_registration_id!==void 0&amp;&amp;{existing_registration_id:y.existing_registration_id},...y.status!==void 0&amp;&amp;{status:y.status}};throw new Kt(p.status,v,v.message)}return r.includes(&quot;/auth/login&quot;)||r.includes(&quot;/auth/register&quot;)||r.includes(&quot;/auth/activate&quot;)?y:r.includes(&quot;/auth/me&quot;)?y.user||y:(r.includes(&quot;/admin/registrations&quot;)||r.includes(&quot;/admin/recommendations&quot;)||r.includes(&quot;/admin/users&quot;)||r.includes(&quot;/admin/audit-logs&quot;)||r.includes(&quot;/finance/debtors&quot;)||r.includes(&quot;/finance/confirmed-payments&quot;))&amp;&amp;(y.meta!==void 0||y.data!==void 0)||!i?y:y.data!==void 0?y.data:y}catch(h){throw h instanceof Kt?h:h instanceof TypeError&amp;&amp;h.message.includes(&quot;fetch&quot;)?new Kt(0,{message:&quot;Erreur de connexion au serveur&quot;},&quot;Impossible de se connecter au serveur&quot;):new Kt(500,{message:&quot;Une erreur inattendue est survenue&quot;},h instanceof Error?h.message:&quot;Erreur inconnue&quot;)}}async get(r,t){return this.request(r,{...t,method:&quot;GET&quot;})}async getAsBlob(r,t){const n=this.buildUrl(r,t?.params),o={Accept:&quot;text/csv&quot;};t?.requireAuth!==!1&amp;&amp;this.getAuthToken()&amp;&amp;(o.Authorization=`Bearer ${this.getAuthToken()}`);const i=await fetch(n,{method:&quot;GET&quot;,headers:o});if(!i.ok){const a=await i.text();let u;try{u=JSON.parse(a)}catch{u={message:a||`HTTP ${i.status}`}}throw new Kt(i.status,u,u.message)}return i.blob()}async post(r,t,n){return this.request(r,{...n,method:&quot;POST&quot;,body:t?JSON.stringify(t):void 0})}async postForm(r,t,n){return this.request(r,{...n,method:&quot;POST&quot;,body:t})}async put(r,t,n){return this.request(r,{...n,method:&quot;PUT&quot;,body:t?JSON.stringify(t):void 0})}async patch(r,t,n){return this.request(r,{...n,method:&quot;PATCH&quot;,body:t?JSON.stringify(t):void 0})}async delete(r,t){return this.request(r,{...t,method:&quot;DELETE&quot;})}}const Ue=new NF,M1={async list(e){const r=await Ue.get(&quot;/events&quot;,{params:e});return Array.isArray(r)?r:r?.data&amp;&amp;Array.isArray(r.data)?r.data:[]},async getBySlug(e){return Ue.get(`/events/${e}`)},async getPricingPlans(e){return Ue.get(`/events/${e}/plans`)},async getSettings(e){return(await Ue.get(`/events/${e}/settings`)).settings||{}}},O1={async create(e,r){try{return await Ue.post(`/public/events/${e}/registrations`,r)}catch(t){throw t.status===409,t}},async verify(e){return Ue.get(`/public/registrations/verify/${e}`)},async resendVerification(e){const r={};return typeof e==&quot;number&quot;?r.registration_id=e:r.email=e,Ue.post(&quot;/public/registrations/resend-verification&quot;,r)}},D4={async create(e){return await Ue.post(&quot;/public/recommendations&quot;,e)}},Ui={async login(e){const r=await Ue.post(&quot;/auth/login&quot;,e);return r&amp;&amp;r.token&amp;&amp;Ue.setAuthToken(r.token),r},async register(e){const r=await Ue.post(&quot;/auth/register&quot;,e);return r.token&amp;&amp;Ue.setAuthToken(r.token),r},async logout(){try{await Ue.post(&quot;/auth/logout&quot;,void 0,{requireAuth:!0})}catch(e){if(!(e instanceof Kt&amp;&amp;e.status===401))throw e}finally{Ue.setAuthToken(null)}},async me(){try{return await Ue.get(&quot;/auth/me&quot;,{requireAuth:!0})}catch(e){throw e instanceof Kt&amp;&amp;e.status===401&amp;&amp;Ue.setAuthToken(null),e}},async checkActivation(e){return Ue.get(&quot;/auth/activate/check&quot;,{params:{token:e.trim()}})},async activate(e){const r=await Ue.post(&quot;/auth/activate&quot;,e);return r?.token&amp;&amp;Ue.setAuthToken(r.token),r},isAuthenticated(){return Ue.getAuthToken()!==null}};function Fy(e){return e.status===&quot;draft&quot;?!1:!!e.user?.id}const ho={async list(e={}){const r={};return e.event_id&amp;&amp;(r.event_id=e.event_id),e.event_type&amp;&amp;(r.event_type=e.event_type),e.status&amp;&amp;(Array.isArray(e.status)?r.status=e.status:r.status=[e.status]),e.q&amp;&amp;(r.q=e.q),e.created_from&amp;&amp;(r.created_from=e.created_from),e.created_to&amp;&amp;(r.created_to=e.created_to),e.page&amp;&amp;(r.page=e.page),e.per_page&amp;&amp;(r.per_page=e.per_page),Ue.get(&quot;/admin/registrations&quot;,{params:r,requireAuth:!0})},async get(e){return Ue.get(`/admin/registrations/${e}`,{requireAuth:!0})},async getStats(e={}){const r={};return e.event_id&amp;&amp;(r.event_id=e.event_id),e.event_type&amp;&amp;(r.event_type=e.event_type),e.created_from&amp;&amp;(r.created_from=e.created_from),e.created_to&amp;&amp;(r.created_to=e.created_to),Ue.get(&quot;/admin/registrations/stats&quot;,{params:r,requireAuth:!0})},async updateStatus(e,r){return Ue.patch(`/admin/registrations/${e}/status`,r,{requireAuth:!0})},async update(e,r){return Ue.put(`/admin/registrations/${e}`,r,{requireAuth:!0})},async delete(e){return Ue.delete(`/admin/registrations/${e}`,{requireAuth:!0})},async resendActivationEmail(e){return Ue.post(`/admin/registrations/${e}/resend-activation-email`,{},{requireAuth:!0})},async resetParticipantPassword(e,r){return Ue.post(`/admin/registrations/${e}/reset-participant-password`,r,{requireAuth:!0})}},ad={async list(e={}){return await Ue.get(&quot;/admin/recommendations&quot;,{params:e,requireAuth:!0})},async show(e){return await Ue.get(`/admin/recommendations/${e}`,{requireAuth:!0})},async updateStatus(e,r){return await Ue.patch(`/admin/recommendations/${e}/status`,r,{requireAuth:!0})},async sendEmail(e,r){return await Ue.post(`/admin/recommendations/${e}/send-email`,r,{requireAuth:!0})},async delete(e){await Ue.delete(`/admin/recommendations/${e}`,{requireAuth:!0})}},nC={async changePassword(e){return Ue.post(&quot;/account/change-password&quot;,e,{requireAuth:!0})}},By=[&quot;SUPER_ADMIN&quot;,&quot;COMMISSION_ADMINISTRATION&quot;,&quot;COMMISSION_FINANCE&quot;,&quot;COMMISSION_COMMUNICATION&quot;,&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;,&quot;COMMISSARIAT_GENERAL&quot;],rm=[...By,&quot;participant&quot;,&quot;guest&quot;],CF=rm,zy={SUPER_ADMIN:&quot;Super Admin&quot;,COMMISSION_ADMINISTRATION:&quot;Commission Administration&quot;,COMMISSION_FINANCE:&quot;Commission Finance&quot;,COMMISSION_COMMUNICATION:&quot;Commission Communication&quot;,COMMISSION_SEMINAIRE_REGIONAL:&quot;Commission Séminaire régional&quot;,COMMISSARIAT_GENERAL:&quot;Commissariat général&quot;,participant:&quot;Participant&quot;,guest:&quot;Invité&quot;},EF={COMMISSION_FINANCE_SOMMET:zy.COMMISSION_FINANCE,COMMISSION_FINANCE_SEMINAIRE:&quot;Commission Finance Séminaire&quot;,COMMISSION_ADMINISTRATION_SOMMET:zy.COMMISSION_ADMINISTRATION,COMMISSION_ADMINISTRATION_SEMINAIRE:&quot;Commission Administration Séminaire&quot;};function jm(e){return zy[e]??EF[e]??e}const AF={COMMISSION_FINANCE_SOMMET:&quot;COMMISSION_FINANCE&quot;,COMMISSION_FINANCE_SEMINAIRE:&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;,COMMISSION_ADMINISTRATION_SOMMET:&quot;COMMISSION_ADMINISTRATION&quot;,COMMISSION_ADMINISTRATION_SEMINAIRE:&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;};function L4(e){return AF[e]??e}const mo={async list(e={}){const r={};return e.page!=null&amp;&amp;(r.page=e.page),e.per_page!=null&amp;&amp;(r.per_page=e.per_page),e.role&amp;&amp;(r.role=e.role),e.q&amp;&amp;(r.q=e.q),Ue.get(&quot;/admin/users&quot;,{params:r,requireAuth:!0})},async get(e){return Ue.get(`/admin/users/${e}`,{requireAuth:!0})},async create(e){return Ue.post(&quot;/admin/users&quot;,e,{requireAuth:!0})},async update(e,r){return Ue.put(`/admin/users/${e}`,r,{requireAuth:!0})},async delete(e){return Ue.delete(`/admin/users/${e}`,{requireAuth:!0})},async setDeactivated(e,r){return Ue.patch(`/admin/users/${e}/deactivated`,{deactivated:r},{requireAuth:!0})},async sendActivation(e){return Ue.post(`/admin/users/${e}/send-activation`,void 0,{requireAuth:!0})},async resetPassword(e,r){return Ue.post(`/admin/users/${e}/reset-password`,r,{requireAuth:!0})}},mb=&quot;https://api.sommetfrancophone.org/api&quot;;async function MF(){const e=await Ue.get(&quot;/registrations/me&quot;,{requireAuth:!0});return Array.isArray(e)?e:e?.data??[]}async function OF(e,r){return Ue.post(`/registrations/${e}/payments/sycapay/init`,r,{requireAuth:!0,unwrapResponse:!1})}async function PF(e,r){return Ue.post(`/registrations/${e}/payments/sycapay/open-amount/init`,r,{requireAuth:!0,unwrapResponse:!1})}function iC(e,r){const t=[];return e.error===&quot;provider_refused&quot;?t.push(&quot;Le prestataire a refusé le paiement.&quot;):e.error===&quot;technical_or_incomplete&quot;?t.push(&quot;Le paiement n’a pas pu être finalisé côté prestataire.&quot;):e.error===&quot;internal_exception&quot;&amp;&amp;t.push(&quot;Une erreur technique est survenue.&quot;),e.technical_error&amp;&amp;t.push(`(${e.technical_error})`),t.length&gt;0?t.join(&quot; &quot;):r}function TF(e){const r=e.data?.code,t=e.data?.message;return r===&quot;open_amount_exceeds_balance&quot;?t??&quot;Le montant dépasse le solde restant.&quot;:r===&quot;open_amount_registration_blocked&quot;?t??&quot;Un autre paiement est en cours ou en vérification pour cette inscription.&quot;:r===&quot;amount_invalid&quot;?t??&quot;Montant invalide.&quot;:r===&quot;nothing_to_pay&quot;?t??&quot;Aucun solde à payer.&quot;:t??e.message}async function F4(e,r,t){return Ue.get(`/registrations/${e}/payments/${r}/status`,{requireAuth:!0,params:t?.refresh?{refresh:1}:void 0})}async function IF(e,r){const n=`${mb.endsWith(&quot;/&quot;)?mb.slice(0,-1):mb}/receipts/${e}/download`,o=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,i=await fetch(n,{headers:{Accept:&quot;application/pdf&quot;,...o&amp;&amp;{Authorization:`Bearer ${o}`}}});if(!i.ok){const l=await i.json().catch(()=&gt;({message:i.statusText}));throw{status:i.status,data:l}}const a=await i.blob(),u=document.createElement(&quot;a&quot;);u.href=URL.createObjectURL(a),u.download=r||`receipt-${e}.pdf`,u.click(),URL.revokeObjectURL(u.href)}const na={async list(e={}){const r={};return e.event_id!==void 0&amp;&amp;e.event_id!==&quot;&quot;&amp;&amp;(r.event_id=e.event_id),Ue.get(&quot;/admin/treasury-accounts&quot;,{params:r,requireAuth:!0})},async create(e){return Ue.post(&quot;/admin/treasury-accounts&quot;,e,{requireAuth:!0})},async update(e,r){return Ue.put(`/admin/treasury-accounts/${e}`,r,{requireAuth:!0})},async delete(e){return Ue.delete(`/admin/treasury-accounts/${e}`,{requireAuth:!0})}},lo={async list(e={}){const r={};e.event_type&amp;&amp;(r.event_type=e.event_type);const t=await Ue.get(&quot;/admin/budget-categories&quot;,{params:r,requireAuth:!0});return Array.isArray(t)?t:t?.data??[]},async create(e){const r=await Ue.post(&quot;/admin/budget-categories&quot;,e,{requireAuth:!0});return r?.data??r},async update(e,r){const t=await Ue.put(`/admin/budget-categories/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await Ue.delete(`/admin/budget-categories/${e}`,{requireAuth:!0})}},$y={list(e={}){return Ue.get(&quot;/admin/audit-logs&quot;,{requireAuth:!0,params:e})},async exportCsv(e={}){const r={};e.date_from&amp;&amp;(r.date_from=e.date_from),e.date_to&amp;&amp;(r.date_to=e.date_to),e.action&amp;&amp;(r.action=e.action),e.subject_type&amp;&amp;(r.subject_type=e.subject_type),e.user_id!=null&amp;&amp;(r.user_id=e.user_id);const t=await Ue.getAsBlob(&quot;/admin/audit-logs/export&quot;,{params:r,requireAuth:!0}),n=URL.createObjectURL(t),o=document.createElement(&quot;a&quot;);o.href=n,o.download=`audit-logs-${new Date().toISOString().slice(0,10)}.csv`,o.click(),URL.revokeObjectURL(n)},async purge(e){return await Ue.post(&quot;/admin/audit-logs/purge&quot;,{before:e},{requireAuth:!0})}},Jo={async list(e){const r=await Ue.get(`/finance/events/${e}/budget-lines`,{requireAuth:!0}),t=r?.data??r;return Array.isArray(t)?t:[]},async create(e,r){const t=await Ue.post(`/finance/events/${e}/budget-lines`,r,{requireAuth:!0});return t?.data??t},async update(e,r){const t=await Ue.put(`/finance/budget-lines/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await Ue.delete(`/finance/budget-lines/${e}`,{requireAuth:!0})},async moveUp(e){await Ue.post(`/finance/budget-lines/${e}/move-up`,{},{requireAuth:!0})},async moveDown(e){await Ue.post(`/finance/budget-lines/${e}/move-down`,{},{requireAuth:!0})}},pb=&quot;https://api.sommetfrancophone.org/api&quot;,Ch={async list(e){const r=await Ue.get(&quot;/finance/expenses&quot;,{params:{event_id:e},requireAuth:!0}),t=r?.data??r;return Array.isArray(t)?t:[]},async create(e){const{proof:r,...t}=e,n=new FormData;n.append(&quot;event_id&quot;,String(t.event_id)),n.append(&quot;treasury_account_id&quot;,String(t.treasury_account_id)),n.append(&quot;amount&quot;,String(t.amount)),n.append(&quot;paid_at&quot;,t.paid_at),n.append(&quot;label&quot;,t.label),t.event_budget_line_id!=null&amp;&amp;n.append(&quot;event_budget_line_id&quot;,String(t.event_budget_line_id)),t.reference?.trim()&amp;&amp;n.append(&quot;reference&quot;,t.reference.trim()),t.notes?.trim()&amp;&amp;n.append(&quot;notes&quot;,t.notes.trim()),n.append(&quot;proof&quot;,r);const o=await Ue.postForm(&quot;/finance/expenses&quot;,n,{requireAuth:!0});return o?.data??o},async openExpenseProofInNewTab(e){const t=`${pb.endsWith(&quot;/&quot;)?pb.slice(0,-1):pb}/finance/expenses/${e}/proof`,n=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,o=await fetch(t,{headers:{...n&amp;&amp;{Authorization:`Bearer ${n}`}}});if(!o.ok){const u=await o.json().catch(()=&gt;({message:o.statusText}));throw{status:o.status,data:u}}const i=await o.blob(),a=URL.createObjectURL(i);window.open(a,&quot;_blank&quot;,&quot;noopener,noreferrer&quot;),window.setTimeout(()=&gt;URL.revokeObjectURL(a),12e4)},async update(e,r){const t=await Ue.put(`/finance/expenses/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await Ue.delete(`/finance/expenses/${e}`,{requireAuth:!0})}},gb={async list(e){const r=await Ue.get(&quot;/finance/treasury-movements&quot;,{params:{event_id:e},requireAuth:!0}),t=r?.data??r;return Array.isArray(t)?t:[]},async create(e){return await Ue.post(&quot;/finance/treasury-movements&quot;,e,{requireAuth:!0})}},uc={async get(e){return await Ue.get(&quot;/finance/treasury-balances&quot;,{params:{event_id:e},requireAuth:!0})},async downloadCsv(e,r){const t=await Ue.getAsBlob(&quot;/finance/treasury-balances/export&quot;,{params:{event_id:e},requireAuth:!0}),n=URL.createObjectURL(t),o=document.createElement(&quot;a&quot;);o.href=n,o.download=`tresorerie_${r}_${new Date().toISOString().slice(0,10)}.csv`,o.rel=&quot;noopener&quot;,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(n)},async upsertOpeningBalances(e){const r=await Ue.put(&quot;/finance/treasury-opening-balances&quot;,e,{requireAuth:!0});return r?.data??r},async listSnapshots(e){const t=await Ue.get(&quot;/finance/treasury-snapshots&quot;,{params:{event_id:e,limit:15},requireAuth:!0}),n=Array.isArray(t)?t:t?.data;return Array.isArray(n)?n:[]},async captureSnapshot(e){const r=await Ue.post(&quot;/finance/treasury-snapshots&quot;,{event_id:e},{requireAuth:!0});return r?.data??r}},bb={async storePublic(e){return Ue.post(&quot;/public/donations&quot;,e,{requireAuth:!1})},async store(e){return Ue.post(&quot;/donations&quot;,e,{requireAuth:!0})},async initPublicSycaPay(e,r){return Ue.post(`/public/donations/${e}/sycapay/init`,r,{requireAuth:!1,unwrapResponse:!1})},async initAuthenticatedSycaPay(e,r){return Ue.post(`/donations/${e}/sycapay/init`,r,{requireAuth:!0,unwrapResponse:!1})}};async function RF(e,r,t){const n={};return t?.refresh&amp;&amp;(n.refresh=1),t?.donorEmail&amp;&amp;(n.donor_email=t.donorEmail),Ue.get(`/public/donations/${e}/payments/${r}/status`,{requireAuth:!1,params:Object.keys(n).length?n:void 0})}const xb=&quot;https://api.sommetfrancophone.org/api&quot;;async function DF(e,r){const t=xb.endsWith(&quot;/&quot;)?xb.slice(0,-1):xb,n=r?`?donor_email=${encodeURIComponent(r)}`:&quot;&quot;,o=`${t}/public/donations/${e}/receipt/download${n}`,i=await fetch(o,{method:&quot;GET&quot;,headers:{Accept:&quot;application/pdf&quot;}});if(!i.ok){let f={};try{f=await i.json()}catch{}throw new Kt(i.status,{message:f.message||i.statusText})}const a=i.headers.get(&quot;Content-Disposition&quot;);let u=`recu-don-${e}.pdf`;const l=a?.match(/filename=&quot;?([^&quot;;]+)&quot;?/i);l?.[1]&amp;&amp;(u=l[1]);const s=await i.blob(),d=document.createElement(&quot;a&quot;);d.href=URL.createObjectURL(s),d.download=u,d.click(),URL.revokeObjectURL(d.href)}function LF(e){if(!(e instanceof Kt))return e instanceof Error&amp;&amp;e.message?e.message:&quot;Une erreur est survenue.&quot;;const r=e.data?.code,t=e.data?.message??e.message;return r===&quot;donation_not_awaiting_payment&quot;?t||&quot;Ce don n’est pas en attente de paiement en ligne.&quot;:r===&quot;donation_gateway_active_duplicate&quot;?t||&quot;Un paiement est déjà en cours pour ce don.&quot;:r===&quot;donor_email_mismatch&quot;?t||&quot;L’email ne correspond pas au don.&quot;:r===&quot;idempotency_key_conflict&quot;||r===&quot;idempotency_key_reused&quot;?t||&quot;Conflit de clé d’idempotence.&quot;:t}async function sC(){return Ue.get(&quot;/public/sycapay/availability&quot;)}function kp(e){const[r,t]=L.useState([]),[n,o]=L.useState(!0),[i,a]=L.useState(null),u=async()=&gt;{o(!0),a(null);try{const l=await M1.list(e);t(l)}catch(l){a(l)}finally{o(!1)}};return L.useEffect(()=&gt;{u()},[e?.mode,e?.type]),{events:r,loading:n,error:i,refetch:u}}function aC(e){const[r,t]=L.useState([]),[n,o]=L.useState(!0),[i,a]=L.useState(null),u=async()=&gt;{if(!e){o(!1);return}o(!0),a(null);try{const l=await M1.getPricingPlans(e);t(l)}catch(l){a(l)}finally{o(!1)}};return L.useEffect(()=&gt;{u()},[e]),{plans:r,loading:n,error:i,refetch:u}}function FF(e={},r=!0){const[t,n]=L.useState(null),[o,i]=L.useState(!0),[a,u]=L.useState(null),l=L.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const s=await ho.list(e);n(s)}catch(s){u(s)}finally{i(!1)}},[e.event_id,e.status,e.q,e.created_from,e.created_to,e.page,e.per_page,r]);return L.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}function BF(e={},r=!0){const[t,n]=L.useState(null),[o,i]=L.useState(!0),[a,u]=L.useState(null),l=L.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const s=await ho.getStats(e);n(s)}catch(s){u(s)}finally{i(!1)}},[e.event_id,e.event_type,e.created_from,e.created_to,r]);return L.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}function zF(e={},r=!0){const[t,n]=L.useState(null),[o,i]=L.useState(r),[a,u]=L.useState(null),l=L.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const s=await ad.list(e);n(s)}catch(s){s instanceof Kt?u(s):u(new Kt(500,{message:&quot;Une erreur inattendue est survenue&quot;},&quot;Erreur inconnue&quot;)),n(null)}finally{i(!1)}},[r,e.event_id,e.status,e.q,e.created_from,e.created_to,e.page,e.per_page]);return L.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}function $F(e={},r=!0){const[t,n]=L.useState(null),[o,i]=L.useState(!0),[a,u]=L.useState(null),l=L.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const s=await mo.list(e);n(s)}catch(s){u(s)}finally{i(!1)}},[e.page,e.per_page,e.role,e.q,r]);return L.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}function UF(e,r){const[t,n]=L.useState(null),[o,i]=L.useState(!1),[a,u]=L.useState(null),l=L.useCallback(()=&gt;{i(!0),u(null),$y.list(e).then(n).catch(s=&gt;u(s?.data?.message??&quot;Erreur lors du chargement du journal d&#039;audit.&quot;)).finally(()=&gt;i(!1))},[r,JSON.stringify(e)]);return L.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}const VF=new Set([&quot;SUPER_ADMIN&quot;,&quot;COMMISSION_ADMINISTRATION&quot;,&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;,&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;,&quot;COMMISSION_FINANCE&quot;,&quot;COMMISSION_FINANCE_SOMMET&quot;,&quot;COMMISSION_FINANCE_SEMINAIRE&quot;,&quot;COMMISSION_COMMUNICATION&quot;,&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;,&quot;COMMISSARIAT_GENERAL&quot;]);function qF(e){return typeof e==&quot;string&quot;?e:e.name}function HF(e){return typeof e==&quot;string&quot;?e:e.name}function Ls(){const[e,r]=L.useState(null),[t,n]=L.useState(!0),[o,i]=L.useState(null),a=async()=&gt;{if(!Ui.isAuthenticated())return r(null),n(!1),null;n(!0),i(null);try{const p=await Ui.me();return r(p),p}catch(p){return i(p),r(null),null}finally{n(!1)}};L.useEffect(()=&gt;{a()},[]),L.useEffect(()=&gt;{const p=()=&gt;{Ui.isAuthenticated()?a():(r(null),n(!1))};window.addEventListener(&quot;storage&quot;,p);const b=setInterval(()=&gt;{!Ui.isAuthenticated()&amp;&amp;e&amp;&amp;(r(null),n(!1))},1e3);return()=&gt;{window.removeEventListener(&quot;storage&quot;,p),clearInterval(b)}},[e]);const u=L.useMemo(()=&gt;(e?.roles??[]).map(qF),[e?.roles]),l=L.useMemo(()=&gt;(e?.permissions??[]).map(HF),[e?.permissions]),s=L.useMemo(()=&gt;u.some(p=&gt;VF.has(p)),[u]),d=L.useMemo(()=&gt;u.includes(&quot;participant&quot;)&amp;&amp;!s,[u,s]),f=L.useMemo(()=&gt;p=&gt;u.includes(&quot;SUPER_ADMIN&quot;)?!0:l.includes(p),[u,l]),h=s,m=f(&quot;payments.read&quot;)||f(&quot;batches.read&quot;);return{user:e,loading:t,error:o,isAuthenticated:!!e,isAdmin:h,isTreasurer:m,roles:u,permissions:l,canAccessAdmin:s,isParticipant:d,can:f,refetch:a}}const Le=L.forwardRef(function({variant:r=&quot;primary&quot;,children:t,className:n=&quot;&quot;,...o},i){const a=&quot;px-6 py-3 rounded-none font-medium transition-all duration-200 disabled:opacity-50 disabled:cursor-not-allowed uppercase tracking-wider border-2&quot;,u={primary:&quot;bg-brand-700 text-white border-2 border-brand-900 hover:bg-brand-900 font-semibold&quot;,secondary:&quot;border-white bg-transparent text-surface-0 hover:bg-white/10&quot;,outline:&quot;border-2 border-brand-900 text-brand-900 bg-transparent hover:bg-brand-900 hover:text-surface-0&quot;,ghost:&quot;border-transparent text-ink-900 hover:bg-brand-50&quot;};return c.jsx(&quot;button&quot;,{ref:i,className:`${a} ${u[r]} ${n}`,...o,children:t})}),B4=&quot;sommet-haggai-franco-2026&quot;,yb=&quot;seminaire-regional-hybride-2026&quot;,WF=e=&gt;{if(!e||e===&quot;XX&quot;)return&quot;&quot;;try{const r=e.toUpperCase().split(&quot;&quot;).map(t=&gt;127397+t.charCodeAt(0));return String.fromCodePoint(...r)}catch{return&quot;&quot;}},Eh=[{name:&quot;Afghanistan&quot;,code:&quot;AF&quot;,dialCode:&quot;+93&quot;},{name:&quot;Afrique du Sud&quot;,code:&quot;ZA&quot;,dialCode:&quot;+27&quot;},{name:&quot;Albanie&quot;,code:&quot;AL&quot;,dialCode:&quot;+355&quot;},{name:&quot;Algérie&quot;,code:&quot;DZ&quot;,dialCode:&quot;+213&quot;},{name:&quot;Allemagne&quot;,code:&quot;DE&quot;,dialCode:&quot;+49&quot;},{name:&quot;Andorre&quot;,code:&quot;AD&quot;,dialCode:&quot;+376&quot;},{name:&quot;Angola&quot;,code:&quot;AO&quot;,dialCode:&quot;+244&quot;},{name:&quot;Antigua-et-Barbuda&quot;,code:&quot;AG&quot;,dialCode:&quot;+1-268&quot;},{name:&quot;Arabie saoudite&quot;,code:&quot;SA&quot;,dialCode:&quot;+966&quot;},{name:&quot;Argentine&quot;,code:&quot;AR&quot;,dialCode:&quot;+54&quot;},{name:&quot;Arménie&quot;,code:&quot;AM&quot;,dialCode:&quot;+374&quot;},{name:&quot;Australie&quot;,code:&quot;AU&quot;,dialCode:&quot;+61&quot;},{name:&quot;Autriche&quot;,code:&quot;AT&quot;,dialCode:&quot;+43&quot;},{name:&quot;Azerbaïdjan&quot;,code:&quot;AZ&quot;,dialCode:&quot;+994&quot;},{name:&quot;Bahamas&quot;,code:&quot;BS&quot;,dialCode:&quot;+1-242&quot;},{name:&quot;Bahreïn&quot;,code:&quot;BH&quot;,dialCode:&quot;+973&quot;},{name:&quot;Bangladesh&quot;,code:&quot;BD&quot;,dialCode:&quot;+880&quot;},{name:&quot;Barbade&quot;,code:&quot;BB&quot;,dialCode:&quot;+1-246&quot;},{name:&quot;Belgique&quot;,code:&quot;BE&quot;,dialCode:&quot;+32&quot;},{name:&quot;Belize&quot;,code:&quot;BZ&quot;,dialCode:&quot;+501&quot;},{name:&quot;Bénin&quot;,code:&quot;BJ&quot;,dialCode:&quot;+229&quot;},{name:&quot;Bhoutan&quot;,code:&quot;BT&quot;,dialCode:&quot;+975&quot;},{name:&quot;Biélorussie&quot;,code:&quot;BY&quot;,dialCode:&quot;+375&quot;},{name:&quot;Birmanie&quot;,code:&quot;MM&quot;,dialCode:&quot;+95&quot;},{name:&quot;Bolivie&quot;,code:&quot;BO&quot;,dialCode:&quot;+591&quot;},{name:&quot;Bosnie-Herzégovine&quot;,code:&quot;BA&quot;,dialCode:&quot;+387&quot;},{name:&quot;Botswana&quot;,code:&quot;BW&quot;,dialCode:&quot;+267&quot;},{name:&quot;Brésil&quot;,code:&quot;BR&quot;,dialCode:&quot;+55&quot;},{name:&quot;Brunei&quot;,code:&quot;BN&quot;,dialCode:&quot;+673&quot;},{name:&quot;Bulgarie&quot;,code:&quot;BG&quot;,dialCode:&quot;+359&quot;},{name:&quot;Burkina Faso&quot;,code:&quot;BF&quot;,dialCode:&quot;+226&quot;},{name:&quot;Burundi&quot;,code:&quot;BI&quot;,dialCode:&quot;+257&quot;},{name:&quot;Cambodge&quot;,code:&quot;KH&quot;,dialCode:&quot;+855&quot;},{name:&quot;Cameroun&quot;,code:&quot;CM&quot;,dialCode:&quot;+237&quot;},{name:&quot;Canada&quot;,code:&quot;CA&quot;,dialCode:&quot;+1&quot;},{name:&quot;Cap-Vert&quot;,code:&quot;CV&quot;,dialCode:&quot;+238&quot;},{name:&quot;Chili&quot;,code:&quot;CL&quot;,dialCode:&quot;+56&quot;},{name:&quot;Chine&quot;,code:&quot;CN&quot;,dialCode:&quot;+86&quot;},{name:&quot;Chypre&quot;,code:&quot;CY&quot;,dialCode:&quot;+357&quot;},{name:&quot;Colombie&quot;,code:&quot;CO&quot;,dialCode:&quot;+57&quot;},{name:&quot;Comores&quot;,code:&quot;KM&quot;,dialCode:&quot;+269&quot;},{name:&quot;Congo&quot;,code:&quot;CG&quot;,dialCode:&quot;+242&quot;},{name:&quot;Corée du Nord&quot;,code:&quot;KP&quot;,dialCode:&quot;+850&quot;},{name:&quot;Corée du Sud&quot;,code:&quot;KR&quot;,dialCode:&quot;+82&quot;},{name:&quot;Costa Rica&quot;,code:&quot;CR&quot;,dialCode:&quot;+506&quot;},{name:&quot;Côte d&#039;Ivoire&quot;,code:&quot;CI&quot;,dialCode:&quot;+225&quot;},{name:&quot;Croatie&quot;,code:&quot;HR&quot;,dialCode:&quot;+385&quot;},{name:&quot;Cuba&quot;,code:&quot;CU&quot;,dialCode:&quot;+53&quot;},{name:&quot;Danemark&quot;,code:&quot;DK&quot;,dialCode:&quot;+45&quot;},{name:&quot;Djibouti&quot;,code:&quot;DJ&quot;,dialCode:&quot;+253&quot;},{name:&quot;Dominique&quot;,code:&quot;DM&quot;,dialCode:&quot;+1-767&quot;},{name:&quot;Égypte&quot;,code:&quot;EG&quot;,dialCode:&quot;+20&quot;},{name:&quot;Émirats arabes unis&quot;,code:&quot;AE&quot;,dialCode:&quot;+971&quot;},{name:&quot;Équateur&quot;,code:&quot;EC&quot;,dialCode:&quot;+593&quot;},{name:&quot;Érythrée&quot;,code:&quot;ER&quot;,dialCode:&quot;+291&quot;},{name:&quot;Espagne&quot;,code:&quot;ES&quot;,dialCode:&quot;+34&quot;},{name:&quot;Estonie&quot;,code:&quot;EE&quot;,dialCode:&quot;+372&quot;},{name:&quot;États-Unis&quot;,code:&quot;US&quot;,dialCode:&quot;+1&quot;},{name:&quot;Éthiopie&quot;,code:&quot;ET&quot;,dialCode:&quot;+251&quot;},{name:&quot;Fidji&quot;,code:&quot;FJ&quot;,dialCode:&quot;+679&quot;},{name:&quot;Finlande&quot;,code:&quot;FI&quot;,dialCode:&quot;+358&quot;},{name:&quot;France&quot;,code:&quot;FR&quot;,dialCode:&quot;+33&quot;},{name:&quot;Gabon&quot;,code:&quot;GA&quot;,dialCode:&quot;+241&quot;},{name:&quot;Gambie&quot;,code:&quot;GM&quot;,dialCode:&quot;+220&quot;},{name:&quot;Géorgie&quot;,code:&quot;GE&quot;,dialCode:&quot;+995&quot;},{name:&quot;Ghana&quot;,code:&quot;GH&quot;,dialCode:&quot;+233&quot;},{name:&quot;Grèce&quot;,code:&quot;GR&quot;,dialCode:&quot;+30&quot;},{name:&quot;Grenade&quot;,code:&quot;GD&quot;,dialCode:&quot;+1-473&quot;},{name:&quot;Guatemala&quot;,code:&quot;GT&quot;,dialCode:&quot;+502&quot;},{name:&quot;Guinée&quot;,code:&quot;GN&quot;,dialCode:&quot;+224&quot;},{name:&quot;Guinée-Bissau&quot;,code:&quot;GW&quot;,dialCode:&quot;+245&quot;},{name:&quot;Guinée équatoriale&quot;,code:&quot;GQ&quot;,dialCode:&quot;+240&quot;},{name:&quot;Guyana&quot;,code:&quot;GY&quot;,dialCode:&quot;+592&quot;},{name:&quot;Haïti&quot;,code:&quot;HT&quot;,dialCode:&quot;+509&quot;},{name:&quot;Honduras&quot;,code:&quot;HN&quot;,dialCode:&quot;+504&quot;},{name:&quot;Hongrie&quot;,code:&quot;HU&quot;,dialCode:&quot;+36&quot;},{name:&quot;Inde&quot;,code:&quot;IN&quot;,dialCode:&quot;+91&quot;},{name:&quot;Indonésie&quot;,code:&quot;ID&quot;,dialCode:&quot;+62&quot;},{name:&quot;Irak&quot;,code:&quot;IQ&quot;,dialCode:&quot;+964&quot;},{name:&quot;Iran&quot;,code:&quot;IR&quot;,dialCode:&quot;+98&quot;},{name:&quot;Irlande&quot;,code:&quot;IE&quot;,dialCode:&quot;+353&quot;},{name:&quot;Islande&quot;,code:&quot;IS&quot;,dialCode:&quot;+354&quot;},{name:&quot;Israël&quot;,code:&quot;IL&quot;,dialCode:&quot;+972&quot;},{name:&quot;Italie&quot;,code:&quot;IT&quot;,dialCode:&quot;+39&quot;},{name:&quot;Jamaïque&quot;,code:&quot;JM&quot;,dialCode:&quot;+1-876&quot;},{name:&quot;Japon&quot;,code:&quot;JP&quot;,dialCode:&quot;+81&quot;},{name:&quot;Jordanie&quot;,code:&quot;JO&quot;,dialCode:&quot;+962&quot;},{name:&quot;Kazakhstan&quot;,code:&quot;KZ&quot;,dialCode:&quot;+7&quot;},{name:&quot;Kenya&quot;,code:&quot;KE&quot;,dialCode:&quot;+254&quot;},{name:&quot;Kirghizistan&quot;,code:&quot;KG&quot;,dialCode:&quot;+996&quot;},{name:&quot;Kiribati&quot;,code:&quot;KI&quot;,dialCode:&quot;+686&quot;},{name:&quot;Koweït&quot;,code:&quot;KW&quot;,dialCode:&quot;+965&quot;},{name:&quot;Laos&quot;,code:&quot;LA&quot;,dialCode:&quot;+856&quot;},{name:&quot;Lesotho&quot;,code:&quot;LS&quot;,dialCode:&quot;+266&quot;},{name:&quot;Lettonie&quot;,code:&quot;LV&quot;,dialCode:&quot;+371&quot;},{name:&quot;Liban&quot;,code:&quot;LB&quot;,dialCode:&quot;+961&quot;},{name:&quot;Liberia&quot;,code:&quot;LR&quot;,dialCode:&quot;+231&quot;},{name:&quot;Libye&quot;,code:&quot;LY&quot;,dialCode:&quot;+218&quot;},{name:&quot;Liechtenstein&quot;,code:&quot;LI&quot;,dialCode:&quot;+423&quot;},{name:&quot;Lituanie&quot;,code:&quot;LT&quot;,dialCode:&quot;+370&quot;},{name:&quot;Luxembourg&quot;,code:&quot;LU&quot;,dialCode:&quot;+352&quot;},{name:&quot;Macédoine du Nord&quot;,code:&quot;MK&quot;,dialCode:&quot;+389&quot;},{name:&quot;Madagascar&quot;,code:&quot;MG&quot;,dialCode:&quot;+261&quot;},{name:&quot;Malaisie&quot;,code:&quot;MY&quot;,dialCode:&quot;+60&quot;},{name:&quot;Malawi&quot;,code:&quot;MW&quot;,dialCode:&quot;+265&quot;},{name:&quot;Maldives&quot;,code:&quot;MV&quot;,dialCode:&quot;+960&quot;},{name:&quot;Mali&quot;,code:&quot;ML&quot;,dialCode:&quot;+223&quot;},{name:&quot;Malte&quot;,code:&quot;MT&quot;,dialCode:&quot;+356&quot;},{name:&quot;Maroc&quot;,code:&quot;MA&quot;,dialCode:&quot;+212&quot;},{name:&quot;Marshall&quot;,code:&quot;MH&quot;,dialCode:&quot;+692&quot;},{name:&quot;Maurice&quot;,code:&quot;MU&quot;,dialCode:&quot;+230&quot;},{name:&quot;Mauritanie&quot;,code:&quot;MR&quot;,dialCode:&quot;+222&quot;},{name:&quot;Mexique&quot;,code:&quot;MX&quot;,dialCode:&quot;+52&quot;},{name:&quot;Micronésie&quot;,code:&quot;FM&quot;,dialCode:&quot;+691&quot;},{name:&quot;Moldavie&quot;,code:&quot;MD&quot;,dialCode:&quot;+373&quot;},{name:&quot;Monaco&quot;,code:&quot;MC&quot;,dialCode:&quot;+377&quot;},{name:&quot;Mongolie&quot;,code:&quot;MN&quot;,dialCode:&quot;+976&quot;},{name:&quot;Monténégro&quot;,code:&quot;ME&quot;,dialCode:&quot;+382&quot;},{name:&quot;Mozambique&quot;,code:&quot;MZ&quot;,dialCode:&quot;+258&quot;},{name:&quot;Namibie&quot;,code:&quot;NA&quot;,dialCode:&quot;+264&quot;},{name:&quot;Nauru&quot;,code:&quot;NR&quot;,dialCode:&quot;+674&quot;},{name:&quot;Népal&quot;,code:&quot;NP&quot;,dialCode:&quot;+977&quot;},{name:&quot;Nicaragua&quot;,code:&quot;NI&quot;,dialCode:&quot;+505&quot;},{name:&quot;Niger&quot;,code:&quot;NE&quot;,dialCode:&quot;+227&quot;},{name:&quot;Nigeria&quot;,code:&quot;NG&quot;,dialCode:&quot;+234&quot;},{name:&quot;Norvège&quot;,code:&quot;NO&quot;,dialCode:&quot;+47&quot;},{name:&quot;Nouvelle-Zélande&quot;,code:&quot;NZ&quot;,dialCode:&quot;+64&quot;},{name:&quot;Oman&quot;,code:&quot;OM&quot;,dialCode:&quot;+968&quot;},{name:&quot;Ouganda&quot;,code:&quot;UG&quot;,dialCode:&quot;+256&quot;},{name:&quot;Ouzbékistan&quot;,code:&quot;UZ&quot;,dialCode:&quot;+998&quot;},{name:&quot;Pakistan&quot;,code:&quot;PK&quot;,dialCode:&quot;+92&quot;},{name:&quot;Palaos&quot;,code:&quot;PW&quot;,dialCode:&quot;+680&quot;},{name:&quot;Palestine&quot;,code:&quot;PS&quot;,dialCode:&quot;+970&quot;},{name:&quot;Panama&quot;,code:&quot;PA&quot;,dialCode:&quot;+507&quot;},{name:&quot;Papouasie-Nouvelle-Guinée&quot;,code:&quot;PG&quot;,dialCode:&quot;+675&quot;},{name:&quot;Paraguay&quot;,code:&quot;PY&quot;,dialCode:&quot;+595&quot;},{name:&quot;Pays-Bas&quot;,code:&quot;NL&quot;,dialCode:&quot;+31&quot;},{name:&quot;Pérou&quot;,code:&quot;PE&quot;,dialCode:&quot;+51&quot;},{name:&quot;Philippines&quot;,code:&quot;PH&quot;,dialCode:&quot;+63&quot;},{name:&quot;Pologne&quot;,code:&quot;PL&quot;,dialCode:&quot;+48&quot;},{name:&quot;Portugal&quot;,code:&quot;PT&quot;,dialCode:&quot;+351&quot;},{name:&quot;Qatar&quot;,code:&quot;QA&quot;,dialCode:&quot;+974&quot;},{name:&quot;RDC&quot;,code:&quot;CD&quot;,dialCode:&quot;+243&quot;},{name:&quot;République centrafricaine&quot;,code:&quot;CF&quot;,dialCode:&quot;+236&quot;},{name:&quot;République dominicaine&quot;,code:&quot;DO&quot;,dialCode:&quot;+1-809&quot;},{name:&quot;République tchèque&quot;,code:&quot;CZ&quot;,dialCode:&quot;+420&quot;},{name:&quot;Roumanie&quot;,code:&quot;RO&quot;,dialCode:&quot;+40&quot;},{name:&quot;Royaume-Uni&quot;,code:&quot;GB&quot;,dialCode:&quot;+44&quot;},{name:&quot;Russie&quot;,code:&quot;RU&quot;,dialCode:&quot;+7&quot;},{name:&quot;Rwanda&quot;,code:&quot;RW&quot;,dialCode:&quot;+250&quot;},{name:&quot;Saint-Kitts-et-Nevis&quot;,code:&quot;KN&quot;,dialCode:&quot;+1-869&quot;},{name:&quot;Saint-Marin&quot;,code:&quot;SM&quot;,dialCode:&quot;+378&quot;},{name:&quot;Saint-Vincent-et-les-Grenadines&quot;,code:&quot;VC&quot;,dialCode:&quot;+1-784&quot;},{name:&quot;Sainte-Lucie&quot;,code:&quot;LC&quot;,dialCode:&quot;+1-758&quot;},{name:&quot;Salomon&quot;,code:&quot;SB&quot;,dialCode:&quot;+677&quot;},{name:&quot;Salvador&quot;,code:&quot;SV&quot;,dialCode:&quot;+503&quot;},{name:&quot;Samoa&quot;,code:&quot;WS&quot;,dialCode:&quot;+685&quot;},{name:&quot;São Tomé-et-Príncipe&quot;,code:&quot;ST&quot;,dialCode:&quot;+239&quot;},{name:&quot;Sénégal&quot;,code:&quot;SN&quot;,dialCode:&quot;+221&quot;},{name:&quot;Serbie&quot;,code:&quot;RS&quot;,dialCode:&quot;+381&quot;},{name:&quot;Seychelles&quot;,code:&quot;SC&quot;,dialCode:&quot;+248&quot;},{name:&quot;Sierra Leone&quot;,code:&quot;SL&quot;,dialCode:&quot;+232&quot;},{name:&quot;Singapour&quot;,code:&quot;SG&quot;,dialCode:&quot;+65&quot;},{name:&quot;Slovaquie&quot;,code:&quot;SK&quot;,dialCode:&quot;+421&quot;},{name:&quot;Slovénie&quot;,code:&quot;SI&quot;,dialCode:&quot;+386&quot;},{name:&quot;Somalie&quot;,code:&quot;SO&quot;,dialCode:&quot;+252&quot;},{name:&quot;Soudan&quot;,code:&quot;SD&quot;,dialCode:&quot;+249&quot;},{name:&quot;Soudan du Sud&quot;,code:&quot;SS&quot;,dialCode:&quot;+211&quot;},{name:&quot;Sri Lanka&quot;,code:&quot;LK&quot;,dialCode:&quot;+94&quot;},{name:&quot;Suède&quot;,code:&quot;SE&quot;,dialCode:&quot;+46&quot;},{name:&quot;Suisse&quot;,code:&quot;CH&quot;,dialCode:&quot;+41&quot;},{name:&quot;Suriname&quot;,code:&quot;SR&quot;,dialCode:&quot;+597&quot;},{name:&quot;Syrie&quot;,code:&quot;SY&quot;,dialCode:&quot;+963&quot;},{name:&quot;Tadjikistan&quot;,code:&quot;TJ&quot;,dialCode:&quot;+992&quot;},{name:&quot;Tanzanie&quot;,code:&quot;TZ&quot;,dialCode:&quot;+255&quot;},{name:&quot;Tchad&quot;,code:&quot;TD&quot;,dialCode:&quot;+235&quot;},{name:&quot;Thaïlande&quot;,code:&quot;TH&quot;,dialCode:&quot;+66&quot;},{name:&quot;Timor oriental&quot;,code:&quot;TL&quot;,dialCode:&quot;+670&quot;},{name:&quot;Togo&quot;,code:&quot;TG&quot;,dialCode:&quot;+228&quot;},{name:&quot;Tonga&quot;,code:&quot;TO&quot;,dialCode:&quot;+676&quot;},{name:&quot;Trinité-et-Tobago&quot;,code:&quot;TT&quot;,dialCode:&quot;+1-868&quot;},{name:&quot;Tunisie&quot;,code:&quot;TN&quot;,dialCode:&quot;+216&quot;},{name:&quot;Turkménistan&quot;,code:&quot;TM&quot;,dialCode:&quot;+993&quot;},{name:&quot;Turquie&quot;,code:&quot;TR&quot;,dialCode:&quot;+90&quot;},{name:&quot;Tuvalu&quot;,code:&quot;TV&quot;,dialCode:&quot;+688&quot;},{name:&quot;Ukraine&quot;,code:&quot;UA&quot;,dialCode:&quot;+380&quot;},{name:&quot;Uruguay&quot;,code:&quot;UY&quot;,dialCode:&quot;+598&quot;},{name:&quot;Vanuatu&quot;,code:&quot;VU&quot;,dialCode:&quot;+678&quot;},{name:&quot;Vatican&quot;,code:&quot;VA&quot;,dialCode:&quot;+39&quot;},{name:&quot;Venezuela&quot;,code:&quot;VE&quot;,dialCode:&quot;+58&quot;},{name:&quot;Viêt Nam&quot;,code:&quot;VN&quot;,dialCode:&quot;+84&quot;},{name:&quot;Yémen&quot;,code:&quot;YE&quot;,dialCode:&quot;+967&quot;},{name:&quot;Zambie&quot;,code:&quot;ZM&quot;,dialCode:&quot;+260&quot;},{name:&quot;Zimbabwe&quot;,code:&quot;ZW&quot;,dialCode:&quot;+263&quot;}].sort((e,r)=&gt;e.name.localeCompare(r.name)),z4=[{value:&quot;medecine_para_medical&quot;,label:&quot;Médecine &amp; Para-médical&quot;},{value:&quot;education&quot;,label:&quot;Education&quot;},{value:&quot;droit_barreau_magistrature&quot;,label:&quot;Droit - barreau - Magistrature&quot;},{value:&quot;journalisme_communication&quot;,label:&quot;Journalisme et Communication&quot;},{value:&quot;gestion_finances_comptabilite&quot;,label:&quot;Gestion - Finances &amp; Comptabilité&quot;},{value:&quot;theologie_etudes_pastorales&quot;,label:&quot;Théologie &amp; Etudes pastorales&quot;},{value:&quot;sciences_sociales&quot;,label:&quot;Sciences sociales&quot;},{value:&quot;mathematiques_physique_chimie&quot;,label:&quot;Mathématiques - Physique - Chimie&quot;},{value:&quot;administration_commerce_marketing&quot;,label:&quot;Administration - Commerce - Marketing&quot;},{value:&quot;agriculture&quot;,label:&quot;Agriculture&quot;},{value:&quot;travaux_publiques_architecture_ingenierie&quot;,label:&quot;Travaux publics - Architecture - Ingénierie&quot;},{value:&quot;sciences_politiques&quot;,label:&quot;Sciences politiques&quot;},{value:&quot;humanitaire&quot;,label:&quot;Humanitaire&quot;},{value:&quot;autre&quot;,label:&quot;Autre&quot;}],$4=[{value:&quot;ordinateur_sessions_en_ligne&quot;,label:&quot;J&#039;aurai à ma disposition un ordinateur pour suivre les sessions en ligne (phase 1)&quot;},{value:&quot;bon_debit_internet&quot;,label:&quot;Je prendrai toutes les dispositions pour avoir accès à un bon débit d&#039;internet pour toutes les sessions en ligne&quot;},{value:&quot;present_sessions&quot;,label:&quot;Je serai présent à toutes les sessions en ligne et en présentiel&quot;},{value:&quot;payer_frais_350k&quot;,label:&quot;Je m&#039;engage à payer les frais de participation de 350.000 F.CFA / 534 € dans les délais requis&quot;},{value:&quot;autre&quot;,label:&quot;Autre&quot;}],U4=[{value:&quot;musulmane&quot;,label:&quot;Musulmane&quot;},{value:&quot;catholique&quot;,label:&quot;Catholique&quot;},{value:&quot;protestante&quot;,label:&quot;Protestante&quot;},{value:&quot;pentecotiste&quot;,label:&quot;Pentecôtiste&quot;},{value:&quot;evangelique&quot;,label:&quot;Évangélique&quot;},{value:&quot;autre&quot;,label:&quot;Autre&quot;}];function KF(e){if(!e?.trim())return null;const r=new Date(`${e.trim()}T12:00:00`);if(Number.isNaN(r.getTime()))return null;const t=new Date;let n=t.getFullYear()-r.getFullYear();const o=t.getMonth()-r.getMonth();return(o&lt;0||o===0&amp;&amp;t.getDate()&lt;r.getDate())&amp;&amp;(n-=1),n&lt;0||n&gt;120?null:n}function V4(){return c.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-3 text-center uppercase&quot;,children:&quot;Frais de participation&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 text-center leading-relaxed max-w-2xl mx-auto&quot;,children:&quot;Les frais de participation s&#039;élèvent à 350 000 FCFA / 535 €. Ils contribuent aux frais du séjour à l&#039;hôtel et aux frais liés à la formation. Une fois votre candidature acceptée, le paiement de ces frais est nécessaire pour valider votre inscription.&quot;})]})}function XF({preselectedEvents:e,onSuccess:r,onConflict:t,onError:n,onFormLayoutChange:o}){const i=()=&gt;p.selectedEvents.length===0?1:p.selectedEvents.length===1?2:p.selectedEvents.length===2?3:p.selectedEvents.length===3?4:1,[a,u]=L.useState(1),[l,s]=L.useState(!1),[d,f]=L.useState({}),[h,m]=L.useState(!1);L.useEffect(()=&gt;{window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[a]);const[p,b]=L.useState({selectedEvents:e&amp;&amp;e.length&gt;0?[...e]:[],first_name:&quot;&quot;,last_name:&quot;&quot;,email:&quot;&quot;,phone:&quot;&quot;,country:&quot;&quot;,city:&quot;&quot;,organization:&quot;&quot;,position:&quot;&quot;,nationality:&quot;&quot;,participated_haggai_seminar:&quot;&quot;,hle_vhle_number:&quot;&quot;,payment_method_selected:&quot;mobile_money&quot;,installment_method:void 0,installment_count:1,installment_months:[&quot;&quot;],package_code:&quot;&quot;,spouse_fullname:&quot;&quot;,spouse_email:&quot;&quot;,spouse_haggai_id:&quot;&quot;,ouaga_resident_confirmed:!1,seminar_intent:&quot;&quot;,seminar_want_to_participate:&quot;oui&quot;,seminar_church_organization:&quot;&quot;,seminar_role_ministry:&quot;&quot;,seminar_marital_status:&quot;&quot;,seminar_gender:&quot;&quot;,seminar_question_or_concern:&quot;&quot;,recommended_contacted_before:&quot;&quot;,recommended_first_name:&quot;&quot;,recommended_last_name:&quot;&quot;,recommended_profession:&quot;&quot;,recommended_residence_country:&quot;&quot;,recommended_phone_whatsapp:&quot;&quot;,recommended_email:&quot;&quot;,recommended_gender:&quot;&quot;,seminar_date_naissance:&quot;&quot;,seminar_contact_urgence_nom_lien:&quot;&quot;,seminar_niveau_etudes:&quot;&quot;,seminar_domaines_etude:[],seminar_domaine_etude_autre:&quot;&quot;,seminar_niveau_francais:&quot;&quot;,seminar_besoin_lettre_absence:&quot;&quot;,seminar_besoin_lettre_details:&quot;&quot;,seminar_sante_details:&quot;&quot;,seminar_regime_sans_sel:&quot;&quot;,seminar_confession_religieuse:&quot;&quot;,seminar_confession_religieuse_autre:&quot;&quot;,seminar_fardeau_transformation:&quot;&quot;,seminar_recommande_par:&quot;&quot;,seminar_engagements:[],seminar_engagements_autre:&quot;&quot;});L.useEffect(()=&gt;{m(p.package_code===&quot;A&quot;)},[p.package_code]),L.useEffect(()=&gt;{p.selectedEvents.includes(&quot;seminar&quot;)&amp;&amp;b(te=&gt;te.seminar_want_to_participate===&quot;oui&quot;?te:{...te,seminar_want_to_participate:&quot;oui&quot;})},[p.selectedEvents]),L.useEffect(()=&gt;{o?.({step:a,selectedEvents:p.selectedEvents})},[a,p.selectedEvents,o]);const g=p.selectedEvents.includes(&quot;summit&quot;)?B4:null,{plans:y,loading:v}=aC(g),_=35e4,C=535,O=()=&gt;{if(!p.package_code||!y.length)return null;const te=y.find(de=&gt;de.code===p.package_code);return te?p.payment_method_selected===&quot;card_visa&quot;?te.price_eur:te.price_xof:null},T=(te,de)=&gt;de===&quot;EUR&quot;?`${te.toLocaleString(&quot;fr-FR&quot;)} €`:`${te.toLocaleString(&quot;fr-FR&quot;)} FCFA`,V=()=&gt;{if(!(p.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;p.selectedEvents.includes(&quot;seminar&quot;)))return null;const de=O();if(de===null)return null;const le=p.payment_method_selected===&quot;card_visa&quot;?&quot;EUR&quot;:&quot;XOF&quot;,fe=de+(le===&quot;EUR&quot;?C:_);return{total:fe,currency:le,formatted:T(fe,le)}},F=()=&gt;[{value:&quot;2026-02&quot;,label:&quot;Février 2026&quot;},{value:&quot;2026-03&quot;,label:&quot;Mars 2026&quot;},{value:&quot;2026-04&quot;,label:&quot;Avril 2026&quot;},{value:&quot;2026-05&quot;,label:&quot;Mai 2026&quot;},{value:&quot;2026-06&quot;,label:&quot;Juin 2026&quot;},{value:&quot;2026-07&quot;,label:&quot;Juillet 2026&quot;},{value:&quot;2026-08&quot;,label:&quot;Août 2026&quot;}],H=te=&gt;{for(const fe of te){if(!fe)continue;const[he,ue]=fe.split(&quot;-&quot;).map(Number);if(ue&lt;2||ue&gt;8||he&gt;2026||he===2026&amp;&amp;ue&gt;9)return!1}return!0},W=te=&gt;{const de=[...p.installment_months];te===1?$(&quot;installment_months&quot;,[de[0]||&quot;&quot;]):te===2?$(&quot;installment_months&quot;,[de[0]||&quot;&quot;,de[1]||&quot;&quot;]):$(&quot;installment_months&quot;,[de[0]||&quot;&quot;,de[1]||&quot;&quot;,de[2]||&quot;&quot;]),$(&quot;installment_count&quot;,te)},K=(te,de)=&gt;{const le=[...p.installment_months];le[te]=de,$(&quot;installment_months&quot;,le)},$=(te,de)=&gt;{b(le=&gt;({...le,[te]:de})),d[te]&amp;&amp;f(le=&gt;{const se={...le};return delete se[te],se})},P=te=&gt;{b(de=&gt;({...de,seminar_confession_religieuse:te,seminar_confession_religieuse_autre:te===&quot;autre&quot;?de.seminar_confession_religieuse_autre:&quot;&quot;})),f(de=&gt;{const le={...de};return delete le.seminar_confession_religieuse,delete le.seminar_confession_religieuse_autre,le})},D=te=&gt;{b(de=&gt;{const le=de.seminar_domaines_etude||[],se=le.includes(te)?le.filter(fe=&gt;fe!==te):[...le,te];return{...de,seminar_domaines_etude:se}}),f(de=&gt;{const le={...de};return delete le.seminar_domaines_etude,delete le.seminar_domaine_etude_autre,le})},E=te=&gt;{b(de=&gt;{const le=de.seminar_engagements||[],se=le.includes(te)?le.filter(fe=&gt;fe!==te):[...le,te];return{...de,seminar_engagements:se}}),f(de=&gt;{const le={...de};return delete le.seminar_engagements,delete le.seminar_engagements_autre,le})},j=te=&gt;{const de=Eh.find(le=&gt;le.name===te);if($(&quot;country&quot;,te),de&amp;&amp;de.dialCode!==&quot;+&quot;){const le=p.phone.trim(),se=de.dialCode+&quot; &quot;;if(!le||le===&quot;&quot;){$(&quot;phone&quot;,se);return}const fe=Eh.find(he=&gt;he.dialCode!==&quot;+&quot;&amp;&amp;(le.startsWith(he.dialCode)||le.startsWith(he.dialCode+&quot; &quot;)));if(fe){let he=le;he.startsWith(fe.dialCode+&quot; &quot;)?he=he.substring(fe.dialCode.length+1):he.startsWith(fe.dialCode)&amp;&amp;(he=he.substring(fe.dialCode.length)),he=he.trim(),$(&quot;phone&quot;,se+he)}else if(!le.startsWith(&quot;+&quot;))$(&quot;phone&quot;,se+le);else if(le.match(/^\+\s*(\d+)/)){const ue=le.replace(/^\+\s*/,&quot;&quot;).trim();$(&quot;phone&quot;,se+ue)}else $(&quot;phone&quot;,se)}},k=te=&gt;{const de=te.trim(),le=Eh.find(se=&gt;se.name===p.country);if(le&amp;&amp;le.dialCode!==&quot;+&quot;&amp;&amp;de.startsWith(le.dialCode)&amp;&amp;de.length&gt;le.dialCode.length){const se=de.substring(le.dialCode.length);if(se&amp;&amp;!se.startsWith(&quot; &quot;)){$(&quot;phone&quot;,le.dialCode+&quot; &quot;+se);return}}$(&quot;phone&quot;,te)},S=te=&gt;{b(de=&gt;({...de,selectedEvents:[te]})),d.selectedEvents&amp;&amp;f(de=&gt;{const le={...de};return delete le.selectedEvents,le})},N=()=&gt;p.selectedEvents.length===0?(f({selectedEvents:[&quot;Veuillez choisir une option&quot;]}),!1):!0,M=()=&gt;{const te={};p.first_name.trim()||(te.first_name=[&quot;Le prénom est requis&quot;]),p.last_name.trim()||(te.last_name=[&quot;Le nom est requis&quot;]),p.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p.email)||(te.email=[&quot;Format d&#039;email invalide&quot;]):te.email=[&quot;L&#039;email est requis&quot;],p.phone.trim()||(te.phone=[&quot;Le téléphone est requis&quot;]);const de=p.selectedEvents.includes(&quot;seminar&quot;);return p.country.trim()||(te.country=[de?&quot;Le pays de résidence est requis&quot;:&quot;Le pays est requis&quot;]),f(te),Object.keys(te).length===0},R=()=&gt;{const te={};return p.package_code||(te.package_code=[&quot;Veuillez sélectionner une formule pour le Sommet&quot;]),p.package_code===&quot;A&quot;&amp;&amp;!p.ouaga_resident_confirmed&amp;&amp;(te.ouaga_resident_confirmed=[&quot;Champ requis : veuillez cocher cette case pour confirmer que vous êtes résident de Ouagadougou (Formule A).&quot;]),p.package_code===&quot;D&quot;&amp;&amp;!p.spouse_fullname.trim()&amp;&amp;(te.spouse_fullname=[&quot;Le nom du conjoint est requis pour la formule D&quot;]),p.participated_haggai_seminar!==&quot;oui&quot;&amp;&amp;p.participated_haggai_seminar!==&quot;non&quot;&amp;&amp;(te.participated_haggai_seminar=[&quot;Veuillez indiquer si vous avez déjà participé à un séminaire Haggai (International, Régional ou National).&quot;]),p.participated_haggai_seminar===&quot;oui&quot;&amp;&amp;!p.hle_vhle_number.trim()&amp;&amp;(te.hle_vhle_number=[&quot;Le HAGGAI ID ou l&#039;année du séminaire est requis lorsque vous avez déjà participé à un séminaire Haggai.&quot;]),f(te),Object.keys(te).length===0},B=()=&gt;{const te={};return p.seminar_church_organization.trim()||(te.seminar_church_organization=[&quot;L&#039;église ou organisation est requise&quot;]),p.seminar_role_ministry.trim()||(te.seminar_role_ministry=[&quot;Le rôle dans le ministère est requis&quot;]),p.seminar_marital_status||(te.seminar_marital_status=[&quot;La situation matrimoniale est requise&quot;]),p.seminar_gender||(te.seminar_gender=[&quot;Le genre est requis&quot;]),p.seminar_question_or_concern.trim()||(te.seminar_question_or_concern=[&quot;La question ou préoccupation est requise&quot;]),p.seminar_date_naissance?.trim()||(te.seminar_date_naissance=[&quot;La date de naissance est requise&quot;]),p.seminar_contact_urgence_nom_lien.trim()||(te.seminar_contact_urgence_nom_lien=[&quot;Le contact d&#039;urgence (nom et lien) est requis&quot;]),p.seminar_niveau_etudes||(te.seminar_niveau_etudes=[&quot;Le niveau d&#039;études est requis&quot;]),!p.seminar_domaines_etude?.length&amp;&amp;!p.seminar_domaine_etude_autre?.trim()&amp;&amp;(te.seminar_domaines_etude=[&quot;Sélectionnez au moins un domaine d&#039;étude ou précisez dans « Autre »&quot;]),p.seminar_niveau_francais||(te.seminar_niveau_francais=[&quot;Le niveau de français est requis&quot;]),p.seminar_besoin_lettre_absence||(te.seminar_besoin_lettre_absence=[&quot;Indiquez si vous avez besoin d&#039;une lettre d&#039;absence&quot;]),p.seminar_besoin_lettre_absence===&quot;oui&quot;&amp;&amp;!p.seminar_besoin_lettre_details?.trim()&amp;&amp;(te.seminar_besoin_lettre_details=[&quot;Les détails pour la lettre d&#039;absence sont requis&quot;]),p.seminar_sante_details?.trim()||(te.seminar_sante_details=[&quot;Les informations de santé sont requises (indiquez « Aucun » si applicable)&quot;]),p.seminar_regime_sans_sel||(te.seminar_regime_sans_sel=[&quot;Indiquez si vous suivez un régime sans sel&quot;]),p.seminar_confession_religieuse||(te.seminar_confession_religieuse=[&quot;La confession religieuse est requise&quot;]),p.seminar_confession_religieuse===&quot;autre&quot;&amp;&amp;!p.seminar_confession_religieuse_autre?.trim()&amp;&amp;(te.seminar_confession_religieuse_autre=[&quot;Veuillez préciser votre confession religieuse&quot;]),p.seminar_fardeau_transformation?.trim()||(te.seminar_fardeau_transformation=[&quot;Veuillez indiquer vos attentes&quot;]),p.seminar_recommande_par?.trim()||(te.seminar_recommande_par=[&quot;Indiquez par qui vous êtes recommandé(e)&quot;]),!p.seminar_engagements?.length&amp;&amp;!p.seminar_engagements_autre?.trim()&amp;&amp;(te.seminar_engagements=[&quot;Sélectionnez au moins un engagement ou précisez dans « Autre »&quot;]),f(te),Object.keys(te).length===0},Y=()=&gt;{const te={};for(let le=0;le&lt;p.installment_count;le++)(!p.installment_months[le]||!p.installment_months[le].trim())&amp;&amp;(te[`installment_month_${le}`]=[`L&#039;échéance ${le+1} est requise`]);const de=p.installment_months.filter(le=&gt;le&amp;&amp;le.trim());return de.length&gt;0&amp;&amp;!H(de)&amp;&amp;(te.installment_months=[&quot;Toutes les échéances doivent être au plus tard 2 mois avant l&#039;événement (août 2026 au plus tard)&quot;]),f(te),Object.keys(te).length===0},Z=()=&gt;!(!p.first_name.trim()||!p.last_name.trim()||!p.email.trim()||!p.phone.trim()||!p.country.trim()||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p.email)||!p.recommended_first_name.trim()||!p.recommended_last_name.trim()||!p.recommended_profession.trim()||!p.recommended_residence_country.trim()||!p.recommended_phone_whatsapp.trim()||!p.recommended_email.trim()||!p.recommended_gender||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p.recommended_email)),ie=()=&gt;{if(!p.first_name.trim()||!p.last_name.trim()||!p.email.trim()||!p.phone.trim()||!p.country.trim()||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p.email))return!1;const te=p.selectedEvents.includes(&quot;summit&quot;);return!(te&amp;&amp;!p.package_code||te&amp;&amp;p.package_code===&quot;A&quot;&amp;&amp;!p.ouaga_resident_confirmed||te&amp;&amp;p.package_code===&quot;D&quot;&amp;&amp;!p.spouse_fullname.trim()||te&amp;&amp;p.participated_haggai_seminar!==&quot;oui&quot;&amp;&amp;p.participated_haggai_seminar!==&quot;non&quot;||te&amp;&amp;p.participated_haggai_seminar===&quot;oui&quot;&amp;&amp;!p.hle_vhle_number.trim())},U=()=&gt;{const te={};return p.recommended_first_name.trim()||(te.recommended_first_name=[&quot;Le prénom de la personne recommandée est requis&quot;]),p.recommended_last_name.trim()||(te.recommended_last_name=[&quot;Le nom de la personne recommandée est requis&quot;]),p.recommended_profession.trim()||(te.recommended_profession=[&quot;La profession est requise&quot;]),p.recommended_residence_country.trim()||(te.recommended_residence_country=[&quot;Le pays de résidence est requis&quot;]),p.recommended_phone_whatsapp.trim()||(te.recommended_phone_whatsapp=[&quot;Le téléphone WhatsApp est requis&quot;]),p.recommended_email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p.recommended_email)||(te.recommended_email=[&quot;Format d&#039;email invalide&quot;]):te.recommended_email=[&quot;L&#039;email de la personne recommandée est requis&quot;],p.recommended_gender||(te.recommended_gender=[&quot;Le genre de la personne recommandée est requis&quot;]),f(te),Object.keys(te).length===0},ee=()=&gt;{N()&amp;&amp;u(2)},z=()=&gt;{const te=i();if(!M())return;const de=p.selectedEvents.includes(&quot;summit&quot;),le=p.selectedEvents.includes(&quot;seminar&quot;),se=p.selectedEvents.includes(&quot;recommend&quot;),fe=se&amp;&amp;!de&amp;&amp;!le?!0:Y();te===4?R()&amp;&amp;fe&amp;&amp;u(3):te===3?de&amp;&amp;le||de&amp;&amp;se?R()&amp;&amp;fe&amp;&amp;u(3):le&amp;&amp;se&amp;&amp;B()&amp;&amp;fe&amp;&amp;u(3):te===2&amp;&amp;(de?R()&amp;&amp;fe&amp;&amp;ne():le?B()&amp;&amp;fe&amp;&amp;ne():se&amp;&amp;U()&amp;&amp;ne())},I=()=&gt;{u(1)},X=()=&gt;{u(2)},re=()=&gt;{const te=i();if(!M())return;const de=p.selectedEvents.includes(&quot;summit&quot;),le=p.selectedEvents.includes(&quot;seminar&quot;),se=p.selectedEvents.includes(&quot;recommend&quot;);te===4?B()&amp;&amp;u(4):te===3&amp;&amp;(de&amp;&amp;le?R()&amp;&amp;B()&amp;&amp;ne():de&amp;&amp;se?R()&amp;&amp;U()&amp;&amp;ne():le&amp;&amp;se&amp;&amp;U()&amp;&amp;ne())},ne=async te=&gt;{const de=p.selectedEvents.includes(&quot;summit&quot;),le=p.selectedEvents.includes(&quot;seminar&quot;),se=p.selectedEvents.includes(&quot;recommend&quot;),fe=se&amp;&amp;p.selectedEvents.length===1;if(M()&amp;&amp;!(de&amp;&amp;!R())&amp;&amp;!(le&amp;&amp;!B())&amp;&amp;!(fe&amp;&amp;!U())&amp;&amp;!(!fe&amp;&amp;!Y())){s(!0),f({});try{const he=[],ue=[],ge=[],xe=[];if(fe)try{const pe={website:&quot;&quot;,event:yb,recommender_first_name:p.first_name.trim(),recommender_last_name:p.last_name.trim(),recommender_email:p.email.trim().toLowerCase(),recommender_phone:p.phone.trim(),recommender_country:p.country.trim()||void 0,recommended_full_name:[p.recommended_first_name.trim(),p.recommended_last_name.trim()].filter(Boolean).join(&quot; &quot;),recommended_profession:p.recommended_profession.trim(),recommended_residence_country:p.recommended_residence_country.trim(),recommended_phone_whatsapp:p.recommended_phone_whatsapp.trim(),recommended_email:p.recommended_email.trim()?p.recommended_email.trim().toLowerCase():void 0,recommended_gender:p.recommended_gender,...p.recommended_contacted_before===&quot;oui&quot;||p.recommended_contacted_before===&quot;non&quot;?{recommender_contacted_person:p.recommended_contacted_before}:{}},ce=await D4.create(pe);ue.push(ce.recommendation_id),r&amp;&amp;r({id:ce.recommendation_id,type:&quot;recommendation&quot;}),s(!1);return}catch(pe){if(pe instanceof Kt)if(pe.status===422){const ce=pe.data.errors||{};f(ce),ge.push(&quot;Erreurs de validation pour la recommandation.&quot;)}else ge.push(`Erreur lors de la création de la recommandation: ${pe.data.message||&quot;Une erreur est survenue.&quot;}`);else ge.push(&quot;Erreur inattendue lors de la création de la recommandation.&quot;);ge.length&gt;0&amp;&amp;n&amp;&amp;n(ge.join(&quot; &quot;)),s(!1);return}for(const pe of p.selectedEvents){if(pe===&quot;recommend&quot;)continue;const ce=pe===&quot;summit&quot;?B4:yb;let Ce=0;if(pe===&quot;summit&quot;){if(!p.package_code){ge.push(&quot;Veuillez sélectionner une formule pour le Sommet&quot;);continue}if(v){ge.push(&quot;Chargement des formules du Sommet en cours...&quot;);continue}if(y.length===0){ge.push(&quot;Aucune formule disponible pour le Sommet. Veuillez réessayer.&quot;);continue}const Se=y.find(Te=&gt;Te.code===p.package_code);if(!Se){ge.push(&quot;La formule sélectionnée n&#039;existe pas pour le Sommet&quot;);continue}Ce=Se.id}else pe===&quot;seminar&quot;&amp;&amp;(Ce=0);const Me={website:&quot;&quot;,...pe===&quot;summit&quot;&amp;&amp;{pricing_plan_id:Ce},first_name:p.first_name.trim(),last_name:p.last_name.trim(),email:p.email.trim().toLowerCase(),phone:p.phone.trim(),country:p.country.trim(),city:p.city.trim()||void 0,organization:p.organization.trim()||void 0,position:p.position.trim()||void 0,nationality:p.nationality.trim()||void 0,is_haggai_leader:p.participated_haggai_seminar===&quot;oui&quot;,haggai_id:p.participated_haggai_seminar===&quot;oui&quot;&amp;&amp;p.hle_vhle_number.trim()||void 0,payment_method_selected:p.payment_method_selected};if(p.installment_months.some(Se=&gt;Se&amp;&amp;Se.trim())&amp;&amp;(Me.installment_config={method:p.payment_method_selected,number_of_installments:p.installment_count,installments:p.installment_months.filter(Se=&gt;Se&amp;&amp;Se.trim()).map(Se=&gt;({month:Se.trim()}))}),pe===&quot;summit&quot;&amp;&amp;(Me.ouaga_resident_confirmed=p.ouaga_resident_confirmed||!1,p.package_code===&quot;D&quot;&amp;&amp;p.spouse_fullname.trim()&amp;&amp;(Me.spouse_fullname=p.spouse_fullname.trim()),p.package_code===&quot;D&quot;&amp;&amp;p.spouse_email?.trim()&amp;&amp;(Me.spouse_email=p.spouse_email.trim().toLowerCase()),p.package_code===&quot;D&quot;&amp;&amp;p.spouse_haggai_id?.trim()&amp;&amp;(Me.spouse_haggai_id=p.spouse_haggai_id.trim())),pe===&quot;seminar&quot;){let Se=&quot;participate&quot;;p.selectedEvents.includes(&quot;seminar&quot;)||(Se=&quot;na&quot;),Me.seminar_intent=Se,Me.seminar_want_to_participate=&quot;oui&quot;,Me.seminar_marital_status=p.seminar_marital_status&amp;&amp;(p.seminar_marital_status===&quot;marie&quot;||p.seminar_marital_status===&quot;non_marie&quot;)?p.seminar_marital_status:&quot;non_marie&quot;;const Te=KF(p.seminar_date_naissance??&quot;&quot;);Me.seminar_age=Te!=null&amp;&amp;Te&gt;=1?Te&gt;120?120:Te:25,Me.seminar_gender=p.seminar_gender&amp;&amp;(p.seminar_gender===&quot;homme&quot;||p.seminar_gender===&quot;femme&quot;)?p.seminar_gender:&quot;homme&quot;,Me.seminar_church_organization=p.seminar_church_organization.trim(),Me.seminar_role_ministry=p.seminar_role_ministry.trim(),Me.seminar_question_or_concern=p.seminar_question_or_concern.trim(),Me.seminar_date_naissance=p.seminar_date_naissance?.trim()||void 0,Me.seminar_contact_urgence_nom_lien=p.seminar_contact_urgence_nom_lien?.trim()||void 0,Me.seminar_niveau_etudes=p.seminar_niveau_etudes&amp;&amp;[&quot;primaire&quot;,&quot;secondaire_2&quot;,&quot;universitaire&quot;].includes(p.seminar_niveau_etudes)?p.seminar_niveau_etudes:void 0,Me.seminar_domaines_etude=p.seminar_domaines_etude?.length?p.seminar_domaines_etude:void 0,Me.seminar_domaine_etude_autre=p.seminar_domaine_etude_autre?.trim()||void 0,Me.seminar_niveau_francais=p.seminar_niveau_francais&amp;&amp;[&quot;natif&quot;,&quot;avance&quot;,&quot;intermediaire&quot;,&quot;faible&quot;].includes(p.seminar_niveau_francais)?p.seminar_niveau_francais:void 0,Me.seminar_besoin_lettre_absence=p.seminar_besoin_lettre_absence===&quot;oui&quot;||p.seminar_besoin_lettre_absence===&quot;non&quot;?p.seminar_besoin_lettre_absence:void 0,Me.seminar_besoin_lettre_details=p.seminar_besoin_lettre_details?.trim()||void 0,Me.seminar_sante_details=p.seminar_sante_details?.trim()||void 0,Me.seminar_regime_sans_sel=p.seminar_regime_sans_sel===&quot;oui&quot;||p.seminar_regime_sans_sel===&quot;non&quot;?p.seminar_regime_sans_sel:void 0,Me.seminar_confession_religieuse=p.seminar_confession_religieuse&amp;&amp;[&quot;musulmane&quot;,&quot;catholique&quot;,&quot;protestante&quot;,&quot;pentecotiste&quot;,&quot;evangelique&quot;,&quot;autre&quot;].includes(p.seminar_confession_religieuse)?p.seminar_confession_religieuse:void 0,p.seminar_confession_religieuse===&quot;autre&quot;&amp;&amp;(Me.seminar_confession_religieuse_autre=p.seminar_confession_religieuse_autre.trim()||void 0),Me.seminar_fardeau_transformation=p.seminar_fardeau_transformation?.trim()||void 0,Me.seminar_recommande_par=p.seminar_recommande_par?.trim()||void 0,Me.seminar_engagements=p.seminar_engagements?.length?p.seminar_engagements:void 0,Me.seminar_engagements_autre=p.seminar_engagements_autre?.trim()||void 0}try{const Se=await O1.create(ce,Me);Se&amp;&amp;Se.registration_id?he.push(Se.registration_id):(console.error(&quot;Réponse invalide pour&quot;,pe,Se),ge.push(`Réponse invalide lors de l&#039;inscription à ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`))}catch(Se){if(console.error(&quot;Erreur lors de l&#039;inscription à&quot;,pe,Se),Se instanceof Kt)if(Se.status===409){const Te=Se.data;Te?.existing_registration_id?xe.push({eventType:pe===&quot;summit&quot;?&quot;Sommet&quot;:&quot;Séminaire&quot;,existingId:Te.existing_registration_id}):ge.push(`Erreur lors de l&#039;inscription à ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}: ${Se.data.message||&quot;Une erreur est survenue.&quot;}`)}else if(Se.status===422){const Te=Se.data?.errors||{};Object.keys(Te).length&gt;0&amp;&amp;console.error(&quot;Validation 422 (inscription)&quot;,Te);const Qe=[],Ve={};Object.keys(Te).forEach(Xe=&gt;{const tt=Array.isArray(Te[Xe])?Te[Xe]:[Te[Xe]];tt.forEach(He=&gt;Qe.push(He)),Ve[`${Xe}_${pe}`]=tt,pe===&quot;summit&quot;&amp;&amp;Xe===&quot;pricing_plan_id&quot;&amp;&amp;(Ve.package_code=tt),Xe===&quot;payment_method_selected&quot;&amp;&amp;(Ve.payment_method_selected=tt),Xe===&quot;ouaga_resident_confirmed&quot;&amp;&amp;(Ve.ouaga_resident_confirmed=tt),Xe===&quot;spouse_fullname&quot;&amp;&amp;(Ve.spouse_fullname=tt)}),Qe.length&gt;0&amp;&amp;(Ve._general=Qe),f(Xe=&gt;({...Xe,...Ve})),ge.push(`Erreurs de validation pour ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`)}else Se.status===404?ge.push(`Les inscriptions publiques ne sont pas disponibles pour ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`):ge.push(`Erreur lors de l&#039;inscription à ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}: ${Se.data.message||&quot;Une erreur est survenue.&quot;}`);else ge.push(`Erreur inattendue lors de l&#039;inscription à ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`)}}if(se&amp;&amp;!fe)try{const pe={website:&quot;&quot;,event:yb,recommender_first_name:p.first_name.trim(),recommender_last_name:p.last_name.trim(),recommender_email:p.email.trim().toLowerCase(),recommender_phone:p.phone.trim(),recommender_country:p.country.trim()||void 0,recommended_full_name:[p.recommended_first_name.trim(),p.recommended_last_name.trim()].filter(Boolean).join(&quot; &quot;),recommended_profession:p.recommended_profession.trim(),recommended_residence_country:p.recommended_residence_country.trim(),recommended_phone_whatsapp:p.recommended_phone_whatsapp.trim(),recommended_email:p.recommended_email.trim()?p.recommended_email.trim().toLowerCase():void 0,recommended_gender:p.recommended_gender,...p.recommended_contacted_before===&quot;oui&quot;||p.recommended_contacted_before===&quot;non&quot;?{recommender_contacted_person:p.recommended_contacted_before}:{}},ce=await D4.create(pe);ue.push(ce.recommendation_id)}catch(pe){if(pe instanceof Kt)if(pe.status===422){const ce=pe.data.errors||{};f(Ce=&gt;({...Ce,...ce})),ge.push(&quot;Erreurs de validation pour la recommandation.&quot;)}else ge.push(`Erreur lors de la création de la recommandation: ${pe.data.message||&quot;Une erreur est survenue.&quot;}`);else ge.push(&quot;Erreur inattendue lors de la création de la recommandation.&quot;)}if(he.length&gt;0||ue.length&gt;0){if(r&amp;&amp;(he.length&gt;0?r({id:he[0],type:&quot;registration&quot;}):ue.length&gt;0&amp;&amp;r({id:ue[0],type:&quot;recommendation&quot;})),xe.length&gt;0&amp;&amp;t&amp;&amp;t(xe[0].existingId),ge.length&gt;0&amp;&amp;n){const pe=ge.join(&quot; &quot;),ce=xe.length&gt;0?` Note: ${xe.length} inscription(s) existante(s) détectée(s) pour ${xe.map(Ce=&gt;Ce.eventType).join(&quot; et &quot;)}.`:&quot;&quot;;n(`Inscription(s) et/ou recommandation(s) créée(s) avec succès, mais certaines erreurs sont survenues: ${pe}${ce}`)}else if(xe.length&gt;0&amp;&amp;!t){const pe=`${xe.length} inscription(s) existante(s) détectée(s) pour ${xe.map(ce=&gt;ce.eventType).join(&quot; et &quot;)}.`;n&amp;&amp;n(pe)}}else if(xe.length&gt;0&amp;&amp;ge.length===0){const pe=xe.map(Ce=&gt;`${Ce.eventType} (ID: ${Ce.existingId})`).join(&quot; et &quot;),ce=`Vous avez déjà une inscription pour ${xe.length&gt;1?&quot;les événements suivants&quot;:&quot;cet événement&quot;}: ${pe}.`;f({_general:[ce]}),t?t(xe[0].existingId):n&amp;&amp;n(ce)}else if(ge.length&gt;0){if(f(pe=&gt;Object.keys(pe).some(Ce=&gt;Ce!==&quot;_general&quot;&amp;&amp;Array.isArray(pe[Ce])&amp;&amp;pe[Ce].length&gt;0)&amp;&amp;pe._general&amp;&amp;pe._general.length&gt;0?pe:{...pe,_general:ge}),n){const pe=xe.length&gt;0?` Note: ${xe.length} inscription(s) existante(s) détectée(s) pour ${xe.map(ce=&gt;ce.eventType).join(&quot; et &quot;)}.`:&quot;&quot;;n(ge.join(&quot; &quot;)+pe)}}else f({_general:[&quot;Aucune inscription ni recommandation n&#039;a pu être créée.&quot;]}),n&amp;&amp;n(&quot;Aucune inscription ni recommandation n&#039;a pu être créée.&quot;)}catch{f({_general:[&quot;Une erreur inattendue est survenue.&quot;]}),n&amp;&amp;n(&quot;Une erreur inattendue est survenue.&quot;)}finally{s(!1)}}},Q=te=&gt;{const de=d[te];return de&amp;&amp;de.length&gt;0?de[0]:void 0};if(l)return c.jsxs(&quot;div&quot;,{className:&quot;flex flex-col items-center justify-center min-h-[320px] w-full py-16 px-6 bg-white rounded-xl border border-gray-200 shadow-soft&quot;,children:[c.jsx(qL,{className:&quot;w-14 h-14 text-brand-600 animate-spin mb-6&quot;,&quot;aria-hidden&quot;:!0}),c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-semibold text-ink-900 mb-2 text-center&quot;,children:&quot;Soumission en cours…&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-600 text-center max-w-md&quot;,children:&quot;Enregistrement de votre inscription ou recommandation et envoi des notifications par email. Merci de ne pas quitter cette page.&quot;})]});if(a===1){const te=e?.length===1?e[0]:null,de=!te||te===&quot;summit&quot;,le=!te||te===&quot;seminar&quot;,se=!te||te===&quot;recommend&quot;;return c.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center&quot;,children:&quot;Quel est votre choix ? (une seule option possible)&quot;}),c.jsx(&quot;div&quot;,{className:te?&quot;max-w-sm mx-auto&quot;:&quot;&quot;,children:c.jsxs(&quot;div&quot;,{className:`grid gap-6 mb-6 items-stretch ${te?&quot;grid-cols-1&quot;:&quot;grid-cols-1 md:grid-cols-3&quot;}`,children:[de&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[c.jsxs(&quot;div&quot;,{onClick:()=&gt;S(&quot;summit&quot;),className:`bg-white rounded-xl shadow-soft overflow-hidden border transition-all flex flex-col flex-1 cursor-pointer ${p.selectedEvents.includes(&quot;summit&quot;)?&quot;border-brand-700 border-2 shadow-lg&quot;:&quot;border-gray-200 hover:shadow-lg&quot;}`,children:[c.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:c.jsx(&quot;img&quot;,{src:&quot;/sommet1.webp&quot;,alt:&quot;Sommet Francophone&quot;,className:&quot;w-full h-full object-cover&quot;})}),c.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Sommet Francophone&quot;})})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center justify-center space-x-2 cursor-pointer mt-4 p-2 rounded-lg hover:bg-gray-50 transition-colors h-12&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;selectedEvent&quot;,value:&quot;summit&quot;,checked:p.selectedEvents.includes(&quot;summit&quot;),onChange:()=&gt;S(&quot;summit&quot;),className:&quot;w-5 h-5 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]}),le&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[c.jsxs(&quot;div&quot;,{onClick:()=&gt;S(&quot;seminar&quot;),className:`bg-white rounded-xl shadow-soft overflow-hidden border transition-all flex flex-col flex-1 cursor-pointer ${p.selectedEvents.includes(&quot;seminar&quot;)?&quot;border-brand-700 border-2 shadow-lg&quot;:&quot;border-gray-200 hover:shadow-lg&quot;}`,children:[c.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:c.jsx(&quot;img&quot;,{src:&quot;/seminaireregional.webp&quot;,alt:&quot;Séminaire Régional&quot;,className:&quot;w-full h-full object-cover&quot;})}),c.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Séminaire Régional&quot;})})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center justify-center space-x-2 cursor-pointer mt-4 p-2 rounded-lg hover:bg-gray-50 transition-colors h-12&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;selectedEvent&quot;,value:&quot;seminar&quot;,checked:p.selectedEvents.includes(&quot;seminar&quot;),onChange:()=&gt;S(&quot;seminar&quot;),className:&quot;w-5 h-5 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]}),se&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[c.jsxs(&quot;div&quot;,{onClick:()=&gt;S(&quot;recommend&quot;),className:`bg-white rounded-xl shadow-soft overflow-hidden border transition-all flex flex-col flex-1 cursor-pointer ${p.selectedEvents.includes(&quot;recommend&quot;)?&quot;border-brand-700 border-2 shadow-lg&quot;:&quot;border-gray-200 hover:shadow-lg&quot;}`,children:[c.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:c.jsx(&quot;img&quot;,{src:&quot;/recommandation.webp&quot;,alt:&quot;Recommander des participants&quot;,className:&quot;w-full h-full object-cover&quot;})}),c.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Recommander des participants&quot;})})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center justify-center space-x-2 cursor-pointer mt-4 p-2 rounded-lg hover:bg-gray-50 transition-colors h-12&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;selectedEvent&quot;,value:&quot;recommend&quot;,checked:p.selectedEvents.includes(&quot;recommend&quot;),onChange:()=&gt;S(&quot;recommend&quot;),className:&quot;w-5 h-5 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]})]})}),Q(&quot;selectedEvents&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 text-center&quot;,children:Q(&quot;selectedEvents&quot;)})]}),p.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mt-6 p-6 bg-brand-50 border border-brand-700 rounded-xl&quot;,children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Voulez-vous participer au sommet de la Région Afrique francophone - Ouaga 2026?&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-4 text-sm font-light text-ink-500&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;p&quot;,{className:&quot;font-medium&quot;,children:&quot;Dates et horaire (GMT) général du sommet:&quot;}),c.jsx(&quot;p&quot;,{children:&quot;Du 19 au 22 novembre 2026, à Ouagadougou - Burkina Faso&quot;}),c.jsxs(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-1 ml-2 mt-2&quot;,children:[c.jsx(&quot;li&quot;,{children:&quot;Check-in dans les Hotels: 12h00-15h00, jeudi 19 novembre 2026&quot;}),c.jsx(&quot;li&quot;,{children:&quot;Enregistrement des participants au sommet: 15h00-17h00, jeudi 19 novembre 2026&quot;}),c.jsx(&quot;li&quot;,{children:&quot;Début du sommet: 17h00, jeudi 19 novembre 2026&quot;}),c.jsx(&quot;li&quot;,{children:&quot;Fin du sommet: 21h30, samedi 21 novembre 2026&quot;}),c.jsx(&quot;li&quot;,{children:&quot;Check-out/Culte/Visite-détente/départ: 8.30-15.00, dimanche 22 novembre 2026&quot;})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;pt-4 border-t border-brand-700/30&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;font-medium mb-2&quot;,children:&quot;Les formules d&#039;inscription au sommet:&quot;}),c.jsxs(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-1 ml-2&quot;,children:[c.jsx(&quot;li&quot;,{children:&quot;Formule A 150 000 FCFA / 230 € par personne (pour les leaders résidant à Ouaga, pas de chambre d&#039;hôtel)&quot;}),c.jsx(&quot;li&quot;,{children:&quot;Formule B 350 000 FCFA / 535 € par personne (deux délégués par chambre double en pension complète)&quot;}),c.jsx(&quot;li&quot;,{children:&quot;Formule C 450 000 FCFA / 690 € (un délégué par chambre en pension complète)&quot;}),c.jsx(&quot;li&quot;,{children:&quot;Formule D 550 000 FCFA / 840 € (pour les couples mariés par chambre en pension complète)&quot;})]})]})]})]}),(p.selectedEvents.includes(&quot;seminar&quot;)||p.selectedEvents.includes(&quot;recommend&quot;))&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mt-6 p-6 bg-brand-50 border border-brand-700 rounded-xl&quot;,children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Séminaire spécial régional hybride&quot;}),c.jsx(&quot;div&quot;,{className:&quot;space-y-4 text-sm font-light text-ink-500 mb-4&quot;,children:c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;p&quot;,{className:&quot;font-medium&quot;,children:&quot;Dates du séminaire:&quot;}),c.jsx(&quot;p&quot;,{children:&quot;1ère partie en ligne : Du 22 au 30 octobre 2026&quot;}),c.jsx(&quot;p&quot;,{children:&quot;2ème partie présentielle : Du 15 au 19 novembre 2026, au Burkina Faso&quot;})]})}),c.jsx(&quot;h5&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-3 mt-4&quot;,children:&quot;Profil des participants au séminaire spécial régional francophone:&quot;}),c.jsxs(&quot;ol&quot;,{className:&quot;space-y-3 text-sm font-light text-ink-500 list-decimal list-inside&quot;,children:[c.jsxs(&quot;li&quot;,{children:[c.jsx(&quot;strong&quot;,{children:&quot;Âge:&quot;}),&quot; de 25 à 60 ans&quot;]}),c.jsxs(&quot;li&quot;,{children:[c.jsx(&quot;strong&quot;,{children:&quot;Éducation:&quot;}),&quot; niveau Bac+3, exemption faite aux leaders chrétiens reconnus&quot;]}),c.jsxs(&quot;li&quot;,{children:[c.jsx(&quot;strong&quot;,{children:&quot;Durée:&quot;}),&quot; être disponible pour la formation entière qui dure 12 jours subdivisés comme suit: première partie, du 22 au 30 octobre 2026 (18 h en ligne en 8 jours) / deuxième partie, du 15 au 19 novembre 2026 (38h en résidentiel en 4 jours)&quot;]}),c.jsxs(&quot;li&quot;,{children:[c.jsx(&quot;strong&quot;,{children:&quot;Leadership:&quot;}),&quot; être un leader chrétien laïc ou ecclésiastique&quot;]}),c.jsxs(&quot;li&quot;,{children:[c.jsx(&quot;strong&quot;,{children:&quot;Niveau de langue:&quot;}),&quot; être capable de communiquer clairement en français parlé &amp; écrit&quot;]}),c.jsxs(&quot;li&quot;,{children:[c.jsx(&quot;strong&quot;,{children:&quot;Coût:&quot;}),&quot; être en mesure de payer les frais de participation de 350.000 FCFA (534 Euros) /N.B: les frais de voyage incombent au participant.&quot;]}),c.jsxs(&quot;li&quot;,{children:[c.jsx(&quot;strong&quot;,{children:&quot;Ordinateur:&quot;}),&quot; disposer d&#039;un ordinateur portable ou d&#039;un IPAD équivalent sur 12 jrs et de la connexion internet sur 8 jrs (pour la première partie en ligne)&quot;]}),c.jsxs(&quot;li&quot;,{children:[c.jsx(&quot;strong&quot;,{children:&quot;Évangélisation:&quot;}),&quot; s&#039;engager à évangéliser et à former d&#039;autres chrétiens et leaders après la formation&quot;]})]})]}),c.jsx(Le,{type:&quot;button&quot;,onClick:ee,className:&quot;w-full mt-6&quot;,children:&quot;Continuer&quot;})]})}if(a===2){const te=p.selectedEvents.includes(&quot;summit&quot;),de=p.selectedEvents.includes(&quot;seminar&quot;),le=p.selectedEvents.includes(&quot;recommend&quot;),se=p.selectedEvents.length===1&amp;&amp;te,fe=p.selectedEvents.length===1&amp;&amp;de,he=p.selectedEvents.length===1&amp;&amp;le,ue=p.selectedEvents.length===2&amp;&amp;!le,ge=te&amp;&amp;de&amp;&amp;le,xe=de&amp;&amp;le&amp;&amp;!te,pe=te&amp;&amp;le&amp;&amp;!de;return c.jsxs(&quot;form&quot;,{onSubmit:ce=&gt;{ce.preventDefault(),z()},className:&quot;space-y-6&quot;,children:[d._general&amp;&amp;d._general.length&gt;0&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;p-4 rounded-xl bg-red-50 border border-red-200 text-red-800 text-sm&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;font-medium mb-1&quot;,children:&quot;Erreur(s) de validation :&quot;}),c.jsx(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-0.5&quot;,children:d._general.map((ce,Ce)=&gt;c.jsx(&quot;li&quot;,{children:ce},Ce))})]}),c.jsxs(&quot;div&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:&quot;absolute -left-[9999px] top-0 opacity-0 h-0 overflow-hidden&quot;,children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;website-hp&quot;,children:&quot;Site web&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,id:&quot;website-hp&quot;,name:&quot;website&quot;,tabIndex:-1,autoComplete:&quot;off&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:le?&quot;INFORMATIONS SUR LE LEADER QUI RECOMMANDE&quot;:&quot;INFORMATIONS PERSONNELLES&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.first_name,onChange:ce=&gt;$(&quot;first_name&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;first_name&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;first_name&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.last_name,onChange:ce=&gt;$(&quot;last_name&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;last_name&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;last_name&quot;)})]})]}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:&quot;Indiquez le prénom et le nom tels qu&#039;ils figurent sur le passeport ou la pièce d&#039;identité.&quot;}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.email,onChange:ce=&gt;$(&quot;email&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;email&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;email&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[de?&quot;Pays de résidence&quot;:&quot;Pays&quot;,&quot; &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;select&quot;,{value:p.country,onChange:ce=&gt;j(ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:de?&quot;Sélectionner votre pays de résidence&quot;:&quot;Sélectionner un pays&quot;}),Eh.map(ce=&gt;{const Ce=WF(ce.code);return c.jsxs(&quot;option&quot;,{value:ce.name,children:[Ce?`${Ce} ${ce.name}`:ce.name,&quot; &quot;,ce.dialCode]},ce.code)})]}),Q(&quot;country&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;country&quot;)})]}),!he&amp;&amp;c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Ville&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.city,onChange:ce=&gt;$(&quot;city&quot;,ce.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone (WhatsApp) &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.phone,onChange:ce=&gt;k(ce.target.value),placeholder:&quot;+226 70123456&quot;,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;phone&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;phone&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;phone&quot;)})]}),c.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:!he&amp;&amp;c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Nationalité&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.nationality,onChange:ce=&gt;$(&quot;nationality&quot;,ce.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Organisation&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.organization,onChange:ce=&gt;$(&quot;organization&quot;,ce.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Poste / Fonction&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.position,onChange:ce=&gt;$(&quot;position&quot;,ce.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]})]}),te&amp;&amp;c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;p&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;J&#039;ai déjà participé à un séminaire Haggai (International, Régional ou National). &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-6&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;participated_haggai_seminar&quot;,checked:p.participated_haggai_seminar===&quot;oui&quot;,onChange:()=&gt;$(&quot;participated_haggai_seminar&quot;,&quot;oui&quot;),className:&quot;rounded&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;participated_haggai_seminar&quot;,checked:p.participated_haggai_seminar===&quot;non&quot;,onChange:()=&gt;$(&quot;participated_haggai_seminar&quot;,&quot;non&quot;),className:&quot;rounded&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),Q(&quot;participated_haggai_seminar&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;participated_haggai_seminar&quot;)}),p.participated_haggai_seminar===&quot;oui&quot;&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mt-4 flex-1&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;HAGGAI ID ou Année du séminaire &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.hle_vhle_number,onChange:ce=&gt;$(&quot;hle_vhle_number&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;hle_vhle_number&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;hle_vhle_number&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;hle_vhle_number&quot;)})]})]})]})})]}),(ue||se||ge||pe)&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-6 text-center&quot;,children:&quot;CHOIX DE LA FORMULE D&#039;HEBERGEMENT&quot;}),c.jsxs(&quot;div&quot;,{children:[v?c.jsx(&quot;div&quot;,{className:&quot;text-center py-8 text-ink-500&quot;,children:&quot;Chargement des formules...&quot;}):y.length===0?c.jsx(&quot;div&quot;,{className:&quot;text-center py-8 text-ink-500&quot;,children:&quot;Aucune formule disponible&quot;}):c.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-4&quot;,children:y.sort((ce,Ce)=&gt;ce.sort_order-Ce.sort_order).map(ce=&gt;{const Me={A:{price:&quot;150 000 FCFA / 230 €&quot;,description:&quot;par personne (pour les leaders résidant à Ouaga, pas de chambre d&#039;hôtel)&quot;},B:{price:&quot;350 000 FCFA / 535 €&quot;,description:&quot;par personne (deux délégués par chambre double en pension complète)&quot;},C:{price:&quot;450 000 FCFA / 690 €&quot;,description:&quot;(un délégué par chambre en pension complète)&quot;},D:{price:&quot;550 000 FCFA / 840 €&quot;,description:&quot;(pour les couples mariés par chambre en pension complète)&quot;}}[ce.code]||{price:ce.currency_primary===&quot;XOF&quot;?`${ce.price_xof.toLocaleString(&quot;fr-FR&quot;)} XOF`:`${ce.price_eur.toLocaleString(&quot;fr-FR&quot;)} EUR`,description:ce.description||&quot;&quot;},Te={A:&quot;/formules/formule-a.jpg&quot;,B:&quot;/formules/formule-b.jpg&quot;,C:&quot;/formules/formule-c.jpg&quot;,D:&quot;/formules/formule-d.jpg&quot;}[ce.code]||&quot;/formules/default.jpg&quot;;return c.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.package_code===ce.code?&quot;border-brand-700 shadow-lg&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md&quot;}`,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;package_code&quot;,value:ce.code,checked:p.package_code===ce.code,onChange:()=&gt;$(&quot;package_code&quot;,ce.code),className:&quot;sr-only&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100&quot;,children:[c.jsx(&quot;img&quot;,{src:Te,alt:ce.title,className:&quot;w-full h-full object-cover&quot;,onError:Qe=&gt;{Qe.target.src=&quot;/sommet1.webp&quot;}}),p.package_code===ce.code&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;absolute top-2 right-2 bg-brand-700 text-white rounded-full w-8 h-8 flex items-center justify-center&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-5 h-5&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:c.jsx(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z&quot;,clipRule:&quot;evenodd&quot;})})})]}),c.jsxs(&quot;div&quot;,{className:&quot;p-4 bg-white&quot;,children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-2&quot;,children:ce.title}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 font-light mb-2&quot;,children:Me.description}),c.jsx(&quot;p&quot;,{className:&quot;text-lg font-semibold text-brand-700&quot;,children:Me.price})]})]},ce.id)})}),Q(&quot;package_code&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 text-center&quot;,children:Q(&quot;package_code&quot;)}),h&amp;&amp;c.jsxs(&quot;div&quot;,{className:`mt-4 p-4 rounded-xl border-2 transition-colors ${Q(&quot;ouaga_resident_confirmed&quot;)?&quot;border-red-500 bg-red-50&quot;:&quot;border-gray-200 bg-gray-50&quot;}`,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-start gap-3 cursor-pointer&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.ouaga_resident_confirmed,onChange:ce=&gt;$(&quot;ouaga_resident_confirmed&quot;,ce.target.checked),className:`mt-1 h-4 w-4 rounded focus:ring-2 focus:ring-offset-0 ${Q(&quot;ouaga_resident_confirmed&quot;)?&quot;border-red-500 text-red-600 focus:ring-red-500&quot;:&quot;border-gray-300 text-brand-600 focus:ring-brand-600&quot;}`}),c.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Je confirme être résident de Ouagadougou (obligatoire pour la Formule A — pas de chambre d&#039;hôtel incluse).&quot;})]}),Q(&quot;ouaga_resident_confirmed&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm font-medium text-red-600&quot;,role:&quot;alert&quot;,children:Q(&quot;ouaga_resident_confirmed&quot;)})]})]}),p.package_code===&quot;D&quot;&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom du conjoint / de la conjointe &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.spouse_fullname,onChange:ce=&gt;$(&quot;spouse_fullname&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;spouse_fullname&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;spouse_fullname&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;spouse_fullname&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Email du conjoint / de la conjointe&quot;}),c.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.spouse_email,onChange:ce=&gt;$(&quot;spouse_email&quot;,ce.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;HAGGAI ID ou Année du séminaire (conjoint / conjointe)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.spouse_haggai_id,onChange:ce=&gt;$(&quot;spouse_haggai_id&quot;,ce.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]})]})]}),(fe||xe)&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Église ou organisation&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_church_organization,onChange:ce=&gt;$(&quot;seminar_church_organization&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_church_organization&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_church_organization&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_church_organization&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_role_ministry,onChange:ce=&gt;$(&quot;seminar_role_ministry&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_role_ministry&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_role_ministry&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_role_ministry&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Situation matrimoniale &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;marie&quot;,checked:p.seminar_marital_status===&quot;marie&quot;,onChange:()=&gt;$(&quot;seminar_marital_status&quot;,&quot;marie&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Marié(e)&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;non_marie&quot;,checked:p.seminar_marital_status===&quot;non_marie&quot;,onChange:()=&gt;$(&quot;seminar_marital_status&quot;,&quot;non_marie&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non marié(e)&quot;})]})]}),Q(&quot;seminar_marital_status&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_marital_status&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;homme&quot;,checked:p.seminar_gender===&quot;homme&quot;,onChange:()=&gt;$(&quot;seminar_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;femme&quot;,checked:p.seminar_gender===&quot;femme&quot;,onChange:()=&gt;$(&quot;seminar_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;seminar_gender&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_gender&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),c.jsx(&quot;textarea&quot;,{value:p.seminar_question_or_concern,onChange:ce=&gt;$(&quot;seminar_question_or_concern&quot;,ce.target.value),rows:3,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[c.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-800 mb-3&quot;,children:&quot;Compléments d&#039;information pour le séminaire&quot;}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),c.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:p.seminar_date_naissance,onChange:ce=&gt;$(&quot;seminar_date_naissance&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_date_naissance&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_date_naissance&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_date_naissance&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Personne à contacter en cas de besoin + lien de parenté&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_contact_urgence_nom_lien,onChange:ce=&gt;$(&quot;seminar_contact_urgence_nom_lien&quot;,ce.target.value),placeholder:&quot;Nom et lien (ex. époux, parent)&quot;,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_contact_urgence_nom_lien&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_contact_urgence_nom_lien&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_contact_urgence_nom_lien&quot;)})]}),c.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Éducation&quot;}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Niveau d&#039;études&quot;}),c.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;primaire&quot;,&quot;secondaire_2&quot;,&quot;universitaire&quot;].map(ce=&gt;c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_etudes_1&quot;,value:ce,checked:p.seminar_niveau_etudes===ce,onChange:()=&gt;$(&quot;seminar_niveau_etudes&quot;,ce),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ce===&quot;primaire&quot;?&quot;Primaire&quot;:ce===&quot;secondaire_2&quot;?&quot;Secondaire 2&quot;:&quot;Universitaire&quot;})]},ce))}),Q(&quot;seminar_niveau_etudes&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_etudes&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Domaine(s) d&#039;études / formation&quot;}),c.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:z4.map(({value:ce,label:Ce})=&gt;c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.seminar_domaines_etude?.includes(ce)??!1,onChange:()=&gt;D(ce),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:Ce})]},ce))}),p.seminar_domaines_etude?.includes(&quot;autre&quot;)&amp;&amp;c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_domaine_etude_autre,onChange:ce=&gt;$(&quot;seminar_domaine_etude_autre&quot;,ce.target.value),placeholder:&quot;Précisez&quot;,className:&quot;mt-2 w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;}),Q(&quot;seminar_domaines_etude&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_domaines_etude&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Niveau de français (écrit et parlé)&quot;}),c.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;natif&quot;,&quot;avance&quot;,&quot;intermediaire&quot;,&quot;faible&quot;].map(ce=&gt;c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_francais_1&quot;,value:ce,checked:p.seminar_niveau_francais===ce,onChange:()=&gt;$(&quot;seminar_niveau_francais&quot;,ce),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ce===&quot;natif&quot;?&quot;Natif/Native&quot;:ce===&quot;avance&quot;?&quot;Avancé&quot;:ce===&quot;intermediaire&quot;?&quot;Intermédiaire&quot;:&quot;Faible&quot;})]},ce))}),Q(&quot;seminar_niveau_francais&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_francais&quot;)})]}),c.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Infos complémentaires&quot;}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Besoin d&#039;une lettre pour autorisation d&#039;absence ?&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_1&quot;,value:&quot;oui&quot;,checked:p.seminar_besoin_lettre_absence===&quot;oui&quot;,onChange:()=&gt;$(&quot;seminar_besoin_lettre_absence&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_1&quot;,value:&quot;non&quot;,checked:p.seminar_besoin_lettre_absence===&quot;non&quot;,onChange:()=&gt;$(&quot;seminar_besoin_lettre_absence&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),p.seminar_besoin_lettre_absence===&quot;oui&quot;&amp;&amp;c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_besoin_lettre_details,onChange:ce=&gt;$(&quot;seminar_besoin_lettre_details&quot;,ce.target.value),placeholder:&quot;Détails&quot;,className:&quot;mt-2 w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;}),Q(&quot;seminar_besoin_lettre_absence&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_besoin_lettre_absence&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Problème de santé / maladie chronique nécessitant attention ?&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_sante_details,onChange:ce=&gt;$(&quot;seminar_sante_details&quot;,ce.target.value),placeholder:&quot;Indiquez « Aucun » si applicable&quot;,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_sante_details&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_sante_details&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_sante_details&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Régime sans sel ?&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_1&quot;,value:&quot;oui&quot;,checked:p.seminar_regime_sans_sel===&quot;oui&quot;,onChange:()=&gt;$(&quot;seminar_regime_sans_sel&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_1&quot;,value:&quot;non&quot;,checked:p.seminar_regime_sans_sel===&quot;non&quot;,onChange:()=&gt;$(&quot;seminar_regime_sans_sel&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),Q(&quot;seminar_regime_sans_sel&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_regime_sans_sel&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Confession religieuse :&quot;}),c.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:U4.map(({value:ce,label:Ce})=&gt;c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_confession_1&quot;,value:ce,checked:p.seminar_confession_religieuse===ce,onChange:()=&gt;P(ce),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:Ce})]},ce))}),Q(&quot;seminar_confession_religieuse&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_confession_religieuse&quot;)}),p.seminar_confession_religieuse===&quot;autre&quot;&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mt-2&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Spécifiez :&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_confession_religieuse_autre,onChange:ce=&gt;$(&quot;seminar_confession_religieuse_autre&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_confession_religieuse_autre&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_confession_religieuse_autre&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_confession_religieuse_autre&quot;)})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Quelles sont vos attentes ?&quot;}),c.jsx(&quot;textarea&quot;,{value:p.seminar_fardeau_transformation,onChange:ce=&gt;$(&quot;seminar_fardeau_transformation&quot;,ce.target.value),rows:2,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_fardeau_transformation&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_fardeau_transformation&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_fardeau_transformation&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Qui vous a recommandé ?&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_recommande_par,onChange:ce=&gt;$(&quot;seminar_recommande_par&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_recommande_par&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_recommande_par&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_recommande_par&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Engagements&quot;}),c.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:$4.map(({value:ce,label:Ce})=&gt;c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.seminar_engagements?.includes(ce)??!1,onChange:()=&gt;E(ce),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:Ce})]},ce))}),p.seminar_engagements?.includes(&quot;autre&quot;)&amp;&amp;c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_engagements_autre,onChange:ce=&gt;$(&quot;seminar_engagements_autre&quot;,ce.target.value),placeholder:&quot;Précisez&quot;,className:&quot;mt-2 w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;}),Q(&quot;seminar_engagements&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_engagements&quot;)})]})]}),p.selectedEvents.includes(&quot;recommend&quot;)&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;INFORMATIONS SUR LA PERSONNE RECOMMANDÉE&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;block text-sm font-medium text-ink-900 mb-2&quot;,children:&quot;Avez-vous déjà contacté la personne à propos de cette recommandation? (Il est fortement recommandé de contacter la personne avant que l&#039;invitation officielle de Haggai lui soit envoyée.)&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:p.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;$(&quot;recommended_contacted_before&quot;,&quot;oui&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:p.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;$(&quot;recommended_contacted_before&quot;,&quot;non&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),p.recommended_contacted_before===&quot;non&quot;&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 font-medium&quot;,children:&quot;Veuillez d&#039;abord contacter la personne que vous voulez recommander pour la prévenir de l&#039;invitation que Haggai va lui envoyer.&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:ce=&gt;$(&quot;recommended_first_name&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_first_name&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:ce=&gt;$(&quot;recommended_last_name&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_last_name&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:ce=&gt;$(&quot;recommended_profession&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_profession&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:ce=&gt;$(&quot;recommended_residence_country&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_residence_country&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:ce=&gt;$(&quot;recommended_phone_whatsapp&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:ce=&gt;$(&quot;recommended_email&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_email&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:p.recommended_gender===&quot;homme&quot;,onChange:()=&gt;$(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:p.recommended_gender===&quot;femme&quot;,onChange:()=&gt;$(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;recommended_gender&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]})]})]}),he&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;INFORMATIONS SUR LA PERSONNE RECOMMANDÉE&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;block text-sm font-medium text-ink-900 mb-2&quot;,children:&quot;Avez-vous déjà contacté la personne à propos de cette recommandation? (Il est fortement recommandé de contacter la personne avant que l&#039;invitation officielle de Haggai lui soit envoyée.)&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:p.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;$(&quot;recommended_contacted_before&quot;,&quot;oui&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:p.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;$(&quot;recommended_contacted_before&quot;,&quot;non&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),p.recommended_contacted_before===&quot;non&quot;&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 font-medium&quot;,children:&quot;Veuillez d&#039;abord contacter la personne que vous voulez recommander pour la prévenir de l&#039;invitation que Haggai va lui envoyer.&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:ce=&gt;$(&quot;recommended_first_name&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_first_name&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:ce=&gt;$(&quot;recommended_last_name&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_last_name&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:ce=&gt;$(&quot;recommended_profession&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_profession&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:ce=&gt;$(&quot;recommended_residence_country&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_residence_country&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:ce=&gt;$(&quot;recommended_phone_whatsapp&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:ce=&gt;$(&quot;recommended_email&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_email&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:p.recommended_gender===&quot;homme&quot;,onChange:()=&gt;$(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:p.recommended_gender===&quot;femme&quot;,onChange:()=&gt;$(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;recommended_gender&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]})]}),(!ue||ue&amp;&amp;p.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;p.selectedEvents.includes(&quot;seminar&quot;))&amp;&amp;!he&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[p.selectedEvents.includes(&quot;seminar&quot;)&amp;&amp;c.jsx(V4,{}),c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-2 text-center uppercase&quot;,children:&quot;MÉTHODE DE PAIEMENT&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-6 text-center&quot;,children:&quot;Veuillez indiquer votre préférence de mode de paiement et le nombre d&#039;échéances ci-dessous.&quot;}),(()=&gt;{const ce=V();if(!(p.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;p.selectedEvents.includes(&quot;seminar&quot;))||!ce)return null;const Me=y.find(Te=&gt;Te.code===p.package_code),Se=Me?ce.currency===&quot;EUR&quot;?Me.price_eur:Me.price_xof:0;return c.jsxs(&quot;div&quot;,{className:&quot;mb-6 bg-brand-50 rounded-xl p-6 space-y-4&quot;,children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-4 text-center&quot;,children:&quot;Récapitulatif des frais&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:[&quot;Sommet - &quot;,Me?.title||&quot;Formule sélectionnée&quot;]}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:Me?.code||&quot;&quot;})]}),c.jsx(&quot;p&quot;,{className:&quot;text-base font-semibold text-ink-900&quot;,children:T(Se,ce.currency)})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:&quot;Séminaire - Résidentiel&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Formule obligatoire&quot;})]}),c.jsx(&quot;p&quot;,{className:&quot;text-base font-semibold text-ink-900&quot;,children:T(ce.currency===&quot;EUR&quot;?C:_,ce.currency)})]}),c.jsxs(&quot;div&quot;,{className:&quot;pt-4 border-t border-brand-700/30&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-lg font-heading font-semibold text-ink-900&quot;,children:&quot;Total à payer&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-2xl font-bold text-brand-700&quot;,children:ce.formatted})]}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-2 text-right&quot;,children:&quot;Note : Les paiements peuvent être effectués séparément pour chaque événement.&quot;})]})]})]})})(),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-4&quot;,children:[c.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.payment_method_selected===&quot;mobile_money&quot;?&quot;border-brand-700 shadow-lg bg-brand-50&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md bg-white&quot;}`,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;mobile_money&quot;,checked:p.payment_method_selected===&quot;mobile_money&quot;,onChange:()=&gt;$(&quot;payment_method_selected&quot;,&quot;mobile_money&quot;),className:&quot;sr-only&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-6 h-6 text-brand-700&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:c.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z&quot;})})})}),c.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Mobile Money&quot;}),p.payment_method_selected===&quot;mobile_money&quot;&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;absolute top-2 right-2 bg-brand-700 text-white rounded-full w-6 h-6 flex items-center justify-center&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:c.jsx(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z&quot;,clipRule:&quot;evenodd&quot;})})})]})]}),c.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.payment_method_selected===&quot;card_visa&quot;?&quot;border-brand-700 shadow-lg bg-brand-50&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md bg-white&quot;}`,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;card_visa&quot;,checked:p.payment_method_selected===&quot;card_visa&quot;,onChange:()=&gt;$(&quot;payment_method_selected&quot;,&quot;card_visa&quot;),className:&quot;sr-only&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-6 h-6 text-brand-700&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:c.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z&quot;})})})}),c.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Carte de crédit (Visa)&quot;}),p.payment_method_selected===&quot;card_visa&quot;&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;absolute top-2 right-2 bg-brand-700 text-white rounded-full w-6 h-6 flex items-center justify-center&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:c.jsx(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z&quot;,clipRule:&quot;evenodd&quot;})})})]})]}),c.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.payment_method_selected===&quot;national_office&quot;?&quot;border-brand-700 shadow-lg bg-brand-50&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md bg-white&quot;}`,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;national_office&quot;,checked:p.payment_method_selected===&quot;national_office&quot;,onChange:()=&gt;$(&quot;payment_method_selected&quot;,&quot;national_office&quot;),className:&quot;sr-only&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-6 h-6 text-brand-700&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:c.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4&quot;})})})}),c.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Bureau national&quot;}),p.payment_method_selected===&quot;national_office&quot;&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;absolute top-2 right-2 bg-brand-700 text-white rounded-full w-6 h-6 flex items-center justify-center&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:c.jsx(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z&quot;,clipRule:&quot;evenodd&quot;})})})]})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;mt-6 pt-6 border-t border-gray-200&quot;,children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;CONFIGURATION DES ÉCHÉANCES&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Nombre d&#039;échéances &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;div&quot;,{className:&quot;flex gap-3&quot;,children:[1,2,3].map(ce=&gt;c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;W(ce),className:`flex-1 py-3 px-4 rounded-xl border-2 transition-all ${p.installment_count===ce?&quot;border-brand-700 bg-brand-700 text-white&quot;:&quot;border-gray-200 hover:border-brand-700 text-ink-500&quot;}`,children:[ce,&quot; &quot;,ce===1?&quot;échéance&quot;:&quot;échéances&quot;]},ce))})]}),c.jsx(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:Array.from({length:p.installment_count}).map((ce,Ce)=&gt;{const Me=p.installment_months[Ce]||&quot;&quot;,Se=!Me||H([Me]),Te=d[`installment_month_${Ce}`],Qe=!!Te||!Se&amp;&amp;!!Me;return c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Échéance &quot;,Ce+1,&quot; &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;select&quot;,{value:Me,onChange:Ve=&gt;K(Ce,Ve.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Qe?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner un mois&quot;}),F().map(Ve=&gt;c.jsx(&quot;option&quot;,{value:Ve.value,children:Ve.label},Ve.value))]}),Te&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Te[0]}),!Te&amp;&amp;!Se&amp;&amp;Me&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:&quot;L&#039;échéance doit être au plus tard 2 mois avant l&#039;événement (septembre 2026 au plus tard)&quot;})]},Ce)})}),d.installment_months&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600&quot;,children:d.installment_months[0]})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:I,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),ue||ge||te&amp;&amp;le&amp;&amp;!de?c.jsx(Le,{type:&quot;button&quot;,onClick:z,disabled:!ie(),className:&quot;flex-1&quot;,children:&quot;Valider et passer au suivant&quot;}):c.jsx(Le,{type:&quot;submit&quot;,disabled:l||he&amp;&amp;!Z(),className:&quot;flex-1&quot;,children:l?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}if(a===3){const te=p.selectedEvents.includes(&quot;summit&quot;),de=p.selectedEvents.includes(&quot;seminar&quot;),le=p.selectedEvents.includes(&quot;recommend&quot;),se=te&amp;&amp;le&amp;&amp;!de,fe=de&amp;&amp;le&amp;&amp;!te,he=te&amp;&amp;de&amp;&amp;le;return fe?c.jsx(&quot;form&quot;,{onSubmit:ue=&gt;{ue.preventDefault(),re()},className:&quot;space-y-6&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Recommander quelqu&#039;un au Séminaire&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:ue=&gt;$(&quot;recommended_first_name&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_first_name&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:ue=&gt;$(&quot;recommended_last_name&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_last_name&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:ue=&gt;$(&quot;recommended_profession&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_profession&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:ue=&gt;$(&quot;recommended_residence_country&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_residence_country&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:ue=&gt;$(&quot;recommended_phone_whatsapp&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:ue=&gt;$(&quot;recommended_email&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_email&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:p.recommended_gender===&quot;homme&quot;,onChange:()=&gt;$(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:p.recommended_gender===&quot;femme&quot;,onChange:()=&gt;$(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;recommended_gender&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:X,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),c.jsx(Le,{type:&quot;submit&quot;,disabled:l,className:&quot;flex-1&quot;,children:l?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):se?c.jsx(&quot;form&quot;,{onSubmit:ue=&gt;{ue.preventDefault(),re()},className:&quot;space-y-6&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;INFORMATIONS SUR LA PERSONNE RECOMMANDÉE&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;block text-sm font-medium text-ink-900 mb-2&quot;,children:&quot;Avez-vous déjà contacté la personne à propos de cette recommandation? (Il est fortement recommandé de contacter la personne avant que l&#039;invitation officielle de Haggai lui soit envoyée.)&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:p.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;$(&quot;recommended_contacted_before&quot;,&quot;oui&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:p.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;$(&quot;recommended_contacted_before&quot;,&quot;non&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),p.recommended_contacted_before===&quot;non&quot;&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 font-medium&quot;,children:&quot;Veuillez d&#039;abord contacter la personne que vous voulez recommander pour la prévenir de l&#039;invitation que Haggai va lui envoyer.&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:ue=&gt;$(&quot;recommended_first_name&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_first_name&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:ue=&gt;$(&quot;recommended_last_name&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_last_name&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:ue=&gt;$(&quot;recommended_profession&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_profession&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:ue=&gt;$(&quot;recommended_residence_country&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_residence_country&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:ue=&gt;$(&quot;recommended_phone_whatsapp&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:ue=&gt;$(&quot;recommended_email&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_email&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:p.recommended_gender===&quot;homme&quot;,onChange:()=&gt;$(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:p.recommended_gender===&quot;femme&quot;,onChange:()=&gt;$(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;recommended_gender&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:X,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),c.jsx(Le,{type:&quot;submit&quot;,disabled:l,className:&quot;flex-1&quot;,children:l?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):c.jsx(&quot;form&quot;,{onSubmit:ue=&gt;{ue.preventDefault(),re()},className:&quot;space-y-6&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[he&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-blue-800&quot;,children:`Vous avez également sélectionné &quot;Recommander quelqu&#039;un&quot;. Vous pourrez renseigner les informations de la personne recommandée sur la page suivante.`})}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Église ou organisation&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_church_organization,onChange:ue=&gt;$(&quot;seminar_church_organization&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_church_organization&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_church_organization&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_church_organization&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_role_ministry,onChange:ue=&gt;$(&quot;seminar_role_ministry&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_role_ministry&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_role_ministry&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_role_ministry&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Situation matrimoniale &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;marie&quot;,checked:p.seminar_marital_status===&quot;marie&quot;,onChange:()=&gt;$(&quot;seminar_marital_status&quot;,&quot;marie&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Marié(e)&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;non_marie&quot;,checked:p.seminar_marital_status===&quot;non_marie&quot;,onChange:()=&gt;$(&quot;seminar_marital_status&quot;,&quot;non_marie&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non marié(e)&quot;})]})]}),Q(&quot;seminar_marital_status&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_marital_status&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;homme&quot;,checked:p.seminar_gender===&quot;homme&quot;,onChange:()=&gt;$(&quot;seminar_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;femme&quot;,checked:p.seminar_gender===&quot;femme&quot;,onChange:()=&gt;$(&quot;seminar_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;seminar_gender&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_gender&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),c.jsx(&quot;textarea&quot;,{value:p.seminar_question_or_concern,onChange:ue=&gt;$(&quot;seminar_question_or_concern&quot;,ue.target.value),rows:3,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[c.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-800 mb-3&quot;,children:&quot;Compléments d&#039;information pour le séminaire&quot;}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),c.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:p.seminar_date_naissance,onChange:ue=&gt;$(&quot;seminar_date_naissance&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_date_naissance&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_date_naissance&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_date_naissance&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Personne à contacter en cas de besoin + lien de parenté&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_contact_urgence_nom_lien,onChange:ue=&gt;$(&quot;seminar_contact_urgence_nom_lien&quot;,ue.target.value),placeholder:&quot;Nom et lien (ex. époux, parent)&quot;,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_contact_urgence_nom_lien&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_contact_urgence_nom_lien&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_contact_urgence_nom_lien&quot;)})]}),c.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Éducation&quot;}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Niveau d&#039;études&quot;}),c.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;primaire&quot;,&quot;secondaire_2&quot;,&quot;universitaire&quot;].map(ue=&gt;c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_etudes_2&quot;,value:ue,checked:p.seminar_niveau_etudes===ue,onChange:()=&gt;$(&quot;seminar_niveau_etudes&quot;,ue),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ue===&quot;primaire&quot;?&quot;Primaire&quot;:ue===&quot;secondaire_2&quot;?&quot;Secondaire 2&quot;:&quot;Universitaire&quot;})]},ue))}),Q(&quot;seminar_niveau_etudes&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_etudes&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Domaine(s) d&#039;études / formation&quot;}),c.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:z4.map(({value:ue,label:ge})=&gt;c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.seminar_domaines_etude?.includes(ue)??!1,onChange:()=&gt;D(ue),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ge})]},ue))}),p.seminar_domaines_etude?.includes(&quot;autre&quot;)&amp;&amp;c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_domaine_etude_autre,onChange:ue=&gt;$(&quot;seminar_domaine_etude_autre&quot;,ue.target.value),placeholder:&quot;Précisez&quot;,className:&quot;mt-2 w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;}),Q(&quot;seminar_domaines_etude&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_domaines_etude&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Niveau de français (écrit et parlé)&quot;}),c.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;natif&quot;,&quot;avance&quot;,&quot;intermediaire&quot;,&quot;faible&quot;].map(ue=&gt;c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_francais_2&quot;,value:ue,checked:p.seminar_niveau_francais===ue,onChange:()=&gt;$(&quot;seminar_niveau_francais&quot;,ue),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ue===&quot;natif&quot;?&quot;Natif/Native&quot;:ue===&quot;avance&quot;?&quot;Avancé&quot;:ue===&quot;intermediaire&quot;?&quot;Intermédiaire&quot;:&quot;Faible&quot;})]},ue))}),Q(&quot;seminar_niveau_francais&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_francais&quot;)})]}),c.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Infos complémentaires&quot;}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Besoin d&#039;une lettre pour autorisation d&#039;absence ?&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_2&quot;,value:&quot;oui&quot;,checked:p.seminar_besoin_lettre_absence===&quot;oui&quot;,onChange:()=&gt;$(&quot;seminar_besoin_lettre_absence&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_2&quot;,value:&quot;non&quot;,checked:p.seminar_besoin_lettre_absence===&quot;non&quot;,onChange:()=&gt;$(&quot;seminar_besoin_lettre_absence&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),p.seminar_besoin_lettre_absence===&quot;oui&quot;&amp;&amp;c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_besoin_lettre_details,onChange:ue=&gt;$(&quot;seminar_besoin_lettre_details&quot;,ue.target.value),placeholder:&quot;Détails&quot;,className:&quot;mt-2 w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;}),Q(&quot;seminar_besoin_lettre_absence&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_besoin_lettre_absence&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Problème de santé / maladie chronique nécessitant attention ?&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_sante_details,onChange:ue=&gt;$(&quot;seminar_sante_details&quot;,ue.target.value),placeholder:&quot;Indiquez « Aucun » si applicable&quot;,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_sante_details&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_sante_details&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_sante_details&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Régime sans sel ?&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_2&quot;,value:&quot;oui&quot;,checked:p.seminar_regime_sans_sel===&quot;oui&quot;,onChange:()=&gt;$(&quot;seminar_regime_sans_sel&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_2&quot;,value:&quot;non&quot;,checked:p.seminar_regime_sans_sel===&quot;non&quot;,onChange:()=&gt;$(&quot;seminar_regime_sans_sel&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),Q(&quot;seminar_regime_sans_sel&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_regime_sans_sel&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Confession religieuse :&quot;}),c.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:U4.map(({value:ue,label:ge})=&gt;c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_confession_2&quot;,value:ue,checked:p.seminar_confession_religieuse===ue,onChange:()=&gt;P(ue),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ge})]},ue))}),Q(&quot;seminar_confession_religieuse&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_confession_religieuse&quot;)}),p.seminar_confession_religieuse===&quot;autre&quot;&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mt-2&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Spécifiez :&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_confession_religieuse_autre,onChange:ue=&gt;$(&quot;seminar_confession_religieuse_autre&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_confession_religieuse_autre&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_confession_religieuse_autre&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_confession_religieuse_autre&quot;)})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Quelles sont vos attentes ?&quot;}),c.jsx(&quot;textarea&quot;,{value:p.seminar_fardeau_transformation,onChange:ue=&gt;$(&quot;seminar_fardeau_transformation&quot;,ue.target.value),rows:2,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_fardeau_transformation&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_fardeau_transformation&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_fardeau_transformation&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Qui vous a recommandé ?&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_recommande_par,onChange:ue=&gt;$(&quot;seminar_recommande_par&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_recommande_par&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_recommande_par&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_recommande_par&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Engagements&quot;}),c.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:$4.map(({value:ue,label:ge})=&gt;c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.seminar_engagements?.includes(ue)??!1,onChange:()=&gt;E(ue),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ge})]},ue))}),p.seminar_engagements?.includes(&quot;autre&quot;)&amp;&amp;c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_engagements_autre,onChange:ue=&gt;$(&quot;seminar_engagements_autre&quot;,ue.target.value),placeholder:&quot;Précisez&quot;,className:&quot;mt-2 w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;}),Q(&quot;seminar_engagements&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_engagements&quot;)})]})]}),p.seminar_intent===&quot;recommend&quot;&amp;&amp;!he&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;INFORMATIONS SUR LA PERSONNE RECOMMANDÉE&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;block text-sm font-medium text-ink-900 mb-2&quot;,children:&quot;Avez-vous déjà contacté la personne à propos de cette recommandation? (Il est fortement recommandé de contacter la personne avant que l&#039;invitation officielle de Haggai lui soit envoyée.)&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:p.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;$(&quot;recommended_contacted_before&quot;,&quot;oui&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:p.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;$(&quot;recommended_contacted_before&quot;,&quot;non&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),p.recommended_contacted_before===&quot;non&quot;&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 font-medium&quot;,children:&quot;Veuillez d&#039;abord contacter la personne que vous voulez recommander pour la prévenir de l&#039;invitation que Haggai va lui envoyer.&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:ue=&gt;$(&quot;recommended_first_name&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_first_name&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:ue=&gt;$(&quot;recommended_last_name&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_last_name&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:ue=&gt;$(&quot;recommended_profession&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_profession&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:ue=&gt;$(&quot;recommended_residence_country&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_residence_country&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:ue=&gt;$(&quot;recommended_phone_whatsapp&quot;,ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Email (optionnel)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:ue=&gt;$(&quot;recommended_email&quot;,ue.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender_4&quot;,value:&quot;homme&quot;,checked:p.recommended_gender===&quot;homme&quot;,onChange:()=&gt;$(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender_4&quot;,value:&quot;femme&quot;,checked:p.recommended_gender===&quot;femme&quot;,onChange:()=&gt;$(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;recommended_gender&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[p.selectedEvents.includes(&quot;seminar&quot;)&amp;&amp;c.jsx(V4,{}),c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-2 text-center uppercase&quot;,children:&quot;MÉTHODE DE PAIEMENT&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-6 text-center&quot;,children:&quot;Veuillez indiquer votre préférence de mode de paiement et le nombre d&#039;échéances ci-dessous.&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-4&quot;,children:[c.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.payment_method_selected===&quot;mobile_money&quot;?&quot;border-brand-700 shadow-lg bg-brand-50&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md bg-white&quot;}`,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;mobile_money&quot;,checked:p.payment_method_selected===&quot;mobile_money&quot;,onChange:()=&gt;$(&quot;payment_method_selected&quot;,&quot;mobile_money&quot;),className:&quot;sr-only&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-6 h-6 text-brand-700&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:c.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z&quot;})})})}),c.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Mobile Money&quot;}),p.payment_method_selected===&quot;mobile_money&quot;&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;absolute top-2 right-2 bg-brand-700 text-white rounded-full w-6 h-6 flex items-center justify-center&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:c.jsx(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z&quot;,clipRule:&quot;evenodd&quot;})})})]})]}),c.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.payment_method_selected===&quot;card_visa&quot;?&quot;border-brand-700 shadow-lg bg-brand-50&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md bg-white&quot;}`,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;card_visa&quot;,checked:p.payment_method_selected===&quot;card_visa&quot;,onChange:()=&gt;$(&quot;payment_method_selected&quot;,&quot;card_visa&quot;),className:&quot;sr-only&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-6 h-6 text-brand-700&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:c.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z&quot;})})})}),c.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Carte de crédit (Visa)&quot;}),p.payment_method_selected===&quot;card_visa&quot;&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;absolute top-2 right-2 bg-brand-700 text-white rounded-full w-6 h-6 flex items-center justify-center&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:c.jsx(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z&quot;,clipRule:&quot;evenodd&quot;})})})]})]}),c.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.payment_method_selected===&quot;national_office&quot;?&quot;border-brand-700 shadow-lg bg-brand-50&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md bg-white&quot;}`,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;national_office&quot;,checked:p.payment_method_selected===&quot;national_office&quot;,onChange:()=&gt;$(&quot;payment_method_selected&quot;,&quot;national_office&quot;),className:&quot;sr-only&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-6 h-6 text-brand-700&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:c.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4&quot;})})})}),c.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Bureau national&quot;}),p.payment_method_selected===&quot;national_office&quot;&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;absolute top-2 right-2 bg-brand-700 text-white rounded-full w-6 h-6 flex items-center justify-center&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:c.jsx(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z&quot;,clipRule:&quot;evenodd&quot;})})})]})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;mt-6 pt-6 border-t border-gray-200&quot;,children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;CONFIGURATION DES ÉCHÉANCES&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Nombre d&#039;échéances &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;div&quot;,{className:&quot;flex gap-3&quot;,children:[1,2,3].map(ue=&gt;c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;W(ue),className:`flex-1 py-3 px-4 rounded-xl border-2 transition-all ${p.installment_count===ue?&quot;border-brand-700 bg-brand-700 text-white&quot;:&quot;border-gray-200 hover:border-brand-700 text-ink-500&quot;}`,children:[ue,&quot; &quot;,ue===1?&quot;échéance&quot;:&quot;échéances&quot;]},ue))})]}),c.jsx(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:Array.from({length:p.installment_count}).map((ue,ge)=&gt;{const xe=p.installment_months[ge]||&quot;&quot;,pe=!xe||H([xe]),ce=d[`installment_month_${ge}`],Ce=!!ce||!pe&amp;&amp;!!xe;return c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Échéance &quot;,ge+1,&quot; &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;select&quot;,{value:xe,onChange:Me=&gt;K(ge,Me.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Ce?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner un mois&quot;}),F().map(Me=&gt;c.jsx(&quot;option&quot;,{value:Me.value,children:Me.label},Me.value))]}),ce&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:ce[0]}),!ce&amp;&amp;!pe&amp;&amp;xe&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:&quot;L&#039;échéance doit être au plus tard 2 mois avant l&#039;événement (septembre 2026 au plus tard)&quot;})]},ge)})}),d.installment_months&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600&quot;,children:d.installment_months[0]})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:X,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),he?c.jsx(Le,{type:&quot;button&quot;,onClick:re,className:&quot;flex-1&quot;,children:&quot;Valider et passer au suivant&quot;}):c.jsx(Le,{type:&quot;submit&quot;,disabled:l,className:&quot;flex-1&quot;,children:l?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})})}if(a===4){const te=p.selectedEvents.includes(&quot;summit&quot;),de=p.selectedEvents.includes(&quot;seminar&quot;),le=p.selectedEvents.includes(&quot;recommend&quot;);return te&amp;&amp;de&amp;&amp;le?c.jsx(&quot;form&quot;,{onSubmit:fe=&gt;{fe.preventDefault(),ne()},className:&quot;space-y-6&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Recommander quelqu&#039;un au Séminaire&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:fe=&gt;$(&quot;recommended_first_name&quot;,fe.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_first_name&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:fe=&gt;$(&quot;recommended_last_name&quot;,fe.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_last_name&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:fe=&gt;$(&quot;recommended_profession&quot;,fe.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_profession&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:fe=&gt;$(&quot;recommended_residence_country&quot;,fe.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_residence_country&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:fe=&gt;$(&quot;recommended_phone_whatsapp&quot;,fe.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:fe=&gt;$(&quot;recommended_email&quot;,fe.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_email&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:p.recommended_gender===&quot;homme&quot;,onChange:()=&gt;$(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:p.recommended_gender===&quot;femme&quot;,onChange:()=&gt;$(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;recommended_gender&quot;)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:()=&gt;u(3),className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),c.jsx(Le,{type:&quot;submit&quot;,disabled:l,className:&quot;flex-1&quot;,children:l?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):null}return null}const Qa=&quot;communication@sommetfrancophone.org&quot;,Ah=&quot;+225 05 5427 5725 (WhatsApp)&quot;;function GF(e,r){return e===1?&quot;PREINSCRIPTIONS &amp; RECOMMANDATIONS&quot;:r.length===1&amp;&amp;r[0]===&quot;summit&quot;?&quot;PREINSCRIPTION AU SOMMET&quot;:r.length===1&amp;&amp;r[0]===&quot;seminar&quot;?&quot;PREINSCRIPTION AU SEMINAIRE&quot;:r.length===1&amp;&amp;r[0]===&quot;recommend&quot;?&quot;RECOMMANDATION AU SEMINAIRE&quot;:&quot;PREINSCRIPTIONS &amp; RECOMMANDATIONS&quot;}function YF(e){return e===1?&quot;Sélectionner une option ci-dessous. Vous pourrez revenir pour un autre choix.&quot;:&quot;Complétez le formulaire ci-dessous.&quot;}function ZF(){const[e]=vp(),r=e.get(&quot;preselect&quot;),t=r===&quot;summit&quot;?[&quot;summit&quot;]:r===&quot;seminar&quot;?[&quot;seminar&quot;]:r===&quot;recommend&quot;?[&quot;recommend&quot;]:void 0,[n,o]=L.useState(&quot;form&quot;),[i,a]=L.useState({}),[u,l]=L.useState(!1),[s,d]=L.useState(null),[f,h]=L.useState({step:1,selectedEvents:[]}),m=v=&gt;{v.type===&quot;recommendation&quot;?a({recommendationId:v.id,type:&quot;recommendation&quot;}):a({registrationId:v.id,type:&quot;registration&quot;}),o(&quot;success&quot;)},p=v=&gt;{a(_=&gt;_.registrationId||_.recommendationId||n===&quot;success&quot;?{..._,existingRegistrationId:v,hasConflict:!0}:(o(&quot;conflict&quot;),{existingRegistrationId:v}))},b=v=&gt;{a({errorMessage:v}),v.includes(&quot;indisponibles&quot;)?o(&quot;unavailable&quot;):o(&quot;error&quot;)},g=()=&gt;{o(&quot;form&quot;),a({}),d(null)};L.useEffect(()=&gt;{n!==&quot;form&quot;&amp;&amp;window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[n]);const y=async()=&gt;{if(i.existingRegistrationId){l(!0),d(null);try{await O1.resendVerification(i.existingRegistrationId),d(&quot;Email de vérification renvoyé avec succès. Vérifiez votre boîte de réception.&quot;)}catch(v){v instanceof Kt?v.status===422?d(v.data.errors?.registration?.[0]||v.message):d(v.message||&quot;Erreur lors du renvoi de l&#039;email.&quot;):d(&quot;Une erreur est survenue lors du renvoi de l&#039;email.&quot;)}finally{l(!1)}}};return n===&quot;success&quot;?c.jsx(il,{children:c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:c.jsx(_L,{className:&quot;w-16 h-16 text-green-600&quot;})}),c.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:i.type===&quot;recommendation&quot;?&quot;Recommandation reçue&quot;:&quot;Inscription reçue&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light mb-6&quot;,children:i.type===&quot;recommendation&quot;?&quot;Votre recommandation a été enregistrée avec succès.&quot;:&quot;Votre inscription a été enregistrée avec succès.&quot;}),i.type===&quot;registration&quot;&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light mb-8&quot;,children:&quot;Veuillez vérifier votre email pour confirmer votre inscription. Un email de vérification vous a été envoyé.&quot;}),i.type===&quot;recommendation&quot;&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light mb-8&quot;,children:&quot;Merci pour votre recommandation. L&#039;équipe examinera la candidature et contactera la personne recommandée si nécessaire.&quot;}),i.registrationId&amp;&amp;c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro d&#039;inscription : &quot;,c.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,i.registrationId]})]}),i.recommendationId&amp;&amp;c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro de recommandation : &quot;,c.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,i.recommendationId]})]}),i.hasConflict&amp;&amp;i.existingRegistrationId&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;bg-yellow-50 border border-yellow-200 rounded-lg p-4 mb-8&quot;,children:c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-yellow-800&quot;,children:[c.jsx(&quot;strong&quot;,{children:&quot;Note :&quot;}),&quot; Une inscription existe déjà pour un autre événement (numéro #&quot;,i.existingRegistrationId,&quot;).&quot;]})}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[c.jsx(Le,{onClick:g,variant:&quot;secondary&quot;,children:&quot;Nouvelle inscription&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Pour toute question :&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center gap-4 flex-wrap&quot;,children:[c.jsxs(&quot;a&quot;,{href:`mailto:${Qa}`,className:&quot;hover:text-brand-9002 inline-flex items-center gap-1&quot;,children:[c.jsx(so,{className:&quot;w-4 h-4&quot;}),Qa]}),c.jsxs(&quot;span&quot;,{className:&quot;inline-flex items-center gap-1&quot;,children:[c.jsx(Vu,{className:&quot;w-4 h-4&quot;}),Ah]})]})]}),c.jsx(&quot;div&quot;,{children:c.jsx(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;text-brand-9002 hover:text-brand-900 font-light text-sm&quot;,children:&quot;Retour à l&#039;accueil&quot;})})]})]})})})}):n===&quot;conflict&quot;?c.jsx(il,{children:c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:c.jsx(Ty,{className:&quot;w-16 h-16 text-yellow-600&quot;})}),c.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Inscription déjà existante&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light mb-6&quot;,children:&quot;Un utilisateur existe déjà avec le même email ou le même numéro de téléphone pour cet événement.&quot;}),i.existingRegistrationId&amp;&amp;c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro d&#039;inscription existante : &quot;,c.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,i.existingRegistrationId]})]}),c.jsx(&quot;div&quot;,{className:&quot;space-y-4 mb-8&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light&quot;,children:&quot;Si vous avez des questions ou souhaitez modifier votre inscription, veuillez contacter l&#039;équipe.&quot;})}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[c.jsx(Le,{onClick:y,variant:&quot;secondary&quot;,disabled:u,children:u?&quot;Envoi en cours...&quot;:&quot;Renvoyer l&#039;email de vérification&quot;}),s&amp;&amp;c.jsx(&quot;p&quot;,{className:`text-sm ${s.includes(&quot;succès&quot;)?&quot;text-green-600&quot;:&quot;text-red-600&quot;}`,children:s}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Ou contactez-nous :&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[c.jsx(so,{className:&quot;w-4 h-4&quot;}),c.jsx(&quot;a&quot;,{href:`mailto:${Qa}`,className:&quot;hover:text-brand-9002&quot;,children:Qa})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[c.jsx(Vu,{className:&quot;w-4 h-4&quot;}),c.jsx(&quot;span&quot;,{children:Ah})]})]}),c.jsx(Le,{onClick:g,variant:&quot;outline&quot;,children:&quot;Nouvelle inscription&quot;}),c.jsx(&quot;div&quot;,{children:c.jsx(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;text-brand-9002 hover:text-brand-900 font-light text-sm&quot;,children:&quot;Retour à l&#039;accueil&quot;})})]})]})})})}):n===&quot;error&quot;?c.jsx(il,{children:c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:c.jsx(kL,{className:&quot;w-16 h-16 text-red-600&quot;})}),c.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Erreur&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light mb-8&quot;,children:i.errorMessage||&quot;Une erreur est survenue lors de l&#039;inscription.&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[c.jsx(Le,{onClick:g,children:&quot;Réessayer&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Ou contactez-nous :&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[c.jsx(so,{className:&quot;w-4 h-4&quot;}),c.jsx(&quot;a&quot;,{href:`mailto:${Qa}`,className:&quot;hover:text-brand-9002&quot;,children:Qa})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[c.jsx(Vu,{className:&quot;w-4 h-4&quot;}),c.jsx(&quot;span&quot;,{children:Ah})]})]}),c.jsx(&quot;div&quot;,{children:c.jsx(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;text-brand-9002 hover:text-brand-900 font-light text-sm&quot;,children:&quot;Retour à l&#039;accueil&quot;})})]})]})})})}):n===&quot;unavailable&quot;?c.jsx(il,{children:c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:c.jsx(Ty,{className:&quot;w-16 h-16 text-yellow-600&quot;})}),c.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Inscriptions publiques indisponibles&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light mb-8&quot;,children:&quot;Les inscriptions publiques ne sont pas disponibles pour le moment. Veuillez réessayer plus tard ou contacter l&#039;équipe pour plus d&#039;informations.&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2 mb-2&quot;,children:[c.jsx(so,{className:&quot;w-4 h-4&quot;}),c.jsx(&quot;a&quot;,{href:`mailto:${Qa}`,className:&quot;hover:text-brand-9002&quot;,children:Qa})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[c.jsx(Vu,{className:&quot;w-4 h-4&quot;}),c.jsx(&quot;span&quot;,{children:Ah})]})]}),c.jsx(&quot;div&quot;,{children:c.jsx(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;text-brand-9002 hover:text-brand-900 font-light text-sm&quot;,children:&quot;Retour à l&#039;accueil&quot;})})]})]})})})}):c.jsx(il,{children:c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;w-full mx-auto&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;text-center mb-12 px-4 sm:px-6 lg:px-8&quot;,children:[c.jsx(&quot;h1&quot;,{className:&quot;text-4xl font-heading font-medium text-ink-900 mb-4 uppercase&quot;,children:GF(f.step,f.selectedEvents)}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light text-lg&quot;,children:YF(f.step)})]}),c.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-4 sm:p-6 md:p-8 mx-4 sm:mx-6 md:mx-[20%]&quot;,children:c.jsx(XF,{preselectedEvents:t,onSuccess:m,onConflict:p,onError:b,onFormLayoutChange:h})})]})})})}function Kn({children:e,className:r=&quot;&quot;}){return c.jsx(&quot;div&quot;,{className:`bg-surface-0 rounded-xl2 shadow-soft p-6 ${r}`,children:e})}function QF(){const e=xs(),{isAuthenticated:r,canAccessAdmin:t,loading:n,refetch:o,roles:i}=Ls(),[a,u]=L.useState(&quot;&quot;),[l,s]=L.useState(&quot;&quot;),[d,f]=L.useState(!1),[h,m]=L.useState(null);if(n)return c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(r){const g=t&amp;&amp;!i.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_ADMINISTRATION&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;(i.includes(&quot;COMMISSION_FINANCE&quot;)||i.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)||i.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;))?&quot;/admin/finance&quot;:&quot;/admin/registrations&quot;;return c.jsx(ui,{to:t?g:&quot;/account&quot;,replace:!0})}const p=async b=&gt;{b.preventDefault(),f(!0),m(null);try{const g=await Ui.login({email:a.trim(),password:l});if(!g||!g.token){m(&quot;Réponse invalide du serveur.&quot;);return}let y=g.user??null;if(y||(y=await o()),!y){m(&quot;Connexion réussie mais impossible de charger le profil. Réessayez ou rechargez la page.&quot;);return}const v=[&quot;SUPER_ADMIN&quot;,&quot;COMMISSION_ADMINISTRATION&quot;,&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;,&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;,&quot;COMMISSION_FINANCE&quot;,&quot;COMMISSION_FINANCE_SOMMET&quot;,&quot;COMMISSION_FINANCE_SEMINAIRE&quot;,&quot;COMMISSION_COMMUNICATION&quot;,&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;],_=(y.roles??[]).map(V=&gt;typeof V==&quot;string&quot;?V:V.name).filter(V=&gt;typeof V==&quot;string&quot;),C=_.some(V=&gt;v.includes(V)),T=!_.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;(_.includes(&quot;COMMISSION_FINANCE&quot;)||_.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)||_.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;))?&quot;/admin/finance&quot;:&quot;/admin/registrations&quot;;e(C?T:&quot;/account&quot;,{replace:!0})}catch(g){if(console.error(&quot;Erreur de connexion complète:&quot;,g),g instanceof Kt)if(console.error(&quot;Détails de l&#039;erreur API:&quot;,{status:g.status,data:g.data,message:g.message}),g.status===422&amp;&amp;g.data.errors){const y=Object.values(g.data.errors).flat();m(y.join(&quot;. &quot;)||&quot;Erreur de validation.&quot;)}else g.status===401||g.status===422?g.data.errors&amp;&amp;g.data.errors.email?m(g.data.errors.email[0]||&quot;Email ou mot de passe incorrect.&quot;):m(g.data.message||&quot;Email ou mot de passe incorrect.&quot;):g.status===403?m(&quot;Votre compte n&#039;a pas les permissions nécessaires.&quot;):g.status===0?m(&quot;Impossible de joindre l’API (réseau ou serveur arrêté). Vérifiez que Laravel tourne et, si besoin, `VITE_API_PROXY_TARGET` dans `.env.development`.&quot;):m(g.data?.message||&quot;Une erreur est survenue lors de la connexion.&quot;);else m(&quot;Une erreur inattendue est survenue.&quot;)}finally{f(!1)}};return c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;max-w-md w-full&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;text-center mb-8&quot;,children:[c.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Connexion&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Connectez-vous à votre espace&quot;})]}),c.jsx(Kn,{children:c.jsxs(&quot;form&quot;,{onSubmit:p,className:&quot;space-y-6&quot;,children:[h&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:h})}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;email&quot;,className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Email&quot;}),c.jsx(&quot;input&quot;,{id:&quot;email&quot;,type:&quot;email&quot;,value:a,onChange:b=&gt;u(b.target.value),required:!0,autoComplete:&quot;email&quot;,className:&quot;w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent transition-all&quot;,placeholder:&quot;votre-email@example.com&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;password&quot;,className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Mot de passe&quot;}),c.jsx(&quot;input&quot;,{id:&quot;password&quot;,type:&quot;password&quot;,value:l,onChange:b=&gt;s(b.target.value),required:!0,autoComplete:&quot;current-password&quot;,className:&quot;w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent transition-all&quot;,placeholder:&quot;••••••••&quot;})]}),c.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,className:&quot;w-full&quot;,disabled:d,children:d?&quot;Connexion...&quot;:&quot;Se connecter&quot;})]})}),c.jsx(&quot;div&quot;,{className:&quot;mt-6 text-center&quot;,children:c.jsx(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;text-sm text-brand-700 hover:text-brand-900 hover:underline&quot;,children:&quot;← Retour à l&#039;accueil&quot;})})]})})}function JF(){const[e]=vp(),r=xs(),t=e.get(&quot;token&quot;)??&quot;&quot;,[n,o]=L.useState(t?&quot;initial&quot;:&quot;error&quot;),[i,a]=L.useState(!!t),[u,l]=L.useState(!1),[s,d]=L.useState(&quot;&quot;),[f,h]=L.useState(&quot;&quot;),[m,p]=L.useState(!1),[b,g]=L.useState(&quot;&quot;),[y,v]=L.useState({});L.useEffect(()=&gt;{if(!t){g(&quot;Lien d&#039;activation invalide ou manquant.&quot;);return}let O=!1;return Ui.checkActivation(t).then(T=&gt;{O||(l(T.already_active),a(!1))}).catch(T=&gt;{O||(a(!1),o(&quot;error&quot;),g(T instanceof Kt?T.data?.errors?.token?.[0]??T.data?.message??&quot;Le lien d&#039;activation est invalide ou a expiré.&quot;:&quot;Une erreur est survenue.&quot;))}),()=&gt;{O=!0}},[t]);const _=async O=&gt;{if(O.preventDefault(),!!t){v({}),p(!0),g(&quot;&quot;);try{const T={token:t.trim()};u||(T.password=s,T.password_confirmation=f);const V=await Ui.activate(T);o(&quot;success&quot;);const F=u?&quot;Inscription confirmée.&quot;:&quot;Votre compte est activé. Vous pouvez maintenant accéder à votre espace.&quot;;g(V?.message??F)}catch(T){if(o(&quot;error&quot;),T instanceof Kt)if(T.status===422&amp;&amp;T.data.errors){const V={};Object.entries(T.data.errors).forEach(([F,H])=&gt;{Array.isArray(H)&amp;&amp;H[0]&amp;&amp;(V[F]=H[0])}),v(V),g(T.data.errors?.token?.[0]??T.data.errors?.password?.[0]??&quot;Vérifiez votre mot de passe (8 caractères minimum) et la confirmation.&quot;)}else g(T.data?.message??&quot;Le lien d&#039;activation est invalide ou a expiré. Utilisez le lien le plus récent reçu par email.&quot;);else g(&quot;Une erreur est survenue. Veuillez réessayer plus tard.&quot;)}finally{p(!1)}}},C=()=&gt;{_({preventDefault:()=&gt;{}})};return c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center py-12 px-4&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;max-w-md w-full&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;text-center mb-8&quot;,children:[c.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Activation de compte&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:u?&quot;Confirmez cette inscription pour votre espace participant&quot;:&quot;Définissez votre mot de passe pour accéder à votre espace participant&quot;})]}),c.jsxs(Kn,{children:[n===&quot;error&quot;&amp;&amp;!t&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-red-600&quot;,children:b}),c.jsx(Le,{variant:&quot;primary&quot;,className:&quot;mt-4&quot;,onClick:()=&gt;r(&quot;/&quot;),children:&quot;Retour à l&#039;accueil&quot;})]}),i&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;py-8 text-center text-ink-500&quot;,children:&quot;Vérification du lien en cours...&quot;}),!i&amp;&amp;u&amp;&amp;(n===&quot;initial&quot;||n===&quot;error&quot;)&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-ink-700&quot;,children:&quot;Vous avez déjà un compte actif (par exemple suite à une inscription au Sommet). Cliquez ci-dessous pour confirmer cette nouvelle inscription sans modifier votre mot de passe.&quot;}),b&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:b})}),c.jsx(Le,{variant:&quot;primary&quot;,className:&quot;w-full&quot;,onClick:C,disabled:m,children:m?&quot;Confirmation en cours...&quot;:&quot;Confirmer cette inscription&quot;})]}),!i&amp;&amp;!u&amp;&amp;(n===&quot;initial&quot;||n===&quot;loading&quot;||n===&quot;error&quot;&amp;&amp;t)&amp;&amp;c.jsxs(&quot;form&quot;,{onSubmit:_,className:&quot;space-y-6&quot;,children:[b&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:b})}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;password&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-2&quot;,children:&quot;Mot de passe&quot;}),c.jsx(&quot;input&quot;,{id:&quot;password&quot;,type:&quot;password&quot;,value:s,onChange:O=&gt;d(O.target.value),required:!0,minLength:8,autoComplete:&quot;new-password&quot;,className:`w-full px-4 py-3 border rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent ${y.password?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,placeholder:&quot;••••••••&quot;}),y.password&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:y.password})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;password_confirmation&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-2&quot;,children:&quot;Confirmer le mot de passe&quot;}),c.jsx(&quot;input&quot;,{id:&quot;password_confirmation&quot;,type:&quot;password&quot;,value:f,onChange:O=&gt;h(O.target.value),required:!0,minLength:8,autoComplete:&quot;new-password&quot;,className:`w-full px-4 py-3 border rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent ${y.password_confirmation?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,placeholder:&quot;••••••••&quot;}),y.password_confirmation&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:y.password_confirmation})]}),c.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,className:&quot;w-full&quot;,disabled:m,children:m?&quot;Activation en cours...&quot;:&quot;Activer mon compte&quot;})]}),n===&quot;success&quot;&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;text-center&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;inline-flex items-center justify-center w-16 h-16 rounded-full bg-green-100 mb-6&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-8 h-8 text-green-600&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:c.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M5 13l4 4L19 7&quot;})})}),c.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Compte activé&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-6&quot;,children:b}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[c.jsx(Le,{variant:&quot;primary&quot;,className:&quot;w-full&quot;,onClick:()=&gt;r(&quot;/account&quot;),children:&quot;Aller à mon espace&quot;}),c.jsx(Le,{variant:&quot;outline&quot;,className:&quot;w-full&quot;,onClick:()=&gt;r(&quot;/&quot;),children:&quot;Retour à l&#039;accueil&quot;})]})]})]}),c.jsx(&quot;div&quot;,{className:&quot;mt-6 text-center&quot;,children:c.jsx(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;text-sm text-brand-700 hover:text-brand-900 hover:underline&quot;,children:&quot;← Retour à l&#039;accueil&quot;})})]})})}const yi={CI:{label:&quot;Côte d&#039;Ivoire&quot;,phonePlaceholder:&quot;0709000001&quot;,operators:[{apiValue:&quot;Orange&quot;,label:&quot;Orange&quot;}]},BF:{label:&quot;Burkina Faso&quot;,phonePlaceholder:&quot;22670123456&quot;,operators:[{apiValue:&quot;Moov&quot;,label:&quot;Moov&quot;}]}},Np=Object.keys(yi);function _c(e){if(e==null)return&quot;BF&quot;;const r=e.trim();if(r.length===0)return&quot;BF&quot;;const t=r.toUpperCase();return t.includes(&quot;COTE&quot;)||t.includes(&quot;IVOIRE&quot;)?&quot;CI&quot;:t.includes(&quot;BURKINA&quot;)||t.includes(&quot;FASO&quot;)?&quot;BF&quot;:/^[A-Z]{2}$/.test(t)?t===&quot;BU&quot;?&quot;BF&quot;:Np.includes(t)?t:&quot;BF&quot;:&quot;BF&quot;}function od(e){const r=e.replace(/\s/g,&quot;&quot;);return r.length&gt;=8&amp;&amp;/^\+?[0-9]+$/.test(r)}function eB({open:e,registrationId:r,installmentIndex:t,defaultCountry:n=&quot;CI&quot;,onClose:o,onInitiated:i}){const[a,u]=L.useState(()=&gt;_c(n)),[l,s]=L.useState(&quot;&quot;),[d,f]=L.useState(&quot;&quot;),[h,m]=L.useState(!1),[p,b]=L.useState(null),[g,y]=L.useState(!1),v=yi[a]??yi.CI;L.useEffect(()=&gt;{e&amp;&amp;(u(_c(n)),s(&quot;&quot;),f(&quot;&quot;),b(null),y(!1))},[e,n]),L.useEffect(()=&gt;{s(V=&gt;{const F=yi[a];return F&amp;&amp;F.operators.some(H=&gt;H.apiValue===V)?V:&quot;&quot;})},[a]);const _=L.useMemo(()=&gt;l?d.replace(/\s/g,&quot;&quot;)?od(d)?null:&quot;Numéro de téléphone invalide (chiffres uniquement, au moins 8).&quot;:&quot;Indiquez votre numéro Mobile Money.&quot;:&quot;Choisissez un opérateur Mobile Money.&quot;,[l,d]),C=_===null&amp;&amp;!h;if(!e)return null;const O=()=&gt;{if(y(!0),b(null),_){b(_);return}m(!0);const V=d.replace(/\s/g,&quot;&quot;),F={operator:l,phone:V,country:a,idempotency_key:typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID?crypto.randomUUID():void 0};t!==null&amp;&amp;(F.installment_index=t),OF(r,F).then(H=&gt;{i(H),o()}).catch(H=&gt;{H instanceof Kt?b(H.data?.message??H.message):b(&quot;Une erreur est survenue.&quot;)}).finally(()=&gt;m(!1))},T=g||p!==null;return c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex min-h-screen items-center justify-center px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity&quot;,onClick:()=&gt;!h&amp;&amp;o(),&quot;aria-hidden&quot;:!0}),c.jsxs(&quot;div&quot;,{className:&quot;inline-block max-h-[90vh] overflow-y-auto w-full max-w-md transform rounded-lg bg-white p-6 text-left align-middle shadow-xl transition-all sm:my-8&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Paiement Mobile Money (SycaPay)&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!h&amp;&amp;o(),className:&quot;text-gray-400 hover:text-gray-600 p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:c.jsx(hr,{size:22})})]}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-4&quot;,children:&quot;Après validation, vous serez redirigé vers la page sécurisée du prestataire si nécessaire. Le statut réel du paiement sera mis à jour sur cette page après votre retour.&quot;}),p&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 rounded-lg border border-red-200 bg-red-50 p-3&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:p})}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-sm font-medium text-ink-700&quot;,htmlFor:&quot;sycapay-country&quot;,children:&quot;Pays&quot;}),c.jsx(&quot;select&quot;,{id:&quot;sycapay-country&quot;,value:a,onChange:V=&gt;u(V.target.value),className:&quot;w-full rounded-lg border border-gray-300 bg-white px-3 py-2 text-sm focus:ring-2 focus:ring-brand-700&quot;,disabled:h,children:Np.map(V=&gt;c.jsxs(&quot;option&quot;,{value:V,children:[yi[V].label,&quot; (&quot;,V,&quot;)&quot;]},V))})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;mb-1 block text-sm font-medium text-ink-700&quot;,htmlFor:&quot;sycapay-operator&quot;,children:[&quot;Opérateur &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;select&quot;,{id:&quot;sycapay-operator&quot;,value:l,onChange:V=&gt;s(V.target.value),className:&quot;w-full rounded-lg border border-gray-300 bg-white px-3 py-2 text-sm focus:ring-2 focus:ring-brand-700&quot;,disabled:h,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Choisir —&quot;}),v.operators.map(V=&gt;c.jsx(&quot;option&quot;,{value:V.apiValue,children:V.label},V.apiValue))]}),T&amp;&amp;!l&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:&quot;Veuillez sélectionner un opérateur.&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;mb-1 block text-sm font-medium text-ink-700&quot;,htmlFor:&quot;sycapay-phone&quot;,children:[&quot;Numéro Mobile Money &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{id:&quot;sycapay-phone&quot;,type:&quot;tel&quot;,value:d,onChange:V=&gt;f(V.target.value),className:&quot;w-full rounded-lg border border-gray-300 px-3 py-2 text-sm focus:ring-2 focus:ring-brand-700&quot;,disabled:h,placeholder:`Ex. ${v.phonePlaceholder}`,autoComplete:&quot;tel&quot;}),T&amp;&amp;d.replace(/\s/g,&quot;&quot;).length&gt;0&amp;&amp;!od(d)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:&quot;Format invalide : utilisez des chiffres (éventuellement + en tête).&quot;})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;mt-6 flex justify-end gap-2&quot;,children:[c.jsx(Le,{variant:&quot;ghost&quot;,onClick:o,disabled:h,children:&quot;Annuler&quot;}),c.jsx(Le,{variant:&quot;primary&quot;,onClick:O,disabled:!C,children:h?&quot;Préparation…&quot;:&quot;Continuer vers le paiement&quot;})]})]})]})})}const tB=[&quot;Janvier&quot;,&quot;Février&quot;,&quot;Mars&quot;,&quot;Avril&quot;,&quot;Mai&quot;,&quot;Juin&quot;,&quot;Juillet&quot;,&quot;Août&quot;,&quot;Septembre&quot;,&quot;Octobre&quot;,&quot;Novembre&quot;,&quot;Décembre&quot;];function rB(e){const[r,t]=e.split(&quot;-&quot;).map(Number);if(Number.isNaN(r)||Number.isNaN(t))return e;const o=new Date(r,t,0).getDate(),i=tB[t-1]??String(t);return`${o} ${i} ${r}`}function nB(e,r){const t=e?.[r];return t?.month?`Échéance — date limite le ${rB(t.month)}`:r===0?&quot;Solde unique&quot;:`Échéance ${r+1}`}function iB({open:e,registrationId:r,defaultCountry:t=&quot;CI&quot;,remainingDue:n,currencyLabel:o,installments:i,onClose:a,onInitSuccess:u}){const[l,s]=L.useState(()=&gt;_c(t)),[d,f]=L.useState(&quot;&quot;),[h,m]=L.useState(&quot;&quot;),[p,b]=L.useState(&quot;&quot;),[g,y]=L.useState(!1),[v,_]=L.useState(null),[C,O]=L.useState(!1),[T,V]=L.useState(&quot;form&quot;),[F,H]=L.useState(null),W=yi[l]??yi.CI;L.useEffect(()=&gt;{e&amp;&amp;(s(_c(t)),f(&quot;&quot;),m(&quot;&quot;),b(&quot;&quot;),_(null),O(!1),V(&quot;form&quot;),H(null))},[e,t]),L.useEffect(()=&gt;{f(S=&gt;{const N=yi[l];return N&amp;&amp;N.operators.some(M=&gt;M.apiValue===S)?S:&quot;&quot;})},[l]);const K=L.useMemo(()=&gt;{const S=parseInt(p.replace(/\s/g,&quot;&quot;),10);return Number.isFinite(S)?S:NaN},[p]),$=L.useMemo(()=&gt;d?h.replace(/\s/g,&quot;&quot;)?od(h)?!Number.isFinite(K)||K&lt;=0?&quot;Indiquez un montant strictement positif.&quot;:K&gt;n?`Le montant ne peut pas dépasser le solde restant (${n.toLocaleString(&quot;fr-FR&quot;)} ${o}).`:null:&quot;Numéro de téléphone invalide (chiffres uniquement, au moins 8).&quot;:&quot;Indiquez votre numéro Mobile Money.&quot;:&quot;Choisissez un opérateur Mobile Money.&quot;,[d,h,K,n,o]),P=$===null&amp;&amp;!g&amp;&amp;T===&quot;form&quot;;if(!e)return null;const D=()=&gt;{if(O(!0),_(null),$){_($);return}y(!0);const S=h.replace(/\s/g,&quot;&quot;),N={amount:K,operator:d,phone:S,country:l,idempotency_key:typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID?crypto.randomUUID():void 0};PF(r,N).then(M=&gt;{const R=M.data;if(R.status===&quot;failed&quot;||R.error){_(iC(R,M.message));return}H(M),V(&quot;afterInit&quot;),u()}).catch(M=&gt;{M instanceof Kt?_(TF(M)):_(&quot;Une erreur est survenue.&quot;)}).finally(()=&gt;y(!1))},E=()=&gt;{const S=F?.data.redirect_url;if(S){window.location.assign(S);return}a()},j=C||v!==null,k=F?.data.allocation_preview;return c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex min-h-screen items-center justify-center px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity&quot;,onClick:()=&gt;!g&amp;&amp;T===&quot;form&quot;&amp;&amp;a(),&quot;aria-hidden&quot;:!0}),c.jsxs(&quot;div&quot;,{className:&quot;inline-block max-h-[90vh] overflow-y-auto w-full max-w-md transform rounded-lg bg-white p-6 text-left align-middle shadow-xl transition-all sm:my-8&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Payer un montant libre&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!g&amp;&amp;a(),className:&quot;text-gray-400 hover:text-gray-600 p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:c.jsx(hr,{size:22})})]}),T===&quot;form&quot;&amp;&amp;c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-amber-100 bg-amber-50/80 px-3 py-2.5 mb-4 space-y-2 text-sm text-ink-700&quot;,children:[c.jsxs(&quot;p&quot;,{children:[&quot;Le montant sera &quot;,c.jsx(&quot;strong&quot;,{children:&quot;automatiquement imputé&quot;}),&quot; à vos échéances encore dues, de la&quot;,&quot; &quot;,c.jsx(&quot;strong&quot;,{children:&quot;plus ancienne à la plus récente&quot;}),&quot;.&quot;]}),c.jsxs(&quot;p&quot;,{className:&quot;text-ink-600&quot;,children:[&quot;Il ne peut pas dépasser votre solde restant (&quot;,n.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,o,&quot;). Le montant définitif est validé par le serveur.&quot;]})]}),v&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 rounded-lg border border-red-200 bg-red-50 p-3&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:v})}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;mb-1 block text-sm font-medium text-ink-700&quot;,htmlFor:&quot;open-amt-amount&quot;,children:[&quot;Montant &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{id:&quot;open-amt-amount&quot;,type:&quot;text&quot;,inputMode:&quot;numeric&quot;,value:p,onChange:S=&gt;b(S.target.value.replace(/[^\d\s]/g,&quot;&quot;)),className:&quot;w-full rounded-lg border border-gray-300 px-3 py-2 text-sm focus:ring-2 focus:ring-brand-700&quot;,disabled:g,placeholder:`Max. ${n.toLocaleString(&quot;fr-FR&quot;)}`,autoComplete:&quot;off&quot;}),j&amp;&amp;Number.isFinite(K)&amp;&amp;K&gt;n&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:&quot;Montant supérieur au solde restant.&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-sm font-medium text-ink-700&quot;,htmlFor:&quot;open-amt-country&quot;,children:&quot;Pays&quot;}),c.jsx(&quot;select&quot;,{id:&quot;open-amt-country&quot;,value:l,onChange:S=&gt;s(S.target.value),className:&quot;w-full rounded-lg border border-gray-300 bg-white px-3 py-2 text-sm focus:ring-2 focus:ring-brand-700&quot;,disabled:g,children:Np.map(S=&gt;c.jsxs(&quot;option&quot;,{value:S,children:[yi[S].label,&quot; (&quot;,S,&quot;)&quot;]},S))})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;mb-1 block text-sm font-medium text-ink-700&quot;,htmlFor:&quot;open-amt-operator&quot;,children:[&quot;Opérateur &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;select&quot;,{id:&quot;open-amt-operator&quot;,value:d,onChange:S=&gt;f(S.target.value),className:&quot;w-full rounded-lg border border-gray-300 bg-white px-3 py-2 text-sm focus:ring-2 focus:ring-brand-700&quot;,disabled:g,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Choisir —&quot;}),W.operators.map(S=&gt;c.jsx(&quot;option&quot;,{value:S.apiValue,children:S.label},S.apiValue))]}),j&amp;&amp;!d&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:&quot;Veuillez sélectionner un opérateur.&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;mb-1 block text-sm font-medium text-ink-700&quot;,htmlFor:&quot;open-amt-phone&quot;,children:[&quot;Numéro Mobile Money &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{id:&quot;open-amt-phone&quot;,type:&quot;tel&quot;,value:h,onChange:S=&gt;m(S.target.value),className:&quot;w-full rounded-lg border border-gray-300 px-3 py-2 text-sm focus:ring-2 focus:ring-brand-700&quot;,disabled:g,placeholder:`Ex. ${W.phonePlaceholder}`,autoComplete:&quot;tel&quot;}),j&amp;&amp;h.replace(/\s/g,&quot;&quot;).length&gt;0&amp;&amp;!od(h)&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:&quot;Format invalide : utilisez des chiffres (éventuellement + en tête).&quot;})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;mt-6 flex justify-end gap-2&quot;,children:[c.jsx(Le,{variant:&quot;ghost&quot;,onClick:a,disabled:g,children:&quot;Annuler&quot;}),c.jsx(Le,{variant:&quot;primary&quot;,onClick:D,disabled:!P,children:g?&quot;Préparation…&quot;:&quot;Valider et continuer&quot;})]})]}),T===&quot;afterInit&quot;&amp;&amp;F&amp;&amp;c.jsxs(c.Fragment,{children:[c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-700 mb-3&quot;,children:[&quot;La demande de paiement est enregistrée. Le paiement n’est &quot;,c.jsx(&quot;strong&quot;,{children:&quot;pas encore confirmé&quot;}),&quot; tant que le prestataire n’a pas validé l’opération.&quot;]}),c.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-sky-200 bg-sky-50/60 px-3 py-2.5 mb-4&quot;,children:[c.jsxs(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-800&quot;,children:[&quot;Montant retenu : &quot;,F.data.amount?.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,o]}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600 mt-1&quot;,children:&quot;Type : paiement libre&quot;})]}),k&amp;&amp;k.length&gt;0&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-800 mb-2&quot;,children:&quot;Répartition prévue (indicatif)&quot;}),c.jsx(&quot;ul&quot;,{className:&quot;text-sm text-ink-700 space-y-1 border border-gray-100 rounded-lg p-3 bg-gray-50/80&quot;,children:k.map((S,N)=&gt;c.jsxs(&quot;li&quot;,{className:&quot;flex justify-between gap-2&quot;,children:[c.jsx(&quot;span&quot;,{children:nB(i??null,S.installment_index)}),c.jsxs(&quot;span&quot;,{className:&quot;font-medium tabular-nums&quot;,children:[S.amount.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,o]})]},`${S.installment_index}-${N}`))}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-2&quot;,children:&quot;La répartition définitive sera enregistrée après confirmation du paiement.&quot;})]}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mb-4&quot;,children:&quot;Après validation chez le prestataire, le statut se mettra à jour sur cette page (actualisez si besoin).&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap justify-end gap-2&quot;,children:[c.jsx(Le,{variant:&quot;ghost&quot;,onClick:a,children:&quot;Fermer&quot;}),F.data.redirect_url?c.jsx(Le,{variant:&quot;primary&quot;,onClick:E,children:&quot;Continuer vers le paiement&quot;}):null]})]})]})]})})}const sB={not_sycapay:&quot;Actualisation automatique disponible uniquement pour les paiements en ligne.&quot;,terminal:&quot;Ce paiement est déjà terminé.&quot;,missing_provider_ref:&quot;Référence de paiement incomplète. Contactez le support si le problème persiste.&quot;,invalid_status:&quot;Statut incompatible avec une actualisation en ligne.&quot;,payment_too_recent:&quot;Le serveur attend encore quelques secondes après l’init avant la première interrogation du prestataire.&quot;,sync_too_recent:&quot;Une vérification vient d’être faite ; courte pause avant la prochaine interrogation.&quot;},Mh=52e3,q4=14;function vb({registrationId:e,paymentId:r,summaryHint:t,onUpdated:n}){const[o,i]=L.useState(!1),[a,u]=L.useState(null),[l,s]=L.useState(null),d=L.useRef(n);d.current=n,L.useEffect(()=&gt;{let b=!1;const g=[],y=async v=&gt;F4(e,r,v?{refresh:!0}:void 0);return(async()=&gt;{try{const v=await y(!1);if(b||(s(v),v.is_terminal))return;let _=0,C=v.status;const O=()=&gt;{const V=v.refresh_earliest_at;if(!V)return Mh;const F=Date.parse(V);return Number.isNaN(F)?Mh:Math.max(4e3,F-Date.now()+1500)},T=V=&gt;{if(b||_&gt;=q4)return;const F=window.setTimeout(async()=&gt;{if(!b){_+=1;try{const H=await y(!0);if(b)return;s(H);const W=H.status!==C;if(W&amp;&amp;(C=H.status),(W||H.is_terminal)&amp;&amp;d.current(),H.is_terminal)return}catch{}T(Mh)}},V);g.push(F)};T(O())}catch{}})(),()=&gt;{b=!0,g.forEach(v=&gt;window.clearTimeout(v))}},[e,r]);const f=()=&gt;{u(null),i(!0),F4(e,r,{refresh:!0}).then(b=&gt;{s(b),n()}).catch(b=&gt;{b instanceof Kt?u(b.data?.message??b.message):u(&quot;Impossible d’actualiser le statut.&quot;)}).finally(()=&gt;i(!1))},h=l&amp;&amp;!l.refresh_attempted&amp;&amp;l.refresh_skipped_reason?sB[l.refresh_skipped_reason]??&quot;Actualisation momentanément indisponible.&quot;:null,m=l===null||l.can_retry_refresh===!0,p=l!==null&amp;&amp;!l.is_terminal;return c.jsxs(&quot;div&quot;,{className:&quot;mt-2 space-y-2 rounded-md border border-amber-100 bg-amber-50/60 px-3 py-2&quot;,children:[t&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600&quot;,children:t}),p&amp;&amp;c.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:[&quot;Vérification automatique côté serveur (jusqu’à &quot;,q4,&quot; tentatives, environ toutes les&quot;,&quot; &quot;,Math.round(Mh/1e3),&quot; s, dans la limite des garde-fous API) tant que le paiement n’est pas terminé. Vous pouvez aussi actualiser manuellement.&quot;]}),l?.message&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-ink-800&quot;,role:&quot;status&quot;,children:l.message}),a&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-xs text-red-700&quot;,children:a}),h&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-800&quot;,children:h}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2&quot;,children:[c.jsxs(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;text-sm py-1.5 h-auto&quot;,onClick:f,disabled:o||!m,children:[c.jsx(A1,{size:14,className:`mr-1.5 inline ${o?&quot;animate-spin&quot;:&quot;&quot;}`}),o?&quot;Vérification…&quot;:&quot;Actualiser le statut&quot;]}),!m&amp;&amp;!o&amp;&amp;!h&amp;&amp;c.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Actualisation non disponible pour le moment.&quot;})]})]})}const aB={draft:&quot;Brouillon&quot;,submitted:&quot;Soumise&quot;,pending_payment:&quot;En attente de paiement&quot;,correction:&quot;Dossier en correction&quot;,paid:&quot;Payée&quot;,cancelled:&quot;Annulée&quot;},oB={initiated:&quot;Paiement en cours (agrégateur)&quot;,pending:&quot;En attente de confirmation&quot;,pending_review:&quot;En attente de validation&quot;,confirmed:&quot;Validé&quot;,rejected:&quot;Rejeté&quot;,failed:&quot;Échoué ou refusé&quot;,refunded:&quot;Remboursé&quot;},ol=&quot;sycapay&quot;,oC=[&quot;Janvier&quot;,&quot;Février&quot;,&quot;Mars&quot;,&quot;Avril&quot;,&quot;Mai&quot;,&quot;Juin&quot;,&quot;Juillet&quot;,&quot;Août&quot;,&quot;Septembre&quot;,&quot;Octobre&quot;,&quot;Novembre&quot;,&quot;Décembre&quot;];function lB(e){const[r,t]=e.split(&quot;-&quot;).map(Number);return Number.isNaN(r)||Number.isNaN(t)?e:`${oC[t-1]??e} ${r}`}function cB(e){const[r,t]=e.split(&quot;-&quot;).map(Number);if(Number.isNaN(r)||Number.isNaN(t))return e;const o=new Date(r,t,0).getDate(),i=oC[t-1]??String(t);return`${o} ${i} ${r}`}function uB(e){return(e.currency_selected??&quot;XOF&quot;)===&quot;EUR&quot;&amp;&amp;e.amount_due_eur!=null?e.amount_due_eur:e.amount_due_xof!=null?e.amount_due_xof:e.amount_due_eur??0}function H4(e,r){return e.find(t=&gt;t.payment_gateway!==ol||![&quot;pending&quot;,&quot;initiated&quot;].includes(t.status)?!1:r===null?t.installment_index==null:t.installment_index===r)}function dB(e){return e.some(r=&gt;r.payment_gateway===ol&amp;&amp;[&quot;pending&quot;,&quot;initiated&quot;].includes(r.status))}function fB(e){return e.some(r=&gt;r.status===&quot;pending_review&quot;)}function P1(e,r){return e.filter(t=&gt;r===null?t.installment_index===null||t.installment_index===void 0:t.installment_index===r)}function Uy(e,r){return P1(e,r).some(t=&gt;t.status===&quot;confirmed&quot;)}function hB(e,r){const t=P1(e,r),n=t.find(o=&gt;o.status===&quot;confirmed&quot;);return n||[...t].sort((o,i)=&gt;i.id-o.id)[0]}function W4(e,r){return Uy(e,r)?!1:P1(e,r).some(t=&gt;t.payment_gateway===ol&amp;&amp;t.status===&quot;failed&quot;)}function mB(e){return e===&quot;confirmed&quot;?&quot;bg-green-100 text-green-800&quot;:e===&quot;rejected&quot;||e===&quot;failed&quot;?&quot;bg-red-100 text-red-800&quot;:e===&quot;refunded&quot;?&quot;bg-gray-200 text-gray-800&quot;:e===&quot;pending_review&quot;?&quot;bg-amber-100 text-amber-800&quot;:&quot;bg-sky-100 text-sky-900&quot;}function pB(){const e=xs(),{user:r,isAuthenticated:t,canAccessAdmin:n,loading:o,refetch:i,roles:a}=Ls(),[u,l]=L.useState([]),[s,d]=L.useState(!0),[f,h]=L.useState(null),[m,p]=L.useState(&quot;&quot;),[b,g]=L.useState(&quot;&quot;),[y,v]=L.useState(null),[_,C]=L.useState(!1),[O,T]=L.useState(null),[V,F]=L.useState(null),[H,W]=L.useState(null),[K,$]=L.useState(null),[P,D]=L.useState(!1),E=!P||K?.registration_payments_enabled!==!1,j=L.useCallback(M=&gt;{const R=M?.silent===!0;R||d(!0),h(null),MF().then(l).catch(B=&gt;{if(B instanceof Kt){if(B.status===401){Ui.logout().catch(()=&gt;{}),e(&quot;/login&quot;,{replace:!0});return}h(B.data?.message??&quot;Une erreur est survenue.&quot;)}else h(&quot;Une erreur est survenue.&quot;)}).finally(()=&gt;{R||d(!1)})},[e]);L.useEffect(()=&gt;{!t||!Ui.isAuthenticated()||r?.must_change_password||j()},[t,r?.must_change_password,j]),L.useEffect(()=&gt;{!t||!Ui.isAuthenticated()||r?.must_change_password||sC().then(M=&gt;{$(M),D(!0)}).catch(()=&gt;{$({registration_payments_enabled:!0,donation_payments_enabled:!0,disabled_message:&quot;&quot;}),D(!0)})},[t,r?.must_change_password]);const k=M=&gt;{j();const R=M.data.redirect_url;R&amp;&amp;window.location.assign(R)},S=()=&gt;{const M=m.trim(),R=b.trim();if(v(null),M.length&lt;8){v(&quot;Le mot de passe doit contenir au moins 8 caractères.&quot;);return}if(M!==R){v(&quot;Les deux mots de passe ne correspondent pas.&quot;);return}C(!0),nC.changePassword({new_password:M,new_password_confirmation:R}).then(()=&gt;{p(&quot;&quot;),g(&quot;&quot;),i()}).catch(B=&gt;{const Y=B?.data?.message??B?.message??&quot;Erreur lors du changement de mot de passe.&quot;,Z=B?.data?.errors;v(Z?Object.values(Z).flat().join(&quot; &quot;):Y)}).finally(()=&gt;C(!1))},N=(M,R)=&gt;{T(M),IF(M,`${R}.pdf`).catch(()=&gt;{}).finally(()=&gt;T(null))};return o?c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?n&amp;&amp;!r?.must_change_password?c.jsx(ui,{to:&quot;/admin/registrations&quot;,replace:!0}):c.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6 lg:px-8&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;max-w-3xl mx-auto&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[c.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Mon espace participant&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Consultez vos inscriptions, échéances et paiements&quot;})]}),c.jsxs(Kn,{className:&quot;mb-8&quot;,children:[c.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Mes informations&quot;}),c.jsxs(&quot;p&quot;,{className:&quot;text-ink-700&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:&quot;Nom :&quot;}),&quot; &quot;,r?.name??&quot;—&quot;]}),c.jsxs(&quot;p&quot;,{className:&quot;text-ink-700 mt-1&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:&quot;Email :&quot;}),&quot; &quot;,r?.email??&quot;—&quot;]})]}),r?.must_change_password&amp;&amp;c.jsxs(Kn,{className:&quot;mb-8 border-amber-200 bg-amber-50/50&quot;,children:[c.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-2&quot;,children:&quot;Changer votre mot de passe&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-4&quot;,children:&quot;Votre mot de passe a été réinitialisé. Veuillez définir un nouveau mot de passe pour continuer.&quot;}),y&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:y})}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-4 max-w-md&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Nouveau mot de passe &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:m,onChange:M=&gt;p(M.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,placeholder:&quot;Au moins 8 caractères&quot;,disabled:!!_,autoComplete:&quot;new-password&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Confirmer le mot de passe &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:b,onChange:M=&gt;g(M.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,placeholder:&quot;Reproduire le mot de passe&quot;,disabled:!!_,autoComplete:&quot;new-password&quot;})]}),c.jsx(Le,{variant:&quot;primary&quot;,onClick:S,disabled:!!_,children:_?&quot;Enregistrement...&quot;:&quot;Enregistrer le mot de passe&quot;})]})]}),!r?.must_change_password&amp;&amp;c.jsxs(Kn,{children:[c.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Mes inscriptions&quot;}),s&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;py-8 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;}),f&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4 mb-4&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:f}),c.jsx(Le,{variant:&quot;outline&quot;,className:&quot;mt-2&quot;,onClick:()=&gt;j(),children:&quot;Réessayer&quot;})]}),!s&amp;&amp;!f&amp;&amp;u.length===0&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;py-8 text-center text-ink-500&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;mb-4&quot;,children:&quot;Vous n&#039;avez pas encore d&#039;inscription.&quot;}),c.jsx(Le,{variant:&quot;primary&quot;,onClick:()=&gt;e(&quot;/inscription&quot;),children:&quot;S&#039;inscrire à un événement&quot;})]}),!s&amp;&amp;!f&amp;&amp;u.length&gt;0&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:u.map(M=&gt;{const R=uB(M),B=M.currency_selected===&quot;EUR&quot;?&quot;€&quot;:&quot;FCFA&quot;,Y=M.installment_config?.installments??[],Z=Y.length&gt;0,ie=Z&amp;&amp;R&gt;0?Math.round(R/Y.length):R,U=M.payments??[],ee=U.filter(ne=&gt;ne.status===&quot;confirmed&quot;).reduce((ne,Q)=&gt;ne+Q.amount,0),z=Math.max(0,R-ee),I=H4(U,null),X=W4(U,null),re=U.some(ne=&gt;(ne.installment_index===null||ne.installment_index===void 0)&amp;&amp;ne.payment_gateway!==ol&amp;&amp;ne.status!==&quot;confirmed&quot;&amp;&amp;ne.status!==&quot;failed&quot;);return c.jsxs(&quot;div&quot;,{className:&quot;border border-gray-200 rounded-lg p-4 hover:bg-gray-50/50 transition-colors&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:M.event?.name??`Inscription #${M.id}`}),c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[M.first_name,&quot; &quot;,M.last_name,&quot; · &quot;,M.email]})]}),c.jsx(&quot;span&quot;,{className:`inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium ${M.status===&quot;paid&quot;?&quot;bg-green-100 text-green-800&quot;:M.status===&quot;submitted&quot;||M.status===&quot;pending_payment&quot;?&quot;bg-amber-100 text-amber-800&quot;:&quot;bg-gray-100 text-gray-800&quot;}`,children:aB[M.status]??M.status})]}),M.pricing_plan&amp;&amp;c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:[&quot;Formule : &quot;,M.pricing_plan.title,&quot; (&quot;,M.pricing_plan.code,&quot;)&quot;]}),(M.amount_due_eur!=null||M.amount_due_xof!=null)&amp;&amp;!Z&amp;&amp;c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:[&quot;Montant dû :&quot;,&quot; &quot;,M.amount_due_eur!=null&amp;&amp;`${M.amount_due_eur} €`,M.amount_due_eur!=null&amp;&amp;M.amount_due_xof!=null&amp;&amp;&quot; / &quot;,M.amount_due_xof!=null&amp;&amp;`${M.amount_due_xof.toLocaleString(&quot;fr-FR&quot;)} FCFA`]}),Z?c.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-1&quot;,children:[&quot;Montant total :&quot;,&quot; &quot;,c.jsxs(&quot;span&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[R.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,B]})]}),c.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-700 mb-3 mt-3&quot;,children:&quot;Échéances de paiement&quot;}),c.jsx(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:Y.map((ne,Q)=&gt;{const te=ne.currency===&quot;EUR&quot;?&quot;€&quot;:&quot;FCFA&quot;,de=cB(ne.month),le=M.installment_balances?.find(Ce=&gt;Ce.installment_index===Q),se=le?.nominal??ne.amount??ie,fe=le?.remaining,he=typeof fe==&quot;number&quot;?fe&lt;=0:Uy(U,Q),ue=hB(U,Q),ge=Uy(U,Q),xe=!!ue&amp;&amp;ue.status!==&quot;confirmed&quot;&amp;&amp;ue.payment_gateway!==ol,pe=H4(U,Q),ce=W4(U,Q);return c.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-3 rounded-lg border border-gray-200 bg-gray-50/50 px-4 py-3&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-3&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:[&quot;Échéance &quot;,Q+1,&quot; — &quot;,lB(ne.month)]}),c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-0.5&quot;,children:[&quot;Date limite : &quot;,c.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-700&quot;,children:de})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[he?c.jsx(&quot;p&quot;,{className:&quot;text-lg font-semibold text-green-800&quot;,children:&quot;Soldée&quot;}):c.jsxs(c.Fragment,{children:[c.jsxs(&quot;p&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:[(typeof fe==&quot;number&quot;?fe:se).toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,te]}),typeof fe==&quot;number&quot;&amp;&amp;fe&gt;0&amp;&amp;fe&lt;se&amp;&amp;c.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-0.5&quot;,children:[&quot;sur &quot;,se.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,te,&quot; d’échéance&quot;]})]}),typeof le?.paid_confirmed==&quot;number&quot;&amp;&amp;le.paid_confirmed&gt;0&amp;&amp;!he&amp;&amp;c.jsxs(&quot;p&quot;,{className:&quot;text-xs text-green-700 mt-1&quot;,children:[&quot;Déjà versé : &quot;,le.paid_confirmed.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,te]})]})]}),c.jsx(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2&quot;,children:he&amp;&amp;ge&amp;&amp;ue?.receipt?c.jsxs(&quot;span&quot;,{className:&quot;flex items-center gap-2 flex-wrap&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;px-1.5 py-0.5 rounded text-xs bg-green-100 text-green-800&quot;,children:&quot;Validé&quot;}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;N(ue.receipt.id,ue.receipt.receipt_number),disabled:O===ue.receipt?.id,className:&quot;inline-flex items-center gap-1.5 px-2 py-1 rounded text-sm text-brand-700 hover:bg-brand-50 font-medium transition-colors disabled:opacity-50&quot;,children:[c.jsx(ua,{size:14}),O===ue.receipt?.id?&quot;Téléchargement...&quot;:&quot;Télécharger le reçu&quot;]})]}):he?c.jsxs(&quot;span&quot;,{className:&quot;flex flex-col gap-1 sm:flex-row sm:items-center sm:flex-wrap&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;px-1.5 py-0.5 rounded text-xs bg-green-100 text-green-800 w-fit&quot;,children:&quot;Soldée&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-600&quot;,children:&quot;Montant couvert par vos paiements (y compris paiement libre). Le reçu correspondant figure dans la liste « Paiements ».&quot;})]}):xe&amp;&amp;!pe?c.jsx(&quot;span&quot;,{className:`px-1.5 py-0.5 rounded text-xs ${ue.status===&quot;rejected&quot;?&quot;bg-red-100 text-red-800&quot;:&quot;bg-amber-100 text-amber-800&quot;}`,children:ue.status===&quot;rejected&quot;?&quot;Rejeté&quot;:&quot;Déclaré — En attente de validation&quot;}):null}),pe&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;rounded-md border border-sky-200 bg-white px-3 py-2&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-800&quot;,children:&quot;Paiement en ligne en cours&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600 mt-1&quot;,children:&quot;Le statut affiché provient de nos serveurs après l’initiation. La confirmation finale peut prendre un court délai.&quot;}),c.jsx(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap gap-2&quot;,children:pe.action_url?c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;text-sm py-1.5 h-auto&quot;,onClick:()=&gt;window.location.assign(pe.action_url),children:&quot;Continuer vers le paiement&quot;}):null}),c.jsx(vb,{registrationId:M.id,paymentId:pe.id,summaryHint:&quot;La confirmation finale vient de nos serveurs (prestataire), pas seulement de l’écran du téléphone.&quot;,onUpdated:()=&gt;j({silent:!0})})]}),R&gt;0&amp;&amp;!he&amp;&amp;!pe&amp;&amp;!xe&amp;&amp;(E?c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;text-sm py-2 h-auto w-full sm:w-auto&quot;,onClick:()=&gt;F({registrationId:M.id,installmentIndex:Q,defaultCountry:M.country||&quot;CI&quot;}),children:ce?&quot;Réessayer le paiement en ligne&quot;:&quot;Payer cette échéance&quot;}):c.jsx(&quot;p&quot;,{className:&quot;text-sm text-amber-900 rounded-md border border-amber-200 bg-amber-50/60 px-3 py-2&quot;,children:K?.disabled_message?.trim()||&quot;Les paiements en ligne (SycaPay) ne sont pas encore ouverts.&quot;}))]},Q)})}),z&gt;0&amp;&amp;!dB(U)&amp;&amp;!fB(U)&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-dashed border-gray-200&quot;,children:[c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-2&quot;,children:[&quot;Vous pouvez aussi régler &quot;,c.jsx(&quot;strong&quot;,{children:&quot;un montant au choix&quot;}),&quot; (dans la limite du solde restant) : il sera imputé automatiquement aux échéances les plus anciennes d’abord.&quot;]}),E?c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;text-sm py-2 h-auto w-full sm:w-auto&quot;,onClick:()=&gt;W({registrationId:M.id,defaultCountry:M.country||&quot;CI&quot;,remainingDue:z,currencyLabel:B,installments:Y}),children:&quot;Payer un montant libre&quot;}):c.jsx(&quot;p&quot;,{className:&quot;text-sm text-amber-900 rounded-md border border-amber-200 bg-amber-50/60 px-3 py-2&quot;,children:K?.disabled_message?.trim()||&quot;Les paiements en ligne (SycaPay) ne sont pas encore ouverts.&quot;})]})]}):R&gt;0&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-700 mb-2&quot;,children:&quot;Montant dû&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 bg-gray-50/50 px-4 py-3 space-y-3&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600&quot;,children:&quot;Total à régler&quot;}),c.jsxs(&quot;p&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:[R.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,B]})]}),I&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;rounded-md border border-sky-200 bg-white px-3 py-2&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-800&quot;,children:&quot;Paiement en ligne en cours&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600 mt-1&quot;,children:&quot;La confirmation sur cette page est mise à jour depuis nos serveurs, pas depuis l’écran du téléphone seul.&quot;}),c.jsx(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap gap-2&quot;,children:I.action_url?c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;text-sm py-1.5 h-auto&quot;,onClick:()=&gt;window.location.assign(I.action_url),children:&quot;Continuer vers le paiement&quot;}):null}),c.jsx(vb,{registrationId:M.id,paymentId:I.id,summaryHint:&quot;La confirmation finale vient de nos serveurs (prestataire), pas seulement de l’écran du téléphone.&quot;,onUpdated:()=&gt;j({silent:!0})})]}),!I&amp;&amp;z&gt;0&amp;&amp;(!re||X)&amp;&amp;(E?c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;text-sm py-2 h-auto&quot;,onClick:()=&gt;F({registrationId:M.id,installmentIndex:null,defaultCountry:M.country||&quot;CI&quot;}),children:X?&quot;Réessayer le paiement en ligne&quot;:&quot;Payer le solde&quot;}):c.jsx(&quot;p&quot;,{className:&quot;text-sm text-amber-900 rounded-md border border-amber-200 bg-amber-50/60 px-3 py-2&quot;,children:K?.disabled_message?.trim()||&quot;Les paiements en ligne (SycaPay) ne sont pas encore ouverts.&quot;}))]})]}),R&gt;0&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mt-3 flex flex-wrap items-center justify-between gap-2 rounded-lg px-4 py-2 border border-[#722F37]/25 bg-[#F5E8EA]&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-[#5C262D]&quot;,children:&quot;Restant à payer&quot;}),c.jsxs(&quot;span&quot;,{className:`text-sm font-semibold ${z&gt;0?&quot;text-[#722F37]&quot;:&quot;text-green-700&quot;}`,children:[z.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,B,z===0&amp;&amp;R&gt;0&amp;&amp;&quot; — Soldé&quot;]})]}),c.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-700 mb-2&quot;,children:&quot;Paiements&quot;}),U.length===0?c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucun paiement enregistré.&quot;}):c.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:U.map(ne=&gt;c.jsxs(&quot;li&quot;,{className:&quot;text-sm py-1.5 border-b border-gray-50 last:border-0&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2&quot;,children:[c.jsxs(&quot;span&quot;,{children:[ne.amount.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,ne.currency,&quot; — &quot;,ne.paid_at?new Date(ne.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;,ne.reference&amp;&amp;` (${ne.reference})`,ne.payment_gateway===ol&amp;&amp;c.jsx(&quot;span&quot;,{className:&quot;ml-1 text-xs text-ink-400&quot;,children:&quot;· en ligne&quot;})]}),c.jsxs(&quot;span&quot;,{className:&quot;flex items-center gap-2 flex-wrap&quot;,children:[c.jsx(&quot;span&quot;,{className:`px-1.5 py-0.5 rounded text-xs ${mB(ne.status)}`,children:oB[ne.status]??ne.status}),ne.status===&quot;confirmed&quot;&amp;&amp;(ne.receipt?c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;N(ne.receipt.id,ne.receipt.receipt_number),disabled:O===ne.receipt.id,title:&quot;Télécharger le reçu PDF&quot;,className:&quot;inline-flex items-center gap-1.5 text-brand-700 hover:text-brand-900 hover:underline font-medium disabled:opacity-50 disabled:no-underline&quot;,children:[c.jsx(ua,{size:14}),O===ne.receipt.id?&quot;Téléchargement...&quot;:&quot;Télécharger le reçu&quot;]}):c.jsx(&quot;span&quot;,{className:&quot;text-ink-500 text-xs&quot;,children:&quot;Reçu à venir&quot;}))]})]}),ne.payment_gateway===ol&amp;&amp;(ne.status===&quot;pending&quot;||ne.status===&quot;initiated&quot;)&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mt-2 rounded-md border border-sky-100 bg-sky-50/40 px-2 py-2&quot;,children:c.jsx(vb,{registrationId:M.id,paymentId:ne.id,summaryHint:&quot;Le prestataire peut confirmer avant l’affichage ici : actualisez ou attendez quelques secondes.&quot;,onUpdated:()=&gt;j({silent:!0})})})]},ne.id))})]})]},M.id)})})]}),c.jsxs(&quot;div&quot;,{className:&quot;mt-8 flex flex-wrap gap-4&quot;,children:[c.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;Ui.logout().then(()=&gt;e(&quot;/login&quot;,{replace:!0})),children:&quot;Déconnexion&quot;}),n&amp;&amp;c.jsx(&quot;a&quot;,{href:a?.includes(&quot;COMMISSION_FINANCE&quot;)||a?.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)||a?.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)||a?.includes(&quot;COMMISSARIAT_GENERAL&quot;)?&quot;/admin/finance&quot;:&quot;/admin/registrations&quot;,className:&quot;text-sm text-brand-700 hover:text-brand-900 hover:underline self-center&quot;,children:&quot;Accéder à l&#039;administration&quot;}),c.jsx(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;text-sm text-brand-700 hover:text-brand-900 hover:underline self-center&quot;,children:&quot;Retour à l&#039;accueil&quot;})]})]}),V&amp;&amp;c.jsx(eB,{open:!0,registrationId:V.registrationId,installmentIndex:V.installmentIndex,defaultCountry:V.defaultCountry,onClose:()=&gt;F(null),onInitiated:k}),H&amp;&amp;c.jsx(iB,{open:!0,registrationId:H.registrationId,defaultCountry:H.defaultCountry,remainingDue:H.remainingDue,currencyLabel:H.currencyLabel,installments:H.installments,onClose:()=&gt;W(null),onInitSuccess:()=&gt;j({silent:!0})})]}):c.jsx(ui,{to:&quot;/login&quot;,replace:!0})}function gB(){const e=xs();return L.useEffect(()=&gt;{const r=window.setTimeout(()=&gt;{e(&quot;/account&quot;,{replace:!0})},5e3);return()=&gt;window.clearTimeout(r)},[e]),c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;mx-auto max-w-md&quot;,children:c.jsxs(Kn,{className:&quot;text-center&quot;,children:[c.jsx(&quot;h1&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-3&quot;,children:&quot;Retour de paiement&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-6&quot;,children:&quot;Si vous venez de finaliser une opération sur le site du prestataire, la confirmation peut prendre quelques instants. Retrouvez l’état à jour de votre paiement dans votre espace participant.&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-3 sm:flex-row sm:justify-center&quot;,children:[c.jsx(Le,{variant:&quot;primary&quot;,onClick:()=&gt;e(&quot;/account&quot;,{replace:!0}),children:&quot;Voir mon espace participant&quot;}),c.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;e(&quot;/&quot;,{replace:!0}),children:&quot;Accueil&quot;})]}),c.jsx(&quot;p&quot;,{className:&quot;mt-6 text-xs text-ink-400&quot;,children:&quot;Redirection automatique vers votre espace dans quelques secondes…&quot;})]})})})}function Cp({showRefresh:e=!1,refreshing:r=!1,onRefresh:t}){const n=xs(),{user:o}=Ls(),i=async()=&gt;{try{await Ui.logout(),n(&quot;/login&quot;,{replace:!0})}catch{n(&quot;/login&quot;,{replace:!0})}};return c.jsx(&quot;header&quot;,{className:&quot;sticky top-0 z-50 w-full border-b border-gray-200 bg-white shadow-soft&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;w-full min-w-0 max-w-full px-3 py-2.5 sm:px-6 sm:py-3 lg:px-8 lg:py-4&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 items-center justify-between gap-2 sm:gap-3&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-1 items-center gap-2 sm:gap-3 md:flex-none&quot;,children:[c.jsx(&quot;img&quot;,{src:&quot;/logoHaggai.avif&quot;,alt:&quot;Sommet Haggai Francophone&quot;,className:&quot;h-8 w-auto shrink-0 sm:h-10 lg:h-12&quot;}),c.jsx(&quot;h1&quot;,{className:&quot;min-w-0 truncate text-base font-heading font-medium uppercase tracking-wide text-ink-900 sm:text-lg lg:text-2xl&quot;,children:&quot;Sommet Haggai Francophone&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex shrink-0 items-center gap-1.5 sm:gap-4&quot;,children:[o&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;text-right hidden sm:block&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:o.name}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:o.email}),o.roles&amp;&amp;o.roles.length&gt;0&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:typeof o.roles[0]==&quot;string&quot;?o.roles[0]:o.roles[0].name})]}),e&amp;&amp;t&amp;&amp;c.jsxs(Le,{variant:&quot;outline&quot;,onClick:t,disabled:r,className:&quot;flex items-center gap-1 !px-2 !py-2 sm:!px-6 sm:!py-3 sm:gap-2&quot;,title:&quot;Rafraîchir les données&quot;,children:[c.jsx(A1,{size:17,className:r?&quot;animate-spin&quot;:&quot;&quot;}),c.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:r?&quot;Rafraîchissement...&quot;:&quot;Rafraîchir&quot;})]}),c.jsxs(Le,{variant:&quot;outline&quot;,onClick:i,className:&quot;flex items-center gap-1 !px-2 !py-2 sm:!px-6 sm:!py-3 sm:gap-2&quot;,children:[c.jsx(WL,{size:17}),c.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:&quot;Déconnexion&quot;})]})]})]})})})}const sr=&#039; fill=&quot;none&quot; stroke=&quot;#374151&quot; stroke-width=&quot;2&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot;&#039;;function bB(e){const r=`&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;22&quot; height=&quot;22&quot; viewBox=&quot;0 0 24 24&quot;${sr}&gt;${e}&lt;/svg&gt;`;return`data:image/svg+xml,${encodeURIComponent(r)}`}const xB={layoutDashboard:[`&lt;rect width=&quot;7&quot; height=&quot;9&quot; x=&quot;3&quot; y=&quot;3&quot; rx=&quot;1&quot;${sr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;5&quot; x=&quot;14&quot; y=&quot;3&quot; rx=&quot;1&quot;${sr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;9&quot; x=&quot;14&quot; y=&quot;12&quot; rx=&quot;1&quot;${sr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;5&quot; x=&quot;3&quot; y=&quot;16&quot; rx=&quot;1&quot;${sr}/&gt;`].join(&quot;&quot;),users:[`&lt;path d=&quot;M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2&quot;${sr}/&gt;`,`&lt;path d=&quot;M16 3.128a4 4 0 0 1 0 7.744&quot;${sr}/&gt;`,`&lt;path d=&quot;M22 21v-2a4 4 0 0 0-3-3.87&quot;${sr}/&gt;`,`&lt;circle cx=&quot;9&quot; cy=&quot;7&quot; r=&quot;4&quot;${sr}/&gt;`].join(&quot;&quot;),messageSquare:[`&lt;path d=&quot;M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z&quot;${sr}/&gt;`].join(&quot;&quot;),userCog:[`&lt;path d=&quot;M10 15H6a4 4 0 0 0-4 4v2&quot;${sr}/&gt;`,`&lt;path d=&quot;m14.305 16.53.923-.382&quot;${sr}/&gt;`,`&lt;path d=&quot;m15.228 13.852-.923-.383&quot;${sr}/&gt;`,`&lt;path d=&quot;m16.852 12.228-.383-.923&quot;${sr}/&gt;`,`&lt;path d=&quot;m16.852 17.772-.383.924&quot;${sr}/&gt;`,`&lt;path d=&quot;m19.148 12.228.383-.923&quot;${sr}/&gt;`,`&lt;path d=&quot;m19.53 18.696-.382-.924&quot;${sr}/&gt;`,`&lt;path d=&quot;m20.772 13.852.924-.383&quot;${sr}/&gt;`,`&lt;path d=&quot;m20.772 16.148.924.383&quot;${sr}/&gt;`,`&lt;circle cx=&quot;18&quot; cy=&quot;15&quot; r=&quot;3&quot;${sr}/&gt;`,`&lt;circle cx=&quot;9&quot; cy=&quot;7&quot; r=&quot;4&quot;${sr}/&gt;`].join(&quot;&quot;),userCircle:[`&lt;circle cx=&quot;12&quot; cy=&quot;12&quot; r=&quot;10&quot;${sr}/&gt;`,`&lt;circle cx=&quot;12&quot; cy=&quot;10&quot; r=&quot;3&quot;${sr}/&gt;`,`&lt;path d=&quot;M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662&quot;${sr}/&gt;`].join(&quot;&quot;),dollarSign:[`&lt;line x1=&quot;12&quot; x2=&quot;12&quot; y1=&quot;2&quot; y2=&quot;22&quot;${sr}/&gt;`,`&lt;path d=&quot;M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6&quot;${sr}/&gt;`].join(&quot;&quot;),settings:[`&lt;path d=&quot;M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915&quot;${sr}/&gt;`,`&lt;circle cx=&quot;12&quot; cy=&quot;12&quot; r=&quot;3&quot;${sr}/&gt;`].join(&quot;&quot;),home:[`&lt;path d=&quot;M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8&quot;${sr}/&gt;`,`&lt;path d=&quot;M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z&quot;${sr}/&gt;`].join(&quot;&quot;)},lC={};for(const[e,r]of Object.entries(xB))lC[e]=bB(r);function yB(){if(typeof navigator&gt;&quot;u&quot;)return!1;const e=navigator.userAgent;return/iPhone|iPad/i.test(e)||/Mac/i.test(e)&amp;&amp;navigator.maxTouchPoints&gt;1}function vB(e){return lC[e]??&quot;&quot;}function Ep({currentSection:e,registrationView:r=&quot;summit&quot;,showSommet:t=!0,showSeminar:n=!1,showRecommendations:o=!0,showUsers:i=!1,showFinance:a=!1,showSettings:u=!1}){const l=e===&quot;registrations&quot;,s=e===&quot;users&quot;,d=e===&quot;account&quot;,f=e===&quot;finance&quot;,h=e===&quot;settings&quot;,m=y=&gt;`w-full flex items-center justify-start gap-2 px-3 py-2 rounded-lg transition-all duration-200 mb-1 text-left text-sm font-medium ${y?&quot;bg-brand-700 text-white shadow-soft&quot;:&quot;text-ink-500 hover:bg-brand-50 hover:text-ink-900&quot;}`,p=c.jsxs(&quot;aside&quot;,{className:&quot;hidden lg:flex fixed left-0 top-[73px] h-[calc(100vh-73px)] w-48 bg-white border-r border-gray-200 flex-col z-30&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;p-4 border-b border-gray-200&quot;,children:c.jsx(&quot;h2&quot;,{className:&quot;text-sm font-semibold text-ink-900&quot;,children:&quot;Menu&quot;})}),c.jsxs(&quot;nav&quot;,{className:&quot;flex-1 p-2 overflow-y-auto&quot;,children:[t&amp;&amp;c.jsxs(Cr,{to:&quot;/admin/registrations?view=summit&quot;,className:m(l&amp;&amp;r===&quot;summit&quot;),children:[c.jsx(T4,{size:18}),&quot;Sommet Francophone&quot;]}),n&amp;&amp;c.jsxs(Cr,{to:&quot;/admin/registrations?view=seminar&quot;,className:m(l&amp;&amp;r===&quot;seminar&quot;),children:[c.jsx(_m,{size:18}),&quot;Séminaire régional&quot;]}),o&amp;&amp;c.jsxs(Cr,{to:&quot;/admin/registrations?view=recommendations&quot;,className:m(l&amp;&amp;r===&quot;recommendations&quot;),children:[c.jsx(I4,{size:18}),&quot;Recommandations&quot;]}),i&amp;&amp;c.jsxs(Cr,{to:&quot;/admin/users&quot;,className:m(s),children:[c.jsx(wm,{size:18}),&quot;Utilisateurs&quot;]}),a&amp;&amp;c.jsxs(Cr,{to:&quot;/admin/finance&quot;,className:m(f),children:[c.jsx(Iy,{size:18}),&quot;Finance&quot;]}),u&amp;&amp;c.jsxs(Cr,{to:&quot;/admin/settings&quot;,className:m(h),children:[c.jsx(Ly,{size:18}),&quot;Paramétrage&quot;]}),c.jsxs(Cr,{to:&quot;/admin/account&quot;,className:m(d),children:[c.jsx(O4,{size:18}),&quot;Mon compte&quot;]}),c.jsxs(Cr,{to:&quot;/account&quot;,className:m(!1),children:[c.jsx(Ry,{size:18}),&quot;Ma page personnelle&quot;]})]})]}),b=yB(),g=[t&amp;&amp;{to:&quot;/admin/registrations?view=summit&quot;,label:&quot;Sommet&quot;,icon:T4,iconKey:&quot;layoutDashboard&quot;,active:l&amp;&amp;r===&quot;summit&quot;},n&amp;&amp;{to:&quot;/admin/registrations?view=seminar&quot;,label:&quot;Séminaire&quot;,icon:_m,iconKey:&quot;users&quot;,active:l&amp;&amp;r===&quot;seminar&quot;},o&amp;&amp;{to:&quot;/admin/registrations?view=recommendations&quot;,label:&quot;Recommandations&quot;,icon:I4,iconKey:&quot;messageSquare&quot;,active:l&amp;&amp;r===&quot;recommendations&quot;},i&amp;&amp;{to:&quot;/admin/users&quot;,label:&quot;Utilisateurs&quot;,icon:wm,iconKey:&quot;userCog&quot;,active:s},a&amp;&amp;{to:&quot;/admin/finance&quot;,label:&quot;Finance&quot;,icon:Iy,iconKey:&quot;dollarSign&quot;,active:f},u&amp;&amp;{to:&quot;/admin/settings&quot;,label:&quot;Paramétrage&quot;,icon:Ly,iconKey:&quot;settings&quot;,active:h},{to:&quot;/admin/account&quot;,label:&quot;Mon compte&quot;,icon:O4,iconKey:&quot;userCircle&quot;,active:d},{to:&quot;/account&quot;,label:&quot;Ma page&quot;,icon:Ry,iconKey:&quot;home&quot;,active:!1}].filter(Boolean);return c.jsxs(c.Fragment,{children:[p,c.jsx(&quot;nav&quot;,{className:&quot;lg:hidden fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 z-50 shadow-lg&quot;,&quot;aria-label&quot;:&quot;Menu principal&quot;,style:{paddingBottom:&quot;env(safe-area-inset-bottom)&quot;},children:c.jsx(&quot;div&quot;,{className:&quot;grid h-14 min-h-[56px] items-center justify-items-center py-2&quot;,style:{gridTemplateColumns:`repeat(${g.length}, minmax(0, 1fr))`},children:g.map(y=&gt;{const v=y.icon;return c.jsxs(Cr,{to:y.to,className:`flex flex-col items-center justify-center gap-0.5 w-full h-full min-h-[52px] transition-colors ${y.active?&quot;text-brand-700&quot;:&quot;text-ink-500 hover:text-ink-700&quot;}`,title:y.label,&quot;aria-label&quot;:y.label,children:[c.jsx(&quot;span&quot;,{className:&quot;mobile-nav-icon-cell shrink-0 flex items-center justify-center&quot;,&quot;aria-hidden&quot;:!0,children:b?c.jsx(&quot;img&quot;,{src:vB(y.iconKey),alt:&quot;&quot;,width:22,height:22,className:&quot;block&quot;}):c.jsx(v,{size:22,strokeWidth:2,stroke:&quot;currentColor&quot;,fill:&quot;none&quot;})}),c.jsx(&quot;span&quot;,{className:&quot;text-[10px] font-medium leading-tight max-w-full truncate px-0.5&quot;,children:y.label})]},y.to)})})})]})}const Vy=[{value:&quot;draft&quot;,label:&quot;Brouillon&quot;,badgeClass:&quot;bg-gray-100 text-gray-700&quot;},{value:&quot;submitted&quot;,label:&quot;Soumis&quot;,badgeClass:&quot;bg-blue-100 text-blue-700&quot;},{value:&quot;pending_payment&quot;,label:&quot;En attente&quot;,badgeClass:&quot;bg-yellow-100 text-yellow-700&quot;},{value:&quot;correction&quot;,label:&quot;Dossier en correction&quot;,badgeClass:&quot;bg-amber-100 text-amber-800&quot;},{value:&quot;paid&quot;,label:&quot;Payé&quot;,badgeClass:&quot;bg-green-100 text-green-700&quot;},{value:&quot;rejected&quot;,label:&quot;Rejeté&quot;,badgeClass:&quot;bg-red-100 text-red-700&quot;},{value:&quot;cancelled&quot;,label:&quot;Annulé&quot;,badgeClass:&quot;bg-gray-100 text-gray-600&quot;},{value:&quot;refunded&quot;,label:&quot;Remboursé&quot;,badgeClass:&quot;bg-orange-100 text-orange-700&quot;}];function T1(e){return e?Vy.find(t=&gt;t.value===e)??{label:String(e),badgeClass:&quot;bg-gray-100 text-gray-700&quot;}:{label:&quot;-&quot;,badgeClass:&quot;bg-gray-100 text-gray-700&quot;}}function wB({filters:e,onFiltersChange:r,hideEventFilter:t=!1}){const{events:n,loading:o}=kp(),[i,a]=L.useState(e),[u,l]=L.useState(null),[s,d]=L.useState(!1);L.useEffect(()=&gt;{a(e)},[e]);const f=(g,y)=&gt;{const v={...i,[g]:y};if(a(v),g===&quot;q&quot;){u&amp;&amp;clearTimeout(u);const _=setTimeout(()=&gt;{r(v)},400);l(_)}else r(v)},h=g=&gt;{const y=i.status||[],v=y.includes(g)?y.filter(_=&gt;_!==g):[...y,g];f(&quot;status&quot;,v.length&gt;0?v:void 0)},m=()=&gt;{const g={event_id:void 0,status:void 0,q:void 0,created_from:void 0,created_to:void 0};a(g),r(g),d(!1)},p=&quot;w-full min-w-0 px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,b=&quot;w-full min-w-0 rounded-lg border border-gray-300 px-2.5 py-2 text-sm focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;;return c.jsxs(&quot;div&quot;,{className:&quot;min-w-0 max-w-full&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;rounded-xl bg-white px-2 py-2 shadow-soft lg:hidden&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 gap-2&quot;,children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;registration-search-mobile&quot;,className:&quot;sr-only&quot;,children:&quot;Recherche&quot;}),c.jsx(&quot;input&quot;,{id:&quot;registration-search-mobile&quot;,type:&quot;text&quot;,value:i.q||&quot;&quot;,onChange:g=&gt;f(&quot;q&quot;,g.target.value||void 0),placeholder:&quot;Rechercher…&quot;,className:b+&quot; min-w-0 flex-1&quot;}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,id:&quot;registration-filters-toggle&quot;,&quot;aria-expanded&quot;:s,&quot;aria-controls&quot;:&quot;registration-filters-panel&quot;,className:&quot;flex shrink-0 items-center gap-1 rounded-lg border-2 border-brand-700 bg-white px-2.5 py-2 text-xs font-semibold uppercase tracking-wide text-brand-700&quot;,onClick:()=&gt;d(g=&gt;!g),children:[&quot;Filtres&quot;,c.jsx(Py,{className:`h-4 w-4 transition-transform ${s?&quot;rotate-180&quot;:&quot;&quot;}`,&quot;aria-hidden&quot;:!0})]})]}),s?c.jsxs(&quot;div&quot;,{id:&quot;registration-filters-panel&quot;,role:&quot;region&quot;,&quot;aria-labelledby&quot;:&quot;registration-filters-toggle&quot;,className:&quot;mt-2 space-y-3 border-t border-gray-100 pt-3&quot;,children:[t?c.jsxs(&quot;div&quot;,{className:&quot;grid min-w-0 grid-cols-1 gap-2 sm:grid-cols-2&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Date début&quot;}),c.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_from||&quot;&quot;,onChange:g=&gt;f(&quot;created_from&quot;,g.target.value||void 0),className:b})]}),c.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Date fin&quot;}),c.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_to||&quot;&quot;,onChange:g=&gt;f(&quot;created_to&quot;,g.target.value||void 0),className:b})]})]}):c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Événement&quot;}),c.jsxs(&quot;select&quot;,{value:i.event_id||&quot;&quot;,onChange:g=&gt;f(&quot;event_id&quot;,g.target.value?Number(g.target.value):void 0),className:b,disabled:o,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les événements&quot;}),n.map(g=&gt;c.jsx(&quot;option&quot;,{value:g.id,children:g.name},g.id))]})]}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-2&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Date début&quot;}),c.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_from||&quot;&quot;,onChange:g=&gt;f(&quot;created_from&quot;,g.target.value||void 0),className:b})]}),c.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Date fin&quot;}),c.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_to||&quot;&quot;,onChange:g=&gt;f(&quot;created_to&quot;,g.target.value||void 0),className:b})]})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500&quot;,children:&quot;Statuts&quot;}),c.jsx(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap gap-1&quot;,children:Vy.map(g=&gt;{const y=i.status?.includes(g.value);return c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;h(g.value),className:y?`rounded-full border border-transparent px-2 py-0.5 text-[11px] font-medium ring-2 ring-brand-700/35 ring-offset-1 ${g.badgeClass}`:&quot;rounded-full bg-gray-100 px-2 py-0.5 text-[11px] font-medium text-gray-700&quot;,children:g.label},g.value)})})]}),c.jsx(&quot;div&quot;,{className:&quot;flex justify-end border-t border-gray-100 pt-2&quot;,children:c.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;text-sm font-medium text-brand-700 underline-offset-2 hover:underline&quot;,onClick:m,children:&quot;Réinitialiser&quot;})})]}):null]}),c.jsxs(&quot;div&quot;,{className:&quot;hidden min-w-0 max-w-full space-y-2 rounded-xl bg-white px-3 py-3 shadow-soft sm:px-4 lg:block&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;mb-1 flex min-w-0 flex-wrap items-center justify-between gap-2&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-900 sm:text-base&quot;,children:&quot;Filtres&quot;}),c.jsx(Le,{variant:&quot;ghost&quot;,onClick:m,className:&quot;shrink-0 text-sm !px-3 !py-1.5 !normal-case&quot;,children:&quot;Réinitialiser&quot;})]}),t?c.jsxs(&quot;div&quot;,{className:&quot;grid min-w-0 grid-cols-1 gap-x-3 gap-y-2 sm:grid-cols-2 lg:grid-cols-3&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;min-w-0 sm:col-span-2 lg:col-span-1&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Recherche&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:i.q||&quot;&quot;,onChange:g=&gt;f(&quot;q&quot;,g.target.value||void 0),placeholder:&quot;Nom, email, téléphone...&quot;,className:p})]}),c.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Date début&quot;}),c.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_from||&quot;&quot;,onChange:g=&gt;f(&quot;created_from&quot;,g.target.value||void 0),className:p})]}),c.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Date fin&quot;}),c.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_to||&quot;&quot;,onChange:g=&gt;f(&quot;created_to&quot;,g.target.value||void 0),className:p})]})]}):c.jsxs(&quot;div&quot;,{className:&quot;grid min-w-0 grid-cols-1 gap-x-3 gap-y-2 sm:grid-cols-2 xl:grid-cols-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;min-w-0 sm:col-span-2 xl:col-span-1&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Recherche&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:i.q||&quot;&quot;,onChange:g=&gt;f(&quot;q&quot;,g.target.value||void 0),placeholder:&quot;Nom, email, téléphone...&quot;,className:p})]}),c.jsxs(&quot;div&quot;,{className:&quot;min-w-0 sm:col-span-2 xl:col-span-1&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Événement&quot;}),c.jsxs(&quot;select&quot;,{value:i.event_id||&quot;&quot;,onChange:g=&gt;f(&quot;event_id&quot;,g.target.value?Number(g.target.value):void 0),className:p,disabled:o,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les événements&quot;}),n.map(g=&gt;c.jsx(&quot;option&quot;,{value:g.id,children:g.name},g.id))]})]}),c.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Date début&quot;}),c.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_from||&quot;&quot;,onChange:g=&gt;f(&quot;created_from&quot;,g.target.value||void 0),className:p})]}),c.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Date fin&quot;}),c.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_to||&quot;&quot;,onChange:g=&gt;f(&quot;created_to&quot;,g.target.value||void 0),className:p})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;min-w-0 pt-0.5&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Statuts&quot;}),c.jsx(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap gap-1.5&quot;,children:Vy.map(g=&gt;{const y=i.status?.includes(g.value);return c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;h(g.value),className:y?`rounded-full border border-transparent px-2.5 py-1 text-xs font-medium ring-2 ring-brand-700/35 ring-offset-1 transition-all sm:text-sm ${g.badgeClass}`:&quot;rounded-full border border-transparent bg-gray-100 px-2.5 py-1 text-xs font-medium text-gray-700 transition-all hover:bg-gray-200 sm:text-sm&quot;,children:g.label},g.value)})})]})]})]})}function _B({title:e,subtitle:r,subtitleDesktopOnly:t=!0,actions:n}){const o=t?&quot;hidden lg:block lg:text-base&quot;:&quot;text-sm lg:text-base&quot;;return c.jsxs(&quot;div&quot;,{className:&quot;mb-2 flex min-w-0 flex-col gap-2 sm:mb-5 sm:gap-3 lg:flex-row lg:items-start lg:justify-between&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[c.jsx(&quot;h2&quot;,{className:&quot;mb-0.5 text-xl font-bold text-ink-900 sm:mb-2 sm:text-2xl lg:text-3xl&quot;,children:e}),r?c.jsx(&quot;p&quot;,{className:`text-ink-500 ${o}`,children:r}):null]}),n?c.jsx(&quot;div&quot;,{className:&quot;relative shrink-0 sm:mt-0.5&quot;,children:n}):null]})}function jB({children:e}){return c.jsx(&quot;div&quot;,{className:&quot;sticky top-14 z-40 mb-2 w-full min-w-0 border-b border-gray-200/90 bg-brand-50/95 py-1.5 backdrop-blur-sm sm:mb-3 sm:py-2 lg:top-[4.5rem] lg:mb-4&quot;,children:e})}const Cn=&quot;px-2 py-2 text-left text-[10px] font-medium uppercase leading-tight tracking-wider text-ink-500 sm:px-3 sm:py-2.5 sm:text-xs&quot;,cC=&quot;min-w-0 max-w-full rounded-xl bg-white shadow-soft&quot;,uC=`${cC} p-8 text-center`;function dC({children:e,className:r=&quot;&quot;}){return c.jsx(&quot;div&quot;,{className:`${cC} ${r}`.trim(),children:e})}function fC({children:e,className:r=&quot;&quot;}){return c.jsx(&quot;div&quot;,{className:`space-y-2 overflow-visible p-2 lg:hidden ${r}`.trim(),children:e})}function hC({children:e,className:r=&quot;&quot;,variant:t=&quot;desktop&quot;}){const n=t===&quot;all&quot;?&quot;&quot;:&quot;hidden lg:block&quot;;return c.jsx(&quot;div&quot;,{className:`min-w-0 overflow-x-auto ${n} ${r}`.trim(),children:e})}function mC({message:e=&quot;Chargement...&quot;}){return c.jsx(&quot;div&quot;,{className:uC,children:c.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:e})})}function pC({message:e}){return c.jsx(&quot;div&quot;,{className:uC,children:c.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:e})})}function SB({children:e,className:r=&quot;&quot;}){return c.jsx(&quot;div&quot;,{className:`mb-2 min-w-0 sm:mb-4 ${r}`.trim(),children:e})}function po({rowId:e,openMenuId:r,setOpenMenuId:t,compact:n=!1,className:o=&quot;&quot;,stopPropagation:i=!0,onView:a,viewLabel:u=&quot;Voir&quot;,viewDisabled:l=!1,onEdit:s,editLabel:d=&quot;Modifier&quot;,editDisabled:f=!1,primaryOutlineAction:h,menuItems:m}){const p=L.useRef(null),b=L.useRef(null),g=L.useRef(!1),y=r===e,[v,_]=L.useState(null),C=m.length&gt;0,O=h&amp;&amp;!a&amp;&amp;!s;L.useLayoutEffect(()=&gt;{if(!y||!p.current){_(null),g.current=!1;return}const W=p.current,K=W.getBoundingClientRect(),$=window.getComputedStyle(W);if(K.width&lt;1||K.height&lt;1||$.display===&quot;none&quot;||$.visibility===&quot;hidden&quot;){_(null);return}const P=window.innerWidth,D=window.innerHeight,E=6,j=Math.min(224,P-16),k=Math.min(240,D*.45);let S=K.bottom+E;S+k&gt;D-8&amp;&amp;(S=Math.max(8,K.top-k-E));const N=P-8;let R=Math.min(K.right,N);R-j&lt;8&amp;&amp;(R=Math.min(8+j,N)),_({top:S,left:R,transform:&quot;translateX(-100%)&quot;}),g.current=!1},[y]),L.useLayoutEffect(()=&gt;{if(!y||!v||!p.current||!b.current||g.current)return;const K=p.current.getBoundingClientRect(),$=b.current,P=$.offsetWidth,D=$.offsetHeight,E=window.innerWidth,j=window.innerHeight,k=6;let S=K.bottom+k;S+D&gt;j-8&amp;&amp;(S=Math.max(8,K.top-D-k));const N=E-8;let R=Math.min(K.right,N);R-P&lt;8&amp;&amp;(R=Math.min(8+P,N)),g.current=!0,_(B=&gt;!B||B.top===S&amp;&amp;B.left===R?B:{top:S,left:R,transform:&quot;translateX(-100%)&quot;})},[y,v]),L.useEffect(()=&gt;{if(!y||v===null)return;const W=$=&gt;{const P=$.target;p.current?.contains(P)||b.current?.contains(P)||t(null)},K=()=&gt;t(null);return document.addEventListener(&quot;mousedown&quot;,W,!0),window.addEventListener(&quot;scroll&quot;,K,!0),window.addEventListener(&quot;resize&quot;,K),()=&gt;{document.removeEventListener(&quot;mousedown&quot;,W,!0),window.removeEventListener(&quot;scroll&quot;,K,!0),window.removeEventListener(&quot;resize&quot;,K)}},[y,v,t]),L.useEffect(()=&gt;{if(!y||v===null)return;const W=K=&gt;{K.key===&quot;Escape&quot;&amp;&amp;t(null)};return window.addEventListener(&quot;keydown&quot;,W),()=&gt;window.removeEventListener(&quot;keydown&quot;,W)},[y,v,t]);const T=n?&quot;rounded px-1 py-0.5 text-[11px] font-medium text-brand-700 hover:bg-brand-50 hover:underline&quot;:&quot;rounded px-1 py-0.5 text-[11px] font-medium text-brand-700 hover:bg-brand-50 hover:underline sm:text-xs&quot;,V=n?&quot;rounded border border-gray-300 bg-white px-1 py-0.5 text-[10px] font-medium leading-tight text-ink-800 hover:bg-gray-50&quot;:&quot;rounded border border-gray-300 bg-white px-1 py-0.5 text-[10px] font-medium leading-tight text-ink-800 hover:bg-gray-50 sm:px-1.5 sm:text-xs&quot;,F=i?W=&gt;W.stopPropagation():void 0,H=y&amp;&amp;v!=null&amp;&amp;C&amp;&amp;xp.createPortal(c.jsx(&quot;div&quot;,{ref:b,role:&quot;menu&quot;,className:&quot;fixed z-[200] max-h-[min(50vh,20rem)] min-w-[11rem] max-w-[min(calc(100vw-1rem),14rem)] overflow-y-auto rounded-lg border border-gray-200 bg-white py-1 shadow-lg&quot;,style:{top:v.top,left:v.left,transform:v.transform},children:m.map(W=&gt;c.jsx(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;menuitem&quot;,disabled:W.disabled,title:W.title,className:`block w-full px-3 py-2 text-left text-sm hover:bg-brand-50 disabled:opacity-50 ${W.danger?&quot;text-red-600 hover:bg-red-50&quot;:&quot;text-ink-900&quot;}`,onClick:K=&gt;{K.stopPropagation(),!W.disabled&amp;&amp;(t(null),W.onSelect())},children:W.label},W.id))}),document.body);return c.jsxs(&quot;div&quot;,{className:`flex shrink-0 items-center justify-end gap-0.5 ${o}`,onClick:F,children:[a?c.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:`${T} disabled:cursor-not-allowed disabled:opacity-50`,disabled:l,onClick:a,children:u}):null,s?c.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:`${V} disabled:cursor-not-allowed disabled:opacity-50`,disabled:f,onClick:s,children:d}):null,O&amp;&amp;h?c.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:V,disabled:h.disabled,title:h.title,onClick:h.onClick,children:h.label}):null,C?c.jsxs(c.Fragment,{children:[c.jsx(&quot;button&quot;,{ref:p,type:&quot;button&quot;,&quot;aria-expanded&quot;:y,&quot;aria-haspopup&quot;:&quot;menu&quot;,&quot;aria-label&quot;:&quot;Autres actions&quot;,className:n?&quot;inline-flex h-7 w-7 items-center justify-center rounded text-ink-600 hover:bg-gray-100&quot;:&quot;inline-flex h-7 w-7 items-center justify-center rounded text-ink-600 hover:bg-gray-100 sm:h-8 sm:w-8&quot;,onClick:W=&gt;{W.stopPropagation(),t(K=&gt;K===e?null:e)},children:c.jsx(PL,{className:&quot;h-4 w-4&quot;,&quot;aria-hidden&quot;:!0})}),H]}):null]})}const K4={pending:{label:&quot;En attente&quot;,className:&quot;bg-yellow-100 text-yellow-700&quot;},contacted:{label:&quot;Contacté&quot;,className:&quot;bg-blue-100 text-blue-700&quot;},accepted:{label:&quot;Accepté&quot;,className:&quot;bg-green-100 text-green-700&quot;},rejected:{label:&quot;Rejeté&quot;,className:&quot;bg-red-100 text-red-700&quot;}},kB=new Set([&quot;draft&quot;,&quot;submitted&quot;,&quot;pending_payment&quot;,&quot;correction&quot;,&quot;paid&quot;,&quot;rejected&quot;,&quot;cancelled&quot;,&quot;refunded&quot;]);function gl({status:e,compact:r}){const t=r?&quot;max-w-full whitespace-normal break-words px-2 py-0.5 text-[10px] font-medium leading-snug sm:text-xs&quot;:&quot;px-3 py-1 text-sm font-medium&quot;;if(!e)return c.jsx(&quot;span&quot;,{className:`inline-flex items-center rounded-full bg-gray-100 text-gray-700 ${t}`,children:&quot;-&quot;});if(kB.has(e)){const{label:o,badgeClass:i}=T1(e);return c.jsx(&quot;span&quot;,{className:`inline-flex items-center rounded-full ${i} ${t}`,children:o})}const n=K4[e]||K4.pending;return c.jsx(&quot;span&quot;,{className:`inline-flex items-center rounded-full ${n.className} ${t}`,children:n.label})}function NB(e){return e.amount_due_xof!=null&amp;&amp;e.amount_due_xof&gt;0?`${Number(e.amount_due_xof).toLocaleString(&quot;fr-FR&quot;)} XOF`:e.amount_due_eur!=null&amp;&amp;e.amount_due_eur&gt;0?`${e.amount_due_eur} EUR`:&quot;-&quot;}function CB(e,r){const t=[];return r.canUpdateStatus&amp;&amp;r.onUpdateStatus&amp;&amp;t.push({id:&quot;status&quot;,label:&quot;Changer statut&quot;,onSelect:()=&gt;r.onUpdateStatus(e)}),r.canResendActivation&amp;&amp;r.onResendActivation&amp;&amp;e.status===&quot;draft&quot;&amp;&amp;t.push({id:&quot;resend&quot;,label:r.resendingActivationId===e.id?&quot;Envoi…&quot;:&quot;Renvoyer activation&quot;,onSelect:()=&gt;r.onResendActivation(e),disabled:r.resendingActivationId===e.id,title:&quot;Renvoyer l’email avec le lien pour activer le compte et choisir un mot de passe&quot;}),r.canResetParticipantPassword&amp;&amp;r.onResetParticipantPassword&amp;&amp;Fy(e)&amp;&amp;t.push({id:&quot;reset-participant-password&quot;,label:&quot;Initialiser le mot de passe&quot;,title:&quot;Définir un mot de passe provisoire : le participant devra en choisir un nouveau à la prochaine connexion.&quot;,onSelect:()=&gt;r.onResetParticipantPassword(e)}),r.canDelete&amp;&amp;r.onDelete&amp;&amp;t.push({id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,onSelect:()=&gt;r.onDelete(e)}),t}function X4({registration:e,openMenuId:r,setOpenMenuId:t,onViewDetails:n,onUpdateStatus:o,onEdit:i,onDelete:a,onResendActivation:u,onResetParticipantPassword:l,canUpdateStatus:s,canEdit:d,canDelete:f,canResendActivation:h,canResetParticipantPassword:m,resendingActivationId:p,compact:b}){const g=CB(e,{onUpdateStatus:o,onDelete:a,onResendActivation:u,onResetParticipantPassword:l,canUpdateStatus:s,canDelete:f,canResendActivation:h,canResetParticipantPassword:m,resendingActivationId:p});return c.jsx(po,{rowId:e.id,openMenuId:r,setOpenMenuId:t,compact:b,onView:()=&gt;n(e),onEdit:d&amp;&amp;i?()=&gt;i(e):void 0,editLabel:&quot;Modifier&quot;,menuItems:g})}function EB({registrations:e,loading:r,eventType:t,onViewDetails:n,onUpdateStatus:o,onEdit:i,onDelete:a,onResendActivation:u,onResetParticipantPassword:l,canUpdateStatus:s=!1,canEdit:d=!1,canDelete:f=!1,canResendActivation:h=!1,canResetParticipantPassword:m=!1,resendingActivationId:p=null}){const[b,g]=L.useState(null);return r?c.jsx(mC,{}):e.length===0?c.jsx(pC,{message:&quot;Aucune inscription trouvée&quot;}):c.jsxs(dC,{children:[c.jsx(fC,{children:e.map(y=&gt;{const v=`${y.first_name} ${y.last_name}`.trim(),_=new Date(y.created_at).toLocaleDateString(&quot;fr-FR&quot;);return c.jsxs(&quot;div&quot;,{role:&quot;button&quot;,tabIndex:0,className:&quot;overflow-visible rounded-lg border border-gray-200 bg-white p-3 shadow-sm outline-none ring-brand-700 focus-visible:ring-2&quot;,onClick:()=&gt;n(y),onKeyDown:C=&gt;{(C.key===&quot;Enter&quot;||C.key===&quot; &quot;)&amp;&amp;(C.preventDefault(),n(y))},children:[c.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 gap-2 overflow-visible&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;truncate text-sm font-semibold text-ink-900&quot;,title:v||void 0,children:v||&quot;—&quot;}),c.jsx(&quot;p&quot;,{className:&quot;truncate text-xs text-ink-500&quot;,title:y.email||void 0,children:y.email})]}),c.jsx(X4,{registration:y,openMenuId:b,setOpenMenuId:g,onViewDetails:n,onUpdateStatus:o,onEdit:i,onDelete:a,onResendActivation:u,onResetParticipantPassword:l,canUpdateStatus:s,canEdit:d,canDelete:f,canResendActivation:h,canResetParticipantPassword:m,resendingActivationId:p,compact:!0})]}),c.jsxs(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center gap-2&quot;,children:[c.jsx(gl,{status:y.status,compact:!0}),c.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:_})]})]},y.id)})}),c.jsx(hC,{children:c.jsxs(&quot;table&quot;,{className:&quot;w-full min-w-0 table-fixed border-collapse&quot;,children:[c.jsxs(&quot;colgroup&quot;,{children:[c.jsx(&quot;col&quot;,{style:{width:&quot;14%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;18%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;9%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;15%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;10%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;13%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;8%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;13%&quot;}})]}),c.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:Cn,children:&quot;Nom&quot;}),c.jsx(&quot;th&quot;,{className:Cn,children:&quot;Email&quot;}),c.jsx(&quot;th&quot;,{className:Cn,children:&quot;Tél.&quot;}),c.jsx(&quot;th&quot;,{className:Cn,children:&quot;Événement&quot;}),c.jsx(&quot;th&quot;,{className:Cn,children:t===&quot;seminar&quot;?c.jsx(&quot;span&quot;,{className:&quot;block normal-case&quot;,children:&quot;Frais part.&quot;}):&quot;Formule&quot;}),c.jsx(&quot;th&quot;,{className:Cn,children:&quot;Statut&quot;}),c.jsx(&quot;th&quot;,{className:Cn,children:&quot;Créé&quot;}),c.jsx(&quot;th&quot;,{className:`${Cn} text-right`,children:&quot;Actions&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200 bg-white&quot;,children:e.map(y=&gt;{const v=`${y.first_name} ${y.last_name}`.trim(),_=t===&quot;seminar&quot;?NB(y):y.pricing_plan?.code||&quot;-&quot;;return c.jsxs(&quot;tr&quot;,{className:&quot;cursor-pointer hover:bg-brand-50&quot;,onClick:()=&gt;n(y),children:[c.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;truncate text-xs font-medium text-ink-900 sm:text-sm&quot;,title:v||void 0,children:v||&quot;—&quot;})}),c.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:y.email||void 0,children:y.email})}),c.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:y.phone||void 0,children:y.phone||&quot;-&quot;})}),c.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:y.event?.name||void 0,children:y.event?.name||&quot;-&quot;})}),c.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:_,children:_})}),c.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:c.jsx(gl,{status:y.status,compact:!0})}),c.jsx(&quot;td&quot;,{className:&quot;min-w-0 whitespace-nowrap px-2 py-2 align-middle text-xs text-ink-500 sm:px-3 sm:py-2.5 sm:text-sm&quot;,children:new Date(y.created_at).toLocaleDateString(&quot;fr-FR&quot;)}),c.jsx(&quot;td&quot;,{className:&quot;min-w-0 whitespace-nowrap px-1 py-2 text-right align-middle sm:px-2 sm:py-2.5&quot;,children:c.jsx(X4,{registration:y,openMenuId:b,setOpenMenuId:g,onViewDetails:n,onUpdateStatus:o,onEdit:i,onDelete:a,onResendActivation:u,onResetParticipantPassword:l,canUpdateStatus:s,canEdit:d,canDelete:f,canResendActivation:h,canResetParticipantPassword:m,resendingActivationId:p})})]},y.id)})})]})})]})}function AB({registrations:e,loading:r}){return r?c.jsx(&quot;div&quot;,{className:&quot;min-w-0 max-w-full rounded-xl bg-white p-6 text-center shadow-soft lg:p-8&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Chargement...&quot;})}):e.length===0?c.jsx(&quot;div&quot;,{className:&quot;min-w-0 max-w-full rounded-xl bg-white p-6 text-center shadow-soft lg:p-8&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucune inscription trouvée&quot;})}):c.jsxs(&quot;div&quot;,{className:&quot;min-w-0 max-w-full overflow-hidden rounded-xl bg-white shadow-soft&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;space-y-2 p-2 lg:hidden&quot;,children:e.map(t=&gt;c.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 bg-white p-3 shadow-sm&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;truncate text-sm font-medium text-ink-900&quot;,title:t.email||void 0,children:t.email}),c.jsxs(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center gap-2&quot;,children:[c.jsx(gl,{status:t.status,compact:!0}),c.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:t.country||&quot;—&quot;})]})]},t.id))}),c.jsx(&quot;div&quot;,{className:&quot;hidden overflow-x-auto lg:block&quot;,children:c.jsxs(&quot;table&quot;,{className:&quot;w-full min-w-0&quot;,children:[c.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:&quot;px-4 py-2 text-left text-xs font-medium uppercase tracking-wider text-ink-500 lg:px-6 lg:py-3&quot;,children:&quot;Email&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-2 text-left text-xs font-medium uppercase tracking-wider text-ink-500 lg:px-6 lg:py-3&quot;,children:&quot;Pays&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-2 text-left text-xs font-medium uppercase tracking-wider text-ink-500 lg:px-6 lg:py-3&quot;,children:&quot;Statut&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200 bg-white&quot;,children:e.map(t=&gt;c.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-brand-50&quot;,children:[c.jsx(&quot;td&quot;,{className:&quot;whitespace-nowrap px-4 py-3 lg:px-6 lg:py-4&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-900&quot;,children:t.email})}),c.jsx(&quot;td&quot;,{className:&quot;whitespace-nowrap px-4 py-3 lg:px-6 lg:py-4&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:t.country||&quot;—&quot;})}),c.jsx(&quot;td&quot;,{className:&quot;whitespace-nowrap px-4 py-3 lg:px-6 lg:py-4&quot;,children:c.jsx(gl,{status:t.status})})]},t.id))})]})})]})}const Zs=&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;;function G4({recommendation:e,openMenuId:r,setOpenMenuId:t,onViewDetails:n,onTreat:o,onDelete:i,canDelete:a,compact:u}){const l=[];return a&amp;&amp;i&amp;&amp;l.push({id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,onSelect:()=&gt;i(e)}),c.jsx(po,{rowId:e.id,openMenuId:r,setOpenMenuId:t,compact:u,onView:()=&gt;n(e),onEdit:o?()=&gt;o(e):void 0,editLabel:&quot;Traiter&quot;,menuItems:l})}function MB({recommendations:e,loading:r,onViewDetails:t,onTreat:n,onDelete:o,canDelete:i}){const[a,u]=L.useState(null);return r?c.jsx(mC,{}):e.length===0?c.jsx(pC,{message:&quot;Aucune recommandation trouvée&quot;}):c.jsxs(dC,{children:[c.jsx(fC,{children:e.map(l=&gt;{const s=new Date(l.created_at).toLocaleDateString(&quot;fr-FR&quot;),d=`${l.recommender_first_name} ${l.recommender_last_name}`.trim();return c.jsxs(&quot;div&quot;,{role:&quot;button&quot;,tabIndex:0,className:&quot;overflow-visible rounded-lg border border-gray-200 bg-white p-3 shadow-sm outline-none ring-brand-700 focus-visible:ring-2&quot;,onClick:()=&gt;t(l),onKeyDown:f=&gt;{(f.key===&quot;Enter&quot;||f.key===&quot; &quot;)&amp;&amp;(f.preventDefault(),t(l))},children:[c.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 gap-2 overflow-visible&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;truncate text-sm font-semibold text-ink-900&quot;,title:l.recommended_full_name||void 0,children:l.recommended_full_name||&quot;—&quot;}),c.jsx(&quot;p&quot;,{className:&quot;truncate text-xs text-ink-500&quot;,title:l.recommended_email||void 0,children:l.recommended_email||&quot;—&quot;})]}),c.jsx(G4,{recommendation:l,openMenuId:a,setOpenMenuId:u,onViewDetails:t,onTreat:n,onDelete:o,canDelete:i,compact:!0})]}),c.jsxs(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center gap-2&quot;,children:[c.jsx(gl,{status:l.status,compact:!0}),c.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:s})]}),d?c.jsxs(&quot;p&quot;,{className:&quot;mt-1 truncate text-xs text-ink-500&quot;,title:d,children:[&quot;Par &quot;,d]}):null]},l.id)})}),c.jsx(hC,{children:c.jsxs(&quot;table&quot;,{className:&quot;w-full min-w-0 table-fixed border-collapse&quot;,children:[c.jsxs(&quot;colgroup&quot;,{children:[c.jsx(&quot;col&quot;,{style:{width:&quot;13%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;16%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;10%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;8%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;12%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;13%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;10%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;9%&quot;}}),c.jsx(&quot;col&quot;,{style:{width:&quot;9%&quot;}})]}),c.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:Cn,children:&quot;Recommandé&quot;}),c.jsx(&quot;th&quot;,{className:Cn,children:&quot;Email&quot;}),c.jsx(&quot;th&quot;,{className:Cn,children:&quot;Profession&quot;}),c.jsx(&quot;th&quot;,{className:Cn,children:&quot;Pays&quot;}),c.jsx(&quot;th&quot;,{className:Cn,children:&quot;Recommandeur&quot;}),c.jsx(&quot;th&quot;,{className:Cn,children:&quot;Événement&quot;}),c.jsx(&quot;th&quot;,{className:Cn,children:&quot;Statut&quot;}),c.jsx(&quot;th&quot;,{className:Cn,children:&quot;Créé&quot;}),c.jsx(&quot;th&quot;,{className:`${Cn} text-right`,children:&quot;Actions&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200 bg-white&quot;,children:e.map(l=&gt;{const s=`${l.recommender_first_name} ${l.recommender_last_name}`.trim();return c.jsxs(&quot;tr&quot;,{className:&quot;cursor-pointer hover:bg-brand-50&quot;,onClick:()=&gt;t(l),children:[c.jsxs(&quot;td&quot;,{className:Zs,children:[c.jsx(&quot;div&quot;,{className:&quot;truncate text-xs font-medium text-ink-900 sm:text-sm&quot;,title:l.recommended_full_name||void 0,children:l.recommended_full_name||&quot;—&quot;}),c.jsx(&quot;div&quot;,{className:&quot;truncate text-[10px] text-ink-500 sm:text-xs&quot;,children:l.recommended_gender===&quot;homme&quot;?&quot;Homme&quot;:&quot;Femme&quot;})]}),c.jsx(&quot;td&quot;,{className:Zs,children:c.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:l.recommended_email||void 0,children:l.recommended_email||&quot;-&quot;})}),c.jsx(&quot;td&quot;,{className:Zs,children:c.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:l.recommended_profession||void 0,children:l.recommended_profession||&quot;-&quot;})}),c.jsx(&quot;td&quot;,{className:Zs,children:c.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:l.recommended_residence_country||void 0,children:l.recommended_residence_country||&quot;-&quot;})}),c.jsx(&quot;td&quot;,{className:Zs,children:c.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:s||void 0,children:s||&quot;-&quot;})}),c.jsx(&quot;td&quot;,{className:Zs,children:c.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:l.event?.name||void 0,children:l.event?.name||&quot;-&quot;})}),c.jsx(&quot;td&quot;,{className:Zs,children:c.jsx(gl,{status:l.status,compact:!0})}),c.jsx(&quot;td&quot;,{className:`${Zs} whitespace-nowrap text-xs text-ink-500 sm:text-sm`,children:new Date(l.created_at).toLocaleDateString(&quot;fr-FR&quot;)}),c.jsx(&quot;td&quot;,{className:`${Zs} whitespace-nowrap px-1 text-right sm:px-2`,children:c.jsx(G4,{recommendation:l,openMenuId:a,setOpenMenuId:u,onViewDetails:t,onTreat:n,onDelete:o,canDelete:i})})]},l.id)})})]})})]})}function OB({registration:e,isOpen:r,onClose:t,onUpdateStatus:n,canUpdateStatus:o=!1,onResetParticipantPassword:i}){return!r||!e?null:c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),c.jsxs(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-4xl sm:w-full&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsxs(&quot;h3&quot;,{className:&quot;text-2xl font-semibold text-ink-900&quot;,children:[&quot;Inscription #&quot;,e.id]}),c.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:c.jsx(hr,{size:24})})]}),o&amp;&amp;n||i&amp;&amp;Fy(e)?c.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex flex-wrap gap-2&quot;,children:[o&amp;&amp;n&amp;&amp;c.jsx(Le,{variant:&quot;primary&quot;,onClick:()=&gt;{n(e)},children:&quot;Changer le statut&quot;}),i&amp;&amp;Fy(e)&amp;&amp;c.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;i(e),children:&quot;Initialiser le mot de passe participant&quot;})]}):null,c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-6&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations personnelles&quot;}),c.jsxs(&quot;dl&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nom complet&quot;}),c.jsxs(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:[e.first_name,&quot; &quot;,e.last_name]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Email&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.email})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Téléphone&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.phone||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Pays&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.country||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Ville&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.city||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nationalité&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.nationality||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Organisation&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.organization||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Poste&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.position||&quot;-&quot;})]})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations inscription&quot;}),c.jsxs(&quot;dl&quot;,{className:&quot;space-y-2&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Statut&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm&quot;,children:c.jsx(gl,{status:e.status})})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Événement&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.event?.name||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Formule&quot;}),c.jsxs(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:[e.pricing_plan?.code,&quot; - &quot;,e.pricing_plan?.title||&quot;-&quot;]})]}),e.pricing_plan?.code===&quot;D&quot;&amp;&amp;(e.spouse_fullname||e.spouse_email||e.spouse_haggai_id)&amp;&amp;c.jsxs(c.Fragment,{children:[e.spouse_fullname&amp;&amp;c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nom du conjoint / de la conjointe&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_fullname})]}),e.spouse_email&amp;&amp;c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Email du conjoint / de la conjointe&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_email})]}),e.spouse_haggai_id&amp;&amp;c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Haggai ID / Année de HLE (conjoint)&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_haggai_id})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Montant dû (XOF)&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.amount_due_xof?.toLocaleString(&quot;fr-FR&quot;)||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Montant dû (EUR)&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.amount_due_eur?.toLocaleString(&quot;fr-FR&quot;)||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de création&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:new Date(e.created_at).toLocaleString(&quot;fr-FR&quot;)})]}),e.submitted_at&amp;&amp;c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de soumission&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:new Date(e.submitted_at).toLocaleString(&quot;fr-FR&quot;)})]}),e.paid_at&amp;&amp;c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de paiement&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:new Date(e.paid_at).toLocaleString(&quot;fr-FR&quot;)})]}),e.is_public_registration&amp;&amp;c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Type&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:c.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center px-2 py-1 rounded bg-blue-100 text-blue-700 text-xs&quot;,children:&quot;Inscription publique&quot;})})]})]})]}),e.event?.event_type===&quot;seminar&quot;&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Séminaire&quot;}),c.jsxs(&quot;dl&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-x-6 gap-y-2&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Souhaite participer&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_want_to_participate===&quot;oui&quot;?&quot;Oui&quot;:e.seminar_want_to_participate===&quot;non&quot;?&quot;Non&quot;:&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Église ou organisation&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_church_organization||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Rôle/Ministère&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_role_ministry||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Situation matrimoniale&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_marital_status===&quot;marie&quot;?&quot;Marié(e)&quot;:e.seminar_marital_status===&quot;non_marie&quot;?&quot;Non marié(e)&quot;:&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Âge&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_age??&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Genre&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_gender===&quot;homme&quot;?&quot;Homme&quot;:e.seminar_gender===&quot;femme&quot;?&quot;Femme&quot;:&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Question ou préoccupation&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_question_or_concern||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de naissance&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_date_naissance?new Date(e.seminar_date_naissance).toLocaleDateString(&quot;fr-FR&quot;):&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Contact d&#039;urgence (nom et lien)&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_contact_urgence_nom_lien||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Niveau d&#039;études&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_niveau_etudes===&quot;primaire&quot;?&quot;Primaire&quot;:e.seminar_niveau_etudes===&quot;secondaire_2&quot;?&quot;Secondaire 2e cycle&quot;:e.seminar_niveau_etudes===&quot;universitaire&quot;?&quot;Universitaire&quot;:e.seminar_niveau_etudes||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Domaines d&#039;étude&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_domaines_etude?.length?e.seminar_domaines_etude.join(&quot;, &quot;):&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Domaine d&#039;étude (autre)&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_domaine_etude_autre||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Niveau de français&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_niveau_francais===&quot;natif&quot;?&quot;Natif&quot;:e.seminar_niveau_francais===&quot;avance&quot;?&quot;Avancé&quot;:e.seminar_niveau_francais===&quot;intermediaire&quot;?&quot;Intermédiaire&quot;:e.seminar_niveau_francais===&quot;faible&quot;?&quot;Faible&quot;:e.seminar_niveau_francais||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Besoin lettre d&#039;absence&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_besoin_lettre_absence===&quot;oui&quot;?&quot;Oui&quot;:e.seminar_besoin_lettre_absence===&quot;non&quot;?&quot;Non&quot;:&quot;-&quot;})]}),e.seminar_besoin_lettre_absence===&quot;oui&quot;&amp;&amp;c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Détails lettre d&#039;absence&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_besoin_lettre_details||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Informations santé&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_sante_details||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Régime sans sel&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_regime_sans_sel===&quot;oui&quot;?&quot;Oui&quot;:e.seminar_regime_sans_sel===&quot;non&quot;?&quot;Non&quot;:&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Confession religieuse&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_confession_religieuse===&quot;musulmane&quot;?&quot;Musulmane&quot;:e.seminar_confession_religieuse===&quot;catholique&quot;?&quot;Catholique&quot;:e.seminar_confession_religieuse===&quot;protestante&quot;?&quot;Protestante&quot;:e.seminar_confession_religieuse===&quot;pentecotiste&quot;?&quot;Pentecôtiste&quot;:e.seminar_confession_religieuse===&quot;evangelique&quot;?&quot;Évangélique&quot;:e.seminar_confession_religieuse===&quot;autre&quot;?&quot;Autre&quot;:e.seminar_confession_religieuse||&quot;-&quot;})]}),e.seminar_confession_religieuse_autre?c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Spécification (confession)&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_confession_religieuse_autre})]}):null,c.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Attentes&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_fardeau_transformation||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Recommandé par&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_recommande_par||&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Engagements&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_engagements?.length?e.seminar_engagements.join(&quot;, &quot;):&quot;-&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Engagements (autre)&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_engagements_autre||&quot;-&quot;})]})]})]})]}),e.status_changes&amp;&amp;e.status_changes.length&gt;0&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mt-6&quot;,children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Historique des changements&quot;}),c.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:e.status_changes.map(a=&gt;c.jsx(&quot;div&quot;,{className:&quot;bg-brand-50 rounded-lg p-4 border-l-4 border-brand-700&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:[a.from_status,&quot; → &quot;,a.to_status]}),a.notes&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:a.notes})]}),c.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:a.actor?.name||&quot;Système&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:new Date(a.created_at).toLocaleString(&quot;fr-FR&quot;)})]})]})},a.id))})]})]}),c.jsx(&quot;div&quot;,{className:&quot;bg-gray-50 px-6 py-4 flex justify-end&quot;,children:c.jsx(Le,{variant:&quot;secondary&quot;,onClick:t,children:&quot;Fermer&quot;})})]})]})})}function PB({registration:e,onClose:r,onSuccess:t}){const[n,o]=L.useState(&quot;&quot;),[i,a]=L.useState(&quot;&quot;),[u,l]=L.useState(!1),[s,d]=L.useState(null),[f,h]=L.useState({}),m=`${e.first_name} ${e.last_name}`.trim()||e.email,p=async b=&gt;{if(b.preventDefault(),d(null),h({}),n.length&lt;8){h({password:&quot;Le mot de passe doit contenir au moins 8 caractères.&quot;});return}if(n!==i){h({password_confirmation:&quot;Les deux mots de passe ne correspondent pas.&quot;});return}l(!0);try{await ho.resetParticipantPassword(e.id,{password:n,password_confirmation:i}),t()}catch(g){const y=g;if(d(y.data?.message??&quot;Erreur lors de l’initialisation du mot de passe.&quot;),y.data?.errors){const v={};for(const[_,C]of Object.entries(y.data.errors))v[_]=Array.isArray(C)?C[0]:String(C);h(v)}}finally{l(!1)}};return c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-[210] flex items-center justify-center p-4 bg-black/50&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full p-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Initialiser le mot de passe participant&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:c.jsx(hr,{size:20})})]}),c.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 text-sm mb-4&quot;,children:[&quot;Définir un mot de passe provisoire pour &quot;,c.jsx(&quot;strong&quot;,{children:m}),&quot; (&quot;,e.email,&quot;). Les sessions actives seront déconnectées ; à la &quot;,c.jsx(&quot;strong&quot;,{children:&quot;première&quot;}),&quot; connexion suivante, le participant devra&quot;,&quot; &quot;,c.jsx(&quot;strong&quot;,{children:&quot;obligatoirement&quot;}),&quot; choisir un nouveau mot de passe.&quot;]}),c.jsxs(&quot;form&quot;,{onSubmit:p,children:[s&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:s}),c.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;reset-participant-password&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nouveau mot de passe&quot;}),c.jsx(&quot;input&quot;,{id:&quot;reset-participant-password&quot;,type:&quot;password&quot;,value:n,onChange:b=&gt;o(b.target.value),minLength:8,autoComplete:&quot;new-password&quot;,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:&quot;Min. 8 caractères&quot;}),f.password&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:f.password})]}),c.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;reset-participant-password-confirm&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Confirmer le mot de passe&quot;}),c.jsx(&quot;input&quot;,{id:&quot;reset-participant-password-confirm&quot;,type:&quot;password&quot;,value:i,onChange:b=&gt;a(b.target.value),autoComplete:&quot;new-password&quot;,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:&quot;Confirmer&quot;}),f.password_confirmation&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:f.password_confirmation})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,disabled:u,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:u,children:u?&quot;Enregistrement…&quot;:&quot;Initialiser&quot;})]})]})]})})}const Oh=[{value:&quot;draft&quot;,label:&quot;Brouillon&quot;},{value:&quot;submitted&quot;,label:&quot;Soumis&quot;},{value:&quot;pending_payment&quot;,label:&quot;En attente de paiement&quot;},{value:&quot;correction&quot;,label:&quot;Dossier en correction&quot;},{value:&quot;paid&quot;,label:&quot;Payé&quot;},{value:&quot;rejected&quot;,label:&quot;Rejeté&quot;},{value:&quot;cancelled&quot;,label:&quot;Annulé&quot;},{value:&quot;refunded&quot;,label:&quot;Remboursé&quot;}];function TB({registration:e,isOpen:r,onClose:t,onSuccess:n,canSendToCorrection:o=!1}){const[i,a]=L.useState(&quot;draft&quot;),[u,l]=L.useState(&quot;&quot;),[s,d]=L.useState(!1),[f,h]=L.useState(null),m=L.useMemo(()=&gt;e?e.status===&quot;correction&quot;?Oh.filter(_=&gt;_.value===&quot;pending_payment&quot;):e.status===&quot;pending_payment&quot;?Oh.filter(_=&gt;_.value!==&quot;submitted&quot;&amp;&amp;(_.value!==&quot;correction&quot;||o)):Oh:Oh,[e?.status,o]),b=i===&quot;correction&quot;,g=10;L.useEffect(()=&gt;{e&amp;&amp;(a(e.status),l(&quot;&quot;),h(null))},[e,r]),L.useEffect(()=&gt;{e&amp;&amp;m.length&gt;0&amp;&amp;!m.some(_=&gt;_.value===i)&amp;&amp;a(m[0].value)},[m,e,i]);const y=async _=&gt;{if(_.preventDefault(),!!e){if(b&amp;&amp;(!u.trim()||u.trim().length&lt;g)){h(`La raison de la mise en correction est obligatoire (min. ${g} caractères).`);return}d(!0),h(null);try{await ho.updateStatus(e.id,{status:i,notes:u.trim()||void 0}),n(),t()}catch(C){if(C instanceof Kt)if(C.status===422&amp;&amp;C.data.errors){const O=C.data.errors.notes?.[0],T=C.data.errors.status?.[0];h(O||T||C.data.message||&quot;Erreur de validation&quot;)}else C.status===403?h(&quot;Vous n&#039;avez pas la permission de modifier le statut&quot;):h(C.data.message||&quot;Une erreur est survenue&quot;);else h(&quot;Une erreur inattendue est survenue&quot;)}finally{d(!1)}}};if(!r||!e)return null;const v=e.status===&quot;correction&quot;&amp;&amp;i===&quot;pending_payment&quot;;return c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),c.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:v?&quot;Terminer la correction&quot;:&quot;Changer le statut&quot;}),c.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:c.jsx(hr,{size:24})})]}),c.jsxs(&quot;form&quot;,{onSubmit:y,className:&quot;space-y-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Statut actuel&quot;}),c.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-900 bg-brand-50 px-4 py-2 rounded-lg&quot;,children:e.status})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Nouveau statut &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;select&quot;,{value:i,onChange:_=&gt;a(_.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,required:!0,children:m.map(_=&gt;c.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value))})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:b?c.jsxs(c.Fragment,{children:[&quot;Raison de la mise en correction &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;}),&quot; (min. 10 caractères)&quot;]}):&quot;Notes (optionnel)&quot;}),c.jsx(&quot;textarea&quot;,{value:u,onChange:_=&gt;l(_.target.value),rows:4,maxLength:1e3,required:b,minLength:b?g:void 0,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,placeholder:b?&quot;Indiquez la raison de la mise en correction...&quot;:&quot;Ajouter des notes sur ce changement de statut...&quot;}),c.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:[u.length,&quot;/1000 caractères&quot;,b&amp;&amp;u.trim().length&gt;0&amp;&amp;u.trim().length&lt;g&amp;&amp;c.jsxs(&quot;span&quot;,{className:&quot;text-amber-600 ml-1&quot;,children:[&quot;(min. &quot;,g,&quot; requis)&quot;]})]})]}),f&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:f})}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:s,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:s,children:s?&quot;Enregistrement...&quot;:v?&quot;Terminer la correction&quot;:&quot;Enregistrer&quot;})]})]})]})})]})})}function IB({registration:e,isOpen:r,onClose:t,onSuccess:n}){const[o,i]=L.useState(!1),[a,u]=L.useState(null),[l,s]=L.useState({first_name:&quot;&quot;,last_name:&quot;&quot;,email:&quot;&quot;,phone:&quot;&quot;,country:&quot;&quot;,city:&quot;&quot;,organization:&quot;&quot;,position:&quot;&quot;,nationality:&quot;&quot;,is_haggai_leader:!1,haggai_id:&quot;&quot;,payment_method_selected:&quot;&quot;,currency_selected:&quot;&quot;,amount_due_xof:&quot;&quot;,amount_due_eur:&quot;&quot;,pricing_plan_id:&quot;&quot;,ouaga_resident_confirmed:!1,spouse_fullname:&quot;&quot;,spouse_email:&quot;&quot;,spouse_haggai_id:&quot;&quot;,seminar_intent:&quot;&quot;,seminar_want_to_participate:&quot;&quot;,seminar_church_organization:&quot;&quot;,seminar_role_ministry:&quot;&quot;,seminar_marital_status:&quot;&quot;,seminar_age:&quot;&quot;,seminar_gender:&quot;&quot;,seminar_question_or_concern:&quot;&quot;,seminar_date_naissance:&quot;&quot;,seminar_contact_urgence_nom_lien:&quot;&quot;,seminar_niveau_etudes:&quot;&quot;,seminar_domaines_etude:&quot;&quot;,seminar_domaine_etude_autre:&quot;&quot;,seminar_niveau_francais:&quot;&quot;,seminar_besoin_lettre_absence:&quot;&quot;,seminar_besoin_lettre_details:&quot;&quot;,seminar_sante_details:&quot;&quot;,seminar_regime_sans_sel:&quot;&quot;,seminar_confession_religieuse:&quot;&quot;,seminar_confession_religieuse_autre:&quot;&quot;,seminar_fardeau_transformation:&quot;&quot;,seminar_recommande_par:&quot;&quot;,seminar_engagements:&quot;&quot;,seminar_engagements_autre:&quot;&quot;});L.useEffect(()=&gt;{e&amp;&amp;(s({first_name:e.first_name||&quot;&quot;,last_name:e.last_name||&quot;&quot;,email:e.email||&quot;&quot;,phone:e.phone||&quot;&quot;,country:e.country||&quot;&quot;,city:e.city||&quot;&quot;,organization:e.organization||&quot;&quot;,position:e.position||&quot;&quot;,nationality:e.nationality||&quot;&quot;,is_haggai_leader:e.is_haggai_leader||!1,haggai_id:e.haggai_id||&quot;&quot;,payment_method_selected:e.payment_method_selected||&quot;&quot;,currency_selected:e.currency_selected||&quot;&quot;,amount_due_xof:e.amount_due_xof?.toString()||&quot;&quot;,amount_due_eur:e.amount_due_eur?.toString()||&quot;&quot;,pricing_plan_id:e.pricing_plan_id?.toString()||e.pricing_plan?.id?.toString()||&quot;&quot;,ouaga_resident_confirmed:e.ouaga_resident_confirmed||!1,spouse_fullname:e.spouse_fullname||&quot;&quot;,spouse_email:e.spouse_email||&quot;&quot;,spouse_haggai_id:e.spouse_haggai_id||&quot;&quot;,seminar_intent:e.seminar_intent||&quot;&quot;,seminar_want_to_participate:e.seminar_want_to_participate||&quot;&quot;,seminar_church_organization:e.seminar_church_organization||&quot;&quot;,seminar_role_ministry:e.seminar_role_ministry||&quot;&quot;,seminar_marital_status:e.seminar_marital_status||&quot;&quot;,seminar_age:e.seminar_age?.toString()||&quot;&quot;,seminar_gender:e.seminar_gender||&quot;&quot;,seminar_question_or_concern:e.seminar_question_or_concern||&quot;&quot;,seminar_date_naissance:(()=&gt;{const g=e.seminar_date_naissance;return g?typeof g==&quot;string&quot;&amp;&amp;g.includes(&quot;T&quot;)?g.split(&quot;T&quot;)[0]:String(g).slice(0,10):&quot;&quot;})(),seminar_contact_urgence_nom_lien:e.seminar_contact_urgence_nom_lien||&quot;&quot;,seminar_niveau_etudes:e.seminar_niveau_etudes||&quot;&quot;,seminar_domaines_etude:Array.isArray(e.seminar_domaines_etude)?e.seminar_domaines_etude.join(&quot;, &quot;):&quot;&quot;,seminar_domaine_etude_autre:e.seminar_domaine_etude_autre||&quot;&quot;,seminar_niveau_francais:e.seminar_niveau_francais||&quot;&quot;,seminar_besoin_lettre_absence:e.seminar_besoin_lettre_absence||&quot;&quot;,seminar_besoin_lettre_details:e.seminar_besoin_lettre_details||&quot;&quot;,seminar_sante_details:e.seminar_sante_details||&quot;&quot;,seminar_regime_sans_sel:e.seminar_regime_sans_sel||&quot;&quot;,seminar_confession_religieuse:e.seminar_confession_religieuse||&quot;&quot;,seminar_confession_religieuse_autre:e.seminar_confession_religieuse_autre||&quot;&quot;,seminar_fardeau_transformation:e.seminar_fardeau_transformation||&quot;&quot;,seminar_recommande_par:e.seminar_recommande_par||&quot;&quot;,seminar_engagements:Array.isArray(e.seminar_engagements)?e.seminar_engagements.join(&quot;, &quot;):&quot;&quot;,seminar_engagements_autre:e.seminar_engagements_autre||&quot;&quot;}),u(null))},[e,r]);const d=e?.event?.event_type===&quot;summit&quot;,f=e?.event?.event_type===&quot;seminar&quot;,h=e?.status===&quot;correction&quot;,m=e?.event?.slug??null,{plans:p}=aC(d&amp;&amp;h?m:null),b=async g=&gt;{if(g.preventDefault(),!!e){i(!0),u(null);try{const y={first_name:l.first_name.trim(),last_name:l.last_name.trim(),email:l.email.trim().toLowerCase(),phone:l.phone.trim(),country:l.country.trim(),city:l.city.trim()||void 0,organization:l.organization.trim()||void 0,position:l.position.trim()||void 0,nationality:l.nationality.trim()||void 0,is_haggai_leader:l.is_haggai_leader,haggai_id:l.haggai_id.trim()||void 0,payment_method_selected:l.payment_method_selected||void 0};h&amp;&amp;(l.pricing_plan_id&amp;&amp;(y.pricing_plan_id=Number(l.pricing_plan_id)),y.currency_selected=l.currency_selected||void 0,y.amount_due_xof=l.amount_due_xof?parseFloat(l.amount_due_xof):void 0,y.amount_due_eur=l.amount_due_eur?parseFloat(l.amount_due_eur):void 0),d&amp;&amp;(y.ouaga_resident_confirmed=l.ouaga_resident_confirmed,y.spouse_fullname=l.spouse_fullname.trim()||void 0,y.spouse_email=l.spouse_email.trim()||void 0,y.spouse_haggai_id=l.spouse_haggai_id.trim()||void 0),f&amp;&amp;(y.seminar_intent=l.seminar_intent||void 0,y.seminar_want_to_participate=l.seminar_want_to_participate||void 0,y.seminar_church_organization=l.seminar_church_organization.trim()||void 0,y.seminar_role_ministry=l.seminar_role_ministry.trim()||void 0,y.seminar_marital_status=l.seminar_marital_status||void 0,y.seminar_age=l.seminar_age?parseInt(l.seminar_age):void 0,y.seminar_gender=l.seminar_gender||void 0,y.seminar_question_or_concern=l.seminar_question_or_concern.trim()||void 0,y.seminar_date_naissance=l.seminar_date_naissance?.trim()||void 0,y.seminar_contact_urgence_nom_lien=l.seminar_contact_urgence_nom_lien.trim()||void 0,y.seminar_niveau_etudes=l.seminar_niveau_etudes||void 0,y.seminar_domaines_etude=l.seminar_domaines_etude?.trim()?l.seminar_domaines_etude.split(&quot;,&quot;).map(v=&gt;v.trim()).filter(Boolean):void 0,y.seminar_domaine_etude_autre=l.seminar_domaine_etude_autre.trim()||void 0,y.seminar_niveau_francais=l.seminar_niveau_francais||void 0,y.seminar_besoin_lettre_absence=l.seminar_besoin_lettre_absence||void 0,y.seminar_besoin_lettre_details=l.seminar_besoin_lettre_details.trim()||void 0,y.seminar_sante_details=l.seminar_sante_details.trim()||void 0,y.seminar_regime_sans_sel=l.seminar_regime_sans_sel||void 0,y.seminar_confession_religieuse=l.seminar_confession_religieuse||void 0,y.seminar_confession_religieuse_autre=l.seminar_confession_religieuse===&quot;autre&quot;?l.seminar_confession_religieuse_autre.trim()||void 0:null,y.seminar_fardeau_transformation=l.seminar_fardeau_transformation.trim()||void 0,y.seminar_recommande_par=l.seminar_recommande_par.trim()||void 0,y.seminar_engagements=l.seminar_engagements?.trim()?l.seminar_engagements.split(&quot;,&quot;).map(v=&gt;v.trim()).filter(Boolean):void 0,y.seminar_engagements_autre=l.seminar_engagements_autre.trim()||void 0),await ho.update(e.id,y),n(),t()}catch(y){if(y instanceof Kt)if(y.status===422&amp;&amp;y.data.errors){const v=Object.values(y.data.errors).flat();u(v.join(&quot;, &quot;))}else y.status===403?u(&quot;Vous n&#039;avez pas la permission de modifier cette inscription&quot;):u(y.data.message||&quot;Une erreur est survenue&quot;);else u(&quot;Une erreur inattendue est survenue&quot;)}finally{i(!1)}}};return!r||!e?null:c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),c.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-4xl sm:w-full max-h-[90vh] overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Modifier l&#039;inscription #&quot;,e.id]}),c.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:c.jsx(hr,{size:24})})]}),c.jsxs(&quot;form&quot;,{onSubmit:b,className:&quot;space-y-6&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations personnelles&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.first_name,onChange:g=&gt;s({...l,first_name:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,required:!0})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.last_name,onChange:g=&gt;s({...l,last_name:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,required:!0})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:l.email,onChange:g=&gt;s({...l,email:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,required:!0})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Téléphone&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.phone,onChange:g=&gt;s({...l,phone:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Pays&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.country,onChange:g=&gt;s({...l,country:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Ville&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.city,onChange:g=&gt;s({...l,city:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Organisation&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.organization,onChange:g=&gt;s({...l,organization:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Poste&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.position,onChange:g=&gt;s({...l,position:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Nationalité&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.nationality,onChange:g=&gt;s({...l,nationality:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 mt-6&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:l.is_haggai_leader,onChange:g=&gt;s({...l,is_haggai_leader:g.target.checked}),className:&quot;rounded&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Leader Haggai&quot;})]}),l.is_haggai_leader&amp;&amp;c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.haggai_id,onChange:g=&gt;s({...l,haggai_id:g.target.value}),placeholder:&quot;Haggai ID ou Année de HLE&quot;,className:&quot;w-full mt-2 px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations paiement&quot;}),!h&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-3&quot;,children:&quot;La formule, la devise et le montant ne peuvent être modifiés que lorsque le dossier est en statut « Dossier en correction ».&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[d&amp;&amp;c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Formule (solo/couple)&quot;}),c.jsxs(&quot;select&quot;,{value:l.pricing_plan_id,onChange:g=&gt;s({...l,pricing_plan_id:g.target.value}),disabled:!h,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent disabled:bg-gray-100 disabled:cursor-not-allowed&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),p.map(g=&gt;c.jsxs(&quot;option&quot;,{value:g.id,children:[g.code,&quot; - &quot;,g.title,&quot; (&quot;,g.price_xof,&quot; XOF / &quot;,g.price_eur,&quot; EUR)&quot;]},g.id))]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Méthode de paiement&quot;}),c.jsxs(&quot;select&quot;,{value:l.payment_method_selected,onChange:g=&gt;s({...l,payment_method_selected:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),c.jsx(&quot;option&quot;,{value:&quot;card_visa&quot;,children:&quot;Carte de crédit (Visa)&quot;}),c.jsx(&quot;option&quot;,{value:&quot;paypal&quot;,children:&quot;PayPal&quot;}),c.jsx(&quot;option&quot;,{value:&quot;mobile_money&quot;,children:&quot;Mobile Money&quot;}),c.jsx(&quot;option&quot;,{value:&quot;national_office&quot;,children:&quot;Bureau National&quot;})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Devise&quot;}),c.jsxs(&quot;select&quot;,{value:l.currency_selected,onChange:g=&gt;s({...l,currency_selected:g.target.value}),disabled:!h,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent disabled:bg-gray-100 disabled:cursor-not-allowed&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),c.jsx(&quot;option&quot;,{value:&quot;XOF&quot;,children:&quot;XOF&quot;}),c.jsx(&quot;option&quot;,{value:&quot;EUR&quot;,children:&quot;EUR&quot;})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Montant dû (XOF)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;number&quot;,step:&quot;0.01&quot;,value:l.amount_due_xof,onChange:g=&gt;s({...l,amount_due_xof:g.target.value}),disabled:!h,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent disabled:bg-gray-100 disabled:cursor-not-allowed&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Montant dû (EUR)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;number&quot;,step:&quot;0.01&quot;,value:l.amount_due_eur,onChange:g=&gt;s({...l,amount_due_eur:g.target.value}),disabled:!h,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent disabled:bg-gray-100 disabled:cursor-not-allowed&quot;})]})]})]}),d&amp;&amp;c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Sommet&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[c.jsx(&quot;div&quot;,{children:c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:l.ouaga_resident_confirmed,onChange:g=&gt;s({...l,ouaga_resident_confirmed:g.target.checked}),className:&quot;rounded&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Résident à Ouaga&quot;})]})}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Nom du conjoint / de la conjointe&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.spouse_fullname,onChange:g=&gt;s({...l,spouse_fullname:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Email du conjoint / de la conjointe&quot;}),c.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:l.spouse_email,onChange:g=&gt;s({...l,spouse_email:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Haggai ID / Année de HLE (conjoint / conjointe)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.spouse_haggai_id,onChange:g=&gt;s({...l,spouse_haggai_id:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]})]})]}),f&amp;&amp;c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Séminaire&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Veut participer&quot;}),c.jsxs(&quot;select&quot;,{value:l.seminar_want_to_participate,onChange:g=&gt;s({...l,seminar_want_to_participate:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),c.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),c.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Église/Organisation&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_church_organization,onChange:g=&gt;s({...l,seminar_church_organization:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_role_ministry,onChange:g=&gt;s({...l,seminar_role_ministry:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Situation matrimoniale&quot;}),c.jsxs(&quot;select&quot;,{value:l.seminar_marital_status,onChange:g=&gt;s({...l,seminar_marital_status:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),c.jsx(&quot;option&quot;,{value:&quot;marie&quot;,children:&quot;Marié(e)&quot;}),c.jsx(&quot;option&quot;,{value:&quot;non_marie&quot;,children:&quot;Non marié(e)&quot;})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Âge&quot;}),c.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:&quot;1&quot;,max:&quot;120&quot;,value:l.seminar_age,onChange:g=&gt;s({...l,seminar_age:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Genre&quot;}),c.jsxs(&quot;select&quot;,{value:l.seminar_gender,onChange:g=&gt;s({...l,seminar_gender:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),c.jsx(&quot;option&quot;,{value:&quot;homme&quot;,children:&quot;Homme&quot;}),c.jsx(&quot;option&quot;,{value:&quot;femme&quot;,children:&quot;Femme&quot;})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),c.jsx(&quot;textarea&quot;,{value:l.seminar_question_or_concern,onChange:g=&gt;s({...l,seminar_question_or_concern:g.target.value}),rows:3,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),c.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:l.seminar_date_naissance,onChange:g=&gt;s({...l,seminar_date_naissance:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Contact d&#039;urgence (nom et lien)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_contact_urgence_nom_lien,onChange:g=&gt;s({...l,seminar_contact_urgence_nom_lien:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Niveau d&#039;études&quot;}),c.jsxs(&quot;select&quot;,{value:l.seminar_niveau_etudes,onChange:g=&gt;s({...l,seminar_niveau_etudes:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),c.jsx(&quot;option&quot;,{value:&quot;primaire&quot;,children:&quot;Primaire&quot;}),c.jsx(&quot;option&quot;,{value:&quot;secondaire_2&quot;,children:&quot;Secondaire 2e cycle&quot;}),c.jsx(&quot;option&quot;,{value:&quot;universitaire&quot;,children:&quot;Universitaire&quot;})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Domaines d&#039;étude (séparés par des virgules)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_domaines_etude,onChange:g=&gt;s({...l,seminar_domaines_etude:g.target.value}),placeholder:&quot;ex. Théologie, Éducation&quot;,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Domaine d&#039;étude (autre)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_domaine_etude_autre,onChange:g=&gt;s({...l,seminar_domaine_etude_autre:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Niveau de français&quot;}),c.jsxs(&quot;select&quot;,{value:l.seminar_niveau_francais,onChange:g=&gt;s({...l,seminar_niveau_francais:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),c.jsx(&quot;option&quot;,{value:&quot;natif&quot;,children:&quot;Natif&quot;}),c.jsx(&quot;option&quot;,{value:&quot;avance&quot;,children:&quot;Avancé&quot;}),c.jsx(&quot;option&quot;,{value:&quot;intermediaire&quot;,children:&quot;Intermédiaire&quot;}),c.jsx(&quot;option&quot;,{value:&quot;faible&quot;,children:&quot;Faible&quot;})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Besoin lettre d&#039;absence&quot;}),c.jsxs(&quot;select&quot;,{value:l.seminar_besoin_lettre_absence,onChange:g=&gt;s({...l,seminar_besoin_lettre_absence:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),c.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),c.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Détails lettre d&#039;absence&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_besoin_lettre_details,onChange:g=&gt;s({...l,seminar_besoin_lettre_details:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Informations santé&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_sante_details,onChange:g=&gt;s({...l,seminar_sante_details:g.target.value}),placeholder:&quot;Indiquez « Aucun » si applicable&quot;,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Régime sans sel&quot;}),c.jsxs(&quot;select&quot;,{value:l.seminar_regime_sans_sel,onChange:g=&gt;s({...l,seminar_regime_sans_sel:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),c.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),c.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Confession religieuse&quot;}),c.jsxs(&quot;select&quot;,{value:l.seminar_confession_religieuse,onChange:g=&gt;{const y=g.target.value;s({...l,seminar_confession_religieuse:y,seminar_confession_religieuse_autre:y===&quot;autre&quot;?l.seminar_confession_religieuse_autre:&quot;&quot;})},className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),c.jsx(&quot;option&quot;,{value:&quot;musulmane&quot;,children:&quot;Musulmane&quot;}),c.jsx(&quot;option&quot;,{value:&quot;catholique&quot;,children:&quot;Catholique&quot;}),c.jsx(&quot;option&quot;,{value:&quot;protestante&quot;,children:&quot;Protestante&quot;}),c.jsx(&quot;option&quot;,{value:&quot;pentecotiste&quot;,children:&quot;Pentecôtiste&quot;}),c.jsx(&quot;option&quot;,{value:&quot;evangelique&quot;,children:&quot;Évangélique&quot;}),c.jsx(&quot;option&quot;,{value:&quot;autre&quot;,children:&quot;Autre&quot;})]})]}),l.seminar_confession_religieuse===&quot;autre&quot;&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Spécifiez :&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_confession_religieuse_autre,onChange:g=&gt;s({...l,seminar_confession_religieuse_autre:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Attentes&quot;}),c.jsx(&quot;textarea&quot;,{value:l.seminar_fardeau_transformation,onChange:g=&gt;s({...l,seminar_fardeau_transformation:g.target.value}),rows:2,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Recommandé par&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_recommande_par,onChange:g=&gt;s({...l,seminar_recommande_par:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Engagements (séparés par des virgules)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_engagements,onChange:g=&gt;s({...l,seminar_engagements:g.target.value}),placeholder:&quot;ex. Église locale, Évangélisation&quot;,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Engagements (autre)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_engagements_autre,onChange:g=&gt;s({...l,seminar_engagements_autre:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]})]})]}),a&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:a})}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4 border-t&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:o,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:o,children:o?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})]})})}function RB({registration:e,isOpen:r,onClose:t,onSuccess:n}){const[o,i]=L.useState(!1),[a,u]=L.useState(null),l=async()=&gt;{if(e){i(!0),u(null);try{await ho.delete(e.id),n(),t()}catch(s){s instanceof Kt?s.status===403?u(&quot;Vous n&#039;avez pas la permission de supprimer cette inscription&quot;):u(s.data.message||&quot;Une erreur est survenue lors de la suppression&quot;):u(&quot;Une erreur inattendue est survenue&quot;)}finally{i(!1)}}};return!r||!e?null:c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),c.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Supprimer l&#039;inscription&quot;}),c.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:c.jsx(hr,{size:24})})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4 mb-6&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;flex-shrink-0&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;flex items-center justify-center w-12 h-12 rounded-full bg-red-100&quot;,children:c.jsx(hF,{className:&quot;w-6 h-6 text-red-600&quot;})})}),c.jsxs(&quot;div&quot;,{className:&quot;flex-1&quot;,children:[c.jsx(&quot;h4&quot;,{className:&quot;text-lg font-medium text-ink-900 mb-2&quot;,children:&quot;Êtes-vous sûr de vouloir supprimer cette inscription ?&quot;}),c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-2&quot;,children:[&quot;Cette action est irréversible. L&#039;inscription #&quot;,e.id,&quot; de&quot;,&quot; &quot;,c.jsxs(&quot;strong&quot;,{children:[e.first_name,&quot; &quot;,e.last_name]}),&quot; sera définitivement supprimée.&quot;]}),e.event&amp;&amp;c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Événement: &quot;,c.jsx(&quot;strong&quot;,{children:e.event.name})]})]})]}),a&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3 mb-4&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:a})}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4 border-t&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:o,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:l,disabled:o,className:&quot;bg-red-600 hover:bg-red-700 text-white&quot;,children:o?&quot;Suppression...&quot;:&quot;Supprimer&quot;})]})]})})]})})}const DB=[{value:&quot;pending&quot;,label:&quot;En attente&quot;},{value:&quot;contacted&quot;,label:&quot;Contacté&quot;},{value:&quot;accepted&quot;,label:&quot;Accepté&quot;},{value:&quot;rejected&quot;,label:&quot;Rejeté&quot;}];function LB({recommendation:e,isOpen:r,onClose:t,onSuccess:n}){const[o,i]=L.useState(&quot;pending&quot;),[a,u]=L.useState(&quot;&quot;),[l,s]=L.useState(&quot;&quot;),[d,f]=L.useState(&quot;&quot;),[h,m]=L.useState(!1),[p,b]=L.useState(!1),[g,y]=L.useState(&quot;status&quot;),[v,_]=L.useState(!1),[C,O]=L.useState(null),[T,V]=L.useState(null);L.useEffect(()=&gt;{e&amp;&amp;(i(e.status),u(e.notes||&quot;&quot;),s(&quot;&quot;),f(&quot;&quot;),m(!1),b(!1),O(null),V(null),y(&quot;status&quot;))},[e,r]);const F=async W=&gt;{if(W.preventDefault(),!!e){_(!0),O(null),V(null);try{await ad.updateStatus(e.id,{status:o,notes:a.trim()||void 0}),V(&quot;Statut mis à jour avec succès&quot;),setTimeout(()=&gt;{n(),t()},1e3)}catch(K){if(K instanceof Kt)if(K.status===422&amp;&amp;K.data.errors){const $=K.data.errors.status?.[0];O($||K.data.message||&quot;Erreur de validation&quot;)}else K.status===403?O(&quot;Vous n&#039;avez pas la permission de modifier le statut&quot;):O(K.data.message||&quot;Une erreur est survenue&quot;);else O(&quot;Une erreur inattendue est survenue&quot;)}finally{_(!1)}}},H=async W=&gt;{if(W.preventDefault(),!!e){if(!h&amp;&amp;!p){O(&quot;Veuillez sélectionner au moins un destinataire&quot;);return}_(!0),O(null),V(null);try{const K=await ad.sendEmail(e.id,{subject:l.trim(),message:d.trim(),send_to_recommender:h,send_to_recommended:p});V(`Email(s) envoyé(s) à: ${K.data.emails_sent.join(&quot;, &quot;)}`),setTimeout(()=&gt;{n(),t()},2e3)}catch(K){if(K instanceof Kt)if(K.status===422&amp;&amp;K.data.errors){const $=K.data.errors.subject?.[0],P=K.data.errors.message?.[0];O($||P||K.data.message||&quot;Erreur de validation&quot;)}else O(K.data.message||&quot;Une erreur est survenue lors de l&#039;envoi de l&#039;email&quot;);else O(&quot;Une erreur inattendue est survenue&quot;)}finally{_(!1)}}};return!r||!e?null:c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),c.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-2xl sm:w-full&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Traiter la recommandation #&quot;,e.id]}),c.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:c.jsx(hr,{size:24})})]}),c.jsxs(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-brand-50 rounded-lg&quot;,children:[c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-2&quot;,children:[c.jsx(&quot;strong&quot;,{children:&quot;Recommandé:&quot;}),&quot; &quot;,e.recommended_full_name]}),c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-2&quot;,children:[c.jsx(&quot;strong&quot;,{children:&quot;Email recommandé:&quot;}),&quot; &quot;,e.recommended_email||&quot;-&quot;]}),c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[c.jsx(&quot;strong&quot;,{children:&quot;Recommandeur:&quot;}),&quot; &quot;,e.recommender_first_name,&quot; &quot;,e.recommender_last_name,&quot; (&quot;,e.recommender_email,&quot;)&quot;]})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex border-b border-gray-200 mb-4&quot;,children:[c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;y(&quot;status&quot;),className:`px-4 py-2 text-sm font-medium ${g===&quot;status&quot;?&quot;text-ink-900 border-b-2 border-brand-700&quot;:&quot;text-ink-500 hover:text-ink-900&quot;}`,children:&quot;Mettre à jour le statut&quot;}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;y(&quot;email&quot;),className:`px-4 py-2 text-sm font-medium flex items-center gap-2 ${g===&quot;email&quot;?&quot;text-ink-900 border-b-2 border-brand-700&quot;:&quot;text-ink-500 hover:text-ink-900&quot;}`,children:[c.jsx(so,{size:16}),&quot;Envoyer un email&quot;]})]}),C&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:C})}),T&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-green-50 border border-green-200 rounded-lg&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-green-800&quot;,children:T})}),g===&quot;status&quot;&amp;&amp;c.jsxs(&quot;form&quot;,{onSubmit:F,className:&quot;space-y-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Nouveau statut &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;select&quot;,{value:o,onChange:W=&gt;i(W.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;,required:!0,children:DB.map(W=&gt;c.jsx(&quot;option&quot;,{value:W.value,children:W.label},W.value))})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Notes (optionnel)&quot;}),c.jsx(&quot;textarea&quot;,{value:a,onChange:W=&gt;u(W.target.value),rows:4,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;,placeholder:&quot;Ajouter des notes sur cette recommandation...&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:t,disabled:v,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;submit&quot;,disabled:v,children:v?&quot;Mise à jour...&quot;:&quot;Mettre à jour le statut&quot;})]})]}),g===&quot;email&quot;&amp;&amp;c.jsxs(&quot;form&quot;,{onSubmit:H,className:&quot;space-y-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Destinataires &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[e.recommended_email?c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p,onChange:W=&gt;b(W.target.checked),className:&quot;rounded border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),c.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Recommandé (&quot;,e.recommended_email,&quot;)&quot;]})]}):c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 italic&quot;,children:&quot;Aucun email disponible pour le recommandé&quot;}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:h,onChange:W=&gt;m(W.target.checked),className:&quot;rounded border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),c.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Recommandeur (&quot;,e.recommender_email,&quot;)&quot;]})]})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Sujet &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l,onChange:W=&gt;s(W.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;,placeholder:&quot;Sujet de l&#039;email&quot;,required:!0})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Message &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;textarea&quot;,{value:d,onChange:W=&gt;f(W.target.value),rows:6,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;,placeholder:&quot;Votre message...&quot;,required:!0}),c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-ink-500&quot;,children:&quot;Le message sera envoyé avec les informations de la recommandation.&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:t,disabled:v,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;submit&quot;,disabled:v||!h&amp;&amp;!p,children:v?&quot;Envoi...&quot;:&quot;Envoyer l&#039;email&quot;})]})]})]})})]})})}function gC(e){var r,t,n=&quot;&quot;;if(typeof e==&quot;string&quot;||typeof e==&quot;number&quot;)n+=e;else if(typeof e==&quot;object&quot;)if(Array.isArray(e)){var o=e.length;for(r=0;r&lt;o;r++)e[r]&amp;&amp;(t=gC(e[r]))&amp;&amp;(n&amp;&amp;(n+=&quot; &quot;),n+=t)}else for(t in e)e[t]&amp;&amp;(n&amp;&amp;(n+=&quot; &quot;),n+=t);return n}function cr(){for(var e,r,t=0,n=&quot;&quot;,o=arguments.length;t&lt;o;t++)(e=arguments[t])&amp;&amp;(r=gC(e))&amp;&amp;(n&amp;&amp;(n+=&quot; &quot;),n+=r);return n}var FB=[&quot;dangerouslySetInnerHTML&quot;,&quot;onCopy&quot;,&quot;onCopyCapture&quot;,&quot;onCut&quot;,&quot;onCutCapture&quot;,&quot;onPaste&quot;,&quot;onPasteCapture&quot;,&quot;onCompositionEnd&quot;,&quot;onCompositionEndCapture&quot;,&quot;onCompositionStart&quot;,&quot;onCompositionStartCapture&quot;,&quot;onCompositionUpdate&quot;,&quot;onCompositionUpdateCapture&quot;,&quot;onFocus&quot;,&quot;onFocusCapture&quot;,&quot;onBlur&quot;,&quot;onBlurCapture&quot;,&quot;onChange&quot;,&quot;onChangeCapture&quot;,&quot;onBeforeInput&quot;,&quot;onBeforeInputCapture&quot;,&quot;onInput&quot;,&quot;onInputCapture&quot;,&quot;onReset&quot;,&quot;onResetCapture&quot;,&quot;onSubmit&quot;,&quot;onSubmitCapture&quot;,&quot;onInvalid&quot;,&quot;onInvalidCapture&quot;,&quot;onLoad&quot;,&quot;onLoadCapture&quot;,&quot;onError&quot;,&quot;onErrorCapture&quot;,&quot;onKeyDown&quot;,&quot;onKeyDownCapture&quot;,&quot;onKeyPress&quot;,&quot;onKeyPressCapture&quot;,&quot;onKeyUp&quot;,&quot;onKeyUpCapture&quot;,&quot;onAbort&quot;,&quot;onAbortCapture&quot;,&quot;onCanPlay&quot;,&quot;onCanPlayCapture&quot;,&quot;onCanPlayThrough&quot;,&quot;onCanPlayThroughCapture&quot;,&quot;onDurationChange&quot;,&quot;onDurationChangeCapture&quot;,&quot;onEmptied&quot;,&quot;onEmptiedCapture&quot;,&quot;onEncrypted&quot;,&quot;onEncryptedCapture&quot;,&quot;onEnded&quot;,&quot;onEndedCapture&quot;,&quot;onLoadedData&quot;,&quot;onLoadedDataCapture&quot;,&quot;onLoadedMetadata&quot;,&quot;onLoadedMetadataCapture&quot;,&quot;onLoadStart&quot;,&quot;onLoadStartCapture&quot;,&quot;onPause&quot;,&quot;onPauseCapture&quot;,&quot;onPlay&quot;,&quot;onPlayCapture&quot;,&quot;onPlaying&quot;,&quot;onPlayingCapture&quot;,&quot;onProgress&quot;,&quot;onProgressCapture&quot;,&quot;onRateChange&quot;,&quot;onRateChangeCapture&quot;,&quot;onSeeked&quot;,&quot;onSeekedCapture&quot;,&quot;onSeeking&quot;,&quot;onSeekingCapture&quot;,&quot;onStalled&quot;,&quot;onStalledCapture&quot;,&quot;onSuspend&quot;,&quot;onSuspendCapture&quot;,&quot;onTimeUpdate&quot;,&quot;onTimeUpdateCapture&quot;,&quot;onVolumeChange&quot;,&quot;onVolumeChangeCapture&quot;,&quot;onWaiting&quot;,&quot;onWaitingCapture&quot;,&quot;onAuxClick&quot;,&quot;onAuxClickCapture&quot;,&quot;onClick&quot;,&quot;onClickCapture&quot;,&quot;onContextMenu&quot;,&quot;onContextMenuCapture&quot;,&quot;onDoubleClick&quot;,&quot;onDoubleClickCapture&quot;,&quot;onDrag&quot;,&quot;onDragCapture&quot;,&quot;onDragEnd&quot;,&quot;onDragEndCapture&quot;,&quot;onDragEnter&quot;,&quot;onDragEnterCapture&quot;,&quot;onDragExit&quot;,&quot;onDragExitCapture&quot;,&quot;onDragLeave&quot;,&quot;onDragLeaveCapture&quot;,&quot;onDragOver&quot;,&quot;onDragOverCapture&quot;,&quot;onDragStart&quot;,&quot;onDragStartCapture&quot;,&quot;onDrop&quot;,&quot;onDropCapture&quot;,&quot;onMouseDown&quot;,&quot;onMouseDownCapture&quot;,&quot;onMouseEnter&quot;,&quot;onMouseLeave&quot;,&quot;onMouseMove&quot;,&quot;onMouseMoveCapture&quot;,&quot;onMouseOut&quot;,&quot;onMouseOutCapture&quot;,&quot;onMouseOver&quot;,&quot;onMouseOverCapture&quot;,&quot;onMouseUp&quot;,&quot;onMouseUpCapture&quot;,&quot;onSelect&quot;,&quot;onSelectCapture&quot;,&quot;onTouchCancel&quot;,&quot;onTouchCancelCapture&quot;,&quot;onTouchEnd&quot;,&quot;onTouchEndCapture&quot;,&quot;onTouchMove&quot;,&quot;onTouchMoveCapture&quot;,&quot;onTouchStart&quot;,&quot;onTouchStartCapture&quot;,&quot;onPointerDown&quot;,&quot;onPointerDownCapture&quot;,&quot;onPointerMove&quot;,&quot;onPointerMoveCapture&quot;,&quot;onPointerUp&quot;,&quot;onPointerUpCapture&quot;,&quot;onPointerCancel&quot;,&quot;onPointerCancelCapture&quot;,&quot;onPointerEnter&quot;,&quot;onPointerEnterCapture&quot;,&quot;onPointerLeave&quot;,&quot;onPointerLeaveCapture&quot;,&quot;onPointerOver&quot;,&quot;onPointerOverCapture&quot;,&quot;onPointerOut&quot;,&quot;onPointerOutCapture&quot;,&quot;onGotPointerCapture&quot;,&quot;onGotPointerCaptureCapture&quot;,&quot;onLostPointerCapture&quot;,&quot;onLostPointerCaptureCapture&quot;,&quot;onScroll&quot;,&quot;onScrollCapture&quot;,&quot;onWheel&quot;,&quot;onWheelCapture&quot;,&quot;onAnimationStart&quot;,&quot;onAnimationStartCapture&quot;,&quot;onAnimationEnd&quot;,&quot;onAnimationEndCapture&quot;,&quot;onAnimationIteration&quot;,&quot;onAnimationIterationCapture&quot;,&quot;onTransitionEnd&quot;,&quot;onTransitionEndCapture&quot;];function I1(e){if(typeof e!=&quot;string&quot;)return!1;var r=FB;return r.includes(e)}var BB=[&quot;aria-activedescendant&quot;,&quot;aria-atomic&quot;,&quot;aria-autocomplete&quot;,&quot;aria-busy&quot;,&quot;aria-checked&quot;,&quot;aria-colcount&quot;,&quot;aria-colindex&quot;,&quot;aria-colspan&quot;,&quot;aria-controls&quot;,&quot;aria-current&quot;,&quot;aria-describedby&quot;,&quot;aria-details&quot;,&quot;aria-disabled&quot;,&quot;aria-errormessage&quot;,&quot;aria-expanded&quot;,&quot;aria-flowto&quot;,&quot;aria-haspopup&quot;,&quot;aria-hidden&quot;,&quot;aria-invalid&quot;,&quot;aria-keyshortcuts&quot;,&quot;aria-label&quot;,&quot;aria-labelledby&quot;,&quot;aria-level&quot;,&quot;aria-live&quot;,&quot;aria-modal&quot;,&quot;aria-multiline&quot;,&quot;aria-multiselectable&quot;,&quot;aria-orientation&quot;,&quot;aria-owns&quot;,&quot;aria-placeholder&quot;,&quot;aria-posinset&quot;,&quot;aria-pressed&quot;,&quot;aria-readonly&quot;,&quot;aria-relevant&quot;,&quot;aria-required&quot;,&quot;aria-roledescription&quot;,&quot;aria-rowcount&quot;,&quot;aria-rowindex&quot;,&quot;aria-rowspan&quot;,&quot;aria-selected&quot;,&quot;aria-setsize&quot;,&quot;aria-sort&quot;,&quot;aria-valuemax&quot;,&quot;aria-valuemin&quot;,&quot;aria-valuenow&quot;,&quot;aria-valuetext&quot;,&quot;className&quot;,&quot;color&quot;,&quot;height&quot;,&quot;id&quot;,&quot;lang&quot;,&quot;max&quot;,&quot;media&quot;,&quot;method&quot;,&quot;min&quot;,&quot;name&quot;,&quot;style&quot;,&quot;target&quot;,&quot;width&quot;,&quot;role&quot;,&quot;tabIndex&quot;,&quot;accentHeight&quot;,&quot;accumulate&quot;,&quot;additive&quot;,&quot;alignmentBaseline&quot;,&quot;allowReorder&quot;,&quot;alphabetic&quot;,&quot;amplitude&quot;,&quot;arabicForm&quot;,&quot;ascent&quot;,&quot;attributeName&quot;,&quot;attributeType&quot;,&quot;autoReverse&quot;,&quot;azimuth&quot;,&quot;baseFrequency&quot;,&quot;baselineShift&quot;,&quot;baseProfile&quot;,&quot;bbox&quot;,&quot;begin&quot;,&quot;bias&quot;,&quot;by&quot;,&quot;calcMode&quot;,&quot;capHeight&quot;,&quot;clip&quot;,&quot;clipPath&quot;,&quot;clipPathUnits&quot;,&quot;clipRule&quot;,&quot;colorInterpolation&quot;,&quot;colorInterpolationFilters&quot;,&quot;colorProfile&quot;,&quot;colorRendering&quot;,&quot;contentScriptType&quot;,&quot;contentStyleType&quot;,&quot;cursor&quot;,&quot;cx&quot;,&quot;cy&quot;,&quot;d&quot;,&quot;decelerate&quot;,&quot;descent&quot;,&quot;diffuseConstant&quot;,&quot;direction&quot;,&quot;display&quot;,&quot;divisor&quot;,&quot;dominantBaseline&quot;,&quot;dur&quot;,&quot;dx&quot;,&quot;dy&quot;,&quot;edgeMode&quot;,&quot;elevation&quot;,&quot;enableBackground&quot;,&quot;end&quot;,&quot;exponent&quot;,&quot;externalResourcesRequired&quot;,&quot;fill&quot;,&quot;fillOpacity&quot;,&quot;fillRule&quot;,&quot;filter&quot;,&quot;filterRes&quot;,&quot;filterUnits&quot;,&quot;floodColor&quot;,&quot;floodOpacity&quot;,&quot;focusable&quot;,&quot;fontFamily&quot;,&quot;fontSize&quot;,&quot;fontSizeAdjust&quot;,&quot;fontStretch&quot;,&quot;fontStyle&quot;,&quot;fontVariant&quot;,&quot;fontWeight&quot;,&quot;format&quot;,&quot;from&quot;,&quot;fx&quot;,&quot;fy&quot;,&quot;g1&quot;,&quot;g2&quot;,&quot;glyphName&quot;,&quot;glyphOrientationHorizontal&quot;,&quot;glyphOrientationVertical&quot;,&quot;glyphRef&quot;,&quot;gradientTransform&quot;,&quot;gradientUnits&quot;,&quot;hanging&quot;,&quot;horizAdvX&quot;,&quot;horizOriginX&quot;,&quot;href&quot;,&quot;ideographic&quot;,&quot;imageRendering&quot;,&quot;in2&quot;,&quot;in&quot;,&quot;intercept&quot;,&quot;k1&quot;,&quot;k2&quot;,&quot;k3&quot;,&quot;k4&quot;,&quot;k&quot;,&quot;kernelMatrix&quot;,&quot;kernelUnitLength&quot;,&quot;kerning&quot;,&quot;keyPoints&quot;,&quot;keySplines&quot;,&quot;keyTimes&quot;,&quot;lengthAdjust&quot;,&quot;letterSpacing&quot;,&quot;lightingColor&quot;,&quot;limitingConeAngle&quot;,&quot;local&quot;,&quot;markerEnd&quot;,&quot;markerHeight&quot;,&quot;markerMid&quot;,&quot;markerStart&quot;,&quot;markerUnits&quot;,&quot;markerWidth&quot;,&quot;mask&quot;,&quot;maskContentUnits&quot;,&quot;maskUnits&quot;,&quot;mathematical&quot;,&quot;mode&quot;,&quot;numOctaves&quot;,&quot;offset&quot;,&quot;opacity&quot;,&quot;operator&quot;,&quot;order&quot;,&quot;orient&quot;,&quot;orientation&quot;,&quot;origin&quot;,&quot;overflow&quot;,&quot;overlinePosition&quot;,&quot;overlineThickness&quot;,&quot;paintOrder&quot;,&quot;panose1&quot;,&quot;pathLength&quot;,&quot;patternContentUnits&quot;,&quot;patternTransform&quot;,&quot;patternUnits&quot;,&quot;pointerEvents&quot;,&quot;pointsAtX&quot;,&quot;pointsAtY&quot;,&quot;pointsAtZ&quot;,&quot;preserveAlpha&quot;,&quot;preserveAspectRatio&quot;,&quot;primitiveUnits&quot;,&quot;r&quot;,&quot;radius&quot;,&quot;refX&quot;,&quot;refY&quot;,&quot;renderingIntent&quot;,&quot;repeatCount&quot;,&quot;repeatDur&quot;,&quot;requiredExtensions&quot;,&quot;requiredFeatures&quot;,&quot;restart&quot;,&quot;result&quot;,&quot;rotate&quot;,&quot;rx&quot;,&quot;ry&quot;,&quot;seed&quot;,&quot;shapeRendering&quot;,&quot;slope&quot;,&quot;spacing&quot;,&quot;specularConstant&quot;,&quot;specularExponent&quot;,&quot;speed&quot;,&quot;spreadMethod&quot;,&quot;startOffset&quot;,&quot;stdDeviation&quot;,&quot;stemh&quot;,&quot;stemv&quot;,&quot;stitchTiles&quot;,&quot;stopColor&quot;,&quot;stopOpacity&quot;,&quot;strikethroughPosition&quot;,&quot;strikethroughThickness&quot;,&quot;string&quot;,&quot;stroke&quot;,&quot;strokeDasharray&quot;,&quot;strokeDashoffset&quot;,&quot;strokeLinecap&quot;,&quot;strokeLinejoin&quot;,&quot;strokeMiterlimit&quot;,&quot;strokeOpacity&quot;,&quot;strokeWidth&quot;,&quot;surfaceScale&quot;,&quot;systemLanguage&quot;,&quot;tableValues&quot;,&quot;targetX&quot;,&quot;targetY&quot;,&quot;textAnchor&quot;,&quot;textDecoration&quot;,&quot;textLength&quot;,&quot;textRendering&quot;,&quot;to&quot;,&quot;transform&quot;,&quot;u1&quot;,&quot;u2&quot;,&quot;underlinePosition&quot;,&quot;underlineThickness&quot;,&quot;unicode&quot;,&quot;unicodeBidi&quot;,&quot;unicodeRange&quot;,&quot;unitsPerEm&quot;,&quot;vAlphabetic&quot;,&quot;values&quot;,&quot;vectorEffect&quot;,&quot;version&quot;,&quot;vertAdvY&quot;,&quot;vertOriginX&quot;,&quot;vertOriginY&quot;,&quot;vHanging&quot;,&quot;vIdeographic&quot;,&quot;viewTarget&quot;,&quot;visibility&quot;,&quot;vMathematical&quot;,&quot;widths&quot;,&quot;wordSpacing&quot;,&quot;writingMode&quot;,&quot;x1&quot;,&quot;x2&quot;,&quot;x&quot;,&quot;xChannelSelector&quot;,&quot;xHeight&quot;,&quot;xlinkActuate&quot;,&quot;xlinkArcrole&quot;,&quot;xlinkHref&quot;,&quot;xlinkRole&quot;,&quot;xlinkShow&quot;,&quot;xlinkTitle&quot;,&quot;xlinkType&quot;,&quot;xmlBase&quot;,&quot;xmlLang&quot;,&quot;xmlns&quot;,&quot;xmlnsXlink&quot;,&quot;xmlSpace&quot;,&quot;y1&quot;,&quot;y2&quot;,&quot;y&quot;,&quot;yChannelSelector&quot;,&quot;z&quot;,&quot;zoomAndPan&quot;,&quot;ref&quot;,&quot;key&quot;,&quot;angle&quot;],zB=new Set(BB);function bC(e){return typeof e!=&quot;string&quot;?!1:zB.has(e)}function xC(e){return typeof e==&quot;string&quot;&amp;&amp;e.startsWith(&quot;data-&quot;)}function hs(e){if(typeof e!=&quot;object&quot;||e===null)return{};var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&amp;&amp;(bC(t)||xC(t))&amp;&amp;(r[t]=e[t]);return r}function Ed(e){if(e==null)return null;if(L.isValidElement(e)&amp;&amp;typeof e.props==&quot;object&quot;&amp;&amp;e.props!==null){var r=e.props;return hs(r)}return typeof e==&quot;object&quot;&amp;&amp;!Array.isArray(e)?hs(e):null}function Gn(e){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&amp;&amp;(bC(t)||xC(t)||I1(t))&amp;&amp;(r[t]=e[t]);return r}function $B(e){return e==null?null:L.isValidElement(e)?Gn(e.props):typeof e==&quot;object&quot;&amp;&amp;!Array.isArray(e)?Gn(e):null}var UB=[&quot;children&quot;,&quot;width&quot;,&quot;height&quot;,&quot;viewBox&quot;,&quot;className&quot;,&quot;style&quot;,&quot;title&quot;,&quot;desc&quot;];function qy(){return qy=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},qy.apply(null,arguments)}function VB(e,r){if(e==null)return{};var t,n,o=qB(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function qB(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var R1=L.forwardRef((e,r)=&gt;{var{children:t,width:n,height:o,viewBox:i,className:a,style:u,title:l,desc:s}=e,d=VB(e,UB),f=i||{width:n,height:o,x:0,y:0},h=cr(&quot;recharts-surface&quot;,a);return L.createElement(&quot;svg&quot;,qy({},Gn(d),{className:h,width:n,height:o,style:u,viewBox:&quot;&quot;.concat(f.x,&quot; &quot;).concat(f.y,&quot; &quot;).concat(f.width,&quot; &quot;).concat(f.height),ref:r}),L.createElement(&quot;title&quot;,null,l),L.createElement(&quot;desc&quot;,null,s),t)}),HB=[&quot;children&quot;,&quot;className&quot;];function Hy(){return Hy=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Hy.apply(null,arguments)}function WB(e,r){if(e==null)return{};var t,n,o=KB(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function KB(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var Hi=L.forwardRef((e,r)=&gt;{var{children:t,className:n}=e,o=WB(e,HB),i=cr(&quot;recharts-layer&quot;,n);return L.createElement(&quot;g&quot;,Hy({className:i},Gn(o),{ref:r}),t)}),yC=L.createContext(null),XB=()=&gt;L.useContext(yC);function xr(e){return function(){return e}}const vC=Math.cos,Sm=Math.sin,ys=Math.sqrt,km=Math.PI,Ap=2*km,Wy=Math.PI,Ky=2*Wy,tl=1e-6,GB=Ky-tl;function wC(e){this._+=e[0];for(let r=1,t=e.length;r&lt;t;++r)this._+=arguments[r]+e[r]}function YB(e){let r=Math.floor(e);if(!(r&gt;=0))throw new Error(`invalid digits: ${e}`);if(r&gt;15)return wC;const t=10**r;return function(n){this._+=n[0];for(let o=1,i=n.length;o&lt;i;++o)this._+=Math.round(arguments[o]*t)/t+n[o]}}class ZB{constructor(r){this._x0=this._y0=this._x1=this._y1=null,this._=&quot;&quot;,this._append=r==null?wC:YB(r)}moveTo(r,t){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&amp;&amp;(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(r,t){this._append`L${this._x1=+r},${this._y1=+t}`}quadraticCurveTo(r,t,n,o){this._append`Q${+r},${+t},${this._x1=+n},${this._y1=+o}`}bezierCurveTo(r,t,n,o,i,a){this._append`C${+r},${+t},${+n},${+o},${this._x1=+i},${this._y1=+a}`}arcTo(r,t,n,o,i){if(r=+r,t=+t,n=+n,o=+o,i=+i,i&lt;0)throw new Error(`negative radius: ${i}`);let a=this._x1,u=this._y1,l=n-r,s=o-t,d=a-r,f=u-t,h=d*d+f*f;if(this._x1===null)this._append`M${this._x1=r},${this._y1=t}`;else if(h&gt;tl)if(!(Math.abs(f*l-s*d)&gt;tl)||!i)this._append`L${this._x1=r},${this._y1=t}`;else{let m=n-a,p=o-u,b=l*l+s*s,g=m*m+p*p,y=Math.sqrt(b),v=Math.sqrt(h),_=i*Math.tan((Wy-Math.acos((b+h-g)/(2*y*v)))/2),C=_/v,O=_/y;Math.abs(C-1)&gt;tl&amp;&amp;this._append`L${r+C*d},${t+C*f}`,this._append`A${i},${i},0,0,${+(f*m&gt;d*p)},${this._x1=r+O*l},${this._y1=t+O*s}`}}arc(r,t,n,o,i,a){if(r=+r,t=+t,n=+n,a=!!a,n&lt;0)throw new Error(`negative radius: ${n}`);let u=n*Math.cos(o),l=n*Math.sin(o),s=r+u,d=t+l,f=1^a,h=a?o-i:i-o;this._x1===null?this._append`M${s},${d}`:(Math.abs(this._x1-s)&gt;tl||Math.abs(this._y1-d)&gt;tl)&amp;&amp;this._append`L${s},${d}`,n&amp;&amp;(h&lt;0&amp;&amp;(h=h%Ky+Ky),h&gt;GB?this._append`A${n},${n},0,1,${f},${r-u},${t-l}A${n},${n},0,1,${f},${this._x1=s},${this._y1=d}`:h&gt;tl&amp;&amp;this._append`A${n},${n},0,${+(h&gt;=Wy)},${f},${this._x1=r+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(r,t,n,o){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+t}h${n=+n}v${+o}h${-n}Z`}toString(){return this._}}function D1(e){let r=3;return e.digits=function(t){if(!arguments.length)return r;if(t==null)r=null;else{const n=Math.floor(t);if(!(n&gt;=0))throw new RangeError(`invalid digits: ${t}`);r=n}return e},()=&gt;new ZB(r)}function L1(e){return typeof e==&quot;object&quot;&amp;&amp;&quot;length&quot;in e?e:Array.from(e)}function _C(e){this._context=e}_C.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&amp;&amp;this._point===1)&amp;&amp;this._context.closePath(),this._line=1-this._line},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;default:this._context.lineTo(e,r);break}}};function Mp(e){return new _C(e)}function jC(e){return e[0]}function SC(e){return e[1]}function kC(e,r){var t=xr(!0),n=null,o=Mp,i=null,a=D1(u);e=typeof e==&quot;function&quot;?e:e===void 0?jC:xr(e),r=typeof r==&quot;function&quot;?r:r===void 0?SC:xr(r);function u(l){var s,d=(l=L1(l)).length,f,h=!1,m;for(n==null&amp;&amp;(i=o(m=a())),s=0;s&lt;=d;++s)!(s&lt;d&amp;&amp;t(f=l[s],s,l))===h&amp;&amp;((h=!h)?i.lineStart():i.lineEnd()),h&amp;&amp;i.point(+e(f,s,l),+r(f,s,l));if(m)return i=null,m+&quot;&quot;||null}return u.x=function(l){return arguments.length?(e=typeof l==&quot;function&quot;?l:xr(+l),u):e},u.y=function(l){return arguments.length?(r=typeof l==&quot;function&quot;?l:xr(+l),u):r},u.defined=function(l){return arguments.length?(t=typeof l==&quot;function&quot;?l:xr(!!l),u):t},u.curve=function(l){return arguments.length?(o=l,n!=null&amp;&amp;(i=o(n)),u):o},u.context=function(l){return arguments.length?(l==null?n=i=null:i=o(n=l),u):n},u}function Ph(e,r,t){var n=null,o=xr(!0),i=null,a=Mp,u=null,l=D1(s);e=typeof e==&quot;function&quot;?e:e===void 0?jC:xr(+e),r=typeof r==&quot;function&quot;?r:xr(r===void 0?0:+r),t=typeof t==&quot;function&quot;?t:t===void 0?SC:xr(+t);function s(f){var h,m,p,b=(f=L1(f)).length,g,y=!1,v,_=new Array(b),C=new Array(b);for(i==null&amp;&amp;(u=a(v=l())),h=0;h&lt;=b;++h){if(!(h&lt;b&amp;&amp;o(g=f[h],h,f))===y)if(y=!y)m=h,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),p=h-1;p&gt;=m;--p)u.point(_[p],C[p]);u.lineEnd(),u.areaEnd()}y&amp;&amp;(_[h]=+e(g,h,f),C[h]=+r(g,h,f),u.point(n?+n(g,h,f):_[h],t?+t(g,h,f):C[h]))}if(v)return u=null,v+&quot;&quot;||null}function d(){return kC().defined(o).curve(a).context(i)}return s.x=function(f){return arguments.length?(e=typeof f==&quot;function&quot;?f:xr(+f),n=null,s):e},s.x0=function(f){return arguments.length?(e=typeof f==&quot;function&quot;?f:xr(+f),s):e},s.x1=function(f){return arguments.length?(n=f==null?null:typeof f==&quot;function&quot;?f:xr(+f),s):n},s.y=function(f){return arguments.length?(r=typeof f==&quot;function&quot;?f:xr(+f),t=null,s):r},s.y0=function(f){return arguments.length?(r=typeof f==&quot;function&quot;?f:xr(+f),s):r},s.y1=function(f){return arguments.length?(t=f==null?null:typeof f==&quot;function&quot;?f:xr(+f),s):t},s.lineX0=s.lineY0=function(){return d().x(e).y(r)},s.lineY1=function(){return d().x(e).y(t)},s.lineX1=function(){return d().x(n).y(r)},s.defined=function(f){return arguments.length?(o=typeof f==&quot;function&quot;?f:xr(!!f),s):o},s.curve=function(f){return arguments.length?(a=f,i!=null&amp;&amp;(u=a(i)),s):a},s.context=function(f){return arguments.length?(f==null?i=u=null:u=a(i=f),s):i},s}class NC{constructor(r,t){this._context=r,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&amp;&amp;this._point===1)&amp;&amp;this._context.closePath(),this._line=1-this._line}point(r,t){switch(r=+r,t=+t,this._point){case 0:{this._point=1,this._line?this._context.lineTo(r,t):this._context.moveTo(r,t);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+r)/2,this._y0,this._x0,t,r,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,r,this._y0,r,t);break}}this._x0=r,this._y0=t}}function QB(e){return new NC(e,!0)}function JB(e){return new NC(e,!1)}const F1={draw(e,r){const t=ys(r/km);e.moveTo(t,0),e.arc(0,0,t,0,Ap)}},ez={draw(e,r){const t=ys(r/5)/2;e.moveTo(-3*t,-t),e.lineTo(-t,-t),e.lineTo(-t,-3*t),e.lineTo(t,-3*t),e.lineTo(t,-t),e.lineTo(3*t,-t),e.lineTo(3*t,t),e.lineTo(t,t),e.lineTo(t,3*t),e.lineTo(-t,3*t),e.lineTo(-t,t),e.lineTo(-3*t,t),e.closePath()}},CC=ys(1/3),tz=CC*2,rz={draw(e,r){const t=ys(r/tz),n=t*CC;e.moveTo(0,-t),e.lineTo(n,0),e.lineTo(0,t),e.lineTo(-n,0),e.closePath()}},nz={draw(e,r){const t=ys(r),n=-t/2;e.rect(n,n,t,t)}},iz=.8908130915292852,EC=Sm(km/10)/Sm(7*km/10),sz=Sm(Ap/10)*EC,az=-vC(Ap/10)*EC,oz={draw(e,r){const t=ys(r*iz),n=sz*t,o=az*t;e.moveTo(0,-t),e.lineTo(n,o);for(let i=1;i&lt;5;++i){const a=Ap*i/5,u=vC(a),l=Sm(a);e.lineTo(l*t,-u*t),e.lineTo(u*n-l*o,l*n+u*o)}e.closePath()}},wb=ys(3),lz={draw(e,r){const t=-ys(r/(wb*3));e.moveTo(0,t*2),e.lineTo(-wb*t,-t),e.lineTo(wb*t,-t),e.closePath()}},Di=-.5,Li=ys(3)/2,Xy=1/ys(12),cz=(Xy/2+1)*3,uz={draw(e,r){const t=ys(r/cz),n=t/2,o=t*Xy,i=n,a=t*Xy+t,u=-i,l=a;e.moveTo(n,o),e.lineTo(i,a),e.lineTo(u,l),e.lineTo(Di*n-Li*o,Li*n+Di*o),e.lineTo(Di*i-Li*a,Li*i+Di*a),e.lineTo(Di*u-Li*l,Li*u+Di*l),e.lineTo(Di*n+Li*o,Di*o-Li*n),e.lineTo(Di*i+Li*a,Di*a-Li*i),e.lineTo(Di*u+Li*l,Di*l-Li*u),e.closePath()}};function dz(e,r){let t=null,n=D1(o);e=typeof e==&quot;function&quot;?e:xr(e||F1),r=typeof r==&quot;function&quot;?r:xr(r===void 0?64:+r);function o(){let i;if(t||(t=i=n()),e.apply(this,arguments).draw(t,+r.apply(this,arguments)),i)return t=null,i+&quot;&quot;||null}return o.type=function(i){return arguments.length?(e=typeof i==&quot;function&quot;?i:xr(i),o):e},o.size=function(i){return arguments.length?(r=typeof i==&quot;function&quot;?i:xr(+i),o):r},o.context=function(i){return arguments.length?(t=i??null,o):t},o}function Nm(){}function Cm(e,r,t){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+r)/6,(e._y0+4*e._y1+t)/6)}function AC(e){this._context=e}AC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Cm(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&amp;&amp;this._point===1)&amp;&amp;this._context.closePath(),this._line=1-this._line},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Cm(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function fz(e){return new AC(e)}function MC(e){this._context=e}MC.prototype={areaStart:Nm,areaEnd:Nm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._x2=e,this._y2=r;break;case 1:this._point=2,this._x3=e,this._y3=r;break;case 2:this._point=3,this._x4=e,this._y4=r,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+r)/6);break;default:Cm(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function hz(e){return new MC(e)}function OC(e){this._context=e}OC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&amp;&amp;this._point===3)&amp;&amp;this._context.closePath(),this._line=1-this._line},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var t=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+r)/6;this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 3:this._point=4;default:Cm(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function mz(e){return new OC(e)}function PC(e){this._context=e}PC.prototype={areaStart:Nm,areaEnd:Nm,lineStart:function(){this._point=0},lineEnd:function(){this._point&amp;&amp;this._context.closePath()},point:function(e,r){e=+e,r=+r,this._point?this._context.lineTo(e,r):(this._point=1,this._context.moveTo(e,r))}};function pz(e){return new PC(e)}function Y4(e){return e&lt;0?-1:1}function Z4(e,r,t){var n=e._x1-e._x0,o=r-e._x1,i=(e._y1-e._y0)/(n||o&lt;0&amp;&amp;-0),a=(t-e._y1)/(o||n&lt;0&amp;&amp;-0),u=(i*o+a*n)/(n+o);return(Y4(i)+Y4(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(u))||0}function Q4(e,r){var t=e._x1-e._x0;return t?(3*(e._y1-e._y0)/t-r)/2:r}function _b(e,r,t){var n=e._x0,o=e._y0,i=e._x1,a=e._y1,u=(i-n)/3;e._context.bezierCurveTo(n+u,o+u*r,i-u,a-u*t,i,a)}function Em(e){this._context=e}Em.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:_b(this,this._t0,Q4(this,this._t0));break}(this._line||this._line!==0&amp;&amp;this._point===1)&amp;&amp;this._context.closePath(),this._line=1-this._line},point:function(e,r){var t=NaN;if(e=+e,r=+r,!(e===this._x1&amp;&amp;r===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;break;case 2:this._point=3,_b(this,Q4(this,t=Z4(this,e,r)),t);break;default:_b(this,this._t0,t=Z4(this,e,r));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r,this._t0=t}}};function TC(e){this._context=new IC(e)}(TC.prototype=Object.create(Em.prototype)).point=function(e,r){Em.prototype.point.call(this,r,e)};function IC(e){this._context=e}IC.prototype={moveTo:function(e,r){this._context.moveTo(r,e)},closePath:function(){this._context.closePath()},lineTo:function(e,r){this._context.lineTo(r,e)},bezierCurveTo:function(e,r,t,n,o,i){this._context.bezierCurveTo(r,e,n,t,i,o)}};function gz(e){return new Em(e)}function bz(e){return new TC(e)}function RC(e){this._context=e}RC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,r=this._y,t=e.length;if(t)if(this._line?this._context.lineTo(e[0],r[0]):this._context.moveTo(e[0],r[0]),t===2)this._context.lineTo(e[1],r[1]);else for(var n=J4(e),o=J4(r),i=0,a=1;a&lt;t;++i,++a)this._context.bezierCurveTo(n[0][i],o[0][i],n[1][i],o[1][i],e[a],r[a]);(this._line||this._line!==0&amp;&amp;t===1)&amp;&amp;this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,r){this._x.push(+e),this._y.push(+r)}};function J4(e){var r,t=e.length-1,n,o=new Array(t),i=new Array(t),a=new Array(t);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],r=1;r&lt;t-1;++r)o[r]=1,i[r]=4,a[r]=4*e[r]+2*e[r+1];for(o[t-1]=2,i[t-1]=7,a[t-1]=8*e[t-1]+e[t],r=1;r&lt;t;++r)n=o[r]/i[r-1],i[r]-=n,a[r]-=n*a[r-1];for(o[t-1]=a[t-1]/i[t-1],r=t-2;r&gt;=0;--r)o[r]=(a[r]-o[r+1])/i[r];for(i[t-1]=(e[t]+o[t-1])/2,r=0;r&lt;t-1;++r)i[r]=2*e[r+1]-o[r+1];return[o,i]}function xz(e){return new RC(e)}function Op(e,r){this._context=e,this._t=r}Op.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0&lt;this._t&amp;&amp;this._t&lt;1&amp;&amp;this._point===2&amp;&amp;this._context.lineTo(this._x,this._y),(this._line||this._line!==0&amp;&amp;this._point===1)&amp;&amp;this._context.closePath(),this._line&gt;=0&amp;&amp;(this._t=1-this._t,this._line=1-this._line)},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;default:{if(this._t&lt;=0)this._context.lineTo(this._x,r),this._context.lineTo(e,r);else{var t=this._x*(1-this._t)+e*this._t;this._context.lineTo(t,this._y),this._context.lineTo(t,r)}break}}this._x=e,this._y=r}};function yz(e){return new Op(e,.5)}function vz(e){return new Op(e,0)}function wz(e){return new Op(e,1)}function bl(e,r){if((a=e.length)&gt;1)for(var t=1,n,o,i=e[r[0]],a,u=i.length;t&lt;a;++t)for(o=i,i=e[r[t]],n=0;n&lt;u;++n)i[n][1]+=i[n][0]=isNaN(o[n][1])?o[n][0]:o[n][1]}function Gy(e){for(var r=e.length,t=new Array(r);--r&gt;=0;)t[r]=r;return t}function _z(e,r){return e[r]}function jz(e){const r=[];return r.key=e,r}function Sz(){var e=xr([]),r=Gy,t=bl,n=_z;function o(i){var a=Array.from(e.apply(this,arguments),jz),u,l=a.length,s=-1,d;for(const f of i)for(u=0,++s;u&lt;l;++u)(a[u][s]=[0,+n(f,a[u].key,s,i)]).data=f;for(u=0,d=L1(r(a));u&lt;l;++u)a[d[u]].index=u;return t(a,d),a}return o.keys=function(i){return arguments.length?(e=typeof i==&quot;function&quot;?i:xr(Array.from(i)),o):e},o.value=function(i){return arguments.length?(n=typeof i==&quot;function&quot;?i:xr(+i),o):n},o.order=function(i){return arguments.length?(r=i==null?Gy:typeof i==&quot;function&quot;?i:xr(Array.from(i)),o):r},o.offset=function(i){return arguments.length?(t=i??bl,o):t},o}function kz(e,r){if((n=e.length)&gt;0){for(var t,n,o=0,i=e[0].length,a;o&lt;i;++o){for(a=t=0;t&lt;n;++t)a+=e[t][o][1]||0;if(a)for(t=0;t&lt;n;++t)e[t][o][1]/=a}bl(e,r)}}function Nz(e,r){if((o=e.length)&gt;0){for(var t=0,n=e[r[0]],o,i=n.length;t&lt;i;++t){for(var a=0,u=0;a&lt;o;++a)u+=e[a][t][1]||0;n[t][1]+=n[t][0]=-u/2}bl(e,r)}}function Cz(e,r){if(!(!((a=e.length)&gt;0)||!((i=(o=e[r[0]]).length)&gt;0))){for(var t=0,n=1,o,i,a;n&lt;i;++n){for(var u=0,l=0,s=0;u&lt;a;++u){for(var d=e[r[u]],f=d[n][1]||0,h=d[n-1][1]||0,m=(f-h)/2,p=0;p&lt;u;++p){var b=e[r[p]],g=b[n][1]||0,y=b[n-1][1]||0;m+=g-y}l+=f,s+=m*f}o[n-1][1]+=o[n-1][0]=t,l&amp;&amp;(t-=s/l)}o[n-1][1]+=o[n-1][0]=t,bl(e,r)}}var jb={},Sb={},e5;function Ez(){return e5||(e5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t===&quot;__proto__&quot;}e.isUnsafeProperty=r})(Sb)),Sb}var kb={},t5;function DC(){return t5||(t5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){switch(typeof t){case&quot;number&quot;:case&quot;symbol&quot;:return!1;case&quot;string&quot;:return t.includes(&quot;.&quot;)||t.includes(&quot;[&quot;)||t.includes(&quot;]&quot;)}}e.isDeepKey=r})(kb)),kb}var Nb={},r5;function B1(){return r5||(r5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return typeof t==&quot;string&quot;||typeof t==&quot;symbol&quot;?t:Object.is(t?.valueOf?.(),-0)?&quot;-0&quot;:String(t)}e.toKey=r})(Nb)),Nb}var Cb={},Eb={},n5;function Az(){return n5||(n5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){if(t==null)return&quot;&quot;;if(typeof t==&quot;string&quot;)return t;if(Array.isArray(t))return t.map(r).join(&quot;,&quot;);const n=String(t);return n===&quot;0&quot;&amp;&amp;Object.is(Number(t),-0)?&quot;-0&quot;:n}e.toString=r})(Eb)),Eb}var i5;function z1(){return i5||(i5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=Az(),t=B1();function n(o){if(Array.isArray(o))return o.map(t.toKey);if(typeof o==&quot;symbol&quot;)return[o];o=r.toString(o);const i=[],a=o.length;if(a===0)return i;let u=0,l=&quot;&quot;,s=&quot;&quot;,d=!1;for(o.charCodeAt(0)===46&amp;&amp;(i.push(&quot;&quot;),u++);u&lt;a;){const f=o[u];s?f===&quot;\\&quot;&amp;&amp;u+1&lt;a?(u++,l+=o[u]):f===s?s=&quot;&quot;:l+=f:d?f===&#039;&quot;&#039;||f===&quot;&#039;&quot;?s=f:f===&quot;]&quot;?(d=!1,i.push(l),l=&quot;&quot;):l+=f:f===&quot;[&quot;?(d=!0,l&amp;&amp;(i.push(l),l=&quot;&quot;)):f===&quot;.&quot;?l&amp;&amp;(i.push(l),l=&quot;&quot;):l+=f,u++}return l&amp;&amp;i.push(l),i}e.toPath=n})(Cb)),Cb}var s5;function $1(){return s5||(s5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=Ez(),t=DC(),n=B1(),o=z1();function i(u,l,s){if(u==null)return s;switch(typeof l){case&quot;string&quot;:{if(r.isUnsafeProperty(l))return s;const d=u[l];return d===void 0?t.isDeepKey(l)?i(u,o.toPath(l),s):s:d}case&quot;number&quot;:case&quot;symbol&quot;:{typeof l==&quot;number&quot;&amp;&amp;(l=n.toKey(l));const d=u[l];return d===void 0?s:d}default:{if(Array.isArray(l))return a(u,l,s);if(Object.is(l?.valueOf(),-0)?l=&quot;-0&quot;:l=String(l),r.isUnsafeProperty(l))return s;const d=u[l];return d===void 0?s:d}}}function a(u,l,s){if(l.length===0)return s;let d=u;for(let f=0;f&lt;l.length;f++){if(d==null||r.isUnsafeProperty(l[f]))return s;d=d[l[f]]}return d===void 0?s:d}e.get=i})(jb)),jb}var Ab,a5;function Mz(){return a5||(a5=1,Ab=$1().get),Ab}var Oz=Mz();const jc=bs(Oz);var Pz=4;function ao(e){var r=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:Pz,t=10**r,n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function Br(e){for(var r=arguments.length,t=new Array(r&gt;1?r-1:0),n=1;n&lt;r;n++)t[n-1]=arguments[n];return e.reduce((o,i,a)=&gt;{var u=t[a-1];return typeof u==&quot;string&quot;?o+u+i:u!==void 0?o+ao(u)+i:o+i},&quot;&quot;)}var li=e=&gt;e===0?0:e&gt;0?1:-1,ms=e=&gt;typeof e==&quot;number&quot;&amp;&amp;e!=+e,da=e=&gt;typeof e==&quot;string&quot;&amp;&amp;e.indexOf(&quot;%&quot;)===e.length-1,ft=e=&gt;(typeof e==&quot;number&quot;||e instanceof Number)&amp;&amp;!ms(e),Ts=e=&gt;ft(e)||typeof e==&quot;string&quot;,Tz=0,ld=e=&gt;{var r=++Tz;return&quot;&quot;.concat(e||&quot;&quot;).concat(r)},ps=function(r,t){var n=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:0,o=arguments.length&gt;3&amp;&amp;arguments[3]!==void 0?arguments[3]:!1;if(!ft(r)&amp;&amp;typeof r!=&quot;string&quot;)return n;var i;if(da(r)){if(t==null)return n;var a=r.indexOf(&quot;%&quot;);i=t*parseFloat(r.slice(0,a))/100}else i=+r;return ms(i)&amp;&amp;(i=n),o&amp;&amp;t!=null&amp;&amp;i&gt;t&amp;&amp;(i=t),i},LC=e=&gt;{if(!Array.isArray(e))return!1;for(var r=e.length,t={},n=0;n&lt;r;n++)if(!t[String(e[n])])t[String(e[n])]=!0;else return!0;return!1};function zr(e,r,t){return ft(e)&amp;&amp;ft(r)?ao(e+t*(r-e)):r}function FC(e,r,t){if(!(!e||!e.length))return e.find(n=&gt;n&amp;&amp;(typeof r==&quot;function&quot;?r(n):jc(n,r))===t)}var Mr=e=&gt;e===null||typeof e&gt;&quot;u&quot;,Ad=e=&gt;Mr(e)?e:&quot;&quot;.concat(e.charAt(0).toUpperCase()).concat(e.slice(1));function Iz(e){return e!=null}function Md(){}var Rz=[&quot;type&quot;,&quot;size&quot;,&quot;sizeType&quot;];function Yy(){return Yy=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Yy.apply(null,arguments)}function o5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function l5(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?o5(Object(t),!0).forEach(function(n){Dz(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Dz(e,r,t){return(r=Lz(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Lz(e){var r=Fz(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Fz(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Bz(e,r){if(e==null)return{};var t,n,o=zz(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function zz(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var BC={symbolCircle:F1,symbolCross:ez,symbolDiamond:rz,symbolSquare:nz,symbolStar:oz,symbolTriangle:lz,symbolWye:uz},$z=Math.PI/180,Uz=e=&gt;{var r=&quot;symbol&quot;.concat(Ad(e));return BC[r]||F1},Vz=(e,r,t)=&gt;{if(r===&quot;area&quot;)return e;switch(t){case&quot;cross&quot;:return 5*e*e/9;case&quot;diamond&quot;:return .5*e*e/Math.sqrt(3);case&quot;square&quot;:return e*e;case&quot;star&quot;:{var n=18*$z;return 1.25*e*e*(Math.tan(n)-Math.tan(n*2)*Math.tan(n)**2)}case&quot;triangle&quot;:return Math.sqrt(3)*e*e/4;case&quot;wye&quot;:return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},qz=(e,r)=&gt;{BC[&quot;symbol&quot;.concat(Ad(e))]=r},U1=e=&gt;{var{type:r=&quot;circle&quot;,size:t=64,sizeType:n=&quot;area&quot;}=e,o=Bz(e,Rz),i=l5(l5({},o),{},{type:r,size:t,sizeType:n}),a=&quot;circle&quot;;typeof r==&quot;string&quot;&amp;&amp;(a=r);var u=()=&gt;{var h=Uz(a),m=dz().type(h).size(Vz(t,n,a)),p=m();if(p!==null)return p},{className:l,cx:s,cy:d}=i,f=Gn(i);return ft(s)&amp;&amp;ft(d)&amp;&amp;ft(t)?L.createElement(&quot;path&quot;,Yy({},f,{className:cr(&quot;recharts-symbols&quot;,l),transform:&quot;translate(&quot;.concat(s,&quot;, &quot;).concat(d,&quot;)&quot;),d:u()})):null};U1.registerSymbol=qz;var zC=e=&gt;&quot;radius&quot;in e&amp;&amp;&quot;startAngle&quot;in e&amp;&amp;&quot;endAngle&quot;in e,V1=(e,r)=&gt;{if(!e||typeof e==&quot;function&quot;||typeof e==&quot;boolean&quot;)return null;var t=e;if(L.isValidElement(e)&amp;&amp;(t=e.props),typeof t!=&quot;object&quot;&amp;&amp;typeof t!=&quot;function&quot;)return null;var n={};return Object.keys(t).forEach(o=&gt;{I1(o)&amp;&amp;(n[o]=(i=&gt;t[o](t,i)))}),n},Hz=(e,r,t)=&gt;n=&gt;(e(r,t,n),null),Pp=(e,r,t)=&gt;{if(e===null||typeof e!=&quot;object&quot;&amp;&amp;typeof e!=&quot;function&quot;)return null;var n=null;return Object.keys(e).forEach(o=&gt;{var i=e[o];I1(o)&amp;&amp;typeof i==&quot;function&quot;&amp;&amp;(n||(n={}),n[o]=Hz(i,r,t))}),n};function c5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Wz(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?c5(Object(t),!0).forEach(function(n){Kz(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Kz(e,r,t){return(r=Xz(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Xz(e){var r=Gz(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Gz(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Mn(e,r){var t=Wz({},e),n=r,o=Object.keys(r),i=o.reduce((a,u)=&gt;(a[u]===void 0&amp;&amp;n[u]!==void 0&amp;&amp;(a[u]=n[u]),a),t);return i}function Am(){return Am=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Am.apply(null,arguments)}function u5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Yz(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?u5(Object(t),!0).forEach(function(n){Zz(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Zz(e,r,t){return(r=Qz(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Qz(e){var r=Jz(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Jz(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var zi=32,e$={align:&quot;center&quot;,iconSize:14,inactiveColor:&quot;#ccc&quot;,layout:&quot;horizontal&quot;,verticalAlign:&quot;middle&quot;};function t$(e){var{data:r,iconType:t,inactiveColor:n}=e,o=zi/2,i=zi/6,a=zi/3,u=r.inactive?n:r.color,l=t??r.type;if(l===&quot;none&quot;)return null;if(l===&quot;plainline&quot;){var s;return L.createElement(&quot;line&quot;,{strokeWidth:4,fill:&quot;none&quot;,stroke:u,strokeDasharray:(s=r.payload)===null||s===void 0?void 0:s.strokeDasharray,x1:0,y1:o,x2:zi,y2:o,className:&quot;recharts-legend-icon&quot;})}if(l===&quot;line&quot;)return L.createElement(&quot;path&quot;,{strokeWidth:4,fill:&quot;none&quot;,stroke:u,d:&quot;M0,&quot;.concat(o,&quot;h&quot;).concat(a,`
            A`).concat(i,&quot;,&quot;).concat(i,&quot;,0,1,1,&quot;).concat(2*a,&quot;,&quot;).concat(o,`
            H`).concat(zi,&quot;M&quot;).concat(2*a,&quot;,&quot;).concat(o,`
            A`).concat(i,&quot;,&quot;).concat(i,&quot;,0,1,1,&quot;).concat(a,&quot;,&quot;).concat(o),className:&quot;recharts-legend-icon&quot;});if(l===&quot;rect&quot;)return L.createElement(&quot;path&quot;,{stroke:&quot;none&quot;,fill:u,d:&quot;M0,&quot;.concat(zi/8,&quot;h&quot;).concat(zi,&quot;v&quot;).concat(zi*3/4,&quot;h&quot;).concat(-zi,&quot;z&quot;),className:&quot;recharts-legend-icon&quot;});if(L.isValidElement(r.legendIcon)){var d=Yz({},r);return delete d.legendIcon,L.cloneElement(r.legendIcon,d)}return L.createElement(U1,{fill:u,cx:o,cy:o,size:zi,sizeType:&quot;diameter&quot;,type:l})}function r$(e){var{payload:r,iconSize:t,layout:n,formatter:o,inactiveColor:i,iconType:a}=e,u={x:0,y:0,width:zi,height:zi},l={display:n===&quot;horizontal&quot;?&quot;inline-block&quot;:&quot;block&quot;,marginRight:10},s={display:&quot;inline-block&quot;,verticalAlign:&quot;middle&quot;,marginRight:4};return r.map((d,f)=&gt;{var h=d.formatter||o,m=cr({&quot;recharts-legend-item&quot;:!0,[&quot;legend-item-&quot;.concat(f)]:!0,inactive:d.inactive});if(d.type===&quot;none&quot;)return null;var p=d.inactive?i:d.color,b=h?h(d.value,d,f):d.value;return L.createElement(&quot;li&quot;,Am({className:m,style:l,key:&quot;legend-item-&quot;.concat(f)},Pp(e,d,f)),L.createElement(R1,{width:t,height:t,viewBox:u,style:s,&quot;aria-label&quot;:&quot;&quot;.concat(b,&quot; legend icon&quot;)},L.createElement(t$,{data:d,iconType:a,inactiveColor:i})),L.createElement(&quot;span&quot;,{className:&quot;recharts-legend-item-text&quot;,style:{color:p}},b))})}var n$=e=&gt;{var r=Mn(e,e$),{payload:t,layout:n,align:o}=r;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:n===&quot;horizontal&quot;?o:&quot;left&quot;};return L.createElement(&quot;ul&quot;,{className:&quot;recharts-default-legend&quot;,style:i},L.createElement(r$,Am({},r,{payload:t})))},Mb={},Ob={},d5;function i$(){return d5||(d5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n){const o=new Map;for(let i=0;i&lt;t.length;i++){const a=t[i],u=n(a,i,t);o.has(u)||o.set(u,a)}return Array.from(o.values())}e.uniqBy=r})(Ob)),Ob}var Pb={},f5;function s$(){return f5||(f5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n){return function(...o){return t.apply(this,o.slice(0,n))}}e.ary=r})(Pb)),Pb}var Tb={},h5;function $C(){return h5||(h5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t}e.identity=r})(Tb)),Tb}var Ib={},Rb={},Db={},m5;function a$(){return m5||(m5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return Number.isSafeInteger(t)&amp;&amp;t&gt;=0}e.isLength=r})(Db)),Db}var p5;function q1(){return p5||(p5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=a$();function t(n){return n!=null&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;r.isLength(n.length)}e.isArrayLike=t})(Rb)),Rb}var Lb={},g5;function o$(){return g5||(g5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return typeof t==&quot;object&quot;&amp;&amp;t!==null}e.isObjectLike=r})(Lb)),Lb}var b5;function l$(){return b5||(b5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=q1(),t=o$();function n(o){return t.isObjectLike(o)&amp;&amp;r.isArrayLike(o)}e.isArrayLikeObject=n})(Ib)),Ib}var Fb={},Bb={},x5;function c$(){return x5||(x5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=$1();function t(n){return function(o){return r.get(o,n)}}e.property=t})(Bb)),Bb}var zb={},$b={},Ub={},Vb={},y5;function UC(){return y5||(y5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t!==null&amp;&amp;(typeof t==&quot;object&quot;||typeof t==&quot;function&quot;)}e.isObject=r})(Vb)),Vb}var qb={},v5;function VC(){return v5||(v5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t==null||typeof t!=&quot;object&quot;&amp;&amp;typeof t!=&quot;function&quot;}e.isPrimitive=r})(qb)),qb}var Hb={},w5;function qC(){return w5||(w5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n){return t===n||Number.isNaN(t)&amp;&amp;Number.isNaN(n)}e.isEqualsSameValueZero=r})(Hb)),Hb}var _5;function u$(){return _5||(_5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=UC(),t=VC(),n=qC();function o(d,f,h){return typeof h!=&quot;function&quot;?o(d,f,()=&gt;{}):i(d,f,function m(p,b,g,y,v,_){const C=h(p,b,g,y,v,_);return C!==void 0?!!C:i(p,b,m,_)},new Map)}function i(d,f,h,m){if(f===d)return!0;switch(typeof f){case&quot;object&quot;:return a(d,f,h,m);case&quot;function&quot;:return Object.keys(f).length&gt;0?i(d,{...f},h,m):n.isEqualsSameValueZero(d,f);default:return r.isObject(d)?typeof f==&quot;string&quot;?f===&quot;&quot;:!0:n.isEqualsSameValueZero(d,f)}}function a(d,f,h,m){if(f==null)return!0;if(Array.isArray(f))return l(d,f,h,m);if(f instanceof Map)return u(d,f,h,m);if(f instanceof Set)return s(d,f,h,m);const p=Object.keys(f);if(d==null||t.isPrimitive(d))return p.length===0;if(p.length===0)return!0;if(m?.has(f))return m.get(f)===d;m?.set(f,d);try{for(let b=0;b&lt;p.length;b++){const g=p[b];if(!t.isPrimitive(d)&amp;&amp;!(g in d)||f[g]===void 0&amp;&amp;d[g]!==void 0||f[g]===null&amp;&amp;d[g]!==null||!h(d[g],f[g],g,d,f,m))return!1}return!0}finally{m?.delete(f)}}function u(d,f,h,m){if(f.size===0)return!0;if(!(d instanceof Map))return!1;for(const[p,b]of f.entries()){const g=d.get(p);if(h(g,b,p,d,f,m)===!1)return!1}return!0}function l(d,f,h,m){if(f.length===0)return!0;if(!Array.isArray(d))return!1;const p=new Set;for(let b=0;b&lt;f.length;b++){const g=f[b];let y=!1;for(let v=0;v&lt;d.length;v++){if(p.has(v))continue;const _=d[v];let C=!1;if(h(_,g,b,d,f,m)&amp;&amp;(C=!0),C){p.add(v),y=!0;break}}if(!y)return!1}return!0}function s(d,f,h,m){return f.size===0?!0:d instanceof Set?l([...d],[...f],h,m):!1}e.isMatchWith=o,e.isSetMatch=s})(Ub)),Ub}var j5;function HC(){return j5||(j5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=u$();function t(n,o){return r.isMatchWith(n,o,()=&gt;{})}e.isMatch=t})($b)),$b}var Wb={},Kb={},Xb={},S5;function d$(){return S5||(S5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return Object.getOwnPropertySymbols(t).filter(n=&gt;Object.prototype.propertyIsEnumerable.call(t,n))}e.getSymbols=r})(Xb)),Xb}var Gb={},k5;function H1(){return k5||(k5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t==null?t===void 0?&quot;[object Undefined]&quot;:&quot;[object Null]&quot;:Object.prototype.toString.call(t)}e.getTag=r})(Gb)),Gb}var Yb={},N5;function WC(){return N5||(N5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=&quot;[object RegExp]&quot;,t=&quot;[object String]&quot;,n=&quot;[object Number]&quot;,o=&quot;[object Boolean]&quot;,i=&quot;[object Arguments]&quot;,a=&quot;[object Symbol]&quot;,u=&quot;[object Date]&quot;,l=&quot;[object Map]&quot;,s=&quot;[object Set]&quot;,d=&quot;[object Array]&quot;,f=&quot;[object Function]&quot;,h=&quot;[object ArrayBuffer]&quot;,m=&quot;[object Object]&quot;,p=&quot;[object Error]&quot;,b=&quot;[object DataView]&quot;,g=&quot;[object Uint8Array]&quot;,y=&quot;[object Uint8ClampedArray]&quot;,v=&quot;[object Uint16Array]&quot;,_=&quot;[object Uint32Array]&quot;,C=&quot;[object BigUint64Array]&quot;,O=&quot;[object Int8Array]&quot;,T=&quot;[object Int16Array]&quot;,V=&quot;[object Int32Array]&quot;,F=&quot;[object BigInt64Array]&quot;,H=&quot;[object Float32Array]&quot;,W=&quot;[object Float64Array]&quot;;e.argumentsTag=i,e.arrayBufferTag=h,e.arrayTag=d,e.bigInt64ArrayTag=F,e.bigUint64ArrayTag=C,e.booleanTag=o,e.dataViewTag=b,e.dateTag=u,e.errorTag=p,e.float32ArrayTag=H,e.float64ArrayTag=W,e.functionTag=f,e.int16ArrayTag=T,e.int32ArrayTag=V,e.int8ArrayTag=O,e.mapTag=l,e.numberTag=n,e.objectTag=m,e.regexpTag=r,e.setTag=s,e.stringTag=t,e.symbolTag=a,e.uint16ArrayTag=v,e.uint32ArrayTag=_,e.uint8ArrayTag=g,e.uint8ClampedArrayTag=y})(Yb)),Yb}var Zb={},C5;function f$(){return C5||(C5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return ArrayBuffer.isView(t)&amp;&amp;!(t instanceof DataView)}e.isTypedArray=r})(Zb)),Zb}var E5;function KC(){return E5||(E5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=d$(),t=H1(),n=WC(),o=VC(),i=f$();function a(d,f){return u(d,void 0,d,new Map,f)}function u(d,f,h,m=new Map,p=void 0){const b=p?.(d,f,h,m);if(b!==void 0)return b;if(o.isPrimitive(d))return d;if(m.has(d))return m.get(d);if(Array.isArray(d)){const g=new Array(d.length);m.set(d,g);for(let y=0;y&lt;d.length;y++)g[y]=u(d[y],y,h,m,p);return Object.hasOwn(d,&quot;index&quot;)&amp;&amp;(g.index=d.index),Object.hasOwn(d,&quot;input&quot;)&amp;&amp;(g.input=d.input),g}if(d instanceof Date)return new Date(d.getTime());if(d instanceof RegExp){const g=new RegExp(d.source,d.flags);return g.lastIndex=d.lastIndex,g}if(d instanceof Map){const g=new Map;m.set(d,g);for(const[y,v]of d)g.set(y,u(v,y,h,m,p));return g}if(d instanceof Set){const g=new Set;m.set(d,g);for(const y of d)g.add(u(y,void 0,h,m,p));return g}if(typeof Buffer&lt;&quot;u&quot;&amp;&amp;Buffer.isBuffer(d))return d.subarray();if(i.isTypedArray(d)){const g=new(Object.getPrototypeOf(d)).constructor(d.length);m.set(d,g);for(let y=0;y&lt;d.length;y++)g[y]=u(d[y],y,h,m,p);return g}if(d instanceof ArrayBuffer||typeof SharedArrayBuffer&lt;&quot;u&quot;&amp;&amp;d instanceof SharedArrayBuffer)return d.slice(0);if(d instanceof DataView){const g=new DataView(d.buffer.slice(0),d.byteOffset,d.byteLength);return m.set(d,g),l(g,d,h,m,p),g}if(typeof File&lt;&quot;u&quot;&amp;&amp;d instanceof File){const g=new File([d],d.name,{type:d.type});return m.set(d,g),l(g,d,h,m,p),g}if(typeof Blob&lt;&quot;u&quot;&amp;&amp;d instanceof Blob){const g=new Blob([d],{type:d.type});return m.set(d,g),l(g,d,h,m,p),g}if(d instanceof Error){const g=new d.constructor;return m.set(d,g),g.message=d.message,g.name=d.name,g.stack=d.stack,g.cause=d.cause,l(g,d,h,m,p),g}if(d instanceof Boolean){const g=new Boolean(d.valueOf());return m.set(d,g),l(g,d,h,m,p),g}if(d instanceof Number){const g=new Number(d.valueOf());return m.set(d,g),l(g,d,h,m,p),g}if(d instanceof String){const g=new String(d.valueOf());return m.set(d,g),l(g,d,h,m,p),g}if(typeof d==&quot;object&quot;&amp;&amp;s(d)){const g=Object.create(Object.getPrototypeOf(d));return m.set(d,g),l(g,d,h,m,p),g}return d}function l(d,f,h=d,m,p){const b=[...Object.keys(f),...r.getSymbols(f)];for(let g=0;g&lt;b.length;g++){const y=b[g],v=Object.getOwnPropertyDescriptor(d,y);(v==null||v.writable)&amp;&amp;(d[y]=u(f[y],y,h,m,p))}}function s(d){switch(t.getTag(d)){case n.argumentsTag:case n.arrayTag:case n.arrayBufferTag:case n.dataViewTag:case n.booleanTag:case n.dateTag:case n.float32ArrayTag:case n.float64ArrayTag:case n.int8ArrayTag:case n.int16ArrayTag:case n.int32ArrayTag:case n.mapTag:case n.numberTag:case n.objectTag:case n.regexpTag:case n.setTag:case n.stringTag:case n.symbolTag:case n.uint8ArrayTag:case n.uint8ClampedArrayTag:case n.uint16ArrayTag:case n.uint32ArrayTag:return!0;default:return!1}}e.cloneDeepWith=a,e.cloneDeepWithImpl=u,e.copyProperties=l})(Kb)),Kb}var A5;function h$(){return A5||(A5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=KC();function t(n){return r.cloneDeepWithImpl(n,void 0,n,new Map,void 0)}e.cloneDeep=t})(Wb)),Wb}var M5;function m$(){return M5||(M5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=HC(),t=h$();function n(o){return o=t.cloneDeep(o),i=&gt;r.isMatch(i,o)}e.matches=n})(zb)),zb}var Qb={},Jb={},ex={},O5;function p$(){return O5||(O5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=KC(),t=H1(),n=WC();function o(i,a){return r.cloneDeepWith(i,(u,l,s,d)=&gt;{const f=a?.(u,l,s,d);if(f!==void 0)return f;if(typeof i==&quot;object&quot;){if(t.getTag(i)===n.objectTag&amp;&amp;typeof i.constructor!=&quot;function&quot;){const h={};return d.set(i,h),r.copyProperties(h,i,s,d),h}switch(Object.prototype.toString.call(i)){case n.numberTag:case n.stringTag:case n.booleanTag:{const h=new i.constructor(i?.valueOf());return r.copyProperties(h,i),h}case n.argumentsTag:{const h={};return r.copyProperties(h,i),h.length=i.length,h[Symbol.iterator]=i[Symbol.iterator],h}default:return}}})}e.cloneDeepWith=o})(ex)),ex}var P5;function g$(){return P5||(P5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=p$();function t(n){return r.cloneDeepWith(n)}e.cloneDeep=t})(Jb)),Jb}var tx={},rx={},T5;function XC(){return T5||(T5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=/^(?:0|[1-9]\d*)$/;function t(n,o=Number.MAX_SAFE_INTEGER){switch(typeof n){case&quot;number&quot;:return Number.isInteger(n)&amp;&amp;n&gt;=0&amp;&amp;n&lt;o;case&quot;symbol&quot;:return!1;case&quot;string&quot;:return r.test(n)}}e.isIndex=t})(rx)),rx}var nx={},I5;function b$(){return I5||(I5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=H1();function t(n){return n!==null&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;r.getTag(n)===&quot;[object Arguments]&quot;}e.isArguments=t})(nx)),nx}var R5;function x$(){return R5||(R5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=DC(),t=XC(),n=b$(),o=z1();function i(a,u){let l;if(Array.isArray(u)?l=u:typeof u==&quot;string&quot;&amp;&amp;r.isDeepKey(u)&amp;&amp;a?.[u]==null?l=o.toPath(u):l=[u],l.length===0)return!1;let s=a;for(let d=0;d&lt;l.length;d++){const f=l[d];if((s==null||!Object.hasOwn(s,f))&amp;&amp;!((Array.isArray(s)||n.isArguments(s))&amp;&amp;t.isIndex(f)&amp;&amp;f&lt;s.length))return!1;s=s[f]}return!0}e.has=i})(tx)),tx}var D5;function y$(){return D5||(D5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=HC(),t=B1(),n=g$(),o=$1(),i=x$();function a(u,l){switch(typeof u){case&quot;object&quot;:{Object.is(u?.valueOf(),-0)&amp;&amp;(u=&quot;-0&quot;);break}case&quot;number&quot;:{u=t.toKey(u);break}}return l=n.cloneDeep(l),function(s){const d=o.get(s,u);return d===void 0?i.has(s,u):l===void 0?d===void 0:r.isMatch(d,l)}}e.matchesProperty=a})(Qb)),Qb}var L5;function v$(){return L5||(L5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=$C(),t=c$(),n=m$(),o=y$();function i(a){if(a==null)return r.identity;switch(typeof a){case&quot;function&quot;:return a;case&quot;object&quot;:return Array.isArray(a)&amp;&amp;a.length===2?o.matchesProperty(a[0],a[1]):n.matches(a);case&quot;string&quot;:case&quot;symbol&quot;:case&quot;number&quot;:return t.property(a)}}e.iteratee=i})(Fb)),Fb}var F5;function w$(){return F5||(F5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=i$(),t=s$(),n=$C(),o=l$(),i=v$();function a(u,l=n.identity){return o.isArrayLikeObject(u)?r.uniqBy(Array.from(u),t.ary(i.iteratee(l),1)):[]}e.uniqBy=a})(Mb)),Mb}var ix,B5;function _$(){return B5||(B5=1,ix=w$().uniqBy),ix}var j$=_$();const z5=bs(j$);function GC(e,r,t){return r===!0?z5(e,t):typeof r==&quot;function&quot;?z5(e,r):e}var sx={exports:{}},ax={},ox={exports:{}},lx={};var $5;function S$(){if($5)return lx;$5=1;var e=Oc();function r(f,h){return f===h&amp;&amp;(f!==0||1/f===1/h)||f!==f&amp;&amp;h!==h}var t=typeof Object.is==&quot;function&quot;?Object.is:r,n=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function u(f,h){var m=h(),p=n({inst:{value:m,getSnapshot:h}}),b=p[0].inst,g=p[1];return i(function(){b.value=m,b.getSnapshot=h,l(b)&amp;&amp;g({inst:b})},[f,m,h]),o(function(){return l(b)&amp;&amp;g({inst:b}),f(function(){l(b)&amp;&amp;g({inst:b})})},[f]),a(m),m}function l(f){var h=f.getSnapshot;f=f.value;try{var m=h();return!t(f,m)}catch{return!0}}function s(f,h){return h()}var d=typeof window&gt;&quot;u&quot;||typeof window.document&gt;&quot;u&quot;||typeof window.document.createElement&gt;&quot;u&quot;?s:u;return lx.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,lx}var U5;function k$(){return U5||(U5=1,ox.exports=S$()),ox.exports}var V5;function N$(){if(V5)return ax;V5=1;var e=Oc(),r=k$();function t(s,d){return s===d&amp;&amp;(s!==0||1/s===1/d)||s!==s&amp;&amp;d!==d}var n=typeof Object.is==&quot;function&quot;?Object.is:t,o=r.useSyncExternalStore,i=e.useRef,a=e.useEffect,u=e.useMemo,l=e.useDebugValue;return ax.useSyncExternalStoreWithSelector=function(s,d,f,h,m){var p=i(null);if(p.current===null){var b={hasValue:!1,value:null};p.current=b}else b=p.current;p=u(function(){function y(T){if(!v){if(v=!0,_=T,T=h(T),m!==void 0&amp;&amp;b.hasValue){var V=b.value;if(m(V,T))return C=V}return C=T}if(V=C,n(_,T))return V;var F=h(T);return m!==void 0&amp;&amp;m(V,F)?(_=T,V):(_=T,C=F)}var v=!1,_,C,O=f===void 0?null:f;return[function(){return y(d())},O===null?void 0:function(){return y(O())}]},[d,f,h,m]);var g=o(s,p[0],p[1]);return a(function(){b.hasValue=!0,b.value=g},[g]),l(g),g},ax}var q5;function C$(){return q5||(q5=1,sx.exports=N$()),sx.exports}var E$=C$(),W1=L.createContext(null),A$=e=&gt;e,Dr=()=&gt;{var e=L.useContext(W1);return e?e.store.dispatch:A$},nm=()=&gt;{},M$=()=&gt;nm,O$=(e,r)=&gt;e===r;function yt(e){var r=L.useContext(W1);return E$.useSyncExternalStoreWithSelector(r?r.subscription.addNestedSub:M$,r?r.store.getState:nm,r?r.store.getState:nm,r?e:nm,O$)}function P$(e,r=`expected a function, instead received ${typeof e}`){if(typeof e!=&quot;function&quot;)throw new TypeError(r)}function T$(e,r=`expected an object, instead received ${typeof e}`){if(typeof e!=&quot;object&quot;)throw new TypeError(r)}function I$(e,r=&quot;expected all items to be functions, instead received the following types: &quot;){if(!e.every(t=&gt;typeof t==&quot;function&quot;)){const t=e.map(n=&gt;typeof n==&quot;function&quot;?`function ${n.name||&quot;unnamed&quot;}()`:typeof n).join(&quot;, &quot;);throw new TypeError(`${r}[${t}]`)}}var H5=e=&gt;Array.isArray(e)?e:[e];function R$(e){const r=Array.isArray(e[0])?e[0]:e;return I$(r,&quot;createSelector expects all input-selectors to be functions, but received the following types: &quot;),r}function D$(e,r){const t=[],{length:n}=e;for(let o=0;o&lt;n;o++)t.push(e[o].apply(null,r));return t}var L$=class{constructor(e){this.value=e}deref(){return this.value}},F$=typeof WeakRef&lt;&quot;u&quot;?WeakRef:L$,B$=0,W5=1;function Th(){return{s:B$,v:void 0,o:null,p:null}}function YC(e,r={}){let t=Th();const{resultEqualityCheck:n}=r;let o,i=0;function a(){let u=t;const{length:l}=arguments;for(let f=0,h=l;f&lt;h;f++){const m=arguments[f];if(typeof m==&quot;function&quot;||typeof m==&quot;object&quot;&amp;&amp;m!==null){let p=u.o;p===null&amp;&amp;(u.o=p=new WeakMap);const b=p.get(m);b===void 0?(u=Th(),p.set(m,u)):u=b}else{let p=u.p;p===null&amp;&amp;(u.p=p=new Map);const b=p.get(m);b===void 0?(u=Th(),p.set(m,u)):u=b}}const s=u;let d;if(u.s===W5)d=u.v;else if(d=e.apply(null,arguments),i++,n){const f=o?.deref?.()??o;f!=null&amp;&amp;n(f,d)&amp;&amp;(d=f,i!==0&amp;&amp;i--),o=typeof d==&quot;object&quot;&amp;&amp;d!==null||typeof d==&quot;function&quot;?new F$(d):d}return s.s=W5,s.v=d,d}return a.clearCache=()=&gt;{t=Th(),a.resetResultsCount()},a.resultsCount=()=&gt;i,a.resetResultsCount=()=&gt;{i=0},a}function z$(e,...r){const t=typeof e==&quot;function&quot;?{memoize:e,memoizeOptions:r}:e,n=(...o)=&gt;{let i=0,a=0,u,l={},s=o.pop();typeof s==&quot;object&quot;&amp;&amp;(l=s,s=o.pop()),P$(s,`createSelector expects an output function after the inputs, but received: [${typeof s}]`);const d={...t,...l},{memoize:f,memoizeOptions:h=[],argsMemoize:m=YC,argsMemoizeOptions:p=[]}=d,b=H5(h),g=H5(p),y=R$(o),v=f(function(){return i++,s.apply(null,arguments)},...b),_=m(function(){a++;const O=D$(y,arguments);return u=v.apply(null,O),u},...g);return Object.assign(_,{resultFunc:s,memoizedResultFunc:v,dependencies:y,dependencyRecomputations:()=&gt;a,resetDependencyRecomputations:()=&gt;{a=0},lastResult:()=&gt;u,recomputations:()=&gt;i,resetRecomputations:()=&gt;{i=0},memoize:f,argsMemoize:m})};return Object.assign(n,{withTypes:()=&gt;n}),n}var Pe=z$(YC),$$=Object.assign((e,r=Pe)=&gt;{T$(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const t=Object.keys(e),n=t.map(i=&gt;e[i]);return r(n,(...i)=&gt;i.reduce((a,u,l)=&gt;(a[t[l]]=u,a),{}))},{withTypes:()=&gt;$$}),cx={},ux={},dx={},K5;function U$(){return K5||(K5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(n){return typeof n==&quot;symbol&quot;?1:n===null?2:n===void 0?3:n!==n?4:0}const t=(n,o,i)=&gt;{if(n!==o){const a=r(n),u=r(o);if(a===u&amp;&amp;a===0){if(n&lt;o)return i===&quot;desc&quot;?1:-1;if(n&gt;o)return i===&quot;desc&quot;?-1:1}return i===&quot;desc&quot;?u-a:a-u}return 0};e.compareValues=t})(dx)),dx}var fx={},hx={},X5;function ZC(){return X5||(X5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return typeof t==&quot;symbol&quot;||t instanceof Symbol}e.isSymbol=r})(hx)),hx}var G5;function V$(){return G5||(G5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=ZC(),t=/\.|\[(?:[^[\]]*|([&quot;&#039;])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function o(i,a){return Array.isArray(i)?!1:typeof i==&quot;number&quot;||typeof i==&quot;boolean&quot;||i==null||r.isSymbol(i)?!0:typeof i==&quot;string&quot;&amp;&amp;(n.test(i)||!t.test(i))||a!=null&amp;&amp;Object.hasOwn(a,i)}e.isKey=o})(fx)),fx}var Y5;function q$(){return Y5||(Y5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=U$(),t=V$(),n=z1();function o(i,a,u,l){if(i==null)return[];u=l?void 0:u,Array.isArray(i)||(i=Object.values(i)),Array.isArray(a)||(a=a==null?[null]:[a]),a.length===0&amp;&amp;(a=[null]),Array.isArray(u)||(u=u==null?[]:[u]),u=u.map(m=&gt;String(m));const s=(m,p)=&gt;{let b=m;for(let g=0;g&lt;p.length&amp;&amp;b!=null;++g)b=b[p[g]];return b},d=(m,p)=&gt;p==null||m==null?p:typeof m==&quot;object&quot;&amp;&amp;&quot;key&quot;in m?Object.hasOwn(p,m.key)?p[m.key]:s(p,m.path):typeof m==&quot;function&quot;?m(p):Array.isArray(m)?s(p,m):typeof p==&quot;object&quot;?p[m]:p,f=a.map(m=&gt;(Array.isArray(m)&amp;&amp;m.length===1&amp;&amp;(m=m[0]),m==null||typeof m==&quot;function&quot;||Array.isArray(m)||t.isKey(m)?m:{key:m,path:n.toPath(m)}));return i.map(m=&gt;({original:m,criteria:f.map(p=&gt;d(p,m))})).slice().sort((m,p)=&gt;{for(let b=0;b&lt;f.length;b++){const g=r.compareValues(m.criteria[b],p.criteria[b],u[b]);if(g!==0)return g}return 0}).map(m=&gt;m.original)}e.orderBy=o})(ux)),ux}var mx={},Z5;function H$(){return Z5||(Z5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n=1){const o=[],i=Math.floor(n),a=(u,l)=&gt;{for(let s=0;s&lt;u.length;s++){const d=u[s];Array.isArray(d)&amp;&amp;l&lt;i?a(d,l+1):o.push(d)}};return a(t,0),o}e.flatten=r})(mx)),mx}var px={},Q5;function QC(){return Q5||(Q5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=XC(),t=q1(),n=UC(),o=qC();function i(a,u,l){return n.isObject(l)&amp;&amp;(typeof u==&quot;number&quot;&amp;&amp;t.isArrayLike(l)&amp;&amp;r.isIndex(u)&amp;&amp;u&lt;l.length||typeof u==&quot;string&quot;&amp;&amp;u in l)?o.isEqualsSameValueZero(l[u],a):!1}e.isIterateeCall=i})(px)),px}var J5;function W$(){return J5||(J5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=q$(),t=H$(),n=QC();function o(i,...a){const u=a.length;return u&gt;1&amp;&amp;n.isIterateeCall(i,a[0],a[1])?a=[]:u&gt;2&amp;&amp;n.isIterateeCall(a[0],a[1],a[2])&amp;&amp;(a=[a[0]]),r.orderBy(i,t.flatten(a),[&quot;asc&quot;])}e.sortBy=o})(cx)),cx}var gx,ej;function K$(){return ej||(ej=1,gx=W$().sortBy),gx}var X$=K$();const Tp=bs(X$);var JC=e=&gt;e.legend.settings,G$=e=&gt;e.legend.size,Y$=e=&gt;e.legend.payload,Z$=Pe([Y$,JC],(e,r)=&gt;{var{itemSorter:t}=r,n=e.flat(1);return t?Tp(n,t):n});function Q$(){return yt(Z$)}var Ih=1;function e7(){var e=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:[],[r,t]=L.useState({height:0,left:0,top:0,width:0}),n=L.useCallback(o=&gt;{if(o!=null){var i=o.getBoundingClientRect(),a={height:i.height,left:i.left,top:i.top,width:i.width};(Math.abs(a.height-r.height)&gt;Ih||Math.abs(a.left-r.left)&gt;Ih||Math.abs(a.top-r.top)&gt;Ih||Math.abs(a.width-r.width)&gt;Ih)&amp;&amp;t({height:a.height,left:a.left,top:a.top,width:a.width})}},[r.width,r.height,r.top,r.left,...e]);return[r,n]}function Sn(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var J$=typeof Symbol==&quot;function&quot;&amp;&amp;Symbol.observable||&quot;@@observable&quot;,tj=J$,bx=()=&gt;Math.random().toString(36).substring(7).split(&quot;&quot;).join(&quot;.&quot;),eU={INIT:`@@redux/INIT${bx()}`,REPLACE:`@@redux/REPLACE${bx()}`,PROBE_UNKNOWN_ACTION:()=&gt;`@@redux/PROBE_UNKNOWN_ACTION${bx()}`},Mm=eU;function K1(e){if(typeof e!=&quot;object&quot;||e===null)return!1;let r=e;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r||Object.getPrototypeOf(e)===null}function t7(e,r,t){if(typeof e!=&quot;function&quot;)throw new Error(Sn(2));if(typeof r==&quot;function&quot;&amp;&amp;typeof t==&quot;function&quot;||typeof t==&quot;function&quot;&amp;&amp;typeof arguments[3]==&quot;function&quot;)throw new Error(Sn(0));if(typeof r==&quot;function&quot;&amp;&amp;typeof t&gt;&quot;u&quot;&amp;&amp;(t=r,r=void 0),typeof t&lt;&quot;u&quot;){if(typeof t!=&quot;function&quot;)throw new Error(Sn(1));return t(t7)(e,r)}let n=e,o=r,i=new Map,a=i,u=0,l=!1;function s(){a===i&amp;&amp;(a=new Map,i.forEach((g,y)=&gt;{a.set(y,g)}))}function d(){if(l)throw new Error(Sn(3));return o}function f(g){if(typeof g!=&quot;function&quot;)throw new Error(Sn(4));if(l)throw new Error(Sn(5));let y=!0;s();const v=u++;return a.set(v,g),function(){if(y){if(l)throw new Error(Sn(6));y=!1,s(),a.delete(v),i=null}}}function h(g){if(!K1(g))throw new Error(Sn(7));if(typeof g.type&gt;&quot;u&quot;)throw new Error(Sn(8));if(typeof g.type!=&quot;string&quot;)throw new Error(Sn(17));if(l)throw new Error(Sn(9));try{l=!0,o=n(o,g)}finally{l=!1}return(i=a).forEach(v=&gt;{v()}),g}function m(g){if(typeof g!=&quot;function&quot;)throw new Error(Sn(10));n=g,h({type:Mm.REPLACE})}function p(){const g=f;return{subscribe(y){if(typeof y!=&quot;object&quot;||y===null)throw new Error(Sn(11));function v(){const C=y;C.next&amp;&amp;C.next(d())}return v(),{unsubscribe:g(v)}},[tj](){return this}}}return h({type:Mm.INIT}),{dispatch:h,subscribe:f,getState:d,replaceReducer:m,[tj]:p}}function tU(e){Object.keys(e).forEach(r=&gt;{const t=e[r];if(typeof t(void 0,{type:Mm.INIT})&gt;&quot;u&quot;)throw new Error(Sn(12));if(typeof t(void 0,{type:Mm.PROBE_UNKNOWN_ACTION()})&gt;&quot;u&quot;)throw new Error(Sn(13))})}function r7(e){const r=Object.keys(e),t={};for(let i=0;i&lt;r.length;i++){const a=r[i];typeof e[a]==&quot;function&quot;&amp;&amp;(t[a]=e[a])}const n=Object.keys(t);let o;try{tU(t)}catch(i){o=i}return function(a={},u){if(o)throw o;let l=!1;const s={};for(let d=0;d&lt;n.length;d++){const f=n[d],h=t[f],m=a[f],p=h(m,u);if(typeof p&gt;&quot;u&quot;)throw u&amp;&amp;u.type,new Error(Sn(14));s[f]=p,l=l||p!==m}return l=l||n.length!==Object.keys(a).length,l?s:a}}function Om(...e){return e.length===0?r=&gt;r:e.length===1?e[0]:e.reduce((r,t)=&gt;(...n)=&gt;r(t(...n)))}function rU(...e){return r=&gt;(t,n)=&gt;{const o=r(t,n);let i=()=&gt;{throw new Error(Sn(15))};const a={getState:o.getState,dispatch:(l,...s)=&gt;i(l,...s)},u=e.map(l=&gt;l(a));return i=Om(...u)(o.dispatch),{...o,dispatch:i}}}function n7(e){return K1(e)&amp;&amp;&quot;type&quot;in e&amp;&amp;typeof e.type==&quot;string&quot;}var i7=Symbol.for(&quot;immer-nothing&quot;),rj=Symbol.for(&quot;immer-draftable&quot;),Yn=Symbol.for(&quot;immer-state&quot;);function cs(e,...r){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var vi=Object,Sc=vi.getPrototypeOf,Pm=&quot;constructor&quot;,Ip=&quot;prototype&quot;,Zy=&quot;configurable&quot;,Tm=&quot;enumerable&quot;,im=&quot;writable&quot;,cd=&quot;value&quot;,fa=e=&gt;!!e&amp;&amp;!!e[Yn];function gs(e){return e?s7(e)||Dp(e)||!!e[rj]||!!e[Pm]?.[rj]||Lp(e)||Fp(e):!1}var nU=vi[Ip][Pm].toString(),nj=new WeakMap;function s7(e){if(!e||!X1(e))return!1;const r=Sc(e);if(r===null||r===vi[Ip])return!0;const t=vi.hasOwnProperty.call(r,Pm)&amp;&amp;r[Pm];if(t===Object)return!0;if(!dc(t))return!1;let n=nj.get(t);return n===void 0&amp;&amp;(n=Function.toString.call(t),nj.set(t,n)),n===nU}function Rp(e,r,t=!0){Od(e)===0?(t?Reflect.ownKeys(e):vi.keys(e)).forEach(o=&gt;{r(o,e[o],e)}):e.forEach((n,o)=&gt;r(o,n,e))}function Od(e){const r=e[Yn];return r?r.type_:Dp(e)?1:Lp(e)?2:Fp(e)?3:0}var ij=(e,r,t=Od(e))=&gt;t===2?e.has(r):vi[Ip].hasOwnProperty.call(e,r),Qy=(e,r,t=Od(e))=&gt;t===2?e.get(r):e[r],Im=(e,r,t,n=Od(e))=&gt;{n===2?e.set(r,t):n===3?e.add(t):e[r]=t};function iU(e,r){return e===r?e!==0||1/e===1/r:e!==e&amp;&amp;r!==r}var Dp=Array.isArray,Lp=e=&gt;e instanceof Map,Fp=e=&gt;e instanceof Set,X1=e=&gt;typeof e==&quot;object&quot;,dc=e=&gt;typeof e==&quot;function&quot;,xx=e=&gt;typeof e==&quot;boolean&quot;;function sU(e){const r=+e;return Number.isInteger(r)&amp;&amp;String(r)===e}var ea=e=&gt;e.copy_||e.base_,G1=e=&gt;e.modified_?e.copy_:e.base_;function Jy(e,r){if(Lp(e))return new Map(e);if(Fp(e))return new Set(e);if(Dp(e))return Array[Ip].slice.call(e);const t=s7(e);if(r===!0||r===&quot;class_only&quot;&amp;&amp;!t){const n=vi.getOwnPropertyDescriptors(e);delete n[Yn];let o=Reflect.ownKeys(n);for(let i=0;i&lt;o.length;i++){const a=o[i],u=n[a];u[im]===!1&amp;&amp;(u[im]=!0,u[Zy]=!0),(u.get||u.set)&amp;&amp;(n[a]={[Zy]:!0,[im]:!0,[Tm]:u[Tm],[cd]:e[a]})}return vi.create(Sc(e),n)}else{const n=Sc(e);if(n!==null&amp;&amp;t)return{...e};const o=vi.create(n);return vi.assign(o,e)}}function Y1(e,r=!1){return Bp(e)||fa(e)||!gs(e)||(Od(e)&gt;1&amp;&amp;vi.defineProperties(e,{set:Rh,add:Rh,clear:Rh,delete:Rh}),vi.freeze(e),r&amp;&amp;Rp(e,(t,n)=&gt;{Y1(n,!0)},!1)),e}function aU(){cs(2)}var Rh={[cd]:aU};function Bp(e){return e===null||!X1(e)?!0:vi.isFrozen(e)}var Rm=&quot;MapSet&quot;,ev=&quot;Patches&quot;,sj=&quot;ArrayMethods&quot;,a7={};function xl(e){const r=a7[e];return r||cs(0,e),r}var aj=e=&gt;!!a7[e],ud,o7=()=&gt;ud,oU=(e,r)=&gt;({drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:aj(Rm)?xl(Rm):void 0,arrayMethodsPlugin_:aj(sj)?xl(sj):void 0});function oj(e,r){r&amp;&amp;(e.patchPlugin_=xl(ev),e.patches_=[],e.inversePatches_=[],e.patchListener_=r)}function tv(e){rv(e),e.drafts_.forEach(lU),e.drafts_=null}function rv(e){e===ud&amp;&amp;(ud=e.parent_)}var lj=e=&gt;ud=oU(ud,e);function lU(e){const r=e[Yn];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function cj(e,r){r.unfinalizedDrafts_=r.drafts_.length;const t=r.drafts_[0];if(e!==void 0&amp;&amp;e!==t){t[Yn].modified_&amp;&amp;(tv(r),cs(4)),gs(e)&amp;&amp;(e=uj(r,e));const{patchPlugin_:o}=r;o&amp;&amp;o.generateReplacementPatches_(t[Yn].base_,e,r)}else e=uj(r,t);return cU(r,e,!0),tv(r),r.patches_&amp;&amp;r.patchListener_(r.patches_,r.inversePatches_),e!==i7?e:void 0}function uj(e,r){if(Bp(r))return r;const t=r[Yn];if(!t)return Dm(r,e.handledSet_,e);if(!zp(t,e))return r;if(!t.modified_)return t.base_;if(!t.finalized_){const{callbacks_:n}=t;if(n)for(;n.length&gt;0;)n.pop()(e);u7(t,e)}return t.copy_}function cU(e,r,t=!1){!e.parent_&amp;&amp;e.immer_.autoFreeze_&amp;&amp;e.canAutoFreeze_&amp;&amp;Y1(r,t)}function l7(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var zp=(e,r)=&gt;e.scope_===r,uU=[];function c7(e,r,t,n){const o=ea(e),i=e.type_;if(n!==void 0&amp;&amp;Qy(o,n,i)===r){Im(o,n,t,i);return}if(!e.draftLocations_){const u=e.draftLocations_=new Map;Rp(o,(l,s)=&gt;{if(fa(s)){const d=u.get(s)||[];d.push(l),u.set(s,d)}})}const a=e.draftLocations_.get(r)??uU;for(const u of a)Im(o,u,t,i)}function dU(e,r,t){e.callbacks_.push(function(o){const i=r;if(!i||!zp(i,o))return;o.mapSetPlugin_?.fixSetContents(i);const a=G1(i);c7(e,i.draft_??i,a,t),u7(i,o)})}function u7(e,r){if(e.modified_&amp;&amp;!e.finalized_&amp;&amp;(e.type_===3||e.type_===1&amp;&amp;e.allIndicesReassigned_||(e.assigned_?.size??0)&gt;0)){const{patchPlugin_:n}=r;if(n){const o=n.getPath(e);o&amp;&amp;n.generatePatches_(e,o,r)}l7(e)}}function fU(e,r,t){const{scope_:n}=e;if(fa(t)){const o=t[Yn];zp(o,n)&amp;&amp;o.callbacks_.push(function(){sm(e);const a=G1(o);c7(e,t,a,r)})}else gs(t)&amp;&amp;e.callbacks_.push(function(){const i=ea(e);e.type_===3?i.has(t)&amp;&amp;Dm(t,n.handledSet_,n):Qy(i,r,e.type_)===t&amp;&amp;n.drafts_.length&gt;1&amp;&amp;(e.assigned_.get(r)??!1)===!0&amp;&amp;e.copy_&amp;&amp;Dm(Qy(e.copy_,r,e.type_),n.handledSet_,n)})}function Dm(e,r,t){return!t.immer_.autoFreeze_&amp;&amp;t.unfinalizedDrafts_&lt;1||fa(e)||r.has(e)||!gs(e)||Bp(e)||(r.add(e),Rp(e,(n,o)=&gt;{if(fa(o)){const i=o[Yn];if(zp(i,t)){const a=G1(i);Im(e,n,a,e.type_),l7(i)}}else gs(o)&amp;&amp;Dm(o,r,t)})),e}function hU(e,r){const t=Dp(e),n={type_:t?1:0,scope_:r?r.scope_:o7(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let o=n,i=Lm;t&amp;&amp;(o=[n],i=dd);const{revoke:a,proxy:u}=Proxy.revocable(o,i);return n.draft_=u,n.revoke_=a,[u,n]}var Lm={get(e,r){if(r===Yn)return e;let t=e.scope_.arrayMethodsPlugin_;const n=e.type_===1&amp;&amp;typeof r==&quot;string&quot;;if(n&amp;&amp;t?.isArrayOperationMethod(r))return t.createMethodInterceptor(e,r);const o=ea(e);if(!ij(o,r,e.type_))return mU(e,o,r);const i=o[r];if(e.finalized_||!gs(i)||n&amp;&amp;e.operationMethod&amp;&amp;t?.isMutatingArrayMethod(e.operationMethod)&amp;&amp;sU(r))return i;if(i===yx(e.base_,r)){sm(e);const a=e.type_===1?+r:r,u=iv(e.scope_,i,e,a);return e.copy_[a]=u}return i},has(e,r){return r in ea(e)},ownKeys(e){return Reflect.ownKeys(ea(e))},set(e,r,t){const n=d7(ea(e),r);if(n?.set)return n.set.call(e.draft_,t),!0;if(!e.modified_){const o=yx(ea(e),r),i=o?.[Yn];if(i&amp;&amp;i.base_===t)return e.copy_[r]=t,e.assigned_.set(r,!1),!0;if(iU(t,o)&amp;&amp;(t!==void 0||ij(e.base_,r,e.type_)))return!0;sm(e),nv(e)}return e.copy_[r]===t&amp;&amp;(t!==void 0||r in e.copy_)||Number.isNaN(t)&amp;&amp;Number.isNaN(e.copy_[r])||(e.copy_[r]=t,e.assigned_.set(r,!0),fU(e,r,t)),!0},deleteProperty(e,r){return sm(e),yx(e.base_,r)!==void 0||r in e.base_?(e.assigned_.set(r,!1),nv(e)):e.assigned_.delete(r),e.copy_&amp;&amp;delete e.copy_[r],!0},getOwnPropertyDescriptor(e,r){const t=ea(e),n=Reflect.getOwnPropertyDescriptor(t,r);return n&amp;&amp;{[im]:!0,[Zy]:e.type_!==1||r!==&quot;length&quot;,[Tm]:n[Tm],[cd]:t[r]}},defineProperty(){cs(11)},getPrototypeOf(e){return Sc(e.base_)},setPrototypeOf(){cs(12)}},dd={};for(let e in Lm){let r=Lm[e];dd[e]=function(){const t=arguments;return t[0]=t[0][0],r.apply(this,t)}}dd.deleteProperty=function(e,r){return dd.set.call(this,e,r,void 0)};dd.set=function(e,r,t){return Lm.set.call(this,e[0],r,t,e[0])};function yx(e,r){const t=e[Yn];return(t?ea(t):e)[r]}function mU(e,r,t){const n=d7(r,t);return n?cd in n?n[cd]:n.get?.call(e.draft_):void 0}function d7(e,r){if(!(r in e))return;let t=Sc(e);for(;t;){const n=Object.getOwnPropertyDescriptor(t,r);if(n)return n;t=Sc(t)}}function nv(e){e.modified_||(e.modified_=!0,e.parent_&amp;&amp;nv(e.parent_))}function sm(e){e.copy_||(e.assigned_=new Map,e.copy_=Jy(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var pU=class{constructor(r){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,n,o)=&gt;{if(dc(t)&amp;&amp;!dc(n)){const a=n;n=t;const u=this;return function(s=a,...d){return u.produce(s,f=&gt;n.call(this,f,...d))}}dc(n)||cs(6),o!==void 0&amp;&amp;!dc(o)&amp;&amp;cs(7);let i;if(gs(t)){const a=lj(this),u=iv(a,t,void 0);let l=!0;try{i=n(u),l=!1}finally{l?tv(a):rv(a)}return oj(a,o),cj(i,a)}else if(!t||!X1(t)){if(i=n(t),i===void 0&amp;&amp;(i=t),i===i7&amp;&amp;(i=void 0),this.autoFreeze_&amp;&amp;Y1(i,!0),o){const a=[],u=[];xl(ev).generateReplacementPatches_(t,i,{patches_:a,inversePatches_:u}),o(a,u)}return i}else cs(1,t)},this.produceWithPatches=(t,n)=&gt;{if(dc(t))return(u,...l)=&gt;this.produceWithPatches(u,s=&gt;t(s,...l));let o,i;return[this.produce(t,n,(u,l)=&gt;{o=u,i=l}),o,i]},xx(r?.autoFreeze)&amp;&amp;this.setAutoFreeze(r.autoFreeze),xx(r?.useStrictShallowCopy)&amp;&amp;this.setUseStrictShallowCopy(r.useStrictShallowCopy),xx(r?.useStrictIteration)&amp;&amp;this.setUseStrictIteration(r.useStrictIteration)}createDraft(r){gs(r)||cs(8),fa(r)&amp;&amp;(r=fs(r));const t=lj(this),n=iv(t,r,void 0);return n[Yn].isManual_=!0,rv(t),n}finishDraft(r,t){const n=r&amp;&amp;r[Yn];(!n||!n.isManual_)&amp;&amp;cs(9);const{scope_:o}=n;return oj(o,t),cj(void 0,o)}setAutoFreeze(r){this.autoFreeze_=r}setUseStrictShallowCopy(r){this.useStrictShallowCopy_=r}setUseStrictIteration(r){this.useStrictIteration_=r}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(r,t){let n;for(n=t.length-1;n&gt;=0;n--){const i=t[n];if(i.path.length===0&amp;&amp;i.op===&quot;replace&quot;){r=i.value;break}}n&gt;-1&amp;&amp;(t=t.slice(n+1));const o=xl(ev).applyPatches_;return fa(r)?o(r,t):this.produce(r,i=&gt;o(i,t))}};function iv(e,r,t,n){const[o,i]=Lp(r)?xl(Rm).proxyMap_(r,t):Fp(r)?xl(Rm).proxySet_(r,t):hU(r,t);return(t?.scope_??o7()).drafts_.push(o),i.callbacks_=t?.callbacks_??[],i.key_=n,t&amp;&amp;n!==void 0?dU(t,i,n):i.callbacks_.push(function(l){l.mapSetPlugin_?.fixSetContents(i);const{patchPlugin_:s}=l;i.modified_&amp;&amp;s&amp;&amp;s.generatePatches_(i,[],l)}),o}function fs(e){return fa(e)||cs(10,e),f7(e)}function f7(e){if(!gs(e)||Bp(e))return e;const r=e[Yn];let t,n=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,t=Jy(e,r.scope_.immer_.useStrictShallowCopy_),n=r.scope_.immer_.shouldUseStrictIteration()}else t=Jy(e,!0);return Rp(t,(o,i)=&gt;{Im(t,o,f7(i))},n),r&amp;&amp;(r.finalized_=!1),t}var gU=new pU,h7=gU.produce;function m7(e){return({dispatch:t,getState:n})=&gt;o=&gt;i=&gt;typeof i==&quot;function&quot;?i(t,n,e):o(i)}var bU=m7(),xU=m7,yU=typeof window&lt;&quot;u&quot;&amp;&amp;window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]==&quot;object&quot;?Om:Om.apply(null,arguments)};function Wi(e,r){function t(...n){if(r){let o=r(...n);if(!o)throw new Error(wi(0));return{type:e,payload:o.payload,...&quot;meta&quot;in o&amp;&amp;{meta:o.meta},...&quot;error&quot;in o&amp;&amp;{error:o.error}}}return{type:e,payload:n[0]}}return t.toString=()=&gt;`${e}`,t.type=e,t.match=n=&gt;n7(n)&amp;&amp;n.type===e,t}var p7=class qu extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,qu.prototype)}static get[Symbol.species](){return qu}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&amp;&amp;Array.isArray(r[0])?new qu(...r[0].concat(this)):new qu(...r.concat(this))}};function dj(e){return gs(e)?h7(e,()=&gt;{}):e}function Dh(e,r,t){return e.has(r)?e.get(r):e.set(r,t(r)).get(r)}function vU(e){return typeof e==&quot;boolean&quot;}var wU=()=&gt;function(r){const{thunk:t=!0,immutableCheck:n=!0,serializableCheck:o=!0,actionCreatorCheck:i=!0}=r??{};let a=new p7;return t&amp;&amp;(vU(t)?a.push(bU):a.push(xU(t.extraArgument))),a},g7=&quot;RTK_autoBatch&quot;,Er=()=&gt;e=&gt;({payload:e,meta:{[g7]:!0}}),fj=e=&gt;r=&gt;{setTimeout(r,e)},b7=(e={type:&quot;raf&quot;})=&gt;r=&gt;(...t)=&gt;{const n=r(...t);let o=!0,i=!1,a=!1;const u=new Set,l=e.type===&quot;tick&quot;?queueMicrotask:e.type===&quot;raf&quot;?typeof window&lt;&quot;u&quot;&amp;&amp;window.requestAnimationFrame?window.requestAnimationFrame:fj(10):e.type===&quot;callback&quot;?e.queueNotification:fj(e.timeout),s=()=&gt;{a=!1,i&amp;&amp;(i=!1,u.forEach(d=&gt;d()))};return Object.assign({},n,{subscribe(d){const f=()=&gt;o&amp;&amp;d(),h=n.subscribe(f);return u.add(d),()=&gt;{h(),u.delete(d)}},dispatch(d){try{return o=!d?.meta?.[g7],i=!o,i&amp;&amp;(a||(a=!0,l(s))),n.dispatch(d)}finally{o=!0}}})},_U=e=&gt;function(t){const{autoBatch:n=!0}=t??{};let o=new p7(e);return n&amp;&amp;o.push(b7(typeof n==&quot;object&quot;?n:void 0)),o};function jU(e){const r=wU(),{reducer:t=void 0,middleware:n,devTools:o=!0,preloadedState:i=void 0,enhancers:a=void 0}=e||{};let u;if(typeof t==&quot;function&quot;)u=t;else if(K1(t))u=r7(t);else throw new Error(wi(1));let l;typeof n==&quot;function&quot;?l=n(r):l=r();let s=Om;o&amp;&amp;(s=yU({trace:!1,...typeof o==&quot;object&quot;&amp;&amp;o}));const d=rU(...l),f=_U(d);let h=typeof a==&quot;function&quot;?a(f):f();const m=s(...h);return t7(u,i,m)}function x7(e){const r={},t=[];let n;const o={addCase(i,a){const u=typeof i==&quot;string&quot;?i:i.type;if(!u)throw new Error(wi(28));if(u in r)throw new Error(wi(29));return r[u]=a,o},addAsyncThunk(i,a){return a.pending&amp;&amp;(r[i.pending.type]=a.pending),a.rejected&amp;&amp;(r[i.rejected.type]=a.rejected),a.fulfilled&amp;&amp;(r[i.fulfilled.type]=a.fulfilled),a.settled&amp;&amp;t.push({matcher:i.settled,reducer:a.settled}),o},addMatcher(i,a){return t.push({matcher:i,reducer:a}),o},addDefaultCase(i){return n=i,o}};return e(o),[r,t,n]}function SU(e){return typeof e==&quot;function&quot;}function kU(e,r){let[t,n,o]=x7(r),i;if(SU(e))i=()=&gt;dj(e());else{const u=dj(e);i=()=&gt;u}function a(u=i(),l){let s=[t[l.type],...n.filter(({matcher:d})=&gt;d(l)).map(({reducer:d})=&gt;d)];return s.filter(d=&gt;!!d).length===0&amp;&amp;(s=[o]),s.reduce((d,f)=&gt;{if(f)if(fa(d)){const m=f(d,l);return m===void 0?d:m}else{if(gs(d))return h7(d,h=&gt;f(h,l));{const h=f(d,l);if(h===void 0){if(d===null)return d;throw Error(&quot;A case reducer on a non-draftable value must not return undefined&quot;)}return h}}return d},u)}return a.getInitialState=i,a}var NU=&quot;ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW&quot;,CU=(e=21)=&gt;{let r=&quot;&quot;,t=e;for(;t--;)r+=NU[Math.random()*64|0];return r},EU=Symbol.for(&quot;rtk-slice-createasyncthunk&quot;);function AU(e,r){return`${e}/${r}`}function MU({creators:e}={}){const r=e?.asyncThunk?.[EU];return function(n){const{name:o,reducerPath:i=o}=n;if(!o)throw new Error(wi(11));const a=(typeof n.reducers==&quot;function&quot;?n.reducers(PU()):n.reducers)||{},u=Object.keys(a),l={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(_,C){const O=typeof _==&quot;string&quot;?_:_.type;if(!O)throw new Error(wi(12));if(O in l.sliceCaseReducersByType)throw new Error(wi(13));return l.sliceCaseReducersByType[O]=C,s},addMatcher(_,C){return l.sliceMatchers.push({matcher:_,reducer:C}),s},exposeAction(_,C){return l.actionCreators[_]=C,s},exposeCaseReducer(_,C){return l.sliceCaseReducersByName[_]=C,s}};u.forEach(_=&gt;{const C=a[_],O={reducerName:_,type:AU(o,_),createNotation:typeof n.reducers==&quot;function&quot;};IU(C)?DU(O,C,s,r):TU(O,C,s)});function d(){const[_={},C=[],O=void 0]=typeof n.extraReducers==&quot;function&quot;?x7(n.extraReducers):[n.extraReducers],T={..._,...l.sliceCaseReducersByType};return kU(n.initialState,V=&gt;{for(let F in T)V.addCase(F,T[F]);for(let F of l.sliceMatchers)V.addMatcher(F.matcher,F.reducer);for(let F of C)V.addMatcher(F.matcher,F.reducer);O&amp;&amp;V.addDefaultCase(O)})}const f=_=&gt;_,h=new Map,m=new WeakMap;let p;function b(_,C){return p||(p=d()),p(_,C)}function g(){return p||(p=d()),p.getInitialState()}function y(_,C=!1){function O(V){let F=V[_];return typeof F&gt;&quot;u&quot;&amp;&amp;C&amp;&amp;(F=Dh(m,O,g)),F}function T(V=f){const F=Dh(h,C,()=&gt;new WeakMap);return Dh(F,V,()=&gt;{const H={};for(const[W,K]of Object.entries(n.selectors??{}))H[W]=OU(K,V,()=&gt;Dh(m,V,g),C);return H})}return{reducerPath:_,getSelectors:T,get selectors(){return T(O)},selectSlice:O}}const v={name:o,reducer:b,actions:l.actionCreators,caseReducers:l.sliceCaseReducersByName,getInitialState:g,...y(i),injectInto(_,{reducerPath:C,...O}={}){const T=C??i;return _.inject({reducerPath:T,reducer:b},O),{...v,...y(T,!0)}}};return v}}function OU(e,r,t,n){function o(i,...a){let u=r(i);return typeof u&gt;&quot;u&quot;&amp;&amp;n&amp;&amp;(u=t()),e(u,...a)}return o.unwrapped=e,o}var di=MU();function PU(){function e(r,t){return{_reducerDefinitionType:&quot;asyncThunk&quot;,payloadCreator:r,...t}}return e.withTypes=()=&gt;e,{reducer(r){return Object.assign({[r.name](...t){return r(...t)}}[r.name],{_reducerDefinitionType:&quot;reducer&quot;})},preparedReducer(r,t){return{_reducerDefinitionType:&quot;reducerWithPrepare&quot;,prepare:r,reducer:t}},asyncThunk:e}}function TU({type:e,reducerName:r,createNotation:t},n,o){let i,a;if(&quot;reducer&quot;in n){if(t&amp;&amp;!RU(n))throw new Error(wi(17));i=n.reducer,a=n.prepare}else i=n;o.addCase(e,i).exposeCaseReducer(r,i).exposeAction(r,a?Wi(e,a):Wi(e))}function IU(e){return e._reducerDefinitionType===&quot;asyncThunk&quot;}function RU(e){return e._reducerDefinitionType===&quot;reducerWithPrepare&quot;}function DU({type:e,reducerName:r},t,n,o){if(!o)throw new Error(wi(18));const{payloadCreator:i,fulfilled:a,pending:u,rejected:l,settled:s,options:d}=t,f=o(e,i,d);n.exposeAction(r,f),a&amp;&amp;n.addCase(f.fulfilled,a),u&amp;&amp;n.addCase(f.pending,u),l&amp;&amp;n.addCase(f.rejected,l),s&amp;&amp;n.addMatcher(f.settled,s),n.exposeCaseReducer(r,{fulfilled:a||Lh,pending:u||Lh,rejected:l||Lh,settled:s||Lh})}function Lh(){}var LU=&quot;task&quot;,y7=&quot;listener&quot;,v7=&quot;completed&quot;,Z1=&quot;cancelled&quot;,FU=`task-${Z1}`,BU=`task-${v7}`,sv=`${y7}-${Z1}`,zU=`${y7}-${v7}`,$p=class{constructor(e){this.code=e,this.message=`${LU} ${Z1} (reason: ${e})`}name=&quot;TaskAbortError&quot;;message},Q1=(e,r)=&gt;{if(typeof e!=&quot;function&quot;)throw new TypeError(wi(32))},Fm=()=&gt;{},w7=(e,r=Fm)=&gt;(e.catch(r),e),_7=(e,r)=&gt;(e.addEventListener(&quot;abort&quot;,r,{once:!0}),()=&gt;e.removeEventListener(&quot;abort&quot;,r)),hl=e=&gt;{if(e.aborted)throw new $p(e.reason)};function j7(e,r){let t=Fm;return new Promise((n,o)=&gt;{const i=()=&gt;o(new $p(e.reason));if(e.aborted){i();return}t=_7(e,i),r.finally(()=&gt;t()).then(n,o)}).finally(()=&gt;{t=Fm})}var $U=async(e,r)=&gt;{try{return await Promise.resolve(),{status:&quot;ok&quot;,value:await e()}}catch(t){return{status:t instanceof $p?&quot;cancelled&quot;:&quot;rejected&quot;,error:t}}finally{r?.()}},Bm=e=&gt;r=&gt;w7(j7(e,r).then(t=&gt;(hl(e),t))),S7=e=&gt;{const r=Bm(e);return t=&gt;r(new Promise(n=&gt;setTimeout(n,t)))},{assign:yc}=Object,hj={},Up=&quot;listenerMiddleware&quot;,UU=(e,r)=&gt;{const t=n=&gt;_7(e,()=&gt;n.abort(e.reason));return(n,o)=&gt;{Q1(n);const i=new AbortController;t(i);const a=$U(async()=&gt;{hl(e),hl(i.signal);const u=await n({pause:Bm(i.signal),delay:S7(i.signal),signal:i.signal});return hl(i.signal),u},()=&gt;i.abort(BU));return o?.autoJoin&amp;&amp;r.push(a.catch(Fm)),{result:Bm(e)(a),cancel(){i.abort(FU)}}}},VU=(e,r)=&gt;{const t=async(n,o)=&gt;{hl(r);let i=()=&gt;{};const u=[new Promise((l,s)=&gt;{let d=e({predicate:n,effect:(f,h)=&gt;{h.unsubscribe(),l([f,h.getState(),h.getOriginalState()])}});i=()=&gt;{d(),s()}})];o!=null&amp;&amp;u.push(new Promise(l=&gt;setTimeout(l,o,null)));try{const l=await j7(r,Promise.race(u));return hl(r),l}finally{i()}};return(n,o)=&gt;w7(t(n,o))},k7=e=&gt;{let{type:r,actionCreator:t,matcher:n,predicate:o,effect:i}=e;if(r)o=Wi(r).match;else if(t)r=t.type,o=t.match;else if(n)o=n;else if(!o)throw new Error(wi(21));return Q1(i),{predicate:o,type:r,effect:i}},N7=yc(e=&gt;{const{type:r,predicate:t,effect:n}=k7(e);return{id:CU(),effect:n,type:r,predicate:t,pending:new Set,unsubscribe:()=&gt;{throw new Error(wi(22))}}},{withTypes:()=&gt;N7}),mj=(e,r)=&gt;{const{type:t,effect:n,predicate:o}=k7(r);return Array.from(e.values()).find(i=&gt;(typeof t==&quot;string&quot;?i.type===t:i.predicate===o)&amp;&amp;i.effect===n)},av=e=&gt;{e.pending.forEach(r=&gt;{r.abort(sv)})},qU=(e,r)=&gt;()=&gt;{for(const t of r.keys())av(t);e.clear()},pj=(e,r,t)=&gt;{try{e(r,t)}catch(n){setTimeout(()=&gt;{throw n},0)}},C7=yc(Wi(`${Up}/add`),{withTypes:()=&gt;C7}),HU=Wi(`${Up}/removeAll`),E7=yc(Wi(`${Up}/remove`),{withTypes:()=&gt;E7}),WU=(...e)=&gt;{console.error(`${Up}/error`,...e)},Pd=(e={})=&gt;{const r=new Map,t=new Map,n=m=&gt;{const p=t.get(m)??0;t.set(m,p+1)},o=m=&gt;{const p=t.get(m)??1;p===1?t.delete(m):t.set(m,p-1)},{extra:i,onError:a=WU}=e;Q1(a);const u=m=&gt;(m.unsubscribe=()=&gt;r.delete(m.id),r.set(m.id,m),p=&gt;{m.unsubscribe(),p?.cancelActive&amp;&amp;av(m)}),l=m=&gt;{const p=mj(r,m)??N7(m);return u(p)};yc(l,{withTypes:()=&gt;l});const s=m=&gt;{const p=mj(r,m);return p&amp;&amp;(p.unsubscribe(),m.cancelActive&amp;&amp;av(p)),!!p};yc(s,{withTypes:()=&gt;s});const d=async(m,p,b,g)=&gt;{const y=new AbortController,v=VU(l,y.signal),_=[];try{m.pending.add(y),n(m),await Promise.resolve(m.effect(p,yc({},b,{getOriginalState:g,condition:(C,O)=&gt;v(C,O).then(Boolean),take:v,delay:S7(y.signal),pause:Bm(y.signal),extra:i,signal:y.signal,fork:UU(y.signal,_),unsubscribe:m.unsubscribe,subscribe:()=&gt;{r.set(m.id,m)},cancelActiveListeners:()=&gt;{m.pending.forEach((C,O,T)=&gt;{C!==y&amp;&amp;(C.abort(sv),T.delete(C))})},cancel:()=&gt;{y.abort(sv),m.pending.delete(y)},throwIfCancelled:()=&gt;{hl(y.signal)}})))}catch(C){C instanceof $p||pj(a,C,{raisedBy:&quot;effect&quot;})}finally{await Promise.all(_),y.abort(zU),o(m),m.pending.delete(y)}},f=qU(r,t);return{middleware:m=&gt;p=&gt;b=&gt;{if(!n7(b))return p(b);if(C7.match(b))return l(b.payload);if(HU.match(b)){f();return}if(E7.match(b))return s(b.payload);let g=m.getState();const y=()=&gt;{if(g===hj)throw new Error(wi(23));return g};let v;try{if(v=p(b),r.size&gt;0){const _=m.getState(),C=Array.from(r.values());for(const O of C){let T=!1;try{T=O.predicate(b,_,g)}catch(V){T=!1,pj(a,V,{raisedBy:&quot;predicate&quot;})}T&amp;&amp;d(O,b,m,y)}}}finally{g=hj}return v},startListening:l,stopListening:s,clearListeners:f}};function wi(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var KU={layoutType:&quot;horizontal&quot;,width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},A7=di({name:&quot;chartLayout&quot;,initialState:KU,reducers:{setLayout(e,r){e.layoutType=r.payload},setChartSize(e,r){e.width=r.payload.width,e.height=r.payload.height},setMargin(e,r){var t,n,o,i;e.margin.top=(t=r.payload.top)!==null&amp;&amp;t!==void 0?t:0,e.margin.right=(n=r.payload.right)!==null&amp;&amp;n!==void 0?n:0,e.margin.bottom=(o=r.payload.bottom)!==null&amp;&amp;o!==void 0?o:0,e.margin.left=(i=r.payload.left)!==null&amp;&amp;i!==void 0?i:0},setScale(e,r){e.scale=r.payload}}}),{setMargin:XU,setLayout:GU,setChartSize:YU,setScale:ZU}=A7.actions,QU=A7.reducer;function M7(e,r,t){return Array.isArray(e)&amp;&amp;e&amp;&amp;r+t!==0?e.slice(r,t+1):e}function Rr(e){return Number.isFinite(e)}function Is(e){return typeof e==&quot;number&quot;&amp;&amp;e&gt;0&amp;&amp;Number.isFinite(e)}function gj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function gc(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?gj(Object(t),!0).forEach(function(n){JU(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function JU(e,r,t){return(r=eV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function eV(e){var r=tV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function tV(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Gr(e,r,t){return Mr(e)||Mr(r)?t:Ts(r)?jc(e,r,t):typeof r==&quot;function&quot;?r(e):t}var rV=(e,r,t)=&gt;{if(r&amp;&amp;t){var{width:n,height:o}=t,{align:i,verticalAlign:a,layout:u}=r;if((u===&quot;vertical&quot;||u===&quot;horizontal&quot;&amp;&amp;a===&quot;middle&quot;)&amp;&amp;i!==&quot;center&quot;&amp;&amp;ft(e[i]))return gc(gc({},e),{},{[i]:e[i]+(n||0)});if((u===&quot;horizontal&quot;||u===&quot;vertical&quot;&amp;&amp;i===&quot;center&quot;)&amp;&amp;a!==&quot;middle&quot;&amp;&amp;ft(e[a]))return gc(gc({},e),{},{[a]:e[a]+(o||0)})}return e},wo=(e,r)=&gt;e===&quot;horizontal&quot;&amp;&amp;r===&quot;xAxis&quot;||e===&quot;vertical&quot;&amp;&amp;r===&quot;yAxis&quot;||e===&quot;centric&quot;&amp;&amp;r===&quot;angleAxis&quot;||e===&quot;radial&quot;&amp;&amp;r===&quot;radiusAxis&quot;,O7=(e,r,t,n)=&gt;{if(n)return e.map(u=&gt;u.coordinate);var o,i,a=e.map(u=&gt;(u.coordinate===r&amp;&amp;(o=!0),u.coordinate===t&amp;&amp;(i=!0),u.coordinate));return o||a.push(r),i||a.push(t),a},P7=(e,r,t)=&gt;{if(!e)return null;var{duplicateDomain:n,type:o,range:i,scale:a,realScaleType:u,isCategorical:l,categoricalDomain:s,tickCount:d,ticks:f,niceTicks:h,axisType:m}=e;if(!a)return null;var p=u===&quot;scaleBand&quot;&amp;&amp;a.bandwidth?a.bandwidth()/2:2,b=o===&quot;category&quot;&amp;&amp;a.bandwidth?a.bandwidth()/p:0;if(b=m===&quot;angleAxis&quot;&amp;&amp;i&amp;&amp;i.length&gt;=2?li(i[0]-i[1])*2*b:b,f||h){var g=(f||h||[]).map((y,v)=&gt;{var _=n?n.indexOf(y):y;return{coordinate:a(_)+b,value:y,offset:b,index:v}});return g.filter(y=&gt;!ms(y.coordinate))}return l&amp;&amp;s?s.map((y,v)=&gt;({coordinate:a(y)+b,value:y,index:v,offset:b})):a.ticks&amp;&amp;d!=null?a.ticks(d).map((y,v)=&gt;({coordinate:a(y)+b,value:y,offset:b,index:v})):a.domain().map((y,v)=&gt;({coordinate:a(y)+b,value:n?n[y]:y,index:v,offset:b}))},bj=1e-4,nV=e=&gt;{var r=e.domain();if(!(!r||r.length&lt;=2)){var t=r.length,n=e.range(),o=Math.min(n[0],n[1])-bj,i=Math.max(n[0],n[1])+bj,a=e(r[0]),u=e(r[t-1]);(a&lt;o||a&gt;i||u&lt;o||u&gt;i)&amp;&amp;e.domain([r[0],r[t-1]])}},iV=(e,r)=&gt;{if(!r||r.length!==2||!ft(r[0])||!ft(r[1]))return e;var t=Math.min(r[0],r[1]),n=Math.max(r[0],r[1]),o=[e[0],e[1]];return(!ft(e[0])||e[0]&lt;t)&amp;&amp;(o[0]=t),(!ft(e[1])||e[1]&gt;n)&amp;&amp;(o[1]=n),o[0]&gt;n&amp;&amp;(o[0]=n),o[1]&lt;t&amp;&amp;(o[1]=t),o},sV=e=&gt;{var r,t=e.length;if(!(t&lt;=0)){var n=(r=e[0])===null||r===void 0?void 0:r.length;if(!(n==null||n&lt;=0))for(var o=0;o&lt;n;++o)for(var i=0,a=0,u=0;u&lt;t;++u){var l=e[u],s=l?.[o];if(s!=null){var d=s[1],f=s[0],h=ms(d)?f:d;h&gt;=0?(s[0]=i,s[1]=i+h,i=d):(s[0]=a,s[1]=a+h,a=d)}}}},aV=e=&gt;{var r,t=e.length;if(!(t&lt;=0)){var n=(r=e[0])===null||r===void 0?void 0:r.length;if(!(n==null||n&lt;=0))for(var o=0;o&lt;n;++o)for(var i=0,a=0;a&lt;t;++a){var u=e[a],l=u?.[o];if(l!=null){var s=ms(l[1])?l[0]:l[1];s&gt;=0?(l[0]=i,l[1]=i+s,i=l[1]):(l[0]=0,l[1]=0)}}}},oV={sign:sV,expand:kz,none:bl,silhouette:Nz,wiggle:Cz,positive:aV},lV=(e,r,t)=&gt;{var n,o=(n=oV[t])!==null&amp;&amp;n!==void 0?n:bl,i=Sz().keys(r).value((u,l)=&gt;Number(Gr(u,l,0))).order(Gy).offset(o),a=i(e);return a.forEach((u,l)=&gt;{u.forEach((s,d)=&gt;{var f=Gr(e[d],r[l],0);Array.isArray(f)&amp;&amp;f.length===2&amp;&amp;ft(f[0])&amp;&amp;ft(f[1])&amp;&amp;(s[0]=f[0],s[1]=f[1])})}),a};function cV(e){return e==null?void 0:String(e)}function xj(e){var{axis:r,ticks:t,bandSize:n,entry:o,index:i,dataKey:a}=e;if(r.type===&quot;category&quot;){if(!r.allowDuplicatedCategory&amp;&amp;r.dataKey&amp;&amp;!Mr(o[r.dataKey])){var u=FC(t,&quot;value&quot;,o[r.dataKey]);if(u)return u.coordinate+n/2}return t[i]?t[i].coordinate+n/2:null}var l=Gr(o,Mr(a)?r.dataKey:a);return Mr(l)?null:r.scale(l)}var yj=e=&gt;{var{axis:r,ticks:t,offset:n,bandSize:o,entry:i,index:a}=e;if(r.type===&quot;category&quot;)return t[a]?t[a].coordinate+n:null;var u=Gr(i,r.dataKey,r.scale.domain()[a]);return Mr(u)?null:r.scale(u)-o/2+n},uV=e=&gt;{var{numericAxis:r}=e,t=r.scale.domain();if(r.type===&quot;number&quot;){var n=Math.min(t[0],t[1]),o=Math.max(t[0],t[1]);return n&lt;=0&amp;&amp;o&gt;=0?0:o&lt;0?o:n}return t[0]},dV=e=&gt;{var r=e.flat(2).filter(ft);return[Math.min(...r),Math.max(...r)]},fV=e=&gt;[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],hV=(e,r,t)=&gt;{if(e!=null)return fV(Object.keys(e).reduce((n,o)=&gt;{var i=e[o];if(!i)return n;var{stackedData:a}=i,u=a.reduce((l,s)=&gt;{var d=M7(s,r,t),f=dV(d);return!Rr(f[0])||!Rr(f[1])?l:[Math.min(l[0],f[0]),Math.max(l[1],f[1])]},[1/0,-1/0]);return[Math.min(u[0],n[0]),Math.max(u[1],n[1])]},[1/0,-1/0]))},vj=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,wj=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,kc=(e,r,t)=&gt;{if(e&amp;&amp;e.scale&amp;&amp;e.scale.bandwidth){var n=e.scale.bandwidth();if(!t||n&gt;0)return n}if(e&amp;&amp;r&amp;&amp;r.length&gt;=2){for(var o=Tp(r,d=&gt;d.coordinate),i=1/0,a=1,u=o.length;a&lt;u;a++){var l=o[a],s=o[a-1];i=Math.min((l?.coordinate||0)-(s?.coordinate||0),i)}return i===1/0?0:i}return t?void 0:0};function _j(e){var{tooltipEntrySettings:r,dataKey:t,payload:n,value:o,name:i}=e;return gc(gc({},r),{},{dataKey:t,payload:n,value:o,name:i})}function Vp(e,r){if(e)return String(e);if(typeof r==&quot;string&quot;)return r}var mV=(e,r)=&gt;{if(r===&quot;horizontal&quot;)return e.chartX;if(r===&quot;vertical&quot;)return e.chartY},pV=(e,r)=&gt;r===&quot;centric&quot;?e.angle:e.radius,ya=e=&gt;e.layout.width,va=e=&gt;e.layout.height,gV=e=&gt;e.layout.scale,T7=e=&gt;e.layout.margin,qp=Pe(e=&gt;e.cartesianAxis.xAxis,e=&gt;Object.values(e)),Hp=Pe(e=&gt;e.cartesianAxis.yAxis,e=&gt;Object.values(e)),bV=&quot;data-recharts-item-index&quot;,xV=&quot;data-recharts-item-id&quot;,Td=60;function jj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Fh(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?jj(Object(t),!0).forEach(function(n){yV(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function yV(e,r,t){return(r=vV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function vV(e){var r=wV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function wV(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var _V=e=&gt;e.brush.height;function jV(e){var r=Hp(e);return r.reduce((t,n)=&gt;{if(n.orientation===&quot;left&quot;&amp;&amp;!n.mirror&amp;&amp;!n.hide){var o=typeof n.width==&quot;number&quot;?n.width:Td;return t+o}return t},0)}function SV(e){var r=Hp(e);return r.reduce((t,n)=&gt;{if(n.orientation===&quot;right&quot;&amp;&amp;!n.mirror&amp;&amp;!n.hide){var o=typeof n.width==&quot;number&quot;?n.width:Td;return t+o}return t},0)}function kV(e){var r=qp(e);return r.reduce((t,n)=&gt;n.orientation===&quot;top&quot;&amp;&amp;!n.mirror&amp;&amp;!n.hide?t+n.height:t,0)}function NV(e){var r=qp(e);return r.reduce((t,n)=&gt;n.orientation===&quot;bottom&quot;&amp;&amp;!n.mirror&amp;&amp;!n.hide?t+n.height:t,0)}var yn=Pe([ya,va,T7,_V,jV,SV,kV,NV,JC,G$],(e,r,t,n,o,i,a,u,l,s)=&gt;{var d={left:(t.left||0)+o,right:(t.right||0)+i},f={top:(t.top||0)+a,bottom:(t.bottom||0)+u},h=Fh(Fh({},f),d),m=h.bottom;h.bottom+=n,h=rV(h,l,s);var p=e-h.left-h.right,b=r-h.top-h.bottom;return Fh(Fh({brushBottom:m},h),{},{width:Math.max(p,0),height:Math.max(b,0)})}),CV=Pe(yn,e=&gt;({x:e.left,y:e.top,width:e.width,height:e.height})),J1=Pe(ya,va,(e,r)=&gt;({x:0,y:0,width:e,height:r})),EV=L.createContext(null),Bn=()=&gt;L.useContext(EV)!=null,Wp=e=&gt;e.brush,Kp=Pe([Wp,yn,T7],(e,r,t)=&gt;({height:e.height,x:ft(e.x)?e.x:r.left,y:ft(e.y)?e.y:r.top+r.height+r.brushBottom-(t?.bottom||0),width:ft(e.width)?e.width:r.width})),vx={},wx={},_x={},Sj;function AV(){return Sj||(Sj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n,{signal:o,edges:i}={}){let a,u=null;const l=i!=null&amp;&amp;i.includes(&quot;leading&quot;),s=i==null||i.includes(&quot;trailing&quot;),d=()=&gt;{u!==null&amp;&amp;(t.apply(a,u),a=void 0,u=null)},f=()=&gt;{s&amp;&amp;d(),b()};let h=null;const m=()=&gt;{h!=null&amp;&amp;clearTimeout(h),h=setTimeout(()=&gt;{h=null,f()},n)},p=()=&gt;{h!==null&amp;&amp;(clearTimeout(h),h=null)},b=()=&gt;{p(),a=void 0,u=null},g=()=&gt;{d()},y=function(...v){if(o?.aborted)return;a=this,u=v;const _=h==null;m(),l&amp;&amp;_&amp;&amp;d()};return y.schedule=m,y.cancel=b,y.flush=g,o?.addEventListener(&quot;abort&quot;,b,{once:!0}),y}e.debounce=r})(_x)),_x}var kj;function MV(){return kj||(kj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=AV();function t(n,o=0,i={}){typeof i!=&quot;object&quot;&amp;&amp;(i={});const{leading:a=!1,trailing:u=!0,maxWait:l}=i,s=Array(2);a&amp;&amp;(s[0]=&quot;leading&quot;),u&amp;&amp;(s[1]=&quot;trailing&quot;);let d,f=null;const h=r.debounce(function(...b){d=n.apply(this,b),f=null},o,{edges:s}),m=function(...b){return l!=null&amp;&amp;(f===null&amp;&amp;(f=Date.now()),Date.now()-f&gt;=l)?(d=n.apply(this,b),f=Date.now(),h.cancel(),h.schedule(),d):(h.apply(this,b),d)},p=()=&gt;(h.flush(),d);return m.cancel=h.cancel,m.flush=p,m}e.debounce=t})(wx)),wx}var Nj;function OV(){return Nj||(Nj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=MV();function t(n,o=0,i={}){const{leading:a=!0,trailing:u=!0}=i;return r.debounce(n,o,{leading:a,maxWait:o,trailing:u})}e.throttle=t})(vx)),vx}var jx,Cj;function PV(){return Cj||(Cj=1,jx=OV().throttle),jx}var TV=PV();const IV=bs(TV);var zm=function(r,t){for(var n=arguments.length,o=new Array(n&gt;2?n-2:0),i=2;i&lt;n;i++)o[i-2]=arguments[i];if(typeof console&lt;&quot;u&quot;&amp;&amp;console.warn&amp;&amp;(t===void 0&amp;&amp;console.warn(&quot;LogUtils requires an error message argument&quot;),!r))if(t===void 0)console.warn(&quot;Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.&quot;);else{var a=0;console.warn(t.replace(/%s/g,()=&gt;o[a++]))}},I7=(e,r,t)=&gt;{var{width:n=&quot;100%&quot;,height:o=&quot;100%&quot;,aspect:i,maxHeight:a}=t,u=da(n)?e:Number(n),l=da(o)?r:Number(o);return i&amp;&amp;i&gt;0&amp;&amp;(u?l=u/i:l&amp;&amp;(u=l*i),a&amp;&amp;l!=null&amp;&amp;l&gt;a&amp;&amp;(l=a)),{calculatedWidth:u,calculatedHeight:l}},RV={width:0,height:0,overflow:&quot;visible&quot;},DV={width:0,overflowX:&quot;visible&quot;},LV={height:0,overflowY:&quot;visible&quot;},FV={},BV=e=&gt;{var{width:r,height:t}=e,n=da(r),o=da(t);return n&amp;&amp;o?RV:n?DV:o?LV:FV};function zV(e){var{width:r,height:t,aspect:n}=e,o=r,i=t;return o===void 0&amp;&amp;i===void 0?(o=&quot;100%&quot;,i=&quot;100%&quot;):o===void 0?o=n&amp;&amp;n&gt;0?void 0:&quot;100%&quot;:i===void 0&amp;&amp;(i=n&amp;&amp;n&gt;0?void 0:&quot;100%&quot;),{width:o,height:i}}function ov(){return ov=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},ov.apply(null,arguments)}function Ej(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Aj(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Ej(Object(t),!0).forEach(function(n){$V(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ej(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function $V(e,r,t){return(r=UV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function UV(e){var r=VV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function VV(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var R7=L.createContext({width:-1,height:-1});function qV(e){return Is(e.width)&amp;&amp;Is(e.height)}function D7(e){var{children:r,width:t,height:n}=e,o=L.useMemo(()=&gt;({width:t,height:n}),[t,n]);return qV(o)?L.createElement(R7.Provider,{value:o},r):null}var e2=()=&gt;L.useContext(R7),HV=L.forwardRef((e,r)=&gt;{var{aspect:t,initialDimension:n={width:-1,height:-1},width:o,height:i,minWidth:a=0,minHeight:u,maxHeight:l,children:s,debounce:d=0,id:f,className:h,onResize:m,style:p={}}=e,b=L.useRef(null),g=L.useRef();g.current=m,L.useImperativeHandle(r,()=&gt;b.current);var[y,v]=L.useState({containerWidth:n.width,containerHeight:n.height}),_=L.useCallback((F,H)=&gt;{v(W=&gt;{var K=Math.round(F),$=Math.round(H);return W.containerWidth===K&amp;&amp;W.containerHeight===$?W:{containerWidth:K,containerHeight:$}})},[]);L.useEffect(()=&gt;{if(b.current==null||typeof ResizeObserver&gt;&quot;u&quot;)return Md;var F=$=&gt;{var P,{width:D,height:E}=$[0].contentRect;_(D,E),(P=g.current)===null||P===void 0||P.call(g,D,E)};d&gt;0&amp;&amp;(F=IV(F,d,{trailing:!0,leading:!1}));var H=new ResizeObserver(F),{width:W,height:K}=b.current.getBoundingClientRect();return _(W,K),H.observe(b.current),()=&gt;{H.disconnect()}},[_,d]);var{containerWidth:C,containerHeight:O}=y;zm(!t||t&gt;0,&quot;The aspect(%s) must be greater than zero.&quot;,t);var{calculatedWidth:T,calculatedHeight:V}=I7(C,O,{width:o,height:i,aspect:t,maxHeight:l});return zm(T!=null&amp;&amp;T&gt;0||V!=null&amp;&amp;V&gt;0,`The width(%s) and height(%s) of chart should be greater than 0,
       please check the style of container, or the props width(%s) and height(%s),
       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
       height and width.`,T,V,o,i,a,u,t),L.createElement(&quot;div&quot;,{id:f?&quot;&quot;.concat(f):void 0,className:cr(&quot;recharts-responsive-container&quot;,h),style:Aj(Aj({},p),{},{width:o,height:i,minWidth:a,minHeight:u,maxHeight:l}),ref:b},L.createElement(&quot;div&quot;,{style:BV({width:o,height:i})},L.createElement(D7,{width:T,height:V},s)))}),Sx=L.forwardRef((e,r)=&gt;{var t=e2();if(Is(t.width)&amp;&amp;Is(t.height))return e.children;var{width:n,height:o}=zV({width:e.width,height:e.height,aspect:e.aspect}),{calculatedWidth:i,calculatedHeight:a}=I7(void 0,void 0,{width:n,height:o,aspect:e.aspect,maxHeight:e.maxHeight});return ft(i)&amp;&amp;ft(a)?L.createElement(D7,{width:i,height:a},e.children):L.createElement(HV,ov({},e,{width:n,height:o,ref:r}))});function L7(e){if(e)return{x:e.x,y:e.y,upperWidth:&quot;upperWidth&quot;in e?e.upperWidth:e.width,lowerWidth:&quot;lowerWidth&quot;in e?e.lowerWidth:e.width,width:e.width,height:e.height}}var Xp=()=&gt;{var e,r=Bn(),t=yt(CV),n=yt(Kp),o=(e=yt(Wp))===null||e===void 0?void 0:e.padding;return!r||!n||!o?t:{width:n.width-o.left-o.right,height:n.height-o.top-o.bottom,x:o.left,y:o.top}},WV={top:0,bottom:0,left:0,right:0,width:0,height:0,brushBottom:0},F7=()=&gt;{var e;return(e=yt(yn))!==null&amp;&amp;e!==void 0?e:WV},t2=()=&gt;yt(ya),r2=()=&gt;yt(va),KV=()=&gt;yt(e=&gt;e.layout.margin),ir=e=&gt;e.layout.layoutType,Lc=()=&gt;yt(ir),XV=()=&gt;{var e=Lc();return e!==void 0},Gp=e=&gt;{var r=Dr(),t=Bn(),{width:n,height:o}=e,i=e2(),a=n,u=o;return i&amp;&amp;(a=i.width&gt;0?i.width:n,u=i.height&gt;0?i.height:o),L.useEffect(()=&gt;{!t&amp;&amp;Is(a)&amp;&amp;Is(u)&amp;&amp;r(YU({width:a,height:u}))},[r,t,a,u]),null},B7=Symbol.for(&quot;immer-nothing&quot;),Mj=Symbol.for(&quot;immer-draftable&quot;),_i=Symbol.for(&quot;immer-state&quot;);function us(e,...r){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var fd=Object.getPrototypeOf;function Nc(e){return!!e&amp;&amp;!!e[_i]}function yl(e){return e?z7(e)||Array.isArray(e)||!!e[Mj]||!!e.constructor?.[Mj]||Id(e)||Zp(e):!1}var GV=Object.prototype.constructor.toString(),Oj=new WeakMap;function z7(e){if(!e||typeof e!=&quot;object&quot;)return!1;const r=Object.getPrototypeOf(e);if(r===null||r===Object.prototype)return!0;const t=Object.hasOwnProperty.call(r,&quot;constructor&quot;)&amp;&amp;r.constructor;if(t===Object)return!0;if(typeof t!=&quot;function&quot;)return!1;let n=Oj.get(t);return n===void 0&amp;&amp;(n=Function.toString.call(t),Oj.set(t,n)),n===GV}function $m(e,r,t=!0){Yp(e)===0?(t?Reflect.ownKeys(e):Object.keys(e)).forEach(o=&gt;{r(o,e[o],e)}):e.forEach((n,o)=&gt;r(o,n,e))}function Yp(e){const r=e[_i];return r?r.type_:Array.isArray(e)?1:Id(e)?2:Zp(e)?3:0}function lv(e,r){return Yp(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function $7(e,r,t){const n=Yp(e);n===2?e.set(r,t):n===3?e.add(t):e[r]=t}function YV(e,r){return e===r?e!==0||1/e===1/r:e!==e&amp;&amp;r!==r}function Id(e){return e instanceof Map}function Zp(e){return e instanceof Set}function rl(e){return e.copy_||e.base_}function cv(e,r){if(Id(e))return new Map(e);if(Zp(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const t=z7(e);if(r===!0||r===&quot;class_only&quot;&amp;&amp;!t){const n=Object.getOwnPropertyDescriptors(e);delete n[_i];let o=Reflect.ownKeys(n);for(let i=0;i&lt;o.length;i++){const a=o[i],u=n[a];u.writable===!1&amp;&amp;(u.writable=!0,u.configurable=!0),(u.get||u.set)&amp;&amp;(n[a]={configurable:!0,writable:!0,enumerable:u.enumerable,value:e[a]})}return Object.create(fd(e),n)}else{const n=fd(e);if(n!==null&amp;&amp;t)return{...e};const o=Object.create(n);return Object.assign(o,e)}}function n2(e,r=!1){return Qp(e)||Nc(e)||!yl(e)||(Yp(e)&gt;1&amp;&amp;Object.defineProperties(e,{set:Bh,add:Bh,clear:Bh,delete:Bh}),Object.freeze(e),r&amp;&amp;Object.values(e).forEach(t=&gt;n2(t,!0))),e}function ZV(){us(2)}var Bh={value:ZV};function Qp(e){return e===null||typeof e!=&quot;object&quot;?!0:Object.isFrozen(e)}var QV={};function vl(e){const r=QV[e];return r||us(0,e),r}var hd;function U7(){return hd}function JV(e,r){return{drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Pj(e,r){r&amp;&amp;(vl(&quot;Patches&quot;),e.patches_=[],e.inversePatches_=[],e.patchListener_=r)}function uv(e){dv(e),e.drafts_.forEach(eq),e.drafts_=null}function dv(e){e===hd&amp;&amp;(hd=e.parent_)}function Tj(e){return hd=JV(hd,e)}function eq(e){const r=e[_i];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function Ij(e,r){r.unfinalizedDrafts_=r.drafts_.length;const t=r.drafts_[0];return e!==void 0&amp;&amp;e!==t?(t[_i].modified_&amp;&amp;(uv(r),us(4)),yl(e)&amp;&amp;(e=Um(r,e),r.parent_||Vm(r,e)),r.patches_&amp;&amp;vl(&quot;Patches&quot;).generateReplacementPatches_(t[_i].base_,e,r.patches_,r.inversePatches_)):e=Um(r,t,[]),uv(r),r.patches_&amp;&amp;r.patchListener_(r.patches_,r.inversePatches_),e!==B7?e:void 0}function Um(e,r,t){if(Qp(r))return r;const n=e.immer_.shouldUseStrictIteration(),o=r[_i];if(!o)return $m(r,(i,a)=&gt;Rj(e,o,r,i,a,t),n),r;if(o.scope_!==e)return r;if(!o.modified_)return Vm(e,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const i=o.copy_;let a=i,u=!1;o.type_===3&amp;&amp;(a=new Set(i),i.clear(),u=!0),$m(a,(l,s)=&gt;Rj(e,o,i,l,s,t,u),n),Vm(e,i,!1),t&amp;&amp;e.patches_&amp;&amp;vl(&quot;Patches&quot;).generatePatches_(o,t,e.patches_,e.inversePatches_)}return o.copy_}function Rj(e,r,t,n,o,i,a){if(o==null||typeof o!=&quot;object&quot;&amp;&amp;!a)return;const u=Qp(o);if(!(u&amp;&amp;!a)){if(Nc(o)){const l=i&amp;&amp;r&amp;&amp;r.type_!==3&amp;&amp;!lv(r.assigned_,n)?i.concat(n):void 0,s=Um(e,o,l);if($7(t,n,s),Nc(s))e.canAutoFreeze_=!1;else return}else a&amp;&amp;t.add(o);if(yl(o)&amp;&amp;!u){if(!e.immer_.autoFreeze_&amp;&amp;e.unfinalizedDrafts_&lt;1||r&amp;&amp;r.base_&amp;&amp;r.base_[n]===o&amp;&amp;u)return;Um(e,o),(!r||!r.scope_.parent_)&amp;&amp;typeof n!=&quot;symbol&quot;&amp;&amp;(Id(t)?t.has(n):Object.prototype.propertyIsEnumerable.call(t,n))&amp;&amp;Vm(e,o)}}}function Vm(e,r,t=!1){!e.parent_&amp;&amp;e.immer_.autoFreeze_&amp;&amp;e.canAutoFreeze_&amp;&amp;n2(r,t)}function tq(e,r){const t=Array.isArray(e),n={type_:t?1:0,scope_:r?r.scope_:U7(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,i=i2;t&amp;&amp;(o=[n],i=md);const{revoke:a,proxy:u}=Proxy.revocable(o,i);return n.draft_=u,n.revoke_=a,u}var i2={get(e,r){if(r===_i)return e;const t=rl(e);if(!lv(t,r))return rq(e,t,r);const n=t[r];return e.finalized_||!yl(n)?n:n===kx(e.base_,r)?(Nx(e),e.copy_[r]=hv(n,e)):n},has(e,r){return r in rl(e)},ownKeys(e){return Reflect.ownKeys(rl(e))},set(e,r,t){const n=V7(rl(e),r);if(n?.set)return n.set.call(e.draft_,t),!0;if(!e.modified_){const o=kx(rl(e),r),i=o?.[_i];if(i&amp;&amp;i.base_===t)return e.copy_[r]=t,e.assigned_[r]=!1,!0;if(YV(t,o)&amp;&amp;(t!==void 0||lv(e.base_,r)))return!0;Nx(e),fv(e)}return e.copy_[r]===t&amp;&amp;(t!==void 0||r in e.copy_)||Number.isNaN(t)&amp;&amp;Number.isNaN(e.copy_[r])||(e.copy_[r]=t,e.assigned_[r]=!0),!0},deleteProperty(e,r){return kx(e.base_,r)!==void 0||r in e.base_?(e.assigned_[r]=!1,Nx(e),fv(e)):delete e.assigned_[r],e.copy_&amp;&amp;delete e.copy_[r],!0},getOwnPropertyDescriptor(e,r){const t=rl(e),n=Reflect.getOwnPropertyDescriptor(t,r);return n&amp;&amp;{writable:!0,configurable:e.type_!==1||r!==&quot;length&quot;,enumerable:n.enumerable,value:t[r]}},defineProperty(){us(11)},getPrototypeOf(e){return fd(e.base_)},setPrototypeOf(){us(12)}},md={};$m(i2,(e,r)=&gt;{md[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});md.deleteProperty=function(e,r){return md.set.call(this,e,r,void 0)};md.set=function(e,r,t){return i2.set.call(this,e[0],r,t,e[0])};function kx(e,r){const t=e[_i];return(t?rl(t):e)[r]}function rq(e,r,t){const n=V7(r,t);return n?&quot;value&quot;in n?n.value:n.get?.call(e.draft_):void 0}function V7(e,r){if(!(r in e))return;let t=fd(e);for(;t;){const n=Object.getOwnPropertyDescriptor(t,r);if(n)return n;t=fd(t)}}function fv(e){e.modified_||(e.modified_=!0,e.parent_&amp;&amp;fv(e.parent_))}function Nx(e){e.copy_||(e.copy_=cv(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var nq=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(r,t,n)=&gt;{if(typeof r==&quot;function&quot;&amp;&amp;typeof t!=&quot;function&quot;){const i=t;t=r;const a=this;return function(l=i,...s){return a.produce(l,d=&gt;t.call(this,d,...s))}}typeof t!=&quot;function&quot;&amp;&amp;us(6),n!==void 0&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;us(7);let o;if(yl(r)){const i=Tj(this),a=hv(r,void 0);let u=!0;try{o=t(a),u=!1}finally{u?uv(i):dv(i)}return Pj(i,n),Ij(o,i)}else if(!r||typeof r!=&quot;object&quot;){if(o=t(r),o===void 0&amp;&amp;(o=r),o===B7&amp;&amp;(o=void 0),this.autoFreeze_&amp;&amp;n2(o,!0),n){const i=[],a=[];vl(&quot;Patches&quot;).generateReplacementPatches_(r,o,i,a),n(i,a)}return o}else us(1,r)},this.produceWithPatches=(r,t)=&gt;{if(typeof r==&quot;function&quot;)return(a,...u)=&gt;this.produceWithPatches(a,l=&gt;r(l,...u));let n,o;return[this.produce(r,t,(a,u)=&gt;{n=a,o=u}),n,o]},typeof e?.autoFreeze==&quot;boolean&quot;&amp;&amp;this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy==&quot;boolean&quot;&amp;&amp;this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration==&quot;boolean&quot;&amp;&amp;this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){yl(e)||us(8),Nc(e)&amp;&amp;(e=iq(e));const r=Tj(this),t=hv(e,void 0);return t[_i].isManual_=!0,dv(r),t}finishDraft(e,r){const t=e&amp;&amp;e[_i];(!t||!t.isManual_)&amp;&amp;us(9);const{scope_:n}=t;return Pj(n,r),Ij(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,r){let t;for(t=r.length-1;t&gt;=0;t--){const o=r[t];if(o.path.length===0&amp;&amp;o.op===&quot;replace&quot;){e=o.value;break}}t&gt;-1&amp;&amp;(r=r.slice(t+1));const n=vl(&quot;Patches&quot;).applyPatches_;return Nc(e)?n(e,r):this.produce(e,o=&gt;n(o,r))}};function hv(e,r){const t=Id(e)?vl(&quot;MapSet&quot;).proxyMap_(e,r):Zp(e)?vl(&quot;MapSet&quot;).proxySet_(e,r):tq(e,r);return(r?r.scope_:U7()).drafts_.push(t),t}function iq(e){return Nc(e)||us(10,e),q7(e)}function q7(e){if(!yl(e)||Qp(e))return e;const r=e[_i];let t,n=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,t=cv(e,r.scope_.immer_.useStrictShallowCopy_),n=r.scope_.immer_.shouldUseStrictIteration()}else t=cv(e,!0);return $m(t,(o,i)=&gt;{$7(t,o,q7(i))},n),r&amp;&amp;(r.finalized_=!1),t}var sq=new nq;sq.produce;var aq={settings:{layout:&quot;horizontal&quot;,align:&quot;center&quot;,verticalAlign:&quot;middle&quot;,itemSorter:&quot;value&quot;},size:{width:0,height:0},payload:[]},H7=di({name:&quot;legend&quot;,initialState:aq,reducers:{setLegendSize(e,r){e.size.width=r.payload.width,e.size.height=r.payload.height},setLegendSettings(e,r){e.settings.align=r.payload.align,e.settings.layout=r.payload.layout,e.settings.verticalAlign=r.payload.verticalAlign,e.settings.itemSorter=r.payload.itemSorter},addLegendPayload:{reducer(e,r){e.payload.push(r.payload)},prepare:Er()},replaceLegendPayload:{reducer(e,r){var{prev:t,next:n}=r.payload,o=fs(e).payload.indexOf(t);o&gt;-1&amp;&amp;(e.payload[o]=n)},prepare:Er()},removeLegendPayload:{reducer(e,r){var t=fs(e).payload.indexOf(r.payload);t&gt;-1&amp;&amp;e.payload.splice(t,1)},prepare:Er()}}}),{setLegendSize:Dj,setLegendSettings:oq,addLegendPayload:lq,replaceLegendPayload:cq,removeLegendPayload:uq}=H7.actions,dq=H7.reducer,fq=[&quot;contextPayload&quot;];function mv(){return mv=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},mv.apply(null,arguments)}function Lj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Cc(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Lj(Object(t),!0).forEach(function(n){hq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Lj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function hq(e,r,t){return(r=mq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function mq(e){var r=pq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function pq(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function gq(e,r){if(e==null)return{};var t,n,o=bq(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function bq(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function xq(e){return e.value}function yq(e){var{contextPayload:r}=e,t=gq(e,fq),n=GC(r,e.payloadUniqBy,xq),o=Cc(Cc({},t),{},{payload:n});return L.isValidElement(e.content)?L.cloneElement(e.content,o):typeof e.content==&quot;function&quot;?L.createElement(e.content,o):L.createElement(n$,o)}function vq(e,r,t,n,o,i){var{layout:a,align:u,verticalAlign:l}=r,s,d;return(!e||(e.left===void 0||e.left===null)&amp;&amp;(e.right===void 0||e.right===null))&amp;&amp;(u===&quot;center&quot;&amp;&amp;a===&quot;vertical&quot;?s={left:((n||0)-i.width)/2}:s=u===&quot;right&quot;?{right:t&amp;&amp;t.right||0}:{left:t&amp;&amp;t.left||0}),(!e||(e.top===void 0||e.top===null)&amp;&amp;(e.bottom===void 0||e.bottom===null))&amp;&amp;(l===&quot;middle&quot;?d={top:((o||0)-i.height)/2}:d=l===&quot;bottom&quot;?{bottom:t&amp;&amp;t.bottom||0}:{top:t&amp;&amp;t.top||0}),Cc(Cc({},s),d)}function wq(e){var r=Dr();return L.useEffect(()=&gt;{r(oq(e))},[r,e]),null}function _q(e){var r=Dr();return L.useEffect(()=&gt;(r(Dj(e)),()=&gt;{r(Dj({width:0,height:0}))}),[r,e]),null}function jq(e,r,t,n){return e===&quot;vertical&quot;&amp;&amp;ft(r)?{height:r}:e===&quot;horizontal&quot;?{width:t||n}:null}var Sq={align:&quot;center&quot;,iconSize:14,itemSorter:&quot;value&quot;,layout:&quot;horizontal&quot;,verticalAlign:&quot;bottom&quot;};function am(e){var r=Mn(e,Sq),t=Q$(),n=XB(),o=KV(),{width:i,height:a,wrapperStyle:u,portal:l}=r,[s,d]=e7([t]),f=t2(),h=r2();if(f==null||h==null)return null;var m=f-(o?.left||0)-(o?.right||0),p=jq(r.layout,a,i,m),b=l?u:Cc(Cc({position:&quot;absolute&quot;,width:p?.width||i||&quot;auto&quot;,height:p?.height||a||&quot;auto&quot;},vq(u,r,o,f,h,s)),u),g=l??n;if(g==null||t==null)return null;var y=L.createElement(&quot;div&quot;,{className:&quot;recharts-legend-wrapper&quot;,style:b,ref:d},L.createElement(wq,{layout:r.layout,align:r.align,verticalAlign:r.verticalAlign,itemSorter:r.itemSorter}),!l&amp;&amp;L.createElement(_q,{width:s.width,height:s.height}),L.createElement(yq,mv({},r,p,{margin:o,chartWidth:f,chartHeight:h,contextPayload:t})));return xp.createPortal(y,g)}am.displayName=&quot;Legend&quot;;function pv(){return pv=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},pv.apply(null,arguments)}function Fj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Cx(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Fj(Object(t),!0).forEach(function(n){kq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Fj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function kq(e,r,t){return(r=Nq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Nq(e){var r=Cq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Cq(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Eq(e){return Array.isArray(e)&amp;&amp;Ts(e[0])&amp;&amp;Ts(e[1])?e.join(&quot; ~ &quot;):e}var Aq=e=&gt;{var{separator:r=&quot; : &quot;,contentStyle:t={},itemStyle:n={},labelStyle:o={},payload:i,formatter:a,itemSorter:u,wrapperClassName:l,labelClassName:s,label:d,labelFormatter:f,accessibilityLayer:h=!1}=e,m=()=&gt;{if(i&amp;&amp;i.length){var O={padding:0,margin:0},T=(u?Tp(i,u):i).map((V,F)=&gt;{if(V.type===&quot;none&quot;)return null;var H=V.formatter||a||Eq,{value:W,name:K}=V,$=W,P=K;if(H){var D=H(W,K,V,F,i);if(Array.isArray(D))[$,P]=D;else if(D!=null)$=D;else return null}var E=Cx({display:&quot;block&quot;,paddingTop:4,paddingBottom:4,color:V.color||&quot;#000&quot;},n);return L.createElement(&quot;li&quot;,{className:&quot;recharts-tooltip-item&quot;,key:&quot;tooltip-item-&quot;.concat(F),style:E},Ts(P)?L.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-name&quot;},P):null,Ts(P)?L.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-separator&quot;},r):null,L.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-value&quot;},$),L.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-unit&quot;},V.unit||&quot;&quot;))});return L.createElement(&quot;ul&quot;,{className:&quot;recharts-tooltip-item-list&quot;,style:O},T)}return null},p=Cx({margin:0,padding:10,backgroundColor:&quot;#fff&quot;,border:&quot;1px solid #ccc&quot;,whiteSpace:&quot;nowrap&quot;},t),b=Cx({margin:0},o),g=!Mr(d),y=g?d:&quot;&quot;,v=cr(&quot;recharts-default-tooltip&quot;,l),_=cr(&quot;recharts-tooltip-label&quot;,s);g&amp;&amp;f&amp;&amp;i!==void 0&amp;&amp;i!==null&amp;&amp;(y=f(d,i));var C=h?{role:&quot;status&quot;,&quot;aria-live&quot;:&quot;assertive&quot;}:{};return L.createElement(&quot;div&quot;,pv({className:v,style:p},C),L.createElement(&quot;p&quot;,{className:_,style:b},L.isValidElement(y)?y:&quot;&quot;.concat(y)),m())},Pu=&quot;recharts-tooltip-wrapper&quot;,Mq={visibility:&quot;hidden&quot;};function Oq(e){var{coordinate:r,translateX:t,translateY:n}=e;return cr(Pu,{[&quot;&quot;.concat(Pu,&quot;-right&quot;)]:ft(t)&amp;&amp;r&amp;&amp;ft(r.x)&amp;&amp;t&gt;=r.x,[&quot;&quot;.concat(Pu,&quot;-left&quot;)]:ft(t)&amp;&amp;r&amp;&amp;ft(r.x)&amp;&amp;t&lt;r.x,[&quot;&quot;.concat(Pu,&quot;-bottom&quot;)]:ft(n)&amp;&amp;r&amp;&amp;ft(r.y)&amp;&amp;n&gt;=r.y,[&quot;&quot;.concat(Pu,&quot;-top&quot;)]:ft(n)&amp;&amp;r&amp;&amp;ft(r.y)&amp;&amp;n&lt;r.y})}function Bj(e){var{allowEscapeViewBox:r,coordinate:t,key:n,offsetTopLeft:o,position:i,reverseDirection:a,tooltipDimension:u,viewBox:l,viewBoxDimension:s}=e;if(i&amp;&amp;ft(i[n]))return i[n];var d=t[n]-u-(o&gt;0?o:0),f=t[n]+o;if(r[n])return a[n]?d:f;var h=l[n];if(h==null)return 0;if(a[n]){var m=d,p=h;return m&lt;p?Math.max(f,h):Math.max(d,h)}if(s==null)return 0;var b=f+u,g=h+s;return b&gt;g?Math.max(d,h):Math.max(f,h)}function Pq(e){var{translateX:r,translateY:t,useTranslate3d:n}=e;return{transform:n?&quot;translate3d(&quot;.concat(r,&quot;px, &quot;).concat(t,&quot;px, 0)&quot;):&quot;translate(&quot;.concat(r,&quot;px, &quot;).concat(t,&quot;px)&quot;)}}function Tq(e){var{allowEscapeViewBox:r,coordinate:t,offsetTopLeft:n,position:o,reverseDirection:i,tooltipBox:a,useTranslate3d:u,viewBox:l}=e,s,d,f;return a.height&gt;0&amp;&amp;a.width&gt;0&amp;&amp;t?(d=Bj({allowEscapeViewBox:r,coordinate:t,key:&quot;x&quot;,offsetTopLeft:n,position:o,reverseDirection:i,tooltipDimension:a.width,viewBox:l,viewBoxDimension:l.width}),f=Bj({allowEscapeViewBox:r,coordinate:t,key:&quot;y&quot;,offsetTopLeft:n,position:o,reverseDirection:i,tooltipDimension:a.height,viewBox:l,viewBoxDimension:l.height}),s=Pq({translateX:d,translateY:f,useTranslate3d:u})):s=Mq,{cssProperties:s,cssClasses:Oq({translateX:d,translateY:f,coordinate:t})}}function zj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function zh(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?zj(Object(t),!0).forEach(function(n){gv(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):zj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function gv(e,r,t){return(r=Iq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Iq(e){var r=Rq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Rq(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}class Dq extends L.PureComponent{constructor(){super(...arguments),gv(this,&quot;state&quot;,{dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}),gv(this,&quot;handleKeyDown&quot;,r=&gt;{if(r.key===&quot;Escape&quot;){var t,n,o,i;this.setState({dismissed:!0,dismissedAtCoordinate:{x:(t=(n=this.props.coordinate)===null||n===void 0?void 0:n.x)!==null&amp;&amp;t!==void 0?t:0,y:(o=(i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==null&amp;&amp;o!==void 0?o:0}})}})}componentDidMount(){document.addEventListener(&quot;keydown&quot;,this.handleKeyDown)}componentWillUnmount(){document.removeEventListener(&quot;keydown&quot;,this.handleKeyDown)}componentDidUpdate(){var r,t;this.state.dismissed&amp;&amp;(((r=this.props.coordinate)===null||r===void 0?void 0:r.x)!==this.state.dismissedAtCoordinate.x||((t=this.props.coordinate)===null||t===void 0?void 0:t.y)!==this.state.dismissedAtCoordinate.y)&amp;&amp;(this.state.dismissed=!1)}render(){var{active:r,allowEscapeViewBox:t,animationDuration:n,animationEasing:o,children:i,coordinate:a,hasPayload:u,isAnimationActive:l,offset:s,position:d,reverseDirection:f,useTranslate3d:h,viewBox:m,wrapperStyle:p,lastBoundingBox:b,innerRef:g,hasPortalFromProps:y}=this.props,{cssClasses:v,cssProperties:_}=Tq({allowEscapeViewBox:t,coordinate:a,offsetTopLeft:s,position:d,reverseDirection:f,tooltipBox:{height:b.height,width:b.width},useTranslate3d:h,viewBox:m}),C=y?{}:zh(zh({transition:l&amp;&amp;r?&quot;transform &quot;.concat(n,&quot;ms &quot;).concat(o):void 0},_),{},{pointerEvents:&quot;none&quot;,visibility:!this.state.dismissed&amp;&amp;r&amp;&amp;u?&quot;visible&quot;:&quot;hidden&quot;,position:&quot;absolute&quot;,top:0,left:0}),O=zh(zh({},C),{},{visibility:!this.state.dismissed&amp;&amp;r&amp;&amp;u?&quot;visible&quot;:&quot;hidden&quot;},p);return L.createElement(&quot;div&quot;,{xmlns:&quot;http://www.w3.org/1999/xhtml&quot;,tabIndex:-1,className:v,style:O,ref:g},i)}}var W7=()=&gt;{var e;return(e=yt(r=&gt;r.rootProps.accessibilityLayer))!==null&amp;&amp;e!==void 0?e:!0};function bv(){return bv=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},bv.apply(null,arguments)}function $j(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Uj(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?$j(Object(t),!0).forEach(function(n){Lq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$j(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Lq(e,r,t){return(r=Fq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Fq(e){var r=Bq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Bq(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var Vj={curveBasisClosed:hz,curveBasisOpen:mz,curveBasis:fz,curveBumpX:QB,curveBumpY:JB,curveLinearClosed:pz,curveLinear:Mp,curveMonotoneX:gz,curveMonotoneY:bz,curveNatural:xz,curveStep:yz,curveStepAfter:wz,curveStepBefore:vz},qm=e=&gt;Rr(e.x)&amp;&amp;Rr(e.y),qj=e=&gt;e.base!=null&amp;&amp;qm(e.base)&amp;&amp;qm(e),Tu=e=&gt;e.x,Iu=e=&gt;e.y,zq=(e,r)=&gt;{if(typeof e==&quot;function&quot;)return e;var t=&quot;curve&quot;.concat(Ad(e));return(t===&quot;curveMonotone&quot;||t===&quot;curveBump&quot;)&amp;&amp;r?Vj[&quot;&quot;.concat(t).concat(r===&quot;vertical&quot;?&quot;Y&quot;:&quot;X&quot;)]:Vj[t]||Mp},$q=e=&gt;{var{type:r=&quot;linear&quot;,points:t=[],baseLine:n,layout:o,connectNulls:i=!1}=e,a=zq(r,o),u=i?t.filter(qm):t,l;if(Array.isArray(n)){var s=t.map((m,p)=&gt;Uj(Uj({},m),{},{base:n[p]}));o===&quot;vertical&quot;?l=Ph().y(Iu).x1(Tu).x0(m=&gt;m.base.x):l=Ph().x(Tu).y1(Iu).y0(m=&gt;m.base.y);var d=l.defined(qj).curve(a),f=i?s.filter(qj):s;return d(f)}o===&quot;vertical&quot;&amp;&amp;ft(n)?l=Ph().y(Iu).x1(Tu).x0(n):ft(n)?l=Ph().x(Tu).y1(Iu).y0(n):l=kC().x(Tu).y(Iu);var h=l.defined(qm).curve(a);return h(u)},K7=e=&gt;{var{className:r,points:t,path:n,pathRef:o}=e,i=Lc();if((!t||!t.length)&amp;&amp;!n)return null;var a={type:e.type,points:e.points,baseLine:e.baseLine,layout:e.layout||i,connectNulls:e.connectNulls},u=t&amp;&amp;t.length?$q(a):n;return L.createElement(&quot;path&quot;,bv({},hs(e),V1(e),{className:cr(&quot;recharts-curve&quot;,r),d:u===null?void 0:u,ref:o}))},Uq=[&quot;x&quot;,&quot;y&quot;,&quot;top&quot;,&quot;left&quot;,&quot;width&quot;,&quot;height&quot;,&quot;className&quot;];function xv(){return xv=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},xv.apply(null,arguments)}function Hj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Vq(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Hj(Object(t),!0).forEach(function(n){qq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Hj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function qq(e,r,t){return(r=Hq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Hq(e){var r=Wq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Wq(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Kq(e,r){if(e==null)return{};var t,n,o=Xq(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function Xq(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var Gq=(e,r,t,n,o,i)=&gt;&quot;M&quot;.concat(e,&quot;,&quot;).concat(o,&quot;v&quot;).concat(n,&quot;M&quot;).concat(i,&quot;,&quot;).concat(r,&quot;h&quot;).concat(t),Yq=e=&gt;{var{x:r=0,y:t=0,top:n=0,left:o=0,width:i=0,height:a=0,className:u}=e,l=Kq(e,Uq),s=Vq({x:r,y:t,top:n,left:o,width:i,height:a},l);return!ft(r)||!ft(t)||!ft(i)||!ft(a)||!ft(n)||!ft(o)?null:L.createElement(&quot;path&quot;,xv({},Gn(s),{className:cr(&quot;recharts-cross&quot;,u),d:Gq(r,t,i,a,n,o)}))};function Zq(e,r,t,n){var o=n/2;return{stroke:&quot;none&quot;,fill:&quot;#ccc&quot;,x:e===&quot;horizontal&quot;?r.x-o:t.left+.5,y:e===&quot;horizontal&quot;?t.top+.5:r.y-o,width:e===&quot;horizontal&quot;?n:t.width-1,height:e===&quot;horizontal&quot;?t.height-1:n}}function Wj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Kj(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Wj(Object(t),!0).forEach(function(n){Qq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Qq(e,r,t){return(r=Jq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Jq(e){var r=eH(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function eH(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var tH=e=&gt;e.replace(/([A-Z])/g,r=&gt;&quot;-&quot;.concat(r.toLowerCase())),X7=(e,r,t)=&gt;e.map(n=&gt;&quot;&quot;.concat(tH(n),&quot; &quot;).concat(r,&quot;ms &quot;).concat(t)).join(&quot;,&quot;),rH=(e,r)=&gt;[Object.keys(e),Object.keys(r)].reduce((t,n)=&gt;t.filter(o=&gt;n.includes(o))),pd=(e,r)=&gt;Object.keys(r).reduce((t,n)=&gt;Kj(Kj({},t),{},{[n]:e(n,r[n])}),{});function Xj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function rn(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Xj(Object(t),!0).forEach(function(n){nH(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Xj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function nH(e,r,t){return(r=iH(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function iH(e){var r=sH(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function sH(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var Hm=(e,r,t)=&gt;e+(r-e)*t,yv=e=&gt;{var{from:r,to:t}=e;return r!==t},G7=(e,r,t)=&gt;{var n=pd((o,i)=&gt;{if(yv(i)){var[a,u]=e(i.from,i.to,i.velocity);return rn(rn({},i),{},{from:a,velocity:u})}return i},r);return t&lt;1?pd((o,i)=&gt;yv(i)&amp;&amp;n[o]!=null?rn(rn({},i),{},{velocity:Hm(i.velocity,n[o].velocity,t),from:Hm(i.from,n[o].from,t)}):i,r):G7(e,n,t-1)};function aH(e,r,t,n,o,i){var a,u=n.reduce((h,m)=&gt;rn(rn({},h),{},{[m]:{from:e[m],velocity:0,to:r[m]}}),{}),l=()=&gt;pd((h,m)=&gt;m.from,u),s=()=&gt;!Object.values(u).filter(yv).length,d=null,f=h=&gt;{a||(a=h);var m=h-a,p=m/t.dt;u=G7(t,u,p),o(rn(rn(rn({},e),r),l())),a=h,s()||(d=i.setTimeout(f))};return()=&gt;(d=i.setTimeout(f),()=&gt;{var h;(h=d)===null||h===void 0||h()})}function oH(e,r,t,n,o,i,a){var u=null,l=o.reduce((f,h)=&gt;{var m=e[h],p=r[h];return m==null||p==null?f:rn(rn({},f),{},{[h]:[m,p]})},{}),s,d=f=&gt;{s||(s=f);var h=(f-s)/n,m=pd((b,g)=&gt;Hm(...g,t(h)),l);if(i(rn(rn(rn({},e),r),m)),h&lt;1)u=a.setTimeout(d);else{var p=pd((b,g)=&gt;Hm(...g,t(1)),l);i(rn(rn(rn({},e),r),p))}};return()=&gt;(u=a.setTimeout(d),()=&gt;{var f;(f=u)===null||f===void 0||f()})}const lH=(e,r,t,n,o,i)=&gt;{var a=rH(e,r);return t==null?()=&gt;(o(rn(rn({},e),r)),()=&gt;{}):t.isStepper===!0?aH(e,r,t,a,o,i):oH(e,r,t,n,a,o,i)};var Wm=1e-4,Y7=(e,r)=&gt;[0,3*e,3*r-6*e,3*e-3*r+1],Z7=(e,r)=&gt;e.map((t,n)=&gt;t*r**n).reduce((t,n)=&gt;t+n),Gj=(e,r)=&gt;t=&gt;{var n=Y7(e,r);return Z7(n,t)},cH=(e,r)=&gt;t=&gt;{var n=Y7(e,r),o=[...n.map((i,a)=&gt;i*a).slice(1),0];return Z7(o,t)},uH=e=&gt;{var r,t=e.split(&quot;(&quot;);if(t.length!==2||t[0]!==&quot;cubic-bezier&quot;)return null;var n=(r=t[1])===null||r===void 0||(r=r.split(&quot;)&quot;)[0])===null||r===void 0?void 0:r.split(&quot;,&quot;);if(n==null||n.length!==4)return null;var o=n.map(i=&gt;parseFloat(i));return[o[0],o[1],o[2],o[3]]},dH=function(){for(var r=arguments.length,t=new Array(r),n=0;n&lt;r;n++)t[n]=arguments[n];if(t.length===1)switch(t[0]){case&quot;linear&quot;:return[0,0,1,1];case&quot;ease&quot;:return[.25,.1,.25,1];case&quot;ease-in&quot;:return[.42,0,1,1];case&quot;ease-out&quot;:return[.42,0,.58,1];case&quot;ease-in-out&quot;:return[0,0,.58,1];default:{var o=uH(t[0]);if(o)return o}}return t.length===4?t:[0,0,1,1]},fH=(e,r,t,n)=&gt;{var o=Gj(e,t),i=Gj(r,n),a=cH(e,t),u=s=&gt;s&gt;1?1:s&lt;0?0:s,l=s=&gt;{for(var d=s&gt;1?1:s,f=d,h=0;h&lt;8;++h){var m=o(f)-d,p=a(f);if(Math.abs(m-d)&lt;Wm||p&lt;Wm)return i(f);f=u(f-m/p)}return i(f)};return l.isStepper=!1,l},Yj=function(){return fH(...dH(...arguments))},hH=function(){var r=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:{},{stiff:t=100,damping:n=8,dt:o=17}=r,i=(a,u,l)=&gt;{var s=-(a-u)*t,d=l*n,f=l+(s-d)*o/1e3,h=l*o/1e3+a;return Math.abs(h-u)&lt;Wm&amp;&amp;Math.abs(f)&lt;Wm?[u,0]:[h,f]};return i.isStepper=!0,i.dt=o,i},mH=e=&gt;{if(typeof e==&quot;string&quot;)switch(e){case&quot;ease&quot;:case&quot;ease-in-out&quot;:case&quot;ease-out&quot;:case&quot;ease-in&quot;:case&quot;linear&quot;:return Yj(e);case&quot;spring&quot;:return hH();default:if(e.split(&quot;(&quot;)[0]===&quot;cubic-bezier&quot;)return Yj(e)}return typeof e==&quot;function&quot;?e:null};function pH(e){var r,t=()=&gt;null,n=!1,o=null,i=a=&gt;{if(!n){if(Array.isArray(a)){if(!a.length)return;var u=a,[l,...s]=u;if(typeof l==&quot;number&quot;){o=e.setTimeout(i.bind(null,s),l);return}i(l),o=e.setTimeout(i.bind(null,s));return}typeof a==&quot;string&quot;&amp;&amp;(r=a,t(r)),typeof a==&quot;object&quot;&amp;&amp;(r=a,t(r)),typeof a==&quot;function&quot;&amp;&amp;a()}};return{stop:()=&gt;{n=!0},start:a=&gt;{n=!1,o&amp;&amp;(o(),o=null),i(a)},subscribe:a=&gt;(t=a,()=&gt;{t=()=&gt;null}),getTimeoutController:()=&gt;e}}class gH{setTimeout(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0,n=performance.now(),o=null,i=a=&gt;{a-n&gt;=t?r(a):typeof requestAnimationFrame==&quot;function&quot;&amp;&amp;(o=requestAnimationFrame(i))};return o=requestAnimationFrame(i),()=&gt;{o!=null&amp;&amp;cancelAnimationFrame(o)}}}function bH(){return pH(new gH)}var xH=L.createContext(bH);function yH(e,r){var t=L.useContext(xH);return L.useMemo(()=&gt;r??t(e),[e,r,t])}var vH=()=&gt;!(typeof window&lt;&quot;u&quot;&amp;&amp;window.document&amp;&amp;window.document.createElement&amp;&amp;window.setTimeout),Jp={isSsr:vH()},wH={begin:0,duration:1e3,easing:&quot;ease&quot;,isActive:!0,canBegin:!0,onAnimationEnd:()=&gt;{},onAnimationStart:()=&gt;{}},Zj={t:0},Ex={t:1};function e0(e){var r=Mn(e,wH),{isActive:t,canBegin:n,duration:o,easing:i,begin:a,onAnimationEnd:u,onAnimationStart:l,children:s}=r,d=t===&quot;auto&quot;?!Jp.isSsr:t,f=yH(r.animationId,r.animationManager),[h,m]=L.useState(d?Zj:Ex),p=L.useRef(null);return L.useEffect(()=&gt;{d||m(Ex)},[d]),L.useEffect(()=&gt;{if(!d||!n)return Md;var b=lH(Zj,Ex,mH(i),o,m,f.getTimeoutController()),g=()=&gt;{p.current=b()};return f.start([l,a,g,o,u]),()=&gt;{f.stop(),p.current&amp;&amp;p.current(),u()}},[d,n,o,i,a,l,u,f]),s(h.t)}function t0(e){var r=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;animation-&quot;,t=L.useRef(ld(r)),n=L.useRef(e);return n.current!==e&amp;&amp;(t.current=ld(r),n.current=e),t.current}var _H=[&quot;radius&quot;],jH=[&quot;radius&quot;],Qj,Jj,e6,t6,r6,n6,i6,s6,a6,o6;function l6(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function c6(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?l6(Object(t),!0).forEach(function(n){SH(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l6(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function SH(e,r,t){return(r=kH(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function kH(e){var r=NH(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function NH(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Km(){return Km=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Km.apply(null,arguments)}function u6(e,r){if(e==null)return{};var t,n,o=CH(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function CH(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function Cs(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var d6=(e,r,t,n,o)=&gt;{var i=ao(t),a=ao(n),u=Math.min(Math.abs(i)/2,Math.abs(a)/2),l=a&gt;=0?1:-1,s=i&gt;=0?1:-1,d=a&gt;=0&amp;&amp;i&gt;=0||a&lt;0&amp;&amp;i&lt;0?1:0,f;if(u&gt;0&amp;&amp;o instanceof Array){for(var h=[0,0,0,0],m=0,p=4;m&lt;p;m++)h[m]=o[m]&gt;u?u:o[m];f=Br(Qj||(Qj=Cs([&quot;M&quot;,&quot;,&quot;,&quot;&quot;])),e,r+l*h[0]),h[0]&gt;0&amp;&amp;(f+=Br(Jj||(Jj=Cs([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,&quot;&quot;])),h[0],h[0],d,e+s*h[0],r)),f+=Br(e6||(e6=Cs([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-s*h[1],r),h[1]&gt;0&amp;&amp;(f+=Br(t6||(t6=Cs([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,`,
        `,&quot;,&quot;,&quot;&quot;])),h[1],h[1],d,e+t,r+l*h[1])),f+=Br(r6||(r6=Cs([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t,r+n-l*h[2]),h[2]&gt;0&amp;&amp;(f+=Br(n6||(n6=Cs([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,`,
        `,&quot;,&quot;,&quot;&quot;])),h[2],h[2],d,e+t-s*h[2],r+n)),f+=Br(i6||(i6=Cs([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+s*h[3],r+n),h[3]&gt;0&amp;&amp;(f+=Br(s6||(s6=Cs([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,`,
        `,&quot;,&quot;,&quot;&quot;])),h[3],h[3],d,e,r+n-l*h[3])),f+=&quot;Z&quot;}else if(u&gt;0&amp;&amp;o===+o&amp;&amp;o&gt;0){var b=Math.min(u,o);f=Br(a6||(a6=Cs([&quot;M &quot;,&quot;,&quot;,`
            A `,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
            L `,&quot;,&quot;,`
            A `,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
            L `,&quot;,&quot;,`
            A `,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
            L `,&quot;,&quot;,`
            A `,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,&quot; Z&quot;])),e,r+l*b,b,b,d,e+s*b,r,e+t-s*b,r,b,b,d,e+t,r+l*b,e+t,r+n-l*b,b,b,d,e+t-s*b,r+n,e+s*b,r+n,b,b,d,e,r+n-l*b)}else f=Br(o6||(o6=Cs([&quot;M &quot;,&quot;,&quot;,&quot; h &quot;,&quot; v &quot;,&quot; h &quot;,&quot; Z&quot;])),e,r,t,n,-t);return f},f6={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:&quot;ease&quot;},Q7=e=&gt;{var r=Mn(e,f6),t=L.useRef(null),[n,o]=L.useState(-1);L.useEffect(()=&gt;{if(t.current&amp;&amp;t.current.getTotalLength)try{var k=t.current.getTotalLength();k&amp;&amp;o(k)}catch{}},[]);var{x:i,y:a,width:u,height:l,radius:s,className:d}=r,{animationEasing:f,animationDuration:h,animationBegin:m,isAnimationActive:p,isUpdateAnimationActive:b}=r,g=L.useRef(u),y=L.useRef(l),v=L.useRef(i),_=L.useRef(a),C=L.useMemo(()=&gt;({x:i,y:a,width:u,height:l,radius:s}),[i,a,u,l,s]),O=t0(C,&quot;rectangle-&quot;);if(i!==+i||a!==+a||u!==+u||l!==+l||u===0||l===0)return null;var T=cr(&quot;recharts-rectangle&quot;,d);if(!b){var V=Gn(r),{radius:F}=V,H=u6(V,_H);return L.createElement(&quot;path&quot;,Km({},H,{x:ao(i),y:ao(a),width:ao(u),height:ao(l),radius:typeof s==&quot;number&quot;?s:void 0,className:T,d:d6(i,a,u,l,s)}))}var W=g.current,K=y.current,$=v.current,P=_.current,D=&quot;0px &quot;.concat(n===-1?1:n,&quot;px&quot;),E=&quot;&quot;.concat(n,&quot;px 0px&quot;),j=X7([&quot;strokeDasharray&quot;],h,typeof f==&quot;string&quot;?f:f6.animationEasing);return L.createElement(e0,{animationId:O,key:O,canBegin:n&gt;0,duration:h,easing:f,isActive:b,begin:m},k=&gt;{var S=zr(W,u,k),N=zr(K,l,k),M=zr($,i,k),R=zr(P,a,k);t.current&amp;&amp;(g.current=S,y.current=N,v.current=M,_.current=R);var B;p?k&gt;0?B={transition:j,strokeDasharray:E}:B={strokeDasharray:D}:B={strokeDasharray:E};var Y=Gn(r),{radius:Z}=Y,ie=u6(Y,jH);return L.createElement(&quot;path&quot;,Km({},ie,{radius:typeof s==&quot;number&quot;?s:void 0,className:T,d:d6(M,R,S,N,s),ref:t,style:c6(c6({},B),r.style)}))})};function h6(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function m6(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?h6(Object(t),!0).forEach(function(n){EH(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h6(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function EH(e,r,t){return(r=AH(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function AH(e){var r=MH(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function MH(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var Xm=Math.PI/180,OH=e=&gt;e*180/Math.PI,An=(e,r,t,n)=&gt;({x:e+Math.cos(-Xm*n)*t,y:r+Math.sin(-Xm*n)*t}),PH=function(r,t){var n=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(r-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},TH=(e,r)=&gt;{var{x:t,y:n}=e,{x:o,y:i}=r;return Math.sqrt((t-o)**2+(n-i)**2)},IH=(e,r)=&gt;{var{x:t,y:n}=e,{cx:o,cy:i}=r,a=TH({x:t,y:n},{x:o,y:i});if(a&lt;=0)return{radius:a,angle:0};var u=(t-o)/a,l=Math.acos(u);return n&gt;i&amp;&amp;(l=2*Math.PI-l),{radius:a,angle:OH(l),angleInRadian:l}},RH=e=&gt;{var{startAngle:r,endAngle:t}=e,n=Math.floor(r/360),o=Math.floor(t/360),i=Math.min(n,o);return{startAngle:r-i*360,endAngle:t-i*360}},DH=(e,r)=&gt;{var{startAngle:t,endAngle:n}=r,o=Math.floor(t/360),i=Math.floor(n/360),a=Math.min(o,i);return e+a*360},LH=(e,r)=&gt;{var{chartX:t,chartY:n}=e,{radius:o,angle:i}=IH({x:t,y:n},r),{innerRadius:a,outerRadius:u}=r;if(o&lt;a||o&gt;u||o===0)return null;var{startAngle:l,endAngle:s}=RH(r),d=i,f;if(l&lt;=s){for(;d&gt;s;)d-=360;for(;d&lt;l;)d+=360;f=d&gt;=l&amp;&amp;d&lt;=s}else{for(;d&gt;l;)d-=360;for(;d&lt;s;)d+=360;f=d&gt;=s&amp;&amp;d&lt;=l}return f?m6(m6({},r),{},{radius:o,angle:DH(d,r)}):null};function J7(e){var{cx:r,cy:t,radius:n,startAngle:o,endAngle:i}=e,a=An(r,t,n,o),u=An(r,t,n,i);return{points:[a,u],cx:r,cy:t,radius:n,startAngle:o,endAngle:i}}var p6,g6,b6,x6,y6,v6,w6;function vv(){return vv=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},vv.apply(null,arguments)}function ll(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var FH=(e,r)=&gt;{var t=li(r-e),n=Math.min(Math.abs(r-e),359.999);return t*n},$h=e=&gt;{var{cx:r,cy:t,radius:n,angle:o,sign:i,isExternal:a,cornerRadius:u,cornerIsExternal:l}=e,s=u*(a?1:-1)+n,d=Math.asin(u/s)/Xm,f=l?o:o+i*d,h=An(r,t,s,f),m=An(r,t,n,f),p=l?o-i*d:o,b=An(r,t,s*Math.cos(d*Xm),p);return{center:h,circleTangency:m,lineTangency:b,theta:d}},eE=e=&gt;{var{cx:r,cy:t,innerRadius:n,outerRadius:o,startAngle:i,endAngle:a}=e,u=FH(i,a),l=i+u,s=An(r,t,o,i),d=An(r,t,o,l),f=Br(p6||(p6=ll([&quot;M &quot;,&quot;,&quot;,`
    A `,&quot;,&quot;,`,0,
    `,&quot;,&quot;,`,
    `,&quot;,&quot;,`
  `])),s.x,s.y,o,o,+(Math.abs(u)&gt;180),+(i&gt;l),d.x,d.y);if(n&gt;0){var h=An(r,t,n,i),m=An(r,t,n,l);f+=Br(g6||(g6=ll([&quot;L &quot;,&quot;,&quot;,`
            A `,&quot;,&quot;,`,0,
            `,&quot;,&quot;,`,
            `,&quot;,&quot;,&quot; Z&quot;])),m.x,m.y,n,n,+(Math.abs(u)&gt;180),+(i&lt;=l),h.x,h.y)}else f+=Br(b6||(b6=ll([&quot;L &quot;,&quot;,&quot;,&quot; Z&quot;])),r,t);return f},BH=e=&gt;{var{cx:r,cy:t,innerRadius:n,outerRadius:o,cornerRadius:i,forceCornerRadius:a,cornerIsExternal:u,startAngle:l,endAngle:s}=e,d=li(s-l),{circleTangency:f,lineTangency:h,theta:m}=$h({cx:r,cy:t,radius:o,angle:l,sign:d,cornerRadius:i,cornerIsExternal:u}),{circleTangency:p,lineTangency:b,theta:g}=$h({cx:r,cy:t,radius:o,angle:s,sign:-d,cornerRadius:i,cornerIsExternal:u}),y=u?Math.abs(l-s):Math.abs(l-s)-m-g;if(y&lt;0)return a?Br(x6||(x6=ll([&quot;M &quot;,&quot;,&quot;,`
        a`,&quot;,&quot;,&quot;,0,0,1,&quot;,`,0
        a`,&quot;,&quot;,&quot;,0,0,1,&quot;,`,0
      `])),h.x,h.y,i,i,i*2,i,i,-i*2):eE({cx:r,cy:t,innerRadius:n,outerRadius:o,startAngle:l,endAngle:s});var v=Br(y6||(y6=ll([&quot;M &quot;,&quot;,&quot;,`
    A`,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
    A`,&quot;,&quot;,&quot;,0,&quot;,&quot;,&quot;,&quot;,&quot;,&quot;,&quot;,`
    A`,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
  `])),h.x,h.y,i,i,+(d&lt;0),f.x,f.y,o,o,+(y&gt;180),+(d&lt;0),p.x,p.y,i,i,+(d&lt;0),b.x,b.y);if(n&gt;0){var{circleTangency:_,lineTangency:C,theta:O}=$h({cx:r,cy:t,radius:n,angle:l,sign:d,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),{circleTangency:T,lineTangency:V,theta:F}=$h({cx:r,cy:t,radius:n,angle:s,sign:-d,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),H=u?Math.abs(l-s):Math.abs(l-s)-O-F;if(H&lt;0&amp;&amp;i===0)return&quot;&quot;.concat(v,&quot;L&quot;).concat(r,&quot;,&quot;).concat(t,&quot;Z&quot;);v+=Br(v6||(v6=ll([&quot;L&quot;,&quot;,&quot;,`
      A`,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
      A`,&quot;,&quot;,&quot;,0,&quot;,&quot;,&quot;,&quot;,&quot;,&quot;,&quot;,`
      A`,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,&quot;Z&quot;])),V.x,V.y,i,i,+(d&lt;0),T.x,T.y,n,n,+(H&gt;180),+(d&gt;0),_.x,_.y,i,i,+(d&lt;0),C.x,C.y)}else v+=Br(w6||(w6=ll([&quot;L&quot;,&quot;,&quot;,&quot;Z&quot;])),r,t);return v},zH={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},tE=e=&gt;{var r=Mn(e,zH),{cx:t,cy:n,innerRadius:o,outerRadius:i,cornerRadius:a,forceCornerRadius:u,cornerIsExternal:l,startAngle:s,endAngle:d,className:f}=r;if(i&lt;o||s===d)return null;var h=cr(&quot;recharts-sector&quot;,f),m=i-o,p=ps(a,m,0,!0),b;return p&gt;0&amp;&amp;Math.abs(s-d)&lt;360?b=BH({cx:t,cy:n,innerRadius:o,outerRadius:i,cornerRadius:Math.min(p,m/2),forceCornerRadius:u,cornerIsExternal:l,startAngle:s,endAngle:d}):b=eE({cx:t,cy:n,innerRadius:o,outerRadius:i,startAngle:s,endAngle:d}),L.createElement(&quot;path&quot;,vv({},Gn(r),{className:h,d:b}))};function $H(e,r,t){if(e===&quot;horizontal&quot;)return[{x:r.x,y:t.top},{x:r.x,y:t.top+t.height}];if(e===&quot;vertical&quot;)return[{x:t.left,y:r.y},{x:t.left+t.width,y:r.y}];if(zC(r)){if(e===&quot;centric&quot;){var{cx:n,cy:o,innerRadius:i,outerRadius:a,angle:u}=r,l=An(n,o,i,u),s=An(n,o,a,u);return[{x:l.x,y:l.y},{x:s.x,y:s.y}]}return J7(r)}}var Ax={},Mx={},Ox={},_6;function UH(){return _6||(_6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=ZC();function t(n){return r.isSymbol(n)?NaN:Number(n)}e.toNumber=t})(Ox)),Ox}var j6;function VH(){return j6||(j6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=UH();function t(n){return n?(n=r.toNumber(n),n===1/0||n===-1/0?(n&lt;0?-1:1)*Number.MAX_VALUE:n===n?n:0):n===0?n:0}e.toFinite=t})(Mx)),Mx}var S6;function qH(){return S6||(S6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=QC(),t=VH();function n(o,i,a){a&amp;&amp;typeof a!=&quot;number&quot;&amp;&amp;r.isIterateeCall(o,i,a)&amp;&amp;(i=a=void 0),o=t.toFinite(o),i===void 0?(i=o,o=0):i=t.toFinite(i),a=a===void 0?o&lt;i?1:-1:t.toFinite(a);const u=Math.max(Math.ceil((i-o)/(a||1)),0),l=new Array(u);for(let s=0;s&lt;u;s++)l[s]=o,o+=a;return l}e.range=n})(Ax)),Ax}var Px,k6;function HH(){return k6||(k6=1,Px=qH().range),Px}var WH=HH();const rE=bs(WH);function co(e,r){return e==null||r==null?NaN:e&lt;r?-1:e&gt;r?1:e&gt;=r?0:NaN}function KH(e,r){return e==null||r==null?NaN:r&lt;e?-1:r&gt;e?1:r&gt;=e?0:NaN}function s2(e){let r,t,n;e.length!==2?(r=co,t=(u,l)=&gt;co(e(u),l),n=(u,l)=&gt;e(u)-l):(r=e===co||e===KH?e:XH,t=e,n=e);function o(u,l,s=0,d=u.length){if(s&lt;d){if(r(l,l)!==0)return d;do{const f=s+d&gt;&gt;&gt;1;t(u[f],l)&lt;0?s=f+1:d=f}while(s&lt;d)}return s}function i(u,l,s=0,d=u.length){if(s&lt;d){if(r(l,l)!==0)return d;do{const f=s+d&gt;&gt;&gt;1;t(u[f],l)&lt;=0?s=f+1:d=f}while(s&lt;d)}return s}function a(u,l,s=0,d=u.length){const f=o(u,l,s,d-1);return f&gt;s&amp;&amp;n(u[f-1],l)&gt;-n(u[f],l)?f-1:f}return{left:o,center:a,right:i}}function XH(){return 0}function nE(e){return e===null?NaN:+e}function*GH(e,r){for(let t of e)t!=null&amp;&amp;(t=+t)&gt;=t&amp;&amp;(yield t)}const YH=s2(co),Rd=YH.right;s2(nE).center;class N6 extends Map{constructor(r,t=JH){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),r!=null)for(const[n,o]of r)this.set(n,o)}get(r){return super.get(C6(this,r))}has(r){return super.has(C6(this,r))}set(r,t){return super.set(ZH(this,r),t)}delete(r){return super.delete(QH(this,r))}}function C6({_intern:e,_key:r},t){const n=r(t);return e.has(n)?e.get(n):t}function ZH({_intern:e,_key:r},t){const n=r(t);return e.has(n)?e.get(n):(e.set(n,t),t)}function QH({_intern:e,_key:r},t){const n=r(t);return e.has(n)&amp;&amp;(t=e.get(n),e.delete(n)),t}function JH(e){return e!==null&amp;&amp;typeof e==&quot;object&quot;?e.valueOf():e}function eW(e=co){if(e===co)return iE;if(typeof e!=&quot;function&quot;)throw new TypeError(&quot;compare is not a function&quot;);return(r,t)=&gt;{const n=e(r,t);return n||n===0?n:(e(t,t)===0)-(e(r,r)===0)}}function iE(e,r){return(e==null||!(e&gt;=e))-(r==null||!(r&gt;=r))||(e&lt;r?-1:e&gt;r?1:0)}const tW=Math.sqrt(50),rW=Math.sqrt(10),nW=Math.sqrt(2);function Gm(e,r,t){const n=(r-e)/Math.max(0,t),o=Math.floor(Math.log10(n)),i=n/Math.pow(10,o),a=i&gt;=tW?10:i&gt;=rW?5:i&gt;=nW?2:1;let u,l,s;return o&lt;0?(s=Math.pow(10,-o)/a,u=Math.round(e*s),l=Math.round(r*s),u/s&lt;e&amp;&amp;++u,l/s&gt;r&amp;&amp;--l,s=-s):(s=Math.pow(10,o)*a,u=Math.round(e/s),l=Math.round(r/s),u*s&lt;e&amp;&amp;++u,l*s&gt;r&amp;&amp;--l),l&lt;u&amp;&amp;.5&lt;=t&amp;&amp;t&lt;2?Gm(e,r,t*2):[u,l,s]}function wv(e,r,t){if(r=+r,e=+e,t=+t,!(t&gt;0))return[];if(e===r)return[e];const n=r&lt;e,[o,i,a]=n?Gm(r,e,t):Gm(e,r,t);if(!(i&gt;=o))return[];const u=i-o+1,l=new Array(u);if(n)if(a&lt;0)for(let s=0;s&lt;u;++s)l[s]=(i-s)/-a;else for(let s=0;s&lt;u;++s)l[s]=(i-s)*a;else if(a&lt;0)for(let s=0;s&lt;u;++s)l[s]=(o+s)/-a;else for(let s=0;s&lt;u;++s)l[s]=(o+s)*a;return l}function _v(e,r,t){return r=+r,e=+e,t=+t,Gm(e,r,t)[2]}function jv(e,r,t){r=+r,e=+e,t=+t;const n=r&lt;e,o=n?_v(r,e,t):_v(e,r,t);return(n?-1:1)*(o&lt;0?1/-o:o)}function E6(e,r){let t;for(const n of e)n!=null&amp;&amp;(t&lt;n||t===void 0&amp;&amp;n&gt;=n)&amp;&amp;(t=n);return t}function A6(e,r){let t;for(const n of e)n!=null&amp;&amp;(t&gt;n||t===void 0&amp;&amp;n&gt;=n)&amp;&amp;(t=n);return t}function sE(e,r,t=0,n=1/0,o){if(r=Math.floor(r),t=Math.floor(Math.max(0,t)),n=Math.floor(Math.min(e.length-1,n)),!(t&lt;=r&amp;&amp;r&lt;=n))return e;for(o=o===void 0?iE:eW(o);n&gt;t;){if(n-t&gt;600){const l=n-t+1,s=r-t+1,d=Math.log(l),f=.5*Math.exp(2*d/3),h=.5*Math.sqrt(d*f*(l-f)/l)*(s-l/2&lt;0?-1:1),m=Math.max(t,Math.floor(r-s*f/l+h)),p=Math.min(n,Math.floor(r+(l-s)*f/l+h));sE(e,r,m,p,o)}const i=e[r];let a=t,u=n;for(Ru(e,t,r),o(e[n],i)&gt;0&amp;&amp;Ru(e,t,n);a&lt;u;){for(Ru(e,a,u),++a,--u;o(e[a],i)&lt;0;)++a;for(;o(e[u],i)&gt;0;)--u}o(e[t],i)===0?Ru(e,t,u):(++u,Ru(e,u,n)),u&lt;=r&amp;&amp;(t=u+1),r&lt;=u&amp;&amp;(n=u-1)}return e}function Ru(e,r,t){const n=e[r];e[r]=e[t],e[t]=n}function iW(e,r,t){if(e=Float64Array.from(GH(e)),!(!(n=e.length)||isNaN(r=+r))){if(r&lt;=0||n&lt;2)return A6(e);if(r&gt;=1)return E6(e);var n,o=(n-1)*r,i=Math.floor(o),a=E6(sE(e,i).subarray(0,i+1)),u=A6(e.subarray(i+1));return a+(u-a)*(o-i)}}function sW(e,r,t=nE){if(!(!(n=e.length)||isNaN(r=+r))){if(r&lt;=0||n&lt;2)return+t(e[0],0,e);if(r&gt;=1)return+t(e[n-1],n-1,e);var n,o=(n-1)*r,i=Math.floor(o),a=+t(e[i],i,e),u=+t(e[i+1],i+1,e);return a+(u-a)*(o-i)}}function aW(e,r,t){e=+e,r=+r,t=(o=arguments.length)&lt;2?(r=e,e=0,1):o&lt;3?1:+t;for(var n=-1,o=Math.max(0,Math.ceil((r-e)/t))|0,i=new Array(o);++n&lt;o;)i[n]=e+n*t;return i}function Xi(e,r){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(r).domain(e);break}return this}function wa(e,r){switch(arguments.length){case 0:break;case 1:{typeof e==&quot;function&quot;?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof r==&quot;function&quot;?this.interpolator(r):this.range(r);break}}return this}const Sv=Symbol(&quot;implicit&quot;);function a2(){var e=new N6,r=[],t=[],n=Sv;function o(i){let a=e.get(i);if(a===void 0){if(n!==Sv)return n;e.set(i,a=r.push(i)-1)}return t[a%t.length]}return o.domain=function(i){if(!arguments.length)return r.slice();r=[],e=new N6;for(const a of i)e.has(a)||e.set(a,r.push(a)-1);return o},o.range=function(i){return arguments.length?(t=Array.from(i),o):t.slice()},o.unknown=function(i){return arguments.length?(n=i,o):n},o.copy=function(){return a2(r,t).unknown(n)},Xi.apply(o,arguments),o}function o2(){var e=a2().unknown(void 0),r=e.domain,t=e.range,n=0,o=1,i,a,u=!1,l=0,s=0,d=.5;delete e.unknown;function f(){var h=r().length,m=o&lt;n,p=m?o:n,b=m?n:o;i=(b-p)/Math.max(1,h-l+s*2),u&amp;&amp;(i=Math.floor(i)),p+=(b-p-i*(h-l))*d,a=i*(1-l),u&amp;&amp;(p=Math.round(p),a=Math.round(a));var g=aW(h).map(function(y){return p+i*y});return t(m?g.reverse():g)}return e.domain=function(h){return arguments.length?(r(h),f()):r()},e.range=function(h){return arguments.length?([n,o]=h,n=+n,o=+o,f()):[n,o]},e.rangeRound=function(h){return[n,o]=h,n=+n,o=+o,u=!0,f()},e.bandwidth=function(){return a},e.step=function(){return i},e.round=function(h){return arguments.length?(u=!!h,f()):u},e.padding=function(h){return arguments.length?(l=Math.min(1,s=+h),f()):l},e.paddingInner=function(h){return arguments.length?(l=Math.min(1,h),f()):l},e.paddingOuter=function(h){return arguments.length?(s=+h,f()):s},e.align=function(h){return arguments.length?(d=Math.max(0,Math.min(1,h)),f()):d},e.copy=function(){return o2(r(),[n,o]).round(u).paddingInner(l).paddingOuter(s).align(d)},Xi.apply(f(),arguments)}function aE(e){var r=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return aE(r())},e}function oW(){return aE(o2.apply(null,arguments).paddingInner(1))}function l2(e,r,t){e.prototype=r.prototype=t,t.constructor=e}function oE(e,r){var t=Object.create(e.prototype);for(var n in r)t[n]=r[n];return t}function Dd(){}var gd=.7,Ym=1/gd,vc=&quot;\\s*([+-]?\\d+)\\s*&quot;,bd=&quot;\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*&quot;,Os=&quot;\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*&quot;,lW=/^#([0-9a-f]{3,8})$/,cW=new RegExp(`^rgb\\(${vc},${vc},${vc}\\)$`),uW=new RegExp(`^rgb\\(${Os},${Os},${Os}\\)$`),dW=new RegExp(`^rgba\\(${vc},${vc},${vc},${bd}\\)$`),fW=new RegExp(`^rgba\\(${Os},${Os},${Os},${bd}\\)$`),hW=new RegExp(`^hsl\\(${bd},${Os},${Os}\\)$`),mW=new RegExp(`^hsla\\(${bd},${Os},${Os},${bd}\\)$`),M6={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};l2(Dd,xd,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:O6,formatHex:O6,formatHex8:pW,formatHsl:gW,formatRgb:P6,toString:P6});function O6(){return this.rgb().formatHex()}function pW(){return this.rgb().formatHex8()}function gW(){return lE(this).formatHsl()}function P6(){return this.rgb().formatRgb()}function xd(e){var r,t;return e=(e+&quot;&quot;).trim().toLowerCase(),(r=lW.exec(e))?(t=r[1].length,r=parseInt(r[1],16),t===6?T6(r):t===3?new ci(r&gt;&gt;8&amp;15|r&gt;&gt;4&amp;240,r&gt;&gt;4&amp;15|r&amp;240,(r&amp;15)&lt;&lt;4|r&amp;15,1):t===8?Uh(r&gt;&gt;24&amp;255,r&gt;&gt;16&amp;255,r&gt;&gt;8&amp;255,(r&amp;255)/255):t===4?Uh(r&gt;&gt;12&amp;15|r&gt;&gt;8&amp;240,r&gt;&gt;8&amp;15|r&gt;&gt;4&amp;240,r&gt;&gt;4&amp;15|r&amp;240,((r&amp;15)&lt;&lt;4|r&amp;15)/255):null):(r=cW.exec(e))?new ci(r[1],r[2],r[3],1):(r=uW.exec(e))?new ci(r[1]*255/100,r[2]*255/100,r[3]*255/100,1):(r=dW.exec(e))?Uh(r[1],r[2],r[3],r[4]):(r=fW.exec(e))?Uh(r[1]*255/100,r[2]*255/100,r[3]*255/100,r[4]):(r=hW.exec(e))?D6(r[1],r[2]/100,r[3]/100,1):(r=mW.exec(e))?D6(r[1],r[2]/100,r[3]/100,r[4]):M6.hasOwnProperty(e)?T6(M6[e]):e===&quot;transparent&quot;?new ci(NaN,NaN,NaN,0):null}function T6(e){return new ci(e&gt;&gt;16&amp;255,e&gt;&gt;8&amp;255,e&amp;255,1)}function Uh(e,r,t,n){return n&lt;=0&amp;&amp;(e=r=t=NaN),new ci(e,r,t,n)}function bW(e){return e instanceof Dd||(e=xd(e)),e?(e=e.rgb(),new ci(e.r,e.g,e.b,e.opacity)):new ci}function kv(e,r,t,n){return arguments.length===1?bW(e):new ci(e,r,t,n??1)}function ci(e,r,t,n){this.r=+e,this.g=+r,this.b=+t,this.opacity=+n}l2(ci,kv,oE(Dd,{brighter(e){return e=e==null?Ym:Math.pow(Ym,e),new ci(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?gd:Math.pow(gd,e),new ci(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ci(ml(this.r),ml(this.g),ml(this.b),Zm(this.opacity))},displayable(){return-.5&lt;=this.r&amp;&amp;this.r&lt;255.5&amp;&amp;-.5&lt;=this.g&amp;&amp;this.g&lt;255.5&amp;&amp;-.5&lt;=this.b&amp;&amp;this.b&lt;255.5&amp;&amp;0&lt;=this.opacity&amp;&amp;this.opacity&lt;=1},hex:I6,formatHex:I6,formatHex8:xW,formatRgb:R6,toString:R6}));function I6(){return`#${cl(this.r)}${cl(this.g)}${cl(this.b)}`}function xW(){return`#${cl(this.r)}${cl(this.g)}${cl(this.b)}${cl((isNaN(this.opacity)?1:this.opacity)*255)}`}function R6(){const e=Zm(this.opacity);return`${e===1?&quot;rgb(&quot;:&quot;rgba(&quot;}${ml(this.r)}, ${ml(this.g)}, ${ml(this.b)}${e===1?&quot;)&quot;:`, ${e})`}`}function Zm(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function ml(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function cl(e){return e=ml(e),(e&lt;16?&quot;0&quot;:&quot;&quot;)+e.toString(16)}function D6(e,r,t,n){return n&lt;=0?e=r=t=NaN:t&lt;=0||t&gt;=1?e=r=NaN:r&lt;=0&amp;&amp;(e=NaN),new ds(e,r,t,n)}function lE(e){if(e instanceof ds)return new ds(e.h,e.s,e.l,e.opacity);if(e instanceof Dd||(e=xd(e)),!e)return new ds;if(e instanceof ds)return e;e=e.rgb();var r=e.r/255,t=e.g/255,n=e.b/255,o=Math.min(r,t,n),i=Math.max(r,t,n),a=NaN,u=i-o,l=(i+o)/2;return u?(r===i?a=(t-n)/u+(t&lt;n)*6:t===i?a=(n-r)/u+2:a=(r-t)/u+4,u/=l&lt;.5?i+o:2-i-o,a*=60):u=l&gt;0&amp;&amp;l&lt;1?0:a,new ds(a,u,l,e.opacity)}function yW(e,r,t,n){return arguments.length===1?lE(e):new ds(e,r,t,n??1)}function ds(e,r,t,n){this.h=+e,this.s=+r,this.l=+t,this.opacity=+n}l2(ds,yW,oE(Dd,{brighter(e){return e=e==null?Ym:Math.pow(Ym,e),new ds(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?gd:Math.pow(gd,e),new ds(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h&lt;0)*360,r=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,n=t+(t&lt;.5?t:1-t)*r,o=2*t-n;return new ci(Tx(e&gt;=240?e-240:e+120,o,n),Tx(e,o,n),Tx(e&lt;120?e+240:e-120,o,n),this.opacity)},clamp(){return new ds(L6(this.h),Vh(this.s),Vh(this.l),Zm(this.opacity))},displayable(){return(0&lt;=this.s&amp;&amp;this.s&lt;=1||isNaN(this.s))&amp;&amp;0&lt;=this.l&amp;&amp;this.l&lt;=1&amp;&amp;0&lt;=this.opacity&amp;&amp;this.opacity&lt;=1},formatHsl(){const e=Zm(this.opacity);return`${e===1?&quot;hsl(&quot;:&quot;hsla(&quot;}${L6(this.h)}, ${Vh(this.s)*100}%, ${Vh(this.l)*100}%${e===1?&quot;)&quot;:`, ${e})`}`}}));function L6(e){return e=(e||0)%360,e&lt;0?e+360:e}function Vh(e){return Math.max(0,Math.min(1,e||0))}function Tx(e,r,t){return(e&lt;60?r+(t-r)*e/60:e&lt;180?t:e&lt;240?r+(t-r)*(240-e)/60:r)*255}const c2=e=&gt;()=&gt;e;function vW(e,r){return function(t){return e+t*r}}function wW(e,r,t){return e=Math.pow(e,t),r=Math.pow(r,t)-e,t=1/t,function(n){return Math.pow(e+n*r,t)}}function _W(e){return(e=+e)==1?cE:function(r,t){return t-r?wW(r,t,e):c2(isNaN(r)?t:r)}}function cE(e,r){var t=r-e;return t?vW(e,t):c2(isNaN(e)?r:e)}const F6=(function e(r){var t=_W(r);function n(o,i){var a=t((o=kv(o)).r,(i=kv(i)).r),u=t(o.g,i.g),l=t(o.b,i.b),s=cE(o.opacity,i.opacity);return function(d){return o.r=a(d),o.g=u(d),o.b=l(d),o.opacity=s(d),o+&quot;&quot;}}return n.gamma=e,n})(1);function jW(e,r){r||(r=[]);var t=e?Math.min(r.length,e.length):0,n=r.slice(),o;return function(i){for(o=0;o&lt;t;++o)n[o]=e[o]*(1-i)+r[o]*i;return n}}function SW(e){return ArrayBuffer.isView(e)&amp;&amp;!(e instanceof DataView)}function kW(e,r){var t=r?r.length:0,n=e?Math.min(t,e.length):0,o=new Array(n),i=new Array(t),a;for(a=0;a&lt;n;++a)o[a]=Fc(e[a],r[a]);for(;a&lt;t;++a)i[a]=r[a];return function(u){for(a=0;a&lt;n;++a)i[a]=o[a](u);return i}}function NW(e,r){var t=new Date;return e=+e,r=+r,function(n){return t.setTime(e*(1-n)+r*n),t}}function Qm(e,r){return e=+e,r=+r,function(t){return e*(1-t)+r*t}}function CW(e,r){var t={},n={},o;(e===null||typeof e!=&quot;object&quot;)&amp;&amp;(e={}),(r===null||typeof r!=&quot;object&quot;)&amp;&amp;(r={});for(o in r)o in e?t[o]=Fc(e[o],r[o]):n[o]=r[o];return function(i){for(o in t)n[o]=t[o](i);return n}}var Nv=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ix=new RegExp(Nv.source,&quot;g&quot;);function EW(e){return function(){return e}}function AW(e){return function(r){return e(r)+&quot;&quot;}}function MW(e,r){var t=Nv.lastIndex=Ix.lastIndex=0,n,o,i,a=-1,u=[],l=[];for(e=e+&quot;&quot;,r=r+&quot;&quot;;(n=Nv.exec(e))&amp;&amp;(o=Ix.exec(r));)(i=o.index)&gt;t&amp;&amp;(i=r.slice(t,i),u[a]?u[a]+=i:u[++a]=i),(n=n[0])===(o=o[0])?u[a]?u[a]+=o:u[++a]=o:(u[++a]=null,l.push({i:a,x:Qm(n,o)})),t=Ix.lastIndex;return t&lt;r.length&amp;&amp;(i=r.slice(t),u[a]?u[a]+=i:u[++a]=i),u.length&lt;2?l[0]?AW(l[0].x):EW(r):(r=l.length,function(s){for(var d=0,f;d&lt;r;++d)u[(f=l[d]).i]=f.x(s);return u.join(&quot;&quot;)})}function Fc(e,r){var t=typeof r,n;return r==null||t===&quot;boolean&quot;?c2(r):(t===&quot;number&quot;?Qm:t===&quot;string&quot;?(n=xd(r))?(r=n,F6):MW:r instanceof xd?F6:r instanceof Date?NW:SW(r)?jW:Array.isArray(r)?kW:typeof r.valueOf!=&quot;function&quot;&amp;&amp;typeof r.toString!=&quot;function&quot;||isNaN(r)?CW:Qm)(e,r)}function u2(e,r){return e=+e,r=+r,function(t){return Math.round(e*(1-t)+r*t)}}function OW(e,r){r===void 0&amp;&amp;(r=e,e=Fc);for(var t=0,n=r.length-1,o=r[0],i=new Array(n&lt;0?0:n);t&lt;n;)i[t]=e(o,o=r[++t]);return function(a){var u=Math.max(0,Math.min(n-1,Math.floor(a*=n)));return i[u](a-u)}}function PW(e){return function(){return e}}function Jm(e){return+e}var B6=[0,1];function Xn(e){return e}function Cv(e,r){return(r-=e=+e)?function(t){return(t-e)/r}:PW(isNaN(r)?NaN:.5)}function TW(e,r){var t;return e&gt;r&amp;&amp;(t=e,e=r,r=t),function(n){return Math.max(e,Math.min(r,n))}}function IW(e,r,t){var n=e[0],o=e[1],i=r[0],a=r[1];return o&lt;n?(n=Cv(o,n),i=t(a,i)):(n=Cv(n,o),i=t(i,a)),function(u){return i(n(u))}}function RW(e,r,t){var n=Math.min(e.length,r.length)-1,o=new Array(n),i=new Array(n),a=-1;for(e[n]&lt;e[0]&amp;&amp;(e=e.slice().reverse(),r=r.slice().reverse());++a&lt;n;)o[a]=Cv(e[a],e[a+1]),i[a]=t(r[a],r[a+1]);return function(u){var l=Rd(e,u,1,n)-1;return i[l](o[l](u))}}function Ld(e,r){return r.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function r0(){var e=B6,r=B6,t=Fc,n,o,i,a=Xn,u,l,s;function d(){var h=Math.min(e.length,r.length);return a!==Xn&amp;&amp;(a=TW(e[0],e[h-1])),u=h&gt;2?RW:IW,l=s=null,f}function f(h){return h==null||isNaN(h=+h)?i:(l||(l=u(e.map(n),r,t)))(n(a(h)))}return f.invert=function(h){return a(o((s||(s=u(r,e.map(n),Qm)))(h)))},f.domain=function(h){return arguments.length?(e=Array.from(h,Jm),d()):e.slice()},f.range=function(h){return arguments.length?(r=Array.from(h),d()):r.slice()},f.rangeRound=function(h){return r=Array.from(h),t=u2,d()},f.clamp=function(h){return arguments.length?(a=h?!0:Xn,d()):a!==Xn},f.interpolate=function(h){return arguments.length?(t=h,d()):t},f.unknown=function(h){return arguments.length?(i=h,f):i},function(h,m){return n=h,o=m,d()}}function d2(){return r0()(Xn,Xn)}function DW(e){return Math.abs(e=Math.round(e))&gt;=1e21?e.toLocaleString(&quot;en&quot;).replace(/,/g,&quot;&quot;):e.toString(10)}function ep(e,r){if(!isFinite(e)||e===0)return null;var t=(e=r?e.toExponential(r-1):e.toExponential()).indexOf(&quot;e&quot;),n=e.slice(0,t);return[n.length&gt;1?n[0]+n.slice(2):n,+e.slice(t+1)]}function Ec(e){return e=ep(Math.abs(e)),e?e[1]:NaN}function LW(e,r){return function(t,n){for(var o=t.length,i=[],a=0,u=e[0],l=0;o&gt;0&amp;&amp;u&gt;0&amp;&amp;(l+u+1&gt;n&amp;&amp;(u=Math.max(1,n-l)),i.push(t.substring(o-=u,o+u)),!((l+=u+1)&gt;n));)u=e[a=(a+1)%e.length];return i.reverse().join(r)}}function FW(e){return function(r){return r.replace(/[0-9]/g,function(t){return e[+t]})}}var BW=/^(?:(.)?([&lt;&gt;=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function yd(e){if(!(r=BW.exec(e)))throw new Error(&quot;invalid format: &quot;+e);var r;return new f2({fill:r[1],align:r[2],sign:r[3],symbol:r[4],zero:r[5],width:r[6],comma:r[7],precision:r[8]&amp;&amp;r[8].slice(1),trim:r[9],type:r[10]})}yd.prototype=f2.prototype;function f2(e){this.fill=e.fill===void 0?&quot; &quot;:e.fill+&quot;&quot;,this.align=e.align===void 0?&quot;&gt;&quot;:e.align+&quot;&quot;,this.sign=e.sign===void 0?&quot;-&quot;:e.sign+&quot;&quot;,this.symbol=e.symbol===void 0?&quot;&quot;:e.symbol+&quot;&quot;,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?&quot;&quot;:e.type+&quot;&quot;}f2.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?&quot;0&quot;:&quot;&quot;)+(this.width===void 0?&quot;&quot;:Math.max(1,this.width|0))+(this.comma?&quot;,&quot;:&quot;&quot;)+(this.precision===void 0?&quot;&quot;:&quot;.&quot;+Math.max(0,this.precision|0))+(this.trim?&quot;~&quot;:&quot;&quot;)+this.type};function zW(e){e:for(var r=e.length,t=1,n=-1,o;t&lt;r;++t)switch(e[t]){case&quot;.&quot;:n=o=t;break;case&quot;0&quot;:n===0&amp;&amp;(n=t),o=t;break;default:if(!+e[t])break e;n&gt;0&amp;&amp;(n=0);break}return n&gt;0?e.slice(0,n)+e.slice(o+1):e}var tp;function $W(e,r){var t=ep(e,r);if(!t)return tp=void 0,e.toPrecision(r);var n=t[0],o=t[1],i=o-(tp=Math.max(-8,Math.min(8,Math.floor(o/3)))*3)+1,a=n.length;return i===a?n:i&gt;a?n+new Array(i-a+1).join(&quot;0&quot;):i&gt;0?n.slice(0,i)+&quot;.&quot;+n.slice(i):&quot;0.&quot;+new Array(1-i).join(&quot;0&quot;)+ep(e,Math.max(0,r+i-1))[0]}function z6(e,r){var t=ep(e,r);if(!t)return e+&quot;&quot;;var n=t[0],o=t[1];return o&lt;0?&quot;0.&quot;+new Array(-o).join(&quot;0&quot;)+n:n.length&gt;o+1?n.slice(0,o+1)+&quot;.&quot;+n.slice(o+1):n+new Array(o-n.length+2).join(&quot;0&quot;)}const $6={&quot;%&quot;:(e,r)=&gt;(e*100).toFixed(r),b:e=&gt;Math.round(e).toString(2),c:e=&gt;e+&quot;&quot;,d:DW,e:(e,r)=&gt;e.toExponential(r),f:(e,r)=&gt;e.toFixed(r),g:(e,r)=&gt;e.toPrecision(r),o:e=&gt;Math.round(e).toString(8),p:(e,r)=&gt;z6(e*100,r),r:z6,s:$W,X:e=&gt;Math.round(e).toString(16).toUpperCase(),x:e=&gt;Math.round(e).toString(16)};function U6(e){return e}var V6=Array.prototype.map,q6=[&quot;y&quot;,&quot;z&quot;,&quot;a&quot;,&quot;f&quot;,&quot;p&quot;,&quot;n&quot;,&quot;µ&quot;,&quot;m&quot;,&quot;&quot;,&quot;k&quot;,&quot;M&quot;,&quot;G&quot;,&quot;T&quot;,&quot;P&quot;,&quot;E&quot;,&quot;Z&quot;,&quot;Y&quot;];function UW(e){var r=e.grouping===void 0||e.thousands===void 0?U6:LW(V6.call(e.grouping,Number),e.thousands+&quot;&quot;),t=e.currency===void 0?&quot;&quot;:e.currency[0]+&quot;&quot;,n=e.currency===void 0?&quot;&quot;:e.currency[1]+&quot;&quot;,o=e.decimal===void 0?&quot;.&quot;:e.decimal+&quot;&quot;,i=e.numerals===void 0?U6:FW(V6.call(e.numerals,String)),a=e.percent===void 0?&quot;%&quot;:e.percent+&quot;&quot;,u=e.minus===void 0?&quot;−&quot;:e.minus+&quot;&quot;,l=e.nan===void 0?&quot;NaN&quot;:e.nan+&quot;&quot;;function s(f,h){f=yd(f);var m=f.fill,p=f.align,b=f.sign,g=f.symbol,y=f.zero,v=f.width,_=f.comma,C=f.precision,O=f.trim,T=f.type;T===&quot;n&quot;?(_=!0,T=&quot;g&quot;):$6[T]||(C===void 0&amp;&amp;(C=12),O=!0,T=&quot;g&quot;),(y||m===&quot;0&quot;&amp;&amp;p===&quot;=&quot;)&amp;&amp;(y=!0,m=&quot;0&quot;,p=&quot;=&quot;);var V=(h&amp;&amp;h.prefix!==void 0?h.prefix:&quot;&quot;)+(g===&quot;$&quot;?t:g===&quot;#&quot;&amp;&amp;/[boxX]/.test(T)?&quot;0&quot;+T.toLowerCase():&quot;&quot;),F=(g===&quot;$&quot;?n:/[%p]/.test(T)?a:&quot;&quot;)+(h&amp;&amp;h.suffix!==void 0?h.suffix:&quot;&quot;),H=$6[T],W=/[defgprs%]/.test(T);C=C===void 0?6:/[gprs]/.test(T)?Math.max(1,Math.min(21,C)):Math.max(0,Math.min(20,C));function K($){var P=V,D=F,E,j,k;if(T===&quot;c&quot;)D=H($)+D,$=&quot;&quot;;else{$=+$;var S=$&lt;0||1/$&lt;0;if($=isNaN($)?l:H(Math.abs($),C),O&amp;&amp;($=zW($)),S&amp;&amp;+$==0&amp;&amp;b!==&quot;+&quot;&amp;&amp;(S=!1),P=(S?b===&quot;(&quot;?b:u:b===&quot;-&quot;||b===&quot;(&quot;?&quot;&quot;:b)+P,D=(T===&quot;s&quot;&amp;&amp;!isNaN($)&amp;&amp;tp!==void 0?q6[8+tp/3]:&quot;&quot;)+D+(S&amp;&amp;b===&quot;(&quot;?&quot;)&quot;:&quot;&quot;),W){for(E=-1,j=$.length;++E&lt;j;)if(k=$.charCodeAt(E),48&gt;k||k&gt;57){D=(k===46?o+$.slice(E+1):$.slice(E))+D,$=$.slice(0,E);break}}}_&amp;&amp;!y&amp;&amp;($=r($,1/0));var N=P.length+$.length+D.length,M=N&lt;v?new Array(v-N+1).join(m):&quot;&quot;;switch(_&amp;&amp;y&amp;&amp;($=r(M+$,M.length?v-D.length:1/0),M=&quot;&quot;),p){case&quot;&lt;&quot;:$=P+$+D+M;break;case&quot;=&quot;:$=P+M+$+D;break;case&quot;^&quot;:$=M.slice(0,N=M.length&gt;&gt;1)+P+$+D+M.slice(N);break;default:$=M+P+$+D;break}return i($)}return K.toString=function(){return f+&quot;&quot;},K}function d(f,h){var m=Math.max(-8,Math.min(8,Math.floor(Ec(h)/3)))*3,p=Math.pow(10,-m),b=s((f=yd(f),f.type=&quot;f&quot;,f),{suffix:q6[8+m/3]});return function(g){return b(p*g)}}return{format:s,formatPrefix:d}}var qh,h2,uE;VW({thousands:&quot;,&quot;,grouping:[3],currency:[&quot;$&quot;,&quot;&quot;]});function VW(e){return qh=UW(e),h2=qh.format,uE=qh.formatPrefix,qh}function qW(e){return Math.max(0,-Ec(Math.abs(e)))}function HW(e,r){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Ec(r)/3)))*3-Ec(Math.abs(e)))}function WW(e,r){return e=Math.abs(e),r=Math.abs(r)-e,Math.max(0,Ec(r)-Ec(e))+1}function dE(e,r,t,n){var o=jv(e,r,t),i;switch(n=yd(n??&quot;,f&quot;),n.type){case&quot;s&quot;:{var a=Math.max(Math.abs(e),Math.abs(r));return n.precision==null&amp;&amp;!isNaN(i=HW(o,a))&amp;&amp;(n.precision=i),uE(n,a)}case&quot;&quot;:case&quot;e&quot;:case&quot;g&quot;:case&quot;p&quot;:case&quot;r&quot;:{n.precision==null&amp;&amp;!isNaN(i=WW(o,Math.max(Math.abs(e),Math.abs(r))))&amp;&amp;(n.precision=i-(n.type===&quot;e&quot;));break}case&quot;f&quot;:case&quot;%&quot;:{n.precision==null&amp;&amp;!isNaN(i=qW(o))&amp;&amp;(n.precision=i-(n.type===&quot;%&quot;)*2);break}}return h2(n)}function _o(e){var r=e.domain;return e.ticks=function(t){var n=r();return wv(n[0],n[n.length-1],t??10)},e.tickFormat=function(t,n){var o=r();return dE(o[0],o[o.length-1],t??10,n)},e.nice=function(t){t==null&amp;&amp;(t=10);var n=r(),o=0,i=n.length-1,a=n[o],u=n[i],l,s,d=10;for(u&lt;a&amp;&amp;(s=a,a=u,u=s,s=o,o=i,i=s);d-- &gt;0;){if(s=_v(a,u,t),s===l)return n[o]=a,n[i]=u,r(n);if(s&gt;0)a=Math.floor(a/s)*s,u=Math.ceil(u/s)*s;else if(s&lt;0)a=Math.ceil(a*s)/s,u=Math.floor(u*s)/s;else break;l=s}return e},e}function fE(){var e=d2();return e.copy=function(){return Ld(e,fE())},Xi.apply(e,arguments),_o(e)}function hE(e){var r;function t(n){return n==null||isNaN(n=+n)?r:n}return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=Array.from(n,Jm),t):e.slice()},t.unknown=function(n){return arguments.length?(r=n,t):r},t.copy=function(){return hE(e).unknown(r)},e=arguments.length?Array.from(e,Jm):[0,1],_o(t)}function mE(e,r){e=e.slice();var t=0,n=e.length-1,o=e[t],i=e[n],a;return i&lt;o&amp;&amp;(a=t,t=n,n=a,a=o,o=i,i=a),e[t]=r.floor(o),e[n]=r.ceil(i),e}function H6(e){return Math.log(e)}function W6(e){return Math.exp(e)}function KW(e){return-Math.log(-e)}function XW(e){return-Math.exp(-e)}function GW(e){return isFinite(e)?+(&quot;1e&quot;+e):e&lt;0?0:e}function YW(e){return e===10?GW:e===Math.E?Math.exp:r=&gt;Math.pow(e,r)}function ZW(e){return e===Math.E?Math.log:e===10&amp;&amp;Math.log10||e===2&amp;&amp;Math.log2||(e=Math.log(e),r=&gt;Math.log(r)/e)}function K6(e){return(r,t)=&gt;-e(-r,t)}function m2(e){const r=e(H6,W6),t=r.domain;let n=10,o,i;function a(){return o=ZW(n),i=YW(n),t()[0]&lt;0?(o=K6(o),i=K6(i),e(KW,XW)):e(H6,W6),r}return r.base=function(u){return arguments.length?(n=+u,a()):n},r.domain=function(u){return arguments.length?(t(u),a()):t()},r.ticks=u=&gt;{const l=t();let s=l[0],d=l[l.length-1];const f=d&lt;s;f&amp;&amp;([s,d]=[d,s]);let h=o(s),m=o(d),p,b;const g=u==null?10:+u;let y=[];if(!(n%1)&amp;&amp;m-h&lt;g){if(h=Math.floor(h),m=Math.ceil(m),s&gt;0){for(;h&lt;=m;++h)for(p=1;p&lt;n;++p)if(b=h&lt;0?p/i(-h):p*i(h),!(b&lt;s)){if(b&gt;d)break;y.push(b)}}else for(;h&lt;=m;++h)for(p=n-1;p&gt;=1;--p)if(b=h&gt;0?p/i(-h):p*i(h),!(b&lt;s)){if(b&gt;d)break;y.push(b)}y.length*2&lt;g&amp;&amp;(y=wv(s,d,g))}else y=wv(h,m,Math.min(m-h,g)).map(i);return f?y.reverse():y},r.tickFormat=(u,l)=&gt;{if(u==null&amp;&amp;(u=10),l==null&amp;&amp;(l=n===10?&quot;s&quot;:&quot;,&quot;),typeof l!=&quot;function&quot;&amp;&amp;(!(n%1)&amp;&amp;(l=yd(l)).precision==null&amp;&amp;(l.trim=!0),l=h2(l)),u===1/0)return l;const s=Math.max(1,n*u/r.ticks().length);return d=&gt;{let f=d/i(Math.round(o(d)));return f*n&lt;n-.5&amp;&amp;(f*=n),f&lt;=s?l(d):&quot;&quot;}},r.nice=()=&gt;t(mE(t(),{floor:u=&gt;i(Math.floor(o(u))),ceil:u=&gt;i(Math.ceil(o(u)))})),r}function pE(){const e=m2(r0()).domain([1,10]);return e.copy=()=&gt;Ld(e,pE()).base(e.base()),Xi.apply(e,arguments),e}function X6(e){return function(r){return Math.sign(r)*Math.log1p(Math.abs(r/e))}}function G6(e){return function(r){return Math.sign(r)*Math.expm1(Math.abs(r))*e}}function p2(e){var r=1,t=e(X6(r),G6(r));return t.constant=function(n){return arguments.length?e(X6(r=+n),G6(r)):r},_o(t)}function gE(){var e=p2(r0());return e.copy=function(){return Ld(e,gE()).constant(e.constant())},Xi.apply(e,arguments)}function Y6(e){return function(r){return r&lt;0?-Math.pow(-r,e):Math.pow(r,e)}}function QW(e){return e&lt;0?-Math.sqrt(-e):Math.sqrt(e)}function JW(e){return e&lt;0?-e*e:e*e}function g2(e){var r=e(Xn,Xn),t=1;function n(){return t===1?e(Xn,Xn):t===.5?e(QW,JW):e(Y6(t),Y6(1/t))}return r.exponent=function(o){return arguments.length?(t=+o,n()):t},_o(r)}function b2(){var e=g2(r0());return e.copy=function(){return Ld(e,b2()).exponent(e.exponent())},Xi.apply(e,arguments),e}function eK(){return b2.apply(null,arguments).exponent(.5)}function Z6(e){return Math.sign(e)*e*e}function tK(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function bE(){var e=d2(),r=[0,1],t=!1,n;function o(i){var a=tK(e(i));return isNaN(a)?n:t?Math.round(a):a}return o.invert=function(i){return e.invert(Z6(i))},o.domain=function(i){return arguments.length?(e.domain(i),o):e.domain()},o.range=function(i){return arguments.length?(e.range((r=Array.from(i,Jm)).map(Z6)),o):r.slice()},o.rangeRound=function(i){return o.range(i).round(!0)},o.round=function(i){return arguments.length?(t=!!i,o):t},o.clamp=function(i){return arguments.length?(e.clamp(i),o):e.clamp()},o.unknown=function(i){return arguments.length?(n=i,o):n},o.copy=function(){return bE(e.domain(),r).round(t).clamp(e.clamp()).unknown(n)},Xi.apply(o,arguments),_o(o)}function xE(){var e=[],r=[],t=[],n;function o(){var a=0,u=Math.max(1,r.length);for(t=new Array(u-1);++a&lt;u;)t[a-1]=sW(e,a/u);return i}function i(a){return a==null||isNaN(a=+a)?n:r[Rd(t,a)]}return i.invertExtent=function(a){var u=r.indexOf(a);return u&lt;0?[NaN,NaN]:[u&gt;0?t[u-1]:e[0],u&lt;t.length?t[u]:e[e.length-1]]},i.domain=function(a){if(!arguments.length)return e.slice();e=[];for(let u of a)u!=null&amp;&amp;!isNaN(u=+u)&amp;&amp;e.push(u);return e.sort(co),o()},i.range=function(a){return arguments.length?(r=Array.from(a),o()):r.slice()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.quantiles=function(){return t.slice()},i.copy=function(){return xE().domain(e).range(r).unknown(n)},Xi.apply(i,arguments)}function yE(){var e=0,r=1,t=1,n=[.5],o=[0,1],i;function a(l){return l!=null&amp;&amp;l&lt;=l?o[Rd(n,l,0,t)]:i}function u(){var l=-1;for(n=new Array(t);++l&lt;t;)n[l]=((l+1)*r-(l-t)*e)/(t+1);return a}return a.domain=function(l){return arguments.length?([e,r]=l,e=+e,r=+r,u()):[e,r]},a.range=function(l){return arguments.length?(t=(o=Array.from(l)).length-1,u()):o.slice()},a.invertExtent=function(l){var s=o.indexOf(l);return s&lt;0?[NaN,NaN]:s&lt;1?[e,n[0]]:s&gt;=t?[n[t-1],r]:[n[s-1],n[s]]},a.unknown=function(l){return arguments.length&amp;&amp;(i=l),a},a.thresholds=function(){return n.slice()},a.copy=function(){return yE().domain([e,r]).range(o).unknown(i)},Xi.apply(_o(a),arguments)}function vE(){var e=[.5],r=[0,1],t,n=1;function o(i){return i!=null&amp;&amp;i&lt;=i?r[Rd(e,i,0,n)]:t}return o.domain=function(i){return arguments.length?(e=Array.from(i),n=Math.min(e.length,r.length-1),o):e.slice()},o.range=function(i){return arguments.length?(r=Array.from(i),n=Math.min(e.length,r.length-1),o):r.slice()},o.invertExtent=function(i){var a=r.indexOf(i);return[e[a-1],e[a]]},o.unknown=function(i){return arguments.length?(t=i,o):t},o.copy=function(){return vE().domain(e).range(r).unknown(t)},Xi.apply(o,arguments)}const Rx=new Date,Dx=new Date;function nn(e,r,t,n){function o(i){return e(i=arguments.length===0?new Date:new Date(+i)),i}return o.floor=i=&gt;(e(i=new Date(+i)),i),o.ceil=i=&gt;(e(i=new Date(i-1)),r(i,1),e(i),i),o.round=i=&gt;{const a=o(i),u=o.ceil(i);return i-a&lt;u-i?a:u},o.offset=(i,a)=&gt;(r(i=new Date(+i),a==null?1:Math.floor(a)),i),o.range=(i,a,u)=&gt;{const l=[];if(i=o.ceil(i),u=u==null?1:Math.floor(u),!(i&lt;a)||!(u&gt;0))return l;let s;do l.push(s=new Date(+i)),r(i,u),e(i);while(s&lt;i&amp;&amp;i&lt;a);return l},o.filter=i=&gt;nn(a=&gt;{if(a&gt;=a)for(;e(a),!i(a);)a.setTime(a-1)},(a,u)=&gt;{if(a&gt;=a)if(u&lt;0)for(;++u&lt;=0;)for(;r(a,-1),!i(a););else for(;--u&gt;=0;)for(;r(a,1),!i(a););}),t&amp;&amp;(o.count=(i,a)=&gt;(Rx.setTime(+i),Dx.setTime(+a),e(Rx),e(Dx),Math.floor(t(Rx,Dx))),o.every=i=&gt;(i=Math.floor(i),!isFinite(i)||!(i&gt;0)?null:i&gt;1?o.filter(n?a=&gt;n(a)%i===0:a=&gt;o.count(0,a)%i===0):o)),o}const rp=nn(()=&gt;{},(e,r)=&gt;{e.setTime(+e+r)},(e,r)=&gt;r-e);rp.every=e=&gt;(e=Math.floor(e),!isFinite(e)||!(e&gt;0)?null:e&gt;1?nn(r=&gt;{r.setTime(Math.floor(r/e)*e)},(r,t)=&gt;{r.setTime(+r+t*e)},(r,t)=&gt;(t-r)/e):rp);rp.range;const ia=1e3,Vi=ia*60,sa=Vi*60,ha=sa*24,x2=ha*7,Q6=ha*30,Lx=ha*365,ul=nn(e=&gt;{e.setTime(e-e.getMilliseconds())},(e,r)=&gt;{e.setTime(+e+r*ia)},(e,r)=&gt;(r-e)/ia,e=&gt;e.getUTCSeconds());ul.range;const y2=nn(e=&gt;{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ia)},(e,r)=&gt;{e.setTime(+e+r*Vi)},(e,r)=&gt;(r-e)/Vi,e=&gt;e.getMinutes());y2.range;const v2=nn(e=&gt;{e.setUTCSeconds(0,0)},(e,r)=&gt;{e.setTime(+e+r*Vi)},(e,r)=&gt;(r-e)/Vi,e=&gt;e.getUTCMinutes());v2.range;const w2=nn(e=&gt;{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ia-e.getMinutes()*Vi)},(e,r)=&gt;{e.setTime(+e+r*sa)},(e,r)=&gt;(r-e)/sa,e=&gt;e.getHours());w2.range;const _2=nn(e=&gt;{e.setUTCMinutes(0,0,0)},(e,r)=&gt;{e.setTime(+e+r*sa)},(e,r)=&gt;(r-e)/sa,e=&gt;e.getUTCHours());_2.range;const Fd=nn(e=&gt;e.setHours(0,0,0,0),(e,r)=&gt;e.setDate(e.getDate()+r),(e,r)=&gt;(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*Vi)/ha,e=&gt;e.getDate()-1);Fd.range;const n0=nn(e=&gt;{e.setUTCHours(0,0,0,0)},(e,r)=&gt;{e.setUTCDate(e.getUTCDate()+r)},(e,r)=&gt;(r-e)/ha,e=&gt;e.getUTCDate()-1);n0.range;const wE=nn(e=&gt;{e.setUTCHours(0,0,0,0)},(e,r)=&gt;{e.setUTCDate(e.getUTCDate()+r)},(e,r)=&gt;(r-e)/ha,e=&gt;Math.floor(e/ha));wE.range;function kl(e){return nn(r=&gt;{r.setDate(r.getDate()-(r.getDay()+7-e)%7),r.setHours(0,0,0,0)},(r,t)=&gt;{r.setDate(r.getDate()+t*7)},(r,t)=&gt;(t-r-(t.getTimezoneOffset()-r.getTimezoneOffset())*Vi)/x2)}const i0=kl(0),np=kl(1),rK=kl(2),nK=kl(3),Ac=kl(4),iK=kl(5),sK=kl(6);i0.range;np.range;rK.range;nK.range;Ac.range;iK.range;sK.range;function Nl(e){return nn(r=&gt;{r.setUTCDate(r.getUTCDate()-(r.getUTCDay()+7-e)%7),r.setUTCHours(0,0,0,0)},(r,t)=&gt;{r.setUTCDate(r.getUTCDate()+t*7)},(r,t)=&gt;(t-r)/x2)}const s0=Nl(0),ip=Nl(1),aK=Nl(2),oK=Nl(3),Mc=Nl(4),lK=Nl(5),cK=Nl(6);s0.range;ip.range;aK.range;oK.range;Mc.range;lK.range;cK.range;const j2=nn(e=&gt;{e.setDate(1),e.setHours(0,0,0,0)},(e,r)=&gt;{e.setMonth(e.getMonth()+r)},(e,r)=&gt;r.getMonth()-e.getMonth()+(r.getFullYear()-e.getFullYear())*12,e=&gt;e.getMonth());j2.range;const S2=nn(e=&gt;{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,r)=&gt;{e.setUTCMonth(e.getUTCMonth()+r)},(e,r)=&gt;r.getUTCMonth()-e.getUTCMonth()+(r.getUTCFullYear()-e.getUTCFullYear())*12,e=&gt;e.getUTCMonth());S2.range;const ma=nn(e=&gt;{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=&gt;{e.setFullYear(e.getFullYear()+r)},(e,r)=&gt;r.getFullYear()-e.getFullYear(),e=&gt;e.getFullYear());ma.every=e=&gt;!isFinite(e=Math.floor(e))||!(e&gt;0)?null:nn(r=&gt;{r.setFullYear(Math.floor(r.getFullYear()/e)*e),r.setMonth(0,1),r.setHours(0,0,0,0)},(r,t)=&gt;{r.setFullYear(r.getFullYear()+t*e)});ma.range;const pa=nn(e=&gt;{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=&gt;{e.setUTCFullYear(e.getUTCFullYear()+r)},(e,r)=&gt;r.getUTCFullYear()-e.getUTCFullYear(),e=&gt;e.getUTCFullYear());pa.every=e=&gt;!isFinite(e=Math.floor(e))||!(e&gt;0)?null:nn(r=&gt;{r.setUTCFullYear(Math.floor(r.getUTCFullYear()/e)*e),r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},(r,t)=&gt;{r.setUTCFullYear(r.getUTCFullYear()+t*e)});pa.range;function _E(e,r,t,n,o,i){const a=[[ul,1,ia],[ul,5,5*ia],[ul,15,15*ia],[ul,30,30*ia],[i,1,Vi],[i,5,5*Vi],[i,15,15*Vi],[i,30,30*Vi],[o,1,sa],[o,3,3*sa],[o,6,6*sa],[o,12,12*sa],[n,1,ha],[n,2,2*ha],[t,1,x2],[r,1,Q6],[r,3,3*Q6],[e,1,Lx]];function u(s,d,f){const h=d&lt;s;h&amp;&amp;([s,d]=[d,s]);const m=f&amp;&amp;typeof f.range==&quot;function&quot;?f:l(s,d,f),p=m?m.range(s,+d+1):[];return h?p.reverse():p}function l(s,d,f){const h=Math.abs(d-s)/f,m=s2(([,,g])=&gt;g).right(a,h);if(m===a.length)return e.every(jv(s/Lx,d/Lx,f));if(m===0)return rp.every(Math.max(jv(s,d,f),1));const[p,b]=a[h/a[m-1][2]&lt;a[m][2]/h?m-1:m];return p.every(b)}return[u,l]}const[uK,dK]=_E(pa,S2,s0,wE,_2,v2),[fK,hK]=_E(ma,j2,i0,Fd,w2,y2);function Fx(e){if(0&lt;=e.y&amp;&amp;e.y&lt;100){var r=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return r.setFullYear(e.y),r}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Bx(e){if(0&lt;=e.y&amp;&amp;e.y&lt;100){var r=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return r.setUTCFullYear(e.y),r}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Du(e,r,t){return{y:e,m:r,d:t,H:0,M:0,S:0,L:0}}function mK(e){var r=e.dateTime,t=e.date,n=e.time,o=e.periods,i=e.days,a=e.shortDays,u=e.months,l=e.shortMonths,s=Lu(o),d=Fu(o),f=Lu(i),h=Fu(i),m=Lu(a),p=Fu(a),b=Lu(u),g=Fu(u),y=Lu(l),v=Fu(l),_={a:k,A:S,b:N,B:M,c:null,d:iS,e:iS,f:LK,g:KK,G:GK,H:IK,I:RK,j:DK,L:jE,m:FK,M:BK,p:R,q:B,Q:oS,s:lS,S:zK,u:$K,U:UK,V:VK,w:qK,W:HK,x:null,X:null,y:WK,Y:XK,Z:YK,&quot;%&quot;:aS},C={a:Y,A:Z,b:ie,B:U,c:null,d:sS,e:sS,f:eX,g:uX,G:fX,H:ZK,I:QK,j:JK,L:kE,m:tX,M:rX,p:ee,q:z,Q:oS,s:lS,S:nX,u:iX,U:sX,V:aX,w:oX,W:lX,x:null,X:null,y:cX,Y:dX,Z:hX,&quot;%&quot;:aS},O={a:W,A:K,b:$,B:P,c:D,d:rS,e:rS,f:MK,g:tS,G:eS,H:nS,I:nS,j:NK,L:AK,m:kK,M:CK,p:H,q:SK,Q:PK,s:TK,S:EK,u:yK,U:vK,V:wK,w:xK,W:_K,x:E,X:j,y:tS,Y:eS,Z:jK,&quot;%&quot;:OK};_.x=T(t,_),_.X=T(n,_),_.c=T(r,_),C.x=T(t,C),C.X=T(n,C),C.c=T(r,C);function T(I,X){return function(re){var ne=[],Q=-1,te=0,de=I.length,le,se,fe;for(re instanceof Date||(re=new Date(+re));++Q&lt;de;)I.charCodeAt(Q)===37&amp;&amp;(ne.push(I.slice(te,Q)),(se=J6[le=I.charAt(++Q)])!=null?le=I.charAt(++Q):se=le===&quot;e&quot;?&quot; &quot;:&quot;0&quot;,(fe=X[le])&amp;&amp;(le=fe(re,se)),ne.push(le),te=Q+1);return ne.push(I.slice(te,Q)),ne.join(&quot;&quot;)}}function V(I,X){return function(re){var ne=Du(1900,void 0,1),Q=F(ne,I,re+=&quot;&quot;,0),te,de;if(Q!=re.length)return null;if(&quot;Q&quot;in ne)return new Date(ne.Q);if(&quot;s&quot;in ne)return new Date(ne.s*1e3+(&quot;L&quot;in ne?ne.L:0));if(X&amp;&amp;!(&quot;Z&quot;in ne)&amp;&amp;(ne.Z=0),&quot;p&quot;in ne&amp;&amp;(ne.H=ne.H%12+ne.p*12),ne.m===void 0&amp;&amp;(ne.m=&quot;q&quot;in ne?ne.q:0),&quot;V&quot;in ne){if(ne.V&lt;1||ne.V&gt;53)return null;&quot;w&quot;in ne||(ne.w=1),&quot;Z&quot;in ne?(te=Bx(Du(ne.y,0,1)),de=te.getUTCDay(),te=de&gt;4||de===0?ip.ceil(te):ip(te),te=n0.offset(te,(ne.V-1)*7),ne.y=te.getUTCFullYear(),ne.m=te.getUTCMonth(),ne.d=te.getUTCDate()+(ne.w+6)%7):(te=Fx(Du(ne.y,0,1)),de=te.getDay(),te=de&gt;4||de===0?np.ceil(te):np(te),te=Fd.offset(te,(ne.V-1)*7),ne.y=te.getFullYear(),ne.m=te.getMonth(),ne.d=te.getDate()+(ne.w+6)%7)}else(&quot;W&quot;in ne||&quot;U&quot;in ne)&amp;&amp;(&quot;w&quot;in ne||(ne.w=&quot;u&quot;in ne?ne.u%7:&quot;W&quot;in ne?1:0),de=&quot;Z&quot;in ne?Bx(Du(ne.y,0,1)).getUTCDay():Fx(Du(ne.y,0,1)).getDay(),ne.m=0,ne.d=&quot;W&quot;in ne?(ne.w+6)%7+ne.W*7-(de+5)%7:ne.w+ne.U*7-(de+6)%7);return&quot;Z&quot;in ne?(ne.H+=ne.Z/100|0,ne.M+=ne.Z%100,Bx(ne)):Fx(ne)}}function F(I,X,re,ne){for(var Q=0,te=X.length,de=re.length,le,se;Q&lt;te;){if(ne&gt;=de)return-1;if(le=X.charCodeAt(Q++),le===37){if(le=X.charAt(Q++),se=O[le in J6?X.charAt(Q++):le],!se||(ne=se(I,re,ne))&lt;0)return-1}else if(le!=re.charCodeAt(ne++))return-1}return ne}function H(I,X,re){var ne=s.exec(X.slice(re));return ne?(I.p=d.get(ne[0].toLowerCase()),re+ne[0].length):-1}function W(I,X,re){var ne=m.exec(X.slice(re));return ne?(I.w=p.get(ne[0].toLowerCase()),re+ne[0].length):-1}function K(I,X,re){var ne=f.exec(X.slice(re));return ne?(I.w=h.get(ne[0].toLowerCase()),re+ne[0].length):-1}function $(I,X,re){var ne=y.exec(X.slice(re));return ne?(I.m=v.get(ne[0].toLowerCase()),re+ne[0].length):-1}function P(I,X,re){var ne=b.exec(X.slice(re));return ne?(I.m=g.get(ne[0].toLowerCase()),re+ne[0].length):-1}function D(I,X,re){return F(I,r,X,re)}function E(I,X,re){return F(I,t,X,re)}function j(I,X,re){return F(I,n,X,re)}function k(I){return a[I.getDay()]}function S(I){return i[I.getDay()]}function N(I){return l[I.getMonth()]}function M(I){return u[I.getMonth()]}function R(I){return o[+(I.getHours()&gt;=12)]}function B(I){return 1+~~(I.getMonth()/3)}function Y(I){return a[I.getUTCDay()]}function Z(I){return i[I.getUTCDay()]}function ie(I){return l[I.getUTCMonth()]}function U(I){return u[I.getUTCMonth()]}function ee(I){return o[+(I.getUTCHours()&gt;=12)]}function z(I){return 1+~~(I.getUTCMonth()/3)}return{format:function(I){var X=T(I+=&quot;&quot;,_);return X.toString=function(){return I},X},parse:function(I){var X=V(I+=&quot;&quot;,!1);return X.toString=function(){return I},X},utcFormat:function(I){var X=T(I+=&quot;&quot;,C);return X.toString=function(){return I},X},utcParse:function(I){var X=V(I+=&quot;&quot;,!0);return X.toString=function(){return I},X}}}var J6={&quot;-&quot;:&quot;&quot;,_:&quot; &quot;,0:&quot;0&quot;},vn=/^\s*\d+/,pK=/^%/,gK=/[\\^$*+?|[\]().{}]/g;function nr(e,r,t){var n=e&lt;0?&quot;-&quot;:&quot;&quot;,o=(n?-e:e)+&quot;&quot;,i=o.length;return n+(i&lt;t?new Array(t-i+1).join(r)+o:o)}function bK(e){return e.replace(gK,&quot;\\$&amp;&quot;)}function Lu(e){return new RegExp(&quot;^(?:&quot;+e.map(bK).join(&quot;|&quot;)+&quot;)&quot;,&quot;i&quot;)}function Fu(e){return new Map(e.map((r,t)=&gt;[r.toLowerCase(),t]))}function xK(e,r,t){var n=vn.exec(r.slice(t,t+1));return n?(e.w=+n[0],t+n[0].length):-1}function yK(e,r,t){var n=vn.exec(r.slice(t,t+1));return n?(e.u=+n[0],t+n[0].length):-1}function vK(e,r,t){var n=vn.exec(r.slice(t,t+2));return n?(e.U=+n[0],t+n[0].length):-1}function wK(e,r,t){var n=vn.exec(r.slice(t,t+2));return n?(e.V=+n[0],t+n[0].length):-1}function _K(e,r,t){var n=vn.exec(r.slice(t,t+2));return n?(e.W=+n[0],t+n[0].length):-1}function eS(e,r,t){var n=vn.exec(r.slice(t,t+4));return n?(e.y=+n[0],t+n[0].length):-1}function tS(e,r,t){var n=vn.exec(r.slice(t,t+2));return n?(e.y=+n[0]+(+n[0]&gt;68?1900:2e3),t+n[0].length):-1}function jK(e,r,t){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(r.slice(t,t+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||&quot;00&quot;)),t+n[0].length):-1}function SK(e,r,t){var n=vn.exec(r.slice(t,t+1));return n?(e.q=n[0]*3-3,t+n[0].length):-1}function kK(e,r,t){var n=vn.exec(r.slice(t,t+2));return n?(e.m=n[0]-1,t+n[0].length):-1}function rS(e,r,t){var n=vn.exec(r.slice(t,t+2));return n?(e.d=+n[0],t+n[0].length):-1}function NK(e,r,t){var n=vn.exec(r.slice(t,t+3));return n?(e.m=0,e.d=+n[0],t+n[0].length):-1}function nS(e,r,t){var n=vn.exec(r.slice(t,t+2));return n?(e.H=+n[0],t+n[0].length):-1}function CK(e,r,t){var n=vn.exec(r.slice(t,t+2));return n?(e.M=+n[0],t+n[0].length):-1}function EK(e,r,t){var n=vn.exec(r.slice(t,t+2));return n?(e.S=+n[0],t+n[0].length):-1}function AK(e,r,t){var n=vn.exec(r.slice(t,t+3));return n?(e.L=+n[0],t+n[0].length):-1}function MK(e,r,t){var n=vn.exec(r.slice(t,t+6));return n?(e.L=Math.floor(n[0]/1e3),t+n[0].length):-1}function OK(e,r,t){var n=pK.exec(r.slice(t,t+1));return n?t+n[0].length:-1}function PK(e,r,t){var n=vn.exec(r.slice(t));return n?(e.Q=+n[0],t+n[0].length):-1}function TK(e,r,t){var n=vn.exec(r.slice(t));return n?(e.s=+n[0],t+n[0].length):-1}function iS(e,r){return nr(e.getDate(),r,2)}function IK(e,r){return nr(e.getHours(),r,2)}function RK(e,r){return nr(e.getHours()%12||12,r,2)}function DK(e,r){return nr(1+Fd.count(ma(e),e),r,3)}function jE(e,r){return nr(e.getMilliseconds(),r,3)}function LK(e,r){return jE(e,r)+&quot;000&quot;}function FK(e,r){return nr(e.getMonth()+1,r,2)}function BK(e,r){return nr(e.getMinutes(),r,2)}function zK(e,r){return nr(e.getSeconds(),r,2)}function $K(e){var r=e.getDay();return r===0?7:r}function UK(e,r){return nr(i0.count(ma(e)-1,e),r,2)}function SE(e){var r=e.getDay();return r&gt;=4||r===0?Ac(e):Ac.ceil(e)}function VK(e,r){return e=SE(e),nr(Ac.count(ma(e),e)+(ma(e).getDay()===4),r,2)}function qK(e){return e.getDay()}function HK(e,r){return nr(np.count(ma(e)-1,e),r,2)}function WK(e,r){return nr(e.getFullYear()%100,r,2)}function KK(e,r){return e=SE(e),nr(e.getFullYear()%100,r,2)}function XK(e,r){return nr(e.getFullYear()%1e4,r,4)}function GK(e,r){var t=e.getDay();return e=t&gt;=4||t===0?Ac(e):Ac.ceil(e),nr(e.getFullYear()%1e4,r,4)}function YK(e){var r=e.getTimezoneOffset();return(r&gt;0?&quot;-&quot;:(r*=-1,&quot;+&quot;))+nr(r/60|0,&quot;0&quot;,2)+nr(r%60,&quot;0&quot;,2)}function sS(e,r){return nr(e.getUTCDate(),r,2)}function ZK(e,r){return nr(e.getUTCHours(),r,2)}function QK(e,r){return nr(e.getUTCHours()%12||12,r,2)}function JK(e,r){return nr(1+n0.count(pa(e),e),r,3)}function kE(e,r){return nr(e.getUTCMilliseconds(),r,3)}function eX(e,r){return kE(e,r)+&quot;000&quot;}function tX(e,r){return nr(e.getUTCMonth()+1,r,2)}function rX(e,r){return nr(e.getUTCMinutes(),r,2)}function nX(e,r){return nr(e.getUTCSeconds(),r,2)}function iX(e){var r=e.getUTCDay();return r===0?7:r}function sX(e,r){return nr(s0.count(pa(e)-1,e),r,2)}function NE(e){var r=e.getUTCDay();return r&gt;=4||r===0?Mc(e):Mc.ceil(e)}function aX(e,r){return e=NE(e),nr(Mc.count(pa(e),e)+(pa(e).getUTCDay()===4),r,2)}function oX(e){return e.getUTCDay()}function lX(e,r){return nr(ip.count(pa(e)-1,e),r,2)}function cX(e,r){return nr(e.getUTCFullYear()%100,r,2)}function uX(e,r){return e=NE(e),nr(e.getUTCFullYear()%100,r,2)}function dX(e,r){return nr(e.getUTCFullYear()%1e4,r,4)}function fX(e,r){var t=e.getUTCDay();return e=t&gt;=4||t===0?Mc(e):Mc.ceil(e),nr(e.getUTCFullYear()%1e4,r,4)}function hX(){return&quot;+0000&quot;}function aS(){return&quot;%&quot;}function oS(e){return+e}function lS(e){return Math.floor(+e/1e3)}var oc,CE,EE;mX({dateTime:&quot;%x, %X&quot;,date:&quot;%-m/%-d/%Y&quot;,time:&quot;%-I:%M:%S %p&quot;,periods:[&quot;AM&quot;,&quot;PM&quot;],days:[&quot;Sunday&quot;,&quot;Monday&quot;,&quot;Tuesday&quot;,&quot;Wednesday&quot;,&quot;Thursday&quot;,&quot;Friday&quot;,&quot;Saturday&quot;],shortDays:[&quot;Sun&quot;,&quot;Mon&quot;,&quot;Tue&quot;,&quot;Wed&quot;,&quot;Thu&quot;,&quot;Fri&quot;,&quot;Sat&quot;],months:[&quot;January&quot;,&quot;February&quot;,&quot;March&quot;,&quot;April&quot;,&quot;May&quot;,&quot;June&quot;,&quot;July&quot;,&quot;August&quot;,&quot;September&quot;,&quot;October&quot;,&quot;November&quot;,&quot;December&quot;],shortMonths:[&quot;Jan&quot;,&quot;Feb&quot;,&quot;Mar&quot;,&quot;Apr&quot;,&quot;May&quot;,&quot;Jun&quot;,&quot;Jul&quot;,&quot;Aug&quot;,&quot;Sep&quot;,&quot;Oct&quot;,&quot;Nov&quot;,&quot;Dec&quot;]});function mX(e){return oc=mK(e),CE=oc.format,oc.parse,EE=oc.utcFormat,oc.utcParse,oc}function pX(e){return new Date(e)}function gX(e){return e instanceof Date?+e:+new Date(+e)}function k2(e,r,t,n,o,i,a,u,l,s){var d=d2(),f=d.invert,h=d.domain,m=s(&quot;.%L&quot;),p=s(&quot;:%S&quot;),b=s(&quot;%I:%M&quot;),g=s(&quot;%I %p&quot;),y=s(&quot;%a %d&quot;),v=s(&quot;%b %d&quot;),_=s(&quot;%B&quot;),C=s(&quot;%Y&quot;);function O(T){return(l(T)&lt;T?m:u(T)&lt;T?p:a(T)&lt;T?b:i(T)&lt;T?g:n(T)&lt;T?o(T)&lt;T?y:v:t(T)&lt;T?_:C)(T)}return d.invert=function(T){return new Date(f(T))},d.domain=function(T){return arguments.length?h(Array.from(T,gX)):h().map(pX)},d.ticks=function(T){var V=h();return e(V[0],V[V.length-1],T??10)},d.tickFormat=function(T,V){return V==null?O:s(V)},d.nice=function(T){var V=h();return(!T||typeof T.range!=&quot;function&quot;)&amp;&amp;(T=r(V[0],V[V.length-1],T??10)),T?h(mE(V,T)):d},d.copy=function(){return Ld(d,k2(e,r,t,n,o,i,a,u,l,s))},d}function bX(){return Xi.apply(k2(fK,hK,ma,j2,i0,Fd,w2,y2,ul,CE).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function xX(){return Xi.apply(k2(uK,dK,pa,S2,s0,n0,_2,v2,ul,EE).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function a0(){var e=0,r=1,t,n,o,i,a=Xn,u=!1,l;function s(f){return f==null||isNaN(f=+f)?l:a(o===0?.5:(f=(i(f)-t)*o,u?Math.max(0,Math.min(1,f)):f))}s.domain=function(f){return arguments.length?([e,r]=f,t=i(e=+e),n=i(r=+r),o=t===n?0:1/(n-t),s):[e,r]},s.clamp=function(f){return arguments.length?(u=!!f,s):u},s.interpolator=function(f){return arguments.length?(a=f,s):a};function d(f){return function(h){var m,p;return arguments.length?([m,p]=h,a=f(m,p),s):[a(0),a(1)]}}return s.range=d(Fc),s.rangeRound=d(u2),s.unknown=function(f){return arguments.length?(l=f,s):l},function(f){return i=f,t=f(e),n=f(r),o=t===n?0:1/(n-t),s}}function jo(e,r){return r.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function AE(){var e=_o(a0()(Xn));return e.copy=function(){return jo(e,AE())},wa.apply(e,arguments)}function ME(){var e=m2(a0()).domain([1,10]);return e.copy=function(){return jo(e,ME()).base(e.base())},wa.apply(e,arguments)}function OE(){var e=p2(a0());return e.copy=function(){return jo(e,OE()).constant(e.constant())},wa.apply(e,arguments)}function N2(){var e=g2(a0());return e.copy=function(){return jo(e,N2()).exponent(e.exponent())},wa.apply(e,arguments)}function yX(){return N2.apply(null,arguments).exponent(.5)}function PE(){var e=[],r=Xn;function t(n){if(n!=null&amp;&amp;!isNaN(n=+n))return r((Rd(e,n,1)-1)/(e.length-1))}return t.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let o of n)o!=null&amp;&amp;!isNaN(o=+o)&amp;&amp;e.push(o);return e.sort(co),t},t.interpolator=function(n){return arguments.length?(r=n,t):r},t.range=function(){return e.map((n,o)=&gt;r(o/(e.length-1)))},t.quantiles=function(n){return Array.from({length:n+1},(o,i)=&gt;iW(e,i/n))},t.copy=function(){return PE(r).domain(e)},wa.apply(t,arguments)}function o0(){var e=0,r=.5,t=1,n=1,o,i,a,u,l,s=Xn,d,f=!1,h;function m(b){return isNaN(b=+b)?h:(b=.5+((b=+d(b))-i)*(n*b&lt;n*i?u:l),s(f?Math.max(0,Math.min(1,b)):b))}m.domain=function(b){return arguments.length?([e,r,t]=b,o=d(e=+e),i=d(r=+r),a=d(t=+t),u=o===i?0:.5/(i-o),l=i===a?0:.5/(a-i),n=i&lt;o?-1:1,m):[e,r,t]},m.clamp=function(b){return arguments.length?(f=!!b,m):f},m.interpolator=function(b){return arguments.length?(s=b,m):s};function p(b){return function(g){var y,v,_;return arguments.length?([y,v,_]=g,s=OW(b,[y,v,_]),m):[s(0),s(.5),s(1)]}}return m.range=p(Fc),m.rangeRound=p(u2),m.unknown=function(b){return arguments.length?(h=b,m):h},function(b){return d=b,o=b(e),i=b(r),a=b(t),u=o===i?0:.5/(i-o),l=i===a?0:.5/(a-i),n=i&lt;o?-1:1,m}}function TE(){var e=_o(o0()(Xn));return e.copy=function(){return jo(e,TE())},wa.apply(e,arguments)}function IE(){var e=m2(o0()).domain([.1,1,10]);return e.copy=function(){return jo(e,IE()).base(e.base())},wa.apply(e,arguments)}function RE(){var e=p2(o0());return e.copy=function(){return jo(e,RE()).constant(e.constant())},wa.apply(e,arguments)}function C2(){var e=g2(o0());return e.copy=function(){return jo(e,C2()).exponent(e.exponent())},wa.apply(e,arguments)}function vX(){return C2.apply(null,arguments).exponent(.5)}const Hu=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:o2,scaleDiverging:TE,scaleDivergingLog:IE,scaleDivergingPow:C2,scaleDivergingSqrt:vX,scaleDivergingSymlog:RE,scaleIdentity:hE,scaleImplicit:Sv,scaleLinear:fE,scaleLog:pE,scaleOrdinal:a2,scalePoint:oW,scalePow:b2,scaleQuantile:xE,scaleQuantize:yE,scaleRadial:bE,scaleSequential:AE,scaleSequentialLog:ME,scaleSequentialPow:N2,scaleSequentialQuantile:PE,scaleSequentialSqrt:yX,scaleSequentialSymlog:OE,scaleSqrt:eK,scaleSymlog:gE,scaleThreshold:vE,scaleTime:bX,scaleUtc:xX,tickFormat:dE},Symbol.toStringTag,{value:&quot;Module&quot;}));var _a=e=&gt;e.chartData,DE=Pe([_a],e=&gt;{var r=e.chartData!=null?e.chartData.length-1:0;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:r,dataStartIndex:0}}),E2=(e,r,t,n)=&gt;n?DE(e):_a(e),wX=(e,r,t)=&gt;t?DE(e):_a(e);function go(e){if(Array.isArray(e)&amp;&amp;e.length===2){var[r,t]=e;if(Rr(r)&amp;&amp;Rr(t))return!0}return!1}function cS(e,r,t){return t?e:[Math.min(e[0],r[0]),Math.max(e[1],r[1])]}function LE(e,r){if(r&amp;&amp;typeof e!=&quot;function&quot;&amp;&amp;Array.isArray(e)&amp;&amp;e.length===2){var[t,n]=e,o,i;if(Rr(t))o=t;else if(typeof t==&quot;function&quot;)return;if(Rr(n))i=n;else if(typeof n==&quot;function&quot;)return;var a=[o,i];if(go(a))return a}}function _X(e,r,t){if(!(!t&amp;&amp;r==null)){if(typeof e==&quot;function&quot;&amp;&amp;r!=null)try{var n=e(r,t);if(go(n))return cS(n,r,t)}catch{}if(Array.isArray(e)&amp;&amp;e.length===2){var[o,i]=e,a,u;if(o===&quot;auto&quot;)r!=null&amp;&amp;(a=Math.min(...r));else if(ft(o))a=o;else if(typeof o==&quot;function&quot;)try{r!=null&amp;&amp;(a=o(r?.[0]))}catch{}else if(typeof o==&quot;string&quot;&amp;&amp;vj.test(o)){var l=vj.exec(o);if(l==null||l[1]==null||r==null)a=void 0;else{var s=+l[1];a=r[0]-s}}else a=r?.[0];if(i===&quot;auto&quot;)r!=null&amp;&amp;(u=Math.max(...r));else if(ft(i))u=i;else if(typeof i==&quot;function&quot;)try{r!=null&amp;&amp;(u=i(r?.[1]))}catch{}else if(typeof i==&quot;string&quot;&amp;&amp;wj.test(i)){var d=wj.exec(i);if(d==null||d[1]==null||r==null)u=void 0;else{var f=+d[1];u=r[1]+f}}else u=r?.[1];var h=[a,u];if(go(h))return r==null?h:cS(h,r,t)}}}var Bc=1e9,jX={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:&quot;2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286&quot;},M2,Ar=!0,Ki=&quot;[DecimalError] &quot;,pl=Ki+&quot;Invalid argument: &quot;,A2=Ki+&quot;Exponent out of range: &quot;,zc=Math.floor,nl=Math.pow,SX=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,xi,bn=1e7,_r=7,FE=9007199254740991,sp=zc(FE/_r),ct={};ct.absoluteValue=ct.abs=function(){var e=new this.constructor(this);return e.s&amp;&amp;(e.s=1),e};ct.comparedTo=ct.cmp=function(e){var r,t,n,o,i=this;if(e=new i.constructor(e),i.s!==e.s)return i.s||-e.s;if(i.e!==e.e)return i.e&gt;e.e^i.s&lt;0?1:-1;for(n=i.d.length,o=e.d.length,r=0,t=n&lt;o?n:o;r&lt;t;++r)if(i.d[r]!==e.d[r])return i.d[r]&gt;e.d[r]^i.s&lt;0?1:-1;return n===o?0:n&gt;o^i.s&lt;0?1:-1};ct.decimalPlaces=ct.dp=function(){var e=this,r=e.d.length-1,t=(r-e.e)*_r;if(r=e.d[r],r)for(;r%10==0;r/=10)t--;return t&lt;0?0:t};ct.dividedBy=ct.div=function(e){return oa(this,new this.constructor(e))};ct.dividedToIntegerBy=ct.idiv=function(e){var r=this,t=r.constructor;return mr(oa(r,new t(e),0,1),t.precision)};ct.equals=ct.eq=function(e){return!this.cmp(e)};ct.exponent=function(){return Yr(this)};ct.greaterThan=ct.gt=function(e){return this.cmp(e)&gt;0};ct.greaterThanOrEqualTo=ct.gte=function(e){return this.cmp(e)&gt;=0};ct.isInteger=ct.isint=function(){return this.e&gt;this.d.length-2};ct.isNegative=ct.isneg=function(){return this.s&lt;0};ct.isPositive=ct.ispos=function(){return this.s&gt;0};ct.isZero=function(){return this.s===0};ct.lessThan=ct.lt=function(e){return this.cmp(e)&lt;0};ct.lessThanOrEqualTo=ct.lte=function(e){return this.cmp(e)&lt;1};ct.logarithm=ct.log=function(e){var r,t=this,n=t.constructor,o=n.precision,i=o+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s&lt;1||e.eq(xi))throw Error(Ki+&quot;NaN&quot;);if(t.s&lt;1)throw Error(Ki+(t.s?&quot;NaN&quot;:&quot;-Infinity&quot;));return t.eq(xi)?new n(0):(Ar=!1,r=oa(vd(t,i),vd(e,i),i),Ar=!0,mr(r,o))};ct.minus=ct.sub=function(e){var r=this;return e=new r.constructor(e),r.s==e.s?$E(r,e):BE(r,(e.s=-e.s,e))};ct.modulo=ct.mod=function(e){var r,t=this,n=t.constructor,o=n.precision;if(e=new n(e),!e.s)throw Error(Ki+&quot;NaN&quot;);return t.s?(Ar=!1,r=oa(t,e,0,1).times(e),Ar=!0,t.minus(r)):mr(new n(t),o)};ct.naturalExponential=ct.exp=function(){return zE(this)};ct.naturalLogarithm=ct.ln=function(){return vd(this)};ct.negated=ct.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};ct.plus=ct.add=function(e){var r=this;return e=new r.constructor(e),r.s==e.s?BE(r,e):$E(r,(e.s=-e.s,e))};ct.precision=ct.sd=function(e){var r,t,n,o=this;if(e!==void 0&amp;&amp;e!==!!e&amp;&amp;e!==1&amp;&amp;e!==0)throw Error(pl+e);if(r=Yr(o)+1,n=o.d.length-1,t=n*_r+1,n=o.d[n],n){for(;n%10==0;n/=10)t--;for(n=o.d[0];n&gt;=10;n/=10)t++}return e&amp;&amp;r&gt;t?r:t};ct.squareRoot=ct.sqrt=function(){var e,r,t,n,o,i,a,u=this,l=u.constructor;if(u.s&lt;1){if(!u.s)return new l(0);throw Error(Ki+&quot;NaN&quot;)}for(e=Yr(u),Ar=!1,o=Math.sqrt(+u),o==0||o==1/0?(r=As(u.d),(r.length+e)%2==0&amp;&amp;(r+=&quot;0&quot;),o=Math.sqrt(r),e=zc((e+1)/2)-(e&lt;0||e%2),o==1/0?r=&quot;5e&quot;+e:(r=o.toExponential(),r=r.slice(0,r.indexOf(&quot;e&quot;)+1)+e),n=new l(r)):n=new l(o.toString()),t=l.precision,o=a=t+3;;)if(i=n,n=i.plus(oa(u,i,a+2)).times(.5),As(i.d).slice(0,a)===(r=As(n.d)).slice(0,a)){if(r=r.slice(a-3,a+1),o==a&amp;&amp;r==&quot;4999&quot;){if(mr(i,t+1,0),i.times(i).eq(u)){n=i;break}}else if(r!=&quot;9999&quot;)break;a+=4}return Ar=!0,mr(n,t)};ct.times=ct.mul=function(e){var r,t,n,o,i,a,u,l,s,d=this,f=d.constructor,h=d.d,m=(e=new f(e)).d;if(!d.s||!e.s)return new f(0);for(e.s*=d.s,t=d.e+e.e,l=h.length,s=m.length,l&lt;s&amp;&amp;(i=h,h=m,m=i,a=l,l=s,s=a),i=[],a=l+s,n=a;n--;)i.push(0);for(n=s;--n&gt;=0;){for(r=0,o=l+n;o&gt;n;)u=i[o]+m[n]*h[o-n-1]+r,i[o--]=u%bn|0,r=u/bn|0;i[o]=(i[o]+r)%bn|0}for(;!i[--a];)i.pop();return r?++t:i.shift(),e.d=i,e.e=t,Ar?mr(e,f.precision):e};ct.toDecimalPlaces=ct.todp=function(e,r){var t=this,n=t.constructor;return t=new n(t),e===void 0?t:(Rs(e,0,Bc),r===void 0?r=n.rounding:Rs(r,0,8),mr(t,e+Yr(t)+1,r))};ct.toExponential=function(e,r){var t,n=this,o=n.constructor;return e===void 0?t=wl(n,!0):(Rs(e,0,Bc),r===void 0?r=o.rounding:Rs(r,0,8),n=mr(new o(n),e+1,r),t=wl(n,!0,e+1)),t};ct.toFixed=function(e,r){var t,n,o=this,i=o.constructor;return e===void 0?wl(o):(Rs(e,0,Bc),r===void 0?r=i.rounding:Rs(r,0,8),n=mr(new i(o),e+Yr(o)+1,r),t=wl(n.abs(),!1,e+Yr(n)+1),o.isneg()&amp;&amp;!o.isZero()?&quot;-&quot;+t:t)};ct.toInteger=ct.toint=function(){var e=this,r=e.constructor;return mr(new r(e),Yr(e)+1,r.rounding)};ct.toNumber=function(){return+this};ct.toPower=ct.pow=function(e){var r,t,n,o,i,a,u=this,l=u.constructor,s=12,d=+(e=new l(e));if(!e.s)return new l(xi);if(u=new l(u),!u.s){if(e.s&lt;1)throw Error(Ki+&quot;Infinity&quot;);return u}if(u.eq(xi))return u;if(n=l.precision,e.eq(xi))return mr(u,n);if(r=e.e,t=e.d.length-1,a=r&gt;=t,i=u.s,a){if((t=d&lt;0?-d:d)&lt;=FE){for(o=new l(xi),r=Math.ceil(n/_r+4),Ar=!1;t%2&amp;&amp;(o=o.times(u),dS(o.d,r)),t=zc(t/2),t!==0;)u=u.times(u),dS(u.d,r);return Ar=!0,e.s&lt;0?new l(xi).div(o):mr(o,n)}}else if(i&lt;0)throw Error(Ki+&quot;NaN&quot;);return i=i&lt;0&amp;&amp;e.d[Math.max(r,t)]&amp;1?-1:1,u.s=1,Ar=!1,o=e.times(vd(u,n+s)),Ar=!0,o=zE(o),o.s=i,o};ct.toPrecision=function(e,r){var t,n,o=this,i=o.constructor;return e===void 0?(t=Yr(o),n=wl(o,t&lt;=i.toExpNeg||t&gt;=i.toExpPos)):(Rs(e,1,Bc),r===void 0?r=i.rounding:Rs(r,0,8),o=mr(new i(o),e,r),t=Yr(o),n=wl(o,e&lt;=t||t&lt;=i.toExpNeg,e)),n};ct.toSignificantDigits=ct.tosd=function(e,r){var t=this,n=t.constructor;return e===void 0?(e=n.precision,r=n.rounding):(Rs(e,1,Bc),r===void 0?r=n.rounding:Rs(r,0,8)),mr(new n(t),e,r)};ct.toString=ct.valueOf=ct.val=ct.toJSON=ct[Symbol.for(&quot;nodejs.util.inspect.custom&quot;)]=function(){var e=this,r=Yr(e),t=e.constructor;return wl(e,r&lt;=t.toExpNeg||r&gt;=t.toExpPos)};function BE(e,r){var t,n,o,i,a,u,l,s,d=e.constructor,f=d.precision;if(!e.s||!r.s)return r.s||(r=new d(e)),Ar?mr(r,f):r;if(l=e.d,s=r.d,a=e.e,o=r.e,l=l.slice(),i=a-o,i){for(i&lt;0?(n=l,i=-i,u=s.length):(n=s,o=a,u=l.length),a=Math.ceil(f/_r),u=a&gt;u?a+1:u+1,i&gt;u&amp;&amp;(i=u,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for(u=l.length,i=s.length,u-i&lt;0&amp;&amp;(i=u,n=s,s=l,l=n),t=0;i;)t=(l[--i]=l[i]+s[i]+t)/bn|0,l[i]%=bn;for(t&amp;&amp;(l.unshift(t),++o),u=l.length;l[--u]==0;)l.pop();return r.d=l,r.e=o,Ar?mr(r,f):r}function Rs(e,r,t){if(e!==~~e||e&lt;r||e&gt;t)throw Error(pl+e)}function As(e){var r,t,n,o=e.length-1,i=&quot;&quot;,a=e[0];if(o&gt;0){for(i+=a,r=1;r&lt;o;r++)n=e[r]+&quot;&quot;,t=_r-n.length,t&amp;&amp;(i+=eo(t)),i+=n;a=e[r],n=a+&quot;&quot;,t=_r-n.length,t&amp;&amp;(i+=eo(t))}else if(a===0)return&quot;0&quot;;for(;a%10===0;)a/=10;return i+a}var oa=(function(){function e(n,o){var i,a=0,u=n.length;for(n=n.slice();u--;)i=n[u]*o+a,n[u]=i%bn|0,a=i/bn|0;return a&amp;&amp;n.unshift(a),n}function r(n,o,i,a){var u,l;if(i!=a)l=i&gt;a?1:-1;else for(u=l=0;u&lt;i;u++)if(n[u]!=o[u]){l=n[u]&gt;o[u]?1:-1;break}return l}function t(n,o,i){for(var a=0;i--;)n[i]-=a,a=n[i]&lt;o[i]?1:0,n[i]=a*bn+n[i]-o[i];for(;!n[0]&amp;&amp;n.length&gt;1;)n.shift()}return function(n,o,i,a){var u,l,s,d,f,h,m,p,b,g,y,v,_,C,O,T,V,F,H=n.constructor,W=n.s==o.s?1:-1,K=n.d,$=o.d;if(!n.s)return new H(n);if(!o.s)throw Error(Ki+&quot;Division by zero&quot;);for(l=n.e-o.e,V=$.length,O=K.length,m=new H(W),p=m.d=[],s=0;$[s]==(K[s]||0);)++s;if($[s]&gt;(K[s]||0)&amp;&amp;--l,i==null?v=i=H.precision:a?v=i+(Yr(n)-Yr(o))+1:v=i,v&lt;0)return new H(0);if(v=v/_r+2|0,s=0,V==1)for(d=0,$=$[0],v++;(s&lt;O||d)&amp;&amp;v--;s++)_=d*bn+(K[s]||0),p[s]=_/$|0,d=_%$|0;else{for(d=bn/($[0]+1)|0,d&gt;1&amp;&amp;($=e($,d),K=e(K,d),V=$.length,O=K.length),C=V,b=K.slice(0,V),g=b.length;g&lt;V;)b[g++]=0;F=$.slice(),F.unshift(0),T=$[0],$[1]&gt;=bn/2&amp;&amp;++T;do d=0,u=r($,b,V,g),u&lt;0?(y=b[0],V!=g&amp;&amp;(y=y*bn+(b[1]||0)),d=y/T|0,d&gt;1?(d&gt;=bn&amp;&amp;(d=bn-1),f=e($,d),h=f.length,g=b.length,u=r(f,b,h,g),u==1&amp;&amp;(d--,t(f,V&lt;h?F:$,h))):(d==0&amp;&amp;(u=d=1),f=$.slice()),h=f.length,h&lt;g&amp;&amp;f.unshift(0),t(b,f,g),u==-1&amp;&amp;(g=b.length,u=r($,b,V,g),u&lt;1&amp;&amp;(d++,t(b,V&lt;g?F:$,g))),g=b.length):u===0&amp;&amp;(d++,b=[0]),p[s++]=d,u&amp;&amp;b[0]?b[g++]=K[C]||0:(b=[K[C]],g=1);while((C++&lt;O||b[0]!==void 0)&amp;&amp;v--)}return p[0]||p.shift(),m.e=l,mr(m,a?i+Yr(m)+1:i)}})();function zE(e,r){var t,n,o,i,a,u,l=0,s=0,d=e.constructor,f=d.precision;if(Yr(e)&gt;16)throw Error(A2+Yr(e));if(!e.s)return new d(xi);for(Ar=!1,u=f,a=new d(.03125);e.abs().gte(.1);)e=e.times(a),s+=5;for(n=Math.log(nl(2,s))/Math.LN10*2+5|0,u+=n,t=o=i=new d(xi),d.precision=u;;){if(o=mr(o.times(e),u),t=t.times(++l),a=i.plus(oa(o,t,u)),As(a.d).slice(0,u)===As(i.d).slice(0,u)){for(;s--;)i=mr(i.times(i),u);return d.precision=f,r==null?(Ar=!0,mr(i,f)):i}i=a}}function Yr(e){for(var r=e.e*_r,t=e.d[0];t&gt;=10;t/=10)r++;return r}function zx(e,r,t){if(r&gt;e.LN10.sd())throw Ar=!0,t&amp;&amp;(e.precision=t),Error(Ki+&quot;LN10 precision limit exceeded&quot;);return mr(new e(e.LN10),r)}function eo(e){for(var r=&quot;&quot;;e--;)r+=&quot;0&quot;;return r}function vd(e,r){var t,n,o,i,a,u,l,s,d,f=1,h=10,m=e,p=m.d,b=m.constructor,g=b.precision;if(m.s&lt;1)throw Error(Ki+(m.s?&quot;NaN&quot;:&quot;-Infinity&quot;));if(m.eq(xi))return new b(0);if(r==null?(Ar=!1,s=g):s=r,m.eq(10))return r==null&amp;&amp;(Ar=!0),zx(b,s);if(s+=h,b.precision=s,t=As(p),n=t.charAt(0),i=Yr(m),Math.abs(i)&lt;15e14){for(;n&lt;7&amp;&amp;n!=1||n==1&amp;&amp;t.charAt(1)&gt;3;)m=m.times(e),t=As(m.d),n=t.charAt(0),f++;i=Yr(m),n&gt;1?(m=new b(&quot;0.&quot;+t),i++):m=new b(n+&quot;.&quot;+t.slice(1))}else return l=zx(b,s+2,g).times(i+&quot;&quot;),m=vd(new b(n+&quot;.&quot;+t.slice(1)),s-h).plus(l),b.precision=g,r==null?(Ar=!0,mr(m,g)):m;for(u=a=m=oa(m.minus(xi),m.plus(xi),s),d=mr(m.times(m),s),o=3;;){if(a=mr(a.times(d),s),l=u.plus(oa(a,new b(o),s)),As(l.d).slice(0,s)===As(u.d).slice(0,s))return u=u.times(2),i!==0&amp;&amp;(u=u.plus(zx(b,s+2,g).times(i+&quot;&quot;))),u=oa(u,new b(f),s),b.precision=g,r==null?(Ar=!0,mr(u,g)):u;u=l,o+=2}}function uS(e,r){var t,n,o;for((t=r.indexOf(&quot;.&quot;))&gt;-1&amp;&amp;(r=r.replace(&quot;.&quot;,&quot;&quot;)),(n=r.search(/e/i))&gt;0?(t&lt;0&amp;&amp;(t=n),t+=+r.slice(n+1),r=r.substring(0,n)):t&lt;0&amp;&amp;(t=r.length),n=0;r.charCodeAt(n)===48;)++n;for(o=r.length;r.charCodeAt(o-1)===48;)--o;if(r=r.slice(n,o),r){if(o-=n,t=t-n-1,e.e=zc(t/_r),e.d=[],n=(t+1)%_r,t&lt;0&amp;&amp;(n+=_r),n&lt;o){for(n&amp;&amp;e.d.push(+r.slice(0,n)),o-=_r;n&lt;o;)e.d.push(+r.slice(n,n+=_r));r=r.slice(n),n=_r-r.length}else n-=o;for(;n--;)r+=&quot;0&quot;;if(e.d.push(+r),Ar&amp;&amp;(e.e&gt;sp||e.e&lt;-sp))throw Error(A2+t)}else e.s=0,e.e=0,e.d=[0];return e}function mr(e,r,t){var n,o,i,a,u,l,s,d,f=e.d;for(a=1,i=f[0];i&gt;=10;i/=10)a++;if(n=r-a,n&lt;0)n+=_r,o=r,s=f[d=0];else{if(d=Math.ceil((n+1)/_r),i=f.length,d&gt;=i)return e;for(s=i=f[d],a=1;i&gt;=10;i/=10)a++;n%=_r,o=n-_r+a}if(t!==void 0&amp;&amp;(i=nl(10,a-o-1),u=s/i%10|0,l=r&lt;0||f[d+1]!==void 0||s%i,l=t&lt;4?(u||l)&amp;&amp;(t==0||t==(e.s&lt;0?3:2)):u&gt;5||u==5&amp;&amp;(t==4||l||t==6&amp;&amp;(n&gt;0?o&gt;0?s/nl(10,a-o):0:f[d-1])%10&amp;1||t==(e.s&lt;0?8:7))),r&lt;1||!f[0])return l?(i=Yr(e),f.length=1,r=r-i-1,f[0]=nl(10,(_r-r%_r)%_r),e.e=zc(-r/_r)||0):(f.length=1,f[0]=e.e=e.s=0),e;if(n==0?(f.length=d,i=1,d--):(f.length=d+1,i=nl(10,_r-n),f[d]=o&gt;0?(s/nl(10,a-o)%nl(10,o)|0)*i:0),l)for(;;)if(d==0){(f[0]+=i)==bn&amp;&amp;(f[0]=1,++e.e);break}else{if(f[d]+=i,f[d]!=bn)break;f[d--]=0,i=1}for(n=f.length;f[--n]===0;)f.pop();if(Ar&amp;&amp;(e.e&gt;sp||e.e&lt;-sp))throw Error(A2+Yr(e));return e}function $E(e,r){var t,n,o,i,a,u,l,s,d,f,h=e.constructor,m=h.precision;if(!e.s||!r.s)return r.s?r.s=-r.s:r=new h(e),Ar?mr(r,m):r;if(l=e.d,f=r.d,n=r.e,s=e.e,l=l.slice(),a=s-n,a){for(d=a&lt;0,d?(t=l,a=-a,u=f.length):(t=f,n=s,u=l.length),o=Math.max(Math.ceil(m/_r),u)+2,a&gt;o&amp;&amp;(a=o,t.length=1),t.reverse(),o=a;o--;)t.push(0);t.reverse()}else{for(o=l.length,u=f.length,d=o&lt;u,d&amp;&amp;(u=o),o=0;o&lt;u;o++)if(l[o]!=f[o]){d=l[o]&lt;f[o];break}a=0}for(d&amp;&amp;(t=l,l=f,f=t,r.s=-r.s),u=l.length,o=f.length-u;o&gt;0;--o)l[u++]=0;for(o=f.length;o&gt;a;){if(l[--o]&lt;f[o]){for(i=o;i&amp;&amp;l[--i]===0;)l[i]=bn-1;--l[i],l[o]+=bn}l[o]-=f[o]}for(;l[--u]===0;)l.pop();for(;l[0]===0;l.shift())--n;return l[0]?(r.d=l,r.e=n,Ar?mr(r,m):r):new h(0)}function wl(e,r,t){var n,o=Yr(e),i=As(e.d),a=i.length;return r?(t&amp;&amp;(n=t-a)&gt;0?i=i.charAt(0)+&quot;.&quot;+i.slice(1)+eo(n):a&gt;1&amp;&amp;(i=i.charAt(0)+&quot;.&quot;+i.slice(1)),i=i+(o&lt;0?&quot;e&quot;:&quot;e+&quot;)+o):o&lt;0?(i=&quot;0.&quot;+eo(-o-1)+i,t&amp;&amp;(n=t-a)&gt;0&amp;&amp;(i+=eo(n))):o&gt;=a?(i+=eo(o+1-a),t&amp;&amp;(n=t-o-1)&gt;0&amp;&amp;(i=i+&quot;.&quot;+eo(n))):((n=o+1)&lt;a&amp;&amp;(i=i.slice(0,n)+&quot;.&quot;+i.slice(n)),t&amp;&amp;(n=t-a)&gt;0&amp;&amp;(o+1===a&amp;&amp;(i+=&quot;.&quot;),i+=eo(n))),e.s&lt;0?&quot;-&quot;+i:i}function dS(e,r){if(e.length&gt;r)return e.length=r,!0}function UE(e){var r,t,n;function o(i){var a=this;if(!(a instanceof o))return new o(i);if(a.constructor=o,i instanceof o){a.s=i.s,a.e=i.e,a.d=(i=i.d)?i.slice():i;return}if(typeof i==&quot;number&quot;){if(i*0!==0)throw Error(pl+i);if(i&gt;0)a.s=1;else if(i&lt;0)i=-i,a.s=-1;else{a.s=0,a.e=0,a.d=[0];return}if(i===~~i&amp;&amp;i&lt;1e7){a.e=0,a.d=[i];return}return uS(a,i.toString())}else if(typeof i!=&quot;string&quot;)throw Error(pl+i);if(i.charCodeAt(0)===45?(i=i.slice(1),a.s=-1):a.s=1,SX.test(i))uS(a,i);else throw Error(pl+i)}if(o.prototype=ct,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=UE,o.config=o.set=kX,e===void 0&amp;&amp;(e={}),e)for(n=[&quot;precision&quot;,&quot;rounding&quot;,&quot;toExpNeg&quot;,&quot;toExpPos&quot;,&quot;LN10&quot;],r=0;r&lt;n.length;)e.hasOwnProperty(t=n[r++])||(e[t]=this[t]);return o.config(e),o}function kX(e){if(!e||typeof e!=&quot;object&quot;)throw Error(Ki+&quot;Object expected&quot;);var r,t,n,o=[&quot;precision&quot;,1,Bc,&quot;rounding&quot;,0,8,&quot;toExpNeg&quot;,-1/0,0,&quot;toExpPos&quot;,0,1/0];for(r=0;r&lt;o.length;r+=3)if((n=e[t=o[r]])!==void 0)if(zc(n)===n&amp;&amp;n&gt;=o[r+1]&amp;&amp;n&lt;=o[r+2])this[t]=n;else throw Error(pl+t+&quot;: &quot;+n);if((n=e[t=&quot;LN10&quot;])!==void 0)if(n==Math.LN10)this[t]=new this(n);else throw Error(pl+t+&quot;: &quot;+n);return this}var M2=UE(jX);xi=new M2(1);const lr=M2;var NX=e=&gt;e,VE={},qE=e=&gt;e===VE,fS=e=&gt;function r(){return arguments.length===0||arguments.length===1&amp;&amp;qE(arguments.length&lt;=0?void 0:arguments[0])?r:e(...arguments)},HE=(e,r)=&gt;e===1?r:fS(function(){for(var t=arguments.length,n=new Array(t),o=0;o&lt;t;o++)n[o]=arguments[o];var i=n.filter(a=&gt;a!==VE).length;return i&gt;=e?r(...n):HE(e-i,fS(function(){for(var a=arguments.length,u=new Array(a),l=0;l&lt;a;l++)u[l]=arguments[l];var s=n.map(d=&gt;qE(d)?u.shift():d);return r(...s,...u)}))}),CX=e=&gt;HE(e.length,e),Ev=(e,r)=&gt;{for(var t=[],n=e;n&lt;r;++n)t[n-e]=n;return t},EX=CX((e,r)=&gt;Array.isArray(r)?r.map(e):Object.keys(r).map(t=&gt;r[t]).map(e)),AX=function(){for(var r=arguments.length,t=new Array(r),n=0;n&lt;r;n++)t[n]=arguments[n];if(!t.length)return NX;var o=t.reverse(),i=o[0],a=o.slice(1);return function(){return a.reduce((u,l)=&gt;l(u),i(...arguments))}};function WE(e){var r;return e===0?r=1:r=Math.floor(new lr(e).abs().log(10).toNumber())+1,r}function KE(e,r,t){for(var n=new lr(e),o=0,i=[];n.lt(r)&amp;&amp;o&lt;1e5;)i.push(n.toNumber()),n=n.add(t),o++;return i}var XE=e=&gt;{var[r,t]=e,[n,o]=[r,t];return r&gt;t&amp;&amp;([n,o]=[t,r]),[n,o]},GE=(e,r,t)=&gt;{if(e.lte(0))return new lr(0);var n=WE(e.toNumber()),o=new lr(10).pow(n),i=e.div(o),a=n!==1?.05:.1,u=new lr(Math.ceil(i.div(a).toNumber())).add(t).mul(a),l=u.mul(o);return r?new lr(l.toNumber()):new lr(Math.ceil(l.toNumber()))},MX=(e,r,t)=&gt;{var n=new lr(1),o=new lr(e);if(!o.isint()&amp;&amp;t){var i=Math.abs(e);i&lt;1?(n=new lr(10).pow(WE(e)-1),o=new lr(Math.floor(o.div(n).toNumber())).mul(n)):i&gt;1&amp;&amp;(o=new lr(Math.floor(e)))}else e===0?o=new lr(Math.floor((r-1)/2)):t||(o=new lr(Math.floor(e)));var a=Math.floor((r-1)/2),u=AX(EX(l=&gt;o.add(new lr(l-a).mul(n)).toNumber()),Ev);return u(0,r)},YE=function(r,t,n,o){var i=arguments.length&gt;4&amp;&amp;arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-r)/(n-1)))return{step:new lr(0),tickMin:new lr(0),tickMax:new lr(0)};var a=GE(new lr(t).sub(r).div(n-1),o,i),u;r&lt;=0&amp;&amp;t&gt;=0?u=new lr(0):(u=new lr(r).add(t).div(2),u=u.sub(new lr(u).mod(a)));var l=Math.ceil(u.sub(r).div(a).toNumber()),s=Math.ceil(new lr(t).sub(u).div(a).toNumber()),d=l+s+1;return d&gt;n?YE(r,t,n,o,i+1):(d&lt;n&amp;&amp;(s=t&gt;0?s+(n-d):s,l=t&gt;0?l:l+(n-d)),{step:a,tickMin:u.sub(new lr(l).mul(a)),tickMax:u.add(new lr(s).mul(a))})},OX=function(r){var[t,n]=r,o=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:6,i=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:!0,a=Math.max(o,2),[u,l]=XE([t,n]);if(u===-1/0||l===1/0){var s=l===1/0?[u,...Ev(0,o-1).map(()=&gt;1/0)]:[...Ev(0,o-1).map(()=&gt;-1/0),l];return t&gt;n?s.reverse():s}if(u===l)return MX(u,o,i);var{step:d,tickMin:f,tickMax:h}=YE(u,l,a,i,0),m=KE(f,h.add(new lr(.1).mul(d)),d);return t&gt;n?m.reverse():m},PX=function(r,t){var[n,o]=r,i=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:!0,[a,u]=XE([n,o]);if(a===-1/0||u===1/0)return[n,o];if(a===u)return[a];var l=Math.max(t,2),s=GE(new lr(u).sub(a).div(l-1),i,0),d=[...KE(new lr(a),new lr(u),s),u];return i===!1&amp;&amp;(d=d.map(f=&gt;Math.round(f))),n&gt;o?d.reverse():d},ZE=e=&gt;e.rootProps.maxBarSize,TX=e=&gt;e.rootProps.barGap,QE=e=&gt;e.rootProps.barCategoryGap,IX=e=&gt;e.rootProps.barSize,l0=e=&gt;e.rootProps.stackOffset,JE=e=&gt;e.rootProps.reverseStackOrder,O2=e=&gt;e.options.chartName,P2=e=&gt;e.rootProps.syncId,e9=e=&gt;e.rootProps.syncMethod,T2=e=&gt;e.options.eventEmitter,xn={grid:-100,barBackground:-50,area:100,cursorRectangle:200,bar:300,line:400,axis:500,scatter:600,activeBar:1e3,cursorLine:1100,activeDot:1200,label:2e3},ta={allowDuplicatedCategory:!0,angleAxisId:0,reversed:!1,scale:&quot;auto&quot;,tick:!0,type:&quot;category&quot;},bi={allowDataOverflow:!1,allowDuplicatedCategory:!0,radiusAxisId:0,scale:&quot;auto&quot;,tick:!0,tickCount:5,type:&quot;number&quot;},c0=(e,r)=&gt;{if(!(!e||!r))return e!=null&amp;&amp;e.reversed?[r[1],r[0]]:r},RX={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!1,dataKey:void 0,domain:void 0,id:ta.angleAxisId,includeHidden:!1,name:void 0,reversed:ta.reversed,scale:ta.scale,tick:ta.tick,tickCount:void 0,ticks:void 0,type:ta.type,unit:void 0},DX={allowDataOverflow:bi.allowDataOverflow,allowDecimals:!1,allowDuplicatedCategory:bi.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:bi.radiusAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:bi.scale,tick:bi.tick,tickCount:bi.tickCount,ticks:void 0,type:bi.type,unit:void 0},LX={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:ta.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:ta.angleAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:ta.scale,tick:ta.tick,tickCount:void 0,ticks:void 0,type:&quot;number&quot;,unit:void 0},FX={allowDataOverflow:bi.allowDataOverflow,allowDecimals:!1,allowDuplicatedCategory:bi.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:bi.radiusAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:bi.scale,tick:bi.tick,tickCount:bi.tickCount,ticks:void 0,type:&quot;category&quot;,unit:void 0},I2=(e,r)=&gt;e.polarAxis.angleAxis[r]!=null?e.polarAxis.angleAxis[r]:e.layout.layoutType===&quot;radial&quot;?LX:RX,R2=(e,r)=&gt;e.polarAxis.radiusAxis[r]!=null?e.polarAxis.radiusAxis[r]:e.layout.layoutType===&quot;radial&quot;?FX:DX,u0=e=&gt;e.polarOptions,D2=Pe([ya,va,yn],PH),t9=Pe([u0,D2],(e,r)=&gt;{if(e!=null)return ps(e.innerRadius,r,0)}),r9=Pe([u0,D2],(e,r)=&gt;{if(e!=null)return ps(e.outerRadius,r,r*.8)}),BX=e=&gt;{if(e==null)return[0,0];var{startAngle:r,endAngle:t}=e;return[r,t]},n9=Pe([u0],BX);Pe([I2,n9],c0);var i9=Pe([D2,t9,r9],(e,r,t)=&gt;{if(!(e==null||r==null||t==null))return[r,t]});Pe([R2,i9],c0);var s9=Pe([ir,u0,t9,r9,ya,va],(e,r,t,n,o,i)=&gt;{if(!(e!==&quot;centric&quot;&amp;&amp;e!==&quot;radial&quot;||r==null||t==null||n==null)){var{cx:a,cy:u,startAngle:l,endAngle:s}=r;return{cx:ps(a,o,o/2),cy:ps(u,i,i/2),innerRadius:t,outerRadius:n,startAngle:l,endAngle:s,clockWise:!1}}}),sn=(e,r)=&gt;r,d0=(e,r,t)=&gt;t;function L2(e){return e?.id}function a9(e,r,t){var{chartData:n=[]}=r,{allowDuplicatedCategory:o,dataKey:i}=t,a=new Map;return e.forEach(u=&gt;{var l,s=(l=u.data)!==null&amp;&amp;l!==void 0?l:n;if(!(s==null||s.length===0)){var d=L2(u);s.forEach((f,h)=&gt;{var m=i==null||o?h:String(Gr(f,i,null)),p=Gr(f,u.dataKey,0),b;a.has(m)?b=a.get(m):b={},Object.assign(b,{[d]:p}),a.set(m,b)})}}),Array.from(a.values())}function f0(e){return&quot;stackId&quot;in e&amp;&amp;e.stackId!=null&amp;&amp;e.dataKey!=null}var h0=(e,r)=&gt;e===r?!0:e==null||r==null?!1:e[0]===r[0]&amp;&amp;e[1]===r[1];function m0(e,r){return Array.isArray(e)&amp;&amp;Array.isArray(r)&amp;&amp;e.length===0&amp;&amp;r.length===0?!0:e===r}function zX(e,r){if(e.length===r.length){for(var t=0;t&lt;e.length;t++)if(e[t]!==r[t])return!1;return!0}return!1}var an=e=&gt;{var r=ir(e);return r===&quot;horizontal&quot;?&quot;xAxis&quot;:r===&quot;vertical&quot;?&quot;yAxis&quot;:r===&quot;centric&quot;?&quot;angleAxis&quot;:&quot;radiusAxis&quot;},$c=e=&gt;e.tooltip.settings.axisId;function hS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function ap(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?hS(Object(t),!0).forEach(function(n){$X(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function $X(e,r,t){return(r=UX(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function UX(e){var r=VX(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function VX(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var Av=[0,&quot;auto&quot;],pn={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:void 0,height:30,hide:!0,id:0,includeHidden:!1,interval:&quot;preserveEnd&quot;,minTickGap:5,mirror:!1,name:void 0,orientation:&quot;bottom&quot;,padding:{left:0,right:0},reversed:!1,scale:&quot;auto&quot;,tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:&quot;category&quot;,unit:void 0},o9=(e,r)=&gt;e.cartesianAxis.xAxis[r],ja=(e,r)=&gt;{var t=o9(e,r);return t??pn},gn={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:Av,hide:!0,id:0,includeHidden:!1,interval:&quot;preserveEnd&quot;,minTickGap:5,mirror:!1,name:void 0,orientation:&quot;left&quot;,padding:{top:0,bottom:0},reversed:!1,scale:&quot;auto&quot;,tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:&quot;number&quot;,unit:void 0,width:Td},l9=(e,r)=&gt;e.cartesianAxis.yAxis[r],Sa=(e,r)=&gt;{var t=l9(e,r);return t??gn},qX={domain:[0,&quot;auto&quot;],includeHidden:!1,reversed:!1,allowDataOverflow:!1,allowDuplicatedCategory:!1,dataKey:void 0,id:0,name:&quot;&quot;,range:[64,64],scale:&quot;auto&quot;,type:&quot;number&quot;,unit:&quot;&quot;},F2=(e,r)=&gt;{var t=e.cartesianAxis.zAxis[r];return t??qX},Zn=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return ja(e,t);case&quot;yAxis&quot;:return Sa(e,t);case&quot;zAxis&quot;:return F2(e,t);case&quot;angleAxis&quot;:return I2(e,t);case&quot;radiusAxis&quot;:return R2(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},HX=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return ja(e,t);case&quot;yAxis&quot;:return Sa(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},Bd=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return ja(e,t);case&quot;yAxis&quot;:return Sa(e,t);case&quot;angleAxis&quot;:return I2(e,t);case&quot;radiusAxis&quot;:return R2(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},c9=e=&gt;e.graphicalItems.cartesianItems.some(r=&gt;r.type===&quot;bar&quot;)||e.graphicalItems.polarItems.some(r=&gt;r.type===&quot;radialBar&quot;);function u9(e,r){return t=&gt;{switch(e){case&quot;xAxis&quot;:return&quot;xAxisId&quot;in t&amp;&amp;t.xAxisId===r;case&quot;yAxis&quot;:return&quot;yAxisId&quot;in t&amp;&amp;t.yAxisId===r;case&quot;zAxis&quot;:return&quot;zAxisId&quot;in t&amp;&amp;t.zAxisId===r;case&quot;angleAxis&quot;:return&quot;angleAxisId&quot;in t&amp;&amp;t.angleAxisId===r;case&quot;radiusAxis&quot;:return&quot;radiusAxisId&quot;in t&amp;&amp;t.radiusAxisId===r;default:return!1}}}var p0=e=&gt;e.graphicalItems.cartesianItems,WX=Pe([sn,d0],u9),d9=(e,r,t)=&gt;e.filter(t).filter(n=&gt;r?.includeHidden===!0?!0:!n.hide),zd=Pe([p0,Zn,WX],d9,{memoizeOptions:{resultEqualityCheck:m0}}),f9=Pe([zd],e=&gt;e.filter(r=&gt;r.type===&quot;area&quot;||r.type===&quot;bar&quot;).filter(f0)),h9=e=&gt;e.filter(r=&gt;!(&quot;stackId&quot;in r)||r.stackId===void 0),KX=Pe([zd],h9),m9=e=&gt;e.map(r=&gt;r.data).filter(Boolean).flat(1),XX=Pe([zd],m9,{memoizeOptions:{resultEqualityCheck:m0}}),p9=(e,r)=&gt;{var{chartData:t=[],dataStartIndex:n,dataEndIndex:o}=r;return e.length&gt;0?e:t.slice(n,o+1)},B2=Pe([XX,E2],p9),g9=(e,r,t)=&gt;r?.dataKey!=null?e.map(n=&gt;({value:Gr(n,r.dataKey)})):t.length&gt;0?t.map(n=&gt;n.dataKey).flatMap(n=&gt;e.map(o=&gt;({value:Gr(o,n)}))):e.map(n=&gt;({value:n})),g0=Pe([B2,Zn,zd],g9);function b9(e,r){switch(e){case&quot;xAxis&quot;:return r.direction===&quot;x&quot;;case&quot;yAxis&quot;:return r.direction===&quot;y&quot;;default:return!1}}function om(e){if(Ts(e)||e instanceof Date){var r=Number(e);if(Rr(r))return r}}function mS(e){if(Array.isArray(e)){var r=[om(e[0]),om(e[1])];return go(r)?r:void 0}var t=om(e);if(t!=null)return[t,t]}function ga(e){return e.map(om).filter(Iz)}function GX(e,r,t){return!t||typeof r!=&quot;number&quot;||ms(r)?[]:t.length?ga(t.flatMap(n=&gt;{var o=Gr(e,n.dataKey),i,a;if(Array.isArray(o)?[i,a]=o:i=a=o,!(!Rr(i)||!Rr(a)))return[r-i,r+a]})):[]}var on=e=&gt;{var r=an(e),t=$c(e);return Bd(e,r,t)},$d=Pe([on],e=&gt;e?.dataKey),YX=Pe([f9,E2,on],a9),x9=(e,r,t,n)=&gt;{var o={},i=r.reduce((a,u)=&gt;{if(u.stackId==null)return a;var l=a[u.stackId];return l==null&amp;&amp;(l=[]),l.push(u),a[u.stackId]=l,a},o);return Object.fromEntries(Object.entries(i).map(a=&gt;{var[u,l]=a,s=n?[...l].reverse():l,d=s.map(L2);return[u,{stackedData:lV(e,d,t),graphicalItems:s}]}))},Mv=Pe([YX,f9,l0,JE],x9),y9=(e,r,t,n)=&gt;{var{dataStartIndex:o,dataEndIndex:i}=r;if(n==null&amp;&amp;t!==&quot;zAxis&quot;){var a=hV(e,o,i);if(!(a!=null&amp;&amp;a[0]===0&amp;&amp;a[1]===0))return a}},ZX=Pe([Zn],e=&gt;e.allowDataOverflow),z2=e=&gt;{var r;if(e==null||!(&quot;domain&quot;in e))return Av;if(e.domain!=null)return e.domain;if(&quot;ticks&quot;in e&amp;&amp;e.ticks!=null){if(e.type===&quot;number&quot;){var t=ga(e.ticks);return[Math.min(...t),Math.max(...t)]}if(e.type===&quot;category&quot;)return e.ticks.map(String)}return(r=e?.domain)!==null&amp;&amp;r!==void 0?r:Av},v9=Pe([Zn],z2),w9=Pe([v9,ZX],LE),QX=Pe([Mv,_a,sn,w9],y9,{memoizeOptions:{resultEqualityCheck:h0}}),$2=e=&gt;e.errorBars,JX=(e,r,t)=&gt;e.flatMap(n=&gt;r[n.id]).filter(Boolean).filter(n=&gt;b9(t,n)),op=function(){for(var r=arguments.length,t=new Array(r),n=0;n&lt;r;n++)t[n]=arguments[n];var o=t.filter(Boolean);if(o.length!==0){var i=o.flat(),a=Math.min(...i),u=Math.max(...i);return[a,u]}},_9=(e,r,t,n,o)=&gt;{var i,a;if(t.length&gt;0&amp;&amp;e.forEach(u=&gt;{t.forEach(l=&gt;{var s,d,f=(s=n[l.id])===null||s===void 0?void 0:s.filter(y=&gt;b9(o,y)),h=Gr(u,(d=r.dataKey)!==null&amp;&amp;d!==void 0?d:l.dataKey),m=GX(u,h,f);if(m.length&gt;=2){var p=Math.min(...m),b=Math.max(...m);(i==null||p&lt;i)&amp;&amp;(i=p),(a==null||b&gt;a)&amp;&amp;(a=b)}var g=mS(h);g!=null&amp;&amp;(i=i==null?g[0]:Math.min(i,g[0]),a=a==null?g[1]:Math.max(a,g[1]))})}),r?.dataKey!=null&amp;&amp;e.forEach(u=&gt;{var l=mS(Gr(u,r.dataKey));l!=null&amp;&amp;(i=i==null?l[0]:Math.min(i,l[0]),a=a==null?l[1]:Math.max(a,l[1]))}),Rr(i)&amp;&amp;Rr(a))return[i,a]},eG=Pe([B2,Zn,KX,$2,sn],_9,{memoizeOptions:{resultEqualityCheck:h0}});function tG(e){var{value:r}=e;if(Ts(r)||r instanceof Date)return r}var rG=(e,r,t)=&gt;{var n=e.map(tG).filter(o=&gt;o!=null);return t&amp;&amp;(r.dataKey==null||r.allowDuplicatedCategory&amp;&amp;LC(n))?rE(0,e.length):r.allowDuplicatedCategory?n:Array.from(new Set(n))},j9=e=&gt;e.referenceElements.dots,Uc=(e,r,t)=&gt;e.filter(n=&gt;n.ifOverflow===&quot;extendDomain&quot;).filter(n=&gt;r===&quot;xAxis&quot;?n.xAxisId===t:n.yAxisId===t),nG=Pe([j9,sn,d0],Uc),S9=e=&gt;e.referenceElements.areas,iG=Pe([S9,sn,d0],Uc),k9=e=&gt;e.referenceElements.lines,sG=Pe([k9,sn,d0],Uc),N9=(e,r)=&gt;{if(e!=null){var t=ga(e.map(n=&gt;r===&quot;xAxis&quot;?n.x:n.y));if(t.length!==0)return[Math.min(...t),Math.max(...t)]}},aG=Pe(nG,sn,N9),C9=(e,r)=&gt;{if(e!=null){var t=ga(e.flatMap(n=&gt;[r===&quot;xAxis&quot;?n.x1:n.y1,r===&quot;xAxis&quot;?n.x2:n.y2]));if(t.length!==0)return[Math.min(...t),Math.max(...t)]}},oG=Pe([iG,sn],C9);function lG(e){var r;if(e.x!=null)return ga([e.x]);var t=(r=e.segment)===null||r===void 0?void 0:r.map(n=&gt;n.x);return t==null||t.length===0?[]:ga(t)}function cG(e){var r;if(e.y!=null)return ga([e.y]);var t=(r=e.segment)===null||r===void 0?void 0:r.map(n=&gt;n.y);return t==null||t.length===0?[]:ga(t)}var E9=(e,r)=&gt;{if(e!=null){var t=e.flatMap(n=&gt;r===&quot;xAxis&quot;?lG(n):cG(n));if(t.length!==0)return[Math.min(...t),Math.max(...t)]}},uG=Pe([sG,sn],E9),dG=Pe(aG,uG,oG,(e,r,t)=&gt;op(e,t,r)),A9=(e,r,t,n,o,i,a,u)=&gt;{if(t!=null)return t;var l=a===&quot;vertical&quot;&amp;&amp;u===&quot;xAxis&quot;||a===&quot;horizontal&quot;&amp;&amp;u===&quot;yAxis&quot;,s=l?op(n,i,o):op(i,o);return _X(r,s,e.allowDataOverflow)},fG=Pe([Zn,v9,w9,QX,eG,dG,ir,sn],A9,{memoizeOptions:{resultEqualityCheck:h0}}),hG=[0,1],M9=(e,r,t,n,o,i,a)=&gt;{if(!((e==null||t==null||t.length===0)&amp;&amp;a===void 0)){var{dataKey:u,type:l}=e,s=wo(r,i);if(s&amp;&amp;u==null){var d;return rE(0,(d=t?.length)!==null&amp;&amp;d!==void 0?d:0)}return l===&quot;category&quot;?rG(n,e,s):o===&quot;expand&quot;?hG:a}},U2=Pe([Zn,ir,B2,g0,l0,sn,fG],M9),O9=(e,r,t,n,o)=&gt;{if(e!=null){var{scale:i,type:a}=e;if(i===&quot;auto&quot;)return r===&quot;radial&quot;&amp;&amp;o===&quot;radiusAxis&quot;?&quot;band&quot;:r===&quot;radial&quot;&amp;&amp;o===&quot;angleAxis&quot;?&quot;linear&quot;:a===&quot;category&quot;&amp;&amp;n&amp;&amp;(n.indexOf(&quot;LineChart&quot;)&gt;=0||n.indexOf(&quot;AreaChart&quot;)&gt;=0||n.indexOf(&quot;ComposedChart&quot;)&gt;=0&amp;&amp;!t)?&quot;point&quot;:a===&quot;category&quot;?&quot;band&quot;:&quot;linear&quot;;if(typeof i==&quot;string&quot;){var u=&quot;scale&quot;.concat(Ad(i));return u in Hu?u:&quot;point&quot;}}},Ud=Pe([Zn,ir,c9,O2,sn],O9);function mG(e){if(e!=null){if(e in Hu)return Hu[e]();var r=&quot;scale&quot;.concat(Ad(e));if(r in Hu)return Hu[r]()}}function V2(e,r,t,n){if(!(t==null||n==null)){if(typeof e.scale==&quot;function&quot;)return e.scale.copy().domain(t).range(n);var o=mG(r);if(o!=null){var i=o.domain(t).range(n);return nV(i),i}}}var P9=(e,r,t)=&gt;{var n=z2(r);if(!(t!==&quot;auto&quot;&amp;&amp;t!==&quot;linear&quot;)){if(r!=null&amp;&amp;r.tickCount&amp;&amp;Array.isArray(n)&amp;&amp;(n[0]===&quot;auto&quot;||n[1]===&quot;auto&quot;)&amp;&amp;go(e))return OX(e,r.tickCount,r.allowDecimals);if(r!=null&amp;&amp;r.tickCount&amp;&amp;r.type===&quot;number&quot;&amp;&amp;go(e))return PX(e,r.tickCount,r.allowDecimals)}},q2=Pe([U2,Bd,Ud],P9),T9=(e,r,t,n)=&gt;{if(n!==&quot;angleAxis&quot;&amp;&amp;e?.type===&quot;number&quot;&amp;&amp;go(r)&amp;&amp;Array.isArray(t)&amp;&amp;t.length&gt;0){var o=r[0],i=t[0],a=r[1],u=t[t.length-1];return[Math.min(o,i),Math.max(a,u)]}return r},pG=Pe([Zn,U2,q2,sn],T9),gG=Pe(g0,Zn,(e,r)=&gt;{if(!(!r||r.type!==&quot;number&quot;)){var t=1/0,n=Array.from(ga(e.map(f=&gt;f.value))).sort((f,h)=&gt;f-h),o=n[0],i=n[n.length-1];if(o==null||i==null)return 1/0;var a=i-o;if(a===0)return 1/0;for(var u=0;u&lt;n.length-1;u++){var l=n[u],s=n[u+1];if(!(l==null||s==null)){var d=s-l;t=Math.min(t,d)}}return t/a}}),I9=Pe(gG,ir,QE,yn,(e,r,t,n,o)=&gt;o,(e,r,t,n,o)=&gt;{if(!Rr(e))return 0;var i=r===&quot;vertical&quot;?n.height:n.width;if(o===&quot;gap&quot;)return e*i/2;if(o===&quot;no-gap&quot;){var a=ps(t,e*i),u=e*i/2;return u-a-(u-a)/i*a}return 0}),bG=(e,r,t)=&gt;{var n=ja(e,r);return n==null||typeof n.padding!=&quot;string&quot;?0:I9(e,&quot;xAxis&quot;,r,t,n.padding)},xG=(e,r,t)=&gt;{var n=Sa(e,r);return n==null||typeof n.padding!=&quot;string&quot;?0:I9(e,&quot;yAxis&quot;,r,t,n.padding)},yG=Pe(ja,bG,(e,r)=&gt;{var t,n;if(e==null)return{left:0,right:0};var{padding:o}=e;return typeof o==&quot;string&quot;?{left:r,right:r}:{left:((t=o.left)!==null&amp;&amp;t!==void 0?t:0)+r,right:((n=o.right)!==null&amp;&amp;n!==void 0?n:0)+r}}),vG=Pe(Sa,xG,(e,r)=&gt;{var t,n;if(e==null)return{top:0,bottom:0};var{padding:o}=e;return typeof o==&quot;string&quot;?{top:r,bottom:r}:{top:((t=o.top)!==null&amp;&amp;t!==void 0?t:0)+r,bottom:((n=o.bottom)!==null&amp;&amp;n!==void 0?n:0)+r}}),wG=Pe([yn,yG,Kp,Wp,(e,r,t)=&gt;t],(e,r,t,n,o)=&gt;{var{padding:i}=n;return o?[i.left,t.width-i.right]:[e.left+r.left,e.left+e.width-r.right]}),_G=Pe([yn,ir,vG,Kp,Wp,(e,r,t)=&gt;t],(e,r,t,n,o,i)=&gt;{var{padding:a}=o;return i?[n.height-a.bottom,a.top]:r===&quot;horizontal&quot;?[e.top+e.height-t.bottom,e.top+t.top]:[e.top+t.top,e.top+e.height-t.bottom]}),Vd=(e,r,t,n)=&gt;{var o;switch(r){case&quot;xAxis&quot;:return wG(e,t,n);case&quot;yAxis&quot;:return _G(e,t,n);case&quot;zAxis&quot;:return(o=F2(e,t))===null||o===void 0?void 0:o.range;case&quot;angleAxis&quot;:return n9(e);case&quot;radiusAxis&quot;:return i9(e,t);default:return}},R9=Pe([Zn,Vd],c0),b0=Pe([Zn,Ud,pG,R9],V2);Pe([zd,$2,sn],JX);function D9(e,r){return e.id&lt;r.id?-1:e.id&gt;r.id?1:0}var x0=(e,r)=&gt;r,y0=(e,r,t)=&gt;t,jG=Pe(qp,x0,y0,(e,r,t)=&gt;e.filter(n=&gt;n.orientation===r).filter(n=&gt;n.mirror===t).sort(D9)),SG=Pe(Hp,x0,y0,(e,r,t)=&gt;e.filter(n=&gt;n.orientation===r).filter(n=&gt;n.mirror===t).sort(D9)),L9=(e,r)=&gt;({width:e.width,height:r.height}),kG=(e,r)=&gt;{var t=typeof r.width==&quot;number&quot;?r.width:Td;return{width:t,height:e.height}},F9=Pe(yn,ja,L9),NG=(e,r,t)=&gt;{switch(r){case&quot;top&quot;:return e.top;case&quot;bottom&quot;:return t-e.bottom;default:return 0}},CG=(e,r,t)=&gt;{switch(r){case&quot;left&quot;:return e.left;case&quot;right&quot;:return t-e.right;default:return 0}},EG=Pe(va,yn,jG,x0,y0,(e,r,t,n,o)=&gt;{var i={},a;return t.forEach(u=&gt;{var l=L9(r,u);a==null&amp;&amp;(a=NG(r,n,e));var s=n===&quot;top&quot;&amp;&amp;!o||n===&quot;bottom&quot;&amp;&amp;o;i[u.id]=a-Number(s)*l.height,a+=(s?-1:1)*l.height}),i}),AG=Pe(ya,yn,SG,x0,y0,(e,r,t,n,o)=&gt;{var i={},a;return t.forEach(u=&gt;{var l=kG(r,u);a==null&amp;&amp;(a=CG(r,n,e));var s=n===&quot;left&quot;&amp;&amp;!o||n===&quot;right&quot;&amp;&amp;o;i[u.id]=a-Number(s)*l.width,a+=(s?-1:1)*l.width}),i}),MG=(e,r)=&gt;{var t=ja(e,r);if(t!=null)return EG(e,t.orientation,t.mirror)},OG=Pe([yn,ja,MG,(e,r)=&gt;r],(e,r,t,n)=&gt;{if(r!=null){var o=t?.[n];return o==null?{x:e.left,y:0}:{x:e.left,y:o}}}),PG=(e,r)=&gt;{var t=Sa(e,r);if(t!=null)return AG(e,t.orientation,t.mirror)},TG=Pe([yn,Sa,PG,(e,r)=&gt;r],(e,r,t,n)=&gt;{if(r!=null){var o=t?.[n];return o==null?{x:0,y:e.top}:{x:o,y:e.top}}}),B9=Pe(yn,Sa,(e,r)=&gt;{var t=typeof r.width==&quot;number&quot;?r.width:Td;return{width:t,height:e.height}}),pS=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return F9(e,t).width;case&quot;yAxis&quot;:return B9(e,t).height;default:return}},z9=(e,r,t,n)=&gt;{if(t!=null){var{allowDuplicatedCategory:o,type:i,dataKey:a}=t,u=wo(e,n),l=r.map(s=&gt;s.value);if(a&amp;&amp;u&amp;&amp;i===&quot;category&quot;&amp;&amp;o&amp;&amp;LC(l))return l}},H2=Pe([ir,g0,Zn,sn],z9),$9=(e,r,t,n)=&gt;{if(!(t==null||t.dataKey==null)){var{type:o,scale:i}=t,a=wo(e,n);if(a&amp;&amp;(o===&quot;number&quot;||i!==&quot;auto&quot;))return r.map(u=&gt;u.value)}},W2=Pe([ir,g0,Bd,sn],$9),gS=Pe([ir,HX,Ud,b0,H2,W2,Vd,q2,sn],(e,r,t,n,o,i,a,u,l)=&gt;{if(r!=null){var s=wo(e,l);return{angle:r.angle,interval:r.interval,minTickGap:r.minTickGap,orientation:r.orientation,tick:r.tick,tickCount:r.tickCount,tickFormatter:r.tickFormatter,ticks:r.ticks,type:r.type,unit:r.unit,axisType:l,categoricalDomain:i,duplicateDomain:o,isCategorical:s,niceTicks:u,range:a,realScaleType:t,scale:n}}}),IG=(e,r,t,n,o,i,a,u,l)=&gt;{if(!(r==null||n==null)){var s=wo(e,l),{type:d,ticks:f,tickCount:h}=r,m=t===&quot;scaleBand&quot;&amp;&amp;typeof n.bandwidth==&quot;function&quot;?n.bandwidth()/2:2,p=d===&quot;category&quot;&amp;&amp;n.bandwidth?n.bandwidth()/m:0;p=l===&quot;angleAxis&quot;&amp;&amp;i!=null&amp;&amp;i.length&gt;=2?li(i[0]-i[1])*2*p:p;var b=f||o;if(b){var g=b.map((y,v)=&gt;{var _=a?a.indexOf(y):y;return{index:v,coordinate:n(_)+p,value:y,offset:p}});return g.filter(y=&gt;Rr(y.coordinate))}return s&amp;&amp;u?u.map((y,v)=&gt;({coordinate:n(y)+p,value:y,index:v,offset:p})).filter(y=&gt;Rr(y.coordinate)):n.ticks?n.ticks(h).map(y=&gt;({coordinate:n(y)+p,value:y,offset:p})):n.domain().map((y,v)=&gt;({coordinate:n(y)+p,value:a?a[y]:y,index:v,offset:p}))}},U9=Pe([ir,Bd,Ud,b0,q2,Vd,H2,W2,sn],IG),RG=(e,r,t,n,o,i,a)=&gt;{if(!(r==null||t==null||n==null||n[0]===n[1])){var u=wo(e,a),{tickCount:l}=r,s=0;return s=a===&quot;angleAxis&quot;&amp;&amp;n?.length&gt;=2?li(n[0]-n[1])*2*s:s,u&amp;&amp;i?i.map((d,f)=&gt;({coordinate:t(d)+s,value:d,index:f,offset:s})):t.ticks?t.ticks(l).map(d=&gt;({coordinate:t(d)+s,value:d,offset:s})):t.domain().map((d,f)=&gt;({coordinate:t(d)+s,value:o?o[d]:d,index:f,offset:s}))}},bo=Pe([ir,Bd,b0,Vd,H2,W2,sn],RG),xo=Pe(Zn,b0,(e,r)=&gt;{if(!(e==null||r==null))return ap(ap({},e),{},{scale:r})}),DG=Pe([Zn,Ud,U2,R9],V2);Pe((e,r,t)=&gt;F2(e,t),DG,(e,r)=&gt;{if(!(e==null||r==null))return ap(ap({},e),{},{scale:r})});var LG=Pe([ir,qp,Hp],(e,r,t)=&gt;{switch(e){case&quot;horizontal&quot;:return r.some(n=&gt;n.reversed)?&quot;right-to-left&quot;:&quot;left-to-right&quot;;case&quot;vertical&quot;:return t.some(n=&gt;n.reversed)?&quot;bottom-to-top&quot;:&quot;top-to-bottom&quot;;case&quot;centric&quot;:case&quot;radial&quot;:return&quot;left-to-right&quot;;default:return}}),V9=e=&gt;e.options.defaultTooltipEventType,q9=e=&gt;e.options.validateTooltipEventTypes;function H9(e,r,t){if(e==null)return r;var n=e?&quot;axis&quot;:&quot;item&quot;;return t==null?r:t.includes(n)?n:r}function K2(e,r){var t=V9(e),n=q9(e);return H9(r,t,n)}function FG(e){return yt(r=&gt;K2(r,e))}var W9=(e,r)=&gt;{var t,n=Number(r);if(!(ms(n)||r==null))return n&gt;=0?e==null||(t=e[n])===null||t===void 0?void 0:t.value:void 0},BG=e=&gt;e.tooltip.settings,ro={active:!1,index:null,dataKey:void 0,graphicalItemId:void 0,coordinate:void 0},zG={itemInteraction:{click:ro,hover:ro},axisInteraction:{click:ro,hover:ro},keyboardInteraction:ro,syncInteraction:{active:!1,index:null,dataKey:void 0,label:void 0,coordinate:void 0,sourceViewBox:void 0,graphicalItemId:void 0},tooltipItemPayloads:[],settings:{shared:void 0,trigger:&quot;hover&quot;,axisId:0,active:!1,defaultIndex:void 0}},K9=di({name:&quot;tooltip&quot;,initialState:zG,reducers:{addTooltipEntrySettings:{reducer(e,r){e.tooltipItemPayloads.push(r.payload)},prepare:Er()},replaceTooltipEntrySettings:{reducer(e,r){var{prev:t,next:n}=r.payload,o=fs(e).tooltipItemPayloads.indexOf(t);o&gt;-1&amp;&amp;(e.tooltipItemPayloads[o]=n)},prepare:Er()},removeTooltipEntrySettings:{reducer(e,r){var t=fs(e).tooltipItemPayloads.indexOf(r.payload);t&gt;-1&amp;&amp;e.tooltipItemPayloads.splice(t,1)},prepare:Er()},setTooltipSettingsState(e,r){e.settings=r.payload},setActiveMouseOverItemIndex(e,r){e.syncInteraction.active=!1,e.keyboardInteraction.active=!1,e.itemInteraction.hover.active=!0,e.itemInteraction.hover.index=r.payload.activeIndex,e.itemInteraction.hover.dataKey=r.payload.activeDataKey,e.itemInteraction.hover.graphicalItemId=r.payload.activeGraphicalItemId,e.itemInteraction.hover.coordinate=r.payload.activeCoordinate},mouseLeaveChart(e){e.itemInteraction.hover.active=!1,e.axisInteraction.hover.active=!1},mouseLeaveItem(e){e.itemInteraction.hover.active=!1},setActiveClickItemIndex(e,r){e.syncInteraction.active=!1,e.itemInteraction.click.active=!0,e.keyboardInteraction.active=!1,e.itemInteraction.click.index=r.payload.activeIndex,e.itemInteraction.click.dataKey=r.payload.activeDataKey,e.itemInteraction.click.graphicalItemId=r.payload.activeGraphicalItemId,e.itemInteraction.click.coordinate=r.payload.activeCoordinate},setMouseOverAxisIndex(e,r){e.syncInteraction.active=!1,e.axisInteraction.hover.active=!0,e.keyboardInteraction.active=!1,e.axisInteraction.hover.index=r.payload.activeIndex,e.axisInteraction.hover.dataKey=r.payload.activeDataKey,e.axisInteraction.hover.coordinate=r.payload.activeCoordinate},setMouseClickAxisIndex(e,r){e.syncInteraction.active=!1,e.keyboardInteraction.active=!1,e.axisInteraction.click.active=!0,e.axisInteraction.click.index=r.payload.activeIndex,e.axisInteraction.click.dataKey=r.payload.activeDataKey,e.axisInteraction.click.coordinate=r.payload.activeCoordinate},setSyncInteraction(e,r){e.syncInteraction=r.payload},setKeyboardInteraction(e,r){e.keyboardInteraction.active=r.payload.active,e.keyboardInteraction.index=r.payload.activeIndex,e.keyboardInteraction.coordinate=r.payload.activeCoordinate}}}),{addTooltipEntrySettings:$G,replaceTooltipEntrySettings:UG,removeTooltipEntrySettings:VG,setTooltipSettingsState:qG,setActiveMouseOverItemIndex:X9,mouseLeaveItem:HG,mouseLeaveChart:G9,setActiveClickItemIndex:WG,setMouseOverAxisIndex:Y9,setMouseClickAxisIndex:KG,setSyncInteraction:Ov,setKeyboardInteraction:Pv}=K9.actions,XG=K9.reducer;function bS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Hh(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?bS(Object(t),!0).forEach(function(n){GG(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):bS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function GG(e,r,t){return(r=YG(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function YG(e){var r=ZG(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function ZG(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function QG(e,r,t){return r===&quot;axis&quot;?t===&quot;click&quot;?e.axisInteraction.click:e.axisInteraction.hover:t===&quot;click&quot;?e.itemInteraction.click:e.itemInteraction.hover}function JG(e){return e.index!=null}var Z9=(e,r,t,n)=&gt;{if(r==null)return ro;var o=QG(e,r,t);if(o==null)return ro;if(o.active)return o;if(e.keyboardInteraction.active)return e.keyboardInteraction;if(e.syncInteraction.active&amp;&amp;e.syncInteraction.index!=null)return e.syncInteraction;var i=e.settings.active===!0;if(JG(o)){if(i)return Hh(Hh({},o),{},{active:!0})}else if(n!=null)return{active:!0,coordinate:void 0,dataKey:void 0,index:n,graphicalItemId:void 0};return Hh(Hh({},ro),{},{coordinate:o.coordinate})};function eY(e){if(typeof e==&quot;number&quot;)return Number.isFinite(e)?e:void 0;if(e instanceof Date){var r=e.valueOf();return Number.isFinite(r)?r:void 0}var t=Number(e);return Number.isFinite(t)?t:void 0}function tY(e,r){var t=eY(e),n=r[0],o=r[1];if(t===void 0)return!1;var i=Math.min(n,o),a=Math.max(n,o);return t&gt;=i&amp;&amp;t&lt;=a}function rY(e,r,t){if(t==null||r==null)return!0;var n=Gr(e,r);return n==null||!go(t)?!0:tY(n,t)}var X2=(e,r,t,n)=&gt;{var o=e?.index;if(o==null)return null;var i=Number(o);if(!Rr(i))return o;var a=0,u=1/0;r.length&gt;0&amp;&amp;(u=r.length-1);var l=Math.max(a,Math.min(i,u)),s=r[l];return s==null||rY(s,t,n)?String(l):null},Q9=(e,r,t,n,o,i,a,u)=&gt;{if(!(i==null||u==null)){var l=a[0],s=l==null?void 0:u(l.positions,i);if(s!=null)return s;var d=o?.[Number(i)];if(d)return t===&quot;horizontal&quot;?{x:d.coordinate,y:(n.top+r)/2}:{x:(n.left+e)/2,y:d.coordinate}}},J9=(e,r,t,n)=&gt;{if(r===&quot;axis&quot;)return e.tooltipItemPayloads;if(e.tooltipItemPayloads.length===0)return[];var o;if(t===&quot;hover&quot;?o=e.itemInteraction.hover.graphicalItemId:o=e.itemInteraction.click.graphicalItemId,o==null&amp;&amp;n!=null){var i=e.tooltipItemPayloads[0];return i!=null?[i]:[]}return e.tooltipItemPayloads.filter(a=&gt;{var u;return((u=a.settings)===null||u===void 0?void 0:u.graphicalItemId)===o})},qd=e=&gt;e.options.tooltipPayloadSearcher,Vc=e=&gt;e.tooltip;function xS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function yS(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?xS(Object(t),!0).forEach(function(n){nY(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function nY(e,r,t){return(r=iY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function iY(e){var r=sY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function sY(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function aY(e,r){return e??r}var eA=(e,r,t,n,o,i,a)=&gt;{if(!(r==null||i==null)){var{chartData:u,computedData:l,dataStartIndex:s,dataEndIndex:d}=t,f=[];return e.reduce((h,m)=&gt;{var p,{dataDefinedOnItem:b,settings:g}=m,y=aY(b,u),v=Array.isArray(y)?M7(y,s,d):y,_=(p=g?.dataKey)!==null&amp;&amp;p!==void 0?p:n,C=g?.nameKey,O;if(n&amp;&amp;Array.isArray(v)&amp;&amp;!Array.isArray(v[0])&amp;&amp;a===&quot;axis&quot;?O=FC(v,n,o):O=i(v,r,l,C),Array.isArray(O))O.forEach(V=&gt;{var F=yS(yS({},g),{},{name:V.name,unit:V.unit,color:void 0,fill:void 0});h.push(_j({tooltipEntrySettings:F,dataKey:V.dataKey,payload:V.payload,value:Gr(V.payload,V.dataKey),name:V.name}))});else{var T;h.push(_j({tooltipEntrySettings:g,dataKey:_,payload:O,value:Gr(O,_),name:(T=Gr(O,C))!==null&amp;&amp;T!==void 0?T:g?.name}))}return h},f)}},G2=Pe([on,ir,c9,O2,an],O9),oY=Pe([e=&gt;e.graphicalItems.cartesianItems,e=&gt;e.graphicalItems.polarItems],(e,r)=&gt;[...e,...r]),lY=Pe([an,$c],u9),qc=Pe([oY,on,lY],d9,{memoizeOptions:{resultEqualityCheck:m0}}),cY=Pe([qc],e=&gt;e.filter(f0)),uY=Pe([qc],m9,{memoizeOptions:{resultEqualityCheck:m0}}),Hc=Pe([uY,_a],p9),dY=Pe([cY,_a,on],a9),Y2=Pe([Hc,on,qc],g9),tA=Pe([on],z2),fY=Pe([on],e=&gt;e.allowDataOverflow),rA=Pe([tA,fY],LE),hY=Pe([qc],e=&gt;e.filter(f0)),mY=Pe([dY,hY,l0,JE],x9),pY=Pe([mY,_a,an,rA],y9),gY=Pe([qc],h9),bY=Pe([Hc,on,gY,$2,an],_9,{memoizeOptions:{resultEqualityCheck:h0}}),xY=Pe([j9,an,$c],Uc),yY=Pe([xY,an],N9),vY=Pe([S9,an,$c],Uc),wY=Pe([vY,an],C9),_Y=Pe([k9,an,$c],Uc),jY=Pe([_Y,an],E9),SY=Pe([yY,jY,wY],op),kY=Pe([on,tA,rA,pY,bY,SY,ir,an],A9),Hd=Pe([on,ir,Hc,Y2,l0,an,kY],M9),NY=Pe([Hd,on,G2],P9),CY=Pe([on,Hd,NY,an],T9),nA=e=&gt;{var r=an(e),t=$c(e),n=!1;return Vd(e,r,t,n)},iA=Pe([on,nA],c0),sA=Pe([on,G2,CY,iA],V2),EY=Pe([ir,Y2,on,an],z9),AY=Pe([ir,Y2,on,an],$9),MY=(e,r,t,n,o,i,a,u)=&gt;{if(r){var{type:l}=r,s=wo(e,u);if(n){var d=t===&quot;scaleBand&quot;&amp;&amp;n.bandwidth?n.bandwidth()/2:2,f=l===&quot;category&quot;&amp;&amp;n.bandwidth?n.bandwidth()/d:0;return f=u===&quot;angleAxis&quot;&amp;&amp;o!=null&amp;&amp;o?.length&gt;=2?li(o[0]-o[1])*2*f:f,s&amp;&amp;a?a.map((h,m)=&gt;({coordinate:n(h)+f,value:h,index:m,offset:f})):n.domain().map((h,m)=&gt;({coordinate:n(h)+f,value:i?i[h]:h,index:m,offset:f}))}}},ka=Pe([ir,on,G2,sA,nA,EY,AY,an],MY),Z2=Pe([V9,q9,BG],(e,r,t)=&gt;H9(t.shared,e,r)),aA=e=&gt;e.tooltip.settings.trigger,Q2=e=&gt;e.tooltip.settings.defaultIndex,Wd=Pe([Vc,Z2,aA,Q2],Z9),_l=Pe([Wd,Hc,$d,Hd],X2),oA=Pe([ka,_l],W9),lA=Pe([Wd],e=&gt;{if(e)return e.dataKey});Pe([Wd],e=&gt;{if(e)return e.graphicalItemId});var cA=Pe([Vc,Z2,aA,Q2],J9),OY=Pe([ya,va,ir,yn,ka,Q2,cA,qd],Q9),PY=Pe([Wd,OY],(e,r)=&gt;e!=null&amp;&amp;e.coordinate?e.coordinate:r),TY=Pe([Wd],e=&gt;{var r;return(r=e?.active)!==null&amp;&amp;r!==void 0?r:!1}),IY=Pe([cA,_l,_a,$d,oA,qd,Z2],eA),RY=Pe([IY],e=&gt;{if(e!=null){var r=e.map(t=&gt;t.payload).filter(t=&gt;t!=null);return Array.from(new Set(r))}});function vS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function wS(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?vS(Object(t),!0).forEach(function(n){DY(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function DY(e,r,t){return(r=LY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function LY(e){var r=FY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function FY(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var BY=()=&gt;yt(on),zY=()=&gt;{var e=BY(),r=yt(ka),t=yt(sA);return kc(!e||!t?void 0:wS(wS({},e),{},{scale:t}),r)};function _S(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function lc(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?_S(Object(t),!0).forEach(function(n){$Y(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_S(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function $Y(e,r,t){return(r=UY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function UY(e){var r=VY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function VY(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var qY=(e,r,t,n)=&gt;{var o=r.find(i=&gt;i&amp;&amp;i.index===t);if(o){if(e===&quot;horizontal&quot;)return{x:o.coordinate,y:n.chartY};if(e===&quot;vertical&quot;)return{x:n.chartX,y:o.coordinate}}return{x:0,y:0}},HY=(e,r,t,n)=&gt;{var o=r.find(s=&gt;s&amp;&amp;s.index===t);if(o){if(e===&quot;centric&quot;){var i=o.coordinate,{radius:a}=n;return lc(lc(lc({},n),An(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var u=o.coordinate,{angle:l}=n;return lc(lc(lc({},n),An(n.cx,n.cy,u,l)),{},{angle:l,radius:u})}return{angle:0,clockWise:!1,cx:0,cy:0,endAngle:0,innerRadius:0,outerRadius:0,radius:0,startAngle:0,x:0,y:0}};function WY(e,r){var{chartX:t,chartY:n}=e;return t&gt;=r.left&amp;&amp;t&lt;=r.left+r.width&amp;&amp;n&gt;=r.top&amp;&amp;n&lt;=r.top+r.height}var uA=(e,r,t,n,o)=&gt;{var i,a=(i=r?.length)!==null&amp;&amp;i!==void 0?i:0;if(a&lt;=1||e==null)return 0;if(n===&quot;angleAxis&quot;&amp;&amp;o!=null&amp;&amp;Math.abs(Math.abs(o[1]-o[0])-360)&lt;=1e-6)for(var u=0;u&lt;a;u++){var l,s,d,f,h,m=u&gt;0?(l=t[u-1])===null||l===void 0?void 0:l.coordinate:(s=t[a-1])===null||s===void 0?void 0:s.coordinate,p=(d=t[u])===null||d===void 0?void 0:d.coordinate,b=u&gt;=a-1?(f=t[0])===null||f===void 0?void 0:f.coordinate:(h=t[u+1])===null||h===void 0?void 0:h.coordinate,g=void 0;if(!(m==null||p==null||b==null))if(li(p-m)!==li(b-p)){var y=[];if(li(b-p)===li(o[1]-o[0])){g=b;var v=p+o[1]-o[0];y[0]=Math.min(v,(v+m)/2),y[1]=Math.max(v,(v+m)/2)}else{g=m;var _=b+o[1]-o[0];y[0]=Math.min(p,(_+p)/2),y[1]=Math.max(p,(_+p)/2)}var C=[Math.min(p,(g+p)/2),Math.max(p,(g+p)/2)];if(e&gt;C[0]&amp;&amp;e&lt;=C[1]||e&gt;=y[0]&amp;&amp;e&lt;=y[1]){var O;return(O=t[u])===null||O===void 0?void 0:O.index}}else{var T=Math.min(m,b),V=Math.max(m,b);if(e&gt;(T+p)/2&amp;&amp;e&lt;=(V+p)/2){var F;return(F=t[u])===null||F===void 0?void 0:F.index}}}else if(r)for(var H=0;H&lt;a;H++){var W=r[H];if(W!=null){var K=r[H+1],$=r[H-1];if(H===0&amp;&amp;K!=null&amp;&amp;e&lt;=(W.coordinate+K.coordinate)/2||H===a-1&amp;&amp;$!=null&amp;&amp;e&gt;(W.coordinate+$.coordinate)/2||H&gt;0&amp;&amp;H&lt;a-1&amp;&amp;$!=null&amp;&amp;K!=null&amp;&amp;e&gt;(W.coordinate+$.coordinate)/2&amp;&amp;e&lt;=(W.coordinate+K.coordinate)/2)return W.index}}return-1},KY=()=&gt;yt(O2),J2=(e,r)=&gt;r,dA=(e,r,t)=&gt;t,ew=(e,r,t,n)=&gt;n,XY=Pe(ka,e=&gt;Tp(e,r=&gt;r.coordinate)),tw=Pe([Vc,J2,dA,ew],Z9),rw=Pe([tw,Hc,$d,Hd],X2),GY=(e,r,t)=&gt;{if(r!=null){var n=Vc(e);return r===&quot;axis&quot;?t===&quot;hover&quot;?n.axisInteraction.hover.dataKey:n.axisInteraction.click.dataKey:t===&quot;hover&quot;?n.itemInteraction.hover.dataKey:n.itemInteraction.click.dataKey}},fA=Pe([Vc,J2,dA,ew],J9),lp=Pe([ya,va,ir,yn,ka,ew,fA,qd],Q9),YY=Pe([tw,lp],(e,r)=&gt;{var t;return(t=e.coordinate)!==null&amp;&amp;t!==void 0?t:r}),hA=Pe([ka,rw],W9),ZY=Pe([fA,rw,_a,$d,hA,qd,J2],eA),QY=Pe([tw,rw],(e,r)=&gt;({isActive:e.active&amp;&amp;r!=null,activeIndex:r})),JY=(e,r,t,n,o,i,a)=&gt;{if(!(!e||!t||!n||!o)&amp;&amp;WY(e,a)){var u=mV(e,r),l=uA(u,i,o,t,n),s=qY(r,o,l,e);return{activeIndex:String(l),activeCoordinate:s}}},eZ=(e,r,t,n,o,i,a)=&gt;{if(!(!e||!n||!o||!i||!t)){var u=LH(e,t);if(u){var l=pV(u,r),s=uA(l,a,i,n,o),d=HY(r,i,s,u);return{activeIndex:String(s),activeCoordinate:d}}}},tZ=(e,r,t,n,o,i,a,u)=&gt;{if(!(!e||!r||!n||!o||!i))return r===&quot;horizontal&quot;||r===&quot;vertical&quot;?JY(e,r,n,o,i,a,u):eZ(e,r,t,n,o,i,a)},rZ=Pe(e=&gt;e.zIndex.zIndexMap,(e,r)=&gt;r,(e,r,t)=&gt;t,(e,r,t)=&gt;{if(r!=null){var n=e[r];if(n!=null)return t?n.panoramaElement:n.element}}),nZ=Pe(e=&gt;e.zIndex.zIndexMap,e=&gt;{var r=Object.keys(e).map(n=&gt;parseInt(n,10)).concat(Object.values(xn)),t=Array.from(new Set(r));return t.sort((n,o)=&gt;n-o)},{memoizeOptions:{resultEqualityCheck:zX}});function jS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function SS(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?jS(Object(t),!0).forEach(function(n){iZ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function iZ(e,r,t){return(r=sZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function sZ(e){var r=aZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function aZ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var oZ={},lZ={zIndexMap:Object.values(xn).reduce((e,r)=&gt;SS(SS({},e),{},{[r]:{element:void 0,panoramaElement:void 0,consumers:0}}),oZ)},cZ=new Set(Object.values(xn));function uZ(e){return cZ.has(e)}var mA=di({name:&quot;zIndex&quot;,initialState:lZ,reducers:{registerZIndexPortal:{reducer:(e,r)=&gt;{var{zIndex:t}=r.payload;e.zIndexMap[t]?e.zIndexMap[t].consumers+=1:e.zIndexMap[t]={consumers:1,element:void 0,panoramaElement:void 0}},prepare:Er()},unregisterZIndexPortal:{reducer:(e,r)=&gt;{var{zIndex:t}=r.payload;e.zIndexMap[t]&amp;&amp;(e.zIndexMap[t].consumers-=1,e.zIndexMap[t].consumers&lt;=0&amp;&amp;!uZ(t)&amp;&amp;delete e.zIndexMap[t])},prepare:Er()},registerZIndexPortalElement:{reducer:(e,r)=&gt;{var{zIndex:t,element:n,isPanorama:o}=r.payload;e.zIndexMap[t]?o?e.zIndexMap[t].panoramaElement=n:e.zIndexMap[t].element=n:e.zIndexMap[t]={consumers:0,element:o?void 0:n,panoramaElement:o?n:void 0}},prepare:Er()},unregisterZIndexPortalElement:{reducer:(e,r)=&gt;{var{zIndex:t}=r.payload;e.zIndexMap[t]&amp;&amp;(r.payload.isPanorama?e.zIndexMap[t].panoramaElement=void 0:e.zIndexMap[t].element=void 0)},prepare:Er()}}}),{registerZIndexPortal:dZ,unregisterZIndexPortal:fZ,registerZIndexPortalElement:hZ,unregisterZIndexPortalElement:mZ}=mA.actions,pZ=mA.reducer;function Gi(e){var{zIndex:r,children:t}=e,n=XV(),o=n&amp;&amp;r!==void 0&amp;&amp;r!==0,i=Bn(),a=Dr();L.useLayoutEffect(()=&gt;o?(a(dZ({zIndex:r})),()=&gt;{a(fZ({zIndex:r}))}):Md,[a,r,o]);var u=yt(l=&gt;rZ(l,r,i));return o?u?xp.createPortal(t,u):null:t}function Tv(){return Tv=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Tv.apply(null,arguments)}function kS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Wh(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?kS(Object(t),!0).forEach(function(n){gZ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function gZ(e,r,t){return(r=bZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function bZ(e){var r=xZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function xZ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function yZ(e){var{cursor:r,cursorComp:t,cursorProps:n}=e;return L.isValidElement(r)?L.cloneElement(r,n):L.createElement(t,n)}function vZ(e){var r,{coordinate:t,payload:n,index:o,offset:i,tooltipAxisBandSize:a,layout:u,cursor:l,tooltipEventType:s,chartName:d}=e,f=t,h=n,m=o;if(!l||!f||d!==&quot;ScatterChart&quot;&amp;&amp;s!==&quot;axis&quot;)return null;var p,b,g;if(d===&quot;ScatterChart&quot;)p=f,b=Yq,g=xn.cursorLine;else if(d===&quot;BarChart&quot;)p=Zq(u,f,i,a),b=Q7,g=xn.cursorRectangle;else if(u===&quot;radial&quot;&amp;&amp;zC(f)){var{cx:y,cy:v,radius:_,startAngle:C,endAngle:O}=J7(f);p={cx:y,cy:v,startAngle:C,endAngle:O,innerRadius:_,outerRadius:_},b=tE,g=xn.cursorLine}else p={points:$H(u,f,i)},b=K7,g=xn.cursorLine;var T=typeof l==&quot;object&quot;&amp;&amp;&quot;className&quot;in l?l.className:void 0,V=Wh(Wh(Wh(Wh({stroke:&quot;#ccc&quot;,pointerEvents:&quot;none&quot;},i),p),Ed(l)),{},{payload:h,payloadIndex:m,className:cr(&quot;recharts-tooltip-cursor&quot;,T)});return L.createElement(Gi,{zIndex:(r=e.zIndex)!==null&amp;&amp;r!==void 0?r:g},L.createElement(yZ,{cursor:l,cursorComp:b,cursorProps:V}))}function wZ(e){var r=zY(),t=F7(),n=Lc(),o=KY();return r==null||t==null||n==null||o==null?null:L.createElement(vZ,Tv({},e,{offset:t,layout:n,tooltipAxisBandSize:r,chartName:o}))}var pA=L.createContext(null),_Z=()=&gt;L.useContext(pA),$x={exports:{}},NS;function jZ(){return NS||(NS=1,(function(e){var r=Object.prototype.hasOwnProperty,t=&quot;~&quot;;function n(){}Object.create&amp;&amp;(n.prototype=Object.create(null),new n().__proto__||(t=!1));function o(l,s,d){this.fn=l,this.context=s,this.once=d||!1}function i(l,s,d,f,h){if(typeof d!=&quot;function&quot;)throw new TypeError(&quot;The listener must be a function&quot;);var m=new o(d,f||l,h),p=t?t+s:s;return l._events[p]?l._events[p].fn?l._events[p]=[l._events[p],m]:l._events[p].push(m):(l._events[p]=m,l._eventsCount++),l}function a(l,s){--l._eventsCount===0?l._events=new n:delete l._events[s]}function u(){this._events=new n,this._eventsCount=0}u.prototype.eventNames=function(){var s=[],d,f;if(this._eventsCount===0)return s;for(f in d=this._events)r.call(d,f)&amp;&amp;s.push(t?f.slice(1):f);return Object.getOwnPropertySymbols?s.concat(Object.getOwnPropertySymbols(d)):s},u.prototype.listeners=function(s){var d=t?t+s:s,f=this._events[d];if(!f)return[];if(f.fn)return[f.fn];for(var h=0,m=f.length,p=new Array(m);h&lt;m;h++)p[h]=f[h].fn;return p},u.prototype.listenerCount=function(s){var d=t?t+s:s,f=this._events[d];return f?f.fn?1:f.length:0},u.prototype.emit=function(s,d,f,h,m,p){var b=t?t+s:s;if(!this._events[b])return!1;var g=this._events[b],y=arguments.length,v,_;if(g.fn){switch(g.once&amp;&amp;this.removeListener(s,g.fn,void 0,!0),y){case 1:return g.fn.call(g.context),!0;case 2:return g.fn.call(g.context,d),!0;case 3:return g.fn.call(g.context,d,f),!0;case 4:return g.fn.call(g.context,d,f,h),!0;case 5:return g.fn.call(g.context,d,f,h,m),!0;case 6:return g.fn.call(g.context,d,f,h,m,p),!0}for(_=1,v=new Array(y-1);_&lt;y;_++)v[_-1]=arguments[_];g.fn.apply(g.context,v)}else{var C=g.length,O;for(_=0;_&lt;C;_++)switch(g[_].once&amp;&amp;this.removeListener(s,g[_].fn,void 0,!0),y){case 1:g[_].fn.call(g[_].context);break;case 2:g[_].fn.call(g[_].context,d);break;case 3:g[_].fn.call(g[_].context,d,f);break;case 4:g[_].fn.call(g[_].context,d,f,h);break;default:if(!v)for(O=1,v=new Array(y-1);O&lt;y;O++)v[O-1]=arguments[O];g[_].fn.apply(g[_].context,v)}}return!0},u.prototype.on=function(s,d,f){return i(this,s,d,f,!1)},u.prototype.once=function(s,d,f){return i(this,s,d,f,!0)},u.prototype.removeListener=function(s,d,f,h){var m=t?t+s:s;if(!this._events[m])return this;if(!d)return a(this,m),this;var p=this._events[m];if(p.fn)p.fn===d&amp;&amp;(!h||p.once)&amp;&amp;(!f||p.context===f)&amp;&amp;a(this,m);else{for(var b=0,g=[],y=p.length;b&lt;y;b++)(p[b].fn!==d||h&amp;&amp;!p[b].once||f&amp;&amp;p[b].context!==f)&amp;&amp;g.push(p[b]);g.length?this._events[m]=g.length===1?g[0]:g:a(this,m)}return this},u.prototype.removeAllListeners=function(s){var d;return s?(d=t?t+s:s,this._events[d]&amp;&amp;a(this,d)):(this._events=new n,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=t,u.EventEmitter=u,e.exports=u})($x)),$x.exports}var SZ=jZ();const kZ=bs(SZ);var wd=new kZ,Iv=&quot;recharts.syncEvent.tooltip&quot;,CS=&quot;recharts.syncEvent.brush&quot;;function gA(e,r){if(r){var t=Number.parseInt(r,10);if(!ms(t))return e?.[t]}}var NZ={chartName:&quot;&quot;,tooltipPayloadSearcher:void 0,eventEmitter:void 0,defaultTooltipEventType:&quot;axis&quot;},bA=di({name:&quot;options&quot;,initialState:NZ,reducers:{createEventEmitter:e=&gt;{e.eventEmitter==null&amp;&amp;(e.eventEmitter=Symbol(&quot;rechartsEventEmitter&quot;))}}}),CZ=bA.reducer,{createEventEmitter:EZ}=bA.actions;function AZ(e){return e.tooltip.syncInteraction}var MZ={chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},xA=di({name:&quot;chartData&quot;,initialState:MZ,reducers:{setChartData(e,r){if(e.chartData=r.payload,r.payload==null){e.dataStartIndex=0,e.dataEndIndex=0;return}r.payload.length&gt;0&amp;&amp;e.dataEndIndex!==r.payload.length-1&amp;&amp;(e.dataEndIndex=r.payload.length-1)},setComputedData(e,r){e.computedData=r.payload},setDataStartEndIndexes(e,r){var{startIndex:t,endIndex:n}=r.payload;t!=null&amp;&amp;(e.dataStartIndex=t),n!=null&amp;&amp;(e.dataEndIndex=n)}}}),{setChartData:ES,setDataStartEndIndexes:OZ,setComputedData:bse}=xA.actions,PZ=xA.reducer,TZ=[&quot;x&quot;,&quot;y&quot;];function AS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function cc(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?AS(Object(t),!0).forEach(function(n){IZ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):AS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function IZ(e,r,t){return(r=RZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function RZ(e){var r=DZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function DZ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function LZ(e,r){if(e==null)return{};var t,n,o=FZ(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function FZ(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function BZ(){var e=yt(P2),r=yt(T2),t=Dr(),n=yt(e9),o=yt(ka),i=Lc(),a=Xp(),u=yt(l=&gt;l.rootProps.className);L.useEffect(()=&gt;{if(e==null)return Md;var l=(s,d,f)=&gt;{if(r!==f&amp;&amp;e===s){if(n===&quot;index&quot;){var h;if(a&amp;&amp;d!==null&amp;&amp;d!==void 0&amp;&amp;(h=d.payload)!==null&amp;&amp;h!==void 0&amp;&amp;h.coordinate&amp;&amp;d.payload.sourceViewBox){var m=d.payload.coordinate,{x:p,y:b}=m,g=LZ(m,TZ),{x:y,y:v,width:_,height:C}=d.payload.sourceViewBox,O=cc(cc({},g),{},{x:a.x+(_?(p-y)/_:0)*a.width,y:a.y+(C?(b-v)/C:0)*a.height});t(cc(cc({},d),{},{payload:cc(cc({},d.payload),{},{coordinate:O})}))}else t(d);return}if(o!=null){var T;if(typeof n==&quot;function&quot;){var V={activeTooltipIndex:d.payload.index==null?void 0:Number(d.payload.index),isTooltipActive:d.payload.active,activeIndex:d.payload.index==null?void 0:Number(d.payload.index),activeLabel:d.payload.label,activeDataKey:d.payload.dataKey,activeCoordinate:d.payload.coordinate},F=n(o,V);T=o[F]}else n===&quot;value&quot;&amp;&amp;(T=o.find(j=&gt;String(j.value)===d.payload.label));var{coordinate:H}=d.payload;if(T==null||d.payload.active===!1||H==null||a==null){t(Ov({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}var{x:W,y:K}=H,$=Math.min(W,a.x+a.width),P=Math.min(K,a.y+a.height),D={x:i===&quot;horizontal&quot;?T.coordinate:$,y:i===&quot;horizontal&quot;?P:T.coordinate},E=Ov({active:d.payload.active,coordinate:D,dataKey:d.payload.dataKey,index:String(T.index),label:d.payload.label,sourceViewBox:d.payload.sourceViewBox,graphicalItemId:d.payload.graphicalItemId});t(E)}}};return wd.on(Iv,l),()=&gt;{wd.off(Iv,l)}},[u,t,r,e,n,o,i,a])}function zZ(){var e=yt(P2),r=yt(T2),t=Dr();L.useEffect(()=&gt;{if(e==null)return Md;var n=(o,i,a)=&gt;{r!==a&amp;&amp;e===o&amp;&amp;t(OZ(i))};return wd.on(CS,n),()=&gt;{wd.off(CS,n)}},[t,r,e])}function $Z(){var e=Dr();L.useEffect(()=&gt;{e(EZ())},[e]),BZ(),zZ()}function UZ(e,r,t,n,o,i){var a=yt(m=&gt;GY(m,e,r)),u=yt(T2),l=yt(P2),s=yt(e9),d=yt(AZ),f=d?.active,h=Xp();L.useEffect(()=&gt;{if(!f&amp;&amp;l!=null&amp;&amp;u!=null){var m=Ov({active:i,coordinate:t,dataKey:a,index:o,label:typeof n==&quot;number&quot;?String(n):n,sourceViewBox:h,graphicalItemId:void 0});wd.emit(Iv,l,m,u)}},[f,t,a,o,n,u,l,s,i,h])}function MS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function OS(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?MS(Object(t),!0).forEach(function(n){VZ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):MS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function VZ(e,r,t){return(r=qZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function qZ(e){var r=HZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function HZ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function WZ(e){return e.dataKey}function KZ(e,r){return L.isValidElement(e)?L.cloneElement(e,r):typeof e==&quot;function&quot;?L.createElement(e,r):L.createElement(Aq,r)}var PS=[],XZ={allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:&quot;ease&quot;,axisId:0,contentStyle:{},cursor:!0,filterNull:!0,includeHidden:!1,isAnimationActive:&quot;auto&quot;,itemSorter:&quot;name&quot;,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:&quot; : &quot;,trigger:&quot;hover&quot;,useTranslate3d:!1,wrapperStyle:{}};function Ux(e){var r,t,n=Mn(e,XZ),{active:o,allowEscapeViewBox:i,animationDuration:a,animationEasing:u,content:l,filterNull:s,isAnimationActive:d,offset:f,payloadUniqBy:h,position:m,reverseDirection:p,useTranslate3d:b,wrapperStyle:g,cursor:y,shared:v,trigger:_,defaultIndex:C,portal:O,axisId:T}=n,V=Dr(),F=typeof C==&quot;number&quot;?String(C):C;L.useEffect(()=&gt;{V(qG({shared:v,trigger:_,axisId:T,active:o,defaultIndex:F}))},[V,v,_,T,o,F]);var H=Xp(),W=W7(),K=FG(v),{activeIndex:$,isActive:P}=(r=yt(ee=&gt;QY(ee,K,_,F)))!==null&amp;&amp;r!==void 0?r:{},D=yt(ee=&gt;ZY(ee,K,_,F)),E=yt(ee=&gt;hA(ee,K,_,F)),j=yt(ee=&gt;YY(ee,K,_,F)),k=D,S=_Z(),N=(t=o??P)!==null&amp;&amp;t!==void 0?t:!1,[M,R]=e7([k,N]),B=K===&quot;axis&quot;?E:void 0;UZ(K,_,j,B,$,N);var Y=O??S;if(Y==null||H==null||K==null)return null;var Z=k??PS;N||(Z=PS),s&amp;&amp;Z.length&amp;&amp;(Z=GC(Z.filter(ee=&gt;ee.value!=null&amp;&amp;(ee.hide!==!0||n.includeHidden)),h,WZ));var ie=Z.length&gt;0,U=L.createElement(Dq,{allowEscapeViewBox:i,animationDuration:a,animationEasing:u,isAnimationActive:d,active:N,coordinate:j,hasPayload:ie,offset:f,position:m,reverseDirection:p,useTranslate3d:b,viewBox:H,wrapperStyle:g,lastBoundingBox:M,innerRef:R,hasPortalFromProps:!!O},KZ(l,OS(OS({},n),{},{payload:Z,label:B,active:N,activeIndex:$,coordinate:j,accessibilityLayer:W})));return L.createElement(L.Fragment,null,xp.createPortal(U,Y),N&amp;&amp;L.createElement(wZ,{cursor:y,tooltipEventType:K,coordinate:j,payload:Z,index:$}))}var yA=e=&gt;null;yA.displayName=&quot;Cell&quot;;function GZ(e,r,t){return(r=YZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function YZ(e){var r=ZZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function ZZ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}class QZ{constructor(r){GZ(this,&quot;cache&quot;,new Map),this.maxSize=r}get(r){var t=this.cache.get(r);return t!==void 0&amp;&amp;(this.cache.delete(r),this.cache.set(r,t)),t}set(r,t){if(this.cache.has(r))this.cache.delete(r);else if(this.cache.size&gt;=this.maxSize){var n=this.cache.keys().next().value;n!=null&amp;&amp;this.cache.delete(n)}this.cache.set(r,t)}clear(){this.cache.clear()}size(){return this.cache.size}}function TS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function JZ(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?TS(Object(t),!0).forEach(function(n){eQ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):TS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function eQ(e,r,t){return(r=tQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function tQ(e){var r=rQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function rQ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var nQ={cacheSize:2e3,enableCache:!0},vA=JZ({},nQ),IS=new QZ(vA.cacheSize),iQ={position:&quot;absolute&quot;,top:&quot;-20000px&quot;,left:0,padding:0,margin:0,border:&quot;none&quot;,whiteSpace:&quot;pre&quot;},RS=&quot;recharts_measurement_span&quot;;function sQ(e,r){var t=r.fontSize||&quot;&quot;,n=r.fontFamily||&quot;&quot;,o=r.fontWeight||&quot;&quot;,i=r.fontStyle||&quot;&quot;,a=r.letterSpacing||&quot;&quot;,u=r.textTransform||&quot;&quot;;return&quot;&quot;.concat(e,&quot;|&quot;).concat(t,&quot;|&quot;).concat(n,&quot;|&quot;).concat(o,&quot;|&quot;).concat(i,&quot;|&quot;).concat(a,&quot;|&quot;).concat(u)}var DS=(e,r)=&gt;{try{var t=document.getElementById(RS);t||(t=document.createElement(&quot;span&quot;),t.setAttribute(&quot;id&quot;,RS),t.setAttribute(&quot;aria-hidden&quot;,&quot;true&quot;),document.body.appendChild(t)),Object.assign(t.style,iQ,r),t.textContent=&quot;&quot;.concat(e);var n=t.getBoundingClientRect();return{width:n.width,height:n.height}}catch{return{width:0,height:0}}},Yu=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};if(r==null||Jp.isSsr)return{width:0,height:0};if(!vA.enableCache)return DS(r,t);var n=sQ(r,t),o=IS.get(n);if(o)return o;var i=DS(r,t);return IS.set(n,i),i},wA;function aQ(e,r,t){return(r=oQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function oQ(e){var r=lQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function lQ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var LS=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,FS=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,cQ=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,uQ=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,dQ={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},fQ=[&quot;cm&quot;,&quot;mm&quot;,&quot;pt&quot;,&quot;pc&quot;,&quot;in&quot;,&quot;Q&quot;,&quot;px&quot;];function hQ(e){return fQ.includes(e)}var bc=&quot;NaN&quot;;function mQ(e,r){return e*dQ[r]}class Nn{static parse(r){var t,[,n,o]=(t=uQ.exec(r))!==null&amp;&amp;t!==void 0?t:[];return n==null?Nn.NaN:new Nn(parseFloat(n),o??&quot;&quot;)}constructor(r,t){this.num=r,this.unit=t,this.num=r,this.unit=t,ms(r)&amp;&amp;(this.unit=&quot;&quot;),t!==&quot;&quot;&amp;&amp;!cQ.test(t)&amp;&amp;(this.num=NaN,this.unit=&quot;&quot;),hQ(t)&amp;&amp;(this.num=mQ(r,t),this.unit=&quot;px&quot;)}add(r){return this.unit!==r.unit?new Nn(NaN,&quot;&quot;):new Nn(this.num+r.num,this.unit)}subtract(r){return this.unit!==r.unit?new Nn(NaN,&quot;&quot;):new Nn(this.num-r.num,this.unit)}multiply(r){return this.unit!==&quot;&quot;&amp;&amp;r.unit!==&quot;&quot;&amp;&amp;this.unit!==r.unit?new Nn(NaN,&quot;&quot;):new Nn(this.num*r.num,this.unit||r.unit)}divide(r){return this.unit!==&quot;&quot;&amp;&amp;r.unit!==&quot;&quot;&amp;&amp;this.unit!==r.unit?new Nn(NaN,&quot;&quot;):new Nn(this.num/r.num,this.unit||r.unit)}toString(){return&quot;&quot;.concat(this.num).concat(this.unit)}isNaN(){return ms(this.num)}}wA=Nn;aQ(Nn,&quot;NaN&quot;,new wA(NaN,&quot;&quot;));function _A(e){if(e==null||e.includes(bc))return bc;for(var r=e;r.includes(&quot;*&quot;)||r.includes(&quot;/&quot;);){var t,[,n,o,i]=(t=LS.exec(r))!==null&amp;&amp;t!==void 0?t:[],a=Nn.parse(n??&quot;&quot;),u=Nn.parse(i??&quot;&quot;),l=o===&quot;*&quot;?a.multiply(u):a.divide(u);if(l.isNaN())return bc;r=r.replace(LS,l.toString())}for(;r.includes(&quot;+&quot;)||/.-\d+(?:\.\d+)?/.test(r);){var s,[,d,f,h]=(s=FS.exec(r))!==null&amp;&amp;s!==void 0?s:[],m=Nn.parse(d??&quot;&quot;),p=Nn.parse(h??&quot;&quot;),b=f===&quot;+&quot;?m.add(p):m.subtract(p);if(b.isNaN())return bc;r=r.replace(FS,b.toString())}return r}var BS=/\(([^()]*)\)/;function pQ(e){for(var r=e,t;(t=BS.exec(r))!=null;){var[,n]=t;r=r.replace(BS,_A(n))}return r}function gQ(e){var r=e.replace(/\s+/g,&quot;&quot;);return r=pQ(r),r=_A(r),r}function bQ(e){try{return gQ(e)}catch{return bc}}function Vx(e){var r=bQ(e.slice(5,-1));return r===bc?&quot;&quot;:r}var xQ=[&quot;x&quot;,&quot;y&quot;,&quot;lineHeight&quot;,&quot;capHeight&quot;,&quot;fill&quot;,&quot;scaleToFit&quot;,&quot;textAnchor&quot;,&quot;verticalAnchor&quot;],yQ=[&quot;dx&quot;,&quot;dy&quot;,&quot;angle&quot;,&quot;className&quot;,&quot;breakAll&quot;];function Rv(){return Rv=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Rv.apply(null,arguments)}function zS(e,r){if(e==null)return{};var t,n,o=vQ(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function vQ(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var jA=/[ \f\n\r\t\v\u2028\u2029]+/,SA=e=&gt;{var{children:r,breakAll:t,style:n}=e;try{var o=[];Mr(r)||(t?o=r.toString().split(&quot;&quot;):o=r.toString().split(jA));var i=o.map(u=&gt;({word:u,width:Yu(u,n).width})),a=t?0:Yu(&quot; &quot;,n).width;return{wordsWithComputedWidth:i,spaceWidth:a}}catch{return null}};function wQ(e){return e===&quot;start&quot;||e===&quot;middle&quot;||e===&quot;end&quot;||e===&quot;inherit&quot;}var kA=(e,r,t,n)=&gt;e.reduce((o,i)=&gt;{var{word:a,width:u}=i,l=o[o.length-1];if(l&amp;&amp;u!=null&amp;&amp;(r==null||n||l.width+u+t&lt;Number(r)))l.words.push(a),l.width+=u+t;else{var s={words:[a],width:u};o.push(s)}return o},[]),NA=e=&gt;e.reduce((r,t)=&gt;r.width&gt;t.width?r:t),_Q=&quot;…&quot;,$S=(e,r,t,n,o,i,a,u)=&gt;{var l=e.slice(0,r),s=SA({breakAll:t,style:n,children:l+_Q});if(!s)return[!1,[]];var d=kA(s.wordsWithComputedWidth,i,a,u),f=d.length&gt;o||NA(d).width&gt;Number(i);return[f,d]},jQ=(e,r,t,n,o)=&gt;{var{maxLines:i,children:a,style:u,breakAll:l}=e,s=ft(i),d=String(a),f=kA(r,n,t,o);if(!s||o)return f;var h=f.length&gt;i||NA(f).width&gt;Number(n);if(!h)return f;for(var m=0,p=d.length-1,b=0,g;m&lt;=p&amp;&amp;b&lt;=d.length-1;){var y=Math.floor((m+p)/2),v=y-1,[_,C]=$S(d,v,l,u,i,n,t,o),[O]=$S(d,y,l,u,i,n,t,o);if(!_&amp;&amp;!O&amp;&amp;(m=y+1),_&amp;&amp;O&amp;&amp;(p=y-1),!_&amp;&amp;O){g=C;break}b++}return g||f},US=e=&gt;{var r=Mr(e)?[]:e.toString().split(jA);return[{words:r,width:void 0}]},SQ=e=&gt;{var{width:r,scaleToFit:t,children:n,style:o,breakAll:i,maxLines:a}=e;if((r||t)&amp;&amp;!Jp.isSsr){var u,l,s=SA({breakAll:i,children:n,style:o});if(s){var{wordsWithComputedWidth:d,spaceWidth:f}=s;u=d,l=f}else return US(n);return jQ({breakAll:i,children:n,maxLines:a,style:o},u,l,r,!!t)}return US(n)},CA=&quot;#808080&quot;,kQ={angle:0,breakAll:!1,capHeight:&quot;0.71em&quot;,fill:CA,lineHeight:&quot;1em&quot;,scaleToFit:!1,textAnchor:&quot;start&quot;,verticalAnchor:&quot;end&quot;,x:0,y:0},nw=L.forwardRef((e,r)=&gt;{var t=Mn(e,kQ),{x:n,y:o,lineHeight:i,capHeight:a,fill:u,scaleToFit:l,textAnchor:s,verticalAnchor:d}=t,f=zS(t,xQ),h=L.useMemo(()=&gt;SQ({breakAll:f.breakAll,children:f.children,maxLines:f.maxLines,scaleToFit:l,style:f.style,width:f.width}),[f.breakAll,f.children,f.maxLines,l,f.style,f.width]),{dx:m,dy:p,angle:b,className:g,breakAll:y}=f,v=zS(f,yQ);if(!Ts(n)||!Ts(o)||h.length===0)return null;var _=Number(n)+(ft(m)?m:0),C=Number(o)+(ft(p)?p:0);if(!Rr(_)||!Rr(C))return null;var O;switch(d){case&quot;start&quot;:O=Vx(&quot;calc(&quot;.concat(a,&quot;)&quot;));break;case&quot;middle&quot;:O=Vx(&quot;calc(&quot;.concat((h.length-1)/2,&quot; * -&quot;).concat(i,&quot; + (&quot;).concat(a,&quot; / 2))&quot;));break;default:O=Vx(&quot;calc(&quot;.concat(h.length-1,&quot; * -&quot;).concat(i,&quot;)&quot;));break}var T=[];if(l){var V=h[0].width,{width:F}=f;T.push(&quot;scale(&quot;.concat(ft(F)&amp;&amp;ft(V)?F/V:1,&quot;)&quot;))}return b&amp;&amp;T.push(&quot;rotate(&quot;.concat(b,&quot;, &quot;).concat(_,&quot;, &quot;).concat(C,&quot;)&quot;)),T.length&amp;&amp;(v.transform=T.join(&quot; &quot;)),L.createElement(&quot;text&quot;,Rv({},Gn(v),{ref:r,x:_,y:C,className:cr(&quot;recharts-text&quot;,g),textAnchor:s,fill:u.includes(&quot;url&quot;)?CA:u}),h.map((H,W)=&gt;{var K=H.words.join(y?&quot;&quot;:&quot; &quot;);return L.createElement(&quot;tspan&quot;,{x:_,dy:W===0?O:i,key:&quot;&quot;.concat(K,&quot;-&quot;).concat(W)},K)}))});nw.displayName=&quot;Text&quot;;var NQ=[&quot;labelRef&quot;],CQ=[&quot;content&quot;];function VS(e,r){if(e==null)return{};var t,n,o=EQ(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function EQ(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function qS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function qr(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?qS(Object(t),!0).forEach(function(n){AQ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):qS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function AQ(e,r,t){return(r=MQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function MQ(e){var r=OQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function OQ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function ra(){return ra=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},ra.apply(null,arguments)}var EA=L.createContext(null),PQ=e=&gt;{var{x:r,y:t,upperWidth:n,lowerWidth:o,width:i,height:a,children:u}=e,l=L.useMemo(()=&gt;({x:r,y:t,upperWidth:n,lowerWidth:o,width:i,height:a}),[r,t,n,o,i,a]);return L.createElement(EA.Provider,{value:l},u)},AA=()=&gt;{var e=L.useContext(EA),r=Xp();return e||L7(r)},TQ=L.createContext(null),IQ=()=&gt;{var e=L.useContext(TQ),r=yt(s9);return e||r},RQ=e=&gt;{var{value:r,formatter:t}=e,n=Mr(e.children)?r:e.children;return typeof t==&quot;function&quot;?t(n):n},iw=e=&gt;e!=null&amp;&amp;typeof e==&quot;function&quot;,DQ=(e,r)=&gt;{var t=li(r-e),n=Math.min(Math.abs(r-e),360);return t*n},LQ=(e,r,t,n,o)=&gt;{var{offset:i,className:a}=e,{cx:u,cy:l,innerRadius:s,outerRadius:d,startAngle:f,endAngle:h,clockWise:m}=o,p=(s+d)/2,b=DQ(f,h),g=b&gt;=0?1:-1,y,v;switch(r){case&quot;insideStart&quot;:y=f+g*i,v=m;break;case&quot;insideEnd&quot;:y=h-g*i,v=!m;break;case&quot;end&quot;:y=h+g*i,v=m;break;default:throw new Error(&quot;Unsupported position &quot;.concat(r))}v=b&lt;=0?v:!v;var _=An(u,l,p,y),C=An(u,l,p,y+(v?1:-1)*359),O=&quot;M&quot;.concat(_.x,&quot;,&quot;).concat(_.y,`
    A`).concat(p,&quot;,&quot;).concat(p,&quot;,0,1,&quot;).concat(v?0:1,`,
    `).concat(C.x,&quot;,&quot;).concat(C.y),T=Mr(e.id)?ld(&quot;recharts-radial-line-&quot;):e.id;return L.createElement(&quot;text&quot;,ra({},n,{dominantBaseline:&quot;central&quot;,className:cr(&quot;recharts-radial-bar-label&quot;,a)}),L.createElement(&quot;defs&quot;,null,L.createElement(&quot;path&quot;,{id:T,d:O})),L.createElement(&quot;textPath&quot;,{xlinkHref:&quot;#&quot;.concat(T)},t))},FQ=(e,r,t)=&gt;{var{cx:n,cy:o,innerRadius:i,outerRadius:a,startAngle:u,endAngle:l}=e,s=(u+l)/2;if(t===&quot;outside&quot;){var{x:d,y:f}=An(n,o,a+r,s);return{x:d,y:f,textAnchor:d&gt;=n?&quot;start&quot;:&quot;end&quot;,verticalAnchor:&quot;middle&quot;}}if(t===&quot;center&quot;)return{x:n,y:o,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;};if(t===&quot;centerTop&quot;)return{x:n,y:o,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;start&quot;};if(t===&quot;centerBottom&quot;)return{x:n,y:o,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;end&quot;};var h=(i+a)/2,{x:m,y:p}=An(n,o,h,s);return{x:m,y:p,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;}},Dv=e=&gt;&quot;cx&quot;in e&amp;&amp;ft(e.cx),BQ=(e,r)=&gt;{var{parentViewBox:t,offset:n,position:o}=e,i;t!=null&amp;&amp;!Dv(t)&amp;&amp;(i=t);var{x:a,y:u,upperWidth:l,lowerWidth:s,height:d}=r,f=a,h=a+(l-s)/2,m=(f+h)/2,p=(l+s)/2,b=f+l/2,g=d&gt;=0?1:-1,y=g*n,v=g&gt;0?&quot;end&quot;:&quot;start&quot;,_=g&gt;0?&quot;start&quot;:&quot;end&quot;,C=l&gt;=0?1:-1,O=C*n,T=C&gt;0?&quot;end&quot;:&quot;start&quot;,V=C&gt;0?&quot;start&quot;:&quot;end&quot;;if(o===&quot;top&quot;){var F={x:f+l/2,y:u-y,textAnchor:&quot;middle&quot;,verticalAnchor:v};return qr(qr({},F),i?{height:Math.max(u-i.y,0),width:l}:{})}if(o===&quot;bottom&quot;){var H={x:h+s/2,y:u+d+y,textAnchor:&quot;middle&quot;,verticalAnchor:_};return qr(qr({},H),i?{height:Math.max(i.y+i.height-(u+d),0),width:s}:{})}if(o===&quot;left&quot;){var W={x:m-O,y:u+d/2,textAnchor:T,verticalAnchor:&quot;middle&quot;};return qr(qr({},W),i?{width:Math.max(W.x-i.x,0),height:d}:{})}if(o===&quot;right&quot;){var K={x:m+p+O,y:u+d/2,textAnchor:V,verticalAnchor:&quot;middle&quot;};return qr(qr({},K),i?{width:Math.max(i.x+i.width-K.x,0),height:d}:{})}var $=i?{width:p,height:d}:{};return o===&quot;insideLeft&quot;?qr({x:m+O,y:u+d/2,textAnchor:V,verticalAnchor:&quot;middle&quot;},$):o===&quot;insideRight&quot;?qr({x:m+p-O,y:u+d/2,textAnchor:T,verticalAnchor:&quot;middle&quot;},$):o===&quot;insideTop&quot;?qr({x:f+l/2,y:u+y,textAnchor:&quot;middle&quot;,verticalAnchor:_},$):o===&quot;insideBottom&quot;?qr({x:h+s/2,y:u+d-y,textAnchor:&quot;middle&quot;,verticalAnchor:v},$):o===&quot;insideTopLeft&quot;?qr({x:f+O,y:u+y,textAnchor:V,verticalAnchor:_},$):o===&quot;insideTopRight&quot;?qr({x:f+l-O,y:u+y,textAnchor:T,verticalAnchor:_},$):o===&quot;insideBottomLeft&quot;?qr({x:h+O,y:u+d-y,textAnchor:V,verticalAnchor:v},$):o===&quot;insideBottomRight&quot;?qr({x:h+s-O,y:u+d-y,textAnchor:T,verticalAnchor:v},$):o&amp;&amp;typeof o==&quot;object&quot;&amp;&amp;(ft(o.x)||da(o.x))&amp;&amp;(ft(o.y)||da(o.y))?qr({x:a+ps(o.x,p),y:u+ps(o.y,d),textAnchor:&quot;end&quot;,verticalAnchor:&quot;end&quot;},$):qr({x:b,y:u+d/2,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;},$)},zQ={angle:0,offset:5,zIndex:xn.label,position:&quot;middle&quot;,textBreakAll:!1};function to(e){var r=Mn(e,zQ),{viewBox:t,position:n,value:o,children:i,content:a,className:u=&quot;&quot;,textBreakAll:l,labelRef:s}=r,d=IQ(),f=AA(),h=n===&quot;center&quot;?f:d??f,m,p,b;if(t==null?m=h:Dv(t)?m=t:m=L7(t),!m||Mr(o)&amp;&amp;Mr(i)&amp;&amp;!L.isValidElement(a)&amp;&amp;typeof a!=&quot;function&quot;)return null;var g=qr(qr({},r),{},{viewBox:m});if(L.isValidElement(a)){var{labelRef:y}=g,v=VS(g,NQ);return L.cloneElement(a,v)}if(typeof a==&quot;function&quot;){var{content:_}=g,C=VS(g,CQ);if(p=L.createElement(a,C),L.isValidElement(p))return p}else p=RQ(r);var O=Gn(r);if(Dv(m)){if(n===&quot;insideStart&quot;||n===&quot;insideEnd&quot;||n===&quot;end&quot;)return LQ(r,n,p,O,m);b=FQ(m,r.offset,r.position)}else b=BQ(r,m);return L.createElement(Gi,{zIndex:r.zIndex},L.createElement(nw,ra({ref:s,className:cr(&quot;recharts-label&quot;,u)},O,b,{textAnchor:wQ(O.textAnchor)?O.textAnchor:b.textAnchor,breakAll:l}),p))}to.displayName=&quot;Label&quot;;var $Q=(e,r,t)=&gt;{if(!e)return null;var n={viewBox:r,labelRef:t};return e===!0?L.createElement(to,ra({key:&quot;label-implicit&quot;},n)):Ts(e)?L.createElement(to,ra({key:&quot;label-implicit&quot;,value:e},n)):L.isValidElement(e)?e.type===to?L.cloneElement(e,qr({key:&quot;label-implicit&quot;},n)):L.createElement(to,ra({key:&quot;label-implicit&quot;,content:e},n)):iw(e)?L.createElement(to,ra({key:&quot;label-implicit&quot;,content:e},n)):e&amp;&amp;typeof e==&quot;object&quot;?L.createElement(to,ra({},e,{key:&quot;label-implicit&quot;},n)):null};function UQ(e){var{label:r,labelRef:t}=e,n=AA();return $Q(r,n,t)||null}var qx={},Hx={},HS;function VQ(){return HS||(HS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t[t.length-1]}e.last=r})(Hx)),Hx}var Wx={},WS;function qQ(){return WS||(WS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return Array.isArray(t)?t:Array.from(t)}e.toArray=r})(Wx)),Wx}var KS;function HQ(){return KS||(KS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=VQ(),t=qQ(),n=q1();function o(i){if(n.isArrayLike(i))return r.last(t.toArray(i))}e.last=o})(qx)),qx}var Kx,XS;function WQ(){return XS||(XS=1,Kx=HQ().last),Kx}var KQ=WQ();const XQ=bs(KQ);var GQ=[&quot;valueAccessor&quot;],YQ=[&quot;dataKey&quot;,&quot;clockWise&quot;,&quot;id&quot;,&quot;textBreakAll&quot;,&quot;zIndex&quot;];function cp(){return cp=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},cp.apply(null,arguments)}function GS(e,r){if(e==null)return{};var t,n,o=ZQ(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function ZQ(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var QQ=e=&gt;Array.isArray(e.value)?XQ(e.value):e.value,MA=L.createContext(void 0),OA=MA.Provider,PA=L.createContext(void 0);PA.Provider;function JQ(){return L.useContext(MA)}function eJ(){return L.useContext(PA)}function lm(e){var{valueAccessor:r=QQ}=e,t=GS(e,GQ),{dataKey:n,clockWise:o,id:i,textBreakAll:a,zIndex:u}=t,l=GS(t,YQ),s=JQ(),d=eJ(),f=s||d;return!f||!f.length?null:L.createElement(Gi,{zIndex:u??xn.label},L.createElement(Hi,{className:&quot;recharts-label-list&quot;},f.map((h,m)=&gt;{var p,b=Mr(n)?r(h,m):Gr(h&amp;&amp;h.payload,n),g=Mr(i)?{}:{id:&quot;&quot;.concat(i,&quot;-&quot;).concat(m)};return L.createElement(to,cp({key:&quot;label-&quot;.concat(m)},Gn(h),l,g,{fill:(p=t.fill)!==null&amp;&amp;p!==void 0?p:h.fill,parentViewBox:h.parentViewBox,value:b,textBreakAll:a,viewBox:h.viewBox,index:m,zIndex:0}))})))}lm.displayName=&quot;LabelList&quot;;function TA(e){var{label:r}=e;return r?r===!0?L.createElement(lm,{key:&quot;labelList-implicit&quot;}):L.isValidElement(r)||iw(r)?L.createElement(lm,{key:&quot;labelList-implicit&quot;,content:r}):typeof r==&quot;object&quot;?L.createElement(lm,cp({key:&quot;labelList-implicit&quot;},r,{type:String(r.type)})):null:null}function Lv(){return Lv=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Lv.apply(null,arguments)}var IA=e=&gt;{var{cx:r,cy:t,r:n,className:o}=e,i=cr(&quot;recharts-dot&quot;,o);return ft(r)&amp;&amp;ft(t)&amp;&amp;ft(n)?L.createElement(&quot;circle&quot;,Lv({},hs(e),V1(e),{className:i,cx:r,cy:t,r:n})):null},tJ={radiusAxis:{},angleAxis:{}},RA=di({name:&quot;polarAxis&quot;,initialState:tJ,reducers:{addRadiusAxis(e,r){e.radiusAxis[r.payload.id]=r.payload},removeRadiusAxis(e,r){delete e.radiusAxis[r.payload.id]},addAngleAxis(e,r){e.angleAxis[r.payload.id]=r.payload},removeAngleAxis(e,r){delete e.angleAxis[r.payload.id]}}}),{addRadiusAxis:xse,removeRadiusAxis:yse,addAngleAxis:vse,removeAngleAxis:wse}=RA.actions,rJ=RA.reducer,Xx={exports:{}},dr={};var YS;function nJ(){if(YS)return dr;YS=1;var e=Symbol.for(&quot;react.transitional.element&quot;),r=Symbol.for(&quot;react.portal&quot;),t=Symbol.for(&quot;react.fragment&quot;),n=Symbol.for(&quot;react.strict_mode&quot;),o=Symbol.for(&quot;react.profiler&quot;),i=Symbol.for(&quot;react.consumer&quot;),a=Symbol.for(&quot;react.context&quot;),u=Symbol.for(&quot;react.forward_ref&quot;),l=Symbol.for(&quot;react.suspense&quot;),s=Symbol.for(&quot;react.suspense_list&quot;),d=Symbol.for(&quot;react.memo&quot;),f=Symbol.for(&quot;react.lazy&quot;),h=Symbol.for(&quot;react.view_transition&quot;),m=Symbol.for(&quot;react.client.reference&quot;);function p(b){if(typeof b==&quot;object&quot;&amp;&amp;b!==null){var g=b.$$typeof;switch(g){case e:switch(b=b.type,b){case t:case o:case n:case l:case s:case h:return b;default:switch(b=b&amp;&amp;b.$$typeof,b){case a:case u:case f:case d:return b;case i:return b;default:return g}}case r:return g}}}return dr.ContextConsumer=i,dr.ContextProvider=a,dr.Element=e,dr.ForwardRef=u,dr.Fragment=t,dr.Lazy=f,dr.Memo=d,dr.Portal=r,dr.Profiler=o,dr.StrictMode=n,dr.Suspense=l,dr.SuspenseList=s,dr.isContextConsumer=function(b){return p(b)===i},dr.isContextProvider=function(b){return p(b)===a},dr.isElement=function(b){return typeof b==&quot;object&quot;&amp;&amp;b!==null&amp;&amp;b.$$typeof===e},dr.isForwardRef=function(b){return p(b)===u},dr.isFragment=function(b){return p(b)===t},dr.isLazy=function(b){return p(b)===f},dr.isMemo=function(b){return p(b)===d},dr.isPortal=function(b){return p(b)===r},dr.isProfiler=function(b){return p(b)===o},dr.isStrictMode=function(b){return p(b)===n},dr.isSuspense=function(b){return p(b)===l},dr.isSuspenseList=function(b){return p(b)===s},dr.isValidElementType=function(b){return typeof b==&quot;string&quot;||typeof b==&quot;function&quot;||b===t||b===o||b===n||b===l||b===s||typeof b==&quot;object&quot;&amp;&amp;b!==null&amp;&amp;(b.$$typeof===f||b.$$typeof===d||b.$$typeof===a||b.$$typeof===i||b.$$typeof===u||b.$$typeof===m||b.getModuleId!==void 0)},dr.typeOf=p,dr}var ZS;function iJ(){return ZS||(ZS=1,Xx.exports=nJ()),Xx.exports}var sJ=iJ(),QS=e=&gt;typeof e==&quot;string&quot;?e:e?e.displayName||e.name||&quot;Component&quot;:&quot;&quot;,JS=null,Gx=null,DA=e=&gt;{if(e===JS&amp;&amp;Array.isArray(Gx))return Gx;var r=[];return L.Children.forEach(e,t=&gt;{Mr(t)||(sJ.isFragment(t)?r=r.concat(DA(t.props.children)):r.push(t))}),Gx=r,JS=e,r};function aJ(e,r){var t=[],n=[];return Array.isArray(r)?n=r.map(o=&gt;QS(o)):n=[QS(r)],DA(e).forEach(o=&gt;{var i=jc(o,&quot;type.displayName&quot;)||jc(o,&quot;type.name&quot;);i&amp;&amp;n.indexOf(i)!==-1&amp;&amp;t.push(o)}),t}var LA=e=&gt;e&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;&quot;clipDot&quot;in e?!!e.clipDot:!0,Yx={},ek;function oJ(){return ek||(ek=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){if(typeof t!=&quot;object&quot;||t==null)return!1;if(Object.getPrototypeOf(t)===null)return!0;if(Object.prototype.toString.call(t)!==&quot;[object Object]&quot;){const o=t[Symbol.toStringTag];return o==null||!Object.getOwnPropertyDescriptor(t,Symbol.toStringTag)?.writable?!1:t.toString()===`[object ${o}]`}let n=t;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}e.isPlainObject=r})(Yx)),Yx}var Zx,tk;function lJ(){return tk||(tk=1,Zx=oJ().isPlainObject),Zx}var cJ=lJ();const uJ=bs(cJ);var rk,nk,ik,sk,ak;function ok(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function lk(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ok(Object(t),!0).forEach(function(n){dJ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ok(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function dJ(e,r,t){return(r=fJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function fJ(e){var r=hJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function hJ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function up(){return up=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},up.apply(null,arguments)}function Bu(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var ck=(e,r,t,n,o)=&gt;{var i=t-n,a;return a=Br(rk||(rk=Bu([&quot;M &quot;,&quot;,&quot;,&quot;&quot;])),e,r),a+=Br(nk||(nk=Bu([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t,r),a+=Br(ik||(ik=Bu([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-i/2,r+o),a+=Br(sk||(sk=Bu([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-i/2-n,r+o),a+=Br(ak||(ak=Bu([&quot;L &quot;,&quot;,&quot;,&quot; Z&quot;])),e,r),a},mJ={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:&quot;ease&quot;},pJ=e=&gt;{var r=Mn(e,mJ),{x:t,y:n,upperWidth:o,lowerWidth:i,height:a,className:u}=r,{animationEasing:l,animationDuration:s,animationBegin:d,isUpdateAnimationActive:f}=r,h=L.useRef(null),[m,p]=L.useState(-1),b=L.useRef(o),g=L.useRef(i),y=L.useRef(a),v=L.useRef(t),_=L.useRef(n),C=t0(e,&quot;trapezoid-&quot;);if(L.useEffect(()=&gt;{if(h.current&amp;&amp;h.current.getTotalLength)try{var D=h.current.getTotalLength();D&amp;&amp;p(D)}catch{}},[]),t!==+t||n!==+n||o!==+o||i!==+i||a!==+a||o===0&amp;&amp;i===0||a===0)return null;var O=cr(&quot;recharts-trapezoid&quot;,u);if(!f)return L.createElement(&quot;g&quot;,null,L.createElement(&quot;path&quot;,up({},Gn(r),{className:O,d:ck(t,n,o,i,a)})));var T=b.current,V=g.current,F=y.current,H=v.current,W=_.current,K=&quot;0px &quot;.concat(m===-1?1:m,&quot;px&quot;),$=&quot;&quot;.concat(m,&quot;px 0px&quot;),P=X7([&quot;strokeDasharray&quot;],s,l);return L.createElement(e0,{animationId:C,key:C,canBegin:m&gt;0,duration:s,easing:l,isActive:f,begin:d},D=&gt;{var E=zr(T,o,D),j=zr(V,i,D),k=zr(F,a,D),S=zr(H,t,D),N=zr(W,n,D);h.current&amp;&amp;(b.current=E,g.current=j,y.current=k,v.current=S,_.current=N);var M=D&gt;0?{transition:P,strokeDasharray:$}:{strokeDasharray:K};return L.createElement(&quot;path&quot;,up({},Gn(r),{className:O,d:ck(S,N,E,j,k),ref:h,style:lk(lk({},M),r.style)}))})},gJ=[&quot;option&quot;,&quot;shapeType&quot;,&quot;activeClassName&quot;];function bJ(e,r){if(e==null)return{};var t,n,o=xJ(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function xJ(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function uk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function dp(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?uk(Object(t),!0).forEach(function(n){yJ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):uk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function yJ(e,r,t){return(r=vJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function vJ(e){var r=wJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function wJ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function _J(e,r){return dp(dp({},r),e)}function jJ(e,r){return e===&quot;symbols&quot;}function dk(e){var{shapeType:r,elementProps:t}=e;switch(r){case&quot;rectangle&quot;:return L.createElement(Q7,t);case&quot;trapezoid&quot;:return L.createElement(pJ,t);case&quot;sector&quot;:return L.createElement(tE,t);case&quot;symbols&quot;:if(jJ(r))return L.createElement(U1,t);break;case&quot;curve&quot;:return L.createElement(K7,t);default:return null}}function SJ(e){return L.isValidElement(e)?e.props:e}function FA(e){var{option:r,shapeType:t,activeClassName:n=&quot;recharts-active-shape&quot;}=e,o=bJ(e,gJ),i;if(L.isValidElement(r))i=L.cloneElement(r,dp(dp({},o),SJ(r)));else if(typeof r==&quot;function&quot;)i=r(o,o.index);else if(uJ(r)&amp;&amp;typeof r!=&quot;boolean&quot;){var a=_J(r,o);i=L.createElement(dk,{shapeType:t,elementProps:a})}else{var u=o;i=L.createElement(dk,{shapeType:t,elementProps:u})}return o.isActive?L.createElement(Hi,{className:n},i):i}var BA=(e,r,t)=&gt;{var n=Dr();return(o,i)=&gt;a=&gt;{e?.(o,i,a),n(X9({activeIndex:String(i),activeDataKey:r,activeCoordinate:o.tooltipPosition,activeGraphicalItemId:t}))}},zA=e=&gt;{var r=Dr();return(t,n)=&gt;o=&gt;{e?.(t,n,o),r(HG())}},$A=(e,r,t)=&gt;{var n=Dr();return(o,i)=&gt;a=&gt;{e?.(o,i,a),n(WG({activeIndex:String(i),activeDataKey:r,activeCoordinate:o.tooltipPosition,activeGraphicalItemId:t}))}};function UA(e){var{tooltipEntrySettings:r}=e,t=Dr(),n=Bn(),o=L.useRef(null);return L.useLayoutEffect(()=&gt;{n||(o.current===null?t($G(r)):o.current!==r&amp;&amp;t(UG({prev:o.current,next:r})),o.current=r)},[r,t,n]),L.useLayoutEffect(()=&gt;()=&gt;{o.current&amp;&amp;(t(VG(o.current)),o.current=null)},[t]),null}function VA(e){var{legendPayload:r}=e,t=Dr(),n=Bn(),o=L.useRef(null);return L.useLayoutEffect(()=&gt;{n||(o.current===null?t(lq(r)):o.current!==r&amp;&amp;t(cq({prev:o.current,next:r})),o.current=r)},[t,n,r]),L.useLayoutEffect(()=&gt;()=&gt;{o.current&amp;&amp;(t(uq(o.current)),o.current=null)},[t]),null}var Qx,kJ=()=&gt;{var[e]=L.useState(()=&gt;ld(&quot;uid-&quot;));return e},NJ=(Qx=sN.useId)!==null&amp;&amp;Qx!==void 0?Qx:kJ;function CJ(e,r){var t=NJ();return r||(e?&quot;&quot;.concat(e,&quot;-&quot;).concat(t):t)}var EJ=L.createContext(void 0),qA=e=&gt;{var{id:r,type:t,children:n}=e,o=CJ(&quot;recharts-&quot;.concat(t),r);return L.createElement(EJ.Provider,{value:o},n(o))},AJ={cartesianItems:[],polarItems:[]},HA=di({name:&quot;graphicalItems&quot;,initialState:AJ,reducers:{addCartesianGraphicalItem:{reducer(e,r){e.cartesianItems.push(r.payload)},prepare:Er()},replaceCartesianGraphicalItem:{reducer(e,r){var{prev:t,next:n}=r.payload,o=fs(e).cartesianItems.indexOf(t);o&gt;-1&amp;&amp;(e.cartesianItems[o]=n)},prepare:Er()},removeCartesianGraphicalItem:{reducer(e,r){var t=fs(e).cartesianItems.indexOf(r.payload);t&gt;-1&amp;&amp;e.cartesianItems.splice(t,1)},prepare:Er()},addPolarGraphicalItem:{reducer(e,r){e.polarItems.push(r.payload)},prepare:Er()},removePolarGraphicalItem:{reducer(e,r){var t=fs(e).polarItems.indexOf(r.payload);t&gt;-1&amp;&amp;e.polarItems.splice(t,1)},prepare:Er()}}}),{addCartesianGraphicalItem:MJ,replaceCartesianGraphicalItem:OJ,removeCartesianGraphicalItem:PJ,addPolarGraphicalItem:_se,removePolarGraphicalItem:jse}=HA.actions,TJ=HA.reducer,IJ=e=&gt;{var r=Dr(),t=L.useRef(null);return L.useLayoutEffect(()=&gt;{t.current===null?r(MJ(e)):t.current!==e&amp;&amp;r(OJ({prev:t.current,next:e})),t.current=e},[r,e]),L.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(PJ(t.current)),t.current=null)},[r]),null},WA=L.memo(IJ),RJ=[&quot;points&quot;];function fk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Jx(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?fk(Object(t),!0).forEach(function(n){DJ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function DJ(e,r,t){return(r=LJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function LJ(e){var r=FJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function FJ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function fp(){return fp=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},fp.apply(null,arguments)}function BJ(e,r){if(e==null)return{};var t,n,o=zJ(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function zJ(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function $J(e){var{option:r,dotProps:t,className:n}=e;if(L.isValidElement(r))return L.cloneElement(r,t);if(typeof r==&quot;function&quot;)return r(t);var o=cr(n,typeof r!=&quot;boolean&quot;?r.className:&quot;&quot;),i=t??{},{points:a}=i,u=BJ(i,RJ);return L.createElement(IA,fp({},u,{className:o}))}function UJ(e,r){return e==null?!1:r?!0:e.length===1}function VJ(e){var{points:r,dot:t,className:n,dotClassName:o,dataKey:i,baseProps:a,needClip:u,clipPathId:l,zIndex:s=xn.scatter}=e;if(!UJ(r,t))return null;var d=LA(t),f=$B(t),h=r.map((p,b)=&gt;{var g,y,v=Jx(Jx(Jx({r:3},a),f),{},{index:b,cx:(g=p.x)!==null&amp;&amp;g!==void 0?g:void 0,cy:(y=p.y)!==null&amp;&amp;y!==void 0?y:void 0,dataKey:i,value:p.value,payload:p.payload,points:r});return L.createElement($J,{key:&quot;dot-&quot;.concat(b),option:t,dotProps:v,className:o})}),m={};return u&amp;&amp;l!=null&amp;&amp;(m.clipPath=&quot;url(#clipPath-&quot;.concat(d?&quot;&quot;:&quot;dots-&quot;).concat(l,&quot;)&quot;)),L.createElement(Gi,{zIndex:s},L.createElement(Hi,fp({className:n},m),h))}function hk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function mk(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?hk(Object(t),!0).forEach(function(n){qJ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function qJ(e,r,t){return(r=HJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function HJ(e){var r=WJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function WJ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var KA=0,KJ={xAxis:{},yAxis:{},zAxis:{}},XA=di({name:&quot;cartesianAxis&quot;,initialState:KJ,reducers:{addXAxis:{reducer(e,r){e.xAxis[r.payload.id]=r.payload},prepare:Er()},replaceXAxis:{reducer(e,r){var{prev:t,next:n}=r.payload;e.xAxis[t.id]!==void 0&amp;&amp;(t.id!==n.id&amp;&amp;delete e.xAxis[t.id],e.xAxis[n.id]=n)},prepare:Er()},removeXAxis:{reducer(e,r){delete e.xAxis[r.payload.id]},prepare:Er()},addYAxis:{reducer(e,r){e.yAxis[r.payload.id]=r.payload},prepare:Er()},replaceYAxis:{reducer(e,r){var{prev:t,next:n}=r.payload;e.yAxis[t.id]!==void 0&amp;&amp;(t.id!==n.id&amp;&amp;delete e.yAxis[t.id],e.yAxis[n.id]=n)},prepare:Er()},removeYAxis:{reducer(e,r){delete e.yAxis[r.payload.id]},prepare:Er()},addZAxis:{reducer(e,r){e.zAxis[r.payload.id]=r.payload},prepare:Er()},replaceZAxis:{reducer(e,r){var{prev:t,next:n}=r.payload;e.zAxis[t.id]!==void 0&amp;&amp;(t.id!==n.id&amp;&amp;delete e.zAxis[t.id],e.zAxis[n.id]=n)},prepare:Er()},removeZAxis:{reducer(e,r){delete e.zAxis[r.payload.id]},prepare:Er()},updateYAxisWidth(e,r){var{id:t,width:n}=r.payload,o=e.yAxis[t];if(o){var i=o.widthHistory||[];if(i.length===3&amp;&amp;i[0]===i[2]&amp;&amp;n===i[1]&amp;&amp;n!==o.width&amp;&amp;Math.abs(n-i[0])&lt;=1)return;var a=[...i,n].slice(-3);e.yAxis[t]=mk(mk({},e.yAxis[t]),{},{width:n,widthHistory:a})}}}}),{addXAxis:XJ,replaceXAxis:GJ,removeXAxis:YJ,addYAxis:ZJ,replaceYAxis:QJ,removeYAxis:JJ,addZAxis:Sse,replaceZAxis:kse,removeZAxis:Nse,updateYAxisWidth:eee}=XA.actions,tee=XA.reducer,ree=Pe([yn],e=&gt;({top:e.top,bottom:e.bottom,left:e.left,right:e.right})),nee=Pe([ree,ya,va],(e,r,t)=&gt;{if(!(!e||r==null||t==null))return{x:e.left,y:e.top,width:Math.max(0,r-e.left-e.right),height:Math.max(0,t-e.top-e.bottom)}}),sw=()=&gt;yt(nee),iee=()=&gt;yt(RY);function pk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function ey(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?pk(Object(t),!0).forEach(function(n){see(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function see(e,r,t){return(r=aee(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function aee(e){var r=oee(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function oee(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var lee=e=&gt;{var{point:r,childIndex:t,mainColor:n,activeDot:o,dataKey:i,clipPath:a}=e;if(o===!1||r.x==null||r.y==null)return null;var u={index:t,dataKey:i,cx:r.x,cy:r.y,r:4,fill:n??&quot;none&quot;,strokeWidth:2,stroke:&quot;#fff&quot;,payload:r.payload,value:r.value},l=ey(ey(ey({},u),Ed(o)),V1(o)),s;return L.isValidElement(o)?s=L.cloneElement(o,l):typeof o==&quot;function&quot;?s=o(l):s=L.createElement(IA,l),L.createElement(Hi,{className:&quot;recharts-active-dot&quot;,clipPath:a},s)};function cee(e){var{points:r,mainColor:t,activeDot:n,itemDataKey:o,clipPath:i,zIndex:a=xn.activeDot}=e,u=yt(_l),l=iee();if(r==null||l==null)return null;var s=r.find(d=&gt;l.includes(d.payload));return Mr(s)?null:L.createElement(Gi,{zIndex:a},L.createElement(lee,{point:s,childIndex:Number(u),mainColor:t,dataKey:o,activeDot:n,clipPath:i}))}var gk=(e,r,t)=&gt;{var n=t??e;if(!Mr(n))return ps(n,r,0)},uee=(e,r,t)=&gt;{var n={},o=e.filter(f0),i=e.filter(s=&gt;s.stackId==null),a=o.reduce((s,d)=&gt;(s[d.stackId]||(s[d.stackId]=[]),s[d.stackId].push(d),s),n),u=Object.entries(a).map(s=&gt;{var[d,f]=s,h=f.map(p=&gt;p.dataKey),m=gk(r,t,f[0].barSize);return{stackId:d,dataKeys:h,barSize:m}}),l=i.map(s=&gt;{var d=[s.dataKey].filter(h=&gt;h!=null),f=gk(r,t,s.barSize);return{stackId:void 0,dataKeys:d,barSize:f}});return[...u,...l]};function bk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Kh(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?bk(Object(t),!0).forEach(function(n){dee(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):bk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function dee(e,r,t){return(r=fee(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function fee(e){var r=hee(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function hee(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function mee(e,r,t,n,o){var i=n.length;if(!(i&lt;1)){var a=ps(e,t,0,!0),u,l=[];if(Rr(n[0].barSize)){var s=!1,d=t/i,f=n.reduce((y,v)=&gt;y+(v.barSize||0),0);f+=(i-1)*a,f&gt;=t&amp;&amp;(f-=(i-1)*a,a=0),f&gt;=t&amp;&amp;d&gt;0&amp;&amp;(s=!0,d*=.9,f=i*d);var h=(t-f)/2&gt;&gt;0,m={offset:h-a,size:0};u=n.reduce((y,v)=&gt;{var _,C={stackId:v.stackId,dataKeys:v.dataKeys,position:{offset:m.offset+m.size+a,size:s?d:(_=v.barSize)!==null&amp;&amp;_!==void 0?_:0}},O=[...y,C];return m=O[O.length-1].position,O},l)}else{var p=ps(r,t,0,!0);t-2*p-(i-1)*a&lt;=0&amp;&amp;(a=0);var b=(t-2*p-(i-1)*a)/i;b&gt;1&amp;&amp;(b&gt;&gt;=0);var g=Rr(o)?Math.min(b,o):b;u=n.reduce((y,v,_)=&gt;[...y,{stackId:v.stackId,dataKeys:v.dataKeys,position:{offset:p+(b+a)*_+(b-g)/2,size:g}}],l)}return u}}var pee=(e,r,t,n,o,i,a)=&gt;{var u=Mr(a)?r:a,l=mee(t,n,o!==i?o:i,e,u);return o!==i&amp;&amp;l!=null&amp;&amp;(l=l.map(s=&gt;Kh(Kh({},s),{},{position:Kh(Kh({},s.position),{},{offset:s.position.offset-o/2})}))),l},gee=(e,r)=&gt;{var t=L2(r);if(!(!e||t==null||r==null)){var{stackId:n}=r;if(n!=null){var o=e[n];if(o){var{stackedData:i}=o;if(i)return i.find(a=&gt;a.key===t)}}}};function bee(e,r){return e&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;&quot;zIndex&quot;in e&amp;&amp;typeof e.zIndex==&quot;number&quot;&amp;&amp;Rr(e.zIndex)?e.zIndex:r}var xee=e=&gt;{var{chartData:r}=e,t=Dr(),n=Bn();return L.useEffect(()=&gt;n?()=&gt;{}:(t(ES(r)),()=&gt;{t(ES(void 0))}),[r,t,n]),null},xk={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},GA=di({name:&quot;brush&quot;,initialState:xk,reducers:{setBrushSettings(e,r){return r.payload==null?xk:r.payload}}}),{setBrushSettings:Cse}=GA.actions,yee=GA.reducer;function vee(e,r,t){return(r=wee(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function wee(e){var r=_ee(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function _ee(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}class aw{static create(r){return new aw(r)}constructor(r){this.scale=r}get domain(){return this.scale.domain}get range(){return this.scale.range}get rangeMin(){return this.range()[0]}get rangeMax(){return this.range()[1]}get bandwidth(){return this.scale.bandwidth}apply(r){var{bandAware:t,position:n}=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};if(r!==void 0){if(n)switch(n){case&quot;start&quot;:return this.scale(r);case&quot;middle&quot;:{var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+o}case&quot;end&quot;:{var i=this.bandwidth?this.bandwidth():0;return this.scale(r)+i}default:return this.scale(r)}if(t){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+a}return this.scale(r)}}isInRange(r){var t=this.range(),n=t[0],o=t[t.length-1];return n&lt;=o?r&gt;=n&amp;&amp;r&lt;=o:r&gt;=o&amp;&amp;r&lt;=n}}vee(aw,&quot;EPS&quot;,1e-4);function jee(e){return(e%180+180)%180}var See=function(r){var{width:t,height:n}=r,o=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0,i=jee(o),a=i*Math.PI/180,u=Math.atan(n/t),l=a&gt;u&amp;&amp;a&lt;Math.PI-u?n/Math.sin(a):t/Math.cos(a);return Math.abs(l)},kee={dots:[],areas:[],lines:[]},YA=di({name:&quot;referenceElements&quot;,initialState:kee,reducers:{addDot:(e,r)=&gt;{e.dots.push(r.payload)},removeDot:(e,r)=&gt;{var t=fs(e).dots.findIndex(n=&gt;n===r.payload);t!==-1&amp;&amp;e.dots.splice(t,1)},addArea:(e,r)=&gt;{e.areas.push(r.payload)},removeArea:(e,r)=&gt;{var t=fs(e).areas.findIndex(n=&gt;n===r.payload);t!==-1&amp;&amp;e.areas.splice(t,1)},addLine:(e,r)=&gt;{e.lines.push(r.payload)},removeLine:(e,r)=&gt;{var t=fs(e).lines.findIndex(n=&gt;n===r.payload);t!==-1&amp;&amp;e.lines.splice(t,1)}}}),{addDot:Ese,removeDot:Ase,addArea:Mse,removeArea:Ose,addLine:Pse,removeLine:Tse}=YA.actions,Nee=YA.reducer,Cee=L.createContext(void 0),Eee=e=&gt;{var{children:r}=e,[t]=L.useState(&quot;&quot;.concat(ld(&quot;recharts&quot;),&quot;-clip&quot;)),n=sw();if(n==null)return null;var{x:o,y:i,width:a,height:u}=n;return L.createElement(Cee.Provider,{value:t},L.createElement(&quot;defs&quot;,null,L.createElement(&quot;clipPath&quot;,{id:t},L.createElement(&quot;rect&quot;,{x:o,y:i,height:u,width:a}))),r)};function ZA(e,r){if(r&lt;1)return[];if(r===1)return e;for(var t=[],n=0;n&lt;e.length;n+=r){var o=e[n];o!==void 0&amp;&amp;t.push(o)}return t}function Aee(e,r,t){var n={width:e.width+r.width,height:e.height+r.height};return See(n,t)}function Mee(e,r,t){var n=t===&quot;width&quot;,{x:o,y:i,width:a,height:u}=e;return r===1?{start:n?o:i,end:n?o+a:i+u}:{start:n?o+a:i+u,end:n?o:i}}function _d(e,r,t,n,o){if(e*r&lt;e*n||e*r&gt;e*o)return!1;var i=t();return e*(r-e*i/2-n)&gt;=0&amp;&amp;e*(r+e*i/2-o)&lt;=0}function Oee(e,r){return ZA(e,r+1)}function Pee(e,r,t,n,o){for(var i=(n||[]).slice(),{start:a,end:u}=r,l=0,s=1,d=a,f=function(){var p=n?.[l];if(p===void 0)return{v:ZA(n,s)};var b=l,g,y=()=&gt;(g===void 0&amp;&amp;(g=t(p,b)),g),v=p.coordinate,_=l===0||_d(e,v,y,d,u);_||(l=0,d=a,s+=1),_&amp;&amp;(d=v+e*(y()/2+o),l+=s)},h;s&lt;=i.length;)if(h=f(),h)return h.v;return[]}function Tee(e,r,t,n,o){var i=(n||[]).slice(),a=i.length;if(a===0)return[];for(var{start:u,end:l}=r,s=1;s&lt;=a;s++){for(var d=(a-1)%s,f=u,h=!0,m=function(){var v=n[p],_=p,C,O=()=&gt;(C===void 0&amp;&amp;(C=t(v,_)),C),T=v.coordinate,V=p===d||_d(e,T,O,f,l);if(!V)return h=!1,1;V&amp;&amp;(f=T+e*(O()/2+o))},p=d;p&lt;a&amp;&amp;!m();p+=s);if(h){for(var b=[],g=d;g&lt;a;g+=s)b.push(n[g]);return b}}return[]}function yk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Dn(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?yk(Object(t),!0).forEach(function(n){Iee(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Iee(e,r,t){return(r=Ree(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Ree(e){var r=Dee(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Dee(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Lee(e,r,t,n,o){for(var i=(n||[]).slice(),a=i.length,{start:u}=r,{end:l}=r,s=function(h){var m=i[h],p,b=()=&gt;(p===void 0&amp;&amp;(p=t(m,h)),p);if(h===a-1){var g=e*(m.coordinate+e*b()/2-l);i[h]=m=Dn(Dn({},m),{},{tickCoord:g&gt;0?m.coordinate-g*e:m.coordinate})}else i[h]=m=Dn(Dn({},m),{},{tickCoord:m.coordinate});if(m.tickCoord!=null){var y=_d(e,m.tickCoord,b,u,l);y&amp;&amp;(l=m.tickCoord-e*(b()/2+o),i[h]=Dn(Dn({},m),{},{isShow:!0}))}},d=a-1;d&gt;=0;d--)s(d);return i}function Fee(e,r,t,n,o,i){var a=(n||[]).slice(),u=a.length,{start:l,end:s}=r;if(i){var d=n[u-1],f=t(d,u-1),h=e*(d.coordinate+e*f/2-s);if(a[u-1]=d=Dn(Dn({},d),{},{tickCoord:h&gt;0?d.coordinate-h*e:d.coordinate}),d.tickCoord!=null){var m=_d(e,d.tickCoord,()=&gt;f,l,s);m&amp;&amp;(s=d.tickCoord-e*(f/2+o),a[u-1]=Dn(Dn({},d),{},{isShow:!0}))}}for(var p=i?u-1:u,b=function(v){var _=a[v],C,O=()=&gt;(C===void 0&amp;&amp;(C=t(_,v)),C);if(v===0){var T=e*(_.coordinate-e*O()/2-l);a[v]=_=Dn(Dn({},_),{},{tickCoord:T&lt;0?_.coordinate-T*e:_.coordinate})}else a[v]=_=Dn(Dn({},_),{},{tickCoord:_.coordinate});if(_.tickCoord!=null){var V=_d(e,_.tickCoord,O,l,s);V&amp;&amp;(l=_.tickCoord+e*(O()/2+o),a[v]=Dn(Dn({},_),{},{isShow:!0}))}},g=0;g&lt;p;g++)b(g);return a}function ow(e,r,t){var{tick:n,ticks:o,viewBox:i,minTickGap:a,orientation:u,interval:l,tickFormatter:s,unit:d,angle:f}=e;if(!o||!o.length||!n)return[];if(ft(l)||Jp.isSsr){var h;return(h=Oee(o,ft(l)?l:0))!==null&amp;&amp;h!==void 0?h:[]}var m=[],p=u===&quot;top&quot;||u===&quot;bottom&quot;?&quot;width&quot;:&quot;height&quot;,b=d&amp;&amp;p===&quot;width&quot;?Yu(d,{fontSize:r,letterSpacing:t}):{width:0,height:0},g=(_,C)=&gt;{var O=typeof s==&quot;function&quot;?s(_.value,C):_.value;return p===&quot;width&quot;?Aee(Yu(O,{fontSize:r,letterSpacing:t}),b,f):Yu(O,{fontSize:r,letterSpacing:t})[p]},y=o.length&gt;=2?li(o[1].coordinate-o[0].coordinate):1,v=Mee(i,y,p);return l===&quot;equidistantPreserveStart&quot;?Pee(y,v,g,o,a):l===&quot;equidistantPreserveEnd&quot;?Tee(y,v,g,o,a):(l===&quot;preserveStart&quot;||l===&quot;preserveStartEnd&quot;?m=Fee(y,v,g,o,a,l===&quot;preserveStartEnd&quot;):m=Lee(y,v,g,o,a),m.filter(_=&gt;_.isShow))}var Bee=e=&gt;{var{ticks:r,label:t,labelGapWithTick:n=5,tickSize:o=0,tickMargin:i=0}=e,a=0;if(r){Array.from(r).forEach(d=&gt;{if(d){var f=d.getBoundingClientRect();f.width&gt;a&amp;&amp;(a=f.width)}});var u=t?t.getBoundingClientRect().width:0,l=o+i,s=a+l+u+(t?n:0);return Math.round(s)}return 0},zee=[&quot;axisLine&quot;,&quot;width&quot;,&quot;height&quot;,&quot;className&quot;,&quot;hide&quot;,&quot;ticks&quot;,&quot;axisType&quot;];function $ee(e,r){if(e==null)return{};var t,n,o=Uee(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function Uee(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function jl(){return jl=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},jl.apply(null,arguments)}function vk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Xr(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?vk(Object(t),!0).forEach(function(n){Vee(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Vee(e,r,t){return(r=qee(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function qee(e){var r=Hee(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Hee(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var la={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:&quot;bottom&quot;,ticks:[],stroke:&quot;#666&quot;,tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:&quot;preserveEnd&quot;,zIndex:xn.axis};function Wee(e){var{x:r,y:t,width:n,height:o,orientation:i,mirror:a,axisLine:u,otherSvgProps:l}=e;if(!u)return null;var s=Xr(Xr(Xr({},l),hs(u)),{},{fill:&quot;none&quot;});if(i===&quot;top&quot;||i===&quot;bottom&quot;){var d=+(i===&quot;top&quot;&amp;&amp;!a||i===&quot;bottom&quot;&amp;&amp;a);s=Xr(Xr({},s),{},{x1:r,y1:t+d*o,x2:r+n,y2:t+d*o})}else{var f=+(i===&quot;left&quot;&amp;&amp;!a||i===&quot;right&quot;&amp;&amp;a);s=Xr(Xr({},s),{},{x1:r+f*n,y1:t,x2:r+f*n,y2:t+o})}return L.createElement(&quot;line&quot;,jl({},s,{className:cr(&quot;recharts-cartesian-axis-line&quot;,jc(u,&quot;className&quot;))}))}function Kee(e,r,t,n,o,i,a,u,l){var s,d,f,h,m,p,b=u?-1:1,g=e.tickSize||a,y=ft(e.tickCoord)?e.tickCoord:e.coordinate;switch(i){case&quot;top&quot;:s=d=e.coordinate,h=t+ +!u*o,f=h-b*g,p=f-b*l,m=y;break;case&quot;left&quot;:f=h=e.coordinate,d=r+ +!u*n,s=d-b*g,m=s-b*l,p=y;break;case&quot;right&quot;:f=h=e.coordinate,d=r+ +u*n,s=d+b*g,m=s+b*l,p=y;break;default:s=d=e.coordinate,h=t+ +u*o,f=h+b*g,p=f+b*l,m=y;break}return{line:{x1:s,y1:f,x2:d,y2:h},tick:{x:m,y:p}}}function Xee(e,r){switch(e){case&quot;left&quot;:return r?&quot;start&quot;:&quot;end&quot;;case&quot;right&quot;:return r?&quot;end&quot;:&quot;start&quot;;default:return&quot;middle&quot;}}function Gee(e,r){switch(e){case&quot;left&quot;:case&quot;right&quot;:return&quot;middle&quot;;case&quot;top&quot;:return r?&quot;start&quot;:&quot;end&quot;;default:return r?&quot;end&quot;:&quot;start&quot;}}function Yee(e){var{option:r,tickProps:t,value:n}=e,o,i=cr(t.className,&quot;recharts-cartesian-axis-tick-value&quot;);if(L.isValidElement(r))o=L.cloneElement(r,Xr(Xr({},t),{},{className:i}));else if(typeof r==&quot;function&quot;)o=r(Xr(Xr({},t),{},{className:i}));else{var a=&quot;recharts-cartesian-axis-tick-value&quot;;typeof r!=&quot;boolean&quot;&amp;&amp;(a=cr(a,r?.className)),o=L.createElement(nw,jl({},t,{className:a}),n)}return o}var Zee=L.forwardRef((e,r)=&gt;{var{ticks:t=[],tick:n,tickLine:o,stroke:i,tickFormatter:a,unit:u,padding:l,tickTextProps:s,orientation:d,mirror:f,x:h,y:m,width:p,height:b,tickSize:g,tickMargin:y,fontSize:v,letterSpacing:_,getTicksConfig:C,events:O,axisType:T}=e,V=ow(Xr(Xr({},C),{},{ticks:t}),v,_),F=Xee(d,f),H=Gee(d,f),W=hs(C),K=Ed(n),$={};typeof o==&quot;object&quot;&amp;&amp;($=o);var P=Xr(Xr({},W),{},{fill:&quot;none&quot;},$),D=V.map(k=&gt;Xr({entry:k},Kee(k,h,m,p,b,d,g,f,y))),E=D.map(k=&gt;{var{entry:S,line:N}=k;return L.createElement(Hi,{className:&quot;recharts-cartesian-axis-tick&quot;,key:&quot;tick-&quot;.concat(S.value,&quot;-&quot;).concat(S.coordinate,&quot;-&quot;).concat(S.tickCoord)},o&amp;&amp;L.createElement(&quot;line&quot;,jl({},P,N,{className:cr(&quot;recharts-cartesian-axis-tick-line&quot;,jc(o,&quot;className&quot;))})))}),j=D.map((k,S)=&gt;{var{entry:N,tick:M}=k,R=Xr(Xr(Xr(Xr({textAnchor:F,verticalAnchor:H},W),{},{stroke:&quot;none&quot;,fill:i},K),M),{},{index:S,payload:N,visibleTicksCount:V.length,tickFormatter:a,padding:l},s);return L.createElement(Hi,jl({className:&quot;recharts-cartesian-axis-tick-label&quot;,key:&quot;tick-label-&quot;.concat(N.value,&quot;-&quot;).concat(N.coordinate,&quot;-&quot;).concat(N.tickCoord)},Pp(O,N,S)),n&amp;&amp;L.createElement(Yee,{option:n,tickProps:R,value:&quot;&quot;.concat(typeof a==&quot;function&quot;?a(N.value,S):N.value).concat(u||&quot;&quot;)}))});return L.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-axis-ticks recharts-&quot;.concat(T,&quot;-ticks&quot;)},j.length&gt;0&amp;&amp;L.createElement(Gi,{zIndex:xn.label},L.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-axis-tick-labels recharts-&quot;.concat(T,&quot;-tick-labels&quot;),ref:r},j)),E.length&gt;0&amp;&amp;L.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-axis-tick-lines recharts-&quot;.concat(T,&quot;-tick-lines&quot;)},E))}),Qee=L.forwardRef((e,r)=&gt;{var{axisLine:t,width:n,height:o,className:i,hide:a,ticks:u,axisType:l}=e,s=$ee(e,zee),[d,f]=L.useState(&quot;&quot;),[h,m]=L.useState(&quot;&quot;),p=L.useRef(null);L.useImperativeHandle(r,()=&gt;({getCalculatedWidth:()=&gt;{var g;return Bee({ticks:p.current,label:(g=e.labelRef)===null||g===void 0?void 0:g.current,labelGapWithTick:5,tickSize:e.tickSize,tickMargin:e.tickMargin})}}));var b=L.useCallback(g=&gt;{if(g){var y=g.getElementsByClassName(&quot;recharts-cartesian-axis-tick-value&quot;);p.current=y;var v=y[0];if(v){var _=window.getComputedStyle(v),C=_.fontSize,O=_.letterSpacing;(C!==d||O!==h)&amp;&amp;(f(C),m(O))}}},[d,h]);return a||n!=null&amp;&amp;n&lt;=0||o!=null&amp;&amp;o&lt;=0?null:L.createElement(Gi,{zIndex:e.zIndex},L.createElement(Hi,{className:cr(&quot;recharts-cartesian-axis&quot;,i)},L.createElement(Wee,{x:e.x,y:e.y,width:n,height:o,orientation:e.orientation,mirror:e.mirror,axisLine:t,otherSvgProps:hs(e)}),L.createElement(Zee,{ref:b,axisType:l,events:s,fontSize:d,getTicksConfig:e,height:e.height,letterSpacing:h,mirror:e.mirror,orientation:e.orientation,padding:e.padding,stroke:e.stroke,tick:e.tick,tickFormatter:e.tickFormatter,tickLine:e.tickLine,tickMargin:e.tickMargin,tickSize:e.tickSize,tickTextProps:e.tickTextProps,ticks:u,unit:e.unit,width:e.width,x:e.x,y:e.y}),L.createElement(PQ,{x:e.x,y:e.y,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width},L.createElement(UQ,{label:e.label,labelRef:e.labelRef}),e.children)))}),lw=L.forwardRef((e,r)=&gt;{var t=Mn(e,la);return L.createElement(Qee,jl({},t,{ref:r}))});lw.displayName=&quot;CartesianAxis&quot;;var Jee=[&quot;x1&quot;,&quot;y1&quot;,&quot;x2&quot;,&quot;y2&quot;,&quot;key&quot;],ete=[&quot;offset&quot;],tte=[&quot;xAxisId&quot;,&quot;yAxisId&quot;],rte=[&quot;xAxisId&quot;,&quot;yAxisId&quot;];function wk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Ln(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?wk(Object(t),!0).forEach(function(n){nte(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):wk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function nte(e,r,t){return(r=ite(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function ite(e){var r=ste(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function ste(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function dl(){return dl=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},dl.apply(null,arguments)}function hp(e,r){if(e==null)return{};var t,n,o=ate(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function ate(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var ote=e=&gt;{var{fill:r}=e;if(!r||r===&quot;none&quot;)return null;var{fillOpacity:t,x:n,y:o,width:i,height:a,ry:u}=e;return L.createElement(&quot;rect&quot;,{x:n,y:o,ry:u,width:i,height:a,stroke:&quot;none&quot;,fill:r,fillOpacity:t,className:&quot;recharts-cartesian-grid-bg&quot;})};function QA(e){var{option:r,lineItemProps:t}=e,n;if(L.isValidElement(r))n=L.cloneElement(r,t);else if(typeof r==&quot;function&quot;)n=r(t);else{var o,{x1:i,y1:a,x2:u,y2:l,key:s}=t,d=hp(t,Jee),f=(o=hs(d))!==null&amp;&amp;o!==void 0?o:{},{offset:h}=f,m=hp(f,ete);n=L.createElement(&quot;line&quot;,dl({},m,{x1:i,y1:a,x2:u,y2:l,fill:&quot;none&quot;,key:s}))}return n}function lte(e){var{x:r,width:t,horizontal:n=!0,horizontalPoints:o}=e;if(!n||!o||!o.length)return null;var{xAxisId:i,yAxisId:a}=e,u=hp(e,tte),l=o.map((s,d)=&gt;{var f=Ln(Ln({},u),{},{x1:r,y1:s,x2:r+t,y2:s,key:&quot;line-&quot;.concat(d),index:d});return L.createElement(QA,{key:&quot;line-&quot;.concat(d),option:n,lineItemProps:f})});return L.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid-horizontal&quot;},l)}function cte(e){var{y:r,height:t,vertical:n=!0,verticalPoints:o}=e;if(!n||!o||!o.length)return null;var{xAxisId:i,yAxisId:a}=e,u=hp(e,rte),l=o.map((s,d)=&gt;{var f=Ln(Ln({},u),{},{x1:s,y1:r,x2:s,y2:r+t,key:&quot;line-&quot;.concat(d),index:d});return L.createElement(QA,{option:n,lineItemProps:f,key:&quot;line-&quot;.concat(d)})});return L.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid-vertical&quot;},l)}function ute(e){var{horizontalFill:r,fillOpacity:t,x:n,y:o,width:i,height:a,horizontalPoints:u,horizontal:l=!0}=e;if(!l||!r||!r.length||u==null)return null;var s=u.map(f=&gt;Math.round(f+o-o)).sort((f,h)=&gt;f-h);o!==s[0]&amp;&amp;s.unshift(0);var d=s.map((f,h)=&gt;{var m=!s[h+1],p=m?o+a-f:s[h+1]-f;if(p&lt;=0)return null;var b=h%r.length;return L.createElement(&quot;rect&quot;,{key:&quot;react-&quot;.concat(h),y:f,x:n,height:p,width:i,stroke:&quot;none&quot;,fill:r[b],fillOpacity:t,className:&quot;recharts-cartesian-grid-bg&quot;})});return L.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-gridstripes-horizontal&quot;},d)}function dte(e){var{vertical:r=!0,verticalFill:t,fillOpacity:n,x:o,y:i,width:a,height:u,verticalPoints:l}=e;if(!r||!t||!t.length)return null;var s=l.map(f=&gt;Math.round(f+o-o)).sort((f,h)=&gt;f-h);o!==s[0]&amp;&amp;s.unshift(0);var d=s.map((f,h)=&gt;{var m=!s[h+1],p=m?o+a-f:s[h+1]-f;if(p&lt;=0)return null;var b=h%t.length;return L.createElement(&quot;rect&quot;,{key:&quot;react-&quot;.concat(h),x:f,y:i,width:p,height:u,stroke:&quot;none&quot;,fill:t[b],fillOpacity:n,className:&quot;recharts-cartesian-grid-bg&quot;})});return L.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-gridstripes-vertical&quot;},d)}var fte=(e,r)=&gt;{var{xAxis:t,width:n,height:o,offset:i}=e;return O7(ow(Ln(Ln(Ln({},la),t),{},{ticks:P7(t),viewBox:{x:0,y:0,width:n,height:o}})),i.left,i.left+i.width,r)},hte=(e,r)=&gt;{var{yAxis:t,width:n,height:o,offset:i}=e;return O7(ow(Ln(Ln(Ln({},la),t),{},{ticks:P7(t),viewBox:{x:0,y:0,width:n,height:o}})),i.top,i.top+i.height,r)},mte={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:&quot;#ccc&quot;,fill:&quot;none&quot;,verticalFill:[],horizontalFill:[],xAxisId:0,yAxisId:0,syncWithTicks:!1,zIndex:xn.grid};function cm(e){var r=t2(),t=r2(),n=F7(),o=Ln(Ln({},Mn(e,mte)),{},{x:ft(e.x)?e.x:n.left,y:ft(e.y)?e.y:n.top,width:ft(e.width)?e.width:n.width,height:ft(e.height)?e.height:n.height}),{xAxisId:i,yAxisId:a,x:u,y:l,width:s,height:d,syncWithTicks:f,horizontalValues:h,verticalValues:m}=o,p=Bn(),b=yt(H=&gt;gS(H,&quot;xAxis&quot;,i,p)),g=yt(H=&gt;gS(H,&quot;yAxis&quot;,a,p));if(!Is(s)||!Is(d)||!ft(u)||!ft(l))return null;var y=o.verticalCoordinatesGenerator||fte,v=o.horizontalCoordinatesGenerator||hte,{horizontalPoints:_,verticalPoints:C}=o;if((!_||!_.length)&amp;&amp;typeof v==&quot;function&quot;){var O=h&amp;&amp;h.length,T=v({yAxis:g?Ln(Ln({},g),{},{ticks:O?h:g.ticks}):void 0,width:r??s,height:t??d,offset:n},O?!0:f);zm(Array.isArray(T),&quot;horizontalCoordinatesGenerator should return Array but instead it returned [&quot;.concat(typeof T,&quot;]&quot;)),Array.isArray(T)&amp;&amp;(_=T)}if((!C||!C.length)&amp;&amp;typeof y==&quot;function&quot;){var V=m&amp;&amp;m.length,F=y({xAxis:b?Ln(Ln({},b),{},{ticks:V?m:b.ticks}):void 0,width:r??s,height:t??d,offset:n},V?!0:f);zm(Array.isArray(F),&quot;verticalCoordinatesGenerator should return Array but instead it returned [&quot;.concat(typeof F,&quot;]&quot;)),Array.isArray(F)&amp;&amp;(C=F)}return L.createElement(Gi,{zIndex:o.zIndex},L.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid&quot;},L.createElement(ote,{fill:o.fill,fillOpacity:o.fillOpacity,x:o.x,y:o.y,width:o.width,height:o.height,ry:o.ry}),L.createElement(ute,dl({},o,{horizontalPoints:_})),L.createElement(dte,dl({},o,{verticalPoints:C})),L.createElement(lte,dl({},o,{offset:n,horizontalPoints:_,xAxis:b,yAxis:g})),L.createElement(cte,dl({},o,{offset:n,verticalPoints:C,xAxis:b,yAxis:g}))))}cm.displayName=&quot;CartesianGrid&quot;;var pte={},JA=di({name:&quot;errorBars&quot;,initialState:pte,reducers:{addErrorBar:(e,r)=&gt;{var{itemId:t,errorBar:n}=r.payload;e[t]||(e[t]=[]),e[t].push(n)},replaceErrorBar:(e,r)=&gt;{var{itemId:t,prev:n,next:o}=r.payload;e[t]&amp;&amp;(e[t]=e[t].map(i=&gt;i.dataKey===n.dataKey&amp;&amp;i.direction===n.direction?o:i))},removeErrorBar:(e,r)=&gt;{var{itemId:t,errorBar:n}=r.payload;e[t]&amp;&amp;(e[t]=e[t].filter(o=&gt;o.dataKey!==n.dataKey||o.direction!==n.direction))}}}),{addErrorBar:Ise,replaceErrorBar:Rse,removeErrorBar:Dse}=JA.actions,gte=JA.reducer,bte=[&quot;children&quot;];function xte(e,r){if(e==null)return{};var t,n,o=yte(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function yte(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var vte={data:[],xAxisId:&quot;xAxis-0&quot;,yAxisId:&quot;yAxis-0&quot;,dataPointFormatter:()=&gt;({x:0,y:0,value:0}),errorBarOffset:0},wte=L.createContext(vte);function eM(e){var{children:r}=e,t=xte(e,bte);return L.createElement(wte.Provider,{value:t},r)}function cw(e,r){var t,n,o=yt(s=&gt;ja(s,e)),i=yt(s=&gt;Sa(s,r)),a=(t=o?.allowDataOverflow)!==null&amp;&amp;t!==void 0?t:pn.allowDataOverflow,u=(n=i?.allowDataOverflow)!==null&amp;&amp;n!==void 0?n:gn.allowDataOverflow,l=a||u;return{needClip:l,needClipX:a,needClipY:u}}function tM(e){var{xAxisId:r,yAxisId:t,clipPathId:n}=e,o=sw(),{needClipX:i,needClipY:a,needClip:u}=cw(r,t);if(!u||!o)return null;var{x:l,y:s,width:d,height:f}=o;return L.createElement(&quot;clipPath&quot;,{id:&quot;clipPath-&quot;.concat(n)},L.createElement(&quot;rect&quot;,{x:i?l:l-d/2,y:a?s:s-f/2,width:i?d:d*2,height:a?f:f*2}))}var rM=(e,r,t,n)=&gt;xo(e,&quot;xAxis&quot;,r,n),nM=(e,r,t,n)=&gt;bo(e,&quot;xAxis&quot;,r,n),iM=(e,r,t,n)=&gt;xo(e,&quot;yAxis&quot;,t,n),sM=(e,r,t,n)=&gt;bo(e,&quot;yAxis&quot;,t,n),_te=Pe([ir,rM,iM,nM,sM],(e,r,t,n,o)=&gt;wo(e,&quot;xAxis&quot;)?kc(r,n,!1):kc(t,o,!1)),jte=(e,r,t,n,o)=&gt;o;function Ste(e){return e.type===&quot;line&quot;}var kte=Pe([p0,jte],(e,r)=&gt;e.filter(Ste).find(t=&gt;t.id===r)),Nte=Pe([ir,rM,iM,nM,sM,kte,_te,E2],(e,r,t,n,o,i,a,u)=&gt;{var{chartData:l,dataStartIndex:s,dataEndIndex:d}=u;if(!(i==null||r==null||t==null||n==null||o==null||n.length===0||o.length===0||a==null||e!==&quot;horizontal&quot;&amp;&amp;e!==&quot;vertical&quot;)){var{dataKey:f,data:h}=i,m;if(h!=null&amp;&amp;h.length&gt;0?m=h:m=l?.slice(s,d+1),m!=null)return hre({layout:e,xAxis:r,yAxis:t,xAxisTicks:n,yAxisTicks:o,dataKey:f,bandSize:a,displayedData:m})}});function Cte(e){var r=Ed(e),t=3,n=2;if(r!=null){var{r:o,strokeWidth:i}=r,a=Number(o),u=Number(i);return(Number.isNaN(a)||a&lt;0)&amp;&amp;(a=t),(Number.isNaN(u)||u&lt;0)&amp;&amp;(u=n),{r:a,strokeWidth:u}}return{r:t,strokeWidth:n}}var ty={exports:{}},ry={};var _k;function Ete(){if(_k)return ry;_k=1;var e=Oc();function r(l,s){return l===s&amp;&amp;(l!==0||1/l===1/s)||l!==l&amp;&amp;s!==s}var t=typeof Object.is==&quot;function&quot;?Object.is:r,n=e.useSyncExternalStore,o=e.useRef,i=e.useEffect,a=e.useMemo,u=e.useDebugValue;return ry.useSyncExternalStoreWithSelector=function(l,s,d,f,h){var m=o(null);if(m.current===null){var p={hasValue:!1,value:null};m.current=p}else p=m.current;m=a(function(){function g(O){if(!y){if(y=!0,v=O,O=f(O),h!==void 0&amp;&amp;p.hasValue){var T=p.value;if(h(T,O))return _=T}return _=O}if(T=_,t(v,O))return T;var V=f(O);return h!==void 0&amp;&amp;h(T,V)?(v=O,T):(v=O,_=V)}var y=!1,v,_,C=d===void 0?null:d;return[function(){return g(s())},C===null?void 0:function(){return g(C())}]},[s,d,f,h]);var b=n(l,m[0],m[1]);return i(function(){p.hasValue=!0,p.value=b},[b]),u(b),b},ry}var jk;function Ate(){return jk||(jk=1,ty.exports=Ete()),ty.exports}Ate();function Mte(e){e()}function Ote(){let e=null,r=null;return{clear(){e=null,r=null},notify(){Mte(()=&gt;{let t=e;for(;t;)t.callback(),t=t.next})},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(t){let n=!0;const o=r={callback:t,next:null,prev:r};return o.prev?o.prev.next=o:e=o,function(){!n||e===null||(n=!1,o.next?o.next.prev=o.prev:r=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}var Sk={notify(){},get:()=&gt;[]};function Pte(e,r){let t,n=Sk,o=0,i=!1;function a(b){d();const g=n.subscribe(b);let y=!1;return()=&gt;{y||(y=!0,g(),f())}}function u(){n.notify()}function l(){p.onStateChange&amp;&amp;p.onStateChange()}function s(){return i}function d(){o++,t||(t=e.subscribe(l),n=Ote())}function f(){o--,t&amp;&amp;o===0&amp;&amp;(t(),t=void 0,n.clear(),n=Sk)}function h(){i||(i=!0,d())}function m(){i&amp;&amp;(i=!1,f())}const p={addNestedSub:a,notifyNestedSubs:u,handleChangeWrapper:l,isSubscribed:s,trySubscribe:h,tryUnsubscribe:m,getListeners:()=&gt;n};return p}var Tte=()=&gt;typeof window&lt;&quot;u&quot;&amp;&amp;typeof window.document&lt;&quot;u&quot;&amp;&amp;typeof window.document.createElement&lt;&quot;u&quot;,Ite=Tte(),Rte=()=&gt;typeof navigator&lt;&quot;u&quot;&amp;&amp;navigator.product===&quot;ReactNative&quot;,Dte=Rte(),Lte=()=&gt;Ite||Dte?L.useLayoutEffect:L.useEffect,Fte=Lte();function kk(e,r){return e===r?e!==0||r!==0||1/e===1/r:e!==e&amp;&amp;r!==r}function Bte(e,r){if(kk(e,r))return!0;if(typeof e!=&quot;object&quot;||e===null||typeof r!=&quot;object&quot;||r===null)return!1;const t=Object.keys(e),n=Object.keys(r);if(t.length!==n.length)return!1;for(let o=0;o&lt;t.length;o++)if(!Object.prototype.hasOwnProperty.call(r,t[o])||!kk(e[t[o]],r[t[o]]))return!1;return!0}var zte=Symbol.for(&quot;react-redux-context&quot;),$te=typeof globalThis&lt;&quot;u&quot;?globalThis:{};function Ute(){if(!L.createContext)return{};const e=$te[zte]??=new Map;let r=e.get(L.createContext);return r||(r=L.createContext(null),e.set(L.createContext,r)),r}var Vte=Ute();function qte(e){const{children:r,context:t,serverState:n,store:o}=e,i=L.useMemo(()=&gt;{const l=Pte(o);return{store:o,subscription:l,getServerState:n?()=&gt;n:void 0}},[o,n]),a=L.useMemo(()=&gt;o.getState(),[o]);Fte(()=&gt;{const{subscription:l}=i;return l.onStateChange=l.notifyNestedSubs,l.trySubscribe(),a!==o.getState()&amp;&amp;l.notifyNestedSubs(),()=&gt;{l.tryUnsubscribe(),l.onStateChange=void 0}},[i,a]);const u=t||Vte;return L.createElement(u.Provider,{value:i},r)}var Hte=qte,Wte=new Set([&quot;axisLine&quot;,&quot;tickLine&quot;,&quot;activeBar&quot;,&quot;activeDot&quot;,&quot;activeLabel&quot;,&quot;activeShape&quot;,&quot;allowEscapeViewBox&quot;,&quot;background&quot;,&quot;cursor&quot;,&quot;dot&quot;,&quot;label&quot;,&quot;line&quot;,&quot;margin&quot;,&quot;padding&quot;,&quot;position&quot;,&quot;shape&quot;,&quot;style&quot;,&quot;tick&quot;,&quot;wrapperStyle&quot;,&quot;radius&quot;]);function Kte(e,r){return e==null&amp;&amp;r==null?!0:typeof e==&quot;number&quot;&amp;&amp;typeof r==&quot;number&quot;?e===r||e!==e&amp;&amp;r!==r:e===r}function v0(e,r){var t=new Set([...Object.keys(e),...Object.keys(r)]);for(var n of t)if(Wte.has(n)){if(e[n]==null&amp;&amp;r[n]==null)continue;if(!Bte(e[n],r[n]))return!1}else if(!Kte(e[n],r[n]))return!1;return!0}var Xte=[&quot;id&quot;],Gte=[&quot;type&quot;,&quot;layout&quot;,&quot;connectNulls&quot;,&quot;needClip&quot;,&quot;shape&quot;],Yte=[&quot;activeDot&quot;,&quot;animateNewValues&quot;,&quot;animationBegin&quot;,&quot;animationDuration&quot;,&quot;animationEasing&quot;,&quot;connectNulls&quot;,&quot;dot&quot;,&quot;hide&quot;,&quot;isAnimationActive&quot;,&quot;label&quot;,&quot;legendType&quot;,&quot;xAxisId&quot;,&quot;yAxisId&quot;,&quot;id&quot;];function jd(){return jd=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},jd.apply(null,arguments)}function Nk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Es(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Nk(Object(t),!0).forEach(function(n){Zte(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Nk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Zte(e,r,t){return(r=Qte(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Qte(e){var r=Jte(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Jte(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function uw(e,r){if(e==null)return{};var t,n,o=ere(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function ere(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var tre=e=&gt;{var{dataKey:r,name:t,stroke:n,legendType:o,hide:i}=e;return[{inactive:i,dataKey:r,type:o,color:n,value:Vp(t,r),payload:e}]},rre=L.memo(e=&gt;{var{dataKey:r,data:t,stroke:n,strokeWidth:o,fill:i,name:a,hide:u,unit:l,tooltipType:s,id:d}=e,f={dataDefinedOnItem:t,positions:void 0,settings:{stroke:n,strokeWidth:o,fill:i,dataKey:r,nameKey:void 0,name:Vp(a,r),hide:u,type:s,color:n,unit:l,graphicalItemId:d}};return L.createElement(UA,{tooltipEntrySettings:f})}),aM=(e,r)=&gt;&quot;&quot;.concat(r,&quot;px &quot;).concat(e-r,&quot;px&quot;);function nre(e,r){for(var t=e.length%2!==0?[...e,0]:e,n=[],o=0;o&lt;r;++o)n=[...n,...t];return n}var ire=(e,r,t)=&gt;{var n=t.reduce((f,h)=&gt;f+h);if(!n)return aM(r,e);for(var o=Math.floor(e/n),i=e%n,a=r-e,u=[],l=0,s=0;l&lt;t.length;s+=t[l],++l)if(s+t[l]&gt;i){u=[...t.slice(0,l),i-s];break}var d=u.length%2===0?[0,a]:[a];return[...nre(t,o),...u,...d].map(f=&gt;&quot;&quot;.concat(f,&quot;px&quot;)).join(&quot;, &quot;)};function sre(e){var{clipPathId:r,points:t,props:n}=e,{dot:o,dataKey:i,needClip:a}=n,{id:u}=n,l=uw(n,Xte),s=hs(l);return L.createElement(VJ,{points:t,dot:o,className:&quot;recharts-line-dots&quot;,dotClassName:&quot;recharts-line-dot&quot;,dataKey:i,baseProps:s,needClip:a,clipPathId:r})}function are(e){var{showLabels:r,children:t,points:n}=e,o=L.useMemo(()=&gt;n?.map(i=&gt;{var a,u,l={x:(a=i.x)!==null&amp;&amp;a!==void 0?a:0,y:(u=i.y)!==null&amp;&amp;u!==void 0?u:0,width:0,lowerWidth:0,upperWidth:0,height:0};return Es(Es({},l),{},{value:i.value,payload:i.payload,viewBox:l,parentViewBox:void 0,fill:void 0})}),[n]);return L.createElement(OA,{value:r?o:void 0},t)}function Ck(e){var{clipPathId:r,pathRef:t,points:n,strokeDasharray:o,props:i}=e,{type:a,layout:u,connectNulls:l,needClip:s,shape:d}=i,f=uw(i,Gte),h=Es(Es({},Gn(f)),{},{fill:&quot;none&quot;,className:&quot;recharts-line-curve&quot;,clipPath:s?&quot;url(#clipPath-&quot;.concat(r,&quot;)&quot;):void 0,points:n,type:a,layout:u,connectNulls:l,strokeDasharray:o??i.strokeDasharray});return L.createElement(L.Fragment,null,n?.length&gt;1&amp;&amp;L.createElement(FA,jd({shapeType:&quot;curve&quot;,option:d},h,{pathRef:t})),L.createElement(sre,{points:n,clipPathId:r,props:i}))}function ore(e){try{return e&amp;&amp;e.getTotalLength&amp;&amp;e.getTotalLength()||0}catch{return 0}}function lre(e){var{clipPathId:r,props:t,pathRef:n,previousPointsRef:o,longestAnimatedLengthRef:i}=e,{points:a,strokeDasharray:u,isAnimationActive:l,animationBegin:s,animationDuration:d,animationEasing:f,animateNewValues:h,width:m,height:p,onAnimationEnd:b,onAnimationStart:g}=t,y=o.current,v=t0(a,&quot;recharts-line-&quot;),_=L.useRef(v),[C,O]=L.useState(!1),T=!C,V=L.useCallback(()=&gt;{typeof b==&quot;function&quot;&amp;&amp;b(),O(!1)},[b]),F=L.useCallback(()=&gt;{typeof g==&quot;function&quot;&amp;&amp;g(),O(!0)},[g]),H=ore(n.current),W=L.useRef(0);_.current!==v&amp;&amp;(W.current=i.current,_.current=v);var K=W.current;return L.createElement(are,{points:a,showLabels:T},t.children,L.createElement(e0,{animationId:v,begin:s,duration:d,isActive:l,easing:f,onAnimationEnd:V,onAnimationStart:F,key:v},$=&gt;{var P=zr(K,H+K,$),D=Math.min(P,H),E;if(l)if(u){var j=&quot;&quot;.concat(u).split(/[,\s]+/gim).map(N=&gt;parseFloat(N));E=ire(D,H,j)}else E=aM(H,D);else E=u==null?void 0:String(u);if($&gt;0&amp;&amp;H&gt;0&amp;&amp;(o.current=a,i.current=Math.max(i.current,D)),y){var k=y.length/a.length,S=$===1?a:a.map((N,M)=&gt;{var R=Math.floor(M*k);if(y[R]){var B=y[R];return Es(Es({},N),{},{x:zr(B.x,N.x,$),y:zr(B.y,N.y,$)})}return h?Es(Es({},N),{},{x:zr(m*2,N.x,$),y:zr(p/2,N.y,$)}):Es(Es({},N),{},{x:N.x,y:N.y})});return o.current=S,L.createElement(Ck,{props:t,points:S,clipPathId:r,pathRef:n,strokeDasharray:E})}return L.createElement(Ck,{props:t,points:a,clipPathId:r,pathRef:n,strokeDasharray:E})}),L.createElement(TA,{label:t.label}))}function cre(e){var{clipPathId:r,props:t}=e,n=L.useRef(null),o=L.useRef(0),i=L.useRef(null);return L.createElement(lre,{props:t,clipPathId:r,previousPointsRef:n,longestAnimatedLengthRef:o,pathRef:i})}var ure=(e,r)=&gt;{var t,n;return{x:(t=e.x)!==null&amp;&amp;t!==void 0?t:void 0,y:(n=e.y)!==null&amp;&amp;n!==void 0?n:void 0,value:e.value,errorVal:Gr(e.payload,r)}};class dre extends L.Component{render(){var{hide:r,dot:t,points:n,className:o,xAxisId:i,yAxisId:a,top:u,left:l,width:s,height:d,id:f,needClip:h,zIndex:m}=this.props;if(r)return null;var p=cr(&quot;recharts-line&quot;,o),b=f,{r:g,strokeWidth:y}=Cte(t),v=LA(t),_=g*2+y,C=h?&quot;url(#clipPath-&quot;.concat(v?&quot;&quot;:&quot;dots-&quot;).concat(b,&quot;)&quot;):void 0;return L.createElement(Gi,{zIndex:m},L.createElement(Hi,{className:p},h&amp;&amp;L.createElement(&quot;defs&quot;,null,L.createElement(tM,{clipPathId:b,xAxisId:i,yAxisId:a}),!v&amp;&amp;L.createElement(&quot;clipPath&quot;,{id:&quot;clipPath-dots-&quot;.concat(b)},L.createElement(&quot;rect&quot;,{x:l-_/2,y:u-_/2,width:s+_,height:d+_}))),L.createElement(eM,{xAxisId:i,yAxisId:a,data:n,dataPointFormatter:ure,errorBarOffset:0},L.createElement(cre,{props:this.props,clipPathId:b}))),L.createElement(cee,{activeDot:this.props.activeDot,points:n,mainColor:this.props.stroke,itemDataKey:this.props.dataKey,clipPath:C}))}}var oM={activeDot:!0,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:&quot;ease&quot;,connectNulls:!1,dot:!0,fill:&quot;#fff&quot;,hide:!1,isAnimationActive:&quot;auto&quot;,label:!1,legendType:&quot;line&quot;,stroke:&quot;#3182bd&quot;,strokeWidth:1,xAxisId:0,yAxisId:0,zIndex:xn.line,type:&quot;linear&quot;};function fre(e){var r=Mn(e,oM),{activeDot:t,animateNewValues:n,animationBegin:o,animationDuration:i,animationEasing:a,connectNulls:u,dot:l,hide:s,isAnimationActive:d,label:f,legendType:h,xAxisId:m,yAxisId:p,id:b}=r,g=uw(r,Yte),{needClip:y}=cw(m,p),v=sw(),_=Lc(),C=Bn(),O=yt(W=&gt;Nte(W,m,p,C,b));if(_!==&quot;horizontal&quot;&amp;&amp;_!==&quot;vertical&quot;||O==null||v==null)return null;var{height:T,width:V,x:F,y:H}=v;return L.createElement(dre,jd({},g,{id:b,connectNulls:u,dot:l,activeDot:t,animateNewValues:n,animationBegin:o,animationDuration:i,animationEasing:a,isAnimationActive:d,hide:s,label:f,legendType:h,xAxisId:m,yAxisId:p,points:O,layout:_,height:T,width:V,left:F,top:H,needClip:y}))}function hre(e){var{layout:r,xAxis:t,yAxis:n,xAxisTicks:o,yAxisTicks:i,dataKey:a,bandSize:u,displayedData:l}=e;return l.map((s,d)=&gt;{var f=Gr(s,a);if(r===&quot;horizontal&quot;){var h=xj({axis:t,ticks:o,bandSize:u,entry:s,index:d}),m=Mr(f)?null:n.scale(f);return{x:h,y:m,value:f,payload:s}}var p=Mr(f)?null:t.scale(f),b=xj({axis:n,ticks:i,bandSize:u,entry:s,index:d});return p==null||b==null?null:{x:p,y:b,value:f,payload:s}}).filter(Boolean)}function mre(e){var r=Mn(e,oM),t=Bn();return L.createElement(qA,{id:r.id,type:&quot;line&quot;},n=&gt;L.createElement(L.Fragment,null,L.createElement(VA,{legendPayload:tre(r)}),L.createElement(rre,{dataKey:r.dataKey,data:r.data,stroke:r.stroke,strokeWidth:r.strokeWidth,fill:r.fill,name:r.name,hide:r.hide,unit:r.unit,tooltipType:r.tooltipType,id:n}),L.createElement(WA,{type:&quot;line&quot;,id:n,data:r.data,xAxisId:r.xAxisId,yAxisId:r.yAxisId,zAxisId:0,dataKey:r.dataKey,hide:r.hide,isPanorama:t}),L.createElement(fre,jd({},r,{id:n}))))}var lM=L.memo(mre,v0);lM.displayName=&quot;Line&quot;;function Cl(e,r){var t,n;return(t=(n=e.graphicalItems.cartesianItems.find(o=&gt;o.id===r))===null||n===void 0?void 0:n.xAxisId)!==null&amp;&amp;t!==void 0?t:KA}function El(e,r){var t,n;return(t=(n=e.graphicalItems.cartesianItems.find(o=&gt;o.id===r))===null||n===void 0?void 0:n.yAxisId)!==null&amp;&amp;t!==void 0?t:KA}var pre=&quot;Invariant failed&quot;;function gre(e,r){throw new Error(pre)}function Fv(){return Fv=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Fv.apply(null,arguments)}function mp(e){return L.createElement(FA,Fv({shapeType:&quot;rectangle&quot;,activeClassName:&quot;recharts-active-bar&quot;},e))}var bre=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0;return(n,o)=&gt;{if(ft(r))return r;var i=ft(n)||Mr(n);return i?r(n,o):(i||gre(),t)}},xre=(e,r,t)=&gt;t,yre=(e,r)=&gt;r,Kd=Pe([p0,yre],(e,r)=&gt;e.filter(t=&gt;t.type===&quot;bar&quot;).find(t=&gt;t.id===r)),vre=Pe([Kd],e=&gt;e?.maxBarSize),wre=(e,r,t,n)=&gt;n,_re=Pe([ir,p0,Cl,El,xre],(e,r,t,n,o)=&gt;r.filter(i=&gt;e===&quot;horizontal&quot;?i.xAxisId===t:i.yAxisId===n).filter(i=&gt;i.isPanorama===o).filter(i=&gt;i.hide===!1).filter(i=&gt;i.type===&quot;bar&quot;)),jre=(e,r,t)=&gt;{var n=ir(e),o=Cl(e,r),i=El(e,r);if(!(o==null||i==null))return n===&quot;horizontal&quot;?Mv(e,&quot;yAxis&quot;,i,t):Mv(e,&quot;xAxis&quot;,o,t)},Sre=(e,r)=&gt;{var t=ir(e),n=Cl(e,r),o=El(e,r);if(!(n==null||o==null))return t===&quot;horizontal&quot;?pS(e,&quot;xAxis&quot;,n):pS(e,&quot;yAxis&quot;,o)},kre=Pe([_re,IX,Sre],uee),Nre=(e,r,t)=&gt;{var n,o,i=Kd(e,r);if(i!=null){var a=Cl(e,r),u=El(e,r);if(!(a==null||u==null)){var l=ir(e),s=ZE(e),{maxBarSize:d}=i,f=Mr(d)?s:d,h,m;return l===&quot;horizontal&quot;?(h=xo(e,&quot;xAxis&quot;,a,t),m=bo(e,&quot;xAxis&quot;,a,t)):(h=xo(e,&quot;yAxis&quot;,u,t),m=bo(e,&quot;yAxis&quot;,u,t)),(n=(o=kc(h,m,!0))!==null&amp;&amp;o!==void 0?o:f)!==null&amp;&amp;n!==void 0?n:0}}},cM=(e,r,t)=&gt;{var n=ir(e),o=Cl(e,r),i=El(e,r);if(!(o==null||i==null)){var a,u;return n===&quot;horizontal&quot;?(a=xo(e,&quot;xAxis&quot;,o,t),u=bo(e,&quot;xAxis&quot;,o,t)):(a=xo(e,&quot;yAxis&quot;,i,t),u=bo(e,&quot;yAxis&quot;,i,t)),kc(a,u)}},Cre=Pe([kre,ZE,TX,QE,Nre,cM,vre],pee),Ere=(e,r,t)=&gt;{var n=Cl(e,r);if(n!=null)return xo(e,&quot;xAxis&quot;,n,t)},Are=(e,r,t)=&gt;{var n=El(e,r);if(n!=null)return xo(e,&quot;yAxis&quot;,n,t)},Mre=(e,r,t)=&gt;{var n=Cl(e,r);if(n!=null)return bo(e,&quot;xAxis&quot;,n,t)},Ore=(e,r,t)=&gt;{var n=El(e,r);if(n!=null)return bo(e,&quot;yAxis&quot;,n,t)},Pre=Pe([Cre,Kd],(e,r)=&gt;{if(!(e==null||r==null)){var t=e.find(n=&gt;n.stackId===r.stackId&amp;&amp;r.dataKey!=null&amp;&amp;n.dataKeys.includes(r.dataKey));if(t!=null)return t.position}}),Tre=Pe([jre,Kd],gee),Ire=Pe([yn,J1,Ere,Are,Mre,Ore,Pre,ir,wX,cM,Tre,Kd,wre],(e,r,t,n,o,i,a,u,l,s,d,f,h)=&gt;{var{chartData:m,dataStartIndex:p,dataEndIndex:b}=l;if(!(f==null||a==null||r==null||u!==&quot;horizontal&quot;&amp;&amp;u!==&quot;vertical&quot;||t==null||n==null||o==null||i==null||s==null)){var{data:g}=f,y;if(g!=null&amp;&amp;g.length&gt;0?y=g:y=m?.slice(p,b+1),y!=null)return cne({layout:u,barSettings:f,pos:a,parentViewBox:r,bandSize:s,xAxis:t,yAxis:n,xAxisTicks:o,yAxisTicks:i,stackedData:d,displayedData:y,offset:e,cells:h,dataStartIndex:p})}}),Rre=[&quot;index&quot;];function Bv(){return Bv=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Bv.apply(null,arguments)}function Dre(e,r){if(e==null)return{};var t,n,o=Lre(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function Lre(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var uM=L.createContext(void 0),Fre=e=&gt;{var r=L.useContext(uM);if(r!=null)return r.stackId;if(e!=null)return cV(e)},Bre=(e,r)=&gt;&quot;recharts-bar-stack-clip-path-&quot;.concat(e,&quot;-&quot;).concat(r),zre=e=&gt;{var r=L.useContext(uM);if(r!=null){var{stackId:t}=r;return&quot;url(#&quot;.concat(Bre(t,e),&quot;)&quot;)}},$re=e=&gt;{var{index:r}=e,t=Dre(e,Rre),n=zre(r);return L.createElement(Hi,Bv({className:&quot;recharts-bar-stack-layer&quot;,clipPath:n},t))},Ure=[&quot;onMouseEnter&quot;,&quot;onMouseLeave&quot;,&quot;onClick&quot;],Vre=[&quot;value&quot;,&quot;background&quot;,&quot;tooltipPosition&quot;],qre=[&quot;id&quot;],Hre=[&quot;onMouseEnter&quot;,&quot;onClick&quot;,&quot;onMouseLeave&quot;];function ba(){return ba=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},ba.apply(null,arguments)}function Ek(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function qn(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Ek(Object(t),!0).forEach(function(n){Wre(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ek(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Wre(e,r,t){return(r=Kre(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Kre(e){var r=Xre(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Xre(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function pp(e,r){if(e==null)return{};var t,n,o=Gre(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function Gre(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var Yre=e=&gt;{var{dataKey:r,name:t,fill:n,legendType:o,hide:i}=e;return[{inactive:i,dataKey:r,type:o,color:n,value:Vp(t,r),payload:e}]},Zre=L.memo(e=&gt;{var{dataKey:r,stroke:t,strokeWidth:n,fill:o,name:i,hide:a,unit:u,tooltipType:l,id:s}=e,d={dataDefinedOnItem:void 0,positions:void 0,settings:{stroke:t,strokeWidth:n,fill:o,dataKey:r,nameKey:void 0,name:Vp(i,r),hide:a,type:l,color:o,unit:u,graphicalItemId:s}};return L.createElement(UA,{tooltipEntrySettings:d})});function Qre(e){var r=yt(_l),{data:t,dataKey:n,background:o,allOtherBarProps:i}=e,{onMouseEnter:a,onMouseLeave:u,onClick:l}=i,s=pp(i,Ure),d=BA(a,n,i.id),f=zA(u),h=$A(l,n,i.id);if(!o||t==null)return null;var m=Ed(o);return L.createElement(Gi,{zIndex:bee(o,xn.barBackground)},t.map((p,b)=&gt;{var{value:g,background:y,tooltipPosition:v}=p,_=pp(p,Vre);if(!y)return null;var C=d(p,b),O=f(p,b),T=h(p,b),V=qn(qn(qn(qn(qn({option:o,isActive:String(b)===r},_),{},{fill:&quot;#eee&quot;},y),m),Pp(s,p,b)),{},{onMouseEnter:C,onMouseLeave:O,onClick:T,dataKey:n,index:b,className:&quot;recharts-bar-background-rectangle&quot;});return L.createElement(mp,ba({key:&quot;background-bar-&quot;.concat(b)},V))}))}function Jre(e){var{showLabels:r,children:t,rects:n}=e,o=n?.map(i=&gt;{var a={x:i.x,y:i.y,width:i.width,lowerWidth:i.width,upperWidth:i.width,height:i.height};return qn(qn({},a),{},{value:i.value,payload:i.payload,parentViewBox:i.parentViewBox,viewBox:a,fill:i.fill})});return L.createElement(OA,{value:r?o:void 0},t)}function ene(e){var{shape:r,activeBar:t,baseProps:n,entry:o,index:i,dataKey:a}=e,u=yt(_l),l=yt(lA),s=t&amp;&amp;String(i)===u&amp;&amp;(l==null||a===l),d=s?t:r;return s?L.createElement(Gi,{zIndex:xn.activeBar},L.createElement(mp,ba({},n,{name:String(n.name)},o,{isActive:s,option:d,index:i,dataKey:a}))):L.createElement(mp,ba({},n,{name:String(n.name)},o,{isActive:s,option:d,index:i,dataKey:a}))}function tne(e){var{shape:r,baseProps:t,entry:n,index:o,dataKey:i}=e;return L.createElement(mp,ba({},t,{name:String(t.name)},n,{isActive:!1,option:r,index:o,dataKey:i}))}function rne(e){var r,{data:t,props:n}=e,o=(r=hs(n))!==null&amp;&amp;r!==void 0?r:{},{id:i}=o,a=pp(o,qre),{shape:u,dataKey:l,activeBar:s}=n,{onMouseEnter:d,onClick:f,onMouseLeave:h}=n,m=pp(n,Hre),p=BA(d,l,i),b=zA(h),g=$A(f,l,i);return t?L.createElement(L.Fragment,null,t.map((y,v)=&gt;L.createElement($re,ba({index:v,key:&quot;rectangle-&quot;.concat(y?.x,&quot;-&quot;).concat(y?.y,&quot;-&quot;).concat(y?.value,&quot;-&quot;).concat(v),className:&quot;recharts-bar-rectangle&quot;},Pp(m,y,v),{onMouseEnter:p(y,v),onMouseLeave:b(y,v),onClick:g(y,v)}),s?L.createElement(ene,{shape:u,activeBar:s,baseProps:a,entry:y,index:v,dataKey:l}):L.createElement(tne,{shape:u,baseProps:a,entry:y,index:v,dataKey:l})))):null}function nne(e){var{props:r,previousRectanglesRef:t}=e,{data:n,layout:o,isAnimationActive:i,animationBegin:a,animationDuration:u,animationEasing:l,onAnimationEnd:s,onAnimationStart:d}=r,f=t.current,h=t0(r,&quot;recharts-bar-&quot;),[m,p]=L.useState(!1),b=!m,g=L.useCallback(()=&gt;{typeof s==&quot;function&quot;&amp;&amp;s(),p(!1)},[s]),y=L.useCallback(()=&gt;{typeof d==&quot;function&quot;&amp;&amp;d(),p(!0)},[d]);return L.createElement(Jre,{showLabels:b,rects:n},L.createElement(e0,{animationId:h,begin:a,duration:u,isActive:i,easing:l,onAnimationEnd:g,onAnimationStart:y,key:h},v=&gt;{var _=v===1?n:n?.map((C,O)=&gt;{var T=f&amp;&amp;f[O];if(T)return qn(qn({},C),{},{x:zr(T.x,C.x,v),y:zr(T.y,C.y,v),width:zr(T.width,C.width,v),height:zr(T.height,C.height,v)});if(o===&quot;horizontal&quot;){var V=zr(0,C.height,v),F=zr(C.stackedBarStart,C.y,v);return qn(qn({},C),{},{y:F,height:V})}var H=zr(0,C.width,v),W=zr(C.stackedBarStart,C.x,v);return qn(qn({},C),{},{width:H,x:W})});return v&gt;0&amp;&amp;(t.current=_??null),_==null?null:L.createElement(Hi,null,L.createElement(rne,{props:r,data:_}))}),L.createElement(TA,{label:r.label}),r.children)}function ine(e){var r=L.useRef(null);return L.createElement(nne,{previousRectanglesRef:r,props:e})}var dM=0,sne=(e,r)=&gt;{var t=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:t,errorVal:Gr(e,r)}};class ane extends L.PureComponent{render(){var{hide:r,data:t,dataKey:n,className:o,xAxisId:i,yAxisId:a,needClip:u,background:l,id:s}=this.props;if(r||t==null)return null;var d=cr(&quot;recharts-bar&quot;,o),f=s;return L.createElement(Hi,{className:d,id:s},u&amp;&amp;L.createElement(&quot;defs&quot;,null,L.createElement(tM,{clipPathId:f,xAxisId:i,yAxisId:a})),L.createElement(Hi,{className:&quot;recharts-bar-rectangles&quot;,clipPath:u?&quot;url(#clipPath-&quot;.concat(f,&quot;)&quot;):void 0},L.createElement(Qre,{data:t,dataKey:n,background:l,allOtherBarProps:this.props}),L.createElement(ine,this.props)))}}var one={activeBar:!1,animationBegin:0,animationDuration:400,animationEasing:&quot;ease&quot;,background:!1,hide:!1,isAnimationActive:&quot;auto&quot;,label:!1,legendType:&quot;rect&quot;,minPointSize:dM,xAxisId:0,yAxisId:0,zIndex:xn.bar};function lne(e){var{xAxisId:r,yAxisId:t,hide:n,legendType:o,minPointSize:i,activeBar:a,animationBegin:u,animationDuration:l,animationEasing:s,isAnimationActive:d}=e,{needClip:f}=cw(r,t),h=Lc(),m=Bn(),p=aJ(e.children,yA),b=yt(v=&gt;Ire(v,e.id,m,p));if(h!==&quot;vertical&quot;&amp;&amp;h!==&quot;horizontal&quot;)return null;var g,y=b?.[0];return y==null||y.height==null||y.width==null?g=0:g=h===&quot;vertical&quot;?y.height/2:y.width/2,L.createElement(eM,{xAxisId:r,yAxisId:t,data:b,dataPointFormatter:sne,errorBarOffset:g},L.createElement(ane,ba({},e,{layout:h,needClip:f,data:b,xAxisId:r,yAxisId:t,hide:n,legendType:o,minPointSize:i,activeBar:a,animationBegin:u,animationDuration:l,animationEasing:s,isAnimationActive:d})))}function cne(e){var{layout:r,barSettings:{dataKey:t,minPointSize:n},pos:o,bandSize:i,xAxis:a,yAxis:u,xAxisTicks:l,yAxisTicks:s,stackedData:d,displayedData:f,offset:h,cells:m,parentViewBox:p,dataStartIndex:b}=e,g=r===&quot;horizontal&quot;?u:a,y=d?g.scale.domain():null,v=uV({numericAxis:g}),_=g.scale(v);return f.map((C,O)=&gt;{var T,V,F,H,W,K;if(d){var $=d[O+b];if($==null)return null;T=iV($,y)}else T=Gr(C,t),Array.isArray(T)||(T=[v,T]);var P=bre(n,dM)(T[1],O);if(r===&quot;horizontal&quot;){var D,[E,j]=[u.scale(T[0]),u.scale(T[1])];V=yj({axis:a,ticks:l,bandSize:i,offset:o.offset,entry:C,index:O}),F=(D=j??E)!==null&amp;&amp;D!==void 0?D:void 0,H=o.size;var k=E-j;if(W=ms(k)?0:k,K={x:V,y:h.top,width:H,height:h.height},Math.abs(P)&gt;0&amp;&amp;Math.abs(W)&lt;Math.abs(P)){var S=li(W||P)*(Math.abs(P)-Math.abs(W));F-=S,W+=S}}else{var[N,M]=[a.scale(T[0]),a.scale(T[1])];if(V=N,F=yj({axis:u,ticks:s,bandSize:i,offset:o.offset,entry:C,index:O}),H=M-N,W=o.size,K={x:h.left,y:F,width:h.width,height:W},Math.abs(P)&gt;0&amp;&amp;Math.abs(H)&lt;Math.abs(P)){var R=li(H||P)*(Math.abs(P)-Math.abs(H));H+=R}}if(V==null||F==null||H==null||W==null)return null;var B=qn(qn({},C),{},{stackedBarStart:_,x:V,y:F,width:H,height:W,value:d?T:T[1],payload:C,background:K,tooltipPosition:{x:V+H/2,y:F+W/2},parentViewBox:p},m&amp;&amp;m[O]&amp;&amp;m[O].props);return B}).filter(Boolean)}function une(e){var r=Mn(e,one),t=Fre(r.stackId),n=Bn();return L.createElement(qA,{id:r.id,type:&quot;bar&quot;},o=&gt;L.createElement(L.Fragment,null,L.createElement(VA,{legendPayload:Yre(r)}),L.createElement(Zre,{dataKey:r.dataKey,stroke:r.stroke,strokeWidth:r.strokeWidth,fill:r.fill,name:r.name,hide:r.hide,unit:r.unit,tooltipType:r.tooltipType,id:o}),L.createElement(WA,{type:&quot;bar&quot;,id:o,data:void 0,xAxisId:r.xAxisId,yAxisId:r.yAxisId,zAxisId:0,dataKey:r.dataKey,stackId:t,hide:r.hide,barSize:r.barSize,minPointSize:r.minPointSize,maxBarSize:r.maxBarSize,isPanorama:n}),L.createElement(Gi,{zIndex:r.zIndex},L.createElement(lne,ba({},r,{id:o})))))}var zv=L.memo(une,v0);zv.displayName=&quot;Bar&quot;;var dne=[&quot;domain&quot;,&quot;range&quot;],fne=[&quot;domain&quot;,&quot;range&quot;];function Ak(e,r){if(e==null)return{};var t,n,o=hne(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function hne(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function Mk(e,r){return e===r?!0:Array.isArray(e)&amp;&amp;e.length===2&amp;&amp;Array.isArray(r)&amp;&amp;r.length===2?e[0]===r[0]&amp;&amp;e[1]===r[1]:!1}function fM(e,r){if(e===r)return!0;var{domain:t,range:n}=e,o=Ak(e,dne),{domain:i,range:a}=r,u=Ak(r,fne);return!Mk(t,i)||!Mk(n,a)?!1:v0(o,u)}var mne=[&quot;dangerouslySetInnerHTML&quot;,&quot;ticks&quot;,&quot;scale&quot;],pne=[&quot;id&quot;,&quot;scale&quot;];function $v(){return $v=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},$v.apply(null,arguments)}function Ok(e,r){if(e==null)return{};var t,n,o=gne(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function gne(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function bne(e){var r=Dr(),t=L.useRef(null);return L.useLayoutEffect(()=&gt;{t.current===null?r(XJ(e)):t.current!==e&amp;&amp;r(GJ({prev:t.current,next:e})),t.current=e},[e,r]),L.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(YJ(t.current)),t.current=null)},[r]),null}var xne=e=&gt;{var{xAxisId:r,className:t}=e,n=yt(J1),o=Bn(),i=&quot;xAxis&quot;,a=yt(y=&gt;U9(y,i,r,o)),u=yt(y=&gt;F9(y,r)),l=yt(y=&gt;OG(y,r)),s=yt(y=&gt;o9(y,r));if(u==null||l==null||s==null)return null;var{dangerouslySetInnerHTML:d,ticks:f,scale:h}=e,m=Ok(e,mne),{id:p,scale:b}=s,g=Ok(s,pne);return L.createElement(lw,$v({},m,g,{x:l.x,y:l.y,width:u.width,height:u.height,className:cr(&quot;recharts-&quot;.concat(i,&quot; &quot;).concat(i),t),viewBox:n,ticks:a,axisType:i}))},yne={allowDataOverflow:pn.allowDataOverflow,allowDecimals:pn.allowDecimals,allowDuplicatedCategory:pn.allowDuplicatedCategory,angle:pn.angle,axisLine:la.axisLine,height:pn.height,hide:!1,includeHidden:pn.includeHidden,interval:pn.interval,minTickGap:pn.minTickGap,mirror:pn.mirror,orientation:pn.orientation,padding:pn.padding,reversed:pn.reversed,scale:pn.scale,tick:pn.tick,tickCount:pn.tickCount,tickLine:la.tickLine,tickSize:la.tickSize,type:pn.type,xAxisId:0},vne=e=&gt;{var r=Mn(e,yne);return L.createElement(L.Fragment,null,L.createElement(bne,{allowDataOverflow:r.allowDataOverflow,allowDecimals:r.allowDecimals,allowDuplicatedCategory:r.allowDuplicatedCategory,angle:r.angle,dataKey:r.dataKey,domain:r.domain,height:r.height,hide:r.hide,id:r.xAxisId,includeHidden:r.includeHidden,interval:r.interval,minTickGap:r.minTickGap,mirror:r.mirror,name:r.name,orientation:r.orientation,padding:r.padding,reversed:r.reversed,scale:r.scale,tick:r.tick,tickCount:r.tickCount,tickFormatter:r.tickFormatter,ticks:r.ticks,type:r.type,unit:r.unit}),L.createElement(xne,r))},um=L.memo(vne,fM);um.displayName=&quot;XAxis&quot;;var wne=[&quot;dangerouslySetInnerHTML&quot;,&quot;ticks&quot;,&quot;scale&quot;],_ne=[&quot;id&quot;,&quot;scale&quot;];function Uv(){return Uv=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Uv.apply(null,arguments)}function Pk(e,r){if(e==null)return{};var t,n,o=jne(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function jne(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function Sne(e){var r=Dr(),t=L.useRef(null);return L.useLayoutEffect(()=&gt;{t.current===null?r(ZJ(e)):t.current!==e&amp;&amp;r(QJ({prev:t.current,next:e})),t.current=e},[e,r]),L.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(JJ(t.current)),t.current=null)},[r]),null}var kne=e=&gt;{var{yAxisId:r,className:t,width:n,label:o}=e,i=L.useRef(null),a=L.useRef(null),u=yt(J1),l=Bn(),s=Dr(),d=&quot;yAxis&quot;,f=yt(T=&gt;B9(T,r)),h=yt(T=&gt;TG(T,r)),m=yt(T=&gt;U9(T,d,r,l)),p=yt(T=&gt;l9(T,r));if(L.useLayoutEffect(()=&gt;{if(!(n!==&quot;auto&quot;||!f||iw(o)||L.isValidElement(o)||p==null)){var T=i.current;if(T){var V=T.getCalculatedWidth();Math.round(f.width)!==Math.round(V)&amp;&amp;s(eee({id:r,width:V}))}}},[m,f,s,o,r,n,p]),f==null||h==null||p==null)return null;var{dangerouslySetInnerHTML:b,ticks:g,scale:y}=e,v=Pk(e,wne),{id:_,scale:C}=p,O=Pk(p,_ne);return L.createElement(lw,Uv({},v,O,{ref:i,labelRef:a,x:h.x,y:h.y,tickTextProps:n===&quot;auto&quot;?{width:void 0}:{width:n},width:f.width,height:f.height,className:cr(&quot;recharts-&quot;.concat(d,&quot; &quot;).concat(d),t),viewBox:u,ticks:m,axisType:d}))},Nne={allowDataOverflow:gn.allowDataOverflow,allowDecimals:gn.allowDecimals,allowDuplicatedCategory:gn.allowDuplicatedCategory,angle:gn.angle,axisLine:la.axisLine,hide:!1,includeHidden:gn.includeHidden,interval:gn.interval,minTickGap:gn.minTickGap,mirror:gn.mirror,orientation:gn.orientation,padding:gn.padding,reversed:gn.reversed,scale:gn.scale,tick:gn.tick,tickCount:gn.tickCount,tickLine:la.tickLine,tickSize:la.tickSize,type:gn.type,width:gn.width,yAxisId:0},Cne=e=&gt;{var r=Mn(e,Nne);return L.createElement(L.Fragment,null,L.createElement(Sne,{interval:r.interval,id:r.yAxisId,scale:r.scale,type:r.type,domain:r.domain,allowDataOverflow:r.allowDataOverflow,dataKey:r.dataKey,allowDuplicatedCategory:r.allowDuplicatedCategory,allowDecimals:r.allowDecimals,tickCount:r.tickCount,padding:r.padding,includeHidden:r.includeHidden,reversed:r.reversed,ticks:r.ticks,width:r.width,orientation:r.orientation,mirror:r.mirror,hide:r.hide,unit:r.unit,name:r.name,angle:r.angle,minTickGap:r.minTickGap,tick:r.tick,tickFormatter:r.tickFormatter}),L.createElement(kne,r))},dm=L.memo(Cne,fM);dm.displayName=&quot;YAxis&quot;;var Ene=(e,r)=&gt;r,dw=Pe([Ene,ir,s9,an,iA,ka,XY,yn],tZ),fw=e=&gt;{var r=e.currentTarget.getBoundingClientRect(),t=r.width/e.currentTarget.offsetWidth,n=r.height/e.currentTarget.offsetHeight;return{chartX:Math.round((e.clientX-r.left)/t),chartY:Math.round((e.clientY-r.top)/n)}},hM=Wi(&quot;mouseClick&quot;),mM=Pd();mM.startListening({actionCreator:hM,effect:(e,r)=&gt;{var t=e.payload,n=dw(r.getState(),fw(t));n?.activeIndex!=null&amp;&amp;r.dispatch(KG({activeIndex:n.activeIndex,activeDataKey:void 0,activeCoordinate:n.activeCoordinate}))}});var Vv=Wi(&quot;mouseMove&quot;),pM=Pd(),Xh=null;pM.startListening({actionCreator:Vv,effect:(e,r)=&gt;{var t=e.payload;Xh!==null&amp;&amp;cancelAnimationFrame(Xh);var n=fw(t);Xh=requestAnimationFrame(()=&gt;{var o=r.getState(),i=K2(o,o.tooltip.settings.shared);if(i===&quot;axis&quot;){var a=dw(o,n);a?.activeIndex!=null?r.dispatch(Y9({activeIndex:a.activeIndex,activeDataKey:void 0,activeCoordinate:a.activeCoordinate})):r.dispatch(G9())}Xh=null})}});function Ane(e,r){return r instanceof HTMLElement?&quot;HTMLElement &lt;&quot;.concat(r.tagName,&#039; class=&quot;&#039;).concat(r.className,&#039;&quot;&gt;&#039;):r===window?&quot;global.window&quot;:e===&quot;children&quot;&amp;&amp;typeof r==&quot;object&quot;&amp;&amp;r!==null?&quot;&lt;&lt;CHILDREN&gt;&gt;&quot;:r}var Tk={accessibilityLayer:!0,barCategoryGap:&quot;10%&quot;,barGap:4,barSize:void 0,className:void 0,maxBarSize:void 0,stackOffset:&quot;none&quot;,syncId:void 0,syncMethod:&quot;index&quot;,baseValue:void 0,reverseStackOrder:!1},gM=di({name:&quot;rootProps&quot;,initialState:Tk,reducers:{updateOptions:(e,r)=&gt;{var t;e.accessibilityLayer=r.payload.accessibilityLayer,e.barCategoryGap=r.payload.barCategoryGap,e.barGap=(t=r.payload.barGap)!==null&amp;&amp;t!==void 0?t:Tk.barGap,e.barSize=r.payload.barSize,e.maxBarSize=r.payload.maxBarSize,e.stackOffset=r.payload.stackOffset,e.syncId=r.payload.syncId,e.syncMethod=r.payload.syncMethod,e.className=r.payload.className,e.baseValue=r.payload.baseValue,e.reverseStackOrder=r.payload.reverseStackOrder}}}),Mne=gM.reducer,{updateOptions:One}=gM.actions,bM=di({name:&quot;polarOptions&quot;,initialState:null,reducers:{updatePolarOptions:(e,r)=&gt;r.payload}}),{updatePolarOptions:Lse}=bM.actions,Pne=bM.reducer,xM=Wi(&quot;keyDown&quot;),yM=Wi(&quot;focus&quot;),hw=Pd();hw.startListening({actionCreator:xM,effect:(e,r)=&gt;{var t=r.getState(),n=t.rootProps.accessibilityLayer!==!1;if(n){var{keyboardInteraction:o}=t.tooltip,i=e.payload;if(!(i!==&quot;ArrowRight&quot;&amp;&amp;i!==&quot;ArrowLeft&quot;&amp;&amp;i!==&quot;Enter&quot;)){var a=X2(o,Hc(t),$d(t),Hd(t)),u=a==null?-1:Number(a);if(!(!Number.isFinite(u)||u&lt;0)){var l=ka(t);if(i===&quot;Enter&quot;){var s=lp(t,&quot;axis&quot;,&quot;hover&quot;,String(o.index));r.dispatch(Pv({active:!o.active,activeIndex:o.index,activeCoordinate:s}));return}var d=LG(t),f=d===&quot;left-to-right&quot;?1:-1,h=i===&quot;ArrowRight&quot;?1:-1,m=u+h*f;if(!(l==null||m&gt;=l.length||m&lt;0)){var p=lp(t,&quot;axis&quot;,&quot;hover&quot;,String(m));r.dispatch(Pv({active:!0,activeIndex:m.toString(),activeCoordinate:p}))}}}}}});hw.startListening({actionCreator:yM,effect:(e,r)=&gt;{var t=r.getState(),n=t.rootProps.accessibilityLayer!==!1;if(n){var{keyboardInteraction:o}=t.tooltip;if(!o.active&amp;&amp;o.index==null){var i=&quot;0&quot;,a=lp(t,&quot;axis&quot;,&quot;hover&quot;,String(i));r.dispatch(Pv({active:!0,activeIndex:i,activeCoordinate:a}))}}}});var Fi=Wi(&quot;externalEvent&quot;),vM=Pd(),ny=new Map;vM.startListening({actionCreator:Fi,effect:(e,r)=&gt;{var{handler:t,reactEvent:n}=e.payload;if(t!=null){n.persist();var o=n.type,i=ny.get(o);i!==void 0&amp;&amp;cancelAnimationFrame(i);var a=requestAnimationFrame(()=&gt;{try{var u=r.getState(),l={activeCoordinate:PY(u),activeDataKey:lA(u),activeIndex:_l(u),activeLabel:oA(u),activeTooltipIndex:_l(u),isTooltipActive:TY(u)};t(l,n)}finally{ny.delete(o)}});ny.set(o,a)}}});var Tne=Pe([Vc],e=&gt;e.tooltipItemPayloads),Ine=Pe([Tne,qd,(e,r)=&gt;r,(e,r,t)=&gt;t],(e,r,t,n)=&gt;{var o=e.find(u=&gt;u.settings.graphicalItemId===n);if(o!=null){var{positions:i}=o;if(i!=null){var a=r(i,t);return a}}}),wM=Wi(&quot;touchMove&quot;),_M=Pd();_M.startListening({actionCreator:wM,effect:(e,r)=&gt;{var t=e.payload;if(!(t.touches==null||t.touches.length===0)){var n=r.getState(),o=K2(n,n.tooltip.settings.shared);if(o===&quot;axis&quot;){var i=t.touches[0];if(i==null)return;var a=dw(n,fw({clientX:i.clientX,clientY:i.clientY,currentTarget:t.currentTarget}));a?.activeIndex!=null&amp;&amp;r.dispatch(Y9({activeIndex:a.activeIndex,activeDataKey:void 0,activeCoordinate:a.activeCoordinate}))}else if(o===&quot;item&quot;){var u,l=t.touches[0];if(document.elementFromPoint==null||l==null)return;var s=document.elementFromPoint(l.clientX,l.clientY);if(!s||!s.getAttribute)return;var d=s.getAttribute(bV),f=(u=s.getAttribute(xV))!==null&amp;&amp;u!==void 0?u:void 0,h=qc(n).find(b=&gt;b.id===f);if(d==null||h==null||f==null)return;var{dataKey:m}=h,p=Ine(n,d,f);r.dispatch(X9({activeDataKey:m,activeIndex:d,activeCoordinate:p,activeGraphicalItemId:f}))}}}});var Rne=r7({brush:yee,cartesianAxis:tee,chartData:PZ,errorBars:gte,graphicalItems:TJ,layout:QU,legend:dq,options:CZ,polarAxis:rJ,polarOptions:Pne,referenceElements:Nee,rootProps:Mne,tooltip:XG,zIndex:pZ}),Dne=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;Chart&quot;;return jU({reducer:Rne,preloadedState:r,middleware:n=&gt;{var o;return n({serializableCheck:!1,immutableCheck:![&quot;commonjs&quot;,&quot;es6&quot;,&quot;production&quot;].includes((o=&quot;es6&quot;)!==null&amp;&amp;o!==void 0?o:&quot;&quot;)}).concat([mM.middleware,pM.middleware,hw.middleware,vM.middleware,_M.middleware])},enhancers:n=&gt;{var o=n;return typeof n==&quot;function&quot;&amp;&amp;(o=n()),o.concat(b7({type:&quot;raf&quot;}))},devTools:{serialize:{replacer:Ane},name:&quot;recharts-&quot;.concat(t)}})};function Lne(e){var{preloadedState:r,children:t,reduxStoreName:n}=e,o=Bn(),i=L.useRef(null);if(o)return t;i.current==null&amp;&amp;(i.current=Dne(r,n));var a=W1;return L.createElement(Hte,{context:a,store:i.current},t)}function Fne(e){var{layout:r,margin:t}=e,n=Dr(),o=Bn();return L.useEffect(()=&gt;{o||(n(GU(r)),n(XU(t)))},[n,o,r,t]),null}var Bne=L.memo(Fne,v0);function zne(e){var r=Dr();return L.useEffect(()=&gt;{r(One(e))},[r,e]),null}function Ik(e){var{zIndex:r,isPanorama:t}=e,n=L.useRef(null),o=Dr();return L.useLayoutEffect(()=&gt;(n.current&amp;&amp;o(hZ({zIndex:r,element:n.current,isPanorama:t})),()=&gt;{o(mZ({zIndex:r,isPanorama:t}))}),[o,r,t]),L.createElement(&quot;g&quot;,{tabIndex:-1,ref:n})}function Rk(e){var{children:r,isPanorama:t}=e,n=yt(nZ);if(!n||n.length===0)return r;var o=n.filter(a=&gt;a&lt;0),i=n.filter(a=&gt;a&gt;0);return L.createElement(L.Fragment,null,o.map(a=&gt;L.createElement(Ik,{key:a,zIndex:a,isPanorama:t})),r,i.map(a=&gt;L.createElement(Ik,{key:a,zIndex:a,isPanorama:t})))}var $ne=[&quot;children&quot;];function Une(e,r){if(e==null)return{};var t,n,o=Vne(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function Vne(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function gp(){return gp=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},gp.apply(null,arguments)}var qne={width:&quot;100%&quot;,height:&quot;100%&quot;,display:&quot;block&quot;},Hne=L.forwardRef((e,r)=&gt;{var t=t2(),n=r2(),o=W7();if(!Is(t)||!Is(n))return null;var{children:i,otherAttributes:a,title:u,desc:l}=e,s,d;return a!=null&amp;&amp;(typeof a.tabIndex==&quot;number&quot;?s=a.tabIndex:s=o?0:void 0,typeof a.role==&quot;string&quot;?d=a.role:d=o?&quot;application&quot;:void 0),L.createElement(R1,gp({},a,{title:u,desc:l,role:d,tabIndex:s,width:t,height:n,style:qne,ref:r}),i)}),Wne=e=&gt;{var{children:r}=e,t=yt(Kp);if(!t)return null;var{width:n,height:o,y:i,x:a}=t;return L.createElement(R1,{width:n,height:o,x:a,y:i},r)},Dk=L.forwardRef((e,r)=&gt;{var{children:t}=e,n=Une(e,$ne),o=Bn();return o?L.createElement(Wne,null,L.createElement(Rk,{isPanorama:!0},t)):L.createElement(Hne,gp({ref:r},n),L.createElement(Rk,{isPanorama:!1},t))});function Kne(){var e=Dr(),[r,t]=L.useState(null),n=yt(gV);return L.useEffect(()=&gt;{if(r!=null){var o=r.getBoundingClientRect(),i=o.width/r.offsetWidth;Rr(i)&amp;&amp;i!==n&amp;&amp;e(ZU(i))}},[r,e,n]),t}function Lk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Xne(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Lk(Object(t),!0).forEach(function(n){Gne(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Lk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Gne(e,r,t){return(r=Yne(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Yne(e){var r=Zne(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Zne(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Sl(){return Sl=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Sl.apply(null,arguments)}var Qne=()=&gt;($Z(),null);function bp(e){if(typeof e==&quot;number&quot;)return e;if(typeof e==&quot;string&quot;){var r=parseFloat(e);if(!Number.isNaN(r))return r}return 0}var Jne=L.forwardRef((e,r)=&gt;{var t,n,o=L.useRef(null),[i,a]=L.useState({containerWidth:bp((t=e.style)===null||t===void 0?void 0:t.width),containerHeight:bp((n=e.style)===null||n===void 0?void 0:n.height)}),u=L.useCallback((s,d)=&gt;{a(f=&gt;{var h=Math.round(s),m=Math.round(d);return f.containerWidth===h&amp;&amp;f.containerHeight===m?f:{containerWidth:h,containerHeight:m}})},[]),l=L.useCallback(s=&gt;{if(typeof r==&quot;function&quot;&amp;&amp;r(s),s!=null&amp;&amp;typeof ResizeObserver&lt;&quot;u&quot;){var{width:d,height:f}=s.getBoundingClientRect();u(d,f);var h=p=&gt;{var{width:b,height:g}=p[0].contentRect;u(b,g)},m=new ResizeObserver(h);m.observe(s),o.current=m}},[r,u]);return L.useEffect(()=&gt;()=&gt;{var s=o.current;s?.disconnect()},[u]),L.createElement(L.Fragment,null,L.createElement(Gp,{width:i.containerWidth,height:i.containerHeight}),L.createElement(&quot;div&quot;,Sl({ref:l},e)))}),eie=L.forwardRef((e,r)=&gt;{var{width:t,height:n}=e,[o,i]=L.useState({containerWidth:bp(t),containerHeight:bp(n)}),a=L.useCallback((l,s)=&gt;{i(d=&gt;{var f=Math.round(l),h=Math.round(s);return d.containerWidth===f&amp;&amp;d.containerHeight===h?d:{containerWidth:f,containerHeight:h}})},[]),u=L.useCallback(l=&gt;{if(typeof r==&quot;function&quot;&amp;&amp;r(l),l!=null){var{width:s,height:d}=l.getBoundingClientRect();a(s,d)}},[r,a]);return L.createElement(L.Fragment,null,L.createElement(Gp,{width:o.containerWidth,height:o.containerHeight}),L.createElement(&quot;div&quot;,Sl({ref:u},e)))}),tie=L.forwardRef((e,r)=&gt;{var{width:t,height:n}=e;return L.createElement(L.Fragment,null,L.createElement(Gp,{width:t,height:n}),L.createElement(&quot;div&quot;,Sl({ref:r},e)))}),rie=L.forwardRef((e,r)=&gt;{var{width:t,height:n}=e;return da(t)||da(n)?L.createElement(eie,Sl({},e,{ref:r})):L.createElement(tie,Sl({},e,{ref:r}))});function nie(e){return e===!0?Jne:rie}var iie=L.forwardRef((e,r)=&gt;{var{children:t,className:n,height:o,onClick:i,onContextMenu:a,onDoubleClick:u,onMouseDown:l,onMouseEnter:s,onMouseLeave:d,onMouseMove:f,onMouseUp:h,onTouchEnd:m,onTouchMove:p,onTouchStart:b,style:g,width:y,responsive:v,dispatchTouchEvents:_=!0}=e,C=L.useRef(null),O=Dr(),[T,V]=L.useState(null),[F,H]=L.useState(null),W=Kne(),K=e2(),$=K?.width&gt;0?K.width:y,P=K?.height&gt;0?K.height:o,D=L.useCallback(I=&gt;{W(I),typeof r==&quot;function&quot;&amp;&amp;r(I),V(I),H(I),I!=null&amp;&amp;(C.current=I)},[W,r,V,H]),E=L.useCallback(I=&gt;{O(hM(I)),O(Fi({handler:i,reactEvent:I}))},[O,i]),j=L.useCallback(I=&gt;{O(Vv(I)),O(Fi({handler:s,reactEvent:I}))},[O,s]),k=L.useCallback(I=&gt;{O(G9()),O(Fi({handler:d,reactEvent:I}))},[O,d]),S=L.useCallback(I=&gt;{O(Vv(I)),O(Fi({handler:f,reactEvent:I}))},[O,f]),N=L.useCallback(()=&gt;{O(yM())},[O]),M=L.useCallback(I=&gt;{O(xM(I.key))},[O]),R=L.useCallback(I=&gt;{O(Fi({handler:a,reactEvent:I}))},[O,a]),B=L.useCallback(I=&gt;{O(Fi({handler:u,reactEvent:I}))},[O,u]),Y=L.useCallback(I=&gt;{O(Fi({handler:l,reactEvent:I}))},[O,l]),Z=L.useCallback(I=&gt;{O(Fi({handler:h,reactEvent:I}))},[O,h]),ie=L.useCallback(I=&gt;{O(Fi({handler:b,reactEvent:I}))},[O,b]),U=L.useCallback(I=&gt;{_&amp;&amp;O(wM(I)),O(Fi({handler:p,reactEvent:I}))},[O,_,p]),ee=L.useCallback(I=&gt;{O(Fi({handler:m,reactEvent:I}))},[O,m]),z=nie(v);return L.createElement(pA.Provider,{value:T},L.createElement(yC.Provider,{value:F},L.createElement(z,{width:$??g?.width,height:P??g?.height,className:cr(&quot;recharts-wrapper&quot;,n),style:Xne({position:&quot;relative&quot;,cursor:&quot;default&quot;,width:$,height:P},g),onClick:E,onContextMenu:R,onDoubleClick:B,onFocus:N,onKeyDown:M,onMouseDown:Y,onMouseEnter:j,onMouseLeave:k,onMouseMove:S,onMouseUp:Z,onTouchEnd:ee,onTouchMove:U,onTouchStart:ie,ref:D},L.createElement(Qne,null),t)))}),sie=[&quot;width&quot;,&quot;height&quot;,&quot;responsive&quot;,&quot;children&quot;,&quot;className&quot;,&quot;style&quot;,&quot;compact&quot;,&quot;title&quot;,&quot;desc&quot;];function aie(e,r){if(e==null)return{};var t,n,o=oie(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function oie(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var lie=L.forwardRef((e,r)=&gt;{var{width:t,height:n,responsive:o,children:i,className:a,style:u,compact:l,title:s,desc:d}=e,f=aie(e,sie),h=hs(f);return l?L.createElement(L.Fragment,null,L.createElement(Gp,{width:t,height:n}),L.createElement(Dk,{otherAttributes:h,title:s,desc:d},i)):L.createElement(iie,{className:a,style:u,width:t,height:n,responsive:o??!1,onClick:e.onClick,onMouseLeave:e.onMouseLeave,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseDown:e.onMouseDown,onMouseUp:e.onMouseUp,onContextMenu:e.onContextMenu,onDoubleClick:e.onDoubleClick,onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd},L.createElement(Dk,{otherAttributes:h,title:s,desc:d,ref:r},L.createElement(Eee,null,i)))});function qv(){return qv=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},qv.apply(null,arguments)}var cie={top:5,right:5,bottom:5,left:5},uie={accessibilityLayer:!0,barCategoryGap:&quot;10%&quot;,barGap:4,layout:&quot;horizontal&quot;,margin:cie,responsive:!1,reverseStackOrder:!1,stackOffset:&quot;none&quot;,syncMethod:&quot;index&quot;},jM=L.forwardRef(function(r,t){var n,o=Mn(r.categoricalChartProps,uie),{chartName:i,defaultTooltipEventType:a,validateTooltipEventTypes:u,tooltipPayloadSearcher:l,categoricalChartProps:s}=r,d={chartName:i,defaultTooltipEventType:a,validateTooltipEventTypes:u,tooltipPayloadSearcher:l,eventEmitter:void 0};return L.createElement(Lne,{preloadedState:{options:d},reduxStoreName:(n=s.id)!==null&amp;&amp;n!==void 0?n:i},L.createElement(xee,{chartData:s.data}),L.createElement(Bne,{layout:o.layout,margin:o.margin}),L.createElement(zne,{baseValue:o.baseValue,accessibilityLayer:o.accessibilityLayer,barCategoryGap:o.barCategoryGap,maxBarSize:o.maxBarSize,stackOffset:o.stackOffset,barGap:o.barGap,barSize:o.barSize,syncId:o.syncId,syncMethod:o.syncMethod,className:o.className,reverseStackOrder:o.reverseStackOrder}),L.createElement(lie,qv({},o,{ref:t})))}),die=[&quot;axis&quot;],fie=L.forwardRef((e,r)=&gt;L.createElement(jM,{chartName:&quot;LineChart&quot;,defaultTooltipEventType:&quot;axis&quot;,validateTooltipEventTypes:die,tooltipPayloadSearcher:gA,categoricalChartProps:e,ref:r})),hie=[&quot;axis&quot;,&quot;item&quot;],Fk=L.forwardRef((e,r)=&gt;L.createElement(jM,{chartName:&quot;BarChart&quot;,defaultTooltipEventType:&quot;axis&quot;,validateTooltipEventTypes:hie,tooltipPayloadSearcher:gA,categoricalChartProps:e,ref:r}));const mie=2,Bk=1;function pie({stats:e,loading:r}){if(r)return c.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-1 lg:grid-cols-2 gap-4&quot;,children:[1,2].map(f=&gt;c.jsx(Kn,{className:&quot;animate-pulse&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;h-[220px] bg-gray-200 rounded&quot;})},f))});if(!e)return c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 py-4 text-center&quot;,children:&quot;Aucune statistique disponible pour les graphiques.&quot;});const t=(e.timeline||[]).map(f=&gt;({date:new Date(f.date).toLocaleDateString(&quot;fr-FR&quot;,{day:&quot;2-digit&quot;,month:&quot;2-digit&quot;}),count:f.count})),n=Object.entries(e.by_status||{}).filter(([,f])=&gt;f&gt;0).map(([f,h])=&gt;({status:T1(f).label,count:h})),o=(e.by_plan||[]).slice(0,5).map(f=&gt;({name:f.pricing_plan_code||f.pricing_plan_name||&quot;-&quot;,count:f.count})),i=t.reduce((f,h)=&gt;f+h.count,0),a=n.reduce((f,h)=&gt;f+h.count,0),u=t.length&gt;=mie&amp;&amp;i&gt;=Bk,l=n.length&gt;=1&amp;&amp;a&gt;=Bk,s=o.length&gt;=1&amp;&amp;o.some(f=&gt;f.count&gt;0);return!u&amp;&amp;!l&amp;&amp;!s?c.jsx(&quot;div&quot;,{className:&quot;rounded-lg border border-dashed border-gray-200 bg-gray-50/80 px-4 py-8 text-center&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600&quot;,children:&quot;Pas assez de données pour afficher les graphiques. Les statistiques apparaîtront lorsque plus d&#039;inscriptions seront enregistrées.&quot;})}):c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 lg:grid-cols-2 gap-4&quot;,children:[u?c.jsxs(Kn,{children:[c.jsx(&quot;h3&quot;,{className:&quot;text-base font-semibold text-ink-900 mb-3&quot;,children:&quot;Évolution dans le temps&quot;}),c.jsx(Sx,{width:&quot;100%&quot;,height:220,children:c.jsxs(fie,{data:t,children:[c.jsx(cm,{strokeDasharray:&quot;3 3&quot;}),c.jsx(um,{dataKey:&quot;date&quot;,tick:{fontSize:11}}),c.jsx(dm,{tick:{fontSize:11}}),c.jsx(Ux,{}),c.jsx(am,{}),c.jsx(lM,{type:&quot;monotone&quot;,dataKey:&quot;count&quot;,stroke:&quot;#0B4A6F&quot;,strokeWidth:2,name:&quot;Inscriptions&quot;})]})})]}):null,l?c.jsxs(Kn,{children:[c.jsx(&quot;h3&quot;,{className:&quot;text-base font-semibold text-ink-900 mb-3&quot;,children:&quot;Répartition par statut&quot;}),c.jsx(Sx,{width:&quot;100%&quot;,height:220,children:c.jsxs(Fk,{data:n,children:[c.jsx(cm,{strokeDasharray:&quot;3 3&quot;}),c.jsx(um,{dataKey:&quot;status&quot;,tick:{fontSize:10},interval:0,angle:-25,textAnchor:&quot;end&quot;,height:60}),c.jsx(dm,{tick:{fontSize:11}}),c.jsx(Ux,{}),c.jsx(am,{}),c.jsx(zv,{dataKey:&quot;count&quot;,fill:&quot;#0B4A6F&quot;,name:&quot;Nombre&quot;})]})})]}):null]}),s?c.jsxs(Kn,{children:[c.jsx(&quot;h3&quot;,{className:&quot;text-base font-semibold text-ink-900 mb-3&quot;,children:&quot;Répartition par formule&quot;}),c.jsx(Sx,{width:&quot;100%&quot;,height:220,children:c.jsxs(Fk,{data:o,children:[c.jsx(cm,{strokeDasharray:&quot;3 3&quot;}),c.jsx(um,{dataKey:&quot;name&quot;,tick:{fontSize:11}}),c.jsx(dm,{tick:{fontSize:11}}),c.jsx(Ux,{}),c.jsx(am,{}),c.jsx(zv,{dataKey:&quot;count&quot;,fill:&quot;#1F6F8B&quot;,name:&quot;Nombre&quot;})]})})]}):null]})}const zk=[&quot;total&quot;,&quot;draft&quot;,&quot;submitted&quot;,&quot;pending_payment&quot;,&quot;paid&quot;];function gie({counts:e,loading:r,activeSingleStatus:t,onKpiClick:n}){return r?c.jsx(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap gap-1.5&quot;,children:zk.map(o=&gt;c.jsx(&quot;div&quot;,{className:&quot;h-12 min-w-0 flex-[1_1_5rem] max-w-[9rem] animate-pulse rounded-lg bg-gray-200 sm:h-14 sm:flex-[1_1_5.5rem]&quot;,&quot;aria-hidden&quot;:!0},o))}):c.jsx(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap gap-1.5&quot;,role:&quot;group&quot;,&quot;aria-label&quot;:&quot;Indicateurs par statut&quot;,children:zk.map(o=&gt;{const i=o===&quot;total&quot;,a=i?Object.values(e).reduce((s,d)=&gt;s+d,0):e[o]??0,u=i?&quot;Total&quot;:T1(o).label,l=i?t===null:t===o;return c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;n(o),className:`min-w-0 max-w-[9rem] flex-[1_1_5rem] rounded-lg border px-2 py-1.5 text-left transition-colors sm:max-w-[10rem] sm:flex-[1_1_5.5rem] sm:px-2.5 sm:py-2 ${l?&quot;border-brand-700 bg-brand-50 ring-1 ring-brand-700/20&quot;:&quot;border-gray-200 bg-white hover:bg-gray-50&quot;}`,children:[c.jsx(&quot;div&quot;,{className:&quot;line-clamp-2 text-[9px] font-medium uppercase leading-tight tracking-wide text-ink-500 sm:text-[10px]&quot;,children:u}),c.jsx(&quot;div&quot;,{className:&quot;text-base font-semibold tabular-nums sm:text-lg&quot;,children:a})]},o)})})}function Gh(e){throw new Error(&#039;Could not dynamically require &quot;&#039;+e+&#039;&quot;. Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.&#039;)}var iy={exports:{}};var $k;function bie(){return $k||($k=1,(function(e,r){(function(t){e.exports=t()})((function(){return(function t(n,o,i){function a(s,d){if(!o[s]){if(!n[s]){var f=typeof Gh==&quot;function&quot;&amp;&amp;Gh;if(!d&amp;&amp;f)return f(s,!0);if(u)return u(s,!0);var h=new Error(&quot;Cannot find module &#039;&quot;+s+&quot;&#039;&quot;);throw h.code=&quot;MODULE_NOT_FOUND&quot;,h}var m=o[s]={exports:{}};n[s][0].call(m.exports,(function(p){return a(n[s][1][p]||p)}),m,m.exports,t,n,o,i)}return o[s].exports}for(var u=typeof Gh==&quot;function&quot;&amp;&amp;Gh,l=0;l&lt;i.length;l++)a(i[l]);return a})({1:[function(t,n,o){const i=t(&quot;fs&quot;),a=t(&quot;fast-csv&quot;),u=t(&quot;dayjs/plugin/customParseFormat&quot;),l=t(&quot;dayjs/plugin/utc&quot;),s=t(&quot;dayjs&quot;).extend(u).extend(l),d=t(&quot;../utils/stream-buf&quot;),{fs:{exists:f}}=t(&quot;../utils/utils&quot;),h={true:!0,false:!1,&quot;#N/A&quot;:{error:&quot;#N/A&quot;},&quot;#REF!&quot;:{error:&quot;#REF!&quot;},&quot;#NAME?&quot;:{error:&quot;#NAME?&quot;},&quot;#DIV/0!&quot;:{error:&quot;#DIV/0!&quot;},&quot;#NULL!&quot;:{error:&quot;#NULL!&quot;},&quot;#VALUE!&quot;:{error:&quot;#VALUE!&quot;},&quot;#NUM!&quot;:{error:&quot;#NUM!&quot;}};n.exports=class{constructor(m){this.workbook=m,this.worksheet=null}async readFile(m,p){if(p=p||{},!await f(m))throw new Error(&quot;File not found: &quot;+m);const b=i.createReadStream(m),g=await this.read(b,p);return b.close(),g}read(m,p){return p=p||{},new Promise((b,g)=&gt;{const y=this.workbook.addWorksheet(p.sheetName),v=p.dateFormats||[&quot;YYYY-MM-DD[T]HH:mm:ssZ&quot;,&quot;YYYY-MM-DD[T]HH:mm:ss&quot;,&quot;MM-DD-YYYY&quot;,&quot;YYYY-MM-DD&quot;],_=p.map||function(O){if(O===&quot;&quot;)return null;const T=Number(O);if(!Number.isNaN(T)&amp;&amp;T!==1/0)return T;const V=v.reduce((H,W)=&gt;{if(H)return H;const K=s(O,W,!0);return K.isValid()?K:null},null);if(V)return new Date(V.valueOf());const F=h[O];return F!==void 0?F:O},C=a.parse(p.parserOptions).on(&quot;data&quot;,O=&gt;{y.addRow(O.map(_))}).on(&quot;end&quot;,()=&gt;{C.emit(&quot;worksheet&quot;,y)});C.on(&quot;worksheet&quot;,b).on(&quot;error&quot;,g),m.pipe(C)})}createInputStream(){throw new Error(&quot;`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md&quot;)}write(m,p){return new Promise((b,g)=&gt;{p=p||{};const y=this.workbook.getWorksheet(p.sheetName||p.sheetId),v=a.format(p.formatterOptions);m.on(&quot;finish&quot;,()=&gt;{b()}),v.on(&quot;error&quot;,g),v.pipe(m);const{dateFormat:_,dateUTC:C}=p,O=p.map||(F=&gt;{if(F){if(F.text||F.hyperlink)return F.hyperlink||F.text||&quot;&quot;;if(F.formula||F.result)return F.result||&quot;&quot;;if(F instanceof Date)return _?C?s.utc(F).format(_):s(F).format(_):C?s.utc(F).format():s(F).format();if(F.error)return F.error;if(typeof F==&quot;object&quot;)return JSON.stringify(F)}return F}),T=p.includeEmptyRows===void 0||p.includeEmptyRows;let V=1;y&amp;&amp;y.eachRow((F,H)=&gt;{if(T)for(;V++&lt;H-1;)v.write([]);const{values:W}=F;W.shift(),v.write(W.map(O)),V=H}),v.end()})}writeFile(m,p){const b={encoding:(p=p||{}).encoding||&quot;utf8&quot;},g=i.createWriteStream(m,b);return this.write(g,p)}async writeBuffer(m){const p=new d;return await this.write(p,m),p.read()}}},{&quot;../utils/stream-buf&quot;:24,&quot;../utils/utils&quot;:27,dayjs:391,&quot;dayjs/plugin/customParseFormat&quot;:392,&quot;dayjs/plugin/utc&quot;:393,&quot;fast-csv&quot;:424,fs:216}],2:[function(t,n,o){const i=t(&quot;../utils/col-cache&quot;);class a{constructor(l,s){let d=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:0;if(this.worksheet=l,s)if(typeof s==&quot;string&quot;){const f=i.decodeAddress(s);this.nativeCol=f.col+d,this.nativeColOff=0,this.nativeRow=f.row+d,this.nativeRowOff=0}else s.nativeCol!==void 0?(this.nativeCol=s.nativeCol||0,this.nativeColOff=s.nativeColOff||0,this.nativeRow=s.nativeRow||0,this.nativeRowOff=s.nativeRowOff||0):s.col!==void 0?(this.col=s.col+d,this.row=s.row+d):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance(l){return l instanceof a||l==null?l:new a(l)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col(l){this.nativeCol=Math.floor(l),this.nativeColOff=Math.floor((l-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row(l){this.nativeRow=Math.floor(l),this.nativeRowOff=Math.floor((l-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&amp;&amp;this.worksheet.getColumn(this.nativeCol+1)&amp;&amp;this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}get rowHeight(){return this.worksheet&amp;&amp;this.worksheet.getRow(this.nativeRow+1)&amp;&amp;this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model(l){this.nativeCol=l.nativeCol,this.nativeColOff=l.nativeColOff,this.nativeRow=l.nativeRow,this.nativeRowOff=l.nativeRowOff}}n.exports=a},{&quot;../utils/col-cache&quot;:19}],3:[function(t,n,o){const i=t(&quot;../utils/col-cache&quot;),a=t(&quot;../utils/under-dash&quot;),u=t(&quot;./enums&quot;),{slideFormula:l}=t(&quot;../utils/shared-formula&quot;),s=t(&quot;./note&quot;);class d{constructor(m,p,b){if(!m||!p)throw new Error(&quot;A Cell needs a Row&quot;);this._row=m,this._column=p,i.validateAddress(b),this._address=b,this._value=f.create(d.Types.Null,this),this.style=this._mergeStyle(m.style,p.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt(m){this.style.numFmt=m}get font(){return this.style.font}set font(m){this.style.font=m}get alignment(){return this.style.alignment}set alignment(m){this.style.alignment=m}get border(){return this.style.border}set border(m){this.style.border=m}get fill(){return this.style.fill}set fill(m){this.style.fill=m}get protection(){return this.style.protection}set protection(m){this.style.protection=m}_mergeStyle(m,p,b){const g=m&amp;&amp;m.numFmt||p&amp;&amp;p.numFmt;g&amp;&amp;(b.numFmt=g);const y=m&amp;&amp;m.font||p&amp;&amp;p.font;y&amp;&amp;(b.font=y);const v=m&amp;&amp;m.alignment||p&amp;&amp;p.alignment;v&amp;&amp;(b.alignment=v);const _=m&amp;&amp;m.border||p&amp;&amp;p.border;_&amp;&amp;(b.border=_);const C=m&amp;&amp;m.fill||p&amp;&amp;p.fill;C&amp;&amp;(b.fill=C);const O=m&amp;&amp;m.protection||p&amp;&amp;p.protection;return O&amp;&amp;(b.protection=O),b}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount&gt;0||this.type===d.Types.Merge}merge(m,p){this._value.release(),this._value=f.create(d.Types.Merge,this,m),p||(this.style=m.style)}unmerge(){this.type===d.Types.Merge&amp;&amp;(this._value.release(),this._value=f.create(d.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}isMergedTo(m){return this._value.type===d.Types.Merge&amp;&amp;this._value.isMergedTo(m)}get master(){return this.type===d.Types.Merge?this._value.master:this}get isHyperlink(){return this._value.type===d.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value(m){this.type!==d.Types.Merge?(this._value.release(),this._value=f.create(f.getType(m),this,m)):this._value.master.value=m}get note(){return this._comment&amp;&amp;this._comment.note}set note(m){this._comment=new s(m)}get text(){return this._value.toString()}get html(){return a.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink(m){this.type===d.Types.String&amp;&amp;(this._value=f.create(d.Types.Hyperlink,this,{text:this._value.value,hyperlink:m}))}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){const{worksheet:m}=this._row;return{sheetName:m.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name(m){this.names=[m]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names(m){const{definedNames:p}=this.workbook;p.removeAllNames(this.fullAddress),m.forEach(b=&gt;{p.addEx(this.fullAddress,b)})}addName(m){this.workbook.definedNames.addEx(this.fullAddress,m)}removeName(m){this.workbook.definedNames.removeEx(this.fullAddress,m)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation(m){this._dataValidations.add(this.address,m)}get model(){const{model:m}=this._value;return m.style=this.style,this._comment&amp;&amp;(m.comment=this._comment.model),m}set model(m){this._value.release(),this._value=f.create(m.type,this),this._value.model=m,m.comment&amp;&amp;m.comment.type===&quot;note&quot;&amp;&amp;(this._comment=s.fromModel(m.comment)),m.style?this.style=m.style:this.style={}}}d.Types=u.ValueType;const f={getType:h=&gt;h==null?d.Types.Null:h instanceof String||typeof h==&quot;string&quot;?d.Types.String:typeof h==&quot;number&quot;?d.Types.Number:typeof h==&quot;boolean&quot;?d.Types.Boolean:h instanceof Date?d.Types.Date:h.text&amp;&amp;h.hyperlink?d.Types.Hyperlink:h.formula||h.sharedFormula?d.Types.Formula:h.richText?d.Types.RichText:h.sharedString?d.Types.SharedString:h.error?d.Types.Error:d.Types.JSON,types:[{t:d.Types.Null,f:class{constructor(h){this.model={address:h.address,type:d.Types.Null}}get value(){return null}set value(h){}get type(){return d.Types.Null}get effectiveType(){return d.Types.Null}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return&quot;&quot;}release(){}toString(){return&quot;&quot;}}},{t:d.Types.Number,f:class{constructor(h,m){this.model={address:h.address,type:d.Types.Number,value:m}}get value(){return this.model.value}set value(h){this.model.value=h}get type(){return d.Types.Number}get effectiveType(){return d.Types.Number}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:d.Types.String,f:class{constructor(h,m){this.model={address:h.address,type:d.Types.String,value:m}}get value(){return this.model.value}set value(h){this.model.value=h}get type(){return d.Types.String}get effectiveType(){return d.Types.String}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return`&quot;${this.model.value.replace(/&quot;/g,&#039;&quot;&quot;&#039;)}&quot;`}release(){}toString(){return this.model.value}}},{t:d.Types.Date,f:class{constructor(h,m){this.model={address:h.address,type:d.Types.Date,value:m}}get value(){return this.model.value}set value(h){this.model.value=h}get type(){return d.Types.Date}get effectiveType(){return d.Types.Date}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}},{t:d.Types.Hyperlink,f:class{constructor(h,m){this.model={address:h.address,type:d.Types.Hyperlink,text:m?m.text:void 0,hyperlink:m?m.hyperlink:void 0},m&amp;&amp;m.tooltip&amp;&amp;(this.model.tooltip=m.tooltip)}get value(){const h={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&amp;&amp;(h.tooltip=this.model.tooltip),h}set value(h){this.model={text:h.text,hyperlink:h.hyperlink},h.tooltip&amp;&amp;(this.model.tooltip=h.tooltip)}get text(){return this.model.text}set text(h){this.model.text=h}get hyperlink(){return this.model.hyperlink}set hyperlink(h){this.model.hyperlink=h}get type(){return d.Types.Hyperlink}get effectiveType(){return d.Types.Hyperlink}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}},{t:d.Types.Formula,f:class{constructor(h,m){this.cell=h,this.model={address:h.address,type:d.Types.Formula,shareType:m?m.shareType:void 0,ref:m?m.ref:void 0,formula:m?m.formula:void 0,sharedFormula:m?m.sharedFormula:void 0,result:m?m.result:void 0}}_copyModel(h){const m={},p=b=&gt;{const g=h[b];g&amp;&amp;(m[b]=g)};return p(&quot;formula&quot;),p(&quot;result&quot;),p(&quot;ref&quot;),p(&quot;shareType&quot;),p(&quot;sharedFormula&quot;),m}get value(){return this._copyModel(this.model)}set value(h){this.model=this._copyModel(h)}validate(h){switch(f.getType(h)){case d.Types.Null:case d.Types.String:case d.Types.Number:case d.Types.Date:break;case d.Types.Hyperlink:case d.Types.Formula:default:throw new Error(&quot;Cannot process that type of result value&quot;)}}get dependencies(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,&quot;&quot;).match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula(h){this.model.formula=h}get formulaType(){return this.model.formula?u.FormulaType.Master:this.model.sharedFormula?u.FormulaType.Shared:u.FormulaType.None}get result(){return this.model.result}set result(h){this.model.result=h}get type(){return d.Types.Formula}get effectiveType(){const h=this.model.result;return h==null?u.ValueType.Null:h instanceof String||typeof h==&quot;string&quot;?u.ValueType.String:typeof h==&quot;number&quot;?u.ValueType.Number:h instanceof Date?u.ValueType.Date:h.text&amp;&amp;h.hyperlink?u.ValueType.Hyperlink:h.formula?u.ValueType.Formula:u.ValueType.Null}get address(){return this.model.address}set address(h){this.model.address=h}_getTranslatedFormula(){if(!this._translatedFormula&amp;&amp;this.model.sharedFormula){const{worksheet:h}=this.cell,m=h.findCell(this.model.sharedFormula);this._translatedFormula=m&amp;&amp;l(m.formula,m.address,this.model.address)}return this._translatedFormula}toCsvString(){return&quot;&quot;+(this.model.result||&quot;&quot;)}release(){}toString(){return this.model.result?this.model.result.toString():&quot;&quot;}}},{t:d.Types.Merge,f:class{constructor(h,m){this.model={address:h.address,type:d.Types.Merge,master:m?m.address:void 0},this._master=m,m&amp;&amp;m.addMergeRef()}get value(){return this._master.value}set value(h){h instanceof d?(this._master&amp;&amp;this._master.releaseMergeRef(),h.addMergeRef(),this._master=h):this._master.value=h}isMergedTo(h){return h===this._master}get master(){return this._master}get type(){return d.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return&quot;&quot;}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}},{t:d.Types.JSON,f:class{constructor(h,m){this.model={address:h.address,type:d.Types.String,value:JSON.stringify(m),rawValue:m}}get value(){return this.model.rawValue}set value(h){this.model.rawValue=h,this.model.value=JSON.stringify(h)}get type(){return d.Types.String}get effectiveType(){return d.Types.String}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}},{t:d.Types.SharedString,f:class{constructor(h,m){this.model={address:h.address,type:d.Types.SharedString,value:m}}get value(){return this.model.value}set value(h){this.model.value=h}get type(){return d.Types.SharedString}get effectiveType(){return d.Types.SharedString}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:d.Types.RichText,f:class{constructor(h,m){this.model={address:h.address,type:d.Types.String,value:m}}get value(){return this.model.value}set value(h){this.model.value=h}toString(){return this.model.value.richText.map(h=&gt;h.text).join(&quot;&quot;)}get type(){return d.Types.RichText}get effectiveType(){return d.Types.RichText}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return`&quot;${this.text.replace(/&quot;/g,&#039;&quot;&quot;&#039;)}&quot;`}release(){}}},{t:d.Types.Boolean,f:class{constructor(h,m){this.model={address:h.address,type:d.Types.Boolean,value:m}}get value(){return this.model.value}set value(h){this.model.value=h}get type(){return d.Types.Boolean}get effectiveType(){return d.Types.Boolean}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}},{t:d.Types.Error,f:class{constructor(h,m){this.model={address:h.address,type:d.Types.Error,value:m}}get value(){return this.model.value}set value(h){this.model.value=h}get type(){return d.Types.Error}get effectiveType(){return d.Types.Error}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}}].reduce((h,m)=&gt;(h[m.t]=m.f,h),[]),create(h,m,p){const b=this.types[h];if(!b)throw new Error(&quot;Could not create Value of type &quot;+h);return new b(m,p)}};n.exports=d},{&quot;../utils/col-cache&quot;:19,&quot;../utils/shared-formula&quot;:23,&quot;../utils/under-dash&quot;:26,&quot;./enums&quot;:7,&quot;./note&quot;:9}],4:[function(t,n,o){const i=t(&quot;../utils/under-dash&quot;),a=t(&quot;./enums&quot;),u=t(&quot;../utils/col-cache&quot;);class l{constructor(d,f,h){this._worksheet=d,this._number=f,h!==!1&amp;&amp;(this.defn=h)}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return u.n2l(this._number)}get isCustomWidth(){return this.width!==void 0&amp;&amp;this.width!==9}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn(d){d?(this.key=d.key,this.width=d.width!==void 0?d.width:9,this.outlineLevel=d.outlineLevel,d.style?this.style=d.style:this.style={},this.header=d.header,this._hidden=!!d.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}get headers(){return this._header&amp;&amp;this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header(d){d!==void 0?(this._header=d,this.headers.forEach((f,h)=&gt;{this._worksheet.getCell(h+1,this.number).value=f})):this._header=void 0}get key(){return this._key}set key(d){(this._key&amp;&amp;this._worksheet.getColumnKey(this._key))===this&amp;&amp;this._worksheet.deleteColumnKey(this._key),this._key=d,d&amp;&amp;this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden(d){this._hidden=d}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(d){this._outlineLevel=d}get collapsed(){return!!(this._outlineLevel&amp;&amp;this._outlineLevel&gt;=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo(d){return this.width===d.width&amp;&amp;this.hidden===d.hidden&amp;&amp;this.outlineLevel===d.outlineLevel&amp;&amp;i.isEqual(this.style,d.style)}get isDefault(){if(this.isCustomWidth||this.hidden||this.outlineLevel)return!1;const d=this.style;return!d||!(d.font||d.numFmt||d.alignment||d.border||d.fill||d.protection)}get headerCount(){return this.headers.length}eachCell(d,f){const h=this.number;f||(f=d,d=null),this._worksheet.eachRow(d,(m,p)=&gt;{f(m.getCell(h),p)})}get values(){const d=[];return this.eachCell((f,h)=&gt;{f&amp;&amp;f.type!==a.ValueType.Null&amp;&amp;(d[h]=f.value)}),d}set values(d){if(!d)return;const f=this.number;let h=0;d.hasOwnProperty(&quot;0&quot;)&amp;&amp;(h=1),d.forEach((m,p)=&gt;{this._worksheet.getCell(p+h,f).value=m})}_applyStyle(d,f){return this.style[d]=f,this.eachCell(h=&gt;{h[d]=f}),f}get numFmt(){return this.style.numFmt}set numFmt(d){this._applyStyle(&quot;numFmt&quot;,d)}get font(){return this.style.font}set font(d){this._applyStyle(&quot;font&quot;,d)}get alignment(){return this.style.alignment}set alignment(d){this._applyStyle(&quot;alignment&quot;,d)}get protection(){return this.style.protection}set protection(d){this._applyStyle(&quot;protection&quot;,d)}get border(){return this.style.border}set border(d){this._applyStyle(&quot;border&quot;,d)}get fill(){return this.style.fill}set fill(d){this._applyStyle(&quot;fill&quot;,d)}static toModel(d){const f=[];let h=null;return d&amp;&amp;d.forEach((m,p)=&gt;{m.isDefault?h&amp;&amp;(h=null):h&amp;&amp;m.equivalentTo(h)?h.max=p+1:(h={min:p+1,max:p+1,width:m.width!==void 0?m.width:9,style:m.style,isCustomWidth:m.isCustomWidth,hidden:m.hidden,outlineLevel:m.outlineLevel,collapsed:m.collapsed},f.push(h))}),f.length?f:void 0}static fromModel(d,f){const h=[];let m=1,p=0;for(f=(f=f||[]).sort((function(b,g){return b.min-g.min}));p&lt;f.length;){const b=f[p++];for(;m&lt;b.min;)h.push(new l(d,m++));for(;m&lt;=b.max;)h.push(new l(d,m++,b))}return h.length?h:null}}n.exports=l},{&quot;../utils/col-cache&quot;:19,&quot;../utils/under-dash&quot;:26,&quot;./enums&quot;:7}],5:[function(t,n,o){n.exports=class{constructor(i){this.model=i||{}}add(i,a){return this.model[i]=a}find(i){return this.model[i]}remove(i){this.model[i]=void 0}}},{}],6:[function(t,n,o){const i=t(&quot;../utils/under-dash&quot;),a=t(&quot;../utils/col-cache&quot;),u=t(&quot;../utils/cell-matrix&quot;),l=t(&quot;./range&quot;),s=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;n.exports=class{constructor(){this.matrixMap={}}getMatrix(d){return this.matrixMap[d]||(this.matrixMap[d]=new u)}add(d,f){const h=a.decodeEx(d);this.addEx(h,f)}addEx(d,f){const h=this.getMatrix(f);if(d.top)for(let m=d.left;m&lt;=d.right;m++)for(let p=d.top;p&lt;=d.bottom;p++){const b={sheetName:d.sheetName,address:a.n2l(m)+p,row:p,col:m};h.addCellEx(b)}else h.addCellEx(d)}remove(d,f){const h=a.decodeEx(d);this.removeEx(h,f)}removeEx(d,f){this.getMatrix(f).removeCellEx(d)}removeAllNames(d){i.each(this.matrixMap,f=&gt;{f.removeCellEx(d)})}forEach(d){i.each(this.matrixMap,(f,h)=&gt;{f.forEach(m=&gt;{d(h,m)})})}getNames(d){return this.getNamesEx(a.decodeEx(d))}getNamesEx(d){return i.map(this.matrixMap,(f,h)=&gt;f.findCellEx(d)&amp;&amp;h).filter(Boolean)}_explore(d,f){f.mark=!1;const{sheetName:h}=f,m=new l(f.row,f.col,f.row,f.col,h);let p,b;function g(v,_){const C=d.findCellAt(h,v,f.col);return!(!C||!C.mark)&amp;&amp;(m[_]=v,C.mark=!1,!0)}for(b=f.row-1;g(b,&quot;top&quot;);b--);for(b=f.row+1;g(b,&quot;bottom&quot;);b++);function y(v,_){const C=[];for(b=m.top;b&lt;=m.bottom;b++){const O=d.findCellAt(h,b,v);if(!O||!O.mark)return!1;C.push(O)}m[_]=v;for(let O=0;O&lt;C.length;O++)C[O].mark=!1;return!0}for(p=f.col-1;y(p,&quot;left&quot;);p--);for(p=f.col+1;y(p,&quot;right&quot;);p++);return m}getRanges(d,f){return(f=f||this.matrixMap[d])?(f.forEach(h=&gt;{h.mark=!0}),{name:d,ranges:f.map(h=&gt;h.mark&amp;&amp;this._explore(f,h)).filter(Boolean).map(h=&gt;h.$shortRange)}):{name:d,ranges:[]}}normaliseMatrix(d,f){d.forEachInSheet(f,(h,m,p)=&gt;{h&amp;&amp;(h.row===m&amp;&amp;h.col===p||(h.row=m,h.col=p,h.address=a.n2l(p)+m))})}spliceRows(d,f,h,m){i.each(this.matrixMap,p=&gt;{p.spliceRows(d,f,h,m),this.normaliseMatrix(p,d)})}spliceColumns(d,f,h,m){i.each(this.matrixMap,p=&gt;{p.spliceColumns(d,f,h,m),this.normaliseMatrix(p,d)})}get model(){return i.map(this.matrixMap,(d,f)=&gt;this.getRanges(f,d)).filter(d=&gt;d.ranges.length)}set model(d){const f=this.matrixMap={};d.forEach(h=&gt;{const m=f[h.name]=new u;h.ranges.forEach(p=&gt;{s.test(p.split(&quot;!&quot;).pop()||&quot;&quot;)&amp;&amp;m.addCell(p)})})}}},{&quot;../utils/cell-matrix&quot;:18,&quot;../utils/col-cache&quot;:19,&quot;../utils/under-dash&quot;:26,&quot;./range&quot;:10}],7:[function(t,n,o){n.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:&quot;#N/A&quot;,Ref:&quot;#REF!&quot;,Name:&quot;#NAME?&quot;,DivZero:&quot;#DIV/0!&quot;,Null:&quot;#NULL!&quot;,Value:&quot;#VALUE!&quot;,Num:&quot;#NUM!&quot;}}},{}],8:[function(t,n,o){const i=t(&quot;../utils/col-cache&quot;),a=t(&quot;./anchor&quot;);n.exports=class{constructor(u,l){this.worksheet=u,this.model=l}get model(){switch(this.type){case&quot;background&quot;:return{type:this.type,imageId:this.imageId};case&quot;image&quot;:return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&amp;&amp;this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error(&quot;Invalid Image Type&quot;)}}set model(u){let{type:l,imageId:s,range:d,hyperlinks:f}=u;if(this.type=l,this.imageId=s,l===&quot;image&quot;)if(typeof d==&quot;string&quot;){const h=i.decode(d);this.range={tl:new a(this.worksheet,{col:h.left,row:h.top},-1),br:new a(this.worksheet,{col:h.right,row:h.bottom},0),editAs:&quot;oneCell&quot;}}else this.range={tl:new a(this.worksheet,d.tl,0),br:d.br&amp;&amp;new a(this.worksheet,d.br,0),ext:d.ext,editAs:d.editAs,hyperlinks:f||d.hyperlinks}}}},{&quot;../utils/col-cache&quot;:19,&quot;./anchor&quot;:2}],9:[function(t,n,o){const i=t(&quot;../utils/under-dash&quot;);class a{constructor(l){this.note=l}get model(){let l=null;return typeof this.note===&quot;string&quot;?l={type:&quot;note&quot;,note:{texts:[{text:this.note}]}}:l={type:&quot;note&quot;,note:this.note},i.deepMerge({},a.DEFAULT_CONFIGS,l)}set model(l){const{note:s}=l,{texts:d}=s;d.length===1&amp;&amp;Object.keys(d[0]).length===1?this.note=d[0].text:this.note=s}static fromModel(l){const s=new a;return s.model=l,s}}a.DEFAULT_CONFIGS={note:{margins:{insetmode:&quot;auto&quot;,inset:[.13,.13,.25,.25]},protection:{locked:&quot;True&quot;,lockText:&quot;True&quot;},editAs:&quot;absolute&quot;}},n.exports=a},{&quot;../utils/under-dash&quot;:26}],10:[function(t,n,o){const i=t(&quot;../utils/col-cache&quot;);class a{constructor(){this.decode(arguments)}setTLBR(l,s,d,f,h){if(arguments.length&lt;4){const m=i.decodeAddress(l),p=i.decodeAddress(s);this.model={top:Math.min(m.row,p.row),left:Math.min(m.col,p.col),bottom:Math.max(m.row,p.row),right:Math.max(m.col,p.col),sheetName:d},this.setTLBR(m.row,m.col,p.row,p.col,h)}else this.model={top:Math.min(l,d),left:Math.min(s,f),bottom:Math.max(l,d),right:Math.max(s,f),sheetName:h}}decode(l){switch(l.length){case 5:this.setTLBR(l[0],l[1],l[2],l[3],l[4]);break;case 4:this.setTLBR(l[0],l[1],l[2],l[3]);break;case 3:this.setTLBR(l[0],l[1],l[2]);break;case 2:this.setTLBR(l[0],l[1]);break;case 1:{const s=l[0];if(s instanceof a)this.model={top:s.model.top,left:s.model.left,bottom:s.model.bottom,right:s.model.right,sheetName:s.sheetName};else if(s instanceof Array)this.decode(s);else if(s.top&amp;&amp;s.left&amp;&amp;s.bottom&amp;&amp;s.right)this.model={top:s.top,left:s.left,bottom:s.bottom,right:s.right,sheetName:s.sheetName};else{const d=i.decodeEx(s);d.top?this.model={top:d.top,left:d.left,bottom:d.bottom,right:d.right,sheetName:d.sheetName}:this.model={top:d.row,left:d.col,bottom:d.row,right:d.col,sheetName:d.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error(&quot;Invalid number of arguments to _getDimensions() - &quot;+l.length)}}get top(){return this.model.top||1}set top(l){this.model.top=l}get left(){return this.model.left||1}set left(l){this.model.left=l}get bottom(){return this.model.bottom||1}set bottom(l){this.model.bottom=l}get right(){return this.model.right||1}set right(l){this.model.right=l}get sheetName(){return this.model.sheetName}set sheetName(l){this.model.sheetName=l}get _serialisedSheetName(){const{sheetName:l}=this.model;return l?/^[a-zA-Z0-9]*$/.test(l)?l+&quot;!&quot;:`&#039;${l}&#039;!`:&quot;&quot;}expand(l,s,d,f){(!this.model.top||l&lt;this.top)&amp;&amp;(this.top=l),(!this.model.left||s&lt;this.left)&amp;&amp;(this.left=s),(!this.model.bottom||d&gt;this.bottom)&amp;&amp;(this.bottom=d),(!this.model.right||f&gt;this.right)&amp;&amp;(this.right=f)}expandRow(l){if(l){const{dimensions:s,number:d}=l;s&amp;&amp;this.expand(d,s.min,d,s.max)}}expandToAddress(l){const s=i.decodeEx(l);this.expand(s.row,s.col,s.row,s.col)}get tl(){return i.n2l(this.left)+this.top}get $t$l(){return`$${i.n2l(this.left)}$${this.top}`}get br(){return i.n2l(this.right)+this.bottom}get $b$r(){return`$${i.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count&gt;1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count&gt;1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects(l){return(!l.sheetName||!this.sheetName||l.sheetName===this.sheetName)&amp;&amp;!(l.bottom&lt;this.top)&amp;&amp;!(l.top&gt;this.bottom)&amp;&amp;!(l.right&lt;this.left)&amp;&amp;!(l.left&gt;this.right)}contains(l){const s=i.decodeEx(l);return this.containsEx(s)}containsEx(l){return(!l.sheetName||!this.sheetName||l.sheetName===this.sheetName)&amp;&amp;l.row&gt;=this.top&amp;&amp;l.row&lt;=this.bottom&amp;&amp;l.col&gt;=this.left&amp;&amp;l.col&lt;=this.right}forEachAddress(l){for(let s=this.left;s&lt;=this.right;s++)for(let d=this.top;d&lt;=this.bottom;d++)l(i.encodeAddress(d,s),d,s)}}n.exports=a},{&quot;../utils/col-cache&quot;:19}],11:[function(t,n,o){const i=t(&quot;../utils/under-dash&quot;),a=t(&quot;./enums&quot;),u=t(&quot;../utils/col-cache&quot;),l=t(&quot;./cell&quot;);n.exports=class{constructor(s,d){this._worksheet=s,this._number=d,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell(s){return this._cells[s-1]}getCellEx(s){let d=this._cells[s.col-1];if(!d){const f=this._worksheet.getColumn(s.col);d=new l(this,f,s.address),this._cells[s.col-1]=d}return d}getCell(s){if(typeof s==&quot;string&quot;){const d=this._worksheet.getColumnKey(s);s=d?d.number:u.l2n(s)}return this._cells[s-1]||this.getCellEx({address:u.encodeAddress(this._number,s),row:this._number,col:s})}splice(s,d){const f=s+d;for(var h=arguments.length,m=new Array(h&gt;2?h-2:0),p=2;p&lt;h;p++)m[p-2]=arguments[p];const b=m.length-d,g=this._cells.length;let y,v,_;if(b&lt;0)for(y=s+m.length;y&lt;=g;y++)_=this._cells[y-1],v=this._cells[y-b-1],v?(_=this.getCell(y),_.value=v.value,_.style=v.style,_._comment=v._comment):_&amp;&amp;(_.value=null,_.style={},_._comment=void 0);else if(b&gt;0)for(y=g;y&gt;=f;y--)v=this._cells[y-1],v?(_=this.getCell(y+b),_.value=v.value,_.style=v.style,_._comment=v._comment):this._cells[y+b-1]=void 0;for(y=0;y&lt;m.length;y++)_=this.getCell(s+y),_.value=m[y],_.style={},_._comment=void 0}eachCell(s,d){if(d||(d=s,s=null),s&amp;&amp;s.includeEmpty){const f=this._cells.length;for(let h=1;h&lt;=f;h++)d(this.getCell(h),h)}else this._cells.forEach((f,h)=&gt;{f&amp;&amp;f.type!==a.ValueType.Null&amp;&amp;d(f,h+1)})}addPageBreak(s,d){const f=this._worksheet,h=Math.max(0,s-1)||0,m=Math.max(0,d-1)||16838,p={id:this._number,max:m,man:1};h&amp;&amp;(p.min=h),f.rowBreaks.push(p)}get values(){const s=[];return this._cells.forEach(d=&gt;{d&amp;&amp;d.type!==a.ValueType.Null&amp;&amp;(s[d.col]=d.value)}),s}set values(s){if(this._cells=[],s)if(s instanceof Array){let d=0;s.hasOwnProperty(&quot;0&quot;)&amp;&amp;(d=1),s.forEach((f,h)=&gt;{f!==void 0&amp;&amp;(this.getCellEx({address:u.encodeAddress(this._number,h+d),row:this._number,col:h+d}).value=f)})}else this._worksheet.eachColumnKey((d,f)=&gt;{s[f]!==void 0&amp;&amp;(this.getCellEx({address:u.encodeAddress(this._number,d.number),row:this._number,col:d.number}).value=s[f])})}get hasValues(){return i.some(this._cells,s=&gt;s&amp;&amp;s.type!==a.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let s=0;return this.eachCell(()=&gt;{s++}),s}get dimensions(){let s=0,d=0;return this._cells.forEach(f=&gt;{f&amp;&amp;f.type!==a.ValueType.Null&amp;&amp;((!s||s&gt;f.col)&amp;&amp;(s=f.col),d&lt;f.col&amp;&amp;(d=f.col))}),s&gt;0?{min:s,max:d}:null}_applyStyle(s,d){return this.style[s]=d,this._cells.forEach(f=&gt;{f&amp;&amp;(f[s]=d)}),d}get numFmt(){return this.style.numFmt}set numFmt(s){this._applyStyle(&quot;numFmt&quot;,s)}get font(){return this.style.font}set font(s){this._applyStyle(&quot;font&quot;,s)}get alignment(){return this.style.alignment}set alignment(s){this._applyStyle(&quot;alignment&quot;,s)}get protection(){return this.style.protection}set protection(s){this._applyStyle(&quot;protection&quot;,s)}get border(){return this.style.border}set border(s){this._applyStyle(&quot;border&quot;,s)}get fill(){return this.style.fill}set fill(s){this._applyStyle(&quot;fill&quot;,s)}get hidden(){return!!this._hidden}set hidden(s){this._hidden=s}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(s){this._outlineLevel=s}get collapsed(){return!!(this._outlineLevel&amp;&amp;this._outlineLevel&gt;=this._worksheet.properties.outlineLevelRow)}get model(){const s=[];let d=0,f=0;return this._cells.forEach(h=&gt;{if(h){const m=h.model;m&amp;&amp;((!d||d&gt;h.col)&amp;&amp;(d=h.col),f&lt;h.col&amp;&amp;(f=h.col),s.push(m))}}),this.height||s.length?{cells:s,number:this.number,min:d,max:f,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null}set model(s){if(s.number!==this._number)throw new Error(&quot;Invalid row number in model&quot;);let d;this._cells=[],s.cells.forEach(f=&gt;{switch(f.type){case l.Types.Merge:break;default:{let h;if(f.address)h=u.decodeAddress(f.address);else if(d){const{row:m}=d,p=d.col+1;h={row:m,col:p,address:u.encodeAddress(m,p),$col$row:`$${u.n2l(p)}$${m}`}}d=h,this.getCellEx(h).model=f;break}}}),s.height?this.height=s.height:delete this.height,this.hidden=s.hidden,this.outlineLevel=s.outlineLevel||0,this.style=s.style&amp;&amp;JSON.parse(JSON.stringify(s.style))||{}}}},{&quot;../utils/col-cache&quot;:19,&quot;../utils/under-dash&quot;:26,&quot;./cell&quot;:3,&quot;./enums&quot;:7}],12:[function(t,n,o){const i=t(&quot;../utils/col-cache&quot;);class a{constructor(l,s,d){this.table=l,this.column=s,this.index=d}_set(l,s){this.table.cacheState(),this.column[l]=s}get name(){return this.column.name}set name(l){this._set(&quot;name&quot;,l)}get filterButton(){return this.column.filterButton}set filterButton(l){this.column.filterButton=l}get style(){return this.column.style}set style(l){this.column.style=l}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(l){this._set(&quot;totalsRowLabel&quot;,l)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(l){this._set(&quot;totalsRowFunction&quot;,l)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(l){this._set(&quot;totalsRowResult&quot;,l)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(l){this._set(&quot;totalsRowFormula&quot;,l)}}n.exports=class{constructor(u,l){this.worksheet=u,l&amp;&amp;(this.table=l,this.validate(),this.store())}getFormula(u){switch(u.totalsRowFunction){case&quot;none&quot;:return null;case&quot;average&quot;:return`SUBTOTAL(101,${this.table.name}[${u.name}])`;case&quot;countNums&quot;:return`SUBTOTAL(102,${this.table.name}[${u.name}])`;case&quot;count&quot;:return`SUBTOTAL(103,${this.table.name}[${u.name}])`;case&quot;max&quot;:return`SUBTOTAL(104,${this.table.name}[${u.name}])`;case&quot;min&quot;:return`SUBTOTAL(105,${this.table.name}[${u.name}])`;case&quot;stdDev&quot;:return`SUBTOTAL(106,${this.table.name}[${u.name}])`;case&quot;var&quot;:return`SUBTOTAL(107,${this.table.name}[${u.name}])`;case&quot;sum&quot;:return`SUBTOTAL(109,${this.table.name}[${u.name}])`;case&quot;custom&quot;:return u.totalsRowFormula;default:throw new Error(&quot;Invalid Totals Row Function: &quot;+u.totalsRowFunction)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){const{table:u}=this,l=(b,g,y)=&gt;{b[g]===void 0&amp;&amp;(b[g]=y)};l(u,&quot;headerRow&quot;,!0),l(u,&quot;totalsRow&quot;,!1),l(u,&quot;style&quot;,{}),l(u.style,&quot;theme&quot;,&quot;TableStyleMedium2&quot;),l(u.style,&quot;showFirstColumn&quot;,!1),l(u.style,&quot;showLastColumn&quot;,!1),l(u.style,&quot;showRowStripes&quot;,!1),l(u.style,&quot;showColumnStripes&quot;,!1);const s=(b,g)=&gt;{if(!b)throw new Error(g)};s(u.ref,&quot;Table must have ref&quot;),s(u.columns,&quot;Table must have column definitions&quot;),s(u.rows,&quot;Table must have row definitions&quot;),u.tl=i.decodeAddress(u.ref);const{row:d,col:f}=u.tl;s(d&gt;0,&quot;Table must be on valid row&quot;),s(f&gt;0,&quot;Table must be on valid col&quot;);const{width:h,filterHeight:m,tableHeight:p}=this;u.autoFilterRef=i.encode(d,f,d+m-1,f+h-1),u.tableRef=i.encode(d,f,d+p-1,f+h-1),u.columns.forEach((b,g)=&gt;{s(b.name,`Column ${g} must have a name`),g===0?l(b,&quot;totalsRowLabel&quot;,&quot;Total&quot;):(l(b,&quot;totalsRowFunction&quot;,&quot;none&quot;),b.totalsRowFormula=this.getFormula(b))})}store(){const u=(m,p)=&gt;{p&amp;&amp;Object.keys(p).forEach(b=&gt;{m[b]=p[b]})},{worksheet:l,table:s}=this,{row:d,col:f}=s.tl;let h=0;if(s.headerRow){const m=l.getRow(d+h++);s.columns.forEach((p,b)=&gt;{const{style:g,name:y}=p,v=m.getCell(f+b);v.value=y,u(v,g)})}if(s.rows.forEach(m=&gt;{const p=l.getRow(d+h++);m.forEach((b,g)=&gt;{const y=p.getCell(f+g);y.value=b,u(y,s.columns[g].style)})}),s.totalsRow){const m=l.getRow(d+h++);s.columns.forEach((p,b)=&gt;{const g=m.getCell(f+b);if(b===0)g.value=p.totalsRowLabel;else{const y=this.getFormula(p);g.value=y?{formula:p.totalsRowFormula,result:p.totalsRowResult}:null}u(g,p.style)})}}load(u){const{table:l}=this,{row:s,col:d}=l.tl;let f=0;if(l.headerRow){const h=u.getRow(s+f++);l.columns.forEach((m,p)=&gt;{h.getCell(d+p).value=m.name})}if(l.rows.forEach(h=&gt;{const m=u.getRow(s+f++);h.forEach((p,b)=&gt;{m.getCell(d+b).value=p})}),l.totalsRow){const h=u.getRow(s+f++);l.columns.forEach((m,p)=&gt;{const b=h.getCell(d+p);p===0?b.value=m.totalsRowLabel:this.getFormula(m)&amp;&amp;(b.value={formula:m.totalsRowFormula,result:m.totalsRowResult})})}}get model(){return this.table}set model(u){this.table=u}cacheState(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}commit(){if(!this._cache)return;this.validate();const u=i.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let l=0;l&lt;this._cache.tableHeight;l++){const s=this.worksheet.getRow(u.row+l);for(let d=0;d&lt;this._cache.width;d++)s.getCell(u.col+d).value=null}else{for(let l=this.tableHeight;l&lt;this._cache.tableHeight;l++){const s=this.worksheet.getRow(u.row+l);for(let d=0;d&lt;this._cache.width;d++)s.getCell(u.col+d).value=null}for(let l=0;l&lt;this.tableHeight;l++){const s=this.worksheet.getRow(u.row+l);for(let d=this.width;d&lt;this._cache.width;d++)s.getCell(u.col+d).value=null}}this.store()}addRow(u,l){this.cacheState(),l===void 0?this.table.rows.push(u):this.table.rows.splice(l,0,u)}removeRows(u){let l=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.rows.splice(u,l)}getColumn(u){const l=this.table.columns[u];return new a(this,l,u)}addColumn(u,l,s){this.cacheState(),s===void 0?(this.table.columns.push(u),this.table.rows.forEach((d,f)=&gt;{d.push(l[f])})):(this.table.columns.splice(s,0,u),this.table.rows.forEach((d,f)=&gt;{d.splice(s,0,l[f])}))}removeColumns(u){let l=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.columns.splice(u,l),this.table.rows.forEach(s=&gt;{s.splice(u,l)})}_assign(u,l,s){this.cacheState(),u[l]=s}get ref(){return this.table.ref}set ref(u){this._assign(this.table,&quot;ref&quot;,u)}get name(){return this.table.name}set name(u){this.table.name=u}get displayName(){return this.table.displyName||this.table.name}set displayNamename(u){this.table.displayName=u}get headerRow(){return this.table.headerRow}set headerRow(u){this._assign(this.table,&quot;headerRow&quot;,u)}get totalsRow(){return this.table.totalsRow}set totalsRow(u){this._assign(this.table,&quot;totalsRow&quot;,u)}get theme(){return this.table.style.name}set theme(u){this.table.style.name=u}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn(u){this.table.style.showFirstColumn=u}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn(u){this.table.style.showLastColumn=u}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes(u){this.table.style.showRowStripes=u}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes(u){this.table.style.showColumnStripes=u}}},{&quot;../utils/col-cache&quot;:19}],13:[function(t,n,o){const i=t(&quot;./worksheet&quot;),a=t(&quot;./defined-names&quot;),u=t(&quot;../xlsx/xlsx&quot;),l=t(&quot;../csv/csv&quot;);n.exports=class{constructor(){this.category=&quot;&quot;,this.company=&quot;&quot;,this.created=new Date,this.description=&quot;&quot;,this.keywords=&quot;&quot;,this.manager=&quot;&quot;,this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject=&quot;&quot;,this.title=&quot;&quot;,this.views=[],this.media=[],this._definedNames=new a}get xlsx(){return this._xlsx||(this._xlsx=new u(this)),this._xlsx}get csv(){return this._csv||(this._csv=new l(this)),this._csv}get nextId(){for(let s=1;s&lt;this._worksheets.length;s++)if(!this._worksheets[s])return s;return this._worksheets.length||1}addWorksheet(s,d){const f=this.nextId;d&amp;&amp;(typeof d==&quot;string&quot;?(console.trace(&#039;tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: &quot;rbg value&quot; } }&#039;),d={properties:{tabColor:{argb:d}}}):(d.argb||d.theme||d.indexed)&amp;&amp;(console.trace(&quot;tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }&quot;),d={properties:{tabColor:d}}));const h=this._worksheets.reduce((b,g)=&gt;(g&amp;&amp;g.orderNo)&gt;b?g.orderNo:b,0),m=Object.assign({},d,{id:f,name:s,orderNo:h+1,workbook:this}),p=new i(m);return this._worksheets[f]=p,p}removeWorksheetEx(s){delete this._worksheets[s.id]}removeWorksheet(s){const d=this.getWorksheet(s);d&amp;&amp;d.destroy()}getWorksheet(s){return s===void 0?this._worksheets.find(Boolean):typeof s==&quot;number&quot;?this._worksheets[s]:typeof s==&quot;string&quot;?this._worksheets.find(d=&gt;d&amp;&amp;d.name===s):void 0}get worksheets(){return this._worksheets.slice(1).sort((s,d)=&gt;s.orderNo-d.orderNo).filter(Boolean)}eachSheet(s){this.worksheets.forEach(d=&gt;{s(d,d.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage(s){const d=this.media.length;return this.media.push(Object.assign({},s,{type:&quot;image&quot;})),d}getImage(s){return this.media[s]}get model(){return{creator:this.creator||&quot;Unknown&quot;,lastModifiedBy:this.lastModifiedBy||&quot;Unknown&quot;,lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(s=&gt;s.model),sheets:this.worksheets.map(s=&gt;s.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model(s){this.creator=s.creator,this.lastModifiedBy=s.lastModifiedBy,this.lastPrinted=s.lastPrinted,this.created=s.created,this.modified=s.modified,this.company=s.company,this.manager=s.manager,this.title=s.title,this.subject=s.subject,this.keywords=s.keywords,this.category=s.category,this.description=s.description,this.language=s.language,this.revision=s.revision,this.contentStatus=s.contentStatus,this.properties=s.properties,this.calcProperties=s.calcProperties,this._worksheets=[],s.worksheets.forEach(d=&gt;{const{id:f,name:h,state:m}=d,p=s.sheets&amp;&amp;s.sheets.findIndex(b=&gt;b.id===f);(this._worksheets[f]=new i({id:f,name:h,orderNo:p,state:m,workbook:this})).model=d}),this._definedNames.model=s.definedNames,this.views=s.views,this._themes=s.themes,this.media=s.media||[]}}},{&quot;../csv/csv&quot;:1,&quot;../xlsx/xlsx&quot;:144,&quot;./defined-names&quot;:6,&quot;./worksheet&quot;:14}],14:[function(t,n,o){const i=t(&quot;../utils/under-dash&quot;),a=t(&quot;../utils/col-cache&quot;),u=t(&quot;./range&quot;),l=t(&quot;./row&quot;),s=t(&quot;./column&quot;),d=t(&quot;./enums&quot;),f=t(&quot;./image&quot;),h=t(&quot;./table&quot;),m=t(&quot;./data-validations&quot;),p=t(&quot;../utils/encryptor&quot;),{copyStyle:b}=t(&quot;../utils/copy-style&quot;);n.exports=class{constructor(g){g=g||{},this._workbook=g.workbook,this.id=g.id,this.orderNo=g.orderNo,this.name=g.name,this.state=g.state||&quot;visible&quot;,this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},g.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:&quot;portrait&quot;,horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!g.pageSetup||!g.pageSetup.fitToWidth&amp;&amp;!g.pageSetup.fitToHeight||g.pageSetup.scale),pageOrder:&quot;downThenOver&quot;,blackAndWhite:!1,draft:!1,cellComments:&quot;None&quot;,errors:&quot;displayed&quot;,scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},g.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},g.headerFooter),this.dataValidations=new m,this.views=g.views||[],this.autoFilter=g.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name(g){if(g===void 0&amp;&amp;(g=&quot;sheet&quot;+this.id),this._name!==g){if(typeof g!=&quot;string&quot;)throw new Error(&quot;The name has to be a string.&quot;);if(g===&quot;&quot;)throw new Error(&quot;The name can&#039;t be empty.&quot;);if(g===&quot;History&quot;)throw new Error(&#039;The name &quot;History&quot; is protected. Please use a different name.&#039;);if(/[*?:/\\[\]]/.test(g))throw new Error(`Worksheet name ${g} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^&#039;)|(&#039;$)/.test(g))throw new Error(&quot;The first or last character of worksheet name cannot be a single quotation mark: &quot;+g);if(g&amp;&amp;g.length&gt;31&amp;&amp;(console.warn(`Worksheet name ${g} exceeds 31 chars. This will be truncated`),g=g.substring(0,31)),this._workbook._worksheets.find(y=&gt;y&amp;&amp;y.name.toLowerCase()===g.toLowerCase()))throw new Error(&quot;Worksheet name already exists: &quot;+g);this._name=g}}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){const g=new u;return this._rows.forEach(y=&gt;{if(y){const v=y.dimensions;v&amp;&amp;g.expand(y.number,v.min,y.number,v.max)}}),g}get columns(){return this._columns}set columns(g){this._headerRowCount=g.reduce((_,C)=&gt;{const O=(C.header?1:C.headers&amp;&amp;C.headers.length)||0;return Math.max(_,O)},0);let y=1;const v=this._columns=[];g.forEach(_=&gt;{const C=new s(this,y++,!1);v.push(C),C.defn=_})}getColumnKey(g){return this._keys[g]}setColumnKey(g,y){this._keys[g]=y}deleteColumnKey(g){delete this._keys[g]}eachColumnKey(g){i.each(this._keys,g)}getColumn(g){if(typeof g==&quot;string&quot;){const y=this._keys[g];if(y)return y;g=a.l2n(g)}if(this._columns||(this._columns=[]),g&gt;this._columns.length){let y=this._columns.length+1;for(;y&lt;=g;)this._columns.push(new s(this,y++))}return this._columns[g-1]}spliceColumns(g,y){const v=this._rows.length;for(var _=arguments.length,C=new Array(_&gt;2?_-2:0),O=2;O&lt;_;O++)C[O-2]=arguments[O];if(C.length&gt;0)for(let H=0;H&lt;v;H++){const W=[g,y];C.forEach($=&gt;{W.push($[H]||null)});const K=this.getRow(H+1);K.splice.apply(K,W)}else this._rows.forEach(H=&gt;{H&amp;&amp;H.splice(g,y)});const T=C.length-y,V=g+y,F=this._columns.length;if(T&lt;0)for(let H=g+C.length;H&lt;=F;H++)this.getColumn(H).defn=this.getColumn(H-T).defn;else if(T&gt;0)for(let H=F;H&gt;=V;H--)this.getColumn(H+T).defn=this.getColumn(H).defn;for(let H=g;H&lt;g+C.length;H++)this.getColumn(H).defn=null;this.workbook.definedNames.spliceColumns(this.name,g,y,C.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let g=0;return this.eachRow(y=&gt;{g=Math.max(g,y.cellCount)}),g}get actualColumnCount(){const g=[];let y=0;return this.eachRow(v=&gt;{v.eachCell(_=&gt;{let{col:C}=_;g[C]||(g[C]=!0,y++)})}),y}_commitRow(){}get _lastRowNumber(){const g=this._rows;let y=g.length;for(;y&gt;0&amp;&amp;g[y-1]===void 0;)y--;return y}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1]}findRow(g){return this._rows[g-1]}findRows(g,y){return this._rows.slice(g-1,g-1+y)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let g=0;return this.eachRow(()=&gt;{g++}),g}getRow(g){let y=this._rows[g-1];return y||(y=this._rows[g-1]=new l(this,g)),y}getRows(g,y){if(y&lt;1)return;const v=[];for(let _=g;_&lt;g+y;_++)v.push(this.getRow(_));return v}addRow(g){let y=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;n&quot;;const v=this._nextRow,_=this.getRow(v);return _.values=g,this._setStyleOption(v,y[0]===&quot;i&quot;?y:&quot;n&quot;),_}addRows(g){let y=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;n&quot;;const v=[];return g.forEach(_=&gt;{v.push(this.addRow(_,y))}),v}insertRow(g,y){let v=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:&quot;n&quot;;return this.spliceRows(g,0,y),this._setStyleOption(g,v),this.getRow(g)}insertRows(g,y){let v=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:&quot;n&quot;;if(this.spliceRows(g,0,...y),v!==&quot;n&quot;)for(let _=0;_&lt;y.length;_++)v[0]===&quot;o&quot;&amp;&amp;this.findRow(y.length+g+_)!==void 0?this._copyStyle(y.length+g+_,g+_,v[1]===&quot;+&quot;):v[0]===&quot;i&quot;&amp;&amp;this.findRow(g-1)!==void 0&amp;&amp;this._copyStyle(g-1,g+_,v[1]===&quot;+&quot;);return this.getRows(g,y.length)}_setStyleOption(g){let y=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;n&quot;;y[0]===&quot;o&quot;&amp;&amp;this.findRow(g+1)!==void 0?this._copyStyle(g+1,g,y[1]===&quot;+&quot;):y[0]===&quot;i&quot;&amp;&amp;this.findRow(g-1)!==void 0&amp;&amp;this._copyStyle(g-1,g,y[1]===&quot;+&quot;)}_copyStyle(g,y){let v=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];const _=this.getRow(g),C=this.getRow(y);C.style=b(_.style),_.eachCell({includeEmpty:v},(O,T)=&gt;{C.getCell(T).style=b(O.style)}),C.height=_.height}duplicateRow(g,y){let v=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];const _=this._rows[g-1],C=new Array(y).fill(_.values);this.spliceRows(g+1,v?0:y,...C);for(let O=0;O&lt;y;O++){const T=this._rows[g+O];T.style=_.style,T.height=_.height,_.eachCell({includeEmpty:!0},(V,F)=&gt;{T.getCell(F).style=V.style})}}spliceRows(g,y){const v=g+y;for(var _=arguments.length,C=new Array(_&gt;2?_-2:0),O=2;O&lt;_;O++)C[O-2]=arguments[O];const T=C.length,V=T-y,F=this._rows.length;let H,W;if(V&lt;0)for(g===F&amp;&amp;(this._rows[F-1]=void 0),H=v;H&lt;=F;H++)if(W=this._rows[H-1],W){const K=this.getRow(H+V);K.values=W.values,K.style=W.style,K.height=W.height,W.eachCell({includeEmpty:!0},($,P)=&gt;{K.getCell(P).style=$.style}),this._rows[H-1]=void 0}else this._rows[H+V-1]=void 0;else if(V&gt;0)for(H=F;H&gt;=v;H--)if(W=this._rows[H-1],W){const K=this.getRow(H+V);K.values=W.values,K.style=W.style,K.height=W.height,W.eachCell({includeEmpty:!0},($,P)=&gt;{if(K.getCell(P).style=$.style,$._value.constructor.name===&quot;MergeValue&quot;){const D=this.getRow($._row._number+T).getCell(P),E=$._value._master,j=this.getRow(E._row._number+T).getCell(E._column._number);D.merge(j)}})}else this._rows[H+V-1]=void 0;for(H=0;H&lt;T;H++){const K=this.getRow(g+H);K.style={},K.values=C[H]}this.workbook.definedNames.spliceRows(this.name,g,y,T)}eachRow(g,y){if(y||(y=g,g=void 0),g&amp;&amp;g.includeEmpty){const v=this._rows.length;for(let _=1;_&lt;=v;_++)y(this.getRow(_),_)}else this._rows.forEach(v=&gt;{v&amp;&amp;v.hasValues&amp;&amp;y(v,v.number)})}getSheetValues(){const g=[];return this._rows.forEach(y=&gt;{y&amp;&amp;(g[y.number]=y.values)}),g}findCell(g,y){const v=a.getAddress(g,y),_=this._rows[v.row-1];return _?_.findCell(v.col):void 0}getCell(g,y){const v=a.getAddress(g,y);return this.getRow(v.row).getCellEx(v)}mergeCells(){for(var g=arguments.length,y=new Array(g),v=0;v&lt;g;v++)y[v]=arguments[v];const _=new u(y);this._mergeCellsInternal(_)}mergeCellsWithoutStyle(){for(var g=arguments.length,y=new Array(g),v=0;v&lt;g;v++)y[v]=arguments[v];const _=new u(y);this._mergeCellsInternal(_,!0)}_mergeCellsInternal(g,y){i.each(this._merges,_=&gt;{if(_.intersects(g))throw new Error(&quot;Cannot merge already merged cells&quot;)});const v=this.getCell(g.top,g.left);for(let _=g.top;_&lt;=g.bottom;_++)for(let C=g.left;C&lt;=g.right;C++)(_&gt;g.top||C&gt;g.left)&amp;&amp;this.getCell(_,C).merge(v,y);this._merges[v.address]=g}_unMergeMaster(g){const y=this._merges[g.address];if(y){for(let v=y.top;v&lt;=y.bottom;v++)for(let _=y.left;_&lt;=y.right;_++)this.getCell(v,_).unmerge();delete this._merges[g.address]}}get hasMerges(){return i.some(this._merges,Boolean)}unMergeCells(){for(var g=arguments.length,y=new Array(g),v=0;v&lt;g;v++)y[v]=arguments[v];const _=new u(y);for(let C=_.top;C&lt;=_.bottom;C++)for(let O=_.left;O&lt;=_.right;O++){const T=this.findCell(C,O);T&amp;&amp;(T.type===d.ValueType.Merge?this._unMergeMaster(T.master):this._merges[T.address]&amp;&amp;this._unMergeMaster(T))}}fillFormula(g,y,v){let _=arguments.length&gt;3&amp;&amp;arguments[3]!==void 0?arguments[3]:&quot;shared&quot;;const C=a.decode(g),{top:O,left:T,bottom:V,right:F}=C,H=F-T+1,W=a.encodeAddress(O,T),K=_===&quot;shared&quot;;let $;$=typeof v==&quot;function&quot;?v:Array.isArray(v)?Array.isArray(v[0])?(D,E)=&gt;v[D-O][E-T]:(D,E)=&gt;v[(D-O)*H+(E-T)]:()=&gt;{};let P=!0;for(let D=O;D&lt;=V;D++)for(let E=T;E&lt;=F;E++)P?(this.getCell(D,E).value={shareType:_,formula:y,ref:g,result:$(D,E)},P=!1):this.getCell(D,E).value=K?{sharedFormula:W,result:$(D,E)}:$(D,E)}addImage(g,y){const v={type:&quot;image&quot;,imageId:g,range:y};this._media.push(new f(this,v))}getImages(){return this._media.filter(g=&gt;g.type===&quot;image&quot;)}addBackgroundImage(g){const y={type:&quot;background&quot;,imageId:g};this._media.push(new f(this,y))}getBackgroundImageId(){const g=this._media.find(y=&gt;y.type===&quot;background&quot;);return g&amp;&amp;g.imageId}protect(g,y){return new Promise(v=&gt;{this.sheetProtection={sheet:!0},y&amp;&amp;&quot;spinCount&quot;in y&amp;&amp;(y.spinCount=Number.isFinite(y.spinCount)?Math.round(Math.max(0,y.spinCount)):1e5),g&amp;&amp;(this.sheetProtection.algorithmName=&quot;SHA-512&quot;,this.sheetProtection.saltValue=p.randomBytes(16).toString(&quot;base64&quot;),this.sheetProtection.spinCount=y&amp;&amp;&quot;spinCount&quot;in y?y.spinCount:1e5,this.sheetProtection.hashValue=p.convertPasswordToHash(g,&quot;SHA512&quot;,this.sheetProtection.saltValue,this.sheetProtection.spinCount)),y&amp;&amp;(this.sheetProtection=Object.assign(this.sheetProtection,y),!g&amp;&amp;&quot;spinCount&quot;in y&amp;&amp;delete this.sheetProtection.spinCount),v()})}unprotect(){this.sheetProtection=null}addTable(g){const y=new h(this,g);return this.tables[g.name]=y,y}getTable(g){return this.tables[g]}removeTable(g){delete this.tables[g]}getTables(){return Object.values(this.tables)}addConditionalFormatting(g){this.conditionalFormattings.push(g)}removeConditionalFormatting(g){typeof g==&quot;number&quot;?this.conditionalFormattings.splice(g,1):this.conditionalFormattings=g instanceof Function?this.conditionalFormattings.filter(g):[]}get tabColor(){return console.trace(&quot;worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor&quot;),this.properties.tabColor}set tabColor(g){console.trace(&quot;worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor&quot;),this.properties.tabColor=g}get model(){const g={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(_=&gt;_.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(_=&gt;_.model),conditionalFormattings:this.conditionalFormattings};g.cols=s.toModel(this.columns);const y=g.rows=[],v=g.dimensions=new u;return this._rows.forEach(_=&gt;{const C=_&amp;&amp;_.model;C&amp;&amp;(v.expand(C.number,C.min,C.number,C.max),y.push(C))}),g.merges=[],i.each(this._merges,_=&gt;{g.merges.push(_.range)}),g}_parseRows(g){this._rows=[],g.rows.forEach(y=&gt;{const v=new l(this,y.number);this._rows[v.number-1]=v,v.model=y})}_parseMergeCells(g){i.each(g.mergeCells,y=&gt;{this.mergeCellsWithoutStyle(y)})}set model(g){this.name=g.name,this._columns=s.fromModel(this,g.cols),this._parseRows(g),this._parseMergeCells(g),this.dataValidations=new m(g.dataValidations),this.properties=g.properties,this.pageSetup=g.pageSetup,this.headerFooter=g.headerFooter,this.views=g.views,this.autoFilter=g.autoFilter,this._media=g.media.map(y=&gt;new f(this,y)),this.sheetProtection=g.sheetProtection,this.tables=g.tables.reduce((y,v)=&gt;{const _=new h;return _.model=v,y[v.name]=_,y},{}),this.conditionalFormattings=g.conditionalFormattings}}},{&quot;../utils/col-cache&quot;:19,&quot;../utils/copy-style&quot;:20,&quot;../utils/encryptor&quot;:21,&quot;../utils/under-dash&quot;:26,&quot;./column&quot;:4,&quot;./data-validations&quot;:5,&quot;./enums&quot;:7,&quot;./image&quot;:8,&quot;./range&quot;:10,&quot;./row&quot;:11,&quot;./table&quot;:12}],15:[function(t,n,o){t(&quot;core-js/modules/es.promise&quot;),t(&quot;core-js/modules/es.promise.finally&quot;),t(&quot;core-js/modules/es.object.assign&quot;),t(&quot;core-js/modules/es.object.keys&quot;),t(&quot;core-js/modules/es.object.values&quot;),t(&quot;core-js/modules/es.symbol&quot;),t(&quot;core-js/modules/es.symbol.async-iterator&quot;),t(&quot;core-js/modules/es.array.iterator&quot;),t(&quot;core-js/modules/es.array.includes&quot;),t(&quot;core-js/modules/es.array.find-index&quot;),t(&quot;core-js/modules/es.array.find&quot;),t(&quot;core-js/modules/es.string.from-code-point&quot;),t(&quot;core-js/modules/es.string.includes&quot;),t(&quot;core-js/modules/es.number.is-nan&quot;),t(&quot;regenerator-runtime/runtime&quot;);const i={Workbook:t(&quot;./doc/workbook&quot;)},a=t(&quot;./doc/enums&quot;);Object.keys(a).forEach(u=&gt;{i[u]=a[u]}),n.exports=i},{&quot;./doc/enums&quot;:7,&quot;./doc/workbook&quot;:13,&quot;core-js/modules/es.array.find&quot;:359,&quot;core-js/modules/es.array.find-index&quot;:358,&quot;core-js/modules/es.array.includes&quot;:360,&quot;core-js/modules/es.array.iterator&quot;:361,&quot;core-js/modules/es.number.is-nan&quot;:363,&quot;core-js/modules/es.object.assign&quot;:364,&quot;core-js/modules/es.object.keys&quot;:366,&quot;core-js/modules/es.object.values&quot;:367,&quot;core-js/modules/es.promise&quot;:372,&quot;core-js/modules/es.promise.finally&quot;:371,&quot;core-js/modules/es.string.from-code-point&quot;:376,&quot;core-js/modules/es.string.includes&quot;:377,&quot;core-js/modules/es.symbol&quot;:381,&quot;core-js/modules/es.symbol.async-iterator&quot;:378,&quot;regenerator-runtime/runtime&quot;:492}],16:[function(t,n,o){const i=typeof TextDecoder&gt;&quot;u&quot;?null:new TextDecoder(&quot;utf-8&quot;);o.bufferToString=function(a){return typeof a==&quot;string&quot;?a:i?i.decode(a):a.toString()}},{}],17:[function(t,n,o){const i=typeof TextEncoder&gt;&quot;u&quot;?null:new TextEncoder(&quot;utf-8&quot;),{Buffer:a}=t(&quot;buffer&quot;);o.stringToBuffer=function(u){return typeof u!=&quot;string&quot;?u:i?a.from(i.encode(u).buffer):a.from(u)}},{buffer:220}],18:[function(t,n,o){const i=t(&quot;./under-dash&quot;),a=t(&quot;./col-cache&quot;);n.exports=class{constructor(u){this.template=u,this.sheets={}}addCell(u){this.addCellEx(a.decodeEx(u))}getCell(u){return this.findCellEx(a.decodeEx(u),!0)}findCell(u){return this.findCellEx(a.decodeEx(u),!1)}findCellAt(u,l,s){const d=this.sheets[u],f=d&amp;&amp;d[l];return f&amp;&amp;f[s]}addCellEx(u){if(u.top)for(let l=u.top;l&lt;=u.bottom;l++)for(let s=u.left;s&lt;=u.right;s++)this.getCellAt(u.sheetName,l,s);else this.findCellEx(u,!0)}getCellEx(u){return this.findCellEx(u,!0)}findCellEx(u,l){const s=this.findSheet(u,l),d=this.findSheetRow(s,u,l);return this.findRowCell(d,u,l)}getCellAt(u,l,s){const d=this.sheets[u]||(this.sheets[u]=[]),f=d[l]||(d[l]=[]);return f[s]||(f[s]={sheetName:u,address:a.n2l(s)+l,row:l,col:s})}removeCellEx(u){const l=this.findSheet(u);if(!l)return;const s=this.findSheetRow(l,u);s&amp;&amp;delete s[u.col]}forEachInSheet(u,l){const s=this.sheets[u];s&amp;&amp;s.forEach((d,f)=&gt;{d&amp;&amp;d.forEach((h,m)=&gt;{h&amp;&amp;l(h,f,m)})})}forEach(u){i.each(this.sheets,(l,s)=&gt;{this.forEachInSheet(s,u)})}map(u){const l=[];return this.forEach(s=&gt;{l.push(u(s))}),l}findSheet(u,l){const s=u.sheetName;return this.sheets[s]?this.sheets[s]:l?this.sheets[s]=[]:void 0}findSheetRow(u,l,s){const{row:d}=l;return u&amp;&amp;u[d]?u[d]:s?u[d]=[]:void 0}findRowCell(u,l,s){const{col:d}=l;return u&amp;&amp;u[d]?u[d]:s?u[d]=this.template?Object.assign(l,JSON.parse(JSON.stringify(this.template))):l:void 0}spliceRows(u,l,s,d){const f=this.sheets[u];if(f){const h=[];for(let m=0;m&lt;d;m++)h.push([]);f.splice(l,s,...h)}}spliceColumns(u,l,s,d){const f=this.sheets[u];if(f){const h=[];for(let m=0;m&lt;d;m++)h.push(null);i.each(f,m=&gt;{m.splice(l,s,...h)})}}}},{&quot;./col-cache&quot;:19,&quot;./under-dash&quot;:26}],19:[function(t,n,o){const i=/^[A-Z]+\d+$/,a={_dictionary:[&quot;A&quot;,&quot;B&quot;,&quot;C&quot;,&quot;D&quot;,&quot;E&quot;,&quot;F&quot;,&quot;G&quot;,&quot;H&quot;,&quot;I&quot;,&quot;J&quot;,&quot;K&quot;,&quot;L&quot;,&quot;M&quot;,&quot;N&quot;,&quot;O&quot;,&quot;P&quot;,&quot;Q&quot;,&quot;R&quot;,&quot;S&quot;,&quot;T&quot;,&quot;U&quot;,&quot;V&quot;,&quot;W&quot;,&quot;X&quot;,&quot;Y&quot;,&quot;Z&quot;],_l2nFill:0,_l2n:{},_n2l:[],_level:u=&gt;u&lt;=26?1:u&lt;=676?2:3,_fill(u){let l,s,d,f,h,m=1;if(u&gt;=4)throw new Error(&quot;Out of bounds. Excel supports columns from 1 to 16384&quot;);if(this._l2nFill&lt;1&amp;&amp;u&gt;=1){for(;m&lt;=26;)l=this._dictionary[m-1],this._n2l[m]=l,this._l2n[l]=m,m++;this._l2nFill=1}if(this._l2nFill&lt;2&amp;&amp;u&gt;=2){for(m=27;m&lt;=702;)s=m-27,d=s%26,f=Math.floor(s/26),l=this._dictionary[f]+this._dictionary[d],this._n2l[m]=l,this._l2n[l]=m,m++;this._l2nFill=2}if(this._l2nFill&lt;3&amp;&amp;u&gt;=3){for(m=703;m&lt;=16384;)s=m-703,d=s%26,f=Math.floor(s/26)%26,h=Math.floor(s/676),l=this._dictionary[h]+this._dictionary[f]+this._dictionary[d],this._n2l[m]=l,this._l2n[l]=m,m++;this._l2nFill=3}},l2n(u){if(this._l2n[u]||this._fill(u.length),!this._l2n[u])throw new Error(&quot;Out of bounds. Invalid column letter: &quot;+u);return this._l2n[u]},n2l(u){if(u&lt;1||u&gt;16384)throw new Error(u+&quot; is out of bounds. Excel supports columns from 1 to 16384&quot;);return this._n2l[u]||this._fill(this._level(u)),this._n2l[u]},_hash:{},validateAddress(u){if(!i.test(u))throw new Error(&quot;Invalid Address: &quot;+u);return!0},decodeAddress(u){const l=u.length&lt;5&amp;&amp;this._hash[u];if(l)return l;let s=!1,d=&quot;&quot;,f=0,h=!1,m=&quot;&quot;,p=0;for(let g,y=0;y&lt;u.length;y++)if(g=u.charCodeAt(y),!h&amp;&amp;g&gt;=65&amp;&amp;g&lt;=90)s=!0,d+=u[y],f=26*f+g-64;else if(g&gt;=48&amp;&amp;g&lt;=57)h=!0,m+=u[y],p=10*p+g-48;else if(h&amp;&amp;s&amp;&amp;g!==36)break;if(s){if(f&gt;16384)throw new Error(&quot;Out of bounds. Invalid column letter: &quot;+d)}else f=void 0;h||(p=void 0);const b={address:u=d+m,col:f,row:p,$col$row:`$${d}$${m}`};return f&lt;=100&amp;&amp;p&lt;=100&amp;&amp;(this._hash[u]=b,this._hash[b.$col$row]=b),b},getAddress(u,l){if(l){const s=this.n2l(l)+u;return this.decodeAddress(s)}return this.decodeAddress(u)},decode(u){const l=u.split(&quot;:&quot;);if(l.length===2){const s=this.decodeAddress(l[0]),d=this.decodeAddress(l[1]),f={top:Math.min(s.row,d.row),left:Math.min(s.col,d.col),bottom:Math.max(s.row,d.row),right:Math.max(s.col,d.col)};return f.tl=this.n2l(f.left)+f.top,f.br=this.n2l(f.right)+f.bottom,f.dimensions=`${f.tl}:${f.br}`,f}return this.decodeAddress(u)},decodeEx(u){const l=u.match(/(?:(?:(?:&#039;((?:[^&#039;]|&#039;&#039;)*)&#039;)|([^&#039;^ !]*))!)?(.*)/),s=l[1]||l[2],d=l[3],f=d.split(&quot;:&quot;);if(f.length&gt;1){let m=this.decodeAddress(f[0]),p=this.decodeAddress(f[1]);const b=Math.min(m.row,p.row),g=Math.min(m.col,p.col),y=Math.max(m.row,p.row),v=Math.max(m.col,p.col);return m=this.n2l(g)+b,p=this.n2l(v)+y,{top:b,left:g,bottom:y,right:v,sheetName:s,tl:{address:m,col:g,row:b,$col$row:`$${this.n2l(g)}$${b}`,sheetName:s},br:{address:p,col:v,row:y,$col$row:`$${this.n2l(v)}$${y}`,sheetName:s},dimensions:`${m}:${p}`}}if(d.startsWith(&quot;#&quot;))return s?{sheetName:s,error:d}:{error:d};const h=this.decodeAddress(d);return s?{sheetName:s,...h}:h},encodeAddress:(u,l)=&gt;a.n2l(l)+u,encode(){switch(arguments.length){case 2:return a.encodeAddress(arguments[0],arguments[1]);case 4:return`${a.encodeAddress(arguments[0],arguments[1])}:${a.encodeAddress(arguments[2],arguments[3])}`;default:throw new Error(&quot;Can only encode with 2 or 4 arguments&quot;)}},inRange(u,l){const[s,d,,f,h]=u,[m,p]=l;return m&gt;=s&amp;&amp;m&lt;=f&amp;&amp;p&gt;=d&amp;&amp;p&lt;=h}};n.exports=a},{}],20:[function(t,n,o){const i=(u,l)=&gt;({...u,...l.reduce((s,d)=&gt;(u[d]&amp;&amp;(s[d]={...u[d]}),s),{})}),a=function(u,l,s){let d=arguments.length&gt;3&amp;&amp;arguments[3]!==void 0?arguments[3]:[];u[s]&amp;&amp;(l[s]=i(u[s],d))};o.copyStyle=u=&gt;{if(!u)return u;if(l=u,Object.keys(l).length===0)return{};var l;const s={...u};return a(u,s,&quot;font&quot;,[&quot;color&quot;]),a(u,s,&quot;alignment&quot;),a(u,s,&quot;protection&quot;),u.border&amp;&amp;(a(u,s,&quot;border&quot;),a(u.border,s.border,&quot;top&quot;,[&quot;color&quot;]),a(u.border,s.border,&quot;left&quot;,[&quot;color&quot;]),a(u.border,s.border,&quot;bottom&quot;,[&quot;color&quot;]),a(u.border,s.border,&quot;right&quot;,[&quot;color&quot;]),a(u.border,s.border,&quot;diagonal&quot;,[&quot;color&quot;])),u.fill&amp;&amp;(a(u,s,&quot;fill&quot;,[&quot;fgColor&quot;,&quot;bgColor&quot;,&quot;center&quot;]),u.fill.stops&amp;&amp;(s.fill.stops=u.fill.stops.map(d=&gt;i(d,[&quot;color&quot;])))),s}},{}],21:[function(t,n,o){(function(i){(function(){const a=t(&quot;crypto&quot;),u={hash(l){const s=a.createHash(l);for(var d=arguments.length,f=new Array(d&gt;1?d-1:0),h=1;h&lt;d;h++)f[h-1]=arguments[h];return s.update(i.concat(f)),s.digest()},convertPasswordToHash(l,s,d,f){if(s=s.toLowerCase(),a.getHashes().indexOf(s)&lt;0)throw new Error(`Hash algorithm &#039;${s}&#039; not supported!`);const h=i.from(l,&quot;utf16le&quot;);let m=this.hash(s,i.from(d,&quot;base64&quot;),h);for(let p=0;p&lt;f;p++){const b=i.alloc(4);b.writeUInt32LE(p,0),m=this.hash(s,m,b)}return m.toString(&quot;base64&quot;)},randomBytes:l=&gt;a.randomBytes(l)};n.exports=u}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220,crypto:390}],22:[function(t,n,o){const{SaxesParser:i}=t(&quot;saxes&quot;),{PassThrough:a}=t(&quot;readable-stream&quot;),{bufferToString:u}=t(&quot;./browser-buffer-decode&quot;);n.exports=async function*(l){l.pipe&amp;&amp;!l[Symbol.asyncIterator]&amp;&amp;(l=l.pipe(new a));const s=new i;let d;s.on(&quot;error&quot;,h=&gt;{d=h});let f=[];s.on(&quot;opentag&quot;,h=&gt;f.push({eventType:&quot;opentag&quot;,value:h})),s.on(&quot;text&quot;,h=&gt;f.push({eventType:&quot;text&quot;,value:h})),s.on(&quot;closetag&quot;,h=&gt;f.push({eventType:&quot;closetag&quot;,value:h}));for await(const h of l){if(s.write(u(h)),d)throw d;yield f,f=[]}}},{&quot;./browser-buffer-decode&quot;:16,&quot;readable-stream&quot;:491,saxes:496}],23:[function(t,n,o){const i=t(&quot;./col-cache&quot;),a=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,u=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;n.exports={slideFormula:function(l,s,d){const f=i.decode(s),h=i.decode(d);return l.replace(a,(m,p,b,g,y)=&gt;{if(y)return m;const v=u.exec(g);if(v){const _=v[1],C=v[2].toUpperCase(),O=v[3],T=v[4];if(C.length&gt;3||C.length===3&amp;&amp;C&gt;&quot;XFD&quot;)return m;let V=i.l2n(C),F=parseInt(T,10);return _||(V+=h.col-f.col),O||(F+=h.row-f.row),(p||&quot;&quot;)+(_||&quot;&quot;)+i.n2l(V)+(O||&quot;&quot;)+F}return m})}}},{&quot;./col-cache&quot;:19}],24:[function(t,n,o){(function(i,a){(function(){const u=t(&quot;readable-stream&quot;),l=t(&quot;./utils&quot;),s=t(&quot;./string-buf&quot;);class d{constructor(g,y){this._data=g,this._encoding=y}get length(){return this.toBuffer().length}copy(g,y,v,_){return this.toBuffer().copy(g,y,v,_)}toBuffer(){return this._buffer||(this._buffer=a.from(this._data,this._encoding)),this._buffer}}class f{constructor(g){this._data=g}get length(){return this._data.length}copy(g,y,v,_){return this._data._buf.copy(g,y,v,_)}toBuffer(){return this._data.toBuffer()}}class h{constructor(g){this._data=g}get length(){return this._data.length}copy(g,y,v,_){this._data.copy(g,y,v,_)}toBuffer(){return this._data}}class m{constructor(g){this.size=g,this.buffer=a.alloc(g),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&amp;&amp;this.iWrite===this.size)return this.buffer;const g=a.alloc(this.iWrite-this.iRead);return this.buffer.copy(g,0,this.iRead,this.iWrite),g}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read(g){let y;return g===0?null:g===void 0||g&gt;=this.length?(y=this.toBuffer(),this.iRead=this.iWrite,y):(y=a.alloc(g),this.buffer.copy(y,0,this.iRead,g),this.iRead+=g,y)}write(g,y,v){const _=Math.min(v,this.size-this.iWrite);return g.copy(this.buffer,this.iWrite,y,y+_),this.iWrite+=_,_}}const p=function(b){b=b||{},this.bufSize=b.bufSize||1048576,this.buffers=[],this.batch=b.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};l.inherits(p,u.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return a.concat(this.buffers.map(b=&gt;b.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){const g=this.buffers[this.buffers.length-1];if(!g.full)return g}const b=new m(this.bufSize);return this.buffers.push(b),b},async _pipe(b){await Promise.all(this.pipes.map((function(g){return new Promise(y=&gt;{g.write(b.toBuffer(),()=&gt;{y()})})})))},_writeToBuffers(b){let g=0;const y=b.length;for(;g&lt;y;)g+=this._getWritableBuffer().write(b,g,y-g)},async write(b,g,y){let v;if(g instanceof Function&amp;&amp;(y=g,g=&quot;utf8&quot;),y=y||l.nop,b instanceof s)v=new f(b);else if(b instanceof a)v=new h(b);else{if(!(typeof b==&quot;string&quot;||b instanceof String||b instanceof ArrayBuffer))throw new Error(&quot;Chunk must be one of type String, Buffer or StringBuf.&quot;);v=new d(b,g)}if(this.pipes.length)if(this.batch)for(this._writeToBuffers(v);!this.corked&amp;&amp;this.buffers.length&gt;1;)this._pipe(this.buffers.shift());else this.corked?(this._writeToBuffers(v),i.nextTick(y)):(await this._pipe(v),y());else this.paused||this.emit(&quot;data&quot;,v.toBuffer()),this._writeToBuffers(v),this.emit(&quot;readable&quot;);return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end(b,g,y){const v=_=&gt;{_?y(_):(this._flush(),this.pipes.forEach(C=&gt;{C.end()}),this.emit(&quot;finish&quot;))};b?this.write(b,g,v):v()},read(b){let g;if(b){for(g=[];b&amp;&amp;this.buffers.length&amp;&amp;!this.buffers[0].eod;){const y=this.buffers[0],v=y.read(b);b-=v.length,g.push(v),y.eod&amp;&amp;y.full&amp;&amp;this.buffers.shift()}return a.concat(g)}return g=this.buffers.map(y=&gt;y.toBuffer()).filter(Boolean),this.buffers=[],a.concat(g)},setEncoding(b){this.encoding=b},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe(b){this.pipes.push(b),!this.paused&amp;&amp;this.buffers.length&amp;&amp;this.end()},unpipe(b){this.pipes=this.pipes.filter(g=&gt;g!==b)},unshift(){throw new Error(&quot;Not Implemented&quot;)},wrap(){throw new Error(&quot;Not Implemented&quot;)}}),n.exports=p}).call(this)}).call(this,t(&quot;_process&quot;),t(&quot;buffer&quot;).Buffer)},{&quot;./string-buf&quot;:25,&quot;./utils&quot;:27,_process:467,buffer:220,&quot;readable-stream&quot;:491}],25:[function(t,n,o){(function(i){(function(){n.exports=class{constructor(a){this._buf=i.alloc(a&amp;&amp;a.size||16384),this._encoding=a&amp;&amp;a.encoding||&quot;utf8&quot;,this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){return this._buffer||(this._buffer=i.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}reset(a){a=a||0,this._buffer=void 0,this._inPos=a}_grow(a){let u=2*this._buf.length;for(;u&lt;a;)u*=2;const l=i.alloc(u);this._buf.copy(l,0),this._buf=l}addText(a){this._buffer=void 0;let u=this._inPos+this._buf.write(a,this._inPos,this._encoding);for(;u&gt;=this._buf.length-4;)this._grow(this._inPos+a.length),u=this._inPos+this._buf.write(a,this._inPos,this._encoding);this._inPos=u}addStringBuf(a){a.length&amp;&amp;(this._buffer=void 0,this.length+a.length&gt;this.capacity&amp;&amp;this._grow(this.length+a.length),a._buf.copy(this._buf,this._inPos,0,a.length),this._inPos+=a.length)}}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220}],26:[function(t,n,o){const{toString:i}=Object.prototype,a=/[&quot;&amp;&lt;&gt;]/,u={each:function(l,s){l&amp;&amp;(Array.isArray(l)?l.forEach(s):Object.keys(l).forEach(d=&gt;{s(l[d],d)}))},some:function(l,s){return!!l&amp;&amp;(Array.isArray(l)?l.some(s):Object.keys(l).some(d=&gt;s(l[d],d)))},every:function(l,s){return!l||(Array.isArray(l)?l.every(s):Object.keys(l).every(d=&gt;s(l[d],d)))},map:function(l,s){return l?Array.isArray(l)?l.map(s):Object.keys(l).map(d=&gt;s(l[d],d)):[]},keyBy:(l,s)=&gt;l.reduce((d,f)=&gt;(d[f[s]]=f,d),{}),isEqual:function(l,s){const d=typeof l,f=typeof s,h=Array.isArray(l),m=Array.isArray(s);let p;if(d!==f)return!1;switch(typeof l){case&quot;object&quot;:if(h||m)return!(!h||!m)&amp;&amp;l.length===s.length&amp;&amp;l.every((b,g)=&gt;{const y=s[g];return u.isEqual(b,y)});if(l===null||s===null)return l===s;if(p=Object.keys(l),Object.keys(s).length!==p.length)return!1;for(const b of p)if(!s.hasOwnProperty(b))return!1;return u.every(l,(b,g)=&gt;{const y=s[g];return u.isEqual(b,y)});default:return l===s}},escapeHtml(l){const s=a.exec(l);if(!s)return l;let d=&quot;&quot;,f=&quot;&quot;,h=0,m=s.index;for(;m&lt;l.length;m++){switch(l.charAt(m)){case&#039;&quot;&#039;:f=&quot;&amp;quot;&quot;;break;case&quot;&amp;&quot;:f=&quot;&amp;amp;&quot;;break;case&quot;&#039;&quot;:f=&quot;&amp;apos;&quot;;break;case&quot;&lt;&quot;:f=&quot;&amp;lt;&quot;;break;case&quot;&gt;&quot;:f=&quot;&amp;gt;&quot;;break;default:continue}h!==m&amp;&amp;(d+=l.substring(h,m)),h=m+1,d+=f}return h!==m?d+l.substring(h,m):d},strcmp:(l,s)=&gt;l&lt;s?-1:l&gt;s?1:0,isUndefined:l=&gt;i.call(l)===&quot;[object Undefined]&quot;,isObject:l=&gt;i.call(l)===&quot;[object Object]&quot;,deepMerge(){const l=arguments[0]||{},{length:s}=arguments;let d,f,h;function m(p,b){d=l[b],h=Array.isArray(p),u.isObject(p)||h?(h?(h=!1,f=d&amp;&amp;Array.isArray(d)?d:[]):f=d&amp;&amp;u.isObject(d)?d:{},l[b]=u.deepMerge(f,p)):u.isUndefined(p)||(l[b]=p)}for(let p=0;p&lt;s;p++)u.each(arguments[p],m);return l}};n.exports=u},{}],27:[function(t,n,o){(function(i,a){(function(){const u=t(&quot;fs&quot;),l=/[&lt;&gt;&amp;&#039;&quot;\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,s={nop(){},promiseImmediate:d=&gt;new Promise(f=&gt;{i.setImmediate?a(()=&gt;{f(d)}):setTimeout(()=&gt;{f(d)},1)}),inherits:function(d,f,h,m){d.super_=f,m||(m=h,h=null),h&amp;&amp;Object.keys(h).forEach(b=&gt;{Object.defineProperty(d,b,Object.getOwnPropertyDescriptor(h,b))});const p={constructor:{value:d,enumerable:!1,writable:!1,configurable:!0}};m&amp;&amp;Object.keys(m).forEach(b=&gt;{p[b]=Object.getOwnPropertyDescriptor(m,b)}),d.prototype=Object.create(f.prototype,p)},dateToExcel:(d,f)=&gt;25569+d.getTime()/864e5-(f?1462:0),excelToDate(d,f){const h=Math.round(24*(d-25569+(f?1462:0))*3600*1e3);return new Date(h)},parsePath(d){const f=d.lastIndexOf(&quot;/&quot;);return{path:d.substring(0,f),name:d.substring(f+1)}},getRelsPath(d){const f=s.parsePath(d);return`${f.path}/_rels/${f.name}.rels`},xmlEncode(d){const f=l.exec(d);if(!f)return d;let h=&quot;&quot;,m=&quot;&quot;,p=0,b=f.index;for(;b&lt;d.length;b++){const g=d.charCodeAt(b);switch(g){case 34:m=&quot;&amp;quot;&quot;;break;case 38:m=&quot;&amp;amp;&quot;;break;case 39:m=&quot;&amp;apos;&quot;;break;case 60:m=&quot;&amp;lt;&quot;;break;case 62:m=&quot;&amp;gt;&quot;;break;case 127:m=&quot;&quot;;break;default:if(g&lt;=31&amp;&amp;(g&lt;=8||g&gt;=11&amp;&amp;g!==13)){m=&quot;&quot;;break}continue}p!==b&amp;&amp;(h+=d.substring(p,b)),p=b+1,m&amp;&amp;(h+=m)}return p!==b?h+d.substring(p,b):h},xmlDecode:d=&gt;d.replace(/&amp;([a-z]*);/g,f=&gt;{switch(f){case&quot;&amp;lt;&quot;:return&quot;&lt;&quot;;case&quot;&amp;gt;&quot;:return&quot;&gt;&quot;;case&quot;&amp;amp;&quot;:return&quot;&amp;&quot;;case&quot;&amp;apos;&quot;:return&quot;&#039;&quot;;case&quot;&amp;quot;&quot;:return&#039;&quot;&#039;;default:return f}}),validInt(d){const f=parseInt(d,10);return Number.isNaN(f)?0:f},isDateFmt(d){return d?(d=(d=d.replace(/\[[^\]]*]/g,&quot;&quot;)).replace(/&quot;[^&quot;]*&quot;/g,&quot;&quot;)).match(/[ymdhMsb]+/)!==null:!1},fs:{exists:d=&gt;new Promise(f=&gt;{u.access(d,u.constants.F_OK,h=&gt;{f(!h)})})},toIsoDateString:d=&gt;d.toIsoString().subsstr(0,10),parseBoolean:d=&gt;d===!0||d===&quot;true&quot;||d===1||d===&quot;1&quot;};n.exports=s}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{},t(&quot;timers&quot;).setImmediate)},{fs:216,timers:523}],28:[function(t,n,o){const i=t(&quot;./under-dash&quot;),a=t(&quot;./utils&quot;);function u(d,f,h){d.push(` ${f}=&quot;${a.xmlEncode(h.toString())}&quot;`)}function l(d,f){if(f){const h=[];i.each(f,(m,p)=&gt;{m!==void 0&amp;&amp;u(h,p,m)}),d.push(h.join(&quot;&quot;))}}class s{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml(f){const h=this._xml;h.push(&quot;&lt;?xml&quot;),l(h,f),h.push(`?&gt;
`)}openNode(f,h){const m=this.tos,p=this._xml;m&amp;&amp;this.open&amp;&amp;p.push(&quot;&gt;&quot;),this._stack.push(f),p.push(&quot;&lt;&quot;),p.push(f),l(p,h),this.leaf=!0,this.open=!0}addAttribute(f,h){if(!this.open)throw new Error(&quot;Cannot write attributes to node if it is not open&quot;);h!==void 0&amp;&amp;u(this._xml,f,h)}addAttributes(f){if(!this.open)throw new Error(&quot;Cannot write attributes to node if it is not open&quot;);l(this._xml,f)}writeText(f){const h=this._xml;this.open&amp;&amp;(h.push(&quot;&gt;&quot;),this.open=!1),this.leaf=!1,h.push(a.xmlEncode(f.toString()))}writeXml(f){this.open&amp;&amp;(this._xml.push(&quot;&gt;&quot;),this.open=!1),this.leaf=!1,this._xml.push(f)}closeNode(){const f=this._stack.pop(),h=this._xml;this.leaf?h.push(&quot;/&gt;&quot;):(h.push(&quot;&lt;/&quot;),h.push(f),h.push(&quot;&gt;&quot;)),this.open=!1,this.leaf=!1}leafNode(f,h,m){this.openNode(f,h),m!==void 0&amp;&amp;this.writeText(m),this.closeNode()}closeAll(){for(;this._stack.length;)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){const f=this._rollbacks.pop();this._xml.length&gt;f.xml&amp;&amp;this._xml.splice(f.xml,this._xml.length-f.xml),this._stack.length&gt;f.stack&amp;&amp;this._stack.splice(f.stack,this._stack.length-f.stack),this.leaf=f.leaf,this.open=f.open}get xml(){return this.closeAll(),this._xml.join(&quot;&quot;)}}s.StdDocAttributes={version:&quot;1.0&quot;,encoding:&quot;UTF-8&quot;,standalone:&quot;yes&quot;},n.exports=s},{&quot;./under-dash&quot;:26,&quot;./utils&quot;:27}],29:[function(t,n,o){(function(i){(function(){const a=t(&quot;events&quot;),u=t(&quot;jszip&quot;),l=t(&quot;./stream-buf&quot;),{stringToBuffer:s}=t(&quot;./browser-buffer-encode&quot;);class d extends a.EventEmitter{constructor(h){super(),this.options=Object.assign({type:&quot;nodebuffer&quot;,compression:&quot;DEFLATE&quot;},h),this.zip=new u,this.stream=new l}append(h,m){m.hasOwnProperty(&quot;base64&quot;)&amp;&amp;m.base64?this.zip.file(m.name,h,{base64:!0}):(i.browser&amp;&amp;typeof h==&quot;string&quot;&amp;&amp;(h=s(h)),this.zip.file(m.name,h))}async finalize(){const h=await this.zip.generateAsync(this.options);this.stream.end(h),this.emit(&quot;finish&quot;)}read(h){return this.stream.read(h)}setEncoding(h){return this.stream.setEncoding(h)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe(h,m){return this.stream.pipe(h,m)}unpipe(h){return this.stream.unpipe(h)}unshift(h){return this.stream.unshift(h)}wrap(h){return this.stream.wrap(h)}}n.exports={ZipWriter:d}}).call(this)}).call(this,t(&quot;_process&quot;))},{&quot;./browser-buffer-encode&quot;:17,&quot;./stream-buf&quot;:24,_process:467,events:422,jszip:441}],30:[function(t,n,o){n.exports={0:{f:&quot;General&quot;},1:{f:&quot;0&quot;},2:{f:&quot;0.00&quot;},3:{f:&quot;#,##0&quot;},4:{f:&quot;#,##0.00&quot;},9:{f:&quot;0%&quot;},10:{f:&quot;0.00%&quot;},11:{f:&quot;0.00E+00&quot;},12:{f:&quot;# ?/?&quot;},13:{f:&quot;# ??/??&quot;},14:{f:&quot;mm-dd-yy&quot;},15:{f:&quot;d-mmm-yy&quot;},16:{f:&quot;d-mmm&quot;},17:{f:&quot;mmm-yy&quot;},18:{f:&quot;h:mm AM/PM&quot;},19:{f:&quot;h:mm:ss AM/PM&quot;},20:{f:&quot;h:mm&quot;},21:{f:&quot;h:mm:ss&quot;},22:{f:&#039;m/d/yy &quot;h&quot;:mm&#039;},27:{&quot;zh-tw&quot;:&quot;[$-404]e/m/d&quot;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&quot;[$-411]ge.m.d&quot;,&quot;ko-kr&quot;:&#039;yyyy&quot;年&quot; mm&quot;月&quot; dd&quot;日&quot;&#039;},28:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},29:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},30:{&quot;zh-tw&quot;:&quot;m/d/yy &quot;,&quot;zh-cn&quot;:&quot;m-d-yy&quot;,&quot;ja-jp&quot;:&quot;m/d/yy&quot;,&quot;ko-kr&quot;:&quot;mm-dd-yy&quot;},31:{&quot;zh-tw&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&#039;yyyy&quot;년&quot; mm&quot;월&quot; dd&quot;일&quot;&#039;},32:{&quot;zh-tw&quot;:&#039;hh&quot;時&quot;mm&quot;分&quot;&#039;,&quot;zh-cn&quot;:&#039;h&quot;时&quot;mm&quot;分&quot;&#039;,&quot;ja-jp&quot;:&#039;h&quot;時&quot;mm&quot;分&quot;&#039;,&quot;ko-kr&quot;:&#039;h&quot;시&quot; mm&quot;분&quot;&#039;},33:{&quot;zh-tw&quot;:&#039;hh&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;zh-cn&quot;:&#039;h&quot;时&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;ja-jp&quot;:&#039;h&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;ko-kr&quot;:&#039;h&quot;시&quot; mm&quot;분&quot; ss&quot;초&quot;&#039;},34:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;&#039;,&quot;zh-cn&quot;:&#039;上午/下午 h&quot;时&quot;mm&quot;分&quot;&#039;,&quot;ja-jp&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},35:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;zh-cn&quot;:&#039;上午/下午 h&quot;时&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;ja-jp&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},36:{&quot;zh-tw&quot;:&quot;[$-404]e/m/d&quot;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&quot;[$-411]ge.m.d&quot;,&quot;ko-kr&quot;:&#039;yyyy&quot;年&quot; mm&quot;月&quot; dd&quot;日&quot;&#039;},37:{f:&quot;#,##0 ;(#,##0)&quot;},38:{f:&quot;#,##0 ;[Red](#,##0)&quot;},39:{f:&quot;#,##0.00 ;(#,##0.00)&quot;},40:{f:&quot;#,##0.00 ;[Red](#,##0.00)&quot;},45:{f:&quot;mm:ss&quot;},46:{f:&quot;[h]:mm:ss&quot;},47:{f:&quot;mmss.0&quot;},48:{f:&quot;##0.0E+0&quot;},49:{f:&quot;@&quot;},50:{&quot;zh-tw&quot;:&quot;[$-404]e/m/d&quot;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&quot;[$-411]ge.m.d&quot;,&quot;ko-kr&quot;:&#039;yyyy&quot;年&quot; mm&quot;月&quot; dd&quot;日&quot;&#039;},51:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},52:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;&#039;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},53:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},54:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},55:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;&#039;,&quot;zh-cn&quot;:&#039;上午/下午 h&quot;时&quot;mm&quot;分&quot;&#039;,&quot;ja-jp&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},56:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;zh-cn&quot;:&#039;上午/下午 h&quot;时&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;ja-jp&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},57:{&quot;zh-tw&quot;:&quot;[$-404]e/m/d&quot;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&quot;[$-411]ge.m.d&quot;,&quot;ko-kr&quot;:&#039;yyyy&quot;年&quot; mm&quot;月&quot; dd&quot;日&quot;&#039;},58:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},59:{&quot;th-th&quot;:&quot;t0&quot;},60:{&quot;th-th&quot;:&quot;t0.00&quot;},61:{&quot;th-th&quot;:&quot;t#,##0&quot;},62:{&quot;th-th&quot;:&quot;t#,##0.00&quot;},67:{&quot;th-th&quot;:&quot;t0%&quot;},68:{&quot;th-th&quot;:&quot;t0.00%&quot;},69:{&quot;th-th&quot;:&quot;t# ?/?&quot;},70:{&quot;th-th&quot;:&quot;t# ??/??&quot;},81:{&quot;th-th&quot;:&quot;d/m/bb&quot;}}},{}],31:[function(t,n,o){n.exports={OfficeDocument:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument&quot;,Worksheet:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet&quot;,CalcChain:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain&quot;,SharedStrings:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings&quot;,Styles:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles&quot;,Theme:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme&quot;,Hyperlink:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink&quot;,Image:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/image&quot;,CoreProperties:&quot;http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties&quot;,ExtenderProperties:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties&quot;,Comments:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments&quot;,VmlDrawing:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing&quot;,Table:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/table&quot;}},{}],32:[function(t,n,o){const i=t(&quot;../../utils/parse-sax&quot;),a=t(&quot;../../utils/xml-stream&quot;);class u{prepare(){}render(){}parseOpen(s){}parseText(s){}parseClose(s){}reconcile(s,d){}reset(){this.model=null,this.map&amp;&amp;Object.values(this.map).forEach(s=&gt;{s instanceof u?s.reset():s.xform&amp;&amp;s.xform.reset()})}mergeModel(s){this.model=Object.assign(this.model||{},s)}async parse(s){for await(const d of s)for(const{eventType:f,value:h}of d)if(f===&quot;opentag&quot;)this.parseOpen(h);else if(f===&quot;text&quot;)this.parseText(h);else if(f===&quot;closetag&quot;&amp;&amp;!this.parseClose(h.name))return this.model;return this.model}async parseStream(s){return this.parse(i(s))}get xml(){return this.toXml(this.model)}toXml(s){const d=new a;return this.render(d,s),d.xml}static toAttribute(s,d){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];if(s===void 0){if(f)return d}else if(f||s!==d)return s.toString()}static toStringAttribute(s,d){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(s,d,f)}static toStringValue(s,d){return s===void 0?d:s}static toBoolAttribute(s,d){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];if(s===void 0){if(f)return d}else if(f||s!==d)return s?&quot;1&quot;:&quot;0&quot;}static toBoolValue(s,d){return s===void 0?d:s===&quot;1&quot;}static toIntAttribute(s,d){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(s,d,f)}static toIntValue(s,d){return s===void 0?d:parseInt(s,10)}static toFloatAttribute(s,d){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(s,d,f)}static toFloatValue(s,d){return s===void 0?d:parseFloat(s)}}n.exports=u},{&quot;../../utils/parse-sax&quot;:22,&quot;../../utils/xml-stream&quot;:28}],33:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;../../../utils/col-cache&quot;);function u(s){try{return a.decodeEx(s),!0}catch{return!1}}function l(s){const d=[];let f=!1,h=&quot;&quot;;return s.split(&quot;,&quot;).forEach(m=&gt;{if(!m)return;const p=(m.match(/&#039;/g)||[]).length;if(!p)return void(f?h+=m+&quot;,&quot;:u(m)&amp;&amp;d.push(m));const b=p%2==0;!f&amp;&amp;b&amp;&amp;u(m)?d.push(m):f&amp;&amp;!b?(f=!1,u(h+m)&amp;&amp;d.push(h+m),h=&quot;&quot;):(f=!0,h+=m+&quot;,&quot;)}),d}n.exports=class extends i{render(s,d){s.openNode(&quot;definedName&quot;,{name:d.name,localSheetId:d.localSheetId}),s.writeText(d.ranges.join(&quot;,&quot;)),s.closeNode()}parseOpen(s){return s.name===&quot;definedName&quot;?(this._parsedName=s.attributes.name,this._parsedLocalSheetId=s.attributes.localSheetId,this._parsedText=[],!0):!1}parseText(s){this._parsedText.push(s)}parseClose(){return this.model={name:this._parsedName,ranges:l(this._parsedText.join(&quot;&quot;))},this._parsedLocalSheetId!==void 0&amp;&amp;(this.model.localSheetId=parseInt(this._parsedLocalSheetId,10)),!1}}},{&quot;../../../utils/col-cache&quot;:19,&quot;../base-xform&quot;:32}],34:[function(t,n,o){const i=t(&quot;../../../utils/utils&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{render(u,l){u.leafNode(&quot;sheet&quot;,{sheetId:l.id,name:l.name,state:l.state,&quot;r:id&quot;:l.rId})}parseOpen(u){return u.name===&quot;sheet&quot;&amp;&amp;(this.model={name:i.xmlDecode(u.attributes.name),id:parseInt(u.attributes.sheetId,10),state:u.attributes.state,rId:u.attributes[&quot;r:id&quot;]},!0)}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],35:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(a,u){a.leafNode(&quot;calcPr&quot;,{calcId:171027,fullCalcOnLoad:u.fullCalcOnLoad?1:void 0})}parseOpen(a){return a.name===&quot;calcPr&quot;&amp;&amp;(this.model={},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],36:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(a,u){a.leafNode(&quot;workbookPr&quot;,{date1904:u.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen(a){return a.name===&quot;workbookPr&quot;&amp;&amp;(this.model={date1904:a.attributes.date1904===&quot;1&quot;},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],37:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(a,u){const l={xWindow:u.x||0,yWindow:u.y||0,windowWidth:u.width||12e3,windowHeight:u.height||24e3,firstSheet:u.firstSheet,activeTab:u.activeTab};u.visibility&amp;&amp;u.visibility!==&quot;visible&quot;&amp;&amp;(l.visibility=u.visibility),a.leafNode(&quot;workbookView&quot;,l)}parseOpen(a){if(a.name===&quot;workbookView&quot;){const u=this.model={},l=function(d,f,h){const m=f!==void 0?u[d]=f:h;m!==void 0&amp;&amp;(u[d]=m)},s=function(d,f,h){const m=f!==void 0?u[d]=parseInt(f,10):h;m!==void 0&amp;&amp;(u[d]=m)};return s(&quot;x&quot;,a.attributes.xWindow,0),s(&quot;y&quot;,a.attributes.yWindow,0),s(&quot;width&quot;,a.attributes.windowWidth,25e3),s(&quot;height&quot;,a.attributes.windowHeight,1e4),l(&quot;visibility&quot;,a.attributes.visibility,&quot;visible&quot;),s(&quot;activeTab&quot;,a.attributes.activeTab,void 0),s(&quot;firstSheet&quot;,a.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],38:[function(t,n,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../utils/col-cache&quot;),u=t(&quot;../../../utils/xml-stream&quot;),l=t(&quot;../base-xform&quot;),s=t(&quot;../static-xform&quot;),d=t(&quot;../list-xform&quot;),f=t(&quot;./defined-name-xform&quot;),h=t(&quot;./sheet-xform&quot;),m=t(&quot;./workbook-view-xform&quot;),p=t(&quot;./workbook-properties-xform&quot;),b=t(&quot;./workbook-calc-properties-xform&quot;);class g extends l{constructor(){super(),this.map={fileVersion:g.STATIC_XFORMS.fileVersion,workbookPr:new p,bookViews:new d({tag:&quot;bookViews&quot;,count:!1,childXform:new m}),sheets:new d({tag:&quot;sheets&quot;,count:!1,childXform:new h}),definedNames:new d({tag:&quot;definedNames&quot;,count:!1,childXform:new f}),calcPr:new b}}prepare(v){v.sheets=v.worksheets;const _=[];let C=0;v.sheets.forEach(O=&gt;{if(O.pageSetup&amp;&amp;O.pageSetup.printArea&amp;&amp;O.pageSetup.printArea.split(&quot;&amp;&amp;&quot;).forEach(T=&gt;{const V=T.split(&quot;:&quot;),F={name:&quot;_xlnm.Print_Area&quot;,ranges:[`&#039;${O.name}&#039;!$${V[0]}:$${V[1]}`],localSheetId:C};_.push(F)}),O.pageSetup&amp;&amp;(O.pageSetup.printTitlesRow||O.pageSetup.printTitlesColumn)){const T=[];if(O.pageSetup.printTitlesColumn){const F=O.pageSetup.printTitlesColumn.split(&quot;:&quot;);T.push(`&#039;${O.name}&#039;!$${F[0]}:$${F[1]}`)}if(O.pageSetup.printTitlesRow){const F=O.pageSetup.printTitlesRow.split(&quot;:&quot;);T.push(`&#039;${O.name}&#039;!$${F[0]}:$${F[1]}`)}const V={name:&quot;_xlnm.Print_Titles&quot;,ranges:T,localSheetId:C};_.push(V)}C++}),_.length&amp;&amp;(v.definedNames=v.definedNames.concat(_)),(v.media||[]).forEach((O,T)=&gt;{O.name=O.type+(T+1)})}render(v,_){v.openXml(u.StdDocAttributes),v.openNode(&quot;workbook&quot;,g.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render(v),this.map.workbookPr.render(v,_.properties),this.map.bookViews.render(v,_.views),this.map.sheets.render(v,_.sheets),this.map.definedNames.render(v,_.definedNames),this.map.calcPr.render(v,_.calcProperties),v.closeNode()}parseOpen(v){return this.parser?(this.parser.parseOpen(v),!0):(v.name===&quot;workbook&quot;||(this.parser=this.map[v.name],this.parser&amp;&amp;this.parser.parseOpen(v)),!0)}parseText(v){this.parser&amp;&amp;this.parser.parseText(v)}parseClose(v){return this.parser?(this.parser.parseClose(v)||(this.parser=void 0),!0):v===&quot;workbook&quot;?(this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model&amp;&amp;(this.model.definedNames=this.map.definedNames.model),!1):!0}reconcile(v){const _=(v.workbookRels||[]).reduce((F,H)=&gt;(F[H.Id]=H,F),{}),C=[];let O,T=0;(v.sheets||[]).forEach(F=&gt;{const H=_[F.rId];H&amp;&amp;(O=v.worksheetHash[&quot;xl/&quot;+H.Target.replace(/^(\s|\/xl\/)+/,&quot;&quot;)],O&amp;&amp;(O.name=F.name,O.id=F.id,O.state=F.state,C[T++]=O))});const V=[];i.each(v.definedNames,F=&gt;{if(F.name===&quot;_xlnm.Print_Area&quot;){if(O=C[F.localSheetId],O){O.pageSetup||(O.pageSetup={});const H=a.decodeEx(F.ranges[0]);O.pageSetup.printArea=O.pageSetup.printArea?`${O.pageSetup.printArea}&amp;&amp;${H.dimensions}`:H.dimensions}}else if(F.name===&quot;_xlnm.Print_Titles&quot;){if(O=C[F.localSheetId],O){O.pageSetup||(O.pageSetup={});const H=F.ranges.join(&quot;,&quot;),W=/\$/g,K=/\$\d+:\$\d+/,$=H.match(K);if($&amp;&amp;$.length){const E=$[0];O.pageSetup.printTitlesRow=E.replace(W,&quot;&quot;)}const P=/\$[A-Z]+:\$[A-Z]+/,D=H.match(P);if(D&amp;&amp;D.length){const E=D[0];O.pageSetup.printTitlesColumn=E.replace(W,&quot;&quot;)}}}else V.push(F)}),v.definedNames=V,v.media.forEach((F,H)=&gt;{F.index=H})}}g.WORKBOOK_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;,&quot;xmlns:r&quot;:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships&quot;,&quot;xmlns:mc&quot;:&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;,&quot;mc:Ignorable&quot;:&quot;x15&quot;,&quot;xmlns:x15&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2010/11/main&quot;},g.STATIC_XFORMS={fileVersion:new s({tag:&quot;fileVersion&quot;,$:{appName:&quot;xl&quot;,lastEdited:5,lowestEdited:5,rupBuild:9303}})},n.exports=g},{&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/under-dash&quot;:26,&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;../static-xform&quot;:120,&quot;./defined-name-xform&quot;:33,&quot;./sheet-xform&quot;:34,&quot;./workbook-calc-properties-xform&quot;:35,&quot;./workbook-properties-xform&quot;:36,&quot;./workbook-view-xform&quot;:37}],39:[function(t,n,o){const i=t(&quot;../strings/rich-text-xform&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),l=n.exports=function(s){this.model=s};a.inherits(l,u,{get tag(){return&quot;r&quot;},get richTextXform(){return this._richTextXform||(this._richTextXform=new i),this._richTextXform},render(s,d){d=d||this.model,s.openNode(&quot;comment&quot;,{ref:d.ref,authorId:0}),s.openNode(&quot;text&quot;),d&amp;&amp;d.note&amp;&amp;d.note.texts&amp;&amp;d.note.texts.forEach(f=&gt;{this.richTextXform.render(s,f)}),s.closeNode(),s.closeNode()},parseOpen(s){if(this.parser)return this.parser.parseOpen(s),!0;switch(s.name){case&quot;comment&quot;:return this.model={type:&quot;note&quot;,note:{texts:[]},...s.attributes},!0;case&quot;r&quot;:return this.parser=this.richTextXform,this.parser.parseOpen(s),!0;default:return!1}},parseText(s){this.parser&amp;&amp;this.parser.parseText(s)},parseClose(s){switch(s){case&quot;comment&quot;:return!1;case&quot;r&quot;:return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&amp;&amp;this.parser.parseClose(s),!0}}})},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;../strings/rich-text-xform&quot;:122}],40:[function(t,n,o){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),l=t(&quot;./comment-xform&quot;),s=n.exports=function(){this.map={comment:new l}};a.inherits(s,u,{COMMENTS_ATTRIBUTES:{xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;}},{render(d,f){f=f||this.model,d.openXml(i.StdDocAttributes),d.openNode(&quot;comments&quot;,s.COMMENTS_ATTRIBUTES),d.openNode(&quot;authors&quot;),d.leafNode(&quot;author&quot;,null,&quot;Author&quot;),d.closeNode(),d.openNode(&quot;commentList&quot;),f.comments.forEach(h=&gt;{this.map.comment.render(d,h)}),d.closeNode(),d.closeNode()},parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;switch(d.name){case&quot;commentList&quot;:return this.model={comments:[]},!0;case&quot;comment&quot;:return this.parser=this.map.comment,this.parser.parseOpen(d),!0;default:return!1}},parseText(d){this.parser&amp;&amp;this.parser.parseText(d)},parseClose(d){switch(d){case&quot;commentList&quot;:return!1;case&quot;comment&quot;:return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&amp;&amp;this.parser.parseClose(d),!0}}})},{&quot;../../../utils/utils&quot;:27,&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./comment-xform&quot;:39}],41:[function(t,n,o){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this._model=a}get tag(){return this._model&amp;&amp;this._model.tag}render(a,u,l){(u===l[2]||this.tag===&quot;x:SizeWithCells&quot;&amp;&amp;u===l[1])&amp;&amp;a.leafNode(this.tag)}parseOpen(a){return a.name===this.tag?(this.model={},this.model[this.tag]=!0,!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../../base-xform&quot;:32}],42:[function(t,n,o){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this._model=a}get tag(){return this._model&amp;&amp;this._model.tag}render(a,u){a.leafNode(this.tag,null,u)}parseOpen(a){return a.name===this.tag?(this.text=&quot;&quot;,!0):!1}parseText(a){this.text=a}parseClose(){return!1}}},{&quot;../../base-xform&quot;:32}],43:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;x:Anchor&quot;}getAnchorRect(a){const u=Math.floor(a.left),l=Math.floor(68*(a.left-u)),s=Math.floor(a.top),d=Math.floor(18*(a.top-s)),f=Math.floor(a.right),h=Math.floor(68*(a.right-f)),m=Math.floor(a.bottom);return[u,l,s,d,f,h,m,Math.floor(18*(a.bottom-m))]}getDefaultRect(a){const u=a.col,l=Math.max(a.row-2,0);return[u,6,l,14,u+2,2,l+4,16]}render(a,u){const l=u.anchor?this.getAnchorRect(u.anchor):this.getDefaultRect(u.refAddress);a.leafNode(&quot;x:Anchor&quot;,null,l.join(&quot;, &quot;))}parseOpen(a){return a.name===this.tag?(this.text=&quot;&quot;,!0):!1}parseText(a){this.text=a}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],44:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;./vml-anchor-xform&quot;),u=t(&quot;./style/vml-protection-xform&quot;),l=t(&quot;./style/vml-position-xform&quot;),s=[&quot;twoCells&quot;,&quot;oneCells&quot;,&quot;absolute&quot;];n.exports=class extends i{constructor(){super(),this.map={&quot;x:Anchor&quot;:new a,&quot;x:Locked&quot;:new u({tag:&quot;x:Locked&quot;}),&quot;x:LockText&quot;:new u({tag:&quot;x:LockText&quot;}),&quot;x:SizeWithCells&quot;:new l({tag:&quot;x:SizeWithCells&quot;}),&quot;x:MoveWithCells&quot;:new l({tag:&quot;x:MoveWithCells&quot;})}}get tag(){return&quot;x:ClientData&quot;}render(d,f){const{protection:h,editAs:m}=f.note;d.openNode(this.tag,{ObjectType:&quot;Note&quot;}),this.map[&quot;x:MoveWithCells&quot;].render(d,m,s),this.map[&quot;x:SizeWithCells&quot;].render(d,m,s),this.map[&quot;x:Anchor&quot;].render(d,f),this.map[&quot;x:Locked&quot;].render(d,h.locked),d.leafNode(&quot;x:AutoFill&quot;,null,&quot;False&quot;),this.map[&quot;x:LockText&quot;].render(d,h.lockText),d.leafNode(&quot;x:Row&quot;,null,f.refAddress.row-1),d.leafNode(&quot;x:Column&quot;,null,f.refAddress.col-1),d.closeNode()}parseOpen(d){return d.name===this.tag?(this.reset(),this.model={anchor:[],protection:{},editAs:&quot;&quot;}):(this.parser=this.map[d.name],this.parser&amp;&amp;this.parser.parseOpen(d)),!0}parseText(d){this.parser&amp;&amp;this.parser.parseText(d)}parseClose(d){return this.parser?(this.parser.parseClose(d)||(this.parser=void 0),!0):d===this.tag?(this.normalizeModel(),!1):!0}normalizeModel(){const d=Object.assign({},this.map[&quot;x:MoveWithCells&quot;].model,this.map[&quot;x:SizeWithCells&quot;].model),f=Object.keys(d).length;this.model.editAs=s[f],this.model.anchor=this.map[&quot;x:Anchor&quot;].text,this.model.protection.locked=this.map[&quot;x:Locked&quot;].text,this.model.protection.lockText=this.map[&quot;x:LockText&quot;].text}}},{&quot;../base-xform&quot;:32,&quot;./style/vml-position-xform&quot;:41,&quot;./style/vml-protection-xform&quot;:42,&quot;./vml-anchor-xform&quot;:43}],45:[function(t,n,o){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;./vml-shape-xform&quot;);class l extends a{constructor(){super(),this.map={&quot;v:shape&quot;:new u}}get tag(){return&quot;xml&quot;}render(d,f){d.openXml(i.StdDocAttributes),d.openNode(this.tag,l.DRAWING_ATTRIBUTES),d.openNode(&quot;o:shapelayout&quot;,{&quot;v:ext&quot;:&quot;edit&quot;}),d.leafNode(&quot;o:idmap&quot;,{&quot;v:ext&quot;:&quot;edit&quot;,data:1}),d.closeNode(),d.openNode(&quot;v:shapetype&quot;,{id:&quot;_x0000_t202&quot;,coordsize:&quot;21600,21600&quot;,&quot;o:spt&quot;:202,path:&quot;m,l,21600r21600,l21600,xe&quot;}),d.leafNode(&quot;v:stroke&quot;,{joinstyle:&quot;miter&quot;}),d.leafNode(&quot;v:path&quot;,{gradientshapeok:&quot;t&quot;,&quot;o:connecttype&quot;:&quot;rect&quot;}),d.closeNode(),f.comments.forEach((h,m)=&gt;{this.map[&quot;v:shape&quot;].render(d,h,m)}),d.closeNode()}parseOpen(d){return this.parser?(this.parser.parseOpen(d),!0):(d.name===this.tag?(this.reset(),this.model={comments:[]}):(this.parser=this.map[d.name],this.parser&amp;&amp;this.parser.parseOpen(d)),!0)}parseText(d){this.parser&amp;&amp;this.parser.parseText(d)}parseClose(d){return this.parser?(this.parser.parseClose(d)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0):d!==this.tag}reconcile(d,f){d.anchors.forEach(h=&gt;{h.br?this.map[&quot;xdr:twoCellAnchor&quot;].reconcile(h,f):this.map[&quot;xdr:oneCellAnchor&quot;].reconcile(h,f)})}}l.DRAWING_ATTRIBUTES={&quot;xmlns:v&quot;:&quot;urn:schemas-microsoft-com:vml&quot;,&quot;xmlns:o&quot;:&quot;urn:schemas-microsoft-com:office:office&quot;,&quot;xmlns:x&quot;:&quot;urn:schemas-microsoft-com:office:excel&quot;},n.exports=l},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./vml-shape-xform&quot;:46}],46:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;./vml-textbox-xform&quot;),u=t(&quot;./vml-client-data-xform&quot;);class l extends i{constructor(){super(),this.map={&quot;v:textbox&quot;:new a,&quot;x:ClientData&quot;:new u}}get tag(){return&quot;v:shape&quot;}render(d,f,h){d.openNode(&quot;v:shape&quot;,l.V_SHAPE_ATTRIBUTES(f,h)),d.leafNode(&quot;v:fill&quot;,{color2:&quot;infoBackground [80]&quot;}),d.leafNode(&quot;v:shadow&quot;,{color:&quot;none [81]&quot;,obscured:&quot;t&quot;}),d.leafNode(&quot;v:path&quot;,{&quot;o:connecttype&quot;:&quot;none&quot;}),this.map[&quot;v:textbox&quot;].render(d,f),this.map[&quot;x:ClientData&quot;].render(d,f),d.closeNode()}parseOpen(d){return this.parser?(this.parser.parseOpen(d),!0):(d.name===this.tag?(this.reset(),this.model={margins:{insetmode:d.attributes[&quot;o:insetmode&quot;]},anchor:&quot;&quot;,editAs:&quot;&quot;,protection:{}}):(this.parser=this.map[d.name],this.parser&amp;&amp;this.parser.parseOpen(d)),!0)}parseText(d){this.parser&amp;&amp;this.parser.parseText(d)}parseClose(d){return this.parser?(this.parser.parseClose(d)||(this.parser=void 0),!0):d===this.tag?(this.model.margins.inset=this.map[&quot;v:textbox&quot;].model&amp;&amp;this.map[&quot;v:textbox&quot;].model.inset,this.model.protection=this.map[&quot;x:ClientData&quot;].model&amp;&amp;this.map[&quot;x:ClientData&quot;].model.protection,this.model.anchor=this.map[&quot;x:ClientData&quot;].model&amp;&amp;this.map[&quot;x:ClientData&quot;].model.anchor,this.model.editAs=this.map[&quot;x:ClientData&quot;].model&amp;&amp;this.map[&quot;x:ClientData&quot;].model.editAs,!1):!0}}l.V_SHAPE_ATTRIBUTES=(s,d)=&gt;({id:&quot;_x0000_s&quot;+(1025+d),type:&quot;#_x0000_t202&quot;,style:&quot;position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden&quot;,fillcolor:&quot;infoBackground [80]&quot;,strokecolor:&quot;none [81]&quot;,&quot;o:insetmode&quot;:s.note.margins&amp;&amp;s.note.margins.insetmode}),n.exports=l},{&quot;../base-xform&quot;:32,&quot;./vml-client-data-xform&quot;:44,&quot;./vml-textbox-xform&quot;:47}],47:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;v:textbox&quot;}conversionUnit(a,u,l){return`${parseFloat(a)*u.toFixed(2)}${l}`}reverseConversionUnit(a){return(a||&quot;&quot;).split(&quot;,&quot;).map(u=&gt;Number(parseFloat(this.conversionUnit(parseFloat(u),.1,&quot;&quot;)).toFixed(2)))}render(a,u){const l={style:&quot;mso-direction-alt:auto&quot;};if(u&amp;&amp;u.note){let{inset:s}=u.note&amp;&amp;u.note.margins;Array.isArray(s)&amp;&amp;(s=s.map(d=&gt;this.conversionUnit(d,10,&quot;mm&quot;)).join(&quot;,&quot;)),s&amp;&amp;(l.inset=s)}a.openNode(&quot;v:textbox&quot;,l),a.leafNode(&quot;div&quot;,{style:&quot;text-align:left&quot;}),a.closeNode()}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={inset:this.reverseConversionUnit(a.attributes.inset)}),!0}parseText(){}parseClose(a){return a!==this.tag}}},{&quot;../base-xform&quot;:32}],48:[function(t,n,o){const i=t(&quot;./base-xform&quot;);n.exports=class extends i{createNewModel(a){return{}}parseOpen(a){return this.parser=this.parser||this.map[a.name],this.parser?(this.parser.parseOpen(a),!0):a.name===this.tag&amp;&amp;(this.model=this.createNewModel(a),!0)}parseText(a){this.parser&amp;&amp;this.parser.parseText(a)}onParserClose(a,u){this.model[a]=u.model}parseClose(a){return this.parser?(this.parser.parseClose(a)||(this.onParserClose(a,this.parser),this.parser=void 0),!0):a!==this.tag}}},{&quot;./base-xform&quot;:32}],49:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(a,u){a.openNode(&quot;HeadingPairs&quot;),a.openNode(&quot;vt:vector&quot;,{size:2,baseType:&quot;variant&quot;}),a.openNode(&quot;vt:variant&quot;),a.leafNode(&quot;vt:lpstr&quot;,void 0,&quot;Worksheets&quot;),a.closeNode(),a.openNode(&quot;vt:variant&quot;),a.leafNode(&quot;vt:i4&quot;,void 0,u.length),a.closeNode(),a.closeNode(),a.closeNode()}parseOpen(a){return a.name===&quot;HeadingPairs&quot;}parseText(){}parseClose(a){return a!==&quot;HeadingPairs&quot;}}},{&quot;../base-xform&quot;:32}],50:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(a,u){a.openNode(&quot;TitlesOfParts&quot;),a.openNode(&quot;vt:vector&quot;,{size:u.length,baseType:&quot;lpstr&quot;}),u.forEach(l=&gt;{a.leafNode(&quot;vt:lpstr&quot;,void 0,l.name)}),a.closeNode(),a.closeNode()}parseOpen(a){return a.name===&quot;TitlesOfParts&quot;}parseText(){}parseClose(a){return a!==&quot;TitlesOfParts&quot;}}},{&quot;../base-xform&quot;:32}],51:[function(t,n,o){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../simple/string-xform&quot;),l=t(&quot;./app-heading-pairs-xform&quot;),s=t(&quot;./app-titles-of-parts-xform&quot;);class d extends a{constructor(){super(),this.map={Company:new u({tag:&quot;Company&quot;}),Manager:new u({tag:&quot;Manager&quot;}),HeadingPairs:new l,TitleOfParts:new s}}render(h,m){h.openXml(i.StdDocAttributes),h.openNode(&quot;Properties&quot;,d.PROPERTY_ATTRIBUTES),h.leafNode(&quot;Application&quot;,void 0,&quot;Microsoft Excel&quot;),h.leafNode(&quot;DocSecurity&quot;,void 0,&quot;0&quot;),h.leafNode(&quot;ScaleCrop&quot;,void 0,&quot;false&quot;),this.map.HeadingPairs.render(h,m.worksheets),this.map.TitleOfParts.render(h,m.worksheets),this.map.Company.render(h,m.company||&quot;&quot;),this.map.Manager.render(h,m.manager),h.leafNode(&quot;LinksUpToDate&quot;,void 0,&quot;false&quot;),h.leafNode(&quot;SharedDoc&quot;,void 0,&quot;false&quot;),h.leafNode(&quot;HyperlinksChanged&quot;,void 0,&quot;false&quot;),h.leafNode(&quot;AppVersion&quot;,void 0,&quot;16.0300&quot;),h.closeNode()}parseOpen(h){return this.parser?(this.parser.parseOpen(h),!0):h.name===&quot;Properties&quot;?!0:(this.parser=this.map[h.name],!!this.parser&amp;&amp;(this.parser.parseOpen(h),!0))}parseText(h){this.parser&amp;&amp;this.parser.parseText(h)}parseClose(h){return this.parser?(this.parser.parseClose(h)||(this.parser=void 0),!0):h===&quot;Properties&quot;?(this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1):!0}}d.DateFormat=function(f){return f.toISOString().replace(/[.]\d{3,6}/,&quot;&quot;)},d.DateAttrs={&quot;xsi:type&quot;:&quot;dcterms:W3CDTF&quot;},d.PROPERTY_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/officeDocument/2006/extended-properties&quot;,&quot;xmlns:vt&quot;:&quot;http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes&quot;},n.exports=d},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../simple/string-xform&quot;:119,&quot;./app-heading-pairs-xform&quot;:49,&quot;./app-titles-of-parts-xform&quot;:50}],52:[function(t,n,o){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;);class u extends a{render(s,d){s.openXml(i.StdDocAttributes),s.openNode(&quot;Types&quot;,u.PROPERTY_ATTRIBUTES);const f={};(d.media||[]).forEach(h=&gt;{if(h.type===&quot;image&quot;){const m=h.extension;f[m]||(f[m]=!0,s.leafNode(&quot;Default&quot;,{Extension:m,ContentType:&quot;image/&quot;+m}))}}),s.leafNode(&quot;Default&quot;,{Extension:&quot;rels&quot;,ContentType:&quot;application/vnd.openxmlformats-package.relationships+xml&quot;}),s.leafNode(&quot;Default&quot;,{Extension:&quot;xml&quot;,ContentType:&quot;application/xml&quot;}),s.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/workbook.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml&quot;}),d.worksheets.forEach(h=&gt;{const m=`/xl/worksheets/sheet${h.id}.xml`;s.leafNode(&quot;Override&quot;,{PartName:m,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml&quot;})}),s.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/theme/theme1.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.theme+xml&quot;}),s.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/styles.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml&quot;}),d.sharedStrings&amp;&amp;d.sharedStrings.count&amp;&amp;s.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/sharedStrings.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml&quot;}),d.tables&amp;&amp;d.tables.forEach(h=&gt;{s.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/tables/&quot;+h.target,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml&quot;})}),d.drawings&amp;&amp;d.drawings.forEach(h=&gt;{s.leafNode(&quot;Override&quot;,{PartName:`/xl/drawings/${h.name}.xml`,ContentType:&quot;application/vnd.openxmlformats-officedocument.drawing+xml&quot;})}),d.commentRefs&amp;&amp;(s.leafNode(&quot;Default&quot;,{Extension:&quot;vml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.vmlDrawing&quot;}),d.commentRefs.forEach(h=&gt;{let{commentName:m}=h;s.leafNode(&quot;Override&quot;,{PartName:`/xl/${m}.xml`,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml&quot;})})),s.leafNode(&quot;Override&quot;,{PartName:&quot;/docProps/core.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-package.core-properties+xml&quot;}),s.leafNode(&quot;Override&quot;,{PartName:&quot;/docProps/app.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.extended-properties+xml&quot;}),s.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}u.PROPERTY_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/package/2006/content-types&quot;},n.exports=u},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32}],53:[function(t,n,o){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../simple/date-xform&quot;),l=t(&quot;../simple/string-xform&quot;),s=t(&quot;../simple/integer-xform&quot;);class d extends a{constructor(){super(),this.map={&quot;dc:creator&quot;:new l({tag:&quot;dc:creator&quot;}),&quot;dc:title&quot;:new l({tag:&quot;dc:title&quot;}),&quot;dc:subject&quot;:new l({tag:&quot;dc:subject&quot;}),&quot;dc:description&quot;:new l({tag:&quot;dc:description&quot;}),&quot;dc:identifier&quot;:new l({tag:&quot;dc:identifier&quot;}),&quot;dc:language&quot;:new l({tag:&quot;dc:language&quot;}),&quot;cp:keywords&quot;:new l({tag:&quot;cp:keywords&quot;}),&quot;cp:category&quot;:new l({tag:&quot;cp:category&quot;}),&quot;cp:lastModifiedBy&quot;:new l({tag:&quot;cp:lastModifiedBy&quot;}),&quot;cp:lastPrinted&quot;:new u({tag:&quot;cp:lastPrinted&quot;,format:d.DateFormat}),&quot;cp:revision&quot;:new s({tag:&quot;cp:revision&quot;}),&quot;cp:version&quot;:new l({tag:&quot;cp:version&quot;}),&quot;cp:contentStatus&quot;:new l({tag:&quot;cp:contentStatus&quot;}),&quot;cp:contentType&quot;:new l({tag:&quot;cp:contentType&quot;}),&quot;dcterms:created&quot;:new u({tag:&quot;dcterms:created&quot;,attrs:d.DateAttrs,format:d.DateFormat}),&quot;dcterms:modified&quot;:new u({tag:&quot;dcterms:modified&quot;,attrs:d.DateAttrs,format:d.DateFormat})}}render(h,m){h.openXml(i.StdDocAttributes),h.openNode(&quot;cp:coreProperties&quot;,d.CORE_PROPERTY_ATTRIBUTES),this.map[&quot;dc:creator&quot;].render(h,m.creator),this.map[&quot;dc:title&quot;].render(h,m.title),this.map[&quot;dc:subject&quot;].render(h,m.subject),this.map[&quot;dc:description&quot;].render(h,m.description),this.map[&quot;dc:identifier&quot;].render(h,m.identifier),this.map[&quot;dc:language&quot;].render(h,m.language),this.map[&quot;cp:keywords&quot;].render(h,m.keywords),this.map[&quot;cp:category&quot;].render(h,m.category),this.map[&quot;cp:lastModifiedBy&quot;].render(h,m.lastModifiedBy),this.map[&quot;cp:lastPrinted&quot;].render(h,m.lastPrinted),this.map[&quot;cp:revision&quot;].render(h,m.revision),this.map[&quot;cp:version&quot;].render(h,m.version),this.map[&quot;cp:contentStatus&quot;].render(h,m.contentStatus),this.map[&quot;cp:contentType&quot;].render(h,m.contentType),this.map[&quot;dcterms:created&quot;].render(h,m.created),this.map[&quot;dcterms:modified&quot;].render(h,m.modified),h.closeNode()}parseOpen(h){if(this.parser)return this.parser.parseOpen(h),!0;switch(h.name){case&quot;cp:coreProperties&quot;:case&quot;coreProperties&quot;:return!0;default:if(this.parser=this.map[h.name],this.parser)return this.parser.parseOpen(h),!0;throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(h))}}parseText(h){this.parser&amp;&amp;this.parser.parseText(h)}parseClose(h){if(this.parser)return this.parser.parseClose(h)||(this.parser=void 0),!0;switch(h){case&quot;cp:coreProperties&quot;:case&quot;coreProperties&quot;:return this.model={creator:this.map[&quot;dc:creator&quot;].model,title:this.map[&quot;dc:title&quot;].model,subject:this.map[&quot;dc:subject&quot;].model,description:this.map[&quot;dc:description&quot;].model,identifier:this.map[&quot;dc:identifier&quot;].model,language:this.map[&quot;dc:language&quot;].model,keywords:this.map[&quot;cp:keywords&quot;].model,category:this.map[&quot;cp:category&quot;].model,lastModifiedBy:this.map[&quot;cp:lastModifiedBy&quot;].model,lastPrinted:this.map[&quot;cp:lastPrinted&quot;].model,revision:this.map[&quot;cp:revision&quot;].model,contentStatus:this.map[&quot;cp:contentStatus&quot;].model,contentType:this.map[&quot;cp:contentType&quot;].model,created:this.map[&quot;dcterms:created&quot;].model,modified:this.map[&quot;dcterms:modified&quot;].model},!1;default:throw new Error(&quot;Unexpected xml node in parseClose: &quot;+h)}}}d.DateFormat=function(f){return f.toISOString().replace(/[.]\d{3}/,&quot;&quot;)},d.DateAttrs={&quot;xsi:type&quot;:&quot;dcterms:W3CDTF&quot;},d.CORE_PROPERTY_ATTRIBUTES={&quot;xmlns:cp&quot;:&quot;http://schemas.openxmlformats.org/package/2006/metadata/core-properties&quot;,&quot;xmlns:dc&quot;:&quot;http://purl.org/dc/elements/1.1/&quot;,&quot;xmlns:dcterms&quot;:&quot;http://purl.org/dc/terms/&quot;,&quot;xmlns:dcmitype&quot;:&quot;http://purl.org/dc/dcmitype/&quot;,&quot;xmlns:xsi&quot;:&quot;http://www.w3.org/2001/XMLSchema-instance&quot;},n.exports=d},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../simple/date-xform&quot;:117,&quot;../simple/integer-xform&quot;:118,&quot;../simple/string-xform&quot;:119}],54:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(a,u){a.leafNode(&quot;Relationship&quot;,u)}parseOpen(a){return a.name===&quot;Relationship&quot;?(this.model=a.attributes,!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],55:[function(t,n,o){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;./relationship-xform&quot;);class l extends a{constructor(){super(),this.map={Relationship:new u}}render(d,f){f=f||this._values,d.openXml(i.StdDocAttributes),d.openNode(&quot;Relationships&quot;,l.RELATIONSHIPS_ATTRIBUTES),f.forEach(h=&gt;{this.map.Relationship.render(d,h)}),d.closeNode()}parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;switch(d.name){case&quot;Relationships&quot;:return this.model=[],!0;default:if(this.parser=this.map[d.name],this.parser)return this.parser.parseOpen(d),!0;throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(d))}}parseText(d){this.parser&amp;&amp;this.parser.parseText(d)}parseClose(d){if(this.parser)return this.parser.parseClose(d)||(this.model.push(this.parser.model),this.parser=void 0),!0;if(d===&quot;Relationships&quot;)return!1;throw new Error(&quot;Unexpected xml node in parseClose: &quot;+d)}}l.RELATIONSHIPS_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot;},n.exports=l},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./relationship-xform&quot;:54}],56:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{parseOpen(a){return this.parser?(this.parser.parseOpen(a),!0):(a.name===this.tag?(this.reset(),this.model={range:{editAs:a.attributes.editAs||&quot;oneCell&quot;}}):(this.parser=this.map[a.name],this.parser&amp;&amp;this.parser.parseOpen(a)),!0)}parseText(a){this.parser&amp;&amp;this.parser.parseText(a)}reconcilePicture(a,u){if(a&amp;&amp;a.rId){const l=u.rels[a.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(l){const s=l[1],d=u.mediaIndex[s];return u.media[d]}}}}},{&quot;../base-xform&quot;:32}],57:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;./blip-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;a:blip&quot;:new a}}get tag(){return&quot;xdr:blipFill&quot;}render(u,l){u.openNode(this.tag),this.map[&quot;a:blip&quot;].render(u,l),u.openNode(&quot;a:stretch&quot;),u.leafNode(&quot;a:fillRect&quot;),u.closeNode(),u.closeNode()}parseOpen(u){return this.parser?(this.parser.parseOpen(u),!0):(u.name===this.tag?this.reset():(this.parser=this.map[u.name],this.parser&amp;&amp;this.parser.parseOpen(u)),!0)}parseText(){}parseClose(u){return this.parser?(this.parser.parseClose(u)||(this.parser=void 0),!0):u===this.tag?(this.model=this.map[&quot;a:blip&quot;].model,!1):!0}}},{&quot;../base-xform&quot;:32,&quot;./blip-xform&quot;:58}],58:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;a:blip&quot;}render(a,u){a.leafNode(this.tag,{&quot;xmlns:r&quot;:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships&quot;,&quot;r:embed&quot;:u.rId,cstate:&quot;print&quot;})}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={rId:a.attributes[&quot;r:embed&quot;]}),!0}parseText(){}parseClose(a){return a!==this.tag}}},{&quot;../base-xform&quot;:32}],59:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;xdr:cNvPicPr&quot;}render(a){a.openNode(this.tag),a.leafNode(&quot;a:picLocks&quot;,{noChangeAspect:&quot;1&quot;}),a.closeNode()}parseOpen(a){switch(a.name){case this.tag:default:return!0}}parseText(){}parseClose(a){return a!==this.tag}}},{&quot;../base-xform&quot;:32}],60:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;./hlink-click-xform&quot;),u=t(&quot;./ext-lst-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;a:hlinkClick&quot;:new a,&quot;a:extLst&quot;:new u}}get tag(){return&quot;xdr:cNvPr&quot;}render(l,s){l.openNode(this.tag,{id:s.index,name:&quot;Picture &quot;+s.index}),this.map[&quot;a:hlinkClick&quot;].render(l,s),this.map[&quot;a:extLst&quot;].render(l,s),l.closeNode()}parseOpen(l){return this.parser?(this.parser.parseOpen(l),!0):(l.name===this.tag?this.reset():(this.parser=this.map[l.name],this.parser&amp;&amp;this.parser.parseOpen(l)),!0)}parseText(){}parseClose(l){return this.parser?(this.parser.parseClose(l)||(this.parser=void 0),!0):l===this.tag?(this.model=this.map[&quot;a:hlinkClick&quot;].model,!1):!0}}},{&quot;../base-xform&quot;:32,&quot;./ext-lst-xform&quot;:63,&quot;./hlink-click-xform&quot;:65}],61:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;../simple/integer-xform&quot;);n.exports=class extends i{constructor(u){super(),this.tag=u.tag,this.map={&quot;xdr:col&quot;:new a({tag:&quot;xdr:col&quot;,zero:!0}),&quot;xdr:colOff&quot;:new a({tag:&quot;xdr:colOff&quot;,zero:!0}),&quot;xdr:row&quot;:new a({tag:&quot;xdr:row&quot;,zero:!0}),&quot;xdr:rowOff&quot;:new a({tag:&quot;xdr:rowOff&quot;,zero:!0})}}render(u,l){u.openNode(this.tag),this.map[&quot;xdr:col&quot;].render(u,l.nativeCol),this.map[&quot;xdr:colOff&quot;].render(u,l.nativeColOff),this.map[&quot;xdr:row&quot;].render(u,l.nativeRow),this.map[&quot;xdr:rowOff&quot;].render(u,l.nativeRowOff),u.closeNode()}parseOpen(u){return this.parser?(this.parser.parseOpen(u),!0):(u.name===this.tag?this.reset():(this.parser=this.map[u.name],this.parser&amp;&amp;this.parser.parseOpen(u)),!0)}parseText(u){this.parser&amp;&amp;this.parser.parseText(u)}parseClose(u){return this.parser?(this.parser.parseClose(u)||(this.parser=void 0),!0):u===this.tag?(this.model={nativeCol:this.map[&quot;xdr:col&quot;].model,nativeColOff:this.map[&quot;xdr:colOff&quot;].model,nativeRow:this.map[&quot;xdr:row&quot;].model,nativeRowOff:this.map[&quot;xdr:rowOff&quot;].model},!1):!0}}},{&quot;../base-xform&quot;:32,&quot;../simple/integer-xform&quot;:118}],62:[function(t,n,o){const i=t(&quot;../../../utils/col-cache&quot;),a=t(&quot;../../../utils/xml-stream&quot;),u=t(&quot;../base-xform&quot;),l=t(&quot;./two-cell-anchor-xform&quot;),s=t(&quot;./one-cell-anchor-xform&quot;);class d extends u{constructor(){super(),this.map={&quot;xdr:twoCellAnchor&quot;:new l,&quot;xdr:oneCellAnchor&quot;:new s}}prepare(h){h.anchors.forEach((m,p)=&gt;{m.anchorType=(function(b){return(typeof b.range==&quot;string&quot;?i.decode(b.range):b.range).br?&quot;xdr:twoCellAnchor&quot;:&quot;xdr:oneCellAnchor&quot;})(m),this.map[m.anchorType].prepare(m,{index:p})})}get tag(){return&quot;xdr:wsDr&quot;}render(h,m){h.openXml(a.StdDocAttributes),h.openNode(this.tag,d.DRAWING_ATTRIBUTES),m.anchors.forEach(p=&gt;{this.map[p.anchorType].render(h,p)}),h.closeNode()}parseOpen(h){return this.parser?(this.parser.parseOpen(h),!0):(h.name===this.tag?(this.reset(),this.model={anchors:[]}):(this.parser=this.map[h.name],this.parser&amp;&amp;this.parser.parseOpen(h)),!0)}parseText(h){this.parser&amp;&amp;this.parser.parseText(h)}parseClose(h){return this.parser?(this.parser.parseClose(h)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0):h!==this.tag}reconcile(h,m){h.anchors.forEach(p=&gt;{p.br?this.map[&quot;xdr:twoCellAnchor&quot;].reconcile(p,m):this.map[&quot;xdr:oneCellAnchor&quot;].reconcile(p,m)})}}d.DRAWING_ATTRIBUTES={&quot;xmlns:xdr&quot;:&quot;http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing&quot;,&quot;xmlns:a&quot;:&quot;http://schemas.openxmlformats.org/drawingml/2006/main&quot;},n.exports=d},{&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./one-cell-anchor-xform&quot;:67,&quot;./two-cell-anchor-xform&quot;:70}],63:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;a:extLst&quot;}render(a){a.openNode(this.tag),a.openNode(&quot;a:ext&quot;,{uri:&quot;{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}&quot;}),a.leafNode(&quot;a16:creationId&quot;,{&quot;xmlns:a16&quot;:&quot;http://schemas.microsoft.com/office/drawing/2014/main&quot;,id:&quot;{00000000-0008-0000-0000-000002000000}&quot;}),a.closeNode(),a.closeNode()}parseOpen(a){switch(a.name){case this.tag:default:return!0}}parseText(){}parseClose(a){return a!==this.tag}}},{&quot;../base-xform&quot;:32}],64:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this.tag=a.tag,this.map={}}render(a,u){a.openNode(this.tag);const l=Math.floor(9525*u.width),s=Math.floor(9525*u.height);a.addAttribute(&quot;cx&quot;,l),a.addAttribute(&quot;cy&quot;,s),a.closeNode()}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={width:parseInt(a.attributes.cx||&quot;0&quot;,10)/9525,height:parseInt(a.attributes.cy||&quot;0&quot;,10)/9525},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],65:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;a:hlinkClick&quot;}render(a,u){u.hyperlinks&amp;&amp;u.hyperlinks.rId&amp;&amp;a.leafNode(this.tag,{&quot;xmlns:r&quot;:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships&quot;,&quot;r:id&quot;:u.hyperlinks.rId,tooltip:u.hyperlinks.tooltip})}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={hyperlinks:{rId:a.attributes[&quot;r:id&quot;],tooltip:a.attributes.tooltip}}),!0}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],66:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;./c-nv-pr-xform&quot;),u=t(&quot;./c-nv-pic-pr-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;xdr:cNvPr&quot;:new a,&quot;xdr:cNvPicPr&quot;:new u}}get tag(){return&quot;xdr:nvPicPr&quot;}render(l,s){l.openNode(this.tag),this.map[&quot;xdr:cNvPr&quot;].render(l,s),this.map[&quot;xdr:cNvPicPr&quot;].render(l,s),l.closeNode()}parseOpen(l){return this.parser?(this.parser.parseOpen(l),!0):(l.name===this.tag?this.reset():(this.parser=this.map[l.name],this.parser&amp;&amp;this.parser.parseOpen(l)),!0)}parseText(){}parseClose(l){return this.parser?(this.parser.parseClose(l)||(this.parser=void 0),!0):l===this.tag?(this.model=this.map[&quot;xdr:cNvPr&quot;].model,!1):!0}}},{&quot;../base-xform&quot;:32,&quot;./c-nv-pic-pr-xform&quot;:59,&quot;./c-nv-pr-xform&quot;:60}],67:[function(t,n,o){const i=t(&quot;./base-cell-anchor-xform&quot;),a=t(&quot;../static-xform&quot;),u=t(&quot;./cell-position-xform&quot;),l=t(&quot;./ext-xform&quot;),s=t(&quot;./pic-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;xdr:from&quot;:new u({tag:&quot;xdr:from&quot;}),&quot;xdr:ext&quot;:new l({tag:&quot;xdr:ext&quot;}),&quot;xdr:pic&quot;:new s,&quot;xdr:clientData&quot;:new a({tag:&quot;xdr:clientData&quot;})}}get tag(){return&quot;xdr:oneCellAnchor&quot;}prepare(d,f){this.map[&quot;xdr:pic&quot;].prepare(d.picture,f)}render(d,f){d.openNode(this.tag,{editAs:f.range.editAs||&quot;oneCell&quot;}),this.map[&quot;xdr:from&quot;].render(d,f.range.tl),this.map[&quot;xdr:ext&quot;].render(d,f.range.ext),this.map[&quot;xdr:pic&quot;].render(d,f.picture),this.map[&quot;xdr:clientData&quot;].render(d,{}),d.closeNode()}parseClose(d){return this.parser?(this.parser.parseClose(d)||(this.parser=void 0),!0):d===this.tag?(this.model.range.tl=this.map[&quot;xdr:from&quot;].model,this.model.range.ext=this.map[&quot;xdr:ext&quot;].model,this.model.picture=this.map[&quot;xdr:pic&quot;].model,!1):!0}reconcile(d,f){d.medium=this.reconcilePicture(d.picture,f)}}},{&quot;../static-xform&quot;:120,&quot;./base-cell-anchor-xform&quot;:56,&quot;./cell-position-xform&quot;:61,&quot;./ext-xform&quot;:64,&quot;./pic-xform&quot;:68}],68:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;../static-xform&quot;),u=t(&quot;./blip-fill-xform&quot;),l=t(&quot;./nv-pic-pr-xform&quot;),s=t(&quot;./sp-pr&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;xdr:nvPicPr&quot;:new l,&quot;xdr:blipFill&quot;:new u,&quot;xdr:spPr&quot;:new a(s)}}get tag(){return&quot;xdr:pic&quot;}prepare(d,f){d.index=f.index+1}render(d,f){d.openNode(this.tag),this.map[&quot;xdr:nvPicPr&quot;].render(d,f),this.map[&quot;xdr:blipFill&quot;].render(d,f),this.map[&quot;xdr:spPr&quot;].render(d,f),d.closeNode()}parseOpen(d){return this.parser?(this.parser.parseOpen(d),!0):(d.name===this.tag?this.reset():(this.parser=this.map[d.name],this.parser&amp;&amp;this.parser.parseOpen(d)),!0)}parseText(){}parseClose(d){return this.parser?(this.parser.parseClose(d)||(this.mergeModel(this.parser.model),this.parser=void 0),!0):d!==this.tag}}},{&quot;../base-xform&quot;:32,&quot;../static-xform&quot;:120,&quot;./blip-fill-xform&quot;:57,&quot;./nv-pic-pr-xform&quot;:66,&quot;./sp-pr&quot;:69}],69:[function(t,n,o){n.exports={tag:&quot;xdr:spPr&quot;,c:[{tag:&quot;a:xfrm&quot;,c:[{tag:&quot;a:off&quot;,$:{x:&quot;0&quot;,y:&quot;0&quot;}},{tag:&quot;a:ext&quot;,$:{cx:&quot;0&quot;,cy:&quot;0&quot;}}]},{tag:&quot;a:prstGeom&quot;,$:{prst:&quot;rect&quot;},c:[{tag:&quot;a:avLst&quot;}]}]}},{}],70:[function(t,n,o){const i=t(&quot;./base-cell-anchor-xform&quot;),a=t(&quot;../static-xform&quot;),u=t(&quot;./cell-position-xform&quot;),l=t(&quot;./pic-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;xdr:from&quot;:new u({tag:&quot;xdr:from&quot;}),&quot;xdr:to&quot;:new u({tag:&quot;xdr:to&quot;}),&quot;xdr:pic&quot;:new l,&quot;xdr:clientData&quot;:new a({tag:&quot;xdr:clientData&quot;})}}get tag(){return&quot;xdr:twoCellAnchor&quot;}prepare(s,d){this.map[&quot;xdr:pic&quot;].prepare(s.picture,d)}render(s,d){s.openNode(this.tag,{editAs:d.range.editAs||&quot;oneCell&quot;}),this.map[&quot;xdr:from&quot;].render(s,d.range.tl),this.map[&quot;xdr:to&quot;].render(s,d.range.br),this.map[&quot;xdr:pic&quot;].render(s,d.picture),this.map[&quot;xdr:clientData&quot;].render(s,{}),s.closeNode()}parseClose(s){return this.parser?(this.parser.parseClose(s)||(this.parser=void 0),!0):s===this.tag?(this.model.range.tl=this.map[&quot;xdr:from&quot;].model,this.model.range.br=this.map[&quot;xdr:to&quot;].model,this.model.picture=this.map[&quot;xdr:pic&quot;].model,!1):!0}reconcile(s,d){s.medium=this.reconcilePicture(s.picture,d)}}},{&quot;../static-xform&quot;:120,&quot;./base-cell-anchor-xform&quot;:56,&quot;./cell-position-xform&quot;:61,&quot;./pic-xform&quot;:68}],71:[function(t,n,o){const i=t(&quot;./base-xform&quot;);n.exports=class extends i{constructor(a){super(),this.tag=a.tag,this.always=!!a.always,this.count=a.count,this.empty=a.empty,this.$count=a.$count||&quot;count&quot;,this.$=a.$,this.childXform=a.childXform,this.maxItems=a.maxItems}prepare(a,u){const{childXform:l}=this;a&amp;&amp;a.forEach((s,d)=&gt;{u.index=d,l.prepare(s,u)})}render(a,u){if(this.always||u&amp;&amp;u.length){a.openNode(this.tag,this.$),this.count&amp;&amp;a.addAttribute(this.$count,u&amp;&amp;u.length||0);const{childXform:l}=this;(u||[]).forEach((s,d)=&gt;{l.render(a,s,d)}),a.closeNode()}else this.empty&amp;&amp;a.leafNode(this.tag)}parseOpen(a){return this.parser?(this.parser.parseOpen(a),!0):a.name===this.tag?(this.model=[],!0):!!this.childXform.parseOpen(a)&amp;&amp;(this.parser=this.childXform,!0)}parseText(a){this.parser&amp;&amp;this.parser.parseText(a)}parseClose(a){if(this.parser){if(!this.parser.parseClose(a)&amp;&amp;(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&amp;&amp;this.model.length&gt;this.maxItems))throw new Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`);return!0}return!1}reconcile(a,u){if(a){const{childXform:l}=this;a.forEach(s=&gt;{l.reconcile(s,u)})}}}},{&quot;./base-xform&quot;:32}],72:[function(t,n,o){const i=t(&quot;../../../utils/col-cache&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{get tag(){return&quot;autoFilter&quot;}render(u,l){if(l)if(typeof l==&quot;string&quot;)u.leafNode(&quot;autoFilter&quot;,{ref:l});else{const s=function(h){return typeof h==&quot;string&quot;?h:i.getAddress(h.row,h.column).address},d=s(l.from),f=s(l.to);d&amp;&amp;f&amp;&amp;u.leafNode(&quot;autoFilter&quot;,{ref:`${d}:${f}`})}}parseOpen(u){u.name===&quot;autoFilter&quot;&amp;&amp;(this.model=u.attributes.ref)}}},{&quot;../../../utils/col-cache&quot;:19,&quot;../base-xform&quot;:32}],73:[function(t,n,o){const i=t(&quot;../../../utils/utils&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../../../doc/range&quot;),l=t(&quot;../../../doc/enums&quot;),s=t(&quot;../strings/rich-text-xform&quot;);function d(f){if(f==null)return l.ValueType.Null;if(f instanceof String||typeof f==&quot;string&quot;)return l.ValueType.String;if(typeof f==&quot;number&quot;)return l.ValueType.Number;if(typeof f==&quot;boolean&quot;)return l.ValueType.Boolean;if(f instanceof Date)return l.ValueType.Date;if(f.text&amp;&amp;f.hyperlink)return l.ValueType.Hyperlink;if(f.formula)return l.ValueType.Formula;if(f.error)return l.ValueType.Error;throw new Error(&quot;I could not understand type of value&quot;)}n.exports=class extends a{constructor(){super(),this.richTextXForm=new s}get tag(){return&quot;c&quot;}prepare(f,h){const m=h.styles.addStyleModel(f.style||{},(function(p){return p.type===l.ValueType.Formula?d(p.result):p.type})(f));switch(m&amp;&amp;(f.styleId=m),f.comment&amp;&amp;h.comments.push({...f.comment,ref:f.address}),f.type){case l.ValueType.String:case l.ValueType.RichText:h.sharedStrings&amp;&amp;(f.ssId=h.sharedStrings.add(f.value));break;case l.ValueType.Date:h.date1904&amp;&amp;(f.date1904=!0);break;case l.ValueType.Hyperlink:h.sharedStrings&amp;&amp;f.text!==void 0&amp;&amp;f.text!==null&amp;&amp;(f.ssId=h.sharedStrings.add(f.text)),h.hyperlinks.push({address:f.address,target:f.hyperlink,tooltip:f.tooltip});break;case l.ValueType.Merge:h.merges.add(f);break;case l.ValueType.Formula:if(h.date1904&amp;&amp;(f.date1904=!0),f.shareType===&quot;shared&quot;&amp;&amp;(f.si=h.siFormulae++),f.formula)h.formulae[f.address]=f;else if(f.sharedFormula){const p=h.formulae[f.sharedFormula];if(!p)throw new Error(&quot;Shared Formula master must exist above and or left of clone for cell &quot;+f.address);p.si===void 0?(p.shareType=&quot;shared&quot;,p.si=h.siFormulae++,p.range=new u(p.address,f.address)):p.range&amp;&amp;p.range.expandToAddress(f.address),f.si=p.si}}}renderFormula(f,h){let m=null;switch(h.shareType){case&quot;shared&quot;:m={t:&quot;shared&quot;,ref:h.ref||h.range.range,si:h.si};break;case&quot;array&quot;:m={t:&quot;array&quot;,ref:h.ref};break;default:h.si!==void 0&amp;&amp;(m={t:&quot;shared&quot;,si:h.si})}switch(d(h.result)){case l.ValueType.Null:f.leafNode(&quot;f&quot;,m,h.formula);break;case l.ValueType.String:f.addAttribute(&quot;t&quot;,&quot;str&quot;),f.leafNode(&quot;f&quot;,m,h.formula),f.leafNode(&quot;v&quot;,null,h.result);break;case l.ValueType.Number:f.leafNode(&quot;f&quot;,m,h.formula),f.leafNode(&quot;v&quot;,null,h.result);break;case l.ValueType.Boolean:f.addAttribute(&quot;t&quot;,&quot;b&quot;),f.leafNode(&quot;f&quot;,m,h.formula),f.leafNode(&quot;v&quot;,null,h.result?1:0);break;case l.ValueType.Error:f.addAttribute(&quot;t&quot;,&quot;e&quot;),f.leafNode(&quot;f&quot;,m,h.formula),f.leafNode(&quot;v&quot;,null,h.result.error);break;case l.ValueType.Date:f.leafNode(&quot;f&quot;,m,h.formula),f.leafNode(&quot;v&quot;,null,i.dateToExcel(h.result,h.date1904));break;default:throw new Error(&quot;I could not understand type of value&quot;)}}render(f,h){if(h.type!==l.ValueType.Null||h.styleId){switch(f.openNode(&quot;c&quot;),f.addAttribute(&quot;r&quot;,h.address),h.styleId&amp;&amp;f.addAttribute(&quot;s&quot;,h.styleId),h.type){case l.ValueType.Null:break;case l.ValueType.Number:f.leafNode(&quot;v&quot;,null,h.value);break;case l.ValueType.Boolean:f.addAttribute(&quot;t&quot;,&quot;b&quot;),f.leafNode(&quot;v&quot;,null,h.value?&quot;1&quot;:&quot;0&quot;);break;case l.ValueType.Error:f.addAttribute(&quot;t&quot;,&quot;e&quot;),f.leafNode(&quot;v&quot;,null,h.value.error);break;case l.ValueType.String:case l.ValueType.RichText:h.ssId!==void 0?(f.addAttribute(&quot;t&quot;,&quot;s&quot;),f.leafNode(&quot;v&quot;,null,h.ssId)):h.value&amp;&amp;h.value.richText?(f.addAttribute(&quot;t&quot;,&quot;inlineStr&quot;),f.openNode(&quot;is&quot;),h.value.richText.forEach(m=&gt;{this.richTextXForm.render(f,m)}),f.closeNode(&quot;is&quot;)):(f.addAttribute(&quot;t&quot;,&quot;str&quot;),f.leafNode(&quot;v&quot;,null,h.value));break;case l.ValueType.Date:f.leafNode(&quot;v&quot;,null,i.dateToExcel(h.value,h.date1904));break;case l.ValueType.Hyperlink:h.ssId!==void 0?(f.addAttribute(&quot;t&quot;,&quot;s&quot;),f.leafNode(&quot;v&quot;,null,h.ssId)):(f.addAttribute(&quot;t&quot;,&quot;str&quot;),f.leafNode(&quot;v&quot;,null,h.text));break;case l.ValueType.Formula:this.renderFormula(f,h);break;case l.ValueType.Merge:}f.closeNode()}}parseOpen(f){if(this.parser)return this.parser.parseOpen(f),!0;switch(f.name){case&quot;c&quot;:return this.model={address:f.attributes.r},this.t=f.attributes.t,f.attributes.s&amp;&amp;(this.model.styleId=parseInt(f.attributes.s,10)),!0;case&quot;f&quot;:return this.currentNode=&quot;f&quot;,this.model.si=f.attributes.si,this.model.shareType=f.attributes.t,this.model.ref=f.attributes.ref,!0;case&quot;v&quot;:return this.currentNode=&quot;v&quot;,!0;case&quot;t&quot;:return this.currentNode=&quot;t&quot;,!0;case&quot;r&quot;:return this.parser=this.richTextXForm,this.parser.parseOpen(f),!0;default:return!1}}parseText(f){if(this.parser)this.parser.parseText(f);else switch(this.currentNode){case&quot;f&quot;:this.model.formula=this.model.formula?this.model.formula+f:f;break;case&quot;v&quot;:case&quot;t&quot;:this.model.value&amp;&amp;this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+f:f:this.model.value=this.model.value?this.model.value+f:f}}parseClose(f){switch(f){case&quot;c&quot;:{const{model:h}=this;if(h.formula||h.shareType)h.type=l.ValueType.Formula,h.value&amp;&amp;(this.t===&quot;str&quot;?h.result=i.xmlDecode(h.value):this.t===&quot;b&quot;?h.result=parseInt(h.value,10)!==0:this.t===&quot;e&quot;?h.result={error:h.value}:h.result=parseFloat(h.value),h.value=void 0);else if(h.value!==void 0)switch(this.t){case&quot;s&quot;:h.type=l.ValueType.String,h.value=parseInt(h.value,10);break;case&quot;str&quot;:h.type=l.ValueType.String,h.value=i.xmlDecode(h.value);break;case&quot;inlineStr&quot;:h.type=l.ValueType.String;break;case&quot;b&quot;:h.type=l.ValueType.Boolean,h.value=parseInt(h.value,10)!==0;break;case&quot;e&quot;:h.type=l.ValueType.Error,h.value={error:h.value};break;default:h.type=l.ValueType.Number,h.value=parseFloat(h.value)}else h.styleId?h.type=l.ValueType.Null:h.type=l.ValueType.Merge;return!1}case&quot;f&quot;:case&quot;v&quot;:case&quot;is&quot;:return this.currentNode=void 0,!0;case&quot;t&quot;:return this.parser?(this.parser.parseClose(f),!0):(this.currentNode=void 0,!0);case&quot;r&quot;:return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return!!this.parser&amp;&amp;(this.parser.parseClose(f),!0)}}reconcile(f,h){const m=f.styleId&amp;&amp;h.styles&amp;&amp;h.styles.getStyleModel(f.styleId);switch(m&amp;&amp;(f.style=m),f.styleId!==void 0&amp;&amp;(f.styleId=void 0),f.type){case l.ValueType.String:typeof f.value==&quot;number&quot;&amp;&amp;h.sharedStrings&amp;&amp;(f.value=h.sharedStrings.getString(f.value)),f.value.richText&amp;&amp;(f.type=l.ValueType.RichText);break;case l.ValueType.Number:m&amp;&amp;i.isDateFmt(m.numFmt)&amp;&amp;(f.type=l.ValueType.Date,f.value=i.excelToDate(f.value,h.date1904));break;case l.ValueType.Formula:f.result!==void 0&amp;&amp;m&amp;&amp;i.isDateFmt(m.numFmt)&amp;&amp;(f.result=i.excelToDate(f.result,h.date1904)),f.shareType===&quot;shared&quot;&amp;&amp;(f.ref?h.formulae[f.si]=f.address:(f.sharedFormula=h.formulae[f.si],delete f.shareType),delete f.si)}const p=h.hyperlinkMap[f.address];p&amp;&amp;(f.type===l.ValueType.Formula?(f.text=f.result,f.result=void 0):(f.text=f.value,f.value=void 0),f.type=l.ValueType.Hyperlink,f.hyperlink=p);const b=h.commentsMap&amp;&amp;h.commentsMap[f.address];b&amp;&amp;(f.comment=b)}}},{&quot;../../../doc/enums&quot;:7,&quot;../../../doc/range&quot;:10,&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;../strings/rich-text-xform&quot;:122}],74:[function(t,n,o){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;x14:cfIcon&quot;}render(a,u){a.leafNode(this.tag,{iconSet:u.iconSet,iconId:u.iconId})}parseOpen(a){let{attributes:u}=a;this.model={iconSet:u.iconSet,iconId:i.toIntValue(u.iconId)}}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],75:[function(t,n,o){const{v4:i}=t(&quot;uuid&quot;),a=t(&quot;../../base-xform&quot;),u=t(&quot;../../composite-xform&quot;),l=t(&quot;./databar-ext-xform&quot;),s=t(&quot;./icon-set-ext-xform&quot;),d={&quot;3Triangles&quot;:!0,&quot;3Stars&quot;:!0,&quot;5Boxes&quot;:!0};class f extends u{constructor(){super(),this.map={&quot;x14:dataBar&quot;:this.databarXform=new l,&quot;x14:iconSet&quot;:this.iconSetXform=new s}}get tag(){return&quot;x14:cfRule&quot;}static isExt(m){return m.type===&quot;dataBar&quot;?l.isExt(m):!(m.type!==&quot;iconSet&quot;||!m.custom&amp;&amp;!d[m.iconSet])}prepare(m){f.isExt(m)&amp;&amp;(m.x14Id=`{${i()}}`.toUpperCase())}render(m,p){if(f.isExt(p))switch(p.type){case&quot;dataBar&quot;:this.renderDataBar(m,p);break;case&quot;iconSet&quot;:this.renderIconSet(m,p)}}renderDataBar(m,p){m.openNode(this.tag,{type:&quot;dataBar&quot;,id:p.x14Id}),this.databarXform.render(m,p),m.closeNode()}renderIconSet(m,p){m.openNode(this.tag,{type:&quot;iconSet&quot;,priority:p.priority,id:p.x14Id||`{${i()}}`}),this.iconSetXform.render(m,p),m.closeNode()}createNewModel(m){let{attributes:p}=m;return{type:p.type,x14Id:p.id,priority:a.toIntValue(p.priority)}}onParserClose(m,p){Object.assign(this.model,p.model)}}n.exports=f},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;./databar-ext-xform&quot;:79,&quot;./icon-set-ext-xform&quot;:81,uuid:528}],76:[function(t,n,o){const i=t(&quot;../../composite-xform&quot;),a=t(&quot;./f-ext-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;xm:f&quot;:this.fExtXform=new a}}get tag(){return&quot;x14:cfvo&quot;}render(u,l){u.openNode(this.tag,{type:l.type}),l.value!==void 0&amp;&amp;this.fExtXform.render(u,l.value),u.closeNode()}createNewModel(u){return{type:u.attributes.type}}onParserClose(u,l){u===&quot;xm:f&quot;&amp;&amp;(this.model.value=l.model?parseFloat(l.model):0)}}},{&quot;../../composite-xform&quot;:48,&quot;./f-ext-xform&quot;:80}],77:[function(t,n,o){const i=t(&quot;../../composite-xform&quot;),a=t(&quot;./sqref-ext-xform&quot;),u=t(&quot;./cf-rule-ext-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;xm:sqref&quot;:this.sqRef=new a,&quot;x14:cfRule&quot;:this.cfRule=new u}}get tag(){return&quot;x14:conditionalFormatting&quot;}prepare(l,s){l.rules.forEach(d=&gt;{this.cfRule.prepare(d,s)})}render(l,s){s.rules.some(u.isExt)&amp;&amp;(l.openNode(this.tag,{&quot;xmlns:xm&quot;:&quot;http://schemas.microsoft.com/office/excel/2006/main&quot;}),s.rules.filter(u.isExt).forEach(d=&gt;this.cfRule.render(l,d)),this.sqRef.render(l,s.ref),l.closeNode())}createNewModel(){return{rules:[]}}onParserClose(l,s){switch(l){case&quot;xm:sqref&quot;:this.model.ref=s.model;break;case&quot;x14:cfRule&quot;:this.model.rules.push(s.model)}}}},{&quot;../../composite-xform&quot;:48,&quot;./cf-rule-ext-xform&quot;:75,&quot;./sqref-ext-xform&quot;:82}],78:[function(t,n,o){const i=t(&quot;../../composite-xform&quot;),a=t(&quot;./cf-rule-ext-xform&quot;),u=t(&quot;./conditional-formatting-ext-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;x14:conditionalFormatting&quot;:this.cfXform=new u}}get tag(){return&quot;x14:conditionalFormattings&quot;}hasContent(l){return l.hasExtContent===void 0&amp;&amp;(l.hasExtContent=l.some(s=&gt;s.rules.some(a.isExt))),l.hasExtContent}prepare(l,s){l.forEach(d=&gt;{this.cfXform.prepare(d,s)})}render(l,s){this.hasContent(s)&amp;&amp;(l.openNode(this.tag),s.forEach(d=&gt;this.cfXform.render(l,d)),l.closeNode())}createNewModel(){return[]}onParserClose(l,s){this.model.push(s.model)}}},{&quot;../../composite-xform&quot;:48,&quot;./cf-rule-ext-xform&quot;:75,&quot;./conditional-formatting-ext-xform&quot;:77}],79:[function(t,n,o){const i=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;../../style/color-xform&quot;),l=t(&quot;./cfvo-ext-xform&quot;);n.exports=class extends a{constructor(){super(),this.map={&quot;x14:cfvo&quot;:this.cfvoXform=new l,&quot;x14:borderColor&quot;:this.borderColorXform=new u(&quot;x14:borderColor&quot;),&quot;x14:negativeBorderColor&quot;:this.negativeBorderColorXform=new u(&quot;x14:negativeBorderColor&quot;),&quot;x14:negativeFillColor&quot;:this.negativeFillColorXform=new u(&quot;x14:negativeFillColor&quot;),&quot;x14:axisColor&quot;:this.axisColorXform=new u(&quot;x14:axisColor&quot;)}}static isExt(s){return!s.gradient}get tag(){return&quot;x14:dataBar&quot;}render(s,d){s.openNode(this.tag,{minLength:i.toIntAttribute(d.minLength,0,!0),maxLength:i.toIntAttribute(d.maxLength,100,!0),border:i.toBoolAttribute(d.border,!1),gradient:i.toBoolAttribute(d.gradient,!0),negativeBarColorSameAsPositive:i.toBoolAttribute(d.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:i.toBoolAttribute(d.negativeBarBorderColorSameAsPositive,!0),axisPosition:i.toAttribute(d.axisPosition,&quot;auto&quot;),direction:i.toAttribute(d.direction,&quot;leftToRight&quot;)}),d.cfvo.forEach(f=&gt;{this.cfvoXform.render(s,f)}),this.borderColorXform.render(s,d.borderColor),this.negativeBorderColorXform.render(s,d.negativeBorderColor),this.negativeFillColorXform.render(s,d.negativeFillColor),this.axisColorXform.render(s,d.axisColor),s.closeNode()}createNewModel(s){let{attributes:d}=s;return{cfvo:[],minLength:i.toIntValue(d.minLength,0),maxLength:i.toIntValue(d.maxLength,100),border:i.toBoolValue(d.border,!1),gradient:i.toBoolValue(d.gradient,!0),negativeBarColorSameAsPositive:i.toBoolValue(d.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:i.toBoolValue(d.negativeBarBorderColorSameAsPositive,!0),axisPosition:i.toStringValue(d.axisPosition,&quot;auto&quot;),direction:i.toStringValue(d.direction,&quot;leftToRight&quot;)}}onParserClose(s,d){const[,f]=s.split(&quot;:&quot;);f===&quot;cfvo&quot;?this.model.cfvo.push(d.model):this.model[f]=d.model}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;../../style/color-xform&quot;:128,&quot;./cfvo-ext-xform&quot;:76}],80:[function(t,n,o){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;xm:f&quot;}render(a,u){a.leafNode(this.tag,null,u)}parseOpen(){this.model=&quot;&quot;}parseText(a){this.model+=a}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],81:[function(t,n,o){const i=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;./cfvo-ext-xform&quot;),l=t(&quot;./cf-icon-ext-xform&quot;);n.exports=class extends a{constructor(){super(),this.map={&quot;x14:cfvo&quot;:this.cfvoXform=new u,&quot;x14:cfIcon&quot;:this.cfIconXform=new l}}get tag(){return&quot;x14:iconSet&quot;}render(s,d){s.openNode(this.tag,{iconSet:i.toStringAttribute(d.iconSet),reverse:i.toBoolAttribute(d.reverse,!1),showValue:i.toBoolAttribute(d.showValue,!0),custom:i.toBoolAttribute(d.icons,!1)}),d.cfvo.forEach(f=&gt;{this.cfvoXform.render(s,f)}),d.icons&amp;&amp;d.icons.forEach((f,h)=&gt;{f.iconId=h,this.cfIconXform.render(s,f)}),s.closeNode()}createNewModel(s){let{attributes:d}=s;return{cfvo:[],iconSet:i.toStringValue(d.iconSet,&quot;3TrafficLights&quot;),reverse:i.toBoolValue(d.reverse,!1),showValue:i.toBoolValue(d.showValue,!0)}}onParserClose(s,d){const[,f]=s.split(&quot;:&quot;);switch(f){case&quot;cfvo&quot;:this.model.cfvo.push(d.model);break;case&quot;cfIcon&quot;:this.model.icons||(this.model.icons=[]),this.model.icons.push(d.model);break;default:this.model[f]=d.model}}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;./cf-icon-ext-xform&quot;:74,&quot;./cfvo-ext-xform&quot;:76}],82:[function(t,n,o){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;xm:sqref&quot;}render(a,u){a.leafNode(this.tag,null,u)}parseOpen(){this.model=&quot;&quot;}parseText(a){this.model+=a}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],83:[function(t,n,o){const i=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;../../../../doc/range&quot;),l=t(&quot;./databar-xform&quot;),s=t(&quot;./ext-lst-ref-xform&quot;),d=t(&quot;./formula-xform&quot;),f=t(&quot;./color-scale-xform&quot;),h=t(&quot;./icon-set-xform&quot;),m={&quot;3Triangles&quot;:!0,&quot;3Stars&quot;:!0,&quot;5Boxes&quot;:!0},p=g=&gt;{const{type:y,operator:v}=g;switch(y){case&quot;containsText&quot;:case&quot;containsBlanks&quot;:case&quot;notContainsBlanks&quot;:case&quot;containsErrors&quot;:case&quot;notContainsErrors&quot;:return{type:&quot;containsText&quot;,operator:y};default:return{type:y,operator:v}}};class b extends a{constructor(){super(),this.map={dataBar:this.databarXform=new l,extLst:this.extLstRefXform=new s,formula:this.formulaXform=new d,colorScale:this.colorScaleXform=new f,iconSet:this.iconSetXform=new h}}get tag(){return&quot;cfRule&quot;}static isPrimitive(y){return y.type!==&quot;iconSet&quot;||!y.custom&amp;&amp;!m[y.iconSet]}render(y,v){switch(v.type){case&quot;expression&quot;:this.renderExpression(y,v);break;case&quot;cellIs&quot;:this.renderCellIs(y,v);break;case&quot;top10&quot;:this.renderTop10(y,v);break;case&quot;aboveAverage&quot;:this.renderAboveAverage(y,v);break;case&quot;dataBar&quot;:this.renderDataBar(y,v);break;case&quot;colorScale&quot;:this.renderColorScale(y,v);break;case&quot;iconSet&quot;:this.renderIconSet(y,v);break;case&quot;containsText&quot;:this.renderText(y,v);break;case&quot;timePeriod&quot;:this.renderTimePeriod(y,v)}}renderExpression(y,v){y.openNode(this.tag,{type:&quot;expression&quot;,dxfId:v.dxfId,priority:v.priority}),this.formulaXform.render(y,v.formulae[0]),y.closeNode()}renderCellIs(y,v){y.openNode(this.tag,{type:&quot;cellIs&quot;,dxfId:v.dxfId,priority:v.priority,operator:v.operator}),v.formulae.forEach(_=&gt;{this.formulaXform.render(y,_)}),y.closeNode()}renderTop10(y,v){y.leafNode(this.tag,{type:&quot;top10&quot;,dxfId:v.dxfId,priority:v.priority,percent:i.toBoolAttribute(v.percent,!1),bottom:i.toBoolAttribute(v.bottom,!1),rank:i.toIntValue(v.rank,10,!0)})}renderAboveAverage(y,v){y.leafNode(this.tag,{type:&quot;aboveAverage&quot;,dxfId:v.dxfId,priority:v.priority,aboveAverage:i.toBoolAttribute(v.aboveAverage,!0)})}renderDataBar(y,v){y.openNode(this.tag,{type:&quot;dataBar&quot;,priority:v.priority}),this.databarXform.render(y,v),this.extLstRefXform.render(y,v),y.closeNode()}renderColorScale(y,v){y.openNode(this.tag,{type:&quot;colorScale&quot;,priority:v.priority}),this.colorScaleXform.render(y,v),y.closeNode()}renderIconSet(y,v){b.isPrimitive(v)&amp;&amp;(y.openNode(this.tag,{type:&quot;iconSet&quot;,priority:v.priority}),this.iconSetXform.render(y,v),y.closeNode())}renderText(y,v){y.openNode(this.tag,{type:v.operator,dxfId:v.dxfId,priority:v.priority,operator:i.toStringAttribute(v.operator,&quot;containsText&quot;)});const _=(C=&gt;{if(C.formulae&amp;&amp;C.formulae[0])return C.formulae[0];const O=new u(C.ref),{tl:T}=O;switch(C.operator){case&quot;containsText&quot;:return`NOT(ISERROR(SEARCH(&quot;${C.text}&quot;,${T})))`;case&quot;containsBlanks&quot;:return`LEN(TRIM(${T}))=0`;case&quot;notContainsBlanks&quot;:return`LEN(TRIM(${T}))&gt;0`;case&quot;containsErrors&quot;:return`ISERROR(${T})`;case&quot;notContainsErrors&quot;:return`NOT(ISERROR(${T}))`;default:return}})(v);_&amp;&amp;this.formulaXform.render(y,_),y.closeNode()}renderTimePeriod(y,v){y.openNode(this.tag,{type:&quot;timePeriod&quot;,dxfId:v.dxfId,priority:v.priority,timePeriod:v.timePeriod});const _=(C=&gt;{if(C.formulae&amp;&amp;C.formulae[0])return C.formulae[0];const O=new u(C.ref),{tl:T}=O;switch(C.timePeriod){case&quot;thisWeek&quot;:return`AND(TODAY()-ROUNDDOWN(${T},0)&lt;=WEEKDAY(TODAY())-1,ROUNDDOWN(${T},0)-TODAY()&lt;=7-WEEKDAY(TODAY()))`;case&quot;lastWeek&quot;:return`AND(TODAY()-ROUNDDOWN(${T},0)&gt;=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${T},0)&lt;(WEEKDAY(TODAY())+7))`;case&quot;nextWeek&quot;:return`AND(ROUNDDOWN(${T},0)-TODAY()&gt;(7-WEEKDAY(TODAY())),ROUNDDOWN(${T},0)-TODAY()&lt;(15-WEEKDAY(TODAY())))`;case&quot;yesterday&quot;:return`FLOOR(${T},1)=TODAY()-1`;case&quot;today&quot;:return`FLOOR(${T},1)=TODAY()`;case&quot;tomorrow&quot;:return`FLOOR(${T},1)=TODAY()+1`;case&quot;last7Days&quot;:return`AND(TODAY()-FLOOR(${T},1)&lt;=6,FLOOR(${T},1)&lt;=TODAY())`;case&quot;lastMonth&quot;:return`AND(MONTH(${T})=MONTH(EDATE(TODAY(),0-1)),YEAR(${T})=YEAR(EDATE(TODAY(),0-1)))`;case&quot;thisMonth&quot;:return`AND(MONTH(${T})=MONTH(TODAY()),YEAR(${T})=YEAR(TODAY()))`;case&quot;nextMonth&quot;:return`AND(MONTH(${T})=MONTH(EDATE(TODAY(),0+1)),YEAR(${T})=YEAR(EDATE(TODAY(),0+1)))`;default:return}})(v);_&amp;&amp;this.formulaXform.render(y,_),y.closeNode()}createNewModel(y){let{attributes:v}=y;return{...p(v),dxfId:i.toIntValue(v.dxfId),priority:i.toIntValue(v.priority),timePeriod:v.timePeriod,percent:i.toBoolValue(v.percent),bottom:i.toBoolValue(v.bottom),rank:i.toIntValue(v.rank),aboveAverage:i.toBoolValue(v.aboveAverage)}}onParserClose(y,v){switch(y){case&quot;dataBar&quot;:case&quot;extLst&quot;:case&quot;colorScale&quot;:case&quot;iconSet&quot;:Object.assign(this.model,v.model);break;case&quot;formula&quot;:this.model.formulae=this.model.formulae||[],this.model.formulae.push(v.model)}}}n.exports=b},{&quot;../../../../doc/range&quot;:10,&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;./color-scale-xform&quot;:85,&quot;./databar-xform&quot;:88,&quot;./ext-lst-ref-xform&quot;:89,&quot;./formula-xform&quot;:90,&quot;./icon-set-xform&quot;:91}],84:[function(t,n,o){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;cfvo&quot;}render(a,u){a.leafNode(this.tag,{type:u.type,val:u.value})}parseOpen(a){this.model={type:a.attributes.type,value:i.toFloatValue(a.attributes.val)}}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],85:[function(t,n,o){const i=t(&quot;../../composite-xform&quot;),a=t(&quot;../../style/color-xform&quot;),u=t(&quot;./cfvo-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={cfvo:this.cfvoXform=new u,color:this.colorXform=new a}}get tag(){return&quot;colorScale&quot;}render(l,s){l.openNode(this.tag),s.cfvo.forEach(d=&gt;{this.cfvoXform.render(l,d)}),s.color.forEach(d=&gt;{this.colorXform.render(l,d)}),l.closeNode()}createNewModel(l){return{cfvo:[],color:[]}}onParserClose(l,s){this.model[l].push(s.model)}}},{&quot;../../composite-xform&quot;:48,&quot;../../style/color-xform&quot;:128,&quot;./cfvo-xform&quot;:84}],86:[function(t,n,o){const i=t(&quot;../../composite-xform&quot;),a=t(&quot;./cf-rule-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={cfRule:new a}}get tag(){return&quot;conditionalFormatting&quot;}render(u,l){l.rules.some(a.isPrimitive)&amp;&amp;(u.openNode(this.tag,{sqref:l.ref}),l.rules.forEach(s=&gt;{a.isPrimitive(s)&amp;&amp;(s.ref=l.ref,this.map.cfRule.render(u,s))}),u.closeNode())}createNewModel(u){let{attributes:l}=u;return{ref:l.sqref,rules:[]}}onParserClose(u,l){this.model.rules.push(l.model)}}},{&quot;../../composite-xform&quot;:48,&quot;./cf-rule-xform&quot;:83}],87:[function(t,n,o){const i=t(&quot;../../base-xform&quot;),a=t(&quot;./conditional-formatting-xform&quot;);n.exports=class extends i{constructor(){super(),this.cfXform=new a}get tag(){return&quot;conditionalFormatting&quot;}reset(){this.model=[]}prepare(u,l){let s=u.reduce((d,f)=&gt;Math.max(d,...f.rules.map(h=&gt;h.priority||0)),1);u.forEach(d=&gt;{d.rules.forEach(f=&gt;{f.priority||(f.priority=s++),f.style&amp;&amp;(f.dxfId=l.styles.addDxfStyle(f.style))})})}render(u,l){l.forEach(s=&gt;{this.cfXform.render(u,s)})}parseOpen(u){return this.parser?(this.parser.parseOpen(u),!0):u.name===&quot;conditionalFormatting&quot;?(this.parser=this.cfXform,this.parser.parseOpen(u),!0):!1}parseText(u){this.parser&amp;&amp;this.parser.parseText(u)}parseClose(u){return!!this.parser&amp;&amp;(!!this.parser.parseClose(u)||(this.model.push(this.parser.model),this.parser=void 0,!1))}reconcile(u,l){u.forEach(s=&gt;{s.rules.forEach(d=&gt;{d.dxfId!==void 0&amp;&amp;(d.style=l.styles.getDxfStyle(d.dxfId),delete d.dxfId)})})}}},{&quot;../../base-xform&quot;:32,&quot;./conditional-formatting-xform&quot;:86}],88:[function(t,n,o){const i=t(&quot;../../composite-xform&quot;),a=t(&quot;../../style/color-xform&quot;),u=t(&quot;./cfvo-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={cfvo:this.cfvoXform=new u,color:this.colorXform=new a}}get tag(){return&quot;dataBar&quot;}render(l,s){l.openNode(this.tag),s.cfvo.forEach(d=&gt;{this.cfvoXform.render(l,d)}),this.colorXform.render(l,s.color),l.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose(l,s){switch(l){case&quot;cfvo&quot;:this.model.cfvo.push(s.model);break;case&quot;color&quot;:this.model.color=s.model}}}},{&quot;../../composite-xform&quot;:48,&quot;../../style/color-xform&quot;:128,&quot;./cfvo-xform&quot;:84}],89:[function(t,n,o){const i=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;);class u extends i{get tag(){return&quot;x14:id&quot;}render(d,f){d.leafNode(this.tag,null,f)}parseOpen(){this.model=&quot;&quot;}parseText(d){this.model+=d}parseClose(d){return d!==this.tag}}class l extends a{constructor(){super(),this.map={&quot;x14:id&quot;:this.idXform=new u}}get tag(){return&quot;ext&quot;}render(d,f){d.openNode(this.tag,{uri:&quot;{B025F937-C7B1-47D3-B67F-A62EFF666E3E}&quot;,&quot;xmlns:x14&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2009/9/main&quot;}),this.idXform.render(d,f.x14Id),d.closeNode()}createNewModel(){return{}}onParserClose(d,f){this.model.x14Id=f.model}}n.exports=class extends a{constructor(){super(),this.map={ext:new l}}get tag(){return&quot;extLst&quot;}render(s,d){s.openNode(this.tag),this.map.ext.render(s,d),s.closeNode()}createNewModel(){return{}}onParserClose(s,d){Object.assign(this.model,d.model)}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48}],90:[function(t,n,o){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;formula&quot;}render(a,u){a.leafNode(this.tag,null,u)}parseOpen(){this.model=&quot;&quot;}parseText(a){this.model+=a}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],91:[function(t,n,o){const i=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;./cfvo-xform&quot;);n.exports=class extends a{constructor(){super(),this.map={cfvo:this.cfvoXform=new u}}get tag(){return&quot;iconSet&quot;}render(l,s){l.openNode(this.tag,{iconSet:i.toStringAttribute(s.iconSet,&quot;3TrafficLights&quot;),reverse:i.toBoolAttribute(s.reverse,!1),showValue:i.toBoolAttribute(s.showValue,!0)}),s.cfvo.forEach(d=&gt;{this.cfvoXform.render(l,d)}),l.closeNode()}createNewModel(l){let{attributes:s}=l;return{iconSet:i.toStringValue(s.iconSet,&quot;3TrafficLights&quot;),reverse:i.toBoolValue(s.reverse),showValue:i.toBoolValue(s.showValue),cfvo:[]}}onParserClose(l,s){this.model[l].push(s.model)}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;./cfvo-xform&quot;:84}],92:[function(t,n,o){const i=t(&quot;../../../utils/utils&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{get tag(){return&quot;col&quot;}prepare(u,l){const s=l.styles.addStyleModel(u.style||{});s&amp;&amp;(u.styleId=s)}render(u,l){u.openNode(&quot;col&quot;),u.addAttribute(&quot;min&quot;,l.min),u.addAttribute(&quot;max&quot;,l.max),l.width&amp;&amp;u.addAttribute(&quot;width&quot;,l.width),l.styleId&amp;&amp;u.addAttribute(&quot;style&quot;,l.styleId),l.hidden&amp;&amp;u.addAttribute(&quot;hidden&quot;,&quot;1&quot;),l.bestFit&amp;&amp;u.addAttribute(&quot;bestFit&quot;,&quot;1&quot;),l.outlineLevel&amp;&amp;u.addAttribute(&quot;outlineLevel&quot;,l.outlineLevel),l.collapsed&amp;&amp;u.addAttribute(&quot;collapsed&quot;,&quot;1&quot;),u.addAttribute(&quot;customWidth&quot;,&quot;1&quot;),u.closeNode()}parseOpen(u){if(u.name===&quot;col&quot;){const l=this.model={min:parseInt(u.attributes.min||&quot;0&quot;,10),max:parseInt(u.attributes.max||&quot;0&quot;,10),width:u.attributes.width===void 0?void 0:parseFloat(u.attributes.width||&quot;0&quot;)};return u.attributes.style&amp;&amp;(l.styleId=parseInt(u.attributes.style,10)),i.parseBoolean(u.attributes.hidden)&amp;&amp;(l.hidden=!0),i.parseBoolean(u.attributes.bestFit)&amp;&amp;(l.bestFit=!0),u.attributes.outlineLevel&amp;&amp;(l.outlineLevel=parseInt(u.attributes.outlineLevel,10)),i.parseBoolean(u.attributes.collapsed)&amp;&amp;(l.collapsed=!0),!0}return!1}parseText(){}parseClose(){return!1}reconcile(u,l){u.styleId&amp;&amp;(u.style=l.styles.getStyleModel(u.styleId))}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],93:[function(t,n,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../../../utils/col-cache&quot;),l=t(&quot;../base-xform&quot;),s=t(&quot;../../../doc/range&quot;);function d(h,m,p,b){const g=m[p];g!==void 0?h[p]=g:b!==void 0&amp;&amp;(h[p]=b)}function f(h,m,p,b){const g=m[p];g!==void 0&amp;&amp;(h[p]=a.parseBoolean(g))}n.exports=class extends l{get tag(){return&quot;dataValidations&quot;}render(h,m){const p=(function(b){const g=i.map(b,(_,C)=&gt;({address:C,dataValidation:_,marked:!1})).sort((_,C)=&gt;i.strcmp(_.address,C.address)),y=i.keyBy(g,&quot;address&quot;),v=(_,C,O)=&gt;{for(let T=0;T&lt;C;T++){const V=u.encodeAddress(_.row+T,O);if(!b[V]||!i.isEqual(b[_.address],b[V]))return!1}return!0};return g.map(_=&gt;{if(!_.marked){const C=u.decodeEx(_.address);if(C.dimensions)return y[C.dimensions].marked=!0,{..._.dataValidation,sqref:_.address};let O=1,T=u.encodeAddress(C.row+O,C.col);for(;b[T]&amp;&amp;i.isEqual(_.dataValidation,b[T]);)O++,T=u.encodeAddress(C.row+O,C.col);let V=1;for(;v(C,O,C.col+V);)V++;for(let F=0;F&lt;O;F++)for(let H=0;H&lt;V;H++)T=u.encodeAddress(C.row+F,C.col+H),y[T].marked=!0;if(O&gt;1||V&gt;1){const F=C.row+(O-1),H=C.col+(V-1);return{..._.dataValidation,sqref:`${_.address}:${u.encodeAddress(F,H)}`}}return{..._.dataValidation,sqref:_.address}}return null}).filter(Boolean)})(m);p.length&amp;&amp;(h.openNode(&quot;dataValidations&quot;,{count:p.length}),p.forEach(b=&gt;{h.openNode(&quot;dataValidation&quot;),b.type!==&quot;any&quot;&amp;&amp;(h.addAttribute(&quot;type&quot;,b.type),b.operator&amp;&amp;b.type!==&quot;list&quot;&amp;&amp;b.operator!==&quot;between&quot;&amp;&amp;h.addAttribute(&quot;operator&quot;,b.operator),b.allowBlank&amp;&amp;h.addAttribute(&quot;allowBlank&quot;,&quot;1&quot;)),b.showInputMessage&amp;&amp;h.addAttribute(&quot;showInputMessage&quot;,&quot;1&quot;),b.promptTitle&amp;&amp;h.addAttribute(&quot;promptTitle&quot;,b.promptTitle),b.prompt&amp;&amp;h.addAttribute(&quot;prompt&quot;,b.prompt),b.showErrorMessage&amp;&amp;h.addAttribute(&quot;showErrorMessage&quot;,&quot;1&quot;),b.errorStyle&amp;&amp;h.addAttribute(&quot;errorStyle&quot;,b.errorStyle),b.errorTitle&amp;&amp;h.addAttribute(&quot;errorTitle&quot;,b.errorTitle),b.error&amp;&amp;h.addAttribute(&quot;error&quot;,b.error),h.addAttribute(&quot;sqref&quot;,b.sqref),(b.formulae||[]).forEach((g,y)=&gt;{h.openNode(&quot;formula&quot;+(y+1)),b.type===&quot;date&quot;?h.writeText(a.dateToExcel(new Date(g))):h.writeText(g),h.closeNode()}),h.closeNode()}),h.closeNode())}parseOpen(h){switch(h.name){case&quot;dataValidations&quot;:return this.model={},!0;case&quot;dataValidation&quot;:{this._address=h.attributes.sqref;const m={type:h.attributes.type||&quot;any&quot;,formulae:[]};switch(h.attributes.type&amp;&amp;f(m,h.attributes,&quot;allowBlank&quot;),f(m,h.attributes,&quot;showInputMessage&quot;),f(m,h.attributes,&quot;showErrorMessage&quot;),m.type){case&quot;any&quot;:case&quot;list&quot;:case&quot;custom&quot;:break;default:d(m,h.attributes,&quot;operator&quot;,&quot;between&quot;)}return d(m,h.attributes,&quot;promptTitle&quot;),d(m,h.attributes,&quot;prompt&quot;),d(m,h.attributes,&quot;errorStyle&quot;),d(m,h.attributes,&quot;errorTitle&quot;),d(m,h.attributes,&quot;error&quot;),this._dataValidation=m,!0}case&quot;formula1&quot;:case&quot;formula2&quot;:return this._formula=[],!0;default:return!1}}parseText(h){this._formula&amp;&amp;this._formula.push(h)}parseClose(h){switch(h){case&quot;dataValidations&quot;:return!1;case&quot;dataValidation&quot;:return this._dataValidation.formulae&amp;&amp;this._dataValidation.formulae.length||(delete this._dataValidation.formulae,delete this._dataValidation.operator),(this._address.split(/\s+/g)||[]).forEach(m=&gt;{m.includes(&quot;:&quot;)?new s(m).forEachAddress(p=&gt;{this.model[p]=this._dataValidation}):this.model[m]=this._dataValidation}),!0;case&quot;formula1&quot;:case&quot;formula2&quot;:{let m=this._formula.join(&quot;&quot;);switch(this._dataValidation.type){case&quot;whole&quot;:case&quot;textLength&quot;:m=parseInt(m,10);break;case&quot;decimal&quot;:m=parseFloat(m);break;case&quot;date&quot;:m=a.excelToDate(parseFloat(m))}return this._dataValidation.formulae.push(m),this._formula=void 0,!0}default:return!0}}}},{&quot;../../../doc/range&quot;:10,&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/under-dash&quot;:26,&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],94:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;dimension&quot;}render(a,u){u&amp;&amp;a.leafNode(&quot;dimension&quot;,{ref:u})}parseOpen(a){return a.name===&quot;dimension&quot;&amp;&amp;(this.model=a.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],95:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;drawing&quot;}render(a,u){u&amp;&amp;a.leafNode(this.tag,{&quot;r:id&quot;:u.rId})}parseOpen(a){return a.name===this.tag?(this.model={rId:a.attributes[&quot;r:id&quot;]},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],96:[function(t,n,o){const i=t(&quot;../composite-xform&quot;),a=t(&quot;./cf-ext/conditional-formattings-ext-xform&quot;);class u extends i{constructor(){super(),this.map={&quot;x14:conditionalFormattings&quot;:this.conditionalFormattings=new a}}get tag(){return&quot;ext&quot;}hasContent(s){return this.conditionalFormattings.hasContent(s.conditionalFormattings)}prepare(s,d){this.conditionalFormattings.prepare(s.conditionalFormattings,d)}render(s,d){s.openNode(&quot;ext&quot;,{uri:&quot;{78C0D931-6437-407d-A8EE-F0AAD7539E65}&quot;,&quot;xmlns:x14&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2009/9/main&quot;}),this.conditionalFormattings.render(s,d.conditionalFormattings),s.closeNode()}createNewModel(){return{}}onParserClose(s,d){this.model[s]=d.model}}n.exports=class extends i{constructor(){super(),this.map={ext:this.ext=new u}}get tag(){return&quot;extLst&quot;}prepare(l,s){this.ext.prepare(l,s)}hasContent(l){return this.ext.hasContent(l)}render(l,s){this.hasContent(s)&amp;&amp;(l.openNode(&quot;extLst&quot;),this.ext.render(l,s),l.closeNode())}createNewModel(){return{}}onParserClose(l,s){Object.assign(this.model,s.model)}}},{&quot;../composite-xform&quot;:48,&quot;./cf-ext/conditional-formattings-ext-xform&quot;:78}],97:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;headerFooter&quot;}render(a,u){if(u){a.addRollback();let l=!1;a.openNode(&quot;headerFooter&quot;),u.differentFirst&amp;&amp;(a.addAttribute(&quot;differentFirst&quot;,&quot;1&quot;),l=!0),u.differentOddEven&amp;&amp;(a.addAttribute(&quot;differentOddEven&quot;,&quot;1&quot;),l=!0),u.oddHeader&amp;&amp;typeof u.oddHeader==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;oddHeader&quot;,null,u.oddHeader),l=!0),u.oddFooter&amp;&amp;typeof u.oddFooter==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;oddFooter&quot;,null,u.oddFooter),l=!0),u.evenHeader&amp;&amp;typeof u.evenHeader==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;evenHeader&quot;,null,u.evenHeader),l=!0),u.evenFooter&amp;&amp;typeof u.evenFooter==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;evenFooter&quot;,null,u.evenFooter),l=!0),u.firstHeader&amp;&amp;typeof u.firstHeader==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;firstHeader&quot;,null,u.firstHeader),l=!0),u.firstFooter&amp;&amp;typeof u.firstFooter==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;firstFooter&quot;,null,u.firstFooter),l=!0),l?(a.closeNode(),a.commit()):a.rollback()}}parseOpen(a){switch(a.name){case&quot;headerFooter&quot;:return this.model={},a.attributes.differentFirst&amp;&amp;(this.model.differentFirst=parseInt(a.attributes.differentFirst,0)===1),a.attributes.differentOddEven&amp;&amp;(this.model.differentOddEven=parseInt(a.attributes.differentOddEven,0)===1),!0;case&quot;oddHeader&quot;:return this.currentNode=&quot;oddHeader&quot;,!0;case&quot;oddFooter&quot;:return this.currentNode=&quot;oddFooter&quot;,!0;case&quot;evenHeader&quot;:return this.currentNode=&quot;evenHeader&quot;,!0;case&quot;evenFooter&quot;:return this.currentNode=&quot;evenFooter&quot;,!0;case&quot;firstHeader&quot;:return this.currentNode=&quot;firstHeader&quot;,!0;case&quot;firstFooter&quot;:return this.currentNode=&quot;firstFooter&quot;,!0;default:return!1}}parseText(a){switch(this.currentNode){case&quot;oddHeader&quot;:this.model.oddHeader=a;break;case&quot;oddFooter&quot;:this.model.oddFooter=a;break;case&quot;evenHeader&quot;:this.model.evenHeader=a;break;case&quot;evenFooter&quot;:this.model.evenFooter=a;break;case&quot;firstHeader&quot;:this.model.firstHeader=a;break;case&quot;firstFooter&quot;:this.model.firstFooter=a}}parseClose(){switch(this.currentNode){case&quot;oddHeader&quot;:case&quot;oddFooter&quot;:case&quot;evenHeader&quot;:case&quot;evenFooter&quot;:case&quot;firstHeader&quot;:case&quot;firstFooter&quot;:return this.currentNode=void 0,!0;default:return!1}}}},{&quot;../base-xform&quot;:32}],98:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;hyperlink&quot;}render(a,u){this.isInternalLink(u)?a.leafNode(&quot;hyperlink&quot;,{ref:u.address,&quot;r:id&quot;:u.rId,tooltip:u.tooltip,location:u.target}):a.leafNode(&quot;hyperlink&quot;,{ref:u.address,&quot;r:id&quot;:u.rId,tooltip:u.tooltip})}parseOpen(a){return a.name===&quot;hyperlink&quot;&amp;&amp;(this.model={address:a.attributes.ref,rId:a.attributes[&quot;r:id&quot;],tooltip:a.attributes.tooltip},a.attributes.location&amp;&amp;(this.model.target=a.attributes.location),!0)}parseText(){}parseClose(){return!1}isInternalLink(a){return a.target&amp;&amp;/^[^!]+![a-zA-Z]+[\d]+$/.test(a.target)}}},{&quot;../base-xform&quot;:32}],99:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;mergeCell&quot;}render(a,u){a.leafNode(&quot;mergeCell&quot;,{ref:u})}parseOpen(a){return a.name===&quot;mergeCell&quot;&amp;&amp;(this.model=a.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],100:[function(t,n,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../doc/range&quot;),u=t(&quot;../../../utils/col-cache&quot;),l=t(&quot;../../../doc/enums&quot;);n.exports=class{constructor(){this.merges={}}add(s){if(this.merges[s.master])this.merges[s.master].expandToAddress(s.address);else{const d=`${s.master}:${s.address}`;this.merges[s.master]=new a(d)}}get mergeCells(){return i.map(this.merges,s=&gt;s.range)}reconcile(s,d){i.each(s,f=&gt;{const h=u.decode(f);for(let m=h.top;m&lt;=h.bottom;m++){const p=d[m-1];for(let b=h.left;b&lt;=h.right;b++){const g=p.cells[b-1];g?g.type===l.ValueType.Merge&amp;&amp;(g.master=h.tl):p.cells[b]={type:l.ValueType.Null,address:u.encodeAddress(m,b)}}}})}getMasterAddress(s){const d=this.hash[s];return d&amp;&amp;d.tl}}},{&quot;../../../doc/enums&quot;:7,&quot;../../../doc/range&quot;:10,&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/under-dash&quot;:26}],101:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=u=&gt;u!==void 0;n.exports=class extends i{get tag(){return&quot;outlinePr&quot;}render(u,l){return!(!l||!a(l.summaryBelow)&amp;&amp;!a(l.summaryRight))&amp;&amp;(u.leafNode(this.tag,{summaryBelow:a(l.summaryBelow)?Number(l.summaryBelow):void 0,summaryRight:a(l.summaryRight)?Number(l.summaryRight):void 0}),!0)}parseOpen(u){return u.name===this.tag&amp;&amp;(this.model={summaryBelow:a(u.attributes.summaryBelow)?!!Number(u.attributes.summaryBelow):void 0,summaryRight:a(u.attributes.summaryRight)?!!Number(u.attributes.summaryRight):void 0},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],102:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;brk&quot;}render(a,u){a.leafNode(&quot;brk&quot;,u)}parseOpen(a){return a.name===&quot;brk&quot;&amp;&amp;(this.model=a.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],103:[function(t,n,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{get tag(){return&quot;pageMargins&quot;}render(u,l){if(l){const s={left:l.left,right:l.right,top:l.top,bottom:l.bottom,header:l.header,footer:l.footer};i.some(s,d=&gt;d!==void 0)&amp;&amp;u.leafNode(this.tag,s)}}parseOpen(u){return u.name===this.tag?(this.model={left:parseFloat(u.attributes.left||.7),right:parseFloat(u.attributes.right||.7),top:parseFloat(u.attributes.top||.75),bottom:parseFloat(u.attributes.bottom||.75),header:parseFloat(u.attributes.header||.3),footer:parseFloat(u.attributes.footer||.3)},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],104:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;pageSetUpPr&quot;}render(a,u){return!(!u||!u.fitToPage)&amp;&amp;(a.leafNode(this.tag,{fitToPage:u.fitToPage?&quot;1&quot;:void 0}),!0)}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={fitToPage:a.attributes.fitToPage===&quot;1&quot;},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],105:[function(t,n,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);function u(f){return f?&quot;1&quot;:void 0}function l(f){if(f===&quot;overThenDown&quot;)return f}function s(f){switch(f){case&quot;atEnd&quot;:case&quot;asDisplyed&quot;:return f;default:return}}function d(f){switch(f){case&quot;dash&quot;:case&quot;blank&quot;:case&quot;NA&quot;:return f;default:return}}n.exports=class extends a{get tag(){return&quot;pageSetup&quot;}render(f,h){if(h){const m={paperSize:h.paperSize,orientation:h.orientation,horizontalDpi:h.horizontalDpi,verticalDpi:h.verticalDpi,pageOrder:l(h.pageOrder),blackAndWhite:u(h.blackAndWhite),draft:u(h.draft),cellComments:s(h.cellComments),errors:d(h.errors),scale:h.scale,fitToWidth:h.fitToWidth,fitToHeight:h.fitToHeight,firstPageNumber:h.firstPageNumber,useFirstPageNumber:u(h.firstPageNumber),usePrinterDefaults:u(h.usePrinterDefaults),copies:h.copies};i.some(m,p=&gt;p!==void 0)&amp;&amp;f.leafNode(this.tag,m)}}parseOpen(f){if(f.name===this.tag)return this.model={paperSize:(h=f.attributes.paperSize,h!==void 0?parseInt(h,10):void 0),orientation:f.attributes.orientation||&quot;portrait&quot;,horizontalDpi:parseInt(f.attributes.horizontalDpi||&quot;4294967295&quot;,10),verticalDpi:parseInt(f.attributes.verticalDpi||&quot;4294967295&quot;,10),pageOrder:f.attributes.pageOrder||&quot;downThenOver&quot;,blackAndWhite:f.attributes.blackAndWhite===&quot;1&quot;,draft:f.attributes.draft===&quot;1&quot;,cellComments:f.attributes.cellComments||&quot;None&quot;,errors:f.attributes.errors||&quot;displayed&quot;,scale:parseInt(f.attributes.scale||&quot;100&quot;,10),fitToWidth:parseInt(f.attributes.fitToWidth||&quot;1&quot;,10),fitToHeight:parseInt(f.attributes.fitToHeight||&quot;1&quot;,10),firstPageNumber:parseInt(f.attributes.firstPageNumber||&quot;1&quot;,10),useFirstPageNumber:f.attributes.useFirstPageNumber===&quot;1&quot;,usePrinterDefaults:f.attributes.usePrinterDefaults===&quot;1&quot;,copies:parseInt(f.attributes.copies||&quot;1&quot;,10)},!0;return!1;var h}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],106:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;picture&quot;}render(a,u){u&amp;&amp;a.leafNode(this.tag,{&quot;r:id&quot;:u.rId})}parseOpen(a){return a.name===this.tag?(this.model={rId:a.attributes[&quot;r:id&quot;]},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],107:[function(t,n,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);function u(l){return l?&quot;1&quot;:void 0}n.exports=class extends a{get tag(){return&quot;printOptions&quot;}render(l,s){if(s){const d={headings:u(s.showRowColHeaders),gridLines:u(s.showGridLines),horizontalCentered:u(s.horizontalCentered),verticalCentered:u(s.verticalCentered)};i.some(d,f=&gt;f!==void 0)&amp;&amp;l.leafNode(this.tag,d)}}parseOpen(l){return l.name===this.tag?(this.model={showRowColHeaders:l.attributes.headings===&quot;1&quot;,showGridLines:l.attributes.gridLines===&quot;1&quot;,horizontalCentered:l.attributes.horizontalCentered===&quot;1&quot;,verticalCentered:l.attributes.verticalCentered===&quot;1&quot;},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],108:[function(t,n,o){const i=t(&quot;./page-breaks-xform&quot;),a=t(&quot;../list-xform&quot;);n.exports=class extends a{constructor(){super({tag:&quot;rowBreaks&quot;,count:!0,childXform:new i})}render(u,l){if(l&amp;&amp;l.length){u.openNode(this.tag,this.$),this.count&amp;&amp;(u.addAttribute(this.$count,l.length),u.addAttribute(&quot;manualBreakCount&quot;,l.length));const{childXform:s}=this;l.forEach(d=&gt;{s.render(u,d)}),u.closeNode()}else this.empty&amp;&amp;u.leafNode(this.tag)}}},{&quot;../list-xform&quot;:71,&quot;./page-breaks-xform&quot;:102}],109:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;./cell-xform&quot;);n.exports=class extends i{constructor(l){super(),this.maxItems=l&amp;&amp;l.maxItems,this.map={c:new u}}get tag(){return&quot;row&quot;}prepare(l,s){const d=s.styles.addStyleModel(l.style);d&amp;&amp;(l.styleId=d);const f=this.map.c;l.cells.forEach(h=&gt;{f.prepare(h,s)})}render(l,s,d){l.openNode(&quot;row&quot;),l.addAttribute(&quot;r&quot;,s.number),s.height&amp;&amp;(l.addAttribute(&quot;ht&quot;,s.height),l.addAttribute(&quot;customHeight&quot;,&quot;1&quot;)),s.hidden&amp;&amp;l.addAttribute(&quot;hidden&quot;,&quot;1&quot;),s.min&gt;0&amp;&amp;s.max&gt;0&amp;&amp;s.min&lt;=s.max&amp;&amp;l.addAttribute(&quot;spans&quot;,`${s.min}:${s.max}`),s.styleId&amp;&amp;(l.addAttribute(&quot;s&quot;,s.styleId),l.addAttribute(&quot;customFormat&quot;,&quot;1&quot;)),l.addAttribute(&quot;x14ac:dyDescent&quot;,&quot;0.25&quot;),s.outlineLevel&amp;&amp;l.addAttribute(&quot;outlineLevel&quot;,s.outlineLevel),s.collapsed&amp;&amp;l.addAttribute(&quot;collapsed&quot;,&quot;1&quot;);const f=this.map.c;s.cells.forEach(h=&gt;{f.render(l,h,d)}),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;if(l.name===&quot;row&quot;){this.numRowsSeen+=1;const s=l.attributes.spans?l.attributes.spans.split(&quot;:&quot;).map(f=&gt;parseInt(f,10)):[void 0,void 0],d=this.model={number:parseInt(l.attributes.r,10),min:s[0],max:s[1],cells:[]};return l.attributes.s&amp;&amp;(d.styleId=parseInt(l.attributes.s,10)),a.parseBoolean(l.attributes.hidden)&amp;&amp;(d.hidden=!0),a.parseBoolean(l.attributes.bestFit)&amp;&amp;(d.bestFit=!0),l.attributes.ht&amp;&amp;(d.height=parseFloat(l.attributes.ht)),l.attributes.outlineLevel&amp;&amp;(d.outlineLevel=parseInt(l.attributes.outlineLevel,10)),a.parseBoolean(l.attributes.collapsed)&amp;&amp;(d.collapsed=!0),!0}return this.parser=this.map[l.name],!!this.parser&amp;&amp;(this.parser.parseOpen(l),!0)}parseText(l){this.parser&amp;&amp;this.parser.parseText(l)}parseClose(l){if(this.parser){if(!this.parser.parseClose(l)){if(this.model.cells.push(this.parser.model),this.maxItems&amp;&amp;this.model.cells.length&gt;this.maxItems)throw new Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile(l,s){l.style=l.styleId?s.styles.getStyleModel(l.styleId):{},l.styleId!==void 0&amp;&amp;(l.styleId=void 0);const d=this.map.c;l.cells.forEach(f=&gt;{d.reconcile(f,s)})}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;./cell-xform&quot;:73}],110:[function(t,n,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{get tag(){return&quot;sheetFormatPr&quot;}render(u,l){if(l){const s={defaultRowHeight:l.defaultRowHeight,outlineLevelRow:l.outlineLevelRow,outlineLevelCol:l.outlineLevelCol,&quot;x14ac:dyDescent&quot;:l.dyDescent};l.defaultColWidth&amp;&amp;(s.defaultColWidth=l.defaultColWidth),l.defaultRowHeight&amp;&amp;l.defaultRowHeight===15||(s.customHeight=&quot;1&quot;),i.some(s,d=&gt;d!==void 0)&amp;&amp;u.leafNode(&quot;sheetFormatPr&quot;,s)}}parseOpen(u){return u.name===&quot;sheetFormatPr&quot;&amp;&amp;(this.model={defaultRowHeight:parseFloat(u.attributes.defaultRowHeight||&quot;0&quot;),dyDescent:parseFloat(u.attributes[&quot;x14ac:dyDescent&quot;]||&quot;0&quot;),outlineLevelRow:parseInt(u.attributes.outlineLevelRow||&quot;0&quot;,10),outlineLevelCol:parseInt(u.attributes.outlineLevelCol||&quot;0&quot;,10)},u.attributes.defaultColWidth&amp;&amp;(this.model.defaultColWidth=parseFloat(u.attributes.defaultColWidth)),!0)}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],111:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;../style/color-xform&quot;),u=t(&quot;./page-setup-properties-xform&quot;),l=t(&quot;./outline-properties-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={tabColor:new a(&quot;tabColor&quot;),pageSetUpPr:new u,outlinePr:new l}}get tag(){return&quot;sheetPr&quot;}render(s,d){if(d){s.addRollback(),s.openNode(&quot;sheetPr&quot;);let f=!1;f=this.map.tabColor.render(s,d.tabColor)||f,f=this.map.pageSetUpPr.render(s,d.pageSetup)||f,f=this.map.outlinePr.render(s,d.outlineProperties)||f,f?(s.closeNode(),s.commit()):s.rollback()}}parseOpen(s){return this.parser?(this.parser.parseOpen(s),!0):s.name===this.tag?(this.reset(),!0):!!this.map[s.name]&amp;&amp;(this.parser=this.map[s.name],this.parser.parseOpen(s),!0)}parseText(s){return!!this.parser&amp;&amp;(this.parser.parseText(s),!0)}parseClose(s){return this.parser?(this.parser.parseClose(s)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&amp;&amp;(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&amp;&amp;(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&amp;&amp;(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}}},{&quot;../base-xform&quot;:32,&quot;../style/color-xform&quot;:128,&quot;./outline-properties-xform&quot;:101,&quot;./page-setup-properties-xform&quot;:104}],112:[function(t,n,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);function u(s,d){return s?d:void 0}function l(s,d){return s===d||void 0}n.exports=class extends a{get tag(){return&quot;sheetProtection&quot;}render(s,d){if(d){const f={sheet:u(d.sheet,&quot;1&quot;),selectLockedCells:d.selectLockedCells===!1?&quot;1&quot;:void 0,selectUnlockedCells:d.selectUnlockedCells===!1?&quot;1&quot;:void 0,formatCells:u(d.formatCells,&quot;0&quot;),formatColumns:u(d.formatColumns,&quot;0&quot;),formatRows:u(d.formatRows,&quot;0&quot;),insertColumns:u(d.insertColumns,&quot;0&quot;),insertRows:u(d.insertRows,&quot;0&quot;),insertHyperlinks:u(d.insertHyperlinks,&quot;0&quot;),deleteColumns:u(d.deleteColumns,&quot;0&quot;),deleteRows:u(d.deleteRows,&quot;0&quot;),sort:u(d.sort,&quot;0&quot;),autoFilter:u(d.autoFilter,&quot;0&quot;),pivotTables:u(d.pivotTables,&quot;0&quot;)};d.sheet&amp;&amp;(f.algorithmName=d.algorithmName,f.hashValue=d.hashValue,f.saltValue=d.saltValue,f.spinCount=d.spinCount,f.objects=u(d.objects===!1,&quot;1&quot;),f.scenarios=u(d.scenarios===!1,&quot;1&quot;)),i.some(f,h=&gt;h!==void 0)&amp;&amp;s.leafNode(this.tag,f)}}parseOpen(s){return s.name===this.tag?(this.model={sheet:l(s.attributes.sheet,&quot;1&quot;),objects:s.attributes.objects!==&quot;1&quot;&amp;&amp;void 0,scenarios:s.attributes.scenarios!==&quot;1&quot;&amp;&amp;void 0,selectLockedCells:s.attributes.selectLockedCells!==&quot;1&quot;&amp;&amp;void 0,selectUnlockedCells:s.attributes.selectUnlockedCells!==&quot;1&quot;&amp;&amp;void 0,formatCells:l(s.attributes.formatCells,&quot;0&quot;),formatColumns:l(s.attributes.formatColumns,&quot;0&quot;),formatRows:l(s.attributes.formatRows,&quot;0&quot;),insertColumns:l(s.attributes.insertColumns,&quot;0&quot;),insertRows:l(s.attributes.insertRows,&quot;0&quot;),insertHyperlinks:l(s.attributes.insertHyperlinks,&quot;0&quot;),deleteColumns:l(s.attributes.deleteColumns,&quot;0&quot;),deleteRows:l(s.attributes.deleteRows,&quot;0&quot;),sort:l(s.attributes.sort,&quot;0&quot;),autoFilter:l(s.attributes.autoFilter,&quot;0&quot;),pivotTables:l(s.attributes.pivotTables,&quot;0&quot;)},s.attributes.algorithmName&amp;&amp;(this.model.algorithmName=s.attributes.algorithmName,this.model.hashValue=s.attributes.hashValue,this.model.saltValue=s.attributes.saltValue,this.model.spinCount=parseInt(s.attributes.spinCount,10)),!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],113:[function(t,n,o){const i=t(&quot;../../../utils/col-cache&quot;),a=t(&quot;../base-xform&quot;),u={frozen:&quot;frozen&quot;,frozenSplit:&quot;frozen&quot;,split:&quot;split&quot;};n.exports=class extends a{get tag(){return&quot;sheetView&quot;}prepare(l){switch(l.state){case&quot;frozen&quot;:case&quot;split&quot;:break;default:l.state=&quot;normal&quot;}}render(l,s){l.openNode(&quot;sheetView&quot;,{workbookViewId:s.workbookViewId||0});const d=function(b,g,y){y&amp;&amp;l.addAttribute(b,g)};let f,h,m,p;switch(d(&quot;rightToLeft&quot;,&quot;1&quot;,s.rightToLeft===!0),d(&quot;tabSelected&quot;,&quot;1&quot;,s.tabSelected),d(&quot;showRuler&quot;,&quot;0&quot;,s.showRuler===!1),d(&quot;showRowColHeaders&quot;,&quot;0&quot;,s.showRowColHeaders===!1),d(&quot;showGridLines&quot;,&quot;0&quot;,s.showGridLines===!1),d(&quot;zoomScale&quot;,s.zoomScale,s.zoomScale),d(&quot;zoomScaleNormal&quot;,s.zoomScaleNormal,s.zoomScaleNormal),d(&quot;view&quot;,s.style,s.style),s.state){case&quot;frozen&quot;:h=s.xSplit||0,m=s.ySplit||0,f=s.topLeftCell||i.getAddress(m+1,h+1).address,p=(s.xSplit&amp;&amp;s.ySplit?&quot;bottomRight&quot;:s.xSplit&amp;&amp;&quot;topRight&quot;)||&quot;bottomLeft&quot;,l.leafNode(&quot;pane&quot;,{xSplit:s.xSplit||void 0,ySplit:s.ySplit||void 0,topLeftCell:f,activePane:p,state:&quot;frozen&quot;}),l.leafNode(&quot;selection&quot;,{pane:p,activeCell:s.activeCell,sqref:s.activeCell});break;case&quot;split&quot;:s.activePane===&quot;topLeft&quot;&amp;&amp;(s.activePane=void 0),l.leafNode(&quot;pane&quot;,{xSplit:s.xSplit||void 0,ySplit:s.ySplit||void 0,topLeftCell:s.topLeftCell,activePane:s.activePane}),l.leafNode(&quot;selection&quot;,{pane:s.activePane,activeCell:s.activeCell,sqref:s.activeCell});break;case&quot;normal&quot;:s.activeCell&amp;&amp;l.leafNode(&quot;selection&quot;,{activeCell:s.activeCell,sqref:s.activeCell})}l.closeNode()}parseOpen(l){switch(l.name){case&quot;sheetView&quot;:return this.sheetView={workbookViewId:parseInt(l.attributes.workbookViewId,10),rightToLeft:l.attributes.rightToLeft===&quot;1&quot;,tabSelected:l.attributes.tabSelected===&quot;1&quot;,showRuler:l.attributes.showRuler!==&quot;0&quot;,showRowColHeaders:l.attributes.showRowColHeaders!==&quot;0&quot;,showGridLines:l.attributes.showGridLines!==&quot;0&quot;,zoomScale:parseInt(l.attributes.zoomScale||&quot;100&quot;,10),zoomScaleNormal:parseInt(l.attributes.zoomScaleNormal||&quot;100&quot;,10),style:l.attributes.view},this.pane=void 0,this.selections={},!0;case&quot;pane&quot;:return this.pane={xSplit:parseInt(l.attributes.xSplit||&quot;0&quot;,10),ySplit:parseInt(l.attributes.ySplit||&quot;0&quot;,10),topLeftCell:l.attributes.topLeftCell,activePane:l.attributes.activePane||&quot;topLeft&quot;,state:l.attributes.state},!0;case&quot;selection&quot;:{const s=l.attributes.pane||&quot;topLeft&quot;;return this.selections[s]={pane:s,activeCell:l.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose(l){let s,d;return l===&quot;sheetView&quot;?(this.sheetView&amp;&amp;this.pane?(s=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:u[this.pane.state]||&quot;split&quot;,xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state===&quot;split&quot;&amp;&amp;(s.activePane=this.pane.activePane),d=this.selections[this.pane.activePane],d&amp;&amp;d.activeCell&amp;&amp;(s.activeCell=d.activeCell),this.sheetView.style&amp;&amp;(s.style=this.sheetView.style)):(s=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:&quot;normal&quot;,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},d=this.selections.topLeft,d&amp;&amp;d.activeCell&amp;&amp;(s.activeCell=d.activeCell),this.sheetView.style&amp;&amp;(s.style=this.sheetView.style)),!1):!0}reconcile(){}}},{&quot;../../../utils/col-cache&quot;:19,&quot;../base-xform&quot;:32}],114:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;tablePart&quot;}render(a,u){u&amp;&amp;a.leafNode(this.tag,{&quot;r:id&quot;:u.rId})}parseOpen(a){return a.name===this.tag?(this.model={rId:a.attributes[&quot;r:id&quot;]},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],115:[function(t,n,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../utils/col-cache&quot;),u=t(&quot;../../../utils/xml-stream&quot;),l=t(&quot;../../rel-type&quot;),s=t(&quot;./merges&quot;),d=t(&quot;../base-xform&quot;),f=t(&quot;../list-xform&quot;),h=t(&quot;./row-xform&quot;),m=t(&quot;./col-xform&quot;),p=t(&quot;./dimension-xform&quot;),b=t(&quot;./hyperlink-xform&quot;),g=t(&quot;./merge-cell-xform&quot;),y=t(&quot;./data-validations-xform&quot;),v=t(&quot;./sheet-properties-xform&quot;),_=t(&quot;./sheet-format-properties-xform&quot;),C=t(&quot;./sheet-view-xform&quot;),O=t(&quot;./sheet-protection-xform&quot;),T=t(&quot;./page-margins-xform&quot;),V=t(&quot;./page-setup-xform&quot;),F=t(&quot;./print-options-xform&quot;),H=t(&quot;./auto-filter-xform&quot;),W=t(&quot;./picture-xform&quot;),K=t(&quot;./drawing-xform&quot;),$=t(&quot;./table-part-xform&quot;),P=t(&quot;./row-breaks-xform&quot;),D=t(&quot;./header-footer-xform&quot;),E=t(&quot;./cf/conditional-formattings-xform&quot;),j=t(&quot;./ext-lst-xform&quot;),k=(N,M)=&gt;{if(!M||!M.length)return N;if(!N||!N.length)return M;const R={},B={};return N.forEach(Y=&gt;{R[Y.ref]=Y,Y.rules.forEach(Z=&gt;{const{x14Id:ie}=Z;ie&amp;&amp;(B[ie]=Z)})}),M.forEach(Y=&gt;{Y.rules.forEach(Z=&gt;{const ie=B[Z.x14Id];ie?((U,ee)=&gt;{Object.keys(ee).forEach(z=&gt;{const I=U[z],X=ee[z];I===void 0&amp;&amp;X!==void 0&amp;&amp;(U[z]=X)})})(ie,Z):R[Y.ref]?R[Y.ref].rules.push(Z):N.push({ref:Y.ref,rules:[Z]})})}),N};class S extends d{constructor(M){super();const{maxRows:R,maxCols:B,ignoreNodes:Y}=M||{};this.ignoreNodes=Y||[],this.map={sheetPr:new v,dimension:new p,sheetViews:new f({tag:&quot;sheetViews&quot;,count:!1,childXform:new C}),sheetFormatPr:new _,cols:new f({tag:&quot;cols&quot;,count:!1,childXform:new m}),sheetData:new f({tag:&quot;sheetData&quot;,count:!1,empty:!0,childXform:new h({maxItems:B}),maxItems:R}),autoFilter:new H,mergeCells:new f({tag:&quot;mergeCells&quot;,count:!0,childXform:new g}),rowBreaks:new P,hyperlinks:new f({tag:&quot;hyperlinks&quot;,count:!1,childXform:new b}),pageMargins:new T,dataValidations:new y,pageSetup:new V,headerFooter:new D,printOptions:new F,picture:new W,drawing:new K,sheetProtection:new O,tableParts:new f({tag:&quot;tableParts&quot;,count:!0,childXform:new $}),conditionalFormatting:new E,extLst:new j}}prepare(M,R){R.merges=new s,M.hyperlinks=R.hyperlinks=[],M.comments=R.comments=[],R.formulae={},R.siFormulae=0,this.map.cols.prepare(M.cols,R),this.map.sheetData.prepare(M.rows,R),this.map.conditionalFormatting.prepare(M.conditionalFormattings,R),M.mergeCells=R.merges.mergeCells;const B=M.rels=[];function Y(U){return&quot;rId&quot;+(U.length+1)}if(M.hyperlinks.forEach(U=&gt;{const ee=Y(B);U.rId=ee,B.push({Id:ee,Type:l.Hyperlink,Target:U.target,TargetMode:&quot;External&quot;})}),M.comments.length&gt;0){const U={Id:Y(B),Type:l.Comments,Target:`../comments${M.id}.xml`};B.push(U);const ee={Id:Y(B),Type:l.VmlDrawing,Target:`../drawings/vmlDrawing${M.id}.vml`};B.push(ee),M.comments.forEach(z=&gt;{z.refAddress=a.decodeAddress(z.ref)}),R.commentRefs.push({commentName:&quot;comments&quot;+M.id,vmlDrawing:&quot;vmlDrawing&quot;+M.id})}const Z=[];let ie;M.media.forEach(U=&gt;{if(U.type===&quot;background&quot;){const ee=Y(B);ie=R.media[U.imageId],B.push({Id:ee,Type:l.Image,Target:`../media/${ie.name}.${ie.extension}`}),M.background={rId:ee},M.image=R.media[U.imageId]}else if(U.type===&quot;image&quot;){let{drawing:ee}=M;ie=R.media[U.imageId],ee||(ee=M.drawing={rId:Y(B),name:&quot;drawing&quot;+ ++R.drawingsCount,anchors:[],rels:[]},R.drawings.push(ee),B.push({Id:ee.rId,Type:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing&quot;,Target:`../drawings/${ee.name}.xml`}));let z=this.preImageId===U.imageId?Z[U.imageId]:Z[ee.rels.length];z||(z=Y(ee.rels),Z[ee.rels.length]=z,ee.rels.push({Id:z,Type:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/image&quot;,Target:`../media/${ie.name}.${ie.extension}`}));const I={picture:{rId:z},range:U.range};if(U.hyperlinks&amp;&amp;U.hyperlinks.hyperlink){const X=Y(ee.rels);Z[ee.rels.length]=X,I.picture.hyperlinks={tooltip:U.hyperlinks.tooltip,rId:X},ee.rels.push({Id:X,Type:l.Hyperlink,Target:U.hyperlinks.hyperlink,TargetMode:&quot;External&quot;})}this.preImageId=U.imageId,ee.anchors.push(I)}}),M.tables.forEach(U=&gt;{const ee=Y(B);U.rId=ee,B.push({Id:ee,Type:l.Table,Target:&quot;../tables/&quot;+U.target}),U.columns.forEach(z=&gt;{const{style:I}=z;I&amp;&amp;(z.dxfId=R.styles.addDxfStyle(I))})}),this.map.extLst.prepare(M,R)}render(M,R){M.openXml(u.StdDocAttributes),M.openNode(&quot;worksheet&quot;,S.WORKSHEET_ATTRIBUTES);const B=R.properties?{defaultRowHeight:R.properties.defaultRowHeight,dyDescent:R.properties.dyDescent,outlineLevelCol:R.properties.outlineLevelCol,outlineLevelRow:R.properties.outlineLevelRow}:void 0;R.properties&amp;&amp;R.properties.defaultColWidth&amp;&amp;(B.defaultColWidth=R.properties.defaultColWidth);const Y={outlineProperties:R.properties&amp;&amp;R.properties.outlineProperties,tabColor:R.properties&amp;&amp;R.properties.tabColor,pageSetup:R.pageSetup&amp;&amp;R.pageSetup.fitToPage?{fitToPage:R.pageSetup.fitToPage}:void 0},Z=R.pageSetup&amp;&amp;R.pageSetup.margins,ie={showRowColHeaders:R.pageSetup&amp;&amp;R.pageSetup.showRowColHeaders,showGridLines:R.pageSetup&amp;&amp;R.pageSetup.showGridLines,horizontalCentered:R.pageSetup&amp;&amp;R.pageSetup.horizontalCentered,verticalCentered:R.pageSetup&amp;&amp;R.pageSetup.verticalCentered},U=R.sheetProtection;this.map.sheetPr.render(M,Y),this.map.dimension.render(M,R.dimensions),this.map.sheetViews.render(M,R.views),this.map.sheetFormatPr.render(M,B),this.map.cols.render(M,R.cols),this.map.sheetData.render(M,R.rows),this.map.sheetProtection.render(M,U),this.map.autoFilter.render(M,R.autoFilter),this.map.mergeCells.render(M,R.mergeCells),this.map.conditionalFormatting.render(M,R.conditionalFormattings),this.map.dataValidations.render(M,R.dataValidations),this.map.hyperlinks.render(M,R.hyperlinks),this.map.printOptions.render(M,ie),this.map.pageMargins.render(M,Z),this.map.pageSetup.render(M,R.pageSetup),this.map.headerFooter.render(M,R.headerFooter),this.map.rowBreaks.render(M,R.rowBreaks),this.map.drawing.render(M,R.drawing),this.map.picture.render(M,R.background),this.map.tableParts.render(M,R.tables),this.map.extLst.render(M,R),R.rels&amp;&amp;R.rels.forEach(ee=&gt;{ee.Type===l.VmlDrawing&amp;&amp;M.leafNode(&quot;legacyDrawing&quot;,{&quot;r:id&quot;:ee.Id})}),M.closeNode()}parseOpen(M){return this.parser?(this.parser.parseOpen(M),!0):M.name===&quot;worksheet&quot;?(i.each(this.map,R=&gt;{R.reset()}),!0):(this.map[M.name]&amp;&amp;!this.ignoreNodes.includes(M.name)&amp;&amp;(this.parser=this.map[M.name],this.parser.parseOpen(M)),!0)}parseText(M){this.parser&amp;&amp;this.parser.parseText(M)}parseClose(M){if(this.parser)return this.parser.parseClose(M)||(this.parser=void 0),!0;if(M===&quot;worksheet&quot;){const R=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&amp;&amp;this.map.sheetPr.model.tabColor&amp;&amp;(R.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&amp;&amp;this.map.sheetPr.model.outlineProperties&amp;&amp;(R.outlineProperties=this.map.sheetPr.model.outlineProperties);const B={fitToPage:this.map.sheetPr.model&amp;&amp;this.map.sheetPr.model.pageSetup&amp;&amp;this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},Y=Object.assign(B,this.map.pageSetup.model,this.map.printOptions.model),Z=k(this.map.conditionalFormatting.model,this.map.extLst.model&amp;&amp;this.map.extLst.model[&quot;x14:conditionalFormattings&quot;]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:R,views:this.map.sheetViews.model,pageSetup:Y,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:Z},this.map.autoFilter.model&amp;&amp;(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&amp;&amp;(this.model.sheetProtection=this.map.sheetProtection.model),!1}else return!0}reconcile(M,R){const B=(M.relationships||[]).reduce((Z,ie)=&gt;{if(Z[ie.Id]=ie,ie.Type===l.Comments&amp;&amp;(M.comments=R.comments[ie.Target].comments),ie.Type===l.VmlDrawing&amp;&amp;M.comments&amp;&amp;M.comments.length){const U=R.vmlDrawings[ie.Target].comments;M.comments.forEach((ee,z)=&gt;{ee.note=Object.assign({},ee.note,U[z])})}return Z},{});if(R.commentsMap=(M.comments||[]).reduce((Z,ie)=&gt;(ie.ref&amp;&amp;(Z[ie.ref]=ie),Z),{}),R.hyperlinkMap=(M.hyperlinks||[]).reduce((Z,ie)=&gt;(ie.rId&amp;&amp;(Z[ie.address]=B[ie.rId].Target),Z),{}),R.formulae={},M.rows=M.rows&amp;&amp;M.rows.filter(Boolean)||[],M.rows.forEach(Z=&gt;{Z.cells=Z.cells&amp;&amp;Z.cells.filter(Boolean)||[]}),this.map.cols.reconcile(M.cols,R),this.map.sheetData.reconcile(M.rows,R),this.map.conditionalFormatting.reconcile(M.conditionalFormattings,R),M.media=[],M.drawing){const Z=B[M.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(Z){const ie=Z[1];R.drawings[ie].anchors.forEach(U=&gt;{if(U.medium){const ee={type:&quot;image&quot;,imageId:U.medium.index,range:U.range,hyperlinks:U.picture.hyperlinks};M.media.push(ee)}})}}const Y=M.background&amp;&amp;B[M.background.rId];if(Y){const Z=Y.Target.split(&quot;/media/&quot;)[1],ie=R.mediaIndex&amp;&amp;R.mediaIndex[Z];ie!==void 0&amp;&amp;M.media.push({type:&quot;background&quot;,imageId:ie})}M.tables=(M.tables||[]).map(Z=&gt;{const ie=B[Z.rId];return R.tables[ie.Target]}),delete M.relationships,delete M.hyperlinks,delete M.comments}}S.WORKSHEET_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;,&quot;xmlns:r&quot;:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships&quot;,&quot;xmlns:mc&quot;:&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;,&quot;mc:Ignorable&quot;:&quot;x14ac&quot;,&quot;xmlns:x14ac&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac&quot;},n.exports=S},{&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/under-dash&quot;:26,&quot;../../../utils/xml-stream&quot;:28,&quot;../../rel-type&quot;:31,&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;./auto-filter-xform&quot;:72,&quot;./cf/conditional-formattings-xform&quot;:87,&quot;./col-xform&quot;:92,&quot;./data-validations-xform&quot;:93,&quot;./dimension-xform&quot;:94,&quot;./drawing-xform&quot;:95,&quot;./ext-lst-xform&quot;:96,&quot;./header-footer-xform&quot;:97,&quot;./hyperlink-xform&quot;:98,&quot;./merge-cell-xform&quot;:99,&quot;./merges&quot;:100,&quot;./page-margins-xform&quot;:103,&quot;./page-setup-xform&quot;:105,&quot;./picture-xform&quot;:106,&quot;./print-options-xform&quot;:107,&quot;./row-breaks-xform&quot;:108,&quot;./row-xform&quot;:109,&quot;./sheet-format-properties-xform&quot;:110,&quot;./sheet-properties-xform&quot;:111,&quot;./sheet-protection-xform&quot;:112,&quot;./sheet-view-xform&quot;:113,&quot;./table-part-xform&quot;:114}],116:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this.tag=a.tag,this.attr=a.attr}render(a,u){u&amp;&amp;(a.openNode(this.tag),a.closeNode())}parseOpen(a){a.name===this.tag&amp;&amp;(this.model=!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],117:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this.tag=a.tag,this.attr=a.attr,this.attrs=a.attrs,this._format=a.format||function(u){try{return Number.isNaN(u.getTime())?&quot;&quot;:u.toISOString()}catch{return&quot;&quot;}},this._parse=a.parse||function(u){return new Date(u)}}render(a,u){u&amp;&amp;(a.openNode(this.tag),this.attrs&amp;&amp;a.addAttributes(this.attrs),this.attr?a.addAttribute(this.attr,this._format(u)):a.writeText(this._format(u)),a.closeNode())}parseOpen(a){a.name===this.tag&amp;&amp;(this.attr?this.model=this._parse(a.attributes[this.attr]):this.text=[])}parseText(a){this.attr||this.text.push(a)}parseClose(){return this.attr||(this.model=this._parse(this.text.join(&quot;&quot;))),!1}}},{&quot;../base-xform&quot;:32}],118:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this.tag=a.tag,this.attr=a.attr,this.attrs=a.attrs,this.zero=a.zero}render(a,u){(u||this.zero)&amp;&amp;(a.openNode(this.tag),this.attrs&amp;&amp;a.addAttributes(this.attrs),this.attr?a.addAttribute(this.attr,u):a.writeText(u),a.closeNode())}parseOpen(a){return a.name===this.tag&amp;&amp;(this.attr?this.model=parseInt(a.attributes[this.attr],10):this.text=[],!0)}parseText(a){this.attr||this.text.push(a)}parseClose(){return this.attr||(this.model=parseInt(this.text.join(&quot;&quot;)||0,10)),!1}}},{&quot;../base-xform&quot;:32}],119:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this.tag=a.tag,this.attr=a.attr,this.attrs=a.attrs}render(a,u){u!==void 0&amp;&amp;(a.openNode(this.tag),this.attrs&amp;&amp;a.addAttributes(this.attrs),this.attr?a.addAttribute(this.attr,u):a.writeText(u),a.closeNode())}parseOpen(a){a.name===this.tag&amp;&amp;(this.attr?this.model=a.attributes[this.attr]:this.text=[])}parseText(a){this.attr||this.text.push(a)}parseClose(){return this.attr||(this.model=this.text.join(&quot;&quot;)),!1}}},{&quot;../base-xform&quot;:32}],120:[function(t,n,o){const i=t(&quot;./base-xform&quot;),a=t(&quot;../../utils/xml-stream&quot;);n.exports=class extends i{constructor(u){super(),this._model=u}render(u){if(!this._xml){const l=new a;(function s(d,f){d.openNode(f.tag,f.$),f.c&amp;&amp;f.c.forEach(h=&gt;{s(d,h)}),f.t&amp;&amp;d.writeText(f.t),d.closeNode()})(l,this._model),this._xml=l.xml}u.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose(u){return u!==this._model.tag}}},{&quot;../../utils/xml-stream&quot;:28,&quot;./base-xform&quot;:32}],121:[function(t,n,o){const i=t(&quot;./text-xform&quot;),a=t(&quot;./rich-text-xform&quot;),u=t(&quot;../base-xform&quot;);n.exports=class extends u{constructor(){super(),this.map={r:new a,t:new i}}get tag(){return&quot;rPh&quot;}render(l,s){if(l.openNode(this.tag,{sb:s.sb||0,eb:s.eb||0}),s&amp;&amp;s.hasOwnProperty(&quot;richText&quot;)&amp;&amp;s.richText){const{r:d}=this.map;s.richText.forEach(f=&gt;{d.render(l,f)})}else s&amp;&amp;this.map.t.render(l,s.text);l.closeNode()}parseOpen(l){const{name:s}=l;return this.parser?(this.parser.parseOpen(l),!0):s===this.tag?(this.model={sb:parseInt(l.attributes.sb,10),eb:parseInt(l.attributes.eb,10)},!0):(this.parser=this.map[s],!!this.parser&amp;&amp;(this.parser.parseOpen(l),!0))}parseText(l){this.parser&amp;&amp;this.parser.parseText(l)}parseClose(l){if(this.parser){if(!this.parser.parseClose(l)){switch(l){case&quot;r&quot;:{let s=this.model.richText;s||(s=this.model.richText=[]),s.push(this.parser.model);break}case&quot;t&quot;:this.model.text=this.parser.model}this.parser=void 0}return!0}return l!==this.tag}}},{&quot;../base-xform&quot;:32,&quot;./rich-text-xform&quot;:122,&quot;./text-xform&quot;:125}],122:[function(t,n,o){const i=t(&quot;./text-xform&quot;),a=t(&quot;../style/font-xform&quot;),u=t(&quot;../base-xform&quot;);class l extends u{constructor(d){super(),this.model=d}get tag(){return&quot;r&quot;}get textXform(){return this._textXform||(this._textXform=new i)}get fontXform(){return this._fontXform||(this._fontXform=new a(l.FONT_OPTIONS))}render(d,f){f=f||this.model,d.openNode(&quot;r&quot;),f.font&amp;&amp;this.fontXform.render(d,f.font),this.textXform.render(d,f.text),d.closeNode()}parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;switch(d.name){case&quot;r&quot;:return this.model={},!0;case&quot;t&quot;:return this.parser=this.textXform,this.parser.parseOpen(d),!0;case&quot;rPr&quot;:return this.parser=this.fontXform,this.parser.parseOpen(d),!0;default:return!1}}parseText(d){this.parser&amp;&amp;this.parser.parseText(d)}parseClose(d){switch(d){case&quot;r&quot;:return!1;case&quot;t&quot;:return this.model.text=this.parser.model,this.parser=void 0,!0;case&quot;rPr&quot;:return this.model.font=this.parser.model,this.parser=void 0,!0;default:return this.parser&amp;&amp;this.parser.parseClose(d),!0}}}l.FONT_OPTIONS={tagName:&quot;rPr&quot;,fontNameTag:&quot;rFont&quot;},n.exports=l},{&quot;../base-xform&quot;:32,&quot;../style/font-xform&quot;:131,&quot;./text-xform&quot;:125}],123:[function(t,n,o){const i=t(&quot;./text-xform&quot;),a=t(&quot;./rich-text-xform&quot;),u=t(&quot;./phonetic-text-xform&quot;),l=t(&quot;../base-xform&quot;);n.exports=class extends l{constructor(s){super(),this.model=s,this.map={r:new a,t:new i,rPh:new u}}get tag(){return&quot;si&quot;}render(s,d){s.openNode(this.tag),d&amp;&amp;d.hasOwnProperty(&quot;richText&quot;)&amp;&amp;d.richText?d.richText.length?d.richText.forEach(f=&gt;{this.map.r.render(s,f)}):this.map.t.render(s,&quot;&quot;):d!=null&amp;&amp;this.map.t.render(s,d),s.closeNode()}parseOpen(s){const{name:d}=s;return this.parser?(this.parser.parseOpen(s),!0):d===this.tag?(this.model={},!0):(this.parser=this.map[d],!!this.parser&amp;&amp;(this.parser.parseOpen(s),!0))}parseText(s){this.parser&amp;&amp;this.parser.parseText(s)}parseClose(s){if(this.parser){if(!this.parser.parseClose(s)){switch(s){case&quot;r&quot;:{let d=this.model.richText;d||(d=this.model.richText=[]),d.push(this.parser.model);break}case&quot;t&quot;:this.model=this.parser.model}this.parser=void 0}return!0}return s!==this.tag}}},{&quot;../base-xform&quot;:32,&quot;./phonetic-text-xform&quot;:121,&quot;./rich-text-xform&quot;:122,&quot;./text-xform&quot;:125}],124:[function(t,n,o){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;./shared-string-xform&quot;);n.exports=class extends a{constructor(l){super(),this.model=l||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new u)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString(l){return this.model.values[l]}add(l){return l.richText?this.addRichText(l):this.addText(l)}addText(l){let s=this.hash[l];return s===void 0&amp;&amp;(s=this.hash[l]=this.model.values.length,this.model.values.push(l)),this.model.count++,s}addRichText(l){const s=this.sharedStringXform.toXml(l);let d=this.rich[s];return d===void 0&amp;&amp;(d=this.rich[s]=this.model.values.length,this.model.values.push(l)),this.model.count++,d}render(l,s){s=s||this._values,l.openXml(i.StdDocAttributes),l.openNode(&quot;sst&quot;,{xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;,count:s.count,uniqueCount:s.values.length});const d=this.sharedStringXform;s.values.forEach(f=&gt;{d.render(l,f)}),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case&quot;sst&quot;:return!0;case&quot;si&quot;:return this.parser=this.sharedStringXform,this.parser.parseOpen(l),!0;default:throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(l))}}parseText(l){this.parser&amp;&amp;this.parser.parseText(l)}parseClose(l){if(this.parser)return this.parser.parseClose(l)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;if(l===&quot;sst&quot;)return!1;throw new Error(&quot;Unexpected xml node in parseClose: &quot;+l)}}},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./shared-string-xform&quot;:123}],125:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;t&quot;}render(a,u){a.openNode(&quot;t&quot;),/^\s|\n|\s$/.test(u)&amp;&amp;a.addAttribute(&quot;xml:space&quot;,&quot;preserve&quot;),a.writeText(u),a.closeNode()}get model(){return this._text.join(&quot;&quot;).replace(/_x([0-9A-F]{4})_/g,(a,u)=&gt;String.fromCharCode(parseInt(u,16)))}parseOpen(a){return a.name===&quot;t&quot;?(this._text=[],!0):!1}parseText(a){this._text.push(a)}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],126:[function(t,n,o){const i=t(&quot;../../../doc/enums&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),l={horizontalValues:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;,&quot;fill&quot;,&quot;centerContinuous&quot;,&quot;distributed&quot;,&quot;justify&quot;].reduce((d,f)=&gt;(d[f]=!0,d),{}),horizontal(d){return this.horizontalValues[d]?d:void 0},verticalValues:[&quot;top&quot;,&quot;middle&quot;,&quot;bottom&quot;,&quot;distributed&quot;,&quot;justify&quot;].reduce((d,f)=&gt;(d[f]=!0,d),{}),vertical(d){return d===&quot;middle&quot;?&quot;center&quot;:this.verticalValues[d]?d:void 0},wrapText:d=&gt;!!d||void 0,shrinkToFit:d=&gt;!!d||void 0,textRotation(d){return d===&quot;vertical&quot;||(d=a.validInt(d))&gt;=-90&amp;&amp;d&lt;=90?d:void 0},indent:d=&gt;(d=a.validInt(d),Math.max(0,d)),readingOrder(d){switch(d){case&quot;ltr&quot;:return i.ReadingOrder.LeftToRight;case&quot;rtl&quot;:return i.ReadingOrder.RightToLeft;default:return}}},s={toXml(d){if(d=l.textRotation(d)){if(d===&quot;vertical&quot;)return 255;const f=Math.round(d);if(f&gt;=0&amp;&amp;f&lt;=90)return f;if(f&lt;0&amp;&amp;f&gt;=-90)return 90-f}},toModel(d){const f=a.validInt(d);if(f!==void 0){if(f===255)return&quot;vertical&quot;;if(f&gt;=0&amp;&amp;f&lt;=90)return f;if(f&gt;90&amp;&amp;f&lt;=180)return 90-f}}};n.exports=class extends u{get tag(){return&quot;alignment&quot;}render(d,f){d.addRollback(),d.openNode(&quot;alignment&quot;);let h=!1;function m(p,b){b&amp;&amp;(d.addAttribute(p,b),h=!0)}m(&quot;horizontal&quot;,l.horizontal(f.horizontal)),m(&quot;vertical&quot;,l.vertical(f.vertical)),m(&quot;wrapText&quot;,!!l.wrapText(f.wrapText)&amp;&amp;&quot;1&quot;),m(&quot;shrinkToFit&quot;,!!l.shrinkToFit(f.shrinkToFit)&amp;&amp;&quot;1&quot;),m(&quot;indent&quot;,l.indent(f.indent)),m(&quot;textRotation&quot;,s.toXml(f.textRotation)),m(&quot;readingOrder&quot;,l.readingOrder(f.readingOrder)),d.closeNode(),h?d.commit():d.rollback()}parseOpen(d){const f={};let h=!1;function m(p,b,g){p&amp;&amp;(f[b]=g,h=!0)}m(d.attributes.horizontal,&quot;horizontal&quot;,d.attributes.horizontal),m(d.attributes.vertical,&quot;vertical&quot;,d.attributes.vertical===&quot;center&quot;?&quot;middle&quot;:d.attributes.vertical),m(d.attributes.wrapText,&quot;wrapText&quot;,a.parseBoolean(d.attributes.wrapText)),m(d.attributes.shrinkToFit,&quot;shrinkToFit&quot;,a.parseBoolean(d.attributes.shrinkToFit)),m(d.attributes.indent,&quot;indent&quot;,parseInt(d.attributes.indent,10)),m(d.attributes.textRotation,&quot;textRotation&quot;,s.toModel(d.attributes.textRotation)),m(d.attributes.readingOrder,&quot;readingOrder&quot;,d.attributes.readingOrder===&quot;2&quot;?&quot;rtl&quot;:&quot;ltr&quot;),this.model=h?f:null}parseText(){}parseClose(){return!1}}},{&quot;../../../doc/enums&quot;:7,&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],127:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;./color-xform&quot;);class l extends i{constructor(d){super(),this.name=d,this.map={color:new u}}get tag(){return this.name}render(d,f,h){const m=f&amp;&amp;f.color||h||this.defaultColor;d.openNode(this.name),f&amp;&amp;f.style&amp;&amp;(d.addAttribute(&quot;style&quot;,f.style),m&amp;&amp;this.map.color.render(d,m)),d.closeNode()}parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;switch(d.name){case this.name:{const{style:f}=d.attributes;return this.model=f?{style:f}:void 0,!0}case&quot;color&quot;:return this.parser=this.map.color,this.parser.parseOpen(d),!0;default:return!1}}parseText(d){this.parser&amp;&amp;this.parser.parseText(d)}parseClose(d){return this.parser?(this.parser.parseClose(d)||(this.parser=void 0),!0):(d===this.name&amp;&amp;this.map.color.model&amp;&amp;(this.model||(this.model={}),this.model.color=this.map.color.model),!1)}validStyle(d){return l.validStyleValues[d]}}l.validStyleValues=[&quot;thin&quot;,&quot;dashed&quot;,&quot;dotted&quot;,&quot;dashDot&quot;,&quot;hair&quot;,&quot;dashDotDot&quot;,&quot;slantDashDot&quot;,&quot;mediumDashed&quot;,&quot;mediumDashDotDot&quot;,&quot;mediumDashDot&quot;,&quot;medium&quot;,&quot;double&quot;,&quot;thick&quot;].reduce((s,d)=&gt;(s[d]=!0,s),{}),n.exports=class extends i{constructor(){super(),this.map={top:new l(&quot;top&quot;),left:new l(&quot;left&quot;),bottom:new l(&quot;bottom&quot;),right:new l(&quot;right&quot;),diagonal:new l(&quot;diagonal&quot;)}}render(s,d){const{color:f}=d;function h(m,p){m&amp;&amp;!m.color&amp;&amp;d.color&amp;&amp;(m={...m,color:d.color}),p.render(s,m,f)}s.openNode(&quot;border&quot;),d.diagonal&amp;&amp;d.diagonal.style&amp;&amp;(d.diagonal.up&amp;&amp;s.addAttribute(&quot;diagonalUp&quot;,&quot;1&quot;),d.diagonal.down&amp;&amp;s.addAttribute(&quot;diagonalDown&quot;,&quot;1&quot;)),h(d.left,this.map.left),h(d.right,this.map.right),h(d.top,this.map.top),h(d.bottom,this.map.bottom),h(d.diagonal,this.map.diagonal),s.closeNode()}parseOpen(s){return this.parser?(this.parser.parseOpen(s),!0):s.name===&quot;border&quot;?(this.reset(),this.diagonalUp=a.parseBoolean(s.attributes.diagonalUp),this.diagonalDown=a.parseBoolean(s.attributes.diagonalDown),!0):(this.parser=this.map[s.name],!!this.parser&amp;&amp;(this.parser.parseOpen(s),!0))}parseText(s){this.parser&amp;&amp;this.parser.parseText(s)}parseClose(s){if(this.parser)return this.parser.parseClose(s)||(this.parser=void 0),!0;if(s===&quot;border&quot;){const d=this.model={},f=function(h,m,p){m&amp;&amp;(p&amp;&amp;Object.assign(m,p),d[h]=m)};f(&quot;left&quot;,this.map.left.model),f(&quot;right&quot;,this.map.right.model),f(&quot;top&quot;,this.map.top.model),f(&quot;bottom&quot;,this.map.bottom.model),f(&quot;diagonal&quot;,this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;./color-xform&quot;:128}],128:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this.name=a||&quot;color&quot;}get tag(){return this.name}render(a,u){return!!u&amp;&amp;(a.openNode(this.name),u.argb?a.addAttribute(&quot;rgb&quot;,u.argb):u.theme!==void 0?(a.addAttribute(&quot;theme&quot;,u.theme),u.tint!==void 0&amp;&amp;a.addAttribute(&quot;tint&quot;,u.tint)):u.indexed!==void 0?a.addAttribute(&quot;indexed&quot;,u.indexed):a.addAttribute(&quot;auto&quot;,&quot;1&quot;),a.closeNode(),!0)}parseOpen(a){return a.name===this.name&amp;&amp;(a.attributes.rgb?this.model={argb:a.attributes.rgb}:a.attributes.theme?(this.model={theme:parseInt(a.attributes.theme,10)},a.attributes.tint&amp;&amp;(this.model.tint=parseFloat(a.attributes.tint))):a.attributes.indexed?this.model={indexed:parseInt(a.attributes.indexed,10)}:this.model=void 0,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],129:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;./alignment-xform&quot;),u=t(&quot;./border-xform&quot;),l=t(&quot;./fill-xform&quot;),s=t(&quot;./font-xform&quot;),d=t(&quot;./numfmt-xform&quot;),f=t(&quot;./protection-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={alignment:new a,border:new u,fill:new l,font:new s,numFmt:new d,protection:new f}}get tag(){return&quot;dxf&quot;}render(h,m){if(h.openNode(this.tag),m.font&amp;&amp;this.map.font.render(h,m.font),m.numFmt&amp;&amp;m.numFmtId){const p={id:m.numFmtId,formatCode:m.numFmt};this.map.numFmt.render(h,p)}m.fill&amp;&amp;this.map.fill.render(h,m.fill),m.alignment&amp;&amp;this.map.alignment.render(h,m.alignment),m.border&amp;&amp;this.map.border.render(h,m.border),m.protection&amp;&amp;this.map.protection.render(h,m.protection),h.closeNode()}parseOpen(h){return this.parser?(this.parser.parseOpen(h),!0):h.name===this.tag?(this.reset(),!0):(this.parser=this.map[h.name],this.parser&amp;&amp;this.parser.parseOpen(h),!0)}parseText(h){this.parser&amp;&amp;this.parser.parseText(h)}parseClose(h){return this.parser?(this.parser.parseClose(h)||(this.parser=void 0),!0):h!==this.tag||(this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1)}}},{&quot;../base-xform&quot;:32,&quot;./alignment-xform&quot;:126,&quot;./border-xform&quot;:127,&quot;./fill-xform&quot;:130,&quot;./font-xform&quot;:131,&quot;./numfmt-xform&quot;:132,&quot;./protection-xform&quot;:133}],130:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;./color-xform&quot;);class u extends i{constructor(){super(),this.map={color:new a}}get tag(){return&quot;stop&quot;}render(h,m){h.openNode(&quot;stop&quot;),h.addAttribute(&quot;position&quot;,m.position),this.map.color.render(h,m.color),h.closeNode()}parseOpen(h){if(this.parser)return this.parser.parseOpen(h),!0;switch(h.name){case&quot;stop&quot;:return this.model={position:parseFloat(h.attributes.position)},!0;case&quot;color&quot;:return this.parser=this.map.color,this.parser.parseOpen(h),!0;default:return!1}}parseText(){}parseClose(h){return!!this.parser&amp;&amp;(this.parser.parseClose(h)||(this.model.color=this.parser.model,this.parser=void 0),!0)}}class l extends i{constructor(){super(),this.map={fgColor:new a(&quot;fgColor&quot;),bgColor:new a(&quot;bgColor&quot;)}}get name(){return&quot;pattern&quot;}get tag(){return&quot;patternFill&quot;}render(h,m){h.openNode(&quot;patternFill&quot;),h.addAttribute(&quot;patternType&quot;,m.pattern),m.fgColor&amp;&amp;this.map.fgColor.render(h,m.fgColor),m.bgColor&amp;&amp;this.map.bgColor.render(h,m.bgColor),h.closeNode()}parseOpen(h){return this.parser?(this.parser.parseOpen(h),!0):h.name===&quot;patternFill&quot;?(this.model={type:&quot;pattern&quot;,pattern:h.attributes.patternType},!0):(this.parser=this.map[h.name],!!this.parser&amp;&amp;(this.parser.parseOpen(h),!0))}parseText(h){this.parser&amp;&amp;this.parser.parseText(h)}parseClose(h){return!!this.parser&amp;&amp;(this.parser.parseClose(h)||(this.parser.model&amp;&amp;(this.model[h]=this.parser.model),this.parser=void 0),!0)}}class s extends i{constructor(){super(),this.map={stop:new u}}get name(){return&quot;gradient&quot;}get tag(){return&quot;gradientFill&quot;}render(h,m){switch(h.openNode(&quot;gradientFill&quot;),m.gradient){case&quot;angle&quot;:h.addAttribute(&quot;degree&quot;,m.degree);break;case&quot;path&quot;:h.addAttribute(&quot;type&quot;,&quot;path&quot;),m.center.left&amp;&amp;(h.addAttribute(&quot;left&quot;,m.center.left),m.center.right===void 0&amp;&amp;h.addAttribute(&quot;right&quot;,m.center.left)),m.center.right&amp;&amp;h.addAttribute(&quot;right&quot;,m.center.right),m.center.top&amp;&amp;(h.addAttribute(&quot;top&quot;,m.center.top),m.center.bottom===void 0&amp;&amp;h.addAttribute(&quot;bottom&quot;,m.center.top)),m.center.bottom&amp;&amp;h.addAttribute(&quot;bottom&quot;,m.center.bottom)}const p=this.map.stop;m.stops.forEach(b=&gt;{p.render(h,b)}),h.closeNode()}parseOpen(h){if(this.parser)return this.parser.parseOpen(h),!0;switch(h.name){case&quot;gradientFill&quot;:{const m=this.model={stops:[]};return h.attributes.degree?(m.gradient=&quot;angle&quot;,m.degree=parseInt(h.attributes.degree,10)):h.attributes.type===&quot;path&quot;&amp;&amp;(m.gradient=&quot;path&quot;,m.center={left:h.attributes.left?parseFloat(h.attributes.left):0,top:h.attributes.top?parseFloat(h.attributes.top):0},h.attributes.right!==h.attributes.left&amp;&amp;(m.center.right=h.attributes.right?parseFloat(h.attributes.right):0),h.attributes.bottom!==h.attributes.top&amp;&amp;(m.center.bottom=h.attributes.bottom?parseFloat(h.attributes.bottom):0)),!0}case&quot;stop&quot;:return this.parser=this.map.stop,this.parser.parseOpen(h),!0;default:return!1}}parseText(h){this.parser&amp;&amp;this.parser.parseText(h)}parseClose(h){return!!this.parser&amp;&amp;(this.parser.parseClose(h)||(this.model.stops.push(this.parser.model),this.parser=void 0),!0)}}class d extends i{constructor(){super(),this.map={patternFill:new l,gradientFill:new s}}get tag(){return&quot;fill&quot;}render(h,m){switch(h.addRollback(),h.openNode(&quot;fill&quot;),m.type){case&quot;pattern&quot;:this.map.patternFill.render(h,m);break;case&quot;gradient&quot;:this.map.gradientFill.render(h,m);break;default:return void h.rollback()}h.closeNode(),h.commit()}parseOpen(h){return this.parser?(this.parser.parseOpen(h),!0):h.name===&quot;fill&quot;?(this.model={},!0):(this.parser=this.map[h.name],!!this.parser&amp;&amp;(this.parser.parseOpen(h),!0))}parseText(h){this.parser&amp;&amp;this.parser.parseText(h)}parseClose(h){return!!this.parser&amp;&amp;(this.parser.parseClose(h)||(this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0),!0)}validStyle(h){return d.validPatternValues[h]}}d.validPatternValues=[&quot;none&quot;,&quot;solid&quot;,&quot;darkVertical&quot;,&quot;darkGray&quot;,&quot;mediumGray&quot;,&quot;lightGray&quot;,&quot;gray125&quot;,&quot;gray0625&quot;,&quot;darkHorizontal&quot;,&quot;darkVertical&quot;,&quot;darkDown&quot;,&quot;darkUp&quot;,&quot;darkGrid&quot;,&quot;darkTrellis&quot;,&quot;lightHorizontal&quot;,&quot;lightVertical&quot;,&quot;lightDown&quot;,&quot;lightUp&quot;,&quot;lightGrid&quot;,&quot;lightTrellis&quot;,&quot;lightGrid&quot;].reduce((f,h)=&gt;(f[h]=!0,f),{}),d.StopXform=u,d.PatternFillXform=l,d.GradientFillXform=s,n.exports=d},{&quot;../base-xform&quot;:32,&quot;./color-xform&quot;:128}],131:[function(t,n,o){const i=t(&quot;./color-xform&quot;),a=t(&quot;../simple/boolean-xform&quot;),u=t(&quot;../simple/integer-xform&quot;),l=t(&quot;../simple/string-xform&quot;),s=t(&quot;./underline-xform&quot;),d=t(&quot;../../../utils/under-dash&quot;),f=t(&quot;../base-xform&quot;);class h extends f{constructor(p){super(),this.options=p||h.OPTIONS,this.map={b:{prop:&quot;bold&quot;,xform:new a({tag:&quot;b&quot;,attr:&quot;val&quot;})},i:{prop:&quot;italic&quot;,xform:new a({tag:&quot;i&quot;,attr:&quot;val&quot;})},u:{prop:&quot;underline&quot;,xform:new s},charset:{prop:&quot;charset&quot;,xform:new u({tag:&quot;charset&quot;,attr:&quot;val&quot;})},color:{prop:&quot;color&quot;,xform:new i},condense:{prop:&quot;condense&quot;,xform:new a({tag:&quot;condense&quot;,attr:&quot;val&quot;})},extend:{prop:&quot;extend&quot;,xform:new a({tag:&quot;extend&quot;,attr:&quot;val&quot;})},family:{prop:&quot;family&quot;,xform:new u({tag:&quot;family&quot;,attr:&quot;val&quot;})},outline:{prop:&quot;outline&quot;,xform:new a({tag:&quot;outline&quot;,attr:&quot;val&quot;})},vertAlign:{prop:&quot;vertAlign&quot;,xform:new l({tag:&quot;vertAlign&quot;,attr:&quot;val&quot;})},scheme:{prop:&quot;scheme&quot;,xform:new l({tag:&quot;scheme&quot;,attr:&quot;val&quot;})},shadow:{prop:&quot;shadow&quot;,xform:new a({tag:&quot;shadow&quot;,attr:&quot;val&quot;})},strike:{prop:&quot;strike&quot;,xform:new a({tag:&quot;strike&quot;,attr:&quot;val&quot;})},sz:{prop:&quot;size&quot;,xform:new u({tag:&quot;sz&quot;,attr:&quot;val&quot;})}},this.map[this.options.fontNameTag]={prop:&quot;name&quot;,xform:new l({tag:this.options.fontNameTag,attr:&quot;val&quot;})}}get tag(){return this.options.tagName}render(p,b){const{map:g}=this;p.openNode(this.options.tagName),d.each(this.map,(y,v)=&gt;{g[v].xform.render(p,b[y.prop])}),p.closeNode()}parseOpen(p){return this.parser?(this.parser.parseOpen(p),!0):this.map[p.name]?(this.parser=this.map[p.name].xform,this.parser.parseOpen(p)):p.name===this.options.tagName?(this.model={},!0):!1}parseText(p){this.parser&amp;&amp;this.parser.parseText(p)}parseClose(p){if(this.parser&amp;&amp;!this.parser.parseClose(p)){const b=this.map[p];return this.parser.model&amp;&amp;(this.model[b.prop]=this.parser.model),this.parser=void 0,!0}return p!==this.options.tagName}}h.OPTIONS={tagName:&quot;font&quot;,fontNameTag:&quot;name&quot;},n.exports=h},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32,&quot;../simple/boolean-xform&quot;:116,&quot;../simple/integer-xform&quot;:118,&quot;../simple/string-xform&quot;:119,&quot;./color-xform&quot;:128,&quot;./underline-xform&quot;:136}],132:[function(t,n,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../defaultnumformats&quot;),u=t(&quot;../base-xform&quot;),l=(function(){const d={};return i.each(a,(f,h)=&gt;{f.f&amp;&amp;(d[f.f]=parseInt(h,10))}),d})();class s extends u{constructor(f,h){super(),this.id=f,this.formatCode=h}get tag(){return&quot;numFmt&quot;}render(f,h){f.leafNode(&quot;numFmt&quot;,{numFmtId:h.id,formatCode:h.formatCode})}parseOpen(f){return f.name===&quot;numFmt&quot;?(this.model={id:parseInt(f.attributes.numFmtId,10),formatCode:f.attributes.formatCode.replace(/[\\](.)/g,&quot;$1&quot;)},!0):!1}parseText(){}parseClose(){return!1}}s.getDefaultFmtId=function(d){return l[d]},s.getDefaultFmtCode=function(d){return a[d]&amp;&amp;a[d].f},n.exports=s},{&quot;../../../utils/under-dash&quot;:26,&quot;../../defaultnumformats&quot;:30,&quot;../base-xform&quot;:32}],133:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a={boolean:(u,l)=&gt;u===void 0?l:u};n.exports=class extends i{get tag(){return&quot;protection&quot;}render(u,l){u.addRollback(),u.openNode(&quot;protection&quot;);let s=!1;function d(f,h){h!==void 0&amp;&amp;(u.addAttribute(f,h),s=!0)}d(&quot;locked&quot;,a.boolean(l.locked,!0)?void 0:&quot;0&quot;),d(&quot;hidden&quot;,a.boolean(l.hidden,!1)?&quot;1&quot;:void 0),u.closeNode(),s?u.commit():u.rollback()}parseOpen(u){const l={locked:u.attributes.locked!==&quot;0&quot;,hidden:u.attributes.hidden===&quot;1&quot;},s=!l.locked||l.hidden;this.model=s?l:null}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],134:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;./alignment-xform&quot;),u=t(&quot;./protection-xform&quot;);n.exports=class extends i{constructor(l){super(),this.xfId=!(!l||!l.xfId),this.map={alignment:new a,protection:new u}}get tag(){return&quot;xf&quot;}render(l,s){l.openNode(&quot;xf&quot;,{numFmtId:s.numFmtId||0,fontId:s.fontId||0,fillId:s.fillId||0,borderId:s.borderId||0}),this.xfId&amp;&amp;l.addAttribute(&quot;xfId&quot;,s.xfId||0),s.numFmtId&amp;&amp;l.addAttribute(&quot;applyNumberFormat&quot;,&quot;1&quot;),s.fontId&amp;&amp;l.addAttribute(&quot;applyFont&quot;,&quot;1&quot;),s.fillId&amp;&amp;l.addAttribute(&quot;applyFill&quot;,&quot;1&quot;),s.borderId&amp;&amp;l.addAttribute(&quot;applyBorder&quot;,&quot;1&quot;),s.alignment&amp;&amp;l.addAttribute(&quot;applyAlignment&quot;,&quot;1&quot;),s.protection&amp;&amp;l.addAttribute(&quot;applyProtection&quot;,&quot;1&quot;),s.alignment&amp;&amp;this.map.alignment.render(l,s.alignment),s.protection&amp;&amp;this.map.protection.render(l,s.protection),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case&quot;xf&quot;:return this.model={numFmtId:parseInt(l.attributes.numFmtId,10),fontId:parseInt(l.attributes.fontId,10),fillId:parseInt(l.attributes.fillId,10),borderId:parseInt(l.attributes.borderId,10)},this.xfId&amp;&amp;(this.model.xfId=parseInt(l.attributes.xfId,10)),!0;case&quot;alignment&quot;:return this.parser=this.map.alignment,this.parser.parseOpen(l),!0;case&quot;protection&quot;:return this.parser=this.map.protection,this.parser.parseOpen(l),!0;default:return!1}}parseText(l){this.parser&amp;&amp;this.parser.parseText(l)}parseClose(l){return this.parser?(this.parser.parseClose(l)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):l!==&quot;xf&quot;}}},{&quot;../base-xform&quot;:32,&quot;./alignment-xform&quot;:126,&quot;./protection-xform&quot;:133}],135:[function(t,n,o){const i=t(&quot;../../../doc/enums&quot;),a=t(&quot;../../../utils/xml-stream&quot;),u=t(&quot;../base-xform&quot;),l=t(&quot;../static-xform&quot;),s=t(&quot;../list-xform&quot;),d=t(&quot;./font-xform&quot;),f=t(&quot;./fill-xform&quot;),h=t(&quot;./border-xform&quot;),m=t(&quot;./numfmt-xform&quot;),p=t(&quot;./style-xform&quot;),b=t(&quot;./dxf-xform&quot;);class g extends u{constructor(v){super(),this.map={numFmts:new s({tag:&quot;numFmts&quot;,count:!0,childXform:new m}),fonts:new s({tag:&quot;fonts&quot;,count:!0,childXform:new d,$:{&quot;x14ac:knownFonts&quot;:1}}),fills:new s({tag:&quot;fills&quot;,count:!0,childXform:new f}),borders:new s({tag:&quot;borders&quot;,count:!0,childXform:new h}),cellStyleXfs:new s({tag:&quot;cellStyleXfs&quot;,count:!0,childXform:new p}),cellXfs:new s({tag:&quot;cellXfs&quot;,count:!0,childXform:new p({xfId:!0})}),dxfs:new s({tag:&quot;dxfs&quot;,always:!0,count:!0,childXform:new b}),numFmt:new m,font:new d,fill:new f,border:new h,style:new p({xfId:!0}),cellStyles:g.STATIC_XFORMS.cellStyles,tableStyles:g.STATIC_XFORMS.tableStyles,extLst:g.STATIC_XFORMS.extLst},v&amp;&amp;this.init()}initIndex(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}init(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:&quot;pattern&quot;,pattern:&quot;none&quot;}),this._addFill({type:&quot;pattern&quot;,pattern:&quot;gray125&quot;}),this.weakMap=new WeakMap}render(v,_){_=_||this.model,v.openXml(a.StdDocAttributes),v.openNode(&quot;styleSheet&quot;,g.STYLESHEET_ATTRIBUTES),this.index?(_.numFmts&amp;&amp;_.numFmts.length&amp;&amp;(v.openNode(&quot;numFmts&quot;,{count:_.numFmts.length}),_.numFmts.forEach(C=&gt;{v.writeXml(C)}),v.closeNode()),_.fonts.length||this._addFont({size:11,color:{theme:1},name:&quot;Calibri&quot;,family:2,scheme:&quot;minor&quot;}),v.openNode(&quot;fonts&quot;,{count:_.fonts.length,&quot;x14ac:knownFonts&quot;:1}),_.fonts.forEach(C=&gt;{v.writeXml(C)}),v.closeNode(),v.openNode(&quot;fills&quot;,{count:_.fills.length}),_.fills.forEach(C=&gt;{v.writeXml(C)}),v.closeNode(),v.openNode(&quot;borders&quot;,{count:_.borders.length}),_.borders.forEach(C=&gt;{v.writeXml(C)}),v.closeNode(),this.map.cellStyleXfs.render(v,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),v.openNode(&quot;cellXfs&quot;,{count:_.styles.length}),_.styles.forEach(C=&gt;{v.writeXml(C)}),v.closeNode()):(this.map.numFmts.render(v,_.numFmts),this.map.fonts.render(v,_.fonts),this.map.fills.render(v,_.fills),this.map.borders.render(v,_.borders),this.map.cellStyleXfs.render(v,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render(v,_.styles)),g.STATIC_XFORMS.cellStyles.render(v),this.map.dxfs.render(v,_.dxfs),g.STATIC_XFORMS.tableStyles.render(v),g.STATIC_XFORMS.extLst.render(v),v.closeNode()}parseOpen(v){return this.parser?(this.parser.parseOpen(v),!0):v.name===&quot;styleSheet&quot;?(this.initIndex(),!0):(this.parser=this.map[v.name],this.parser&amp;&amp;this.parser.parseOpen(v),!0)}parseText(v){this.parser&amp;&amp;this.parser.parseText(v)}parseClose(v){if(this.parser)return this.parser.parseClose(v)||(this.parser=void 0),!0;switch(v){case&quot;styleSheet&quot;:{this.model={};const _=(C,O)=&gt;{O.model&amp;&amp;O.model.length&amp;&amp;(this.model[C]=O.model)};if(_(&quot;numFmts&quot;,this.map.numFmts),_(&quot;fonts&quot;,this.map.fonts),_(&quot;fills&quot;,this.map.fills),_(&quot;borders&quot;,this.map.borders),_(&quot;styles&quot;,this.map.cellXfs),_(&quot;dxfs&quot;,this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){const C=this.index.numFmt;this.model.numFmts.forEach(O=&gt;{C[O.id]=O.formatCode})}return!1}default:return!0}}addStyleModel(v,_){if(!v)return 0;if(this.model.fonts.length||this._addFont({size:11,color:{theme:1},name:&quot;Calibri&quot;,family:2,scheme:&quot;minor&quot;}),this.weakMap&amp;&amp;this.weakMap.has(v))return this.weakMap.get(v);const C={};if(_=_||i.ValueType.Number,v.numFmt)C.numFmtId=this._addNumFmtStr(v.numFmt);else switch(_){case i.ValueType.Number:C.numFmtId=this._addNumFmtStr(&quot;General&quot;);break;case i.ValueType.Date:C.numFmtId=this._addNumFmtStr(&quot;mm-dd-yy&quot;)}v.font&amp;&amp;(C.fontId=this._addFont(v.font)),v.border&amp;&amp;(C.borderId=this._addBorder(v.border)),v.fill&amp;&amp;(C.fillId=this._addFill(v.fill)),v.alignment&amp;&amp;(C.alignment=v.alignment),v.protection&amp;&amp;(C.protection=v.protection);const O=this._addStyle(C);return this.weakMap&amp;&amp;this.weakMap.set(v,O),O}getStyleModel(v){const _=this.model.styles[v];if(!_)return null;let C=this.index.model[v];if(C)return C;if(C=this.index.model[v]={},_.numFmtId){const T=this.index.numFmt[_.numFmtId]||m.getDefaultFmtCode(_.numFmtId);T&amp;&amp;(C.numFmt=T)}function O(T,V,F){if(F||F===0){const H=V[F];H&amp;&amp;(C[T]=H)}}return O(&quot;font&quot;,this.model.fonts,_.fontId),O(&quot;border&quot;,this.model.borders,_.borderId),O(&quot;fill&quot;,this.model.fills,_.fillId),_.alignment&amp;&amp;(C.alignment=_.alignment),_.protection&amp;&amp;(C.protection=_.protection),C}addDxfStyle(v){return v.numFmt&amp;&amp;(v.numFmtId=this._addNumFmtStr(v.numFmt)),this.model.dxfs.push(v),this.model.dxfs.length-1}getDxfStyle(v){return this.model.dxfs[v]}_addStyle(v){const _=this.map.style.toXml(v);let C=this.index.style[_];return C===void 0&amp;&amp;(C=this.index.style[_]=this.model.styles.length,this.model.styles.push(_)),C}_addNumFmtStr(v){let _=m.getDefaultFmtId(v);if(_!==void 0||(_=this.index.numFmt[v],_!==void 0))return _;_=this.index.numFmt[v]=164+this.model.numFmts.length;const C=this.map.numFmt.toXml({id:_,formatCode:v});return this.model.numFmts.push(C),_}_addFont(v){const _=this.map.font.toXml(v);let C=this.index.font[_];return C===void 0&amp;&amp;(C=this.index.font[_]=this.model.fonts.length,this.model.fonts.push(_)),C}_addBorder(v){const _=this.map.border.toXml(v);let C=this.index.border[_];return C===void 0&amp;&amp;(C=this.index.border[_]=this.model.borders.length,this.model.borders.push(_)),C}_addFill(v){const _=this.map.fill.toXml(v);let C=this.index.fill[_];return C===void 0&amp;&amp;(C=this.index.fill[_]=this.model.fills.length,this.model.fills.push(_)),C}}g.STYLESHEET_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;,&quot;xmlns:mc&quot;:&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;,&quot;mc:Ignorable&quot;:&quot;x14ac x16r2&quot;,&quot;xmlns:x14ac&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac&quot;,&quot;xmlns:x16r2&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2015/02/main&quot;},g.STATIC_XFORMS={cellStyles:new l({tag:&quot;cellStyles&quot;,$:{count:1},c:[{tag:&quot;cellStyle&quot;,$:{name:&quot;Normal&quot;,xfId:0,builtinId:0}}]}),dxfs:new l({tag:&quot;dxfs&quot;,$:{count:0}}),tableStyles:new l({tag:&quot;tableStyles&quot;,$:{count:0,defaultTableStyle:&quot;TableStyleMedium2&quot;,defaultPivotStyle:&quot;PivotStyleLight16&quot;}}),extLst:new l({tag:&quot;extLst&quot;,c:[{tag:&quot;ext&quot;,$:{uri:&quot;{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}&quot;,&quot;xmlns:x14&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2009/9/main&quot;},c:[{tag:&quot;x14:slicerStyles&quot;,$:{defaultSlicerStyle:&quot;SlicerStyleLight1&quot;}}]},{tag:&quot;ext&quot;,$:{uri:&quot;{9260A510-F301-46a8-8635-F512D64BE5F5}&quot;,&quot;xmlns:x15&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2010/11/main&quot;},c:[{tag:&quot;x15:timelineStyles&quot;,$:{defaultTimelineStyle:&quot;TimeSlicerStyleLight1&quot;}}]}]})},g.Mock=class extends g{constructor(){super(),this.model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:&quot;Calibri&quot;,family:2,scheme:&quot;minor&quot;}],borders:[{}],fills:[{type:&quot;pattern&quot;,pattern:&quot;none&quot;},{type:&quot;pattern&quot;,pattern:&quot;gray125&quot;}]}}parseStream(y){return y.autodrain(),Promise.resolve()}addStyleModel(y,v){return v===i.ValueType.Date?this.dateStyleId:0}get dateStyleId(){if(!this._dateStyleId){const y={numFmtId:m.getDefaultFmtId(&quot;mm-dd-yy&quot;)};this._dateStyleId=this.model.styles.length,this.model.styles.push(y)}return this._dateStyleId}getStyleModel(){return{}}},n.exports=g},{&quot;../../../doc/enums&quot;:7,&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;../static-xform&quot;:120,&quot;./border-xform&quot;:127,&quot;./dxf-xform&quot;:129,&quot;./fill-xform&quot;:130,&quot;./font-xform&quot;:131,&quot;./numfmt-xform&quot;:132,&quot;./style-xform&quot;:134}],136:[function(t,n,o){const i=t(&quot;../base-xform&quot;);class a extends i{constructor(l){super(),this.model=l}get tag(){return&quot;u&quot;}render(l,s){if((s=s||this.model)===!0)l.leafNode(&quot;u&quot;);else{const d=a.Attributes[s];d&amp;&amp;l.leafNode(&quot;u&quot;,d)}}parseOpen(l){l.name===&quot;u&quot;&amp;&amp;(this.model=l.attributes.val||!0)}parseText(){}parseClose(){return!1}}a.Attributes={single:{},double:{val:&quot;double&quot;},singleAccounting:{val:&quot;singleAccounting&quot;},doubleAccounting:{val:&quot;doubleAccounting&quot;}},n.exports=a},{&quot;../base-xform&quot;:32}],137:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;./filter-column-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={filterColumn:new a}}get tag(){return&quot;autoFilter&quot;}prepare(u){u.columns.forEach((l,s)=&gt;{this.map.filterColumn.prepare(l,{index:s})})}render(u,l){return u.openNode(this.tag,{ref:l.autoFilterRef}),l.columns.forEach(s=&gt;{this.map.filterColumn.render(u,s)}),u.closeNode(),!0}parseOpen(u){if(this.parser)return this.parser.parseOpen(u),!0;switch(u.name){case this.tag:return this.model={autoFilterRef:u.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[u.name],this.parser)return this.parseOpen(u),!0;throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(u))}}parseText(u){this.parser&amp;&amp;this.parser.parseText(u)}parseClose(u){if(this.parser)return this.parser.parseClose(u)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;if(u===this.tag)return!1;throw new Error(&quot;Unexpected xml node in parseClose: &quot;+u)}}},{&quot;../base-xform&quot;:32,&quot;./filter-column-xform&quot;:139}],138:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;customFilter&quot;}render(a,u){a.leafNode(this.tag,{val:u.val,operator:u.operator})}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={val:a.attributes.val,operator:a.attributes.operator},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],139:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;../list-xform&quot;),u=t(&quot;./custom-filter-xform&quot;),l=t(&quot;./filter-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={customFilters:new a({tag:&quot;customFilters&quot;,count:!1,empty:!0,childXform:new u}),filters:new a({tag:&quot;filters&quot;,count:!1,empty:!0,childXform:new l})}}get tag(){return&quot;filterColumn&quot;}prepare(s,d){s.colId=d.index.toString()}render(s,d){return d.customFilters?(s.openNode(this.tag,{colId:d.colId,hiddenButton:d.filterButton?&quot;0&quot;:&quot;1&quot;}),this.map.customFilters.render(s,d.customFilters),s.closeNode(),!0):(s.leafNode(this.tag,{colId:d.colId,hiddenButton:d.filterButton?&quot;0&quot;:&quot;1&quot;}),!0)}parseOpen(s){if(this.parser)return this.parser.parseOpen(s),!0;const{attributes:d}=s;switch(s.name){case this.tag:return this.model={filterButton:d.hiddenButton===&quot;0&quot;},!0;default:if(this.parser=this.map[s.name],this.parser)return this.parseOpen(s),!0;throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(s))}}parseText(){}parseClose(s){return this.parser?(this.parser.parseClose(s)||(this.parser=void 0),!0):s===this.tag?(this.model.customFilters=this.map.customFilters.model,!1):!0}}},{&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;./custom-filter-xform&quot;:138,&quot;./filter-xform&quot;:140}],140:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;filter&quot;}render(a,u){a.leafNode(this.tag,{val:u.val})}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={val:a.attributes.val},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],141:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;tableColumn&quot;}prepare(a,u){a.id=u.index+1}render(a,u){return a.leafNode(this.tag,{id:u.id.toString(),name:u.name,totalsRowLabel:u.totalsRowLabel,totalsRowFunction:u.totalsRowFunction,dxfId:u.dxfId}),!0}parseOpen(a){if(a.name===this.tag){const{attributes:u}=a;return this.model={name:u.name,totalsRowLabel:u.totalsRowLabel,totalsRowFunction:u.totalsRowFunction,dxfId:u.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],142:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;tableStyleInfo&quot;}render(a,u){return a.leafNode(this.tag,{name:u.theme?u.theme:void 0,showFirstColumn:u.showFirstColumn?&quot;1&quot;:&quot;0&quot;,showLastColumn:u.showLastColumn?&quot;1&quot;:&quot;0&quot;,showRowStripes:u.showRowStripes?&quot;1&quot;:&quot;0&quot;,showColumnStripes:u.showColumnStripes?&quot;1&quot;:&quot;0&quot;}),!0}parseOpen(a){if(a.name===this.tag){const{attributes:u}=a;return this.model={theme:u.name?u.name:null,showFirstColumn:u.showFirstColumn===&quot;1&quot;,showLastColumn:u.showLastColumn===&quot;1&quot;,showRowStripes:u.showRowStripes===&quot;1&quot;,showColumnStripes:u.showColumnStripes===&quot;1&quot;},!0}return!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],143:[function(t,n,o){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../list-xform&quot;),l=t(&quot;./auto-filter-xform&quot;),s=t(&quot;./table-column-xform&quot;),d=t(&quot;./table-style-info-xform&quot;);class f extends a{constructor(){super(),this.map={autoFilter:new l,tableColumns:new u({tag:&quot;tableColumns&quot;,count:!0,empty:!0,childXform:new s}),tableStyleInfo:new d}}prepare(m,p){this.map.autoFilter.prepare(m),this.map.tableColumns.prepare(m.columns,p)}get tag(){return&quot;table&quot;}render(m,p){m.openXml(i.StdDocAttributes),m.openNode(this.tag,{...f.TABLE_ATTRIBUTES,id:p.id,name:p.name,displayName:p.displayName||p.name,ref:p.tableRef,totalsRowCount:p.totalsRow?&quot;1&quot;:void 0,totalsRowShown:p.totalsRow?void 0:&quot;1&quot;,headerRowCount:p.headerRow?&quot;1&quot;:&quot;0&quot;}),this.map.autoFilter.render(m,p),this.map.tableColumns.render(m,p.columns),this.map.tableStyleInfo.render(m,p.style),m.closeNode()}parseOpen(m){if(this.parser)return this.parser.parseOpen(m),!0;const{name:p,attributes:b}=m;return p===this.tag?(this.reset(),this.model={name:b.name,displayName:b.displayName||b.name,tableRef:b.ref,totalsRow:b.totalsRowCount===&quot;1&quot;,headerRow:b.headerRowCount===&quot;1&quot;}):(this.parser=this.map[m.name],this.parser&amp;&amp;this.parser.parseOpen(m)),!0}parseText(m){this.parser&amp;&amp;this.parser.parseText(m)}parseClose(m){return this.parser?(this.parser.parseClose(m)||(this.parser=void 0),!0):m===this.tag?(this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&amp;&amp;(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((p,b)=&gt;{this.model.columns[b].filterButton=p.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1):!0}reconcile(m,p){m.columns.forEach(b=&gt;{b.dxfId!==void 0&amp;&amp;(b.style=p.styles.getDxfStyle(b.dxfId))})}}f.TABLE_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;,&quot;xmlns:mc&quot;:&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;,&quot;mc:Ignorable&quot;:&quot;xr xr3&quot;,&quot;xmlns:xr&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2014/revision&quot;,&quot;xmlns:xr3&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2016/revision3&quot;},n.exports=f},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;./auto-filter-xform&quot;:137,&quot;./table-column-xform&quot;:141,&quot;./table-style-info-xform&quot;:142}],144:[function(t,n,o){(function(i,a){(function(){const u=t(&quot;fs&quot;),l=t(&quot;jszip&quot;),{PassThrough:s}=t(&quot;readable-stream&quot;),d=t(&quot;../utils/zip-stream&quot;),f=t(&quot;../utils/stream-buf&quot;),h=t(&quot;../utils/utils&quot;),m=t(&quot;../utils/xml-stream&quot;),{bufferToString:p}=t(&quot;../utils/browser-buffer-decode&quot;),b=t(&quot;./xform/style/styles-xform&quot;),g=t(&quot;./xform/core/core-xform&quot;),y=t(&quot;./xform/strings/shared-strings-xform&quot;),v=t(&quot;./xform/core/relationships-xform&quot;),_=t(&quot;./xform/core/content-types-xform&quot;),C=t(&quot;./xform/core/app-xform&quot;),O=t(&quot;./xform/book/workbook-xform&quot;),T=t(&quot;./xform/sheet/worksheet-xform&quot;),V=t(&quot;./xform/drawing/drawing-xform&quot;),F=t(&quot;./xform/table/table-xform&quot;),H=t(&quot;./xform/comment/comments-xform&quot;),W=t(&quot;./xform/comment/vml-notes-xform&quot;),K=t(&quot;./xml/theme1&quot;);class ${constructor(D){this.workbook=D}async readFile(D,E){if(!await h.fs.exists(D))throw new Error(&quot;File not found: &quot;+D);const j=u.createReadStream(D);try{const k=await this.read(j,E);return j.close(),k}catch(k){throw j.close(),k}}parseRels(D){return new v().parseStream(D)}parseWorkbook(D){return new O().parseStream(D)}parseSharedStrings(D){return new y().parseStream(D)}reconcile(D,E){const j=new O,k=new T(E),S=new V,N=new F;j.reconcile(D);const M={media:D.media,mediaIndex:D.mediaIndex};Object.keys(D.drawings).forEach(Y=&gt;{const Z=D.drawings[Y],ie=D.drawingRels[Y];ie&amp;&amp;(M.rels=ie.reduce((U,ee)=&gt;(U[ee.Id]=ee,U),{}),(Z.anchors||[]).forEach(U=&gt;{const ee=U.picture&amp;&amp;U.picture.hyperlinks;ee&amp;&amp;M.rels[ee.rId]&amp;&amp;(ee.hyperlink=M.rels[ee.rId].Target,delete ee.rId)}),S.reconcile(Z,M))});const R={styles:D.styles};Object.values(D.tables).forEach(Y=&gt;{N.reconcile(Y,R)});const B={styles:D.styles,sharedStrings:D.sharedStrings,media:D.media,mediaIndex:D.mediaIndex,date1904:D.properties&amp;&amp;D.properties.date1904,drawings:D.drawings,comments:D.comments,tables:D.tables,vmlDrawings:D.vmlDrawings};D.worksheets.forEach(Y=&gt;{Y.relationships=D.worksheetRels[Y.sheetNo],k.reconcile(Y,B)}),delete D.worksheetHash,delete D.worksheetRels,delete D.globalRels,delete D.sharedStrings,delete D.workbookRels,delete D.sheetDefs,delete D.styles,delete D.mediaIndex,delete D.drawings,delete D.drawingRels,delete D.vmlDrawings}async _processWorksheetEntry(D,E,j,k,S){const N=new T(k),M=await N.parseStream(D);M.sheetNo=j,E.worksheetHash[S]=M,E.worksheets.push(M)}async _processCommentEntry(D,E,j){const k=new H,S=await k.parseStream(D);E.comments[`../${j}.xml`]=S}async _processTableEntry(D,E,j){const k=new F,S=await k.parseStream(D);E.tables[`../tables/${j}.xml`]=S}async _processWorksheetRelsEntry(D,E,j){const k=new v,S=await k.parseStream(D);E.worksheetRels[j]=S}async _processMediaEntry(D,E,j){const k=j.lastIndexOf(&quot;.&quot;);if(k&gt;=1){const S=j.substr(k+1),N=j.substr(0,k);await new Promise((M,R)=&gt;{const B=new f;B.on(&quot;finish&quot;,()=&gt;{E.mediaIndex[j]=E.media.length,E.mediaIndex[N]=E.media.length;const Y={type:&quot;image&quot;,name:N,extension:S,buffer:B.toBuffer()};E.media.push(Y),M()}),D.on(&quot;error&quot;,Y=&gt;{R(Y)}),D.pipe(B)})}}async _processDrawingEntry(D,E,j){const k=new V,S=await k.parseStream(D);E.drawings[j]=S}async _processDrawingRelsEntry(D,E,j){const k=new v,S=await k.parseStream(D);E.drawingRels[j]=S}async _processVmlDrawingEntry(D,E,j){const k=new W,S=await k.parseStream(D);E.vmlDrawings[`../drawings/${j}.vml`]=S}async _processThemeEntry(D,E,j){await new Promise((k,S)=&gt;{const N=new f;D.on(&quot;error&quot;,S),N.on(&quot;error&quot;,S),N.on(&quot;finish&quot;,()=&gt;{E.themes[j]=N.read().toString(),k()}),D.pipe(N)})}createInputStream(){throw new Error(&quot;`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md&quot;)}async read(D,E){!D[Symbol.asyncIterator]&amp;&amp;D.pipe&amp;&amp;(D=D.pipe(new s));const j=[];for await(const k of D)j.push(k);return this.load(a.concat(j),E)}async load(D,E){let j;j=E&amp;&amp;E.base64?a.from(D.toString(),&quot;base64&quot;):D;const k={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},S=await l.loadAsync(j);for(const N of Object.values(S.files))if(!N.dir){let M,R=N.name;if(R[0]===&quot;/&quot;&amp;&amp;(R=R.substr(1)),R.match(/xl\/media\//)||R.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))M=new s,M.write(await N.async(&quot;nodebuffer&quot;));else{let B;M=new s({writableObjectMode:!0,readableObjectMode:!0}),B=i.browser?p(await N.async(&quot;nodebuffer&quot;)):await N.async(&quot;string&quot;);const Y=16384;for(let Z=0;Z&lt;B.length;Z+=Y)M.write(B.substring(Z,Z+Y))}switch(M.end(),R){case&quot;_rels/.rels&quot;:k.globalRels=await this.parseRels(M);break;case&quot;xl/workbook.xml&quot;:{const B=await this.parseWorkbook(M);k.sheets=B.sheets,k.definedNames=B.definedNames,k.views=B.views,k.properties=B.properties,k.calcProperties=B.calcProperties;break}case&quot;xl/_rels/workbook.xml.rels&quot;:k.workbookRels=await this.parseRels(M);break;case&quot;xl/sharedStrings.xml&quot;:k.sharedStrings=new y,await k.sharedStrings.parseStream(M);break;case&quot;xl/styles.xml&quot;:k.styles=new b,await k.styles.parseStream(M);break;case&quot;docProps/app.xml&quot;:{const B=new C,Y=await B.parseStream(M);k.company=Y.company,k.manager=Y.manager;break}case&quot;docProps/core.xml&quot;:{const B=new g,Y=await B.parseStream(M);Object.assign(k,Y);break}default:{let B=R.match(/xl\/worksheets\/sheet(\d+)[.]xml/);if(B){await this._processWorksheetEntry(M,k,B[1],E,R);break}if(B=R.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),B){await this._processWorksheetRelsEntry(M,k,B[1]);break}if(B=R.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/),B){await this._processThemeEntry(M,k,B[1]);break}if(B=R.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/),B){await this._processMediaEntry(M,k,B[1]);break}if(B=R.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/),B){await this._processDrawingEntry(M,k,B[1]);break}if(B=R.match(/xl\/(comments\d+)[.]xml/),B){await this._processCommentEntry(M,k,B[1]);break}if(B=R.match(/xl\/tables\/(table\d+)[.]xml/),B){await this._processTableEntry(M,k,B[1]);break}if(B=R.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/),B){await this._processDrawingRelsEntry(M,k,B[1]);break}if(B=R.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/),B){await this._processVmlDrawingEntry(M,k,B[1]);break}}}}return this.reconcile(k,E),this.workbook.model=k,this.workbook}async addMedia(D,E){await Promise.all(E.media.map(async j=&gt;{if(j.type===&quot;image&quot;){const k=`xl/media/${j.name}.${j.extension}`;if(j.filename){const S=await(function(N,M){return new Promise((R,B)=&gt;{u.readFile(N,M,(Y,Z)=&gt;{Y?B(Y):R(Z)})})})(j.filename);return D.append(S,{name:k})}if(j.buffer)return D.append(j.buffer,{name:k});if(j.base64){const S=j.base64,N=S.substring(S.indexOf(&quot;,&quot;)+1);return D.append(N,{name:k,base64:!0})}}throw new Error(&quot;Unsupported media&quot;)}))}addDrawings(D,E){const j=new V,k=new v;E.worksheets.forEach(S=&gt;{const{drawing:N}=S;if(N){j.prepare(N,{});let M=j.toXml(N);D.append(M,{name:`xl/drawings/${N.name}.xml`}),M=k.toXml(N.rels),D.append(M,{name:`xl/drawings/_rels/${N.name}.xml.rels`})}})}addTables(D,E){const j=new F;E.worksheets.forEach(k=&gt;{const{tables:S}=k;S.forEach(N=&gt;{j.prepare(N,{});const M=j.toXml(N);D.append(M,{name:&quot;xl/tables/&quot;+N.target})})})}async addContentTypes(D,E){const j=new _().toXml(E);D.append(j,{name:&quot;[Content_Types].xml&quot;})}async addApp(D,E){const j=new C().toXml(E);D.append(j,{name:&quot;docProps/app.xml&quot;})}async addCore(D,E){const j=new g;D.append(j.toXml(E),{name:&quot;docProps/core.xml&quot;})}async addThemes(D,E){const j=E.themes||{theme1:K};Object.keys(j).forEach(k=&gt;{const S=j[k],N=`xl/theme/${k}.xml`;D.append(S,{name:N})})}async addOfficeRels(D){const E=new v().toXml([{Id:&quot;rId1&quot;,Type:$.RelType.OfficeDocument,Target:&quot;xl/workbook.xml&quot;},{Id:&quot;rId2&quot;,Type:$.RelType.CoreProperties,Target:&quot;docProps/core.xml&quot;},{Id:&quot;rId3&quot;,Type:$.RelType.ExtenderProperties,Target:&quot;docProps/app.xml&quot;}]);D.append(E,{name:&quot;_rels/.rels&quot;})}async addWorkbookRels(D,E){let j=1;const k=[{Id:&quot;rId&quot;+j++,Type:$.RelType.Styles,Target:&quot;styles.xml&quot;},{Id:&quot;rId&quot;+j++,Type:$.RelType.Theme,Target:&quot;theme/theme1.xml&quot;}];E.sharedStrings.count&amp;&amp;k.push({Id:&quot;rId&quot;+j++,Type:$.RelType.SharedStrings,Target:&quot;sharedStrings.xml&quot;}),E.worksheets.forEach(N=&gt;{N.rId=&quot;rId&quot;+j++,k.push({Id:N.rId,Type:$.RelType.Worksheet,Target:`worksheets/sheet${N.id}.xml`})});const S=new v().toXml(k);D.append(S,{name:&quot;xl/_rels/workbook.xml.rels&quot;})}async addSharedStrings(D,E){E.sharedStrings&amp;&amp;E.sharedStrings.count&amp;&amp;D.append(E.sharedStrings.xml,{name:&quot;xl/sharedStrings.xml&quot;})}async addStyles(D,E){const{xml:j}=E.styles;j&amp;&amp;D.append(j,{name:&quot;xl/styles.xml&quot;})}async addWorkbook(D,E){const j=new O;D.append(j.toXml(E),{name:&quot;xl/workbook.xml&quot;})}async addWorksheets(D,E){const j=new T,k=new v,S=new H,N=new W;E.worksheets.forEach(M=&gt;{let R=new m;j.render(R,M),D.append(R.xml,{name:`xl/worksheets/sheet${M.id}.xml`}),M.rels&amp;&amp;M.rels.length&amp;&amp;(R=new m,k.render(R,M.rels),D.append(R.xml,{name:`xl/worksheets/_rels/sheet${M.id}.xml.rels`})),M.comments.length&gt;0&amp;&amp;(R=new m,S.render(R,M),D.append(R.xml,{name:`xl/comments${M.id}.xml`}),R=new m,N.render(R,M),D.append(R.xml,{name:`xl/drawings/vmlDrawing${M.id}.vml`}))})}_finalize(D){return new Promise((E,j)=&gt;{D.on(&quot;finish&quot;,()=&gt;{E(this)}),D.on(&quot;error&quot;,j),D.finalize()})}prepareModel(D,E){D.creator=D.creator||&quot;ExcelJS&quot;,D.lastModifiedBy=D.lastModifiedBy||&quot;ExcelJS&quot;,D.created=D.created||new Date,D.modified=D.modified||new Date,D.useSharedStrings=E.useSharedStrings===void 0||E.useSharedStrings,D.useStyles=E.useStyles===void 0||E.useStyles,D.sharedStrings=new y,D.styles=D.useStyles?new b(!0):new b.Mock;const j=new O,k=new T;j.prepare(D);const S={sharedStrings:D.sharedStrings,styles:D.styles,date1904:D.properties.date1904,drawingsCount:0,media:D.media};S.drawings=D.drawings=[],S.commentRefs=D.commentRefs=[];let N=0;D.tables=[],D.worksheets.forEach(M=&gt;{M.tables.forEach(R=&gt;{N++,R.target=`table${N}.xml`,R.id=N,D.tables.push(R)}),k.prepare(M,S)})}async write(D,E){E=E||{};const{model:j}=this.workbook,k=new d.ZipWriter(E.zip);return k.pipe(D),this.prepareModel(j,E),await this.addContentTypes(k,j),await this.addOfficeRels(k,j),await this.addWorkbookRels(k,j),await this.addWorksheets(k,j),await this.addSharedStrings(k,j),await this.addDrawings(k,j),await this.addTables(k,j),await Promise.all([this.addThemes(k,j),this.addStyles(k,j)]),await this.addMedia(k,j),await Promise.all([this.addApp(k,j),this.addCore(k,j)]),await this.addWorkbook(k,j),this._finalize(k)}writeFile(D,E){const j=u.createWriteStream(D);return new Promise((k,S)=&gt;{j.on(&quot;finish&quot;,()=&gt;{k()}),j.on(&quot;error&quot;,N=&gt;{S(N)}),this.write(j,E).then(()=&gt;{j.end()}).catch(N=&gt;{S(N)})})}async writeBuffer(D){const E=new f;return await this.write(E,D),E.read()}}$.RelType=t(&quot;./rel-type&quot;),n.exports=$}).call(this)}).call(this,t(&quot;_process&quot;),t(&quot;buffer&quot;).Buffer)},{&quot;../utils/browser-buffer-decode&quot;:16,&quot;../utils/stream-buf&quot;:24,&quot;../utils/utils&quot;:27,&quot;../utils/xml-stream&quot;:28,&quot;../utils/zip-stream&quot;:29,&quot;./rel-type&quot;:31,&quot;./xform/book/workbook-xform&quot;:38,&quot;./xform/comment/comments-xform&quot;:40,&quot;./xform/comment/vml-notes-xform&quot;:45,&quot;./xform/core/app-xform&quot;:51,&quot;./xform/core/content-types-xform&quot;:52,&quot;./xform/core/core-xform&quot;:53,&quot;./xform/core/relationships-xform&quot;:55,&quot;./xform/drawing/drawing-xform&quot;:62,&quot;./xform/sheet/worksheet-xform&quot;:115,&quot;./xform/strings/shared-strings-xform&quot;:124,&quot;./xform/style/styles-xform&quot;:135,&quot;./xform/table/table-xform&quot;:143,&quot;./xml/theme1&quot;:145,_process:467,buffer:220,fs:216,jszip:441,&quot;readable-stream&quot;:491}],145:[function(t,n,o){n.exports=`&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
&lt;a:theme xmlns:a=&quot;http://schemas.openxmlformats.org/drawingml/2006/main&quot; name=&quot;Office Theme&quot;&gt; &lt;a:themeElements&gt; &lt;a:clrScheme name=&quot;Office&quot;&gt; &lt;a:dk1&gt; &lt;a:sysClr val=&quot;windowText&quot; lastClr=&quot;000000&quot;/&gt; &lt;/a:dk1&gt; &lt;a:lt1&gt; &lt;a:sysClr val=&quot;window&quot; lastClr=&quot;FFFFFF&quot;/&gt; &lt;/a:lt1&gt; &lt;a:dk2&gt; &lt;a:srgbClr val=&quot;1F497D&quot;/&gt; &lt;/a:dk2&gt; &lt;a:lt2&gt; &lt;a:srgbClr val=&quot;EEECE1&quot;/&gt; &lt;/a:lt2&gt; &lt;a:accent1&gt; &lt;a:srgbClr val=&quot;4F81BD&quot;/&gt; &lt;/a:accent1&gt; &lt;a:accent2&gt; &lt;a:srgbClr val=&quot;C0504D&quot;/&gt; &lt;/a:accent2&gt; &lt;a:accent3&gt; &lt;a:srgbClr val=&quot;9BBB59&quot;/&gt; &lt;/a:accent3&gt; &lt;a:accent4&gt; &lt;a:srgbClr val=&quot;8064A2&quot;/&gt; &lt;/a:accent4&gt; &lt;a:accent5&gt; &lt;a:srgbClr val=&quot;4BACC6&quot;/&gt; &lt;/a:accent5&gt; &lt;a:accent6&gt; &lt;a:srgbClr val=&quot;F79646&quot;/&gt; &lt;/a:accent6&gt; &lt;a:hlink&gt; &lt;a:srgbClr val=&quot;0000FF&quot;/&gt; &lt;/a:hlink&gt; &lt;a:folHlink&gt; &lt;a:srgbClr val=&quot;800080&quot;/&gt; &lt;/a:folHlink&gt; &lt;/a:clrScheme&gt; &lt;a:fontScheme name=&quot;Office&quot;&gt; &lt;a:majorFont&gt; &lt;a:latin typeface=&quot;Cambria&quot;/&gt; &lt;a:ea typeface=&quot;&quot;/&gt; &lt;a:cs typeface=&quot;&quot;/&gt; &lt;a:font script=&quot;Jpan&quot; typeface=&quot;ＭＳ Ｐゴシック&quot;/&gt; &lt;a:font script=&quot;Hang&quot; typeface=&quot;맑은 고딕&quot;/&gt; &lt;a:font script=&quot;Hans&quot; typeface=&quot;宋体&quot;/&gt; &lt;a:font script=&quot;Hant&quot; typeface=&quot;新細明體&quot;/&gt; &lt;a:font script=&quot;Arab&quot; typeface=&quot;Times New Roman&quot;/&gt; &lt;a:font script=&quot;Hebr&quot; typeface=&quot;Times New Roman&quot;/&gt; &lt;a:font script=&quot;Thai&quot; typeface=&quot;Tahoma&quot;/&gt; &lt;a:font script=&quot;Ethi&quot; typeface=&quot;Nyala&quot;/&gt; &lt;a:font script=&quot;Beng&quot; typeface=&quot;Vrinda&quot;/&gt; &lt;a:font script=&quot;Gujr&quot; typeface=&quot;Shruti&quot;/&gt; &lt;a:font script=&quot;Khmr&quot; typeface=&quot;MoolBoran&quot;/&gt; &lt;a:font script=&quot;Knda&quot; typeface=&quot;Tunga&quot;/&gt; &lt;a:font script=&quot;Guru&quot; typeface=&quot;Raavi&quot;/&gt; &lt;a:font script=&quot;Cans&quot; typeface=&quot;Euphemia&quot;/&gt; &lt;a:font script=&quot;Cher&quot; typeface=&quot;Plantagenet Cherokee&quot;/&gt; &lt;a:font script=&quot;Yiii&quot; typeface=&quot;Microsoft Yi Baiti&quot;/&gt; &lt;a:font script=&quot;Tibt&quot; typeface=&quot;Microsoft Himalaya&quot;/&gt; &lt;a:font script=&quot;Thaa&quot; typeface=&quot;MV Boli&quot;/&gt; &lt;a:font script=&quot;Deva&quot; typeface=&quot;Mangal&quot;/&gt; &lt;a:font script=&quot;Telu&quot; typeface=&quot;Gautami&quot;/&gt; &lt;a:font script=&quot;Taml&quot; typeface=&quot;Latha&quot;/&gt; &lt;a:font script=&quot;Syrc&quot; typeface=&quot;Estrangelo Edessa&quot;/&gt; &lt;a:font script=&quot;Orya&quot; typeface=&quot;Kalinga&quot;/&gt; &lt;a:font script=&quot;Mlym&quot; typeface=&quot;Kartika&quot;/&gt; &lt;a:font script=&quot;Laoo&quot; typeface=&quot;DokChampa&quot;/&gt; &lt;a:font script=&quot;Sinh&quot; typeface=&quot;Iskoola Pota&quot;/&gt; &lt;a:font script=&quot;Mong&quot; typeface=&quot;Mongolian Baiti&quot;/&gt; &lt;a:font script=&quot;Viet&quot; typeface=&quot;Times New Roman&quot;/&gt; &lt;a:font script=&quot;Uigh&quot; typeface=&quot;Microsoft Uighur&quot;/&gt; &lt;a:font script=&quot;Geor&quot; typeface=&quot;Sylfaen&quot;/&gt; &lt;/a:majorFont&gt; &lt;a:minorFont&gt; &lt;a:latin typeface=&quot;Calibri&quot;/&gt; &lt;a:ea typeface=&quot;&quot;/&gt; &lt;a:cs typeface=&quot;&quot;/&gt; &lt;a:font script=&quot;Jpan&quot; typeface=&quot;ＭＳ Ｐゴシック&quot;/&gt; &lt;a:font script=&quot;Hang&quot; typeface=&quot;맑은 고딕&quot;/&gt; &lt;a:font script=&quot;Hans&quot; typeface=&quot;宋体&quot;/&gt; &lt;a:font script=&quot;Hant&quot; typeface=&quot;新細明體&quot;/&gt; &lt;a:font script=&quot;Arab&quot; typeface=&quot;Arial&quot;/&gt; &lt;a:font script=&quot;Hebr&quot; typeface=&quot;Arial&quot;/&gt; &lt;a:font script=&quot;Thai&quot; typeface=&quot;Tahoma&quot;/&gt; &lt;a:font script=&quot;Ethi&quot; typeface=&quot;Nyala&quot;/&gt; &lt;a:font script=&quot;Beng&quot; typeface=&quot;Vrinda&quot;/&gt; &lt;a:font script=&quot;Gujr&quot; typeface=&quot;Shruti&quot;/&gt; &lt;a:font script=&quot;Khmr&quot; typeface=&quot;DaunPenh&quot;/&gt; &lt;a:font script=&quot;Knda&quot; typeface=&quot;Tunga&quot;/&gt; &lt;a:font script=&quot;Guru&quot; typeface=&quot;Raavi&quot;/&gt; &lt;a:font script=&quot;Cans&quot; typeface=&quot;Euphemia&quot;/&gt; &lt;a:font script=&quot;Cher&quot; typeface=&quot;Plantagenet Cherokee&quot;/&gt; &lt;a:font script=&quot;Yiii&quot; typeface=&quot;Microsoft Yi Baiti&quot;/&gt; &lt;a:font script=&quot;Tibt&quot; typeface=&quot;Microsoft Himalaya&quot;/&gt; &lt;a:font script=&quot;Thaa&quot; typeface=&quot;MV Boli&quot;/&gt; &lt;a:font script=&quot;Deva&quot; typeface=&quot;Mangal&quot;/&gt; &lt;a:font script=&quot;Telu&quot; typeface=&quot;Gautami&quot;/&gt; &lt;a:font script=&quot;Taml&quot; typeface=&quot;Latha&quot;/&gt; &lt;a:font script=&quot;Syrc&quot; typeface=&quot;Estrangelo Edessa&quot;/&gt; &lt;a:font script=&quot;Orya&quot; typeface=&quot;Kalinga&quot;/&gt; &lt;a:font script=&quot;Mlym&quot; typeface=&quot;Kartika&quot;/&gt; &lt;a:font script=&quot;Laoo&quot; typeface=&quot;DokChampa&quot;/&gt; &lt;a:font script=&quot;Sinh&quot; typeface=&quot;Iskoola Pota&quot;/&gt; &lt;a:font script=&quot;Mong&quot; typeface=&quot;Mongolian Baiti&quot;/&gt; &lt;a:font script=&quot;Viet&quot; typeface=&quot;Arial&quot;/&gt; &lt;a:font script=&quot;Uigh&quot; typeface=&quot;Microsoft Uighur&quot;/&gt; &lt;a:font script=&quot;Geor&quot; typeface=&quot;Sylfaen&quot;/&gt; &lt;/a:minorFont&gt; &lt;/a:fontScheme&gt; &lt;a:fmtScheme name=&quot;Office&quot;&gt; &lt;a:fillStyleLst&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;/&gt; &lt;/a:solidFill&gt; &lt;a:gradFill rotWithShape=&quot;1&quot;&gt; &lt;a:gsLst&gt; &lt;a:gs pos=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;50000&quot;/&gt; &lt;a:satMod val=&quot;300000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;35000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;37000&quot;/&gt; &lt;a:satMod val=&quot;300000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;100000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;15000&quot;/&gt; &lt;a:satMod val=&quot;350000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;/a:gsLst&gt; &lt;a:lin ang=&quot;16200000&quot; scaled=&quot;1&quot;/&gt; &lt;/a:gradFill&gt; &lt;a:gradFill rotWithShape=&quot;1&quot;&gt; &lt;a:gsLst&gt; &lt;a:gs pos=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;100000&quot;/&gt; &lt;a:shade val=&quot;100000&quot;/&gt; &lt;a:satMod val=&quot;130000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;100000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;50000&quot;/&gt; &lt;a:shade val=&quot;100000&quot;/&gt; &lt;a:satMod val=&quot;350000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;/a:gsLst&gt; &lt;a:lin ang=&quot;16200000&quot; scaled=&quot;0&quot;/&gt; &lt;/a:gradFill&gt; &lt;/a:fillStyleLst&gt; &lt;a:lnStyleLst&gt; &lt;a:ln w=&quot;9525&quot; cap=&quot;flat&quot; cmpd=&quot;sng&quot; algn=&quot;ctr&quot;&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:shade val=&quot;95000&quot;/&gt; &lt;a:satMod val=&quot;105000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:solidFill&gt; &lt;a:prstDash val=&quot;solid&quot;/&gt; &lt;/a:ln&gt; &lt;a:ln w=&quot;25400&quot; cap=&quot;flat&quot; cmpd=&quot;sng&quot; algn=&quot;ctr&quot;&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;/&gt; &lt;/a:solidFill&gt; &lt;a:prstDash val=&quot;solid&quot;/&gt; &lt;/a:ln&gt; &lt;a:ln w=&quot;38100&quot; cap=&quot;flat&quot; cmpd=&quot;sng&quot; algn=&quot;ctr&quot;&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;/&gt; &lt;/a:solidFill&gt; &lt;a:prstDash val=&quot;solid&quot;/&gt; &lt;/a:ln&gt; &lt;/a:lnStyleLst&gt; &lt;a:effectStyleLst&gt; &lt;a:effectStyle&gt; &lt;a:effectLst&gt; &lt;a:outerShdw blurRad=&quot;40000&quot; dist=&quot;20000&quot; dir=&quot;5400000&quot; rotWithShape=&quot;0&quot;&gt; &lt;a:srgbClr val=&quot;000000&quot;&gt; &lt;a:alpha val=&quot;38000&quot;/&gt; &lt;/a:srgbClr&gt; &lt;/a:outerShdw&gt; &lt;/a:effectLst&gt; &lt;/a:effectStyle&gt; &lt;a:effectStyle&gt; &lt;a:effectLst&gt; &lt;a:outerShdw blurRad=&quot;40000&quot; dist=&quot;23000&quot; dir=&quot;5400000&quot; rotWithShape=&quot;0&quot;&gt; &lt;a:srgbClr val=&quot;000000&quot;&gt; &lt;a:alpha val=&quot;35000&quot;/&gt; &lt;/a:srgbClr&gt; &lt;/a:outerShdw&gt; &lt;/a:effectLst&gt; &lt;/a:effectStyle&gt; &lt;a:effectStyle&gt; &lt;a:effectLst&gt; &lt;a:outerShdw blurRad=&quot;40000&quot; dist=&quot;23000&quot; dir=&quot;5400000&quot; rotWithShape=&quot;0&quot;&gt; &lt;a:srgbClr val=&quot;000000&quot;&gt; &lt;a:alpha val=&quot;35000&quot;/&gt; &lt;/a:srgbClr&gt; &lt;/a:outerShdw&gt; &lt;/a:effectLst&gt; &lt;a:scene3d&gt; &lt;a:camera prst=&quot;orthographicFront&quot;&gt; &lt;a:rot lat=&quot;0&quot; lon=&quot;0&quot; rev=&quot;0&quot;/&gt; &lt;/a:camera&gt; &lt;a:lightRig rig=&quot;threePt&quot; dir=&quot;t&quot;&gt; &lt;a:rot lat=&quot;0&quot; lon=&quot;0&quot; rev=&quot;1200000&quot;/&gt; &lt;/a:lightRig&gt; &lt;/a:scene3d&gt; &lt;a:sp3d&gt; &lt;a:bevelT w=&quot;63500&quot; h=&quot;25400&quot;/&gt; &lt;/a:sp3d&gt; &lt;/a:effectStyle&gt; &lt;/a:effectStyleLst&gt; &lt;a:bgFillStyleLst&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;/&gt; &lt;/a:solidFill&gt; &lt;a:gradFill rotWithShape=&quot;1&quot;&gt; &lt;a:gsLst&gt; &lt;a:gs pos=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;40000&quot;/&gt; &lt;a:satMod val=&quot;350000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;40000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;45000&quot;/&gt; &lt;a:shade val=&quot;99000&quot;/&gt; &lt;a:satMod val=&quot;350000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;100000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:shade val=&quot;20000&quot;/&gt; &lt;a:satMod val=&quot;255000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;/a:gsLst&gt; &lt;a:path path=&quot;circle&quot;&gt; &lt;a:fillToRect l=&quot;50000&quot; t=&quot;-80000&quot; r=&quot;50000&quot; b=&quot;180000&quot;/&gt; &lt;/a:path&gt; &lt;/a:gradFill&gt; &lt;a:gradFill rotWithShape=&quot;1&quot;&gt; &lt;a:gsLst&gt; &lt;a:gs pos=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;80000&quot;/&gt; &lt;a:satMod val=&quot;300000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;100000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:shade val=&quot;30000&quot;/&gt; &lt;a:satMod val=&quot;200000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;/a:gsLst&gt; &lt;a:path path=&quot;circle&quot;&gt; &lt;a:fillToRect l=&quot;50000&quot; t=&quot;50000&quot; r=&quot;50000&quot; b=&quot;50000&quot;/&gt; &lt;/a:path&gt; &lt;/a:gradFill&gt; &lt;/a:bgFillStyleLst&gt; &lt;/a:fmtScheme&gt; &lt;/a:themeElements&gt; &lt;a:objectDefaults&gt; &lt;a:spDef&gt; &lt;a:spPr/&gt; &lt;a:bodyPr/&gt; &lt;a:lstStyle/&gt; &lt;a:style&gt; &lt;a:lnRef idx=&quot;1&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:lnRef&gt; &lt;a:fillRef idx=&quot;3&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:fillRef&gt; &lt;a:effectRef idx=&quot;2&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:effectRef&gt; &lt;a:fontRef idx=&quot;minor&quot;&gt; &lt;a:schemeClr val=&quot;lt1&quot;/&gt; &lt;/a:fontRef&gt; &lt;/a:style&gt; &lt;/a:spDef&gt; &lt;a:lnDef&gt; &lt;a:spPr/&gt; &lt;a:bodyPr/&gt; &lt;a:lstStyle/&gt; &lt;a:style&gt; &lt;a:lnRef idx=&quot;2&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:lnRef&gt; &lt;a:fillRef idx=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:fillRef&gt; &lt;a:effectRef idx=&quot;1&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:effectRef&gt; &lt;a:fontRef idx=&quot;minor&quot;&gt; &lt;a:schemeClr val=&quot;tx1&quot;/&gt; &lt;/a:fontRef&gt; &lt;/a:style&gt; &lt;/a:lnDef&gt; &lt;/a:objectDefaults&gt; &lt;a:extraClrSchemeLst/&gt; &lt;/a:theme&gt;`},{}],146:[function(t,n,o){(function(i){(function(){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CsvFormatterStream=void 0;const a=t(&quot;stream&quot;),u=t(&quot;./formatter&quot;);class l extends a.Transform{constructor(d){super({writableObjectMode:d.objectMode}),this.hasWrittenBOM=!1,this.formatterOptions=d,this.rowFormatter=new u.RowFormatter(d),this.hasWrittenBOM=!d.writeBOM}transform(d){return this.rowFormatter.rowTransform=d,this}_transform(d,f,h){let m=!1;try{this.hasWrittenBOM||(this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0),this.rowFormatter.format(d,(p,b)=&gt;p?(m=!0,h(p)):(b&amp;&amp;b.forEach(g=&gt;{this.push(i.from(g,&quot;utf8&quot;))}),m=!0,h()))}catch(p){if(m)throw p;h(p)}}_flush(d){this.rowFormatter.finish((f,h)=&gt;f?d(f):(h&amp;&amp;h.forEach(m=&gt;{this.push(i.from(m,&quot;utf8&quot;))}),d()))}}o.CsvFormatterStream=l}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;./formatter&quot;:150,buffer:220,stream:505}],147:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.FormatterOptions=void 0,o.FormatterOptions=class{constructor(){let i=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:{};var a;this.objectMode=!0,this.delimiter=&quot;,&quot;,this.rowDelimiter=`
`,this.quote=&#039;&quot;&#039;,this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM=&quot;\uFEFF&quot;,this.alwaysWriteHeaders=!1,Object.assign(this,i||{}),i?.quoteHeaders===void 0&amp;&amp;(this.quoteHeaders=this.quoteColumns),i?.quote===!0?this.quote=&#039;&quot;&#039;:i?.quote===!1&amp;&amp;(this.quote=&quot;&quot;),typeof i?.escape!=&quot;string&quot;&amp;&amp;(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&amp;&amp;((a=i.writeHeaders)===null||a===void 0||a),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}},{}],148:[function(t,n,o){var i=function(s){return s&amp;&amp;s.__esModule?s:{default:s}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.FieldFormatter=void 0;const a=i(t(&quot;lodash.isboolean&quot;)),u=i(t(&quot;lodash.isnil&quot;)),l=i(t(&quot;lodash.escaperegexp&quot;));o.FieldFormatter=class{constructor(s){this._headers=null,this.formatterOptions=s,s.headers!==null&amp;&amp;(this.headers=s.headers),this.REPLACE_REGEXP=new RegExp(s.quote,&quot;g&quot;);const d=`[${s.delimiter}${l.default(s.rowDelimiter)}|\r|
]`;this.ESCAPE_REGEXP=new RegExp(d)}set headers(s){this._headers=s}shouldQuote(s,d){const f=d?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return a.default(f)?f:Array.isArray(f)?f[s]:this._headers!==null&amp;&amp;f[this._headers[s]]}format(s,d,f){const h=(&quot;&quot;+(u.default(s)?&quot;&quot;:s)).replace(/\0/g,&quot;&quot;),{formatterOptions:m}=this;return m.quote!==&quot;&quot;&amp;&amp;h.indexOf(m.quote)!==-1?this.quoteField(h.replace(this.REPLACE_REGEXP,m.escapedQuote)):h.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(d,f)?this.quoteField(h):h}quoteField(s){const{quote:d}=this.formatterOptions;return`${d}${s}${d}`}}},{&quot;lodash.escaperegexp&quot;:442,&quot;lodash.isboolean&quot;:444,&quot;lodash.isnil&quot;:447}],149:[function(t,n,o){var i=function(f){return f&amp;&amp;f.__esModule?f:{default:f}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.RowFormatter=void 0;const a=i(t(&quot;lodash.isfunction&quot;)),u=i(t(&quot;lodash.isequal&quot;)),l=t(&quot;./FieldFormatter&quot;),s=t(&quot;../types&quot;);class d{constructor(h){this.rowCount=0,this.formatterOptions=h,this.fieldFormatter=new l.FieldFormatter(h),this.headers=h.headers,this.shouldWriteHeaders=h.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null&amp;&amp;(this.fieldFormatter.headers=this.headers),h.transform&amp;&amp;(this.rowTransform=h.transform)}static isRowHashArray(h){return!!Array.isArray(h)&amp;&amp;Array.isArray(h[0])&amp;&amp;h[0].length===2}static isRowArray(h){return Array.isArray(h)&amp;&amp;!this.isRowHashArray(h)}static gatherHeaders(h){return d.isRowHashArray(h)?h.map(m=&gt;m[0]):Array.isArray(h)?h:Object.keys(h)}static createTransform(h){return s.isSyncTransform(h)?(m,p)=&gt;{let b=null;try{b=h(m)}catch(g){return p(g)}return p(null,b)}:(m,p)=&gt;{h(m,p)}}set rowTransform(h){if(!a.default(h))throw new TypeError(&quot;The transform should be a function&quot;);this._rowTransform=d.createTransform(h)}format(h,m){this.callTransformer(h,(p,b)=&gt;{if(p)return m(p);if(!h)return m(null);const g=[];if(b){const{shouldFormatColumns:y,headers:v}=this.checkHeaders(b);if(this.shouldWriteHeaders&amp;&amp;v&amp;&amp;!this.hasWrittenHeaders&amp;&amp;(g.push(this.formatColumns(v,!0)),this.hasWrittenHeaders=!0),y){const _=this.gatherColumns(b);g.push(this.formatColumns(_,!1))}}return m(null,g)})}finish(h){const m=[];if(this.formatterOptions.alwaysWriteHeaders&amp;&amp;this.rowCount===0){if(!this.headers)return h(new Error(&quot;`alwaysWriteHeaders` option is set to true but `headers` option not provided.&quot;));m.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&amp;&amp;m.push(this.formatterOptions.rowDelimiter),h(null,m)}checkHeaders(h){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};const m=d.gatherHeaders(h);return this.headers=m,this.fieldFormatter.headers=m,this.shouldWriteHeaders?{shouldFormatColumns:!u.default(m,h),headers:m}:{shouldFormatColumns:!0,headers:null}}gatherColumns(h){if(this.headers===null)throw new Error(&quot;Headers is currently null&quot;);return Array.isArray(h)?d.isRowHashArray(h)?this.headers.map((m,p)=&gt;{const b=h[p];return b?b[1]:&quot;&quot;}):d.isRowArray(h)&amp;&amp;!this.shouldWriteHeaders?h:this.headers.map((m,p)=&gt;h[p]):this.headers.map(m=&gt;h[m])}callTransformer(h,m){return this._rowTransform?this._rowTransform(h,m):m(null,h)}formatColumns(h,m){const p=h.map((g,y)=&gt;this.fieldFormatter.format(g,y,m)).join(this.formatterOptions.delimiter),{rowCount:b}=this;return this.rowCount+=1,b?[this.formatterOptions.rowDelimiter,p].join(&quot;&quot;):p}}o.RowFormatter=d},{&quot;../types&quot;:152,&quot;./FieldFormatter&quot;:148,&quot;lodash.isequal&quot;:445,&quot;lodash.isfunction&quot;:446}],150:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.FieldFormatter=o.RowFormatter=void 0;var i=t(&quot;./RowFormatter&quot;);Object.defineProperty(o,&quot;RowFormatter&quot;,{enumerable:!0,get:function(){return i.RowFormatter}});var a=t(&quot;./FieldFormatter&quot;);Object.defineProperty(o,&quot;FieldFormatter&quot;,{enumerable:!0,get:function(){return a.FieldFormatter}})},{&quot;./FieldFormatter&quot;:148,&quot;./RowFormatter&quot;:149}],151:[function(t,n,o){(function(i){(function(){var a=Object.create?function(y,v,_,C){C===void 0&amp;&amp;(C=_),Object.defineProperty(y,C,{enumerable:!0,get:function(){return v[_]}})}:function(y,v,_,C){C===void 0&amp;&amp;(C=_),y[C]=v[_]},u=Object.create?function(y,v){Object.defineProperty(y,&quot;default&quot;,{enumerable:!0,value:v})}:function(y,v){y.default=v},l=function(y){if(y&amp;&amp;y.__esModule)return y;var v={};if(y!=null)for(var _ in y)_!==&quot;default&quot;&amp;&amp;Object.prototype.hasOwnProperty.call(y,_)&amp;&amp;a(v,y,_);return u(v,y),v},s=function(y,v){for(var _ in y)_===&quot;default&quot;||Object.prototype.hasOwnProperty.call(v,_)||a(v,y,_)};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.writeToPath=o.writeToString=o.writeToBuffer=o.writeToStream=o.write=o.format=o.FormatterOptions=o.CsvFormatterStream=void 0;const d=t(&quot;util&quot;),f=t(&quot;stream&quot;),h=l(t(&quot;fs&quot;)),m=t(&quot;./FormatterOptions&quot;),p=t(&quot;./CsvFormatterStream&quot;);s(t(&quot;./types&quot;),o);var b=t(&quot;./CsvFormatterStream&quot;);Object.defineProperty(o,&quot;CsvFormatterStream&quot;,{enumerable:!0,get:function(){return b.CsvFormatterStream}});var g=t(&quot;./FormatterOptions&quot;);Object.defineProperty(o,&quot;FormatterOptions&quot;,{enumerable:!0,get:function(){return g.FormatterOptions}}),o.format=y=&gt;new p.CsvFormatterStream(new m.FormatterOptions(y)),o.write=(y,v)=&gt;{const _=o.format(v),C=d.promisify((O,T)=&gt;{_.write(O,void 0,T)});return y.reduce((O,T)=&gt;O.then(()=&gt;C(T)),Promise.resolve()).then(()=&gt;_.end()).catch(O=&gt;{_.emit(&quot;error&quot;,O)}),_},o.writeToStream=(y,v,_)=&gt;o.write(v,_).pipe(y),o.writeToBuffer=function(y){let v=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};const _=[],C=new f.Writable({write(O,T,V){_.push(O),V()}});return new Promise((O,T)=&gt;{C.on(&quot;error&quot;,T).on(&quot;finish&quot;,()=&gt;O(i.concat(_))),o.write(y,v).pipe(C)})},o.writeToString=(y,v)=&gt;o.writeToBuffer(y,v).then(_=&gt;_.toString()),o.writeToPath=(y,v,_)=&gt;{const C=h.createWriteStream(y,{encoding:&quot;utf8&quot;});return o.write(v,_).pipe(C)}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;./CsvFormatterStream&quot;:146,&quot;./FormatterOptions&quot;:147,&quot;./types&quot;:152,buffer:220,fs:216,stream:505,util:527}],152:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.isSyncTransform=void 0,o.isSyncTransform=i=&gt;i.length===1},{}],153:[function(t,n,o){(function(i){(function(){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CsvParserStream=void 0;const a=t(&quot;string_decoder&quot;),u=t(&quot;stream&quot;),l=t(&quot;./transforms&quot;),s=t(&quot;./parser&quot;);class d extends u.Transform{constructor(h){super({objectMode:h.objectMode}),this.lines=&quot;&quot;,this.rowCount=0,this.parsedRowCount=0,this.parsedLineCount=0,this.endEmitted=!1,this.headersEmitted=!1,this.parserOptions=h,this.parser=new s.Parser(h),this.headerTransformer=new l.HeaderTransformer(h),this.decoder=new a.StringDecoder(h.encoding),this.rowTransformerValidator=new l.RowTransformerValidator}get hasHitRowLimit(){return this.parserOptions.limitRows&amp;&amp;this.rowCount&gt;=this.parserOptions.maxRows}get shouldEmitRows(){return this.parsedRowCount&gt;this.parserOptions.skipRows}get shouldSkipLine(){return this.parsedLineCount&lt;=this.parserOptions.skipLines}transform(h){return this.rowTransformerValidator.rowTransform=h,this}validate(h){return this.rowTransformerValidator.rowValidator=h,this}emit(h){if(h===&quot;end&quot;)return this.endEmitted||(this.endEmitted=!0,super.emit(&quot;end&quot;,this.rowCount)),!1;for(var m=arguments.length,p=new Array(m&gt;1?m-1:0),b=1;b&lt;m;b++)p[b-1]=arguments[b];return super.emit(h,...p)}_transform(h,m,p){if(this.hasHitRowLimit)return p();const b=d.wrapDoneCallback(p);try{const{lines:g}=this,y=g+this.decoder.write(h),v=this.parse(y,!0);return this.processRows(v,b)}catch(g){return b(g)}}_flush(h){const m=d.wrapDoneCallback(h);if(this.hasHitRowLimit)return m();try{const p=this.lines+this.decoder.end(),b=this.parse(p,!1);return this.processRows(b,m)}catch(p){return m(p)}}parse(h,m){if(!h)return[];const{line:p,rows:b}=this.parser.parse(h,m);return this.lines=p,b}processRows(h,m){const p=h.length,b=g=&gt;{const y=C=&gt;C?m(C):g%100!=0?b(g+1):void i(()=&gt;b(g+1));if(this.checkAndEmitHeaders(),g&gt;=p||this.hasHitRowLimit)return m();if(this.parsedLineCount+=1,this.shouldSkipLine)return y();const v=h[g];this.rowCount+=1,this.parsedRowCount+=1;const _=this.rowCount;return this.transformRow(v,(C,O)=&gt;{if(C)return this.rowCount-=1,y(C);if(!O)return y(new Error(&quot;expected transform result&quot;));if(O.isValid){if(O.row)return this.pushRow(O.row,y)}else this.emit(&quot;data-invalid&quot;,O.row,_,O.reason);return y()})};b(0)}transformRow(h,m){try{this.headerTransformer.transform(h,(p,b)=&gt;p?m(p):b?b.isValid?b.row?this.shouldEmitRows?this.rowTransformerValidator.transformAndValidate(b.row,m):this.skipRow(m):(this.rowCount-=1,this.parsedRowCount-=1,m(null,{row:null,isValid:!0})):this.shouldEmitRows?m(null,{isValid:!1,row:h}):this.skipRow(m):m(new Error(&quot;Expected result from header transform&quot;)))}catch(p){m(p)}}checkAndEmitHeaders(){!this.headersEmitted&amp;&amp;this.headerTransformer.headers&amp;&amp;(this.headersEmitted=!0,this.emit(&quot;headers&quot;,this.headerTransformer.headers))}skipRow(h){return this.rowCount-=1,h(null,{row:null,isValid:!0})}pushRow(h,m){try{this.parserOptions.objectMode?this.push(h):this.push(JSON.stringify(h)),m()}catch(p){m(p)}}static wrapDoneCallback(h){let m=!1;return function(p){if(p){if(m)throw p;return m=!0,void h(p)}for(var b=arguments.length,g=new Array(b&gt;1?b-1:0),y=1;y&lt;b;y++)g[y-1]=arguments[y];h(...g)}}}o.CsvParserStream=d}).call(this)}).call(this,t(&quot;timers&quot;).setImmediate)},{&quot;./parser&quot;:165,&quot;./transforms&quot;:168,stream:505,string_decoder:218,timers:523}],154:[function(t,n,o){var i=function(l){return l&amp;&amp;l.__esModule?l:{default:l}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.ParserOptions=void 0;const a=i(t(&quot;lodash.escaperegexp&quot;)),u=i(t(&quot;lodash.isnil&quot;));o.ParserOptions=class{constructor(l){var s;if(this.objectMode=!0,this.delimiter=&quot;,&quot;,this.ignoreEmpty=!1,this.quote=&#039;&quot;&#039;,this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn=&quot;\r&quot;,this.encoding=&quot;utf8&quot;,this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,l||{}),this.delimiter.length&gt;1)throw new Error(&quot;delimiter option must be one character long&quot;);this.escapedDelimiter=a.default(this.delimiter),this.escapeChar=(s=this.escape)!==null&amp;&amp;s!==void 0?s:this.quote,this.supportsComments=!u.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp(`([^\\s]|\\r\\n|\\n|\\r|${this.escapedDelimiter})`),this.maxRows&gt;0&amp;&amp;(this.limitRows=!0)}}},{&quot;lodash.escaperegexp&quot;:442,&quot;lodash.isnil&quot;:447}],155:[function(t,n,o){var i=Object.create?function(b,g,y,v){v===void 0&amp;&amp;(v=y),Object.defineProperty(b,v,{enumerable:!0,get:function(){return g[y]}})}:function(b,g,y,v){v===void 0&amp;&amp;(v=y),b[v]=g[y]},a=Object.create?function(b,g){Object.defineProperty(b,&quot;default&quot;,{enumerable:!0,value:g})}:function(b,g){b.default=g},u=function(b){if(b&amp;&amp;b.__esModule)return b;var g={};if(b!=null)for(var y in b)y!==&quot;default&quot;&amp;&amp;Object.prototype.hasOwnProperty.call(b,y)&amp;&amp;i(g,b,y);return a(g,b),g},l=function(b,g){for(var y in b)y===&quot;default&quot;||Object.prototype.hasOwnProperty.call(g,y)||i(g,b,y)};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.parseString=o.parseFile=o.parseStream=o.parse=o.ParserOptions=o.CsvParserStream=void 0;const s=u(t(&quot;fs&quot;)),d=t(&quot;stream&quot;),f=t(&quot;./ParserOptions&quot;),h=t(&quot;./CsvParserStream&quot;);l(t(&quot;./types&quot;),o);var m=t(&quot;./CsvParserStream&quot;);Object.defineProperty(o,&quot;CsvParserStream&quot;,{enumerable:!0,get:function(){return m.CsvParserStream}});var p=t(&quot;./ParserOptions&quot;);Object.defineProperty(o,&quot;ParserOptions&quot;,{enumerable:!0,get:function(){return p.ParserOptions}}),o.parse=b=&gt;new h.CsvParserStream(new f.ParserOptions(b)),o.parseStream=(b,g)=&gt;b.pipe(new h.CsvParserStream(new f.ParserOptions(g))),o.parseFile=function(b){let g=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};return s.createReadStream(b).pipe(new h.CsvParserStream(new f.ParserOptions(g)))},o.parseString=(b,g)=&gt;{const y=new d.Readable;return y.push(b),y.push(null),y.pipe(new h.CsvParserStream(new f.ParserOptions(g)))}},{&quot;./CsvParserStream&quot;:153,&quot;./ParserOptions&quot;:154,&quot;./types&quot;:169,fs:216,stream:505}],156:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.Parser=void 0;const i=t(&quot;./Scanner&quot;),a=t(&quot;./RowParser&quot;),u=t(&quot;./Token&quot;);class l{constructor(d){this.parserOptions=d,this.rowParser=new a.RowParser(this.parserOptions)}static removeBOM(d){return d&amp;&amp;d.charCodeAt(0)===65279?d.slice(1):d}parse(d,f){const h=new i.Scanner({line:l.removeBOM(d),parserOptions:this.parserOptions,hasMoreData:f});return this.parserOptions.supportsComments?this.parseWithComments(h):this.parseWithoutComments(h)}parseWithoutComments(d){const f=[];let h=!0;for(;h;)h=this.parseRow(d,f);return{line:d.line,rows:f}}parseWithComments(d){const{parserOptions:f}=this,h=[];for(let m=d.nextCharacterToken;m!==null;m=d.nextCharacterToken)if(u.Token.isTokenComment(m,f)){if(d.advancePastLine()===null)return{line:d.lineFromCursor,rows:h};if(!d.hasMoreCharacters)return{line:d.lineFromCursor,rows:h};d.truncateToCursor()}else if(!this.parseRow(d,h))break;return{line:d.line,rows:h}}parseRow(d,f){if(!d.nextNonSpaceToken)return!1;const h=this.rowParser.parse(d);return h!==null&amp;&amp;(this.parserOptions.ignoreEmpty&amp;&amp;a.RowParser.isEmptyRow(h)||f.push(h),!0)}}o.Parser=l},{&quot;./RowParser&quot;:157,&quot;./Scanner&quot;:158,&quot;./Token&quot;:159}],157:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.RowParser=void 0;const i=t(&quot;./column&quot;),a=t(&quot;./Token&quot;);o.RowParser=class{constructor(u){this.parserOptions=u,this.columnParser=new i.ColumnParser(u)}static isEmptyRow(u){return u.join(&quot;&quot;).replace(/\s+/g,&quot;&quot;)===&quot;&quot;}parse(u){const{parserOptions:l}=this,{hasMoreData:s}=u,d=u,f=[];let h=this.getStartToken(d,f);for(;h;){if(a.Token.isTokenRowDelimiter(h))return d.advancePastToken(h),!d.hasMoreCharacters&amp;&amp;a.Token.isTokenCarriageReturn(h,l)&amp;&amp;s?null:(d.truncateToCursor(),f);if(!this.shouldSkipColumnParse(d,h,f)){const m=this.columnParser.parse(d);if(m===null)return null;f.push(m)}h=d.nextNonSpaceToken}return s?null:(d.truncateToCursor(),f)}getStartToken(u,l){const s=u.nextNonSpaceToken;return s!==null&amp;&amp;a.Token.isTokenDelimiter(s,this.parserOptions)?(l.push(&quot;&quot;),u.nextNonSpaceToken):s}shouldSkipColumnParse(u,l,s){const{parserOptions:d}=this;if(a.Token.isTokenDelimiter(l,d)){u.advancePastToken(l);const f=u.nextCharacterToken;if(!u.hasMoreCharacters||f!==null&amp;&amp;a.Token.isTokenRowDelimiter(f)||f!==null&amp;&amp;a.Token.isTokenDelimiter(f,d))return s.push(&quot;&quot;),!0}return!1}}},{&quot;./Token&quot;:159,&quot;./column&quot;:164}],158:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.Scanner=void 0;const i=t(&quot;./Token&quot;),a=/((?:\r\n)|\n|\r)/;o.Scanner=class{constructor(u){this.cursor=0,this.line=u.line,this.lineLength=this.line.length,this.parserOptions=u.parserOptions,this.hasMoreData=u.hasMoreData,this.cursor=u.cursor||0}get hasMoreCharacters(){return this.lineLength&gt;this.cursor}get nextNonSpaceToken(){const{lineFromCursor:u}=this,l=this.parserOptions.NEXT_TOKEN_REGEXP;if(u.search(l)===-1)return null;const s=l.exec(u);if(s==null)return null;const d=s[1],f=this.cursor+(s.index||0);return new i.Token({token:d,startCursor:f,endCursor:f+d.length-1})}get nextCharacterToken(){const{cursor:u,lineLength:l}=this;return l&lt;=u?null:new i.Token({token:this.line[u],startCursor:u,endCursor:u})}get lineFromCursor(){return this.line.substr(this.cursor)}advancePastLine(){const u=a.exec(this.lineFromCursor);return u?(this.cursor+=(u.index||0)+u[0].length,this):this.hasMoreData?null:(this.cursor=this.lineLength,this)}advanceTo(u){return this.cursor=u,this}advanceToToken(u){return this.cursor=u.startCursor,this}advancePastToken(u){return this.cursor=u.endCursor+1,this}truncateToCursor(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}},{&quot;./Token&quot;:159}],159:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.Token=void 0,o.Token=class{constructor(i){this.token=i.token,this.startCursor=i.startCursor,this.endCursor=i.endCursor}static isTokenRowDelimiter(i){const a=i.token;return a===&quot;\r&quot;||a===`
`||a===`\r
`}static isTokenCarriageReturn(i,a){return i.token===a.carriageReturn}static isTokenComment(i,a){return a.supportsComments&amp;&amp;!!i&amp;&amp;i.token===a.comment}static isTokenEscapeCharacter(i,a){return i.token===a.escapeChar}static isTokenQuote(i,a){return i.token===a.quote}static isTokenDelimiter(i,a){return i.token===a.delimiter}}},{}],160:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.ColumnFormatter=void 0,o.ColumnFormatter=class{constructor(i){i.trim?this.format=a=&gt;a.trim():i.ltrim?this.format=a=&gt;a.trimLeft():i.rtrim?this.format=a=&gt;a.trimRight():this.format=a=&gt;a}}},{}],161:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.ColumnParser=void 0;const i=t(&quot;./NonQuotedColumnParser&quot;),a=t(&quot;./QuotedColumnParser&quot;),u=t(&quot;../Token&quot;);o.ColumnParser=class{constructor(l){this.parserOptions=l,this.quotedColumnParser=new a.QuotedColumnParser(l),this.nonQuotedColumnParser=new i.NonQuotedColumnParser(l)}parse(l){const{nextNonSpaceToken:s}=l;return s!==null&amp;&amp;u.Token.isTokenQuote(s,this.parserOptions)?(l.advanceToToken(s),this.quotedColumnParser.parse(l)):this.nonQuotedColumnParser.parse(l)}}},{&quot;../Token&quot;:159,&quot;./NonQuotedColumnParser&quot;:162,&quot;./QuotedColumnParser&quot;:163}],162:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.NonQuotedColumnParser=void 0;const i=t(&quot;./ColumnFormatter&quot;),a=t(&quot;../Token&quot;);o.NonQuotedColumnParser=class{constructor(u){this.parserOptions=u,this.columnFormatter=new i.ColumnFormatter(u)}parse(u){if(!u.hasMoreCharacters)return null;const{parserOptions:l}=this,s=[];let d=u.nextCharacterToken;for(;d&amp;&amp;!a.Token.isTokenDelimiter(d,l)&amp;&amp;!a.Token.isTokenRowDelimiter(d);d=u.nextCharacterToken)s.push(d.token),u.advancePastToken(d);return this.columnFormatter.format(s.join(&quot;&quot;))}}},{&quot;../Token&quot;:159,&quot;./ColumnFormatter&quot;:160}],163:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.QuotedColumnParser=void 0;const i=t(&quot;./ColumnFormatter&quot;),a=t(&quot;../Token&quot;);o.QuotedColumnParser=class{constructor(u){this.parserOptions=u,this.columnFormatter=new i.ColumnFormatter(u)}parse(u){if(!u.hasMoreCharacters)return null;const l=u.cursor,{foundClosingQuote:s,col:d}=this.gatherDataBetweenQuotes(u);if(!s){if(u.advanceTo(l),!u.hasMoreData)throw new Error(`Parse Error: missing closing: &#039;${this.parserOptions.quote||&quot;&quot;}&#039; in line: at &#039;${u.lineFromCursor.replace(/[\r\n]/g,&quot;\\n&#039;&quot;)}&#039;`);return null}return this.checkForMalformedColumn(u),d}gatherDataBetweenQuotes(u){const{parserOptions:l}=this;let s=!1,d=!1;const f=[];let h=u.nextCharacterToken;for(;!d&amp;&amp;h!==null;h=u.nextCharacterToken){const m=a.Token.isTokenQuote(h,l);if(!s&amp;&amp;m)s=!0;else if(s)if(a.Token.isTokenEscapeCharacter(h,l)){u.advancePastToken(h);const p=u.nextCharacterToken;p!==null&amp;&amp;(a.Token.isTokenQuote(p,l)||a.Token.isTokenEscapeCharacter(p,l))?(f.push(p.token),h=p):m?d=!0:f.push(h.token)}else m?d=!0:f.push(h.token);u.advancePastToken(h)}return{col:this.columnFormatter.format(f.join(&quot;&quot;)),foundClosingQuote:d}}checkForMalformedColumn(u){const{parserOptions:l}=this,{nextNonSpaceToken:s}=u;if(s){const d=a.Token.isTokenDelimiter(s,l),f=a.Token.isTokenRowDelimiter(s);if(!d&amp;&amp;!f){const h=u.lineFromCursor.substr(0,10).replace(/[\r\n]/g,&quot;\\n&#039;&quot;);throw new Error(`Parse Error: expected: &#039;${l.escapedDelimiter}&#039; OR new line got: &#039;${s.token}&#039;. at &#039;${h}`)}u.advanceToToken(s)}else u.hasMoreData||u.advancePastLine()}}},{&quot;../Token&quot;:159,&quot;./ColumnFormatter&quot;:160}],164:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.ColumnFormatter=o.QuotedColumnParser=o.NonQuotedColumnParser=o.ColumnParser=void 0;var i=t(&quot;./ColumnParser&quot;);Object.defineProperty(o,&quot;ColumnParser&quot;,{enumerable:!0,get:function(){return i.ColumnParser}});var a=t(&quot;./NonQuotedColumnParser&quot;);Object.defineProperty(o,&quot;NonQuotedColumnParser&quot;,{enumerable:!0,get:function(){return a.NonQuotedColumnParser}});var u=t(&quot;./QuotedColumnParser&quot;);Object.defineProperty(o,&quot;QuotedColumnParser&quot;,{enumerable:!0,get:function(){return u.QuotedColumnParser}});var l=t(&quot;./ColumnFormatter&quot;);Object.defineProperty(o,&quot;ColumnFormatter&quot;,{enumerable:!0,get:function(){return l.ColumnFormatter}})},{&quot;./ColumnFormatter&quot;:160,&quot;./ColumnParser&quot;:161,&quot;./NonQuotedColumnParser&quot;:162,&quot;./QuotedColumnParser&quot;:163}],165:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.QuotedColumnParser=o.NonQuotedColumnParser=o.ColumnParser=o.Token=o.Scanner=o.RowParser=o.Parser=void 0;var i=t(&quot;./Parser&quot;);Object.defineProperty(o,&quot;Parser&quot;,{enumerable:!0,get:function(){return i.Parser}});var a=t(&quot;./RowParser&quot;);Object.defineProperty(o,&quot;RowParser&quot;,{enumerable:!0,get:function(){return a.RowParser}});var u=t(&quot;./Scanner&quot;);Object.defineProperty(o,&quot;Scanner&quot;,{enumerable:!0,get:function(){return u.Scanner}});var l=t(&quot;./Token&quot;);Object.defineProperty(o,&quot;Token&quot;,{enumerable:!0,get:function(){return l.Token}});var s=t(&quot;./column&quot;);Object.defineProperty(o,&quot;ColumnParser&quot;,{enumerable:!0,get:function(){return s.ColumnParser}}),Object.defineProperty(o,&quot;NonQuotedColumnParser&quot;,{enumerable:!0,get:function(){return s.NonQuotedColumnParser}}),Object.defineProperty(o,&quot;QuotedColumnParser&quot;,{enumerable:!0,get:function(){return s.QuotedColumnParser}})},{&quot;./Parser&quot;:156,&quot;./RowParser&quot;:157,&quot;./Scanner&quot;:158,&quot;./Token&quot;:159,&quot;./column&quot;:164}],166:[function(t,n,o){var i=function(d){return d&amp;&amp;d.__esModule?d:{default:d}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.HeaderTransformer=void 0;const a=i(t(&quot;lodash.isundefined&quot;)),u=i(t(&quot;lodash.isfunction&quot;)),l=i(t(&quot;lodash.uniq&quot;)),s=i(t(&quot;lodash.groupby&quot;));o.HeaderTransformer=class{constructor(d){this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=d,d.headers===!0?this.shouldUseFirstRow=!0:Array.isArray(d.headers)?this.setHeaders(d.headers):u.default(d.headers)&amp;&amp;(this.headersTransform=d.headers)}transform(d,f){return this.shouldMapRow(d)?f(null,this.processRow(d)):f(null,{row:null,isValid:!0})}shouldMapRow(d){const{parserOptions:f}=this;if(!this.headersTransform&amp;&amp;f.renameHeaders&amp;&amp;!this.processedFirstRow){if(!this.receivedHeaders)throw new Error(&quot;Error renaming headers: new headers must be provided in an array&quot;);return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&amp;&amp;Array.isArray(d)){if(this.headersTransform)this.setHeaders(this.headersTransform(d));else{if(!this.shouldUseFirstRow)return!0;this.setHeaders(d)}return!1}return!0}processRow(d){if(!this.headers)return{row:d,isValid:!0};const{parserOptions:f}=this;if(!f.discardUnmappedColumns&amp;&amp;d.length&gt;this.headersLength){if(!f.strictColumnHandling)throw new Error(`Unexpected Error: column header mismatch expected: ${this.headersLength} columns got: ${d.length}`);return{row:d,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${d.length}`}}return f.strictColumnHandling&amp;&amp;d.length&lt;this.headersLength?{row:d,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${d.length}`}:{row:this.mapHeaders(d),isValid:!0}}mapHeaders(d){const f={},{headers:h,headersLength:m}=this;for(let p=0;p&lt;m;p+=1){const b=h[p];if(!a.default(b)){const g=d[p];a.default(g)?f[b]=&quot;&quot;:f[b]=g}}return f}setHeaders(d){var f;const h=d.filter(m=&gt;!!m);if(l.default(h).length!==h.length){const m=s.default(h),p=Object.keys(m).filter(b=&gt;m[b].length&gt;1);throw new Error(&quot;Duplicate headers found &quot;+JSON.stringify(p))}this.headers=d,this.receivedHeaders=!0,this.headersLength=((f=this.headers)===null||f===void 0?void 0:f.length)||0}}},{&quot;lodash.groupby&quot;:443,&quot;lodash.isfunction&quot;:446,&quot;lodash.isundefined&quot;:448,&quot;lodash.uniq&quot;:449}],167:[function(t,n,o){var i=function(s){return s&amp;&amp;s.__esModule?s:{default:s}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.RowTransformerValidator=void 0;const a=i(t(&quot;lodash.isfunction&quot;)),u=t(&quot;../types&quot;);class l{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform(d){return u.isSyncTransform(d)?(f,h)=&gt;{let m=null;try{m=d(f)}catch(p){return h(p)}return h(null,m)}:d}static createValidator(d){return u.isSyncValidate(d)?(f,h)=&gt;{h(null,{row:f,isValid:d(f)})}:(f,h)=&gt;{d(f,(m,p,b)=&gt;m?h(m):h(null,p?{row:f,isValid:p,reason:b}:{row:f,isValid:!1,reason:b}))}}set rowTransform(d){if(!a.default(d))throw new TypeError(&quot;The transform should be a function&quot;);this._rowTransform=l.createTransform(d)}set rowValidator(d){if(!a.default(d))throw new TypeError(&quot;The validate should be a function&quot;);this._rowValidator=l.createValidator(d)}transformAndValidate(d,f){return this.callTransformer(d,(h,m)=&gt;h?f(h):m?this.callValidator(m,(p,b)=&gt;p?f(p):b&amp;&amp;!b.isValid?f(null,{row:m,isValid:!1,reason:b.reason}):f(null,{row:m,isValid:!0})):f(null,{row:null,isValid:!0}))}callTransformer(d,f){return this._rowTransform?this._rowTransform(d,f):f(null,d)}callValidator(d,f){return this._rowValidator?this._rowValidator(d,f):f(null,{row:d,isValid:!0})}}o.RowTransformerValidator=l},{&quot;../types&quot;:169,&quot;lodash.isfunction&quot;:446}],168:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.HeaderTransformer=o.RowTransformerValidator=void 0;var i=t(&quot;./RowTransformerValidator&quot;);Object.defineProperty(o,&quot;RowTransformerValidator&quot;,{enumerable:!0,get:function(){return i.RowTransformerValidator}});var a=t(&quot;./HeaderTransformer&quot;);Object.defineProperty(o,&quot;HeaderTransformer&quot;,{enumerable:!0,get:function(){return a.HeaderTransformer}})},{&quot;./HeaderTransformer&quot;:166,&quot;./RowTransformerValidator&quot;:167}],169:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.isSyncValidate=o.isSyncTransform=void 0,o.isSyncTransform=i=&gt;i.length===1,o.isSyncValidate=i=&gt;i.length===1},{}],170:[function(t,n,o){const i=o;i.bignum=t(&quot;bn.js&quot;),i.define=t(&quot;./asn1/api&quot;).define,i.base=t(&quot;./asn1/base&quot;),i.constants=t(&quot;./asn1/constants&quot;),i.decoders=t(&quot;./asn1/decoders&quot;),i.encoders=t(&quot;./asn1/encoders&quot;)},{&quot;./asn1/api&quot;:171,&quot;./asn1/base&quot;:173,&quot;./asn1/constants&quot;:177,&quot;./asn1/decoders&quot;:179,&quot;./asn1/encoders&quot;:182,&quot;bn.js&quot;:184}],171:[function(t,n,o){const i=t(&quot;./encoders&quot;),a=t(&quot;./decoders&quot;),u=t(&quot;inherits&quot;);function l(s,d){this.name=s,this.body=d,this.decoders={},this.encoders={}}o.define=function(s,d){return new l(s,d)},l.prototype._createNamed=function(s){const d=this.name;function f(h){this._initNamed(h,d)}return u(f,s),f.prototype._initNamed=function(h,m){s.call(this,h,m)},new f(this)},l.prototype._getDecoder=function(s){return s=s||&quot;der&quot;,this.decoders.hasOwnProperty(s)||(this.decoders[s]=this._createNamed(a[s])),this.decoders[s]},l.prototype.decode=function(s,d,f){return this._getDecoder(d).decode(s,f)},l.prototype._getEncoder=function(s){return s=s||&quot;der&quot;,this.encoders.hasOwnProperty(s)||(this.encoders[s]=this._createNamed(i[s])),this.encoders[s]},l.prototype.encode=function(s,d,f){return this._getEncoder(d).encode(s,f)}},{&quot;./decoders&quot;:179,&quot;./encoders&quot;:182,inherits:440}],172:[function(t,n,o){const i=t(&quot;inherits&quot;),a=t(&quot;../base/reporter&quot;).Reporter,u=t(&quot;safer-buffer&quot;).Buffer;function l(d,f){a.call(this,f),u.isBuffer(d)?(this.base=d,this.offset=0,this.length=d.length):this.error(&quot;Input not Buffer&quot;)}function s(d,f){if(Array.isArray(d))this.length=0,this.value=d.map((function(h){return s.isEncoderBuffer(h)||(h=new s(h,f)),this.length+=h.length,h}),this);else if(typeof d==&quot;number&quot;){if(!(0&lt;=d&amp;&amp;d&lt;=255))return f.error(&quot;non-byte EncoderBuffer value&quot;);this.value=d,this.length=1}else if(typeof d==&quot;string&quot;)this.value=d,this.length=u.byteLength(d);else{if(!u.isBuffer(d))return f.error(&quot;Unsupported type: &quot;+typeof d);this.value=d,this.length=d.length}}i(l,a),o.DecoderBuffer=l,l.isDecoderBuffer=function(d){return d instanceof l?!0:typeof d==&quot;object&quot;&amp;&amp;u.isBuffer(d.base)&amp;&amp;d.constructor.name===&quot;DecoderBuffer&quot;&amp;&amp;typeof d.offset==&quot;number&quot;&amp;&amp;typeof d.length==&quot;number&quot;&amp;&amp;typeof d.save==&quot;function&quot;&amp;&amp;typeof d.restore==&quot;function&quot;&amp;&amp;typeof d.isEmpty==&quot;function&quot;&amp;&amp;typeof d.readUInt8==&quot;function&quot;&amp;&amp;typeof d.skip==&quot;function&quot;&amp;&amp;typeof d.raw==&quot;function&quot;},l.prototype.save=function(){return{offset:this.offset,reporter:a.prototype.save.call(this)}},l.prototype.restore=function(d){const f=new l(this.base);return f.offset=d.offset,f.length=this.offset,this.offset=d.offset,a.prototype.restore.call(this,d.reporter),f},l.prototype.isEmpty=function(){return this.offset===this.length},l.prototype.readUInt8=function(d){return this.offset+1&lt;=this.length?this.base.readUInt8(this.offset++,!0):this.error(d||&quot;DecoderBuffer overrun&quot;)},l.prototype.skip=function(d,f){if(!(this.offset+d&lt;=this.length))return this.error(f||&quot;DecoderBuffer overrun&quot;);const h=new l(this.base);return h._reporterState=this._reporterState,h.offset=this.offset,h.length=this.offset+d,this.offset+=d,h},l.prototype.raw=function(d){return this.base.slice(d?d.offset:this.offset,this.length)},o.EncoderBuffer=s,s.isEncoderBuffer=function(d){return d instanceof s?!0:typeof d==&quot;object&quot;&amp;&amp;d.constructor.name===&quot;EncoderBuffer&quot;&amp;&amp;typeof d.length==&quot;number&quot;&amp;&amp;typeof d.join==&quot;function&quot;},s.prototype.join=function(d,f){return d||(d=u.alloc(this.length)),f||(f=0),this.length===0||(Array.isArray(this.value)?this.value.forEach((function(h){h.join(d,f),f+=h.length})):(typeof this.value==&quot;number&quot;?d[f]=this.value:typeof this.value==&quot;string&quot;?d.write(this.value,f):u.isBuffer(this.value)&amp;&amp;this.value.copy(d,f),f+=this.length)),d}},{&quot;../base/reporter&quot;:175,inherits:440,&quot;safer-buffer&quot;:495}],173:[function(t,n,o){const i=o;i.Reporter=t(&quot;./reporter&quot;).Reporter,i.DecoderBuffer=t(&quot;./buffer&quot;).DecoderBuffer,i.EncoderBuffer=t(&quot;./buffer&quot;).EncoderBuffer,i.Node=t(&quot;./node&quot;)},{&quot;./buffer&quot;:172,&quot;./node&quot;:174,&quot;./reporter&quot;:175}],174:[function(t,n,o){const i=t(&quot;../base/reporter&quot;).Reporter,a=t(&quot;../base/buffer&quot;).EncoderBuffer,u=t(&quot;../base/buffer&quot;).DecoderBuffer,l=t(&quot;minimalistic-assert&quot;),s=[&quot;seq&quot;,&quot;seqof&quot;,&quot;set&quot;,&quot;setof&quot;,&quot;objid&quot;,&quot;bool&quot;,&quot;gentime&quot;,&quot;utctime&quot;,&quot;null_&quot;,&quot;enum&quot;,&quot;int&quot;,&quot;objDesc&quot;,&quot;bitstr&quot;,&quot;bmpstr&quot;,&quot;charstr&quot;,&quot;genstr&quot;,&quot;graphstr&quot;,&quot;ia5str&quot;,&quot;iso646str&quot;,&quot;numstr&quot;,&quot;octstr&quot;,&quot;printstr&quot;,&quot;t61str&quot;,&quot;unistr&quot;,&quot;utf8str&quot;,&quot;videostr&quot;],d=[&quot;key&quot;,&quot;obj&quot;,&quot;use&quot;,&quot;optional&quot;,&quot;explicit&quot;,&quot;implicit&quot;,&quot;def&quot;,&quot;choice&quot;,&quot;any&quot;,&quot;contains&quot;].concat(s);function f(m,p,b){const g={};this._baseState=g,g.name=b,g.enc=m,g.parent=p||null,g.children=null,g.tag=null,g.args=null,g.reverseArgs=null,g.choice=null,g.optional=!1,g.any=!1,g.obj=!1,g.use=null,g.useDecoder=null,g.key=null,g.default=null,g.explicit=null,g.implicit=null,g.contains=null,g.parent||(g.children=[],this._wrap())}n.exports=f;const h=[&quot;enc&quot;,&quot;parent&quot;,&quot;children&quot;,&quot;tag&quot;,&quot;args&quot;,&quot;reverseArgs&quot;,&quot;choice&quot;,&quot;optional&quot;,&quot;any&quot;,&quot;obj&quot;,&quot;use&quot;,&quot;alteredUse&quot;,&quot;key&quot;,&quot;default&quot;,&quot;explicit&quot;,&quot;implicit&quot;,&quot;contains&quot;];f.prototype.clone=function(){const m=this._baseState,p={};h.forEach((function(g){p[g]=m[g]}));const b=new this.constructor(p.parent);return b._baseState=p,b},f.prototype._wrap=function(){const m=this._baseState;d.forEach((function(p){this[p]=function(){const b=new this.constructor(this);return m.children.push(b),b[p].apply(b,arguments)}}),this)},f.prototype._init=function(m){const p=this._baseState;l(p.parent===null),m.call(this),p.children=p.children.filter((function(b){return b._baseState.parent===this}),this),l.equal(p.children.length,1,&quot;Root node can have only one child&quot;)},f.prototype._useArgs=function(m){const p=this._baseState,b=m.filter((function(g){return g instanceof this.constructor}),this);m=m.filter((function(g){return!(g instanceof this.constructor)}),this),b.length!==0&amp;&amp;(l(p.children===null),p.children=b,b.forEach((function(g){g._baseState.parent=this}),this)),m.length!==0&amp;&amp;(l(p.args===null),p.args=m,p.reverseArgs=m.map((function(g){if(typeof g!=&quot;object&quot;||g.constructor!==Object)return g;const y={};return Object.keys(g).forEach((function(v){v==(0|v)&amp;&amp;(v|=0);const _=g[v];y[_]=v})),y})))},[&quot;_peekTag&quot;,&quot;_decodeTag&quot;,&quot;_use&quot;,&quot;_decodeStr&quot;,&quot;_decodeObjid&quot;,&quot;_decodeTime&quot;,&quot;_decodeNull&quot;,&quot;_decodeInt&quot;,&quot;_decodeBool&quot;,&quot;_decodeList&quot;,&quot;_encodeComposite&quot;,&quot;_encodeStr&quot;,&quot;_encodeObjid&quot;,&quot;_encodeTime&quot;,&quot;_encodeNull&quot;,&quot;_encodeInt&quot;,&quot;_encodeBool&quot;].forEach((function(m){f.prototype[m]=function(){const p=this._baseState;throw new Error(m+&quot; not implemented for encoding: &quot;+p.enc)}})),s.forEach((function(m){f.prototype[m]=function(){const p=this._baseState,b=Array.prototype.slice.call(arguments);return l(p.tag===null),p.tag=m,this._useArgs(b),this}})),f.prototype.use=function(m){l(m);const p=this._baseState;return l(p.use===null),p.use=m,this},f.prototype.optional=function(){return this._baseState.optional=!0,this},f.prototype.def=function(m){const p=this._baseState;return l(p.default===null),p.default=m,p.optional=!0,this},f.prototype.explicit=function(m){const p=this._baseState;return l(p.explicit===null&amp;&amp;p.implicit===null),p.explicit=m,this},f.prototype.implicit=function(m){const p=this._baseState;return l(p.explicit===null&amp;&amp;p.implicit===null),p.implicit=m,this},f.prototype.obj=function(){const m=this._baseState,p=Array.prototype.slice.call(arguments);return m.obj=!0,p.length!==0&amp;&amp;this._useArgs(p),this},f.prototype.key=function(m){const p=this._baseState;return l(p.key===null),p.key=m,this},f.prototype.any=function(){return this._baseState.any=!0,this},f.prototype.choice=function(m){const p=this._baseState;return l(p.choice===null),p.choice=m,this._useArgs(Object.keys(m).map((function(b){return m[b]}))),this},f.prototype.contains=function(m){const p=this._baseState;return l(p.use===null),p.contains=m,this},f.prototype._decode=function(m,p){const b=this._baseState;if(b.parent===null)return m.wrapResult(b.children[0]._decode(m,p));let g,y=b.default,v=!0,_=null;if(b.key!==null&amp;&amp;(_=m.enterKey(b.key)),b.optional){let C=null;if(b.explicit!==null?C=b.explicit:b.implicit!==null?C=b.implicit:b.tag!==null&amp;&amp;(C=b.tag),C!==null||b.any){if(v=this._peekTag(m,C,b.any),m.isError(v))return v}else{const O=m.save();try{b.choice===null?this._decodeGeneric(b.tag,m,p):this._decodeChoice(m,p),v=!0}catch{v=!1}m.restore(O)}}if(b.obj&amp;&amp;v&amp;&amp;(g=m.enterObject()),v){if(b.explicit!==null){const O=this._decodeTag(m,b.explicit);if(m.isError(O))return O;m=O}const C=m.offset;if(b.use===null&amp;&amp;b.choice===null){let O;b.any&amp;&amp;(O=m.save());const T=this._decodeTag(m,b.implicit!==null?b.implicit:b.tag,b.any);if(m.isError(T))return T;b.any?y=m.raw(O):m=T}if(p&amp;&amp;p.track&amp;&amp;b.tag!==null&amp;&amp;p.track(m.path(),C,m.length,&quot;tagged&quot;),p&amp;&amp;p.track&amp;&amp;b.tag!==null&amp;&amp;p.track(m.path(),m.offset,m.length,&quot;content&quot;),b.any||(y=b.choice===null?this._decodeGeneric(b.tag,m,p):this._decodeChoice(m,p)),m.isError(y))return y;if(b.any||b.choice!==null||b.children===null||b.children.forEach((function(O){O._decode(m,p)})),b.contains&amp;&amp;(b.tag===&quot;octstr&quot;||b.tag===&quot;bitstr&quot;)){const O=new u(y);y=this._getUse(b.contains,m._reporterState.obj)._decode(O,p)}}return b.obj&amp;&amp;v&amp;&amp;(y=m.leaveObject(g)),b.key===null||y===null&amp;&amp;v!==!0?_!==null&amp;&amp;m.exitKey(_):m.leaveKey(_,b.key,y),y},f.prototype._decodeGeneric=function(m,p,b){const g=this._baseState;return m===&quot;seq&quot;||m===&quot;set&quot;?null:m===&quot;seqof&quot;||m===&quot;setof&quot;?this._decodeList(p,m,g.args[0],b):/str$/.test(m)?this._decodeStr(p,m,b):m===&quot;objid&quot;&amp;&amp;g.args?this._decodeObjid(p,g.args[0],g.args[1],b):m===&quot;objid&quot;?this._decodeObjid(p,null,null,b):m===&quot;gentime&quot;||m===&quot;utctime&quot;?this._decodeTime(p,m,b):m===&quot;null_&quot;?this._decodeNull(p,b):m===&quot;bool&quot;?this._decodeBool(p,b):m===&quot;objDesc&quot;?this._decodeStr(p,m,b):m===&quot;int&quot;||m===&quot;enum&quot;?this._decodeInt(p,g.args&amp;&amp;g.args[0],b):g.use!==null?this._getUse(g.use,p._reporterState.obj)._decode(p,b):p.error(&quot;unknown tag: &quot;+m)},f.prototype._getUse=function(m,p){const b=this._baseState;return b.useDecoder=this._use(m,p),l(b.useDecoder._baseState.parent===null),b.useDecoder=b.useDecoder._baseState.children[0],b.implicit!==b.useDecoder._baseState.implicit&amp;&amp;(b.useDecoder=b.useDecoder.clone(),b.useDecoder._baseState.implicit=b.implicit),b.useDecoder},f.prototype._decodeChoice=function(m,p){const b=this._baseState;let g=null,y=!1;return Object.keys(b.choice).some((function(v){const _=m.save(),C=b.choice[v];try{const O=C._decode(m,p);if(m.isError(O))return!1;g={type:v,value:O},y=!0}catch{return m.restore(_),!1}return!0}),this),y?g:m.error(&quot;Choice not matched&quot;)},f.prototype._createEncoderBuffer=function(m){return new a(m,this.reporter)},f.prototype._encode=function(m,p,b){const g=this._baseState;if(g.default!==null&amp;&amp;g.default===m)return;const y=this._encodeValue(m,p,b);return y===void 0||this._skipDefault(y,p,b)?void 0:y},f.prototype._encodeValue=function(m,p,b){const g=this._baseState;if(g.parent===null)return g.children[0]._encode(m,p||new i);let y=null;if(this.reporter=p,g.optional&amp;&amp;m===void 0){if(g.default===null)return;m=g.default}let v=null,_=!1;if(g.any)y=this._createEncoderBuffer(m);else if(g.choice)y=this._encodeChoice(m,p);else if(g.contains)v=this._getUse(g.contains,b)._encode(m,p),_=!0;else if(g.children)v=g.children.map((function(C){if(C._baseState.tag===&quot;null_&quot;)return C._encode(null,p,m);if(C._baseState.key===null)return p.error(&quot;Child should have a key&quot;);const O=p.enterKey(C._baseState.key);if(typeof m!=&quot;object&quot;)return p.error(&quot;Child expected, but input is not object&quot;);const T=C._encode(m[C._baseState.key],p,m);return p.leaveKey(O),T}),this).filter((function(C){return C})),v=this._createEncoderBuffer(v);else if(g.tag===&quot;seqof&quot;||g.tag===&quot;setof&quot;){if(!g.args||g.args.length!==1)return p.error(&quot;Too many args for : &quot;+g.tag);if(!Array.isArray(m))return p.error(&quot;seqof/setof, but data is not Array&quot;);const C=this.clone();C._baseState.implicit=null,v=this._createEncoderBuffer(m.map((function(O){const T=this._baseState;return this._getUse(T.args[0],m)._encode(O,p)}),C))}else g.use!==null?y=this._getUse(g.use,b)._encode(m,p):(v=this._encodePrimitive(g.tag,m),_=!0);if(!g.any&amp;&amp;g.choice===null){const C=g.implicit!==null?g.implicit:g.tag,O=g.implicit===null?&quot;universal&quot;:&quot;context&quot;;C===null?g.use===null&amp;&amp;p.error(&quot;Tag could be omitted only for .use()&quot;):g.use===null&amp;&amp;(y=this._encodeComposite(C,_,O,v))}return g.explicit!==null&amp;&amp;(y=this._encodeComposite(g.explicit,!1,&quot;context&quot;,y)),y},f.prototype._encodeChoice=function(m,p){const b=this._baseState,g=b.choice[m.type];return g||l(!1,m.type+&quot; not found in &quot;+JSON.stringify(Object.keys(b.choice))),g._encode(m.value,p)},f.prototype._encodePrimitive=function(m,p){const b=this._baseState;if(/str$/.test(m))return this._encodeStr(p,m);if(m===&quot;objid&quot;&amp;&amp;b.args)return this._encodeObjid(p,b.reverseArgs[0],b.args[1]);if(m===&quot;objid&quot;)return this._encodeObjid(p,null,null);if(m===&quot;gentime&quot;||m===&quot;utctime&quot;)return this._encodeTime(p,m);if(m===&quot;null_&quot;)return this._encodeNull();if(m===&quot;int&quot;||m===&quot;enum&quot;)return this._encodeInt(p,b.args&amp;&amp;b.reverseArgs[0]);if(m===&quot;bool&quot;)return this._encodeBool(p);if(m===&quot;objDesc&quot;)return this._encodeStr(p,m);throw new Error(&quot;Unsupported tag: &quot;+m)},f.prototype._isNumstr=function(m){return/^[0-9 ]*$/.test(m)},f.prototype._isPrintstr=function(m){return/^[A-Za-z0-9 &#039;()+,-./:=?]*$/.test(m)}},{&quot;../base/buffer&quot;:172,&quot;../base/reporter&quot;:175,&quot;minimalistic-assert&quot;:453}],175:[function(t,n,o){const i=t(&quot;inherits&quot;);function a(l){this._reporterState={obj:null,path:[],options:l||{},errors:[]}}function u(l,s){this.path=l,this.rethrow(s)}o.Reporter=a,a.prototype.isError=function(l){return l instanceof u},a.prototype.save=function(){const l=this._reporterState;return{obj:l.obj,pathLen:l.path.length}},a.prototype.restore=function(l){const s=this._reporterState;s.obj=l.obj,s.path=s.path.slice(0,l.pathLen)},a.prototype.enterKey=function(l){return this._reporterState.path.push(l)},a.prototype.exitKey=function(l){const s=this._reporterState;s.path=s.path.slice(0,l-1)},a.prototype.leaveKey=function(l,s,d){const f=this._reporterState;this.exitKey(l),f.obj!==null&amp;&amp;(f.obj[s]=d)},a.prototype.path=function(){return this._reporterState.path.join(&quot;/&quot;)},a.prototype.enterObject=function(){const l=this._reporterState,s=l.obj;return l.obj={},s},a.prototype.leaveObject=function(l){const s=this._reporterState,d=s.obj;return s.obj=l,d},a.prototype.error=function(l){let s;const d=this._reporterState,f=l instanceof u;if(s=f?l:new u(d.path.map((function(h){return&quot;[&quot;+JSON.stringify(h)+&quot;]&quot;})).join(&quot;&quot;),l.message||l,l.stack),!d.options.partial)throw s;return f||d.errors.push(s),s},a.prototype.wrapResult=function(l){const s=this._reporterState;return s.options.partial?{result:this.isError(l)?null:l,errors:s.errors}:l},i(u,Error),u.prototype.rethrow=function(l){if(this.message=l+&quot; at: &quot;+(this.path||&quot;(shallow)&quot;),Error.captureStackTrace&amp;&amp;Error.captureStackTrace(this,u),!this.stack)try{throw new Error(this.message)}catch(s){this.stack=s.stack}return this}},{inherits:440}],176:[function(t,n,o){function i(a){const u={};return Object.keys(a).forEach((function(l){(0|l)==l&amp;&amp;(l|=0);const s=a[l];u[s]=l})),u}o.tagClass={0:&quot;universal&quot;,1:&quot;application&quot;,2:&quot;context&quot;,3:&quot;private&quot;},o.tagClassByName=i(o.tagClass),o.tag={0:&quot;end&quot;,1:&quot;bool&quot;,2:&quot;int&quot;,3:&quot;bitstr&quot;,4:&quot;octstr&quot;,5:&quot;null_&quot;,6:&quot;objid&quot;,7:&quot;objDesc&quot;,8:&quot;external&quot;,9:&quot;real&quot;,10:&quot;enum&quot;,11:&quot;embed&quot;,12:&quot;utf8str&quot;,13:&quot;relativeOid&quot;,16:&quot;seq&quot;,17:&quot;set&quot;,18:&quot;numstr&quot;,19:&quot;printstr&quot;,20:&quot;t61str&quot;,21:&quot;videostr&quot;,22:&quot;ia5str&quot;,23:&quot;utctime&quot;,24:&quot;gentime&quot;,25:&quot;graphstr&quot;,26:&quot;iso646str&quot;,27:&quot;genstr&quot;,28:&quot;unistr&quot;,29:&quot;charstr&quot;,30:&quot;bmpstr&quot;},o.tagByName=i(o.tag)},{}],177:[function(t,n,o){const i=o;i._reverse=function(a){const u={};return Object.keys(a).forEach((function(l){(0|l)==l&amp;&amp;(l|=0);const s=a[l];u[s]=l})),u},i.der=t(&quot;./der&quot;)},{&quot;./der&quot;:176}],178:[function(t,n,o){const i=t(&quot;inherits&quot;),a=t(&quot;bn.js&quot;),u=t(&quot;../base/buffer&quot;).DecoderBuffer,l=t(&quot;../base/node&quot;),s=t(&quot;../constants/der&quot;);function d(p){this.enc=&quot;der&quot;,this.name=p.name,this.entity=p,this.tree=new f,this.tree._init(p.body)}function f(p){l.call(this,&quot;der&quot;,p)}function h(p,b){let g=p.readUInt8(b);if(p.isError(g))return g;const y=s.tagClass[g&gt;&gt;6],v=(32&amp;g)==0;if((31&amp;g)==31){let _=g;for(g=0;(128&amp;_)==128;){if(_=p.readUInt8(b),p.isError(_))return _;g&lt;&lt;=7,g|=127&amp;_}}else g&amp;=31;return{cls:y,primitive:v,tag:g,tagStr:s.tag[g]}}function m(p,b,g){let y=p.readUInt8(g);if(p.isError(y))return y;if(!b&amp;&amp;y===128)return null;if((128&amp;y)==0)return y;const v=127&amp;y;if(v&gt;4)return p.error(&quot;length octect is too long&quot;);y=0;for(let _=0;_&lt;v;_++){y&lt;&lt;=8;const C=p.readUInt8(g);if(p.isError(C))return C;y|=C}return y}n.exports=d,d.prototype.decode=function(p,b){return u.isDecoderBuffer(p)||(p=new u(p,b)),this.tree._decode(p,b)},i(f,l),f.prototype._peekTag=function(p,b,g){if(p.isEmpty())return!1;const y=p.save(),v=h(p,&#039;Failed to peek tag: &quot;&#039;+b+&#039;&quot;&#039;);return p.isError(v)?v:(p.restore(y),v.tag===b||v.tagStr===b||v.tagStr+&quot;of&quot;===b||g)},f.prototype._decodeTag=function(p,b,g){const y=h(p,&#039;Failed to decode tag of &quot;&#039;+b+&#039;&quot;&#039;);if(p.isError(y))return y;let v=m(p,y.primitive,&#039;Failed to get length of &quot;&#039;+b+&#039;&quot;&#039;);if(p.isError(v))return v;if(!g&amp;&amp;y.tag!==b&amp;&amp;y.tagStr!==b&amp;&amp;y.tagStr+&quot;of&quot;!==b)return p.error(&#039;Failed to match tag: &quot;&#039;+b+&#039;&quot;&#039;);if(y.primitive||v!==null)return p.skip(v,&#039;Failed to match body of: &quot;&#039;+b+&#039;&quot;&#039;);const _=p.save(),C=this._skipUntilEnd(p,&#039;Failed to skip indefinite length body: &quot;&#039;+this.tag+&#039;&quot;&#039;);return p.isError(C)?C:(v=p.offset-_.offset,p.restore(_),p.skip(v,&#039;Failed to match body of: &quot;&#039;+b+&#039;&quot;&#039;))},f.prototype._skipUntilEnd=function(p,b){for(;;){const g=h(p,b);if(p.isError(g))return g;const y=m(p,g.primitive,b);if(p.isError(y))return y;let v;if(v=g.primitive||y!==null?p.skip(y):this._skipUntilEnd(p,b),p.isError(v))return v;if(g.tagStr===&quot;end&quot;)break}},f.prototype._decodeList=function(p,b,g,y){const v=[];for(;!p.isEmpty();){const _=this._peekTag(p,&quot;end&quot;);if(p.isError(_))return _;const C=g.decode(p,&quot;der&quot;,y);if(p.isError(C)&amp;&amp;_)break;v.push(C)}return v},f.prototype._decodeStr=function(p,b){if(b===&quot;bitstr&quot;){const g=p.readUInt8();return p.isError(g)?g:{unused:g,data:p.raw()}}if(b===&quot;bmpstr&quot;){const g=p.raw();if(g.length%2==1)return p.error(&quot;Decoding of string type: bmpstr length mismatch&quot;);let y=&quot;&quot;;for(let v=0;v&lt;g.length/2;v++)y+=String.fromCharCode(g.readUInt16BE(2*v));return y}if(b===&quot;numstr&quot;){const g=p.raw().toString(&quot;ascii&quot;);return this._isNumstr(g)?g:p.error(&quot;Decoding of string type: numstr unsupported characters&quot;)}if(b===&quot;octstr&quot;||b===&quot;objDesc&quot;)return p.raw();if(b===&quot;printstr&quot;){const g=p.raw().toString(&quot;ascii&quot;);return this._isPrintstr(g)?g:p.error(&quot;Decoding of string type: printstr unsupported characters&quot;)}return/str$/.test(b)?p.raw().toString():p.error(&quot;Decoding of string type: &quot;+b+&quot; unsupported&quot;)},f.prototype._decodeObjid=function(p,b,g){let y;const v=[];let _=0,C=0;for(;!p.isEmpty();)C=p.readUInt8(),_&lt;&lt;=7,_|=127&amp;C,(128&amp;C)==0&amp;&amp;(v.push(_),_=0);128&amp;C&amp;&amp;v.push(_);const O=v[0]/40|0,T=v[0]%40;if(y=g?v:[O,T].concat(v.slice(1)),b){let V=b[y.join(&quot; &quot;)];V===void 0&amp;&amp;(V=b[y.join(&quot;.&quot;)]),V!==void 0&amp;&amp;(y=V)}return y},f.prototype._decodeTime=function(p,b){const g=p.raw().toString();let y,v,_,C,O,T;if(b===&quot;gentime&quot;)y=0|g.slice(0,4),v=0|g.slice(4,6),_=0|g.slice(6,8),C=0|g.slice(8,10),O=0|g.slice(10,12),T=0|g.slice(12,14);else{if(b!==&quot;utctime&quot;)return p.error(&quot;Decoding &quot;+b+&quot; time is not supported yet&quot;);y=0|g.slice(0,2),v=0|g.slice(2,4),_=0|g.slice(4,6),C=0|g.slice(6,8),O=0|g.slice(8,10),T=0|g.slice(10,12),y=y&lt;70?2e3+y:1900+y}return Date.UTC(y,v-1,_,C,O,T,0)},f.prototype._decodeNull=function(){return null},f.prototype._decodeBool=function(p){const b=p.readUInt8();return p.isError(b)?b:b!==0},f.prototype._decodeInt=function(p,b){const g=p.raw();let y=new a(g);return b&amp;&amp;(y=b[y.toString(10)]||y),y},f.prototype._use=function(p,b){return typeof p==&quot;function&quot;&amp;&amp;(p=p(b)),p._getDecoder(&quot;der&quot;).tree}},{&quot;../base/buffer&quot;:172,&quot;../base/node&quot;:174,&quot;../constants/der&quot;:176,&quot;bn.js&quot;:184,inherits:440}],179:[function(t,n,o){const i=o;i.der=t(&quot;./der&quot;),i.pem=t(&quot;./pem&quot;)},{&quot;./der&quot;:178,&quot;./pem&quot;:180}],180:[function(t,n,o){const i=t(&quot;inherits&quot;),a=t(&quot;safer-buffer&quot;).Buffer,u=t(&quot;./der&quot;);function l(s){u.call(this,s),this.enc=&quot;pem&quot;}i(l,u),n.exports=l,l.prototype.decode=function(s,d){const f=s.toString().split(/[\r\n]+/g),h=d.label.toUpperCase(),m=/^-----(BEGIN|END) ([^-]+)-----$/;let p=-1,b=-1;for(let v=0;v&lt;f.length;v++){const _=f[v].match(m);if(_!==null&amp;&amp;_[2]===h){if(p!==-1){if(_[1]!==&quot;END&quot;)break;b=v;break}if(_[1]!==&quot;BEGIN&quot;)break;p=v}}if(p===-1||b===-1)throw new Error(&quot;PEM section not found for: &quot;+h);const g=f.slice(p+1,b).join(&quot;&quot;);g.replace(/[^a-z0-9+/=]+/gi,&quot;&quot;);const y=a.from(g,&quot;base64&quot;);return u.prototype.decode.call(this,y,d)}},{&quot;./der&quot;:178,inherits:440,&quot;safer-buffer&quot;:495}],181:[function(t,n,o){const i=t(&quot;inherits&quot;),a=t(&quot;safer-buffer&quot;).Buffer,u=t(&quot;../base/node&quot;),l=t(&quot;../constants/der&quot;);function s(h){this.enc=&quot;der&quot;,this.name=h.name,this.entity=h,this.tree=new d,this.tree._init(h.body)}function d(h){u.call(this,&quot;der&quot;,h)}function f(h){return h&lt;10?&quot;0&quot;+h:h}n.exports=s,s.prototype.encode=function(h,m){return this.tree._encode(h,m).join()},i(d,u),d.prototype._encodeComposite=function(h,m,p,b){const g=(function(_,C,O,T){let V;if(_===&quot;seqof&quot;?_=&quot;seq&quot;:_===&quot;setof&quot;&amp;&amp;(_=&quot;set&quot;),l.tagByName.hasOwnProperty(_))V=l.tagByName[_];else{if(typeof _!=&quot;number&quot;||(0|_)!==_)return T.error(&quot;Unknown tag: &quot;+_);V=_}return V&gt;=31?T.error(&quot;Multi-octet tag encoding unsupported&quot;):(C||(V|=32),V|=l.tagClassByName[O||&quot;universal&quot;]&lt;&lt;6,V)})(h,m,p,this.reporter);if(b.length&lt;128){const _=a.alloc(2);return _[0]=g,_[1]=b.length,this._createEncoderBuffer([_,b])}let y=1;for(let _=b.length;_&gt;=256;_&gt;&gt;=8)y++;const v=a.alloc(2+y);v[0]=g,v[1]=128|y;for(let _=1+y,C=b.length;C&gt;0;_--,C&gt;&gt;=8)v[_]=255&amp;C;return this._createEncoderBuffer([v,b])},d.prototype._encodeStr=function(h,m){if(m===&quot;bitstr&quot;)return this._createEncoderBuffer([0|h.unused,h.data]);if(m===&quot;bmpstr&quot;){const p=a.alloc(2*h.length);for(let b=0;b&lt;h.length;b++)p.writeUInt16BE(h.charCodeAt(b),2*b);return this._createEncoderBuffer(p)}return m===&quot;numstr&quot;?this._isNumstr(h)?this._createEncoderBuffer(h):this.reporter.error(&quot;Encoding of string type: numstr supports only digits and space&quot;):m===&quot;printstr&quot;?this._isPrintstr(h)?this._createEncoderBuffer(h):this.reporter.error(&quot;Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark&quot;):/str$/.test(m)||m===&quot;objDesc&quot;?this._createEncoderBuffer(h):this.reporter.error(&quot;Encoding of string type: &quot;+m+&quot; unsupported&quot;)},d.prototype._encodeObjid=function(h,m,p){if(typeof h==&quot;string&quot;){if(!m)return this.reporter.error(&quot;string objid given, but no values map found&quot;);if(!m.hasOwnProperty(h))return this.reporter.error(&quot;objid not found in values map&quot;);h=m[h].split(/[\s.]+/g);for(let v=0;v&lt;h.length;v++)h[v]|=0}else if(Array.isArray(h)){h=h.slice();for(let v=0;v&lt;h.length;v++)h[v]|=0}if(!Array.isArray(h))return this.reporter.error(&quot;objid() should be either array or string, got: &quot;+JSON.stringify(h));if(!p){if(h[1]&gt;=40)return this.reporter.error(&quot;Second objid identifier OOB&quot;);h.splice(0,2,40*h[0]+h[1])}let b=0;for(let v=0;v&lt;h.length;v++){let _=h[v];for(b++;_&gt;=128;_&gt;&gt;=7)b++}const g=a.alloc(b);let y=g.length-1;for(let v=h.length-1;v&gt;=0;v--){let _=h[v];for(g[y--]=127&amp;_;(_&gt;&gt;=7)&gt;0;)g[y--]=128|127&amp;_}return this._createEncoderBuffer(g)},d.prototype._encodeTime=function(h,m){let p;const b=new Date(h);return m===&quot;gentime&quot;?p=[f(b.getUTCFullYear()),f(b.getUTCMonth()+1),f(b.getUTCDate()),f(b.getUTCHours()),f(b.getUTCMinutes()),f(b.getUTCSeconds()),&quot;Z&quot;].join(&quot;&quot;):m===&quot;utctime&quot;?p=[f(b.getUTCFullYear()%100),f(b.getUTCMonth()+1),f(b.getUTCDate()),f(b.getUTCHours()),f(b.getUTCMinutes()),f(b.getUTCSeconds()),&quot;Z&quot;].join(&quot;&quot;):this.reporter.error(&quot;Encoding &quot;+m+&quot; time is not supported yet&quot;),this._encodeStr(p,&quot;octstr&quot;)},d.prototype._encodeNull=function(){return this._createEncoderBuffer(&quot;&quot;)},d.prototype._encodeInt=function(h,m){if(typeof h==&quot;string&quot;){if(!m)return this.reporter.error(&quot;String int or enum given, but no values map&quot;);if(!m.hasOwnProperty(h))return this.reporter.error(&quot;Values map doesn&#039;t contain: &quot;+JSON.stringify(h));h=m[h]}if(typeof h!=&quot;number&quot;&amp;&amp;!a.isBuffer(h)){const g=h.toArray();!h.sign&amp;&amp;128&amp;g[0]&amp;&amp;g.unshift(0),h=a.from(g)}if(a.isBuffer(h)){let g=h.length;h.length===0&amp;&amp;g++;const y=a.alloc(g);return h.copy(y),h.length===0&amp;&amp;(y[0]=0),this._createEncoderBuffer(y)}if(h&lt;128)return this._createEncoderBuffer(h);if(h&lt;256)return this._createEncoderBuffer([0,h]);let p=1;for(let g=h;g&gt;=256;g&gt;&gt;=8)p++;const b=new Array(p);for(let g=b.length-1;g&gt;=0;g--)b[g]=255&amp;h,h&gt;&gt;=8;return 128&amp;b[0]&amp;&amp;b.unshift(0),this._createEncoderBuffer(a.from(b))},d.prototype._encodeBool=function(h){return this._createEncoderBuffer(h?255:0)},d.prototype._use=function(h,m){return typeof h==&quot;function&quot;&amp;&amp;(h=h(m)),h._getEncoder(&quot;der&quot;).tree},d.prototype._skipDefault=function(h,m,p){const b=this._baseState;let g;if(b.default===null)return!1;const y=h.join();if(b.defaultBuffer===void 0&amp;&amp;(b.defaultBuffer=this._encodeValue(b.default,m,p).join()),y.length!==b.defaultBuffer.length)return!1;for(g=0;g&lt;y.length;g++)if(y[g]!==b.defaultBuffer[g])return!1;return!0}},{&quot;../base/node&quot;:174,&quot;../constants/der&quot;:176,inherits:440,&quot;safer-buffer&quot;:495}],182:[function(t,n,o){const i=o;i.der=t(&quot;./der&quot;),i.pem=t(&quot;./pem&quot;)},{&quot;./der&quot;:181,&quot;./pem&quot;:183}],183:[function(t,n,o){const i=t(&quot;inherits&quot;),a=t(&quot;./der&quot;);function u(l){a.call(this,l),this.enc=&quot;pem&quot;}i(u,a),n.exports=u,u.prototype.encode=function(l,s){const d=a.prototype.encode.call(this,l).toString(&quot;base64&quot;),f=[&quot;-----BEGIN &quot;+s.label+&quot;-----&quot;];for(let h=0;h&lt;d.length;h+=64)f.push(d.slice(h,h+64));return f.push(&quot;-----END &quot;+s.label+&quot;-----&quot;),f.join(`
`)}},{&quot;./der&quot;:181,inherits:440}],184:[function(t,n,o){(function(i,a){function u(P,D){if(!P)throw new Error(D||&quot;Assertion failed&quot;)}function l(P,D){P.super_=D;var E=function(){};E.prototype=D.prototype,P.prototype=new E,P.prototype.constructor=P}function s(P,D,E){if(s.isBN(P))return P;this.negative=0,this.words=null,this.length=0,this.red=null,P!==null&amp;&amp;(D!==&quot;le&quot;&amp;&amp;D!==&quot;be&quot;||(E=D,D=10),this._init(P||0,D||10,E||&quot;be&quot;))}var d;typeof i==&quot;object&quot;?i.exports=s:(void 0).BN=s,s.BN=s,s.wordSize=26;try{d=typeof window&lt;&quot;u&quot;&amp;&amp;window.Buffer!==void 0?window.Buffer:t(&quot;buffer&quot;).Buffer}catch{}function f(P,D){var E=P.charCodeAt(D);return E&gt;=65&amp;&amp;E&lt;=70?E-55:E&gt;=97&amp;&amp;E&lt;=102?E-87:E-48&amp;15}function h(P,D,E){var j=f(P,E);return E-1&gt;=D&amp;&amp;(j|=f(P,E-1)&lt;&lt;4),j}function m(P,D,E,j){for(var k=0,S=Math.min(P.length,E),N=D;N&lt;S;N++){var M=P.charCodeAt(N)-48;k*=j,k+=M&gt;=49?M-49+10:M&gt;=17?M-17+10:M}return k}s.isBN=function(P){return P instanceof s||P!==null&amp;&amp;typeof P==&quot;object&quot;&amp;&amp;P.constructor.wordSize===s.wordSize&amp;&amp;Array.isArray(P.words)},s.max=function(P,D){return P.cmp(D)&gt;0?P:D},s.min=function(P,D){return P.cmp(D)&lt;0?P:D},s.prototype._init=function(P,D,E){if(typeof P==&quot;number&quot;)return this._initNumber(P,D,E);if(typeof P==&quot;object&quot;)return this._initArray(P,D,E);D===&quot;hex&quot;&amp;&amp;(D=16),u(D===(0|D)&amp;&amp;D&gt;=2&amp;&amp;D&lt;=36);var j=0;(P=P.toString().replace(/\s+/g,&quot;&quot;))[0]===&quot;-&quot;&amp;&amp;(j++,this.negative=1),j&lt;P.length&amp;&amp;(D===16?this._parseHex(P,j,E):(this._parseBase(P,D,j),E===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),D,E)))},s.prototype._initNumber=function(P,D,E){P&lt;0&amp;&amp;(this.negative=1,P=-P),P&lt;67108864?(this.words=[67108863&amp;P],this.length=1):P&lt;4503599627370496?(this.words=[67108863&amp;P,P/67108864&amp;67108863],this.length=2):(u(P&lt;9007199254740992),this.words=[67108863&amp;P,P/67108864&amp;67108863,1],this.length=3),E===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),D,E)},s.prototype._initArray=function(P,D,E){if(u(typeof P.length==&quot;number&quot;),P.length&lt;=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(P.length/3),this.words=new Array(this.length);for(var j=0;j&lt;this.length;j++)this.words[j]=0;var k,S,N=0;if(E===&quot;be&quot;)for(j=P.length-1,k=0;j&gt;=0;j-=3)S=P[j]|P[j-1]&lt;&lt;8|P[j-2]&lt;&lt;16,this.words[k]|=S&lt;&lt;N&amp;67108863,this.words[k+1]=S&gt;&gt;&gt;26-N&amp;67108863,(N+=24)&gt;=26&amp;&amp;(N-=26,k++);else if(E===&quot;le&quot;)for(j=0,k=0;j&lt;P.length;j+=3)S=P[j]|P[j+1]&lt;&lt;8|P[j+2]&lt;&lt;16,this.words[k]|=S&lt;&lt;N&amp;67108863,this.words[k+1]=S&gt;&gt;&gt;26-N&amp;67108863,(N+=24)&gt;=26&amp;&amp;(N-=26,k++);return this.strip()},s.prototype._parseHex=function(P,D,E){this.length=Math.ceil((P.length-D)/6),this.words=new Array(this.length);for(var j=0;j&lt;this.length;j++)this.words[j]=0;var k,S=0,N=0;if(E===&quot;be&quot;)for(j=P.length-1;j&gt;=D;j-=2)k=h(P,D,j)&lt;&lt;S,this.words[N]|=67108863&amp;k,S&gt;=18?(S-=18,N+=1,this.words[N]|=k&gt;&gt;&gt;26):S+=8;else for(j=(P.length-D)%2==0?D+1:D;j&lt;P.length;j+=2)k=h(P,D,j)&lt;&lt;S,this.words[N]|=67108863&amp;k,S&gt;=18?(S-=18,N+=1,this.words[N]|=k&gt;&gt;&gt;26):S+=8;this.strip()},s.prototype._parseBase=function(P,D,E){this.words=[0],this.length=1;for(var j=0,k=1;k&lt;=67108863;k*=D)j++;j--,k=k/D|0;for(var S=P.length-E,N=S%j,M=Math.min(S,S-N)+E,R=0,B=E;B&lt;M;B+=j)R=m(P,B,B+j,D),this.imuln(k),this.words[0]+R&lt;67108864?this.words[0]+=R:this._iaddn(R);if(N!==0){var Y=1;for(R=m(P,B,P.length,D),B=0;B&lt;N;B++)Y*=D;this.imuln(Y),this.words[0]+R&lt;67108864?this.words[0]+=R:this._iaddn(R)}this.strip()},s.prototype.copy=function(P){P.words=new Array(this.length);for(var D=0;D&lt;this.length;D++)P.words[D]=this.words[D];P.length=this.length,P.negative=this.negative,P.red=this.red},s.prototype.clone=function(){var P=new s(null);return this.copy(P),P},s.prototype._expand=function(P){for(;this.length&lt;P;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length&gt;1&amp;&amp;this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&amp;&amp;this.words[0]===0&amp;&amp;(this.negative=0),this},s.prototype.inspect=function(){return(this.red?&quot;&lt;BN-R: &quot;:&quot;&lt;BN: &quot;)+this.toString(16)+&quot;&gt;&quot;};var p=[&quot;&quot;,&quot;0&quot;,&quot;00&quot;,&quot;000&quot;,&quot;0000&quot;,&quot;00000&quot;,&quot;000000&quot;,&quot;0000000&quot;,&quot;00000000&quot;,&quot;000000000&quot;,&quot;0000000000&quot;,&quot;00000000000&quot;,&quot;000000000000&quot;,&quot;0000000000000&quot;,&quot;00000000000000&quot;,&quot;000000000000000&quot;,&quot;0000000000000000&quot;,&quot;00000000000000000&quot;,&quot;000000000000000000&quot;,&quot;0000000000000000000&quot;,&quot;00000000000000000000&quot;,&quot;000000000000000000000&quot;,&quot;0000000000000000000000&quot;,&quot;00000000000000000000000&quot;,&quot;000000000000000000000000&quot;,&quot;0000000000000000000000000&quot;],b=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],g=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function y(P,D,E){E.negative=D.negative^P.negative;var j=P.length+D.length|0;E.length=j,j=j-1|0;var k=0|P.words[0],S=0|D.words[0],N=k*S,M=67108863&amp;N,R=N/67108864|0;E.words[0]=M;for(var B=1;B&lt;j;B++){for(var Y=R&gt;&gt;&gt;26,Z=67108863&amp;R,ie=Math.min(B,D.length-1),U=Math.max(0,B-P.length+1);U&lt;=ie;U++){var ee=B-U|0;Y+=(N=(k=0|P.words[ee])*(S=0|D.words[U])+Z)/67108864|0,Z=67108863&amp;N}E.words[B]=0|Z,R=0|Y}return R!==0?E.words[B]=0|R:E.length--,E.strip()}s.prototype.toString=function(P,D){var E;if(D=0|D||1,(P=P||10)===16||P===&quot;hex&quot;){E=&quot;&quot;;for(var j=0,k=0,S=0;S&lt;this.length;S++){var N=this.words[S],M=(16777215&amp;(N&lt;&lt;j|k)).toString(16);E=(k=N&gt;&gt;&gt;24-j&amp;16777215)!==0||S!==this.length-1?p[6-M.length]+M+E:M+E,(j+=2)&gt;=26&amp;&amp;(j-=26,S--)}for(k!==0&amp;&amp;(E=k.toString(16)+E);E.length%D!=0;)E=&quot;0&quot;+E;return this.negative!==0&amp;&amp;(E=&quot;-&quot;+E),E}if(P===(0|P)&amp;&amp;P&gt;=2&amp;&amp;P&lt;=36){var R=b[P],B=g[P];E=&quot;&quot;;var Y=this.clone();for(Y.negative=0;!Y.isZero();){var Z=Y.modn(B).toString(P);E=(Y=Y.idivn(B)).isZero()?Z+E:p[R-Z.length]+Z+E}for(this.isZero()&amp;&amp;(E=&quot;0&quot;+E);E.length%D!=0;)E=&quot;0&quot;+E;return this.negative!==0&amp;&amp;(E=&quot;-&quot;+E),E}u(!1,&quot;Base should be between 2 and 36&quot;)},s.prototype.toNumber=function(){var P=this.words[0];return this.length===2?P+=67108864*this.words[1]:this.length===3&amp;&amp;this.words[2]===1?P+=4503599627370496+67108864*this.words[1]:this.length&gt;2&amp;&amp;u(!1,&quot;Number can only safely store up to 53 bits&quot;),this.negative!==0?-P:P},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(P,D){return u(d!==void 0),this.toArrayLike(d,P,D)},s.prototype.toArray=function(P,D){return this.toArrayLike(Array,P,D)},s.prototype.toArrayLike=function(P,D,E){var j=this.byteLength(),k=E||Math.max(1,j);u(j&lt;=k,&quot;byte array longer than desired length&quot;),u(k&gt;0,&quot;Requested array length &lt;= 0&quot;),this.strip();var S,N,M=D===&quot;le&quot;,R=new P(k),B=this.clone();if(M){for(N=0;!B.isZero();N++)S=B.andln(255),B.iushrn(8),R[N]=S;for(;N&lt;k;N++)R[N]=0}else{for(N=0;N&lt;k-j;N++)R[N]=0;for(N=0;!B.isZero();N++)S=B.andln(255),B.iushrn(8),R[k-N-1]=S}return R},Math.clz32?s.prototype._countBits=function(P){return 32-Math.clz32(P)}:s.prototype._countBits=function(P){var D=P,E=0;return D&gt;=4096&amp;&amp;(E+=13,D&gt;&gt;&gt;=13),D&gt;=64&amp;&amp;(E+=7,D&gt;&gt;&gt;=7),D&gt;=8&amp;&amp;(E+=4,D&gt;&gt;&gt;=4),D&gt;=2&amp;&amp;(E+=2,D&gt;&gt;&gt;=2),E+D},s.prototype._zeroBits=function(P){if(P===0)return 26;var D=P,E=0;return(8191&amp;D)==0&amp;&amp;(E+=13,D&gt;&gt;&gt;=13),(127&amp;D)==0&amp;&amp;(E+=7,D&gt;&gt;&gt;=7),(15&amp;D)==0&amp;&amp;(E+=4,D&gt;&gt;&gt;=4),(3&amp;D)==0&amp;&amp;(E+=2,D&gt;&gt;&gt;=2),(1&amp;D)==0&amp;&amp;E++,E},s.prototype.bitLength=function(){var P=this.words[this.length-1],D=this._countBits(P);return 26*(this.length-1)+D},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var P=0,D=0;D&lt;this.length;D++){var E=this._zeroBits(this.words[D]);if(P+=E,E!==26)break}return P},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(P){return this.negative!==0?this.abs().inotn(P).iaddn(1):this.clone()},s.prototype.fromTwos=function(P){return this.testn(P-1)?this.notn(P).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return this.negative!==0},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(P){for(;this.length&lt;P.length;)this.words[this.length++]=0;for(var D=0;D&lt;P.length;D++)this.words[D]=this.words[D]|P.words[D];return this.strip()},s.prototype.ior=function(P){return u((this.negative|P.negative)==0),this.iuor(P)},s.prototype.or=function(P){return this.length&gt;P.length?this.clone().ior(P):P.clone().ior(this)},s.prototype.uor=function(P){return this.length&gt;P.length?this.clone().iuor(P):P.clone().iuor(this)},s.prototype.iuand=function(P){var D;D=this.length&gt;P.length?P:this;for(var E=0;E&lt;D.length;E++)this.words[E]=this.words[E]&amp;P.words[E];return this.length=D.length,this.strip()},s.prototype.iand=function(P){return u((this.negative|P.negative)==0),this.iuand(P)},s.prototype.and=function(P){return this.length&gt;P.length?this.clone().iand(P):P.clone().iand(this)},s.prototype.uand=function(P){return this.length&gt;P.length?this.clone().iuand(P):P.clone().iuand(this)},s.prototype.iuxor=function(P){var D,E;this.length&gt;P.length?(D=this,E=P):(D=P,E=this);for(var j=0;j&lt;E.length;j++)this.words[j]=D.words[j]^E.words[j];if(this!==D)for(;j&lt;D.length;j++)this.words[j]=D.words[j];return this.length=D.length,this.strip()},s.prototype.ixor=function(P){return u((this.negative|P.negative)==0),this.iuxor(P)},s.prototype.xor=function(P){return this.length&gt;P.length?this.clone().ixor(P):P.clone().ixor(this)},s.prototype.uxor=function(P){return this.length&gt;P.length?this.clone().iuxor(P):P.clone().iuxor(this)},s.prototype.inotn=function(P){u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0);var D=0|Math.ceil(P/26),E=P%26;this._expand(D),E&gt;0&amp;&amp;D--;for(var j=0;j&lt;D;j++)this.words[j]=67108863&amp;~this.words[j];return E&gt;0&amp;&amp;(this.words[j]=~this.words[j]&amp;67108863&gt;&gt;26-E),this.strip()},s.prototype.notn=function(P){return this.clone().inotn(P)},s.prototype.setn=function(P,D){u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0);var E=P/26|0,j=P%26;return this._expand(E+1),this.words[E]=D?this.words[E]|1&lt;&lt;j:this.words[E]&amp;~(1&lt;&lt;j),this.strip()},s.prototype.iadd=function(P){var D,E,j;if(this.negative!==0&amp;&amp;P.negative===0)return this.negative=0,D=this.isub(P),this.negative^=1,this._normSign();if(this.negative===0&amp;&amp;P.negative!==0)return P.negative=0,D=this.isub(P),P.negative=1,D._normSign();this.length&gt;P.length?(E=this,j=P):(E=P,j=this);for(var k=0,S=0;S&lt;j.length;S++)D=(0|E.words[S])+(0|j.words[S])+k,this.words[S]=67108863&amp;D,k=D&gt;&gt;&gt;26;for(;k!==0&amp;&amp;S&lt;E.length;S++)D=(0|E.words[S])+k,this.words[S]=67108863&amp;D,k=D&gt;&gt;&gt;26;if(this.length=E.length,k!==0)this.words[this.length]=k,this.length++;else if(E!==this)for(;S&lt;E.length;S++)this.words[S]=E.words[S];return this},s.prototype.add=function(P){var D;return P.negative!==0&amp;&amp;this.negative===0?(P.negative=0,D=this.sub(P),P.negative^=1,D):P.negative===0&amp;&amp;this.negative!==0?(this.negative=0,D=P.sub(this),this.negative=1,D):this.length&gt;P.length?this.clone().iadd(P):P.clone().iadd(this)},s.prototype.isub=function(P){if(P.negative!==0){P.negative=0;var D=this.iadd(P);return P.negative=1,D._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(P),this.negative=1,this._normSign();var E,j,k=this.cmp(P);if(k===0)return this.negative=0,this.length=1,this.words[0]=0,this;k&gt;0?(E=this,j=P):(E=P,j=this);for(var S=0,N=0;N&lt;j.length;N++)S=(D=(0|E.words[N])-(0|j.words[N])+S)&gt;&gt;26,this.words[N]=67108863&amp;D;for(;S!==0&amp;&amp;N&lt;E.length;N++)S=(D=(0|E.words[N])+S)&gt;&gt;26,this.words[N]=67108863&amp;D;if(S===0&amp;&amp;N&lt;E.length&amp;&amp;E!==this)for(;N&lt;E.length;N++)this.words[N]=E.words[N];return this.length=Math.max(this.length,N),E!==this&amp;&amp;(this.negative=1),this.strip()},s.prototype.sub=function(P){return this.clone().isub(P)};var v=function(P,D,E){var j,k,S,N=P.words,M=D.words,R=E.words,B=0,Y=0|N[0],Z=8191&amp;Y,ie=Y&gt;&gt;&gt;13,U=0|N[1],ee=8191&amp;U,z=U&gt;&gt;&gt;13,I=0|N[2],X=8191&amp;I,re=I&gt;&gt;&gt;13,ne=0|N[3],Q=8191&amp;ne,te=ne&gt;&gt;&gt;13,de=0|N[4],le=8191&amp;de,se=de&gt;&gt;&gt;13,fe=0|N[5],he=8191&amp;fe,ue=fe&gt;&gt;&gt;13,ge=0|N[6],xe=8191&amp;ge,pe=ge&gt;&gt;&gt;13,ce=0|N[7],Ce=8191&amp;ce,Me=ce&gt;&gt;&gt;13,Se=0|N[8],Te=8191&amp;Se,Qe=Se&gt;&gt;&gt;13,Ve=0|N[9],Xe=8191&amp;Ve,tt=Ve&gt;&gt;&gt;13,He=0|M[0],ze=8191&amp;He,Ze=He&gt;&gt;&gt;13,et=0|M[1],Je=8191&amp;et,It=et&gt;&gt;&gt;13,Vt=0|M[2],ot=8191&amp;Vt,Tt=Vt&gt;&gt;&gt;13,jt=0|M[3],St=8191&amp;jt,Xt=jt&gt;&gt;&gt;13,$t=0|M[4],ht=8191&amp;$t,Ut=$t&gt;&gt;&gt;13,Ot=0|M[5],xt=8191&amp;Ot,Rt=Ot&gt;&gt;&gt;13,Gt=0|M[6],vt=8191&amp;Gt,ye=Gt&gt;&gt;&gt;13,ke=0|M[7],Ie=8191&amp;ke,Ke=ke&gt;&gt;&gt;13,dt=0|M[8],Ge=8191&amp;dt,wt=dt&gt;&gt;&gt;13,gt=0|M[9],nt=8191&amp;gt,Ct=gt&gt;&gt;&gt;13;E.negative=P.negative^D.negative,E.length=19;var kt=(B+(j=Math.imul(Z,ze))|0)+((8191&amp;(k=(k=Math.imul(Z,Ze))+Math.imul(ie,ze)|0))&lt;&lt;13)|0;B=((S=Math.imul(ie,Ze))+(k&gt;&gt;&gt;13)|0)+(kt&gt;&gt;&gt;26)|0,kt&amp;=67108863,j=Math.imul(ee,ze),k=(k=Math.imul(ee,Ze))+Math.imul(z,ze)|0,S=Math.imul(z,Ze);var Pt=(B+(j=j+Math.imul(Z,Je)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,It)|0)+Math.imul(ie,Je)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,It)|0)+(k&gt;&gt;&gt;13)|0)+(Pt&gt;&gt;&gt;26)|0,Pt&amp;=67108863,j=Math.imul(X,ze),k=(k=Math.imul(X,Ze))+Math.imul(re,ze)|0,S=Math.imul(re,Ze),j=j+Math.imul(ee,Je)|0,k=(k=k+Math.imul(ee,It)|0)+Math.imul(z,Je)|0,S=S+Math.imul(z,It)|0;var Jt=(B+(j=j+Math.imul(Z,ot)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Tt)|0)+Math.imul(ie,ot)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,Tt)|0)+(k&gt;&gt;&gt;13)|0)+(Jt&gt;&gt;&gt;26)|0,Jt&amp;=67108863,j=Math.imul(Q,ze),k=(k=Math.imul(Q,Ze))+Math.imul(te,ze)|0,S=Math.imul(te,Ze),j=j+Math.imul(X,Je)|0,k=(k=k+Math.imul(X,It)|0)+Math.imul(re,Je)|0,S=S+Math.imul(re,It)|0,j=j+Math.imul(ee,ot)|0,k=(k=k+Math.imul(ee,Tt)|0)+Math.imul(z,ot)|0,S=S+Math.imul(z,Tt)|0;var Ht=(B+(j=j+Math.imul(Z,St)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Xt)|0)+Math.imul(ie,St)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,Xt)|0)+(k&gt;&gt;&gt;13)|0)+(Ht&gt;&gt;&gt;26)|0,Ht&amp;=67108863,j=Math.imul(le,ze),k=(k=Math.imul(le,Ze))+Math.imul(se,ze)|0,S=Math.imul(se,Ze),j=j+Math.imul(Q,Je)|0,k=(k=k+Math.imul(Q,It)|0)+Math.imul(te,Je)|0,S=S+Math.imul(te,It)|0,j=j+Math.imul(X,ot)|0,k=(k=k+Math.imul(X,Tt)|0)+Math.imul(re,ot)|0,S=S+Math.imul(re,Tt)|0,j=j+Math.imul(ee,St)|0,k=(k=k+Math.imul(ee,Xt)|0)+Math.imul(z,St)|0,S=S+Math.imul(z,Xt)|0;var ar=(B+(j=j+Math.imul(Z,ht)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Ut)|0)+Math.imul(ie,ht)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,Ut)|0)+(k&gt;&gt;&gt;13)|0)+(ar&gt;&gt;&gt;26)|0,ar&amp;=67108863,j=Math.imul(he,ze),k=(k=Math.imul(he,Ze))+Math.imul(ue,ze)|0,S=Math.imul(ue,Ze),j=j+Math.imul(le,Je)|0,k=(k=k+Math.imul(le,It)|0)+Math.imul(se,Je)|0,S=S+Math.imul(se,It)|0,j=j+Math.imul(Q,ot)|0,k=(k=k+Math.imul(Q,Tt)|0)+Math.imul(te,ot)|0,S=S+Math.imul(te,Tt)|0,j=j+Math.imul(X,St)|0,k=(k=k+Math.imul(X,Xt)|0)+Math.imul(re,St)|0,S=S+Math.imul(re,Xt)|0,j=j+Math.imul(ee,ht)|0,k=(k=k+Math.imul(ee,Ut)|0)+Math.imul(z,ht)|0,S=S+Math.imul(z,Ut)|0;var or=(B+(j=j+Math.imul(Z,xt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Rt)|0)+Math.imul(ie,xt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,Rt)|0)+(k&gt;&gt;&gt;13)|0)+(or&gt;&gt;&gt;26)|0,or&amp;=67108863,j=Math.imul(xe,ze),k=(k=Math.imul(xe,Ze))+Math.imul(pe,ze)|0,S=Math.imul(pe,Ze),j=j+Math.imul(he,Je)|0,k=(k=k+Math.imul(he,It)|0)+Math.imul(ue,Je)|0,S=S+Math.imul(ue,It)|0,j=j+Math.imul(le,ot)|0,k=(k=k+Math.imul(le,Tt)|0)+Math.imul(se,ot)|0,S=S+Math.imul(se,Tt)|0,j=j+Math.imul(Q,St)|0,k=(k=k+Math.imul(Q,Xt)|0)+Math.imul(te,St)|0,S=S+Math.imul(te,Xt)|0,j=j+Math.imul(X,ht)|0,k=(k=k+Math.imul(X,Ut)|0)+Math.imul(re,ht)|0,S=S+Math.imul(re,Ut)|0,j=j+Math.imul(ee,xt)|0,k=(k=k+Math.imul(ee,Rt)|0)+Math.imul(z,xt)|0,S=S+Math.imul(z,Rt)|0;var $r=(B+(j=j+Math.imul(Z,vt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,ye)|0)+Math.imul(ie,vt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,ye)|0)+(k&gt;&gt;&gt;13)|0)+($r&gt;&gt;&gt;26)|0,$r&amp;=67108863,j=Math.imul(Ce,ze),k=(k=Math.imul(Ce,Ze))+Math.imul(Me,ze)|0,S=Math.imul(Me,Ze),j=j+Math.imul(xe,Je)|0,k=(k=k+Math.imul(xe,It)|0)+Math.imul(pe,Je)|0,S=S+Math.imul(pe,It)|0,j=j+Math.imul(he,ot)|0,k=(k=k+Math.imul(he,Tt)|0)+Math.imul(ue,ot)|0,S=S+Math.imul(ue,Tt)|0,j=j+Math.imul(le,St)|0,k=(k=k+Math.imul(le,Xt)|0)+Math.imul(se,St)|0,S=S+Math.imul(se,Xt)|0,j=j+Math.imul(Q,ht)|0,k=(k=k+Math.imul(Q,Ut)|0)+Math.imul(te,ht)|0,S=S+Math.imul(te,Ut)|0,j=j+Math.imul(X,xt)|0,k=(k=k+Math.imul(X,Rt)|0)+Math.imul(re,xt)|0,S=S+Math.imul(re,Rt)|0,j=j+Math.imul(ee,vt)|0,k=(k=k+Math.imul(ee,ye)|0)+Math.imul(z,vt)|0,S=S+Math.imul(z,ye)|0;var me=(B+(j=j+Math.imul(Z,Ie)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Ke)|0)+Math.imul(ie,Ie)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,Ke)|0)+(k&gt;&gt;&gt;13)|0)+(me&gt;&gt;&gt;26)|0,me&amp;=67108863,j=Math.imul(Te,ze),k=(k=Math.imul(Te,Ze))+Math.imul(Qe,ze)|0,S=Math.imul(Qe,Ze),j=j+Math.imul(Ce,Je)|0,k=(k=k+Math.imul(Ce,It)|0)+Math.imul(Me,Je)|0,S=S+Math.imul(Me,It)|0,j=j+Math.imul(xe,ot)|0,k=(k=k+Math.imul(xe,Tt)|0)+Math.imul(pe,ot)|0,S=S+Math.imul(pe,Tt)|0,j=j+Math.imul(he,St)|0,k=(k=k+Math.imul(he,Xt)|0)+Math.imul(ue,St)|0,S=S+Math.imul(ue,Xt)|0,j=j+Math.imul(le,ht)|0,k=(k=k+Math.imul(le,Ut)|0)+Math.imul(se,ht)|0,S=S+Math.imul(se,Ut)|0,j=j+Math.imul(Q,xt)|0,k=(k=k+Math.imul(Q,Rt)|0)+Math.imul(te,xt)|0,S=S+Math.imul(te,Rt)|0,j=j+Math.imul(X,vt)|0,k=(k=k+Math.imul(X,ye)|0)+Math.imul(re,vt)|0,S=S+Math.imul(re,ye)|0,j=j+Math.imul(ee,Ie)|0,k=(k=k+Math.imul(ee,Ke)|0)+Math.imul(z,Ie)|0,S=S+Math.imul(z,Ke)|0;var je=(B+(j=j+Math.imul(Z,Ge)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,wt)|0)+Math.imul(ie,Ge)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,wt)|0)+(k&gt;&gt;&gt;13)|0)+(je&gt;&gt;&gt;26)|0,je&amp;=67108863,j=Math.imul(Xe,ze),k=(k=Math.imul(Xe,Ze))+Math.imul(tt,ze)|0,S=Math.imul(tt,Ze),j=j+Math.imul(Te,Je)|0,k=(k=k+Math.imul(Te,It)|0)+Math.imul(Qe,Je)|0,S=S+Math.imul(Qe,It)|0,j=j+Math.imul(Ce,ot)|0,k=(k=k+Math.imul(Ce,Tt)|0)+Math.imul(Me,ot)|0,S=S+Math.imul(Me,Tt)|0,j=j+Math.imul(xe,St)|0,k=(k=k+Math.imul(xe,Xt)|0)+Math.imul(pe,St)|0,S=S+Math.imul(pe,Xt)|0,j=j+Math.imul(he,ht)|0,k=(k=k+Math.imul(he,Ut)|0)+Math.imul(ue,ht)|0,S=S+Math.imul(ue,Ut)|0,j=j+Math.imul(le,xt)|0,k=(k=k+Math.imul(le,Rt)|0)+Math.imul(se,xt)|0,S=S+Math.imul(se,Rt)|0,j=j+Math.imul(Q,vt)|0,k=(k=k+Math.imul(Q,ye)|0)+Math.imul(te,vt)|0,S=S+Math.imul(te,ye)|0,j=j+Math.imul(X,Ie)|0,k=(k=k+Math.imul(X,Ke)|0)+Math.imul(re,Ie)|0,S=S+Math.imul(re,Ke)|0,j=j+Math.imul(ee,Ge)|0,k=(k=k+Math.imul(ee,wt)|0)+Math.imul(z,Ge)|0,S=S+Math.imul(z,wt)|0;var Re=(B+(j=j+Math.imul(Z,nt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Ct)|0)+Math.imul(ie,nt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,Ct)|0)+(k&gt;&gt;&gt;13)|0)+(Re&gt;&gt;&gt;26)|0,Re&amp;=67108863,j=Math.imul(Xe,Je),k=(k=Math.imul(Xe,It))+Math.imul(tt,Je)|0,S=Math.imul(tt,It),j=j+Math.imul(Te,ot)|0,k=(k=k+Math.imul(Te,Tt)|0)+Math.imul(Qe,ot)|0,S=S+Math.imul(Qe,Tt)|0,j=j+Math.imul(Ce,St)|0,k=(k=k+Math.imul(Ce,Xt)|0)+Math.imul(Me,St)|0,S=S+Math.imul(Me,Xt)|0,j=j+Math.imul(xe,ht)|0,k=(k=k+Math.imul(xe,Ut)|0)+Math.imul(pe,ht)|0,S=S+Math.imul(pe,Ut)|0,j=j+Math.imul(he,xt)|0,k=(k=k+Math.imul(he,Rt)|0)+Math.imul(ue,xt)|0,S=S+Math.imul(ue,Rt)|0,j=j+Math.imul(le,vt)|0,k=(k=k+Math.imul(le,ye)|0)+Math.imul(se,vt)|0,S=S+Math.imul(se,ye)|0,j=j+Math.imul(Q,Ie)|0,k=(k=k+Math.imul(Q,Ke)|0)+Math.imul(te,Ie)|0,S=S+Math.imul(te,Ke)|0,j=j+Math.imul(X,Ge)|0,k=(k=k+Math.imul(X,wt)|0)+Math.imul(re,Ge)|0,S=S+Math.imul(re,wt)|0;var Be=(B+(j=j+Math.imul(ee,nt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(ee,Ct)|0)+Math.imul(z,nt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(z,Ct)|0)+(k&gt;&gt;&gt;13)|0)+(Be&gt;&gt;&gt;26)|0,Be&amp;=67108863,j=Math.imul(Xe,ot),k=(k=Math.imul(Xe,Tt))+Math.imul(tt,ot)|0,S=Math.imul(tt,Tt),j=j+Math.imul(Te,St)|0,k=(k=k+Math.imul(Te,Xt)|0)+Math.imul(Qe,St)|0,S=S+Math.imul(Qe,Xt)|0,j=j+Math.imul(Ce,ht)|0,k=(k=k+Math.imul(Ce,Ut)|0)+Math.imul(Me,ht)|0,S=S+Math.imul(Me,Ut)|0,j=j+Math.imul(xe,xt)|0,k=(k=k+Math.imul(xe,Rt)|0)+Math.imul(pe,xt)|0,S=S+Math.imul(pe,Rt)|0,j=j+Math.imul(he,vt)|0,k=(k=k+Math.imul(he,ye)|0)+Math.imul(ue,vt)|0,S=S+Math.imul(ue,ye)|0,j=j+Math.imul(le,Ie)|0,k=(k=k+Math.imul(le,Ke)|0)+Math.imul(se,Ie)|0,S=S+Math.imul(se,Ke)|0,j=j+Math.imul(Q,Ge)|0,k=(k=k+Math.imul(Q,wt)|0)+Math.imul(te,Ge)|0,S=S+Math.imul(te,wt)|0;var we=(B+(j=j+Math.imul(X,nt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(X,Ct)|0)+Math.imul(re,nt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(re,Ct)|0)+(k&gt;&gt;&gt;13)|0)+(we&gt;&gt;&gt;26)|0,we&amp;=67108863,j=Math.imul(Xe,St),k=(k=Math.imul(Xe,Xt))+Math.imul(tt,St)|0,S=Math.imul(tt,Xt),j=j+Math.imul(Te,ht)|0,k=(k=k+Math.imul(Te,Ut)|0)+Math.imul(Qe,ht)|0,S=S+Math.imul(Qe,Ut)|0,j=j+Math.imul(Ce,xt)|0,k=(k=k+Math.imul(Ce,Rt)|0)+Math.imul(Me,xt)|0,S=S+Math.imul(Me,Rt)|0,j=j+Math.imul(xe,vt)|0,k=(k=k+Math.imul(xe,ye)|0)+Math.imul(pe,vt)|0,S=S+Math.imul(pe,ye)|0,j=j+Math.imul(he,Ie)|0,k=(k=k+Math.imul(he,Ke)|0)+Math.imul(ue,Ie)|0,S=S+Math.imul(ue,Ke)|0,j=j+Math.imul(le,Ge)|0,k=(k=k+Math.imul(le,wt)|0)+Math.imul(se,Ge)|0,S=S+Math.imul(se,wt)|0;var De=(B+(j=j+Math.imul(Q,nt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Q,Ct)|0)+Math.imul(te,nt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(te,Ct)|0)+(k&gt;&gt;&gt;13)|0)+(De&gt;&gt;&gt;26)|0,De&amp;=67108863,j=Math.imul(Xe,ht),k=(k=Math.imul(Xe,Ut))+Math.imul(tt,ht)|0,S=Math.imul(tt,Ut),j=j+Math.imul(Te,xt)|0,k=(k=k+Math.imul(Te,Rt)|0)+Math.imul(Qe,xt)|0,S=S+Math.imul(Qe,Rt)|0,j=j+Math.imul(Ce,vt)|0,k=(k=k+Math.imul(Ce,ye)|0)+Math.imul(Me,vt)|0,S=S+Math.imul(Me,ye)|0,j=j+Math.imul(xe,Ie)|0,k=(k=k+Math.imul(xe,Ke)|0)+Math.imul(pe,Ie)|0,S=S+Math.imul(pe,Ke)|0,j=j+Math.imul(he,Ge)|0,k=(k=k+Math.imul(he,wt)|0)+Math.imul(ue,Ge)|0,S=S+Math.imul(ue,wt)|0;var Fe=(B+(j=j+Math.imul(le,nt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(le,Ct)|0)+Math.imul(se,nt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(se,Ct)|0)+(k&gt;&gt;&gt;13)|0)+(Fe&gt;&gt;&gt;26)|0,Fe&amp;=67108863,j=Math.imul(Xe,xt),k=(k=Math.imul(Xe,Rt))+Math.imul(tt,xt)|0,S=Math.imul(tt,Rt),j=j+Math.imul(Te,vt)|0,k=(k=k+Math.imul(Te,ye)|0)+Math.imul(Qe,vt)|0,S=S+Math.imul(Qe,ye)|0,j=j+Math.imul(Ce,Ie)|0,k=(k=k+Math.imul(Ce,Ke)|0)+Math.imul(Me,Ie)|0,S=S+Math.imul(Me,Ke)|0,j=j+Math.imul(xe,Ge)|0,k=(k=k+Math.imul(xe,wt)|0)+Math.imul(pe,Ge)|0,S=S+Math.imul(pe,wt)|0;var Nt=(B+(j=j+Math.imul(he,nt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(he,Ct)|0)+Math.imul(ue,nt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ue,Ct)|0)+(k&gt;&gt;&gt;13)|0)+(Nt&gt;&gt;&gt;26)|0,Nt&amp;=67108863,j=Math.imul(Xe,vt),k=(k=Math.imul(Xe,ye))+Math.imul(tt,vt)|0,S=Math.imul(tt,ye),j=j+Math.imul(Te,Ie)|0,k=(k=k+Math.imul(Te,Ke)|0)+Math.imul(Qe,Ie)|0,S=S+Math.imul(Qe,Ke)|0,j=j+Math.imul(Ce,Ge)|0,k=(k=k+Math.imul(Ce,wt)|0)+Math.imul(Me,Ge)|0,S=S+Math.imul(Me,wt)|0;var _t=(B+(j=j+Math.imul(xe,nt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(xe,Ct)|0)+Math.imul(pe,nt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(pe,Ct)|0)+(k&gt;&gt;&gt;13)|0)+(_t&gt;&gt;&gt;26)|0,_t&amp;=67108863,j=Math.imul(Xe,Ie),k=(k=Math.imul(Xe,Ke))+Math.imul(tt,Ie)|0,S=Math.imul(tt,Ke),j=j+Math.imul(Te,Ge)|0,k=(k=k+Math.imul(Te,wt)|0)+Math.imul(Qe,Ge)|0,S=S+Math.imul(Qe,wt)|0;var Et=(B+(j=j+Math.imul(Ce,nt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Ce,Ct)|0)+Math.imul(Me,nt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(Me,Ct)|0)+(k&gt;&gt;&gt;13)|0)+(Et&gt;&gt;&gt;26)|0,Et&amp;=67108863,j=Math.imul(Xe,Ge),k=(k=Math.imul(Xe,wt))+Math.imul(tt,Ge)|0,S=Math.imul(tt,wt);var mt=(B+(j=j+Math.imul(Te,nt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Te,Ct)|0)+Math.imul(Qe,nt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(Qe,Ct)|0)+(k&gt;&gt;&gt;13)|0)+(mt&gt;&gt;&gt;26)|0,mt&amp;=67108863;var Bt=(B+(j=Math.imul(Xe,nt))|0)+((8191&amp;(k=(k=Math.imul(Xe,Ct))+Math.imul(tt,nt)|0))&lt;&lt;13)|0;return B=((S=Math.imul(tt,Ct))+(k&gt;&gt;&gt;13)|0)+(Bt&gt;&gt;&gt;26)|0,Bt&amp;=67108863,R[0]=kt,R[1]=Pt,R[2]=Jt,R[3]=Ht,R[4]=ar,R[5]=or,R[6]=$r,R[7]=me,R[8]=je,R[9]=Re,R[10]=Be,R[11]=we,R[12]=De,R[13]=Fe,R[14]=Nt,R[15]=_t,R[16]=Et,R[17]=mt,R[18]=Bt,B!==0&amp;&amp;(R[19]=B,E.length++),E};function _(P,D,E){return new C().mulp(P,D,E)}function C(P,D){this.x=P,this.y=D}Math.imul||(v=y),s.prototype.mulTo=function(P,D){var E=this.length+P.length;return this.length===10&amp;&amp;P.length===10?v(this,P,D):E&lt;63?y(this,P,D):E&lt;1024?(function(j,k,S){S.negative=k.negative^j.negative,S.length=j.length+k.length;for(var N=0,M=0,R=0;R&lt;S.length-1;R++){var B=M;M=0;for(var Y=67108863&amp;N,Z=Math.min(R,k.length-1),ie=Math.max(0,R-j.length+1);ie&lt;=Z;ie++){var U=R-ie,ee=(0|j.words[U])*(0|k.words[ie]),z=67108863&amp;ee;Y=67108863&amp;(z=z+Y|0),M+=(B=(B=B+(ee/67108864|0)|0)+(z&gt;&gt;&gt;26)|0)&gt;&gt;&gt;26,B&amp;=67108863}S.words[R]=Y,N=B,B=M}return N!==0?S.words[R]=N:S.length--,S.strip()})(this,P,D):_(this,P,D)},C.prototype.makeRBT=function(P){for(var D=new Array(P),E=s.prototype._countBits(P)-1,j=0;j&lt;P;j++)D[j]=this.revBin(j,E,P);return D},C.prototype.revBin=function(P,D,E){if(P===0||P===E-1)return P;for(var j=0,k=0;k&lt;D;k++)j|=(1&amp;P)&lt;&lt;D-k-1,P&gt;&gt;=1;return j},C.prototype.permute=function(P,D,E,j,k,S){for(var N=0;N&lt;S;N++)j[N]=D[P[N]],k[N]=E[P[N]]},C.prototype.transform=function(P,D,E,j,k,S){this.permute(S,P,D,E,j,k);for(var N=1;N&lt;k;N&lt;&lt;=1)for(var M=N&lt;&lt;1,R=Math.cos(2*Math.PI/M),B=Math.sin(2*Math.PI/M),Y=0;Y&lt;k;Y+=M)for(var Z=R,ie=B,U=0;U&lt;N;U++){var ee=E[Y+U],z=j[Y+U],I=E[Y+U+N],X=j[Y+U+N],re=Z*I-ie*X;X=Z*X+ie*I,I=re,E[Y+U]=ee+I,j[Y+U]=z+X,E[Y+U+N]=ee-I,j[Y+U+N]=z-X,U!==M&amp;&amp;(re=R*Z-B*ie,ie=R*ie+B*Z,Z=re)}},C.prototype.guessLen13b=function(P,D){var E=1|Math.max(D,P),j=1&amp;E,k=0;for(E=E/2|0;E;E&gt;&gt;&gt;=1)k++;return 1&lt;&lt;k+1+j},C.prototype.conjugate=function(P,D,E){if(!(E&lt;=1))for(var j=0;j&lt;E/2;j++){var k=P[j];P[j]=P[E-j-1],P[E-j-1]=k,k=D[j],D[j]=-D[E-j-1],D[E-j-1]=-k}},C.prototype.normalize13b=function(P,D){for(var E=0,j=0;j&lt;D/2;j++){var k=8192*Math.round(P[2*j+1]/D)+Math.round(P[2*j]/D)+E;P[j]=67108863&amp;k,E=k&lt;67108864?0:k/67108864|0}return P},C.prototype.convert13b=function(P,D,E,j){for(var k=0,S=0;S&lt;D;S++)k+=0|P[S],E[2*S]=8191&amp;k,k&gt;&gt;&gt;=13,E[2*S+1]=8191&amp;k,k&gt;&gt;&gt;=13;for(S=2*D;S&lt;j;++S)E[S]=0;u(k===0),u((-8192&amp;k)==0)},C.prototype.stub=function(P){for(var D=new Array(P),E=0;E&lt;P;E++)D[E]=0;return D},C.prototype.mulp=function(P,D,E){var j=2*this.guessLen13b(P.length,D.length),k=this.makeRBT(j),S=this.stub(j),N=new Array(j),M=new Array(j),R=new Array(j),B=new Array(j),Y=new Array(j),Z=new Array(j),ie=E.words;ie.length=j,this.convert13b(P.words,P.length,N,j),this.convert13b(D.words,D.length,B,j),this.transform(N,S,M,R,j,k),this.transform(B,S,Y,Z,j,k);for(var U=0;U&lt;j;U++){var ee=M[U]*Y[U]-R[U]*Z[U];R[U]=M[U]*Z[U]+R[U]*Y[U],M[U]=ee}return this.conjugate(M,R,j),this.transform(M,R,ie,S,j,k),this.conjugate(ie,S,j),this.normalize13b(ie,j),E.negative=P.negative^D.negative,E.length=P.length+D.length,E.strip()},s.prototype.mul=function(P){var D=new s(null);return D.words=new Array(this.length+P.length),this.mulTo(P,D)},s.prototype.mulf=function(P){var D=new s(null);return D.words=new Array(this.length+P.length),_(this,P,D)},s.prototype.imul=function(P){return this.clone().mulTo(P,this)},s.prototype.imuln=function(P){u(typeof P==&quot;number&quot;),u(P&lt;67108864);for(var D=0,E=0;E&lt;this.length;E++){var j=(0|this.words[E])*P,k=(67108863&amp;j)+(67108863&amp;D);D&gt;&gt;=26,D+=j/67108864|0,D+=k&gt;&gt;&gt;26,this.words[E]=67108863&amp;k}return D!==0&amp;&amp;(this.words[E]=D,this.length++),this},s.prototype.muln=function(P){return this.clone().imuln(P)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(P){var D=(function(S){for(var N=new Array(S.bitLength()),M=0;M&lt;N.length;M++){var R=M/26|0,B=M%26;N[M]=(S.words[R]&amp;1&lt;&lt;B)&gt;&gt;&gt;B}return N})(P);if(D.length===0)return new s(1);for(var E=this,j=0;j&lt;D.length&amp;&amp;D[j]===0;j++,E=E.sqr());if(++j&lt;D.length)for(var k=E.sqr();j&lt;D.length;j++,k=k.sqr())D[j]!==0&amp;&amp;(E=E.mul(k));return E},s.prototype.iushln=function(P){u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0);var D,E=P%26,j=(P-E)/26,k=67108863&gt;&gt;&gt;26-E&lt;&lt;26-E;if(E!==0){var S=0;for(D=0;D&lt;this.length;D++){var N=this.words[D]&amp;k,M=(0|this.words[D])-N&lt;&lt;E;this.words[D]=M|S,S=N&gt;&gt;&gt;26-E}S&amp;&amp;(this.words[D]=S,this.length++)}if(j!==0){for(D=this.length-1;D&gt;=0;D--)this.words[D+j]=this.words[D];for(D=0;D&lt;j;D++)this.words[D]=0;this.length+=j}return this.strip()},s.prototype.ishln=function(P){return u(this.negative===0),this.iushln(P)},s.prototype.iushrn=function(P,D,E){var j;u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0),j=D?(D-D%26)/26:0;var k=P%26,S=Math.min((P-k)/26,this.length),N=67108863^67108863&gt;&gt;&gt;k&lt;&lt;k,M=E;if(j-=S,j=Math.max(0,j),M){for(var R=0;R&lt;S;R++)M.words[R]=this.words[R];M.length=S}if(S!==0)if(this.length&gt;S)for(this.length-=S,R=0;R&lt;this.length;R++)this.words[R]=this.words[R+S];else this.words[0]=0,this.length=1;var B=0;for(R=this.length-1;R&gt;=0&amp;&amp;(B!==0||R&gt;=j);R--){var Y=0|this.words[R];this.words[R]=B&lt;&lt;26-k|Y&gt;&gt;&gt;k,B=Y&amp;N}return M&amp;&amp;B!==0&amp;&amp;(M.words[M.length++]=B),this.length===0&amp;&amp;(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(P,D,E){return u(this.negative===0),this.iushrn(P,D,E)},s.prototype.shln=function(P){return this.clone().ishln(P)},s.prototype.ushln=function(P){return this.clone().iushln(P)},s.prototype.shrn=function(P){return this.clone().ishrn(P)},s.prototype.ushrn=function(P){return this.clone().iushrn(P)},s.prototype.testn=function(P){u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0);var D=P%26,E=(P-D)/26,j=1&lt;&lt;D;return!(this.length&lt;=E)&amp;&amp;!!(this.words[E]&amp;j)},s.prototype.imaskn=function(P){u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0);var D=P%26,E=(P-D)/26;if(u(this.negative===0,&quot;imaskn works only with positive numbers&quot;),this.length&lt;=E)return this;if(D!==0&amp;&amp;E++,this.length=Math.min(E,this.length),D!==0){var j=67108863^67108863&gt;&gt;&gt;D&lt;&lt;D;this.words[this.length-1]&amp;=j}return this.strip()},s.prototype.maskn=function(P){return this.clone().imaskn(P)},s.prototype.iaddn=function(P){return u(typeof P==&quot;number&quot;),u(P&lt;67108864),P&lt;0?this.isubn(-P):this.negative!==0?this.length===1&amp;&amp;(0|this.words[0])&lt;P?(this.words[0]=P-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(P),this.negative=1,this):this._iaddn(P)},s.prototype._iaddn=function(P){this.words[0]+=P;for(var D=0;D&lt;this.length&amp;&amp;this.words[D]&gt;=67108864;D++)this.words[D]-=67108864,D===this.length-1?this.words[D+1]=1:this.words[D+1]++;return this.length=Math.max(this.length,D+1),this},s.prototype.isubn=function(P){if(u(typeof P==&quot;number&quot;),u(P&lt;67108864),P&lt;0)return this.iaddn(-P);if(this.negative!==0)return this.negative=0,this.iaddn(P),this.negative=1,this;if(this.words[0]-=P,this.length===1&amp;&amp;this.words[0]&lt;0)this.words[0]=-this.words[0],this.negative=1;else for(var D=0;D&lt;this.length&amp;&amp;this.words[D]&lt;0;D++)this.words[D]+=67108864,this.words[D+1]-=1;return this.strip()},s.prototype.addn=function(P){return this.clone().iaddn(P)},s.prototype.subn=function(P){return this.clone().isubn(P)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(P,D,E){var j,k,S=P.length+E;this._expand(S);var N=0;for(j=0;j&lt;P.length;j++){k=(0|this.words[j+E])+N;var M=(0|P.words[j])*D;N=((k-=67108863&amp;M)&gt;&gt;26)-(M/67108864|0),this.words[j+E]=67108863&amp;k}for(;j&lt;this.length-E;j++)N=(k=(0|this.words[j+E])+N)&gt;&gt;26,this.words[j+E]=67108863&amp;k;if(N===0)return this.strip();for(u(N===-1),N=0,j=0;j&lt;this.length;j++)N=(k=-(0|this.words[j])+N)&gt;&gt;26,this.words[j]=67108863&amp;k;return this.negative=1,this.strip()},s.prototype._wordDiv=function(P,D){var E=(this.length,P.length),j=this.clone(),k=P,S=0|k.words[k.length-1];(E=26-this._countBits(S))!==0&amp;&amp;(k=k.ushln(E),j.iushln(E),S=0|k.words[k.length-1]);var N,M=j.length-k.length;if(D!==&quot;mod&quot;){(N=new s(null)).length=M+1,N.words=new Array(N.length);for(var R=0;R&lt;N.length;R++)N.words[R]=0}var B=j.clone()._ishlnsubmul(k,1,M);B.negative===0&amp;&amp;(j=B,N&amp;&amp;(N.words[M]=1));for(var Y=M-1;Y&gt;=0;Y--){var Z=67108864*(0|j.words[k.length+Y])+(0|j.words[k.length+Y-1]);for(Z=Math.min(Z/S|0,67108863),j._ishlnsubmul(k,Z,Y);j.negative!==0;)Z--,j.negative=0,j._ishlnsubmul(k,1,Y),j.isZero()||(j.negative^=1);N&amp;&amp;(N.words[Y]=Z)}return N&amp;&amp;N.strip(),j.strip(),D!==&quot;div&quot;&amp;&amp;E!==0&amp;&amp;j.iushrn(E),{div:N||null,mod:j}},s.prototype.divmod=function(P,D,E){return u(!P.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:this.negative!==0&amp;&amp;P.negative===0?(S=this.neg().divmod(P,D),D!==&quot;mod&quot;&amp;&amp;(j=S.div.neg()),D!==&quot;div&quot;&amp;&amp;(k=S.mod.neg(),E&amp;&amp;k.negative!==0&amp;&amp;k.iadd(P)),{div:j,mod:k}):this.negative===0&amp;&amp;P.negative!==0?(S=this.divmod(P.neg(),D),D!==&quot;mod&quot;&amp;&amp;(j=S.div.neg()),{div:j,mod:S.mod}):(this.negative&amp;P.negative)!=0?(S=this.neg().divmod(P.neg(),D),D!==&quot;div&quot;&amp;&amp;(k=S.mod.neg(),E&amp;&amp;k.negative!==0&amp;&amp;k.isub(P)),{div:S.div,mod:k}):P.length&gt;this.length||this.cmp(P)&lt;0?{div:new s(0),mod:this}:P.length===1?D===&quot;div&quot;?{div:this.divn(P.words[0]),mod:null}:D===&quot;mod&quot;?{div:null,mod:new s(this.modn(P.words[0]))}:{div:this.divn(P.words[0]),mod:new s(this.modn(P.words[0]))}:this._wordDiv(P,D);var j,k,S},s.prototype.div=function(P){return this.divmod(P,&quot;div&quot;,!1).div},s.prototype.mod=function(P){return this.divmod(P,&quot;mod&quot;,!1).mod},s.prototype.umod=function(P){return this.divmod(P,&quot;mod&quot;,!0).mod},s.prototype.divRound=function(P){var D=this.divmod(P);if(D.mod.isZero())return D.div;var E=D.div.negative!==0?D.mod.isub(P):D.mod,j=P.ushrn(1),k=P.andln(1),S=E.cmp(j);return S&lt;0||k===1&amp;&amp;S===0?D.div:D.div.negative!==0?D.div.isubn(1):D.div.iaddn(1)},s.prototype.modn=function(P){u(P&lt;=67108863);for(var D=(1&lt;&lt;26)%P,E=0,j=this.length-1;j&gt;=0;j--)E=(D*E+(0|this.words[j]))%P;return E},s.prototype.idivn=function(P){u(P&lt;=67108863);for(var D=0,E=this.length-1;E&gt;=0;E--){var j=(0|this.words[E])+67108864*D;this.words[E]=j/P|0,D=j%P}return this.strip()},s.prototype.divn=function(P){return this.clone().idivn(P)},s.prototype.egcd=function(P){u(P.negative===0),u(!P.isZero());var D=this,E=P.clone();D=D.negative!==0?D.umod(P):D.clone();for(var j=new s(1),k=new s(0),S=new s(0),N=new s(1),M=0;D.isEven()&amp;&amp;E.isEven();)D.iushrn(1),E.iushrn(1),++M;for(var R=E.clone(),B=D.clone();!D.isZero();){for(var Y=0,Z=1;(D.words[0]&amp;Z)==0&amp;&amp;Y&lt;26;++Y,Z&lt;&lt;=1);if(Y&gt;0)for(D.iushrn(Y);Y-- &gt;0;)(j.isOdd()||k.isOdd())&amp;&amp;(j.iadd(R),k.isub(B)),j.iushrn(1),k.iushrn(1);for(var ie=0,U=1;(E.words[0]&amp;U)==0&amp;&amp;ie&lt;26;++ie,U&lt;&lt;=1);if(ie&gt;0)for(E.iushrn(ie);ie-- &gt;0;)(S.isOdd()||N.isOdd())&amp;&amp;(S.iadd(R),N.isub(B)),S.iushrn(1),N.iushrn(1);D.cmp(E)&gt;=0?(D.isub(E),j.isub(S),k.isub(N)):(E.isub(D),S.isub(j),N.isub(k))}return{a:S,b:N,gcd:E.iushln(M)}},s.prototype._invmp=function(P){u(P.negative===0),u(!P.isZero());var D=this,E=P.clone();D=D.negative!==0?D.umod(P):D.clone();for(var j,k=new s(1),S=new s(0),N=E.clone();D.cmpn(1)&gt;0&amp;&amp;E.cmpn(1)&gt;0;){for(var M=0,R=1;(D.words[0]&amp;R)==0&amp;&amp;M&lt;26;++M,R&lt;&lt;=1);if(M&gt;0)for(D.iushrn(M);M-- &gt;0;)k.isOdd()&amp;&amp;k.iadd(N),k.iushrn(1);for(var B=0,Y=1;(E.words[0]&amp;Y)==0&amp;&amp;B&lt;26;++B,Y&lt;&lt;=1);if(B&gt;0)for(E.iushrn(B);B-- &gt;0;)S.isOdd()&amp;&amp;S.iadd(N),S.iushrn(1);D.cmp(E)&gt;=0?(D.isub(E),k.isub(S)):(E.isub(D),S.isub(k))}return(j=D.cmpn(1)===0?k:S).cmpn(0)&lt;0&amp;&amp;j.iadd(P),j},s.prototype.gcd=function(P){if(this.isZero())return P.abs();if(P.isZero())return this.abs();var D=this.clone(),E=P.clone();D.negative=0,E.negative=0;for(var j=0;D.isEven()&amp;&amp;E.isEven();j++)D.iushrn(1),E.iushrn(1);for(;;){for(;D.isEven();)D.iushrn(1);for(;E.isEven();)E.iushrn(1);var k=D.cmp(E);if(k&lt;0){var S=D;D=E,E=S}else if(k===0||E.cmpn(1)===0)break;D.isub(E)}return E.iushln(j)},s.prototype.invm=function(P){return this.egcd(P).a.umod(P)},s.prototype.isEven=function(){return(1&amp;this.words[0])==0},s.prototype.isOdd=function(){return(1&amp;this.words[0])==1},s.prototype.andln=function(P){return this.words[0]&amp;P},s.prototype.bincn=function(P){u(typeof P==&quot;number&quot;);var D=P%26,E=(P-D)/26,j=1&lt;&lt;D;if(this.length&lt;=E)return this._expand(E+1),this.words[E]|=j,this;for(var k=j,S=E;k!==0&amp;&amp;S&lt;this.length;S++){var N=0|this.words[S];k=(N+=k)&gt;&gt;&gt;26,N&amp;=67108863,this.words[S]=N}return k!==0&amp;&amp;(this.words[S]=k,this.length++),this},s.prototype.isZero=function(){return this.length===1&amp;&amp;this.words[0]===0},s.prototype.cmpn=function(P){var D,E=P&lt;0;if(this.negative!==0&amp;&amp;!E)return-1;if(this.negative===0&amp;&amp;E)return 1;if(this.strip(),this.length&gt;1)D=1;else{E&amp;&amp;(P=-P),u(P&lt;=67108863,&quot;Number is too big&quot;);var j=0|this.words[0];D=j===P?0:j&lt;P?-1:1}return this.negative!==0?0|-D:D},s.prototype.cmp=function(P){if(this.negative!==0&amp;&amp;P.negative===0)return-1;if(this.negative===0&amp;&amp;P.negative!==0)return 1;var D=this.ucmp(P);return this.negative!==0?0|-D:D},s.prototype.ucmp=function(P){if(this.length&gt;P.length)return 1;if(this.length&lt;P.length)return-1;for(var D=0,E=this.length-1;E&gt;=0;E--){var j=0|this.words[E],k=0|P.words[E];if(j!==k){j&lt;k?D=-1:j&gt;k&amp;&amp;(D=1);break}}return D},s.prototype.gtn=function(P){return this.cmpn(P)===1},s.prototype.gt=function(P){return this.cmp(P)===1},s.prototype.gten=function(P){return this.cmpn(P)&gt;=0},s.prototype.gte=function(P){return this.cmp(P)&gt;=0},s.prototype.ltn=function(P){return this.cmpn(P)===-1},s.prototype.lt=function(P){return this.cmp(P)===-1},s.prototype.lten=function(P){return this.cmpn(P)&lt;=0},s.prototype.lte=function(P){return this.cmp(P)&lt;=0},s.prototype.eqn=function(P){return this.cmpn(P)===0},s.prototype.eq=function(P){return this.cmp(P)===0},s.red=function(P){return new K(P)},s.prototype.toRed=function(P){return u(!this.red,&quot;Already a number in reduction context&quot;),u(this.negative===0,&quot;red works only with positives&quot;),P.convertTo(this)._forceRed(P)},s.prototype.fromRed=function(){return u(this.red,&quot;fromRed works only with numbers in reduction context&quot;),this.red.convertFrom(this)},s.prototype._forceRed=function(P){return this.red=P,this},s.prototype.forceRed=function(P){return u(!this.red,&quot;Already a number in reduction context&quot;),this._forceRed(P)},s.prototype.redAdd=function(P){return u(this.red,&quot;redAdd works only with red numbers&quot;),this.red.add(this,P)},s.prototype.redIAdd=function(P){return u(this.red,&quot;redIAdd works only with red numbers&quot;),this.red.iadd(this,P)},s.prototype.redSub=function(P){return u(this.red,&quot;redSub works only with red numbers&quot;),this.red.sub(this,P)},s.prototype.redISub=function(P){return u(this.red,&quot;redISub works only with red numbers&quot;),this.red.isub(this,P)},s.prototype.redShl=function(P){return u(this.red,&quot;redShl works only with red numbers&quot;),this.red.shl(this,P)},s.prototype.redMul=function(P){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,P),this.red.mul(this,P)},s.prototype.redIMul=function(P){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,P),this.red.imul(this,P)},s.prototype.redSqr=function(){return u(this.red,&quot;redSqr works only with red numbers&quot;),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return u(this.red,&quot;redISqr works only with red numbers&quot;),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return u(this.red,&quot;redSqrt works only with red numbers&quot;),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return u(this.red,&quot;redInvm works only with red numbers&quot;),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return u(this.red,&quot;redNeg works only with red numbers&quot;),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(P){return u(this.red&amp;&amp;!P.red,&quot;redPow(normalNum)&quot;),this.red._verify1(this),this.red.pow(this,P)};var O={k256:null,p224:null,p192:null,p25519:null};function T(P,D){this.name=P,this.p=new s(D,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function V(){T.call(this,&quot;k256&quot;,&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f&quot;)}function F(){T.call(this,&quot;p224&quot;,&quot;ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001&quot;)}function H(){T.call(this,&quot;p192&quot;,&quot;ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff&quot;)}function W(){T.call(this,&quot;25519&quot;,&quot;7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed&quot;)}function K(P){if(typeof P==&quot;string&quot;){var D=s._prime(P);this.m=D.p,this.prime=D}else u(P.gtn(1),&quot;modulus must be greater than 1&quot;),this.m=P,this.prime=null}function $(P){K.call(this,P),this.shift=this.m.bitLength(),this.shift%26!=0&amp;&amp;(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}T.prototype._tmp=function(){var P=new s(null);return P.words=new Array(Math.ceil(this.n/13)),P},T.prototype.ireduce=function(P){var D,E=P;do this.split(E,this.tmp),D=(E=(E=this.imulK(E)).iadd(this.tmp)).bitLength();while(D&gt;this.n);var j=D&lt;this.n?-1:E.ucmp(this.p);return j===0?(E.words[0]=0,E.length=1):j&gt;0?E.isub(this.p):E.strip!==void 0?E.strip():E._strip(),E},T.prototype.split=function(P,D){P.iushrn(this.n,0,D)},T.prototype.imulK=function(P){return P.imul(this.k)},l(V,T),V.prototype.split=function(P,D){for(var E=Math.min(P.length,9),j=0;j&lt;E;j++)D.words[j]=P.words[j];if(D.length=E,P.length&lt;=9)return P.words[0]=0,void(P.length=1);var k=P.words[9];for(D.words[D.length++]=4194303&amp;k,j=10;j&lt;P.length;j++){var S=0|P.words[j];P.words[j-10]=(4194303&amp;S)&lt;&lt;4|k&gt;&gt;&gt;22,k=S}k&gt;&gt;&gt;=22,P.words[j-10]=k,k===0&amp;&amp;P.length&gt;10?P.length-=10:P.length-=9},V.prototype.imulK=function(P){P.words[P.length]=0,P.words[P.length+1]=0,P.length+=2;for(var D=0,E=0;E&lt;P.length;E++){var j=0|P.words[E];D+=977*j,P.words[E]=67108863&amp;D,D=64*j+(D/67108864|0)}return P.words[P.length-1]===0&amp;&amp;(P.length--,P.words[P.length-1]===0&amp;&amp;P.length--),P},l(F,T),l(H,T),l(W,T),W.prototype.imulK=function(P){for(var D=0,E=0;E&lt;P.length;E++){var j=19*(0|P.words[E])+D,k=67108863&amp;j;j&gt;&gt;&gt;=26,P.words[E]=k,D=j}return D!==0&amp;&amp;(P.words[P.length++]=D),P},s._prime=function(P){if(O[P])return O[P];var D;if(P===&quot;k256&quot;)D=new V;else if(P===&quot;p224&quot;)D=new F;else if(P===&quot;p192&quot;)D=new H;else{if(P!==&quot;p25519&quot;)throw new Error(&quot;Unknown prime &quot;+P);D=new W}return O[P]=D,D},K.prototype._verify1=function(P){u(P.negative===0,&quot;red works only with positives&quot;),u(P.red,&quot;red works only with red numbers&quot;)},K.prototype._verify2=function(P,D){u((P.negative|D.negative)==0,&quot;red works only with positives&quot;),u(P.red&amp;&amp;P.red===D.red,&quot;red works only with red numbers&quot;)},K.prototype.imod=function(P){return this.prime?this.prime.ireduce(P)._forceRed(this):P.umod(this.m)._forceRed(this)},K.prototype.neg=function(P){return P.isZero()?P.clone():this.m.sub(P)._forceRed(this)},K.prototype.add=function(P,D){this._verify2(P,D);var E=P.add(D);return E.cmp(this.m)&gt;=0&amp;&amp;E.isub(this.m),E._forceRed(this)},K.prototype.iadd=function(P,D){this._verify2(P,D);var E=P.iadd(D);return E.cmp(this.m)&gt;=0&amp;&amp;E.isub(this.m),E},K.prototype.sub=function(P,D){this._verify2(P,D);var E=P.sub(D);return E.cmpn(0)&lt;0&amp;&amp;E.iadd(this.m),E._forceRed(this)},K.prototype.isub=function(P,D){this._verify2(P,D);var E=P.isub(D);return E.cmpn(0)&lt;0&amp;&amp;E.iadd(this.m),E},K.prototype.shl=function(P,D){return this._verify1(P),this.imod(P.ushln(D))},K.prototype.imul=function(P,D){return this._verify2(P,D),this.imod(P.imul(D))},K.prototype.mul=function(P,D){return this._verify2(P,D),this.imod(P.mul(D))},K.prototype.isqr=function(P){return this.imul(P,P.clone())},K.prototype.sqr=function(P){return this.mul(P,P)},K.prototype.sqrt=function(P){if(P.isZero())return P.clone();var D=this.m.andln(3);if(u(D%2==1),D===3){var E=this.m.add(new s(1)).iushrn(2);return this.pow(P,E)}for(var j=this.m.subn(1),k=0;!j.isZero()&amp;&amp;j.andln(1)===0;)k++,j.iushrn(1);u(!j.isZero());var S=new s(1).toRed(this),N=S.redNeg(),M=this.m.subn(1).iushrn(1),R=this.m.bitLength();for(R=new s(2*R*R).toRed(this);this.pow(R,M).cmp(N)!==0;)R.redIAdd(N);for(var B=this.pow(R,j),Y=this.pow(P,j.addn(1).iushrn(1)),Z=this.pow(P,j),ie=k;Z.cmp(S)!==0;){for(var U=Z,ee=0;U.cmp(S)!==0;ee++)U=U.redSqr();u(ee&lt;ie);var z=this.pow(B,new s(1).iushln(ie-ee-1));Y=Y.redMul(z),B=z.redSqr(),Z=Z.redMul(B),ie=ee}return Y},K.prototype.invm=function(P){var D=P._invmp(this.m);return D.negative!==0?(D.negative=0,this.imod(D).redNeg()):this.imod(D)},K.prototype.pow=function(P,D){if(D.isZero())return new s(1).toRed(this);if(D.cmpn(1)===0)return P.clone();var E=new Array(16);E[0]=new s(1).toRed(this),E[1]=P;for(var j=2;j&lt;E.length;j++)E[j]=this.mul(E[j-1],P);var k=E[0],S=0,N=0,M=D.bitLength()%26;for(M===0&amp;&amp;(M=26),j=D.length-1;j&gt;=0;j--){for(var R=D.words[j],B=M-1;B&gt;=0;B--){var Y=R&gt;&gt;B&amp;1;k!==E[0]&amp;&amp;(k=this.sqr(k)),Y!==0||S!==0?(S&lt;&lt;=1,S|=Y,(++N===4||j===0&amp;&amp;B===0)&amp;&amp;(k=this.mul(k,E[S]),N=0,S=0)):N=0}M=26}return k},K.prototype.convertTo=function(P){var D=P.umod(this.m);return D===P?D.clone():D},K.prototype.convertFrom=function(P){var D=P.clone();return D.red=null,D},s.mont=function(P){return new $(P)},l($,K),$.prototype.convertTo=function(P){return this.imod(P.ushln(this.shift))},$.prototype.convertFrom=function(P){var D=this.imod(P.mul(this.rinv));return D.red=null,D},$.prototype.imul=function(P,D){if(P.isZero()||D.isZero())return P.words[0]=0,P.length=1,P;var E=P.imul(D),j=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),k=E.isub(j).iushrn(this.shift),S=k;return k.cmp(this.m)&gt;=0?S=k.isub(this.m):k.cmpn(0)&lt;0&amp;&amp;(S=k.iadd(this.m)),S._forceRed(this)},$.prototype.mul=function(P,D){if(P.isZero()||D.isZero())return new s(0)._forceRed(this);var E=P.mul(D),j=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),k=E.isub(j).iushrn(this.shift),S=k;return k.cmp(this.m)&gt;=0?S=k.isub(this.m):k.cmpn(0)&lt;0&amp;&amp;(S=k.iadd(this.m)),S._forceRed(this)},$.prototype.invm=function(P){return this.imod(P._invmp(this.m).mul(this.r2))._forceRed(this)}})(n===void 0||n)},{buffer:188}],185:[function(t,n,o){o.byteLength=function(m){var p=f(m),b=p[0],g=p[1];return 3*(b+g)/4-g},o.toByteArray=function(m){var p,b,g=f(m),y=g[0],v=g[1],_=new u((function(T,V,F){return 3*(V+F)/4-F})(0,y,v)),C=0,O=v&gt;0?y-4:y;for(b=0;b&lt;O;b+=4)p=a[m.charCodeAt(b)]&lt;&lt;18|a[m.charCodeAt(b+1)]&lt;&lt;12|a[m.charCodeAt(b+2)]&lt;&lt;6|a[m.charCodeAt(b+3)],_[C++]=p&gt;&gt;16&amp;255,_[C++]=p&gt;&gt;8&amp;255,_[C++]=255&amp;p;return v===2&amp;&amp;(p=a[m.charCodeAt(b)]&lt;&lt;2|a[m.charCodeAt(b+1)]&gt;&gt;4,_[C++]=255&amp;p),v===1&amp;&amp;(p=a[m.charCodeAt(b)]&lt;&lt;10|a[m.charCodeAt(b+1)]&lt;&lt;4|a[m.charCodeAt(b+2)]&gt;&gt;2,_[C++]=p&gt;&gt;8&amp;255,_[C++]=255&amp;p),_},o.fromByteArray=function(m){for(var p,b=m.length,g=b%3,y=[],v=0,_=b-g;v&lt;_;v+=16383)y.push(h(m,v,v+16383&gt;_?_:v+16383));return g===1?(p=m[b-1],y.push(i[p&gt;&gt;2]+i[p&lt;&lt;4&amp;63]+&quot;==&quot;)):g===2&amp;&amp;(p=(m[b-2]&lt;&lt;8)+m[b-1],y.push(i[p&gt;&gt;10]+i[p&gt;&gt;4&amp;63]+i[p&lt;&lt;2&amp;63]+&quot;=&quot;)),y.join(&quot;&quot;)};for(var i=[],a=[],u=typeof Uint8Array&lt;&quot;u&quot;?Uint8Array:Array,l=&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/&quot;,s=0,d=l.length;s&lt;d;++s)i[s]=l[s],a[l.charCodeAt(s)]=s;function f(m){var p=m.length;if(p%4&gt;0)throw new Error(&quot;Invalid string. Length must be a multiple of 4&quot;);var b=m.indexOf(&quot;=&quot;);return b===-1&amp;&amp;(b=p),[b,b===p?0:4-b%4]}function h(m,p,b){for(var g,y,v=[],_=p;_&lt;b;_+=3)g=(m[_]&lt;&lt;16&amp;16711680)+(m[_+1]&lt;&lt;8&amp;65280)+(255&amp;m[_+2]),v.push(i[(y=g)&gt;&gt;18&amp;63]+i[y&gt;&gt;12&amp;63]+i[y&gt;&gt;6&amp;63]+i[63&amp;y]);return v.join(&quot;&quot;)}a[45]=62,a[95]=63},{}],186:[function(t,n,o){(function(i,a){function u(E,j){if(!E)throw new Error(j||&quot;Assertion failed&quot;)}function l(E,j){E.super_=j;var k=function(){};k.prototype=j.prototype,E.prototype=new k,E.prototype.constructor=E}function s(E,j,k){if(s.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,E!==null&amp;&amp;(j!==&quot;le&quot;&amp;&amp;j!==&quot;be&quot;||(k=j,j=10),this._init(E||0,j||10,k||&quot;be&quot;))}var d;typeof i==&quot;object&quot;?i.exports=s:(void 0).BN=s,s.BN=s,s.wordSize=26;try{d=typeof window&lt;&quot;u&quot;&amp;&amp;window.Buffer!==void 0?window.Buffer:t(&quot;buffer&quot;).Buffer}catch{}function f(E,j){var k=E.charCodeAt(j);return k&gt;=48&amp;&amp;k&lt;=57?k-48:k&gt;=65&amp;&amp;k&lt;=70?k-55:k&gt;=97&amp;&amp;k&lt;=102?k-87:void u(!1,&quot;Invalid character in &quot;+E)}function h(E,j,k){var S=f(E,k);return k-1&gt;=j&amp;&amp;(S|=f(E,k-1)&lt;&lt;4),S}function m(E,j,k,S){for(var N=0,M=0,R=Math.min(E.length,k),B=j;B&lt;R;B++){var Y=E.charCodeAt(B)-48;N*=S,M=Y&gt;=49?Y-49+10:Y&gt;=17?Y-17+10:Y,u(Y&gt;=0&amp;&amp;M&lt;S,&quot;Invalid character&quot;),N+=M}return N}function p(E,j){E.words=j.words,E.length=j.length,E.negative=j.negative,E.red=j.red}if(s.isBN=function(E){return E instanceof s||E!==null&amp;&amp;typeof E==&quot;object&quot;&amp;&amp;E.constructor.wordSize===s.wordSize&amp;&amp;Array.isArray(E.words)},s.max=function(E,j){return E.cmp(j)&gt;0?E:j},s.min=function(E,j){return E.cmp(j)&lt;0?E:j},s.prototype._init=function(E,j,k){if(typeof E==&quot;number&quot;)return this._initNumber(E,j,k);if(typeof E==&quot;object&quot;)return this._initArray(E,j,k);j===&quot;hex&quot;&amp;&amp;(j=16),u(j===(0|j)&amp;&amp;j&gt;=2&amp;&amp;j&lt;=36);var S=0;(E=E.toString().replace(/\s+/g,&quot;&quot;))[0]===&quot;-&quot;&amp;&amp;(S++,this.negative=1),S&lt;E.length&amp;&amp;(j===16?this._parseHex(E,S,k):(this._parseBase(E,j,S),k===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),j,k)))},s.prototype._initNumber=function(E,j,k){E&lt;0&amp;&amp;(this.negative=1,E=-E),E&lt;67108864?(this.words=[67108863&amp;E],this.length=1):E&lt;4503599627370496?(this.words=[67108863&amp;E,E/67108864&amp;67108863],this.length=2):(u(E&lt;9007199254740992),this.words=[67108863&amp;E,E/67108864&amp;67108863,1],this.length=3),k===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),j,k)},s.prototype._initArray=function(E,j,k){if(u(typeof E.length==&quot;number&quot;),E.length&lt;=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(E.length/3),this.words=new Array(this.length);for(var S=0;S&lt;this.length;S++)this.words[S]=0;var N,M,R=0;if(k===&quot;be&quot;)for(S=E.length-1,N=0;S&gt;=0;S-=3)M=E[S]|E[S-1]&lt;&lt;8|E[S-2]&lt;&lt;16,this.words[N]|=M&lt;&lt;R&amp;67108863,this.words[N+1]=M&gt;&gt;&gt;26-R&amp;67108863,(R+=24)&gt;=26&amp;&amp;(R-=26,N++);else if(k===&quot;le&quot;)for(S=0,N=0;S&lt;E.length;S+=3)M=E[S]|E[S+1]&lt;&lt;8|E[S+2]&lt;&lt;16,this.words[N]|=M&lt;&lt;R&amp;67108863,this.words[N+1]=M&gt;&gt;&gt;26-R&amp;67108863,(R+=24)&gt;=26&amp;&amp;(R-=26,N++);return this._strip()},s.prototype._parseHex=function(E,j,k){this.length=Math.ceil((E.length-j)/6),this.words=new Array(this.length);for(var S=0;S&lt;this.length;S++)this.words[S]=0;var N,M=0,R=0;if(k===&quot;be&quot;)for(S=E.length-1;S&gt;=j;S-=2)N=h(E,j,S)&lt;&lt;M,this.words[R]|=67108863&amp;N,M&gt;=18?(M-=18,R+=1,this.words[R]|=N&gt;&gt;&gt;26):M+=8;else for(S=(E.length-j)%2==0?j+1:j;S&lt;E.length;S+=2)N=h(E,j,S)&lt;&lt;M,this.words[R]|=67108863&amp;N,M&gt;=18?(M-=18,R+=1,this.words[R]|=N&gt;&gt;&gt;26):M+=8;this._strip()},s.prototype._parseBase=function(E,j,k){this.words=[0],this.length=1;for(var S=0,N=1;N&lt;=67108863;N*=j)S++;S--,N=N/j|0;for(var M=E.length-k,R=M%S,B=Math.min(M,M-R)+k,Y=0,Z=k;Z&lt;B;Z+=S)Y=m(E,Z,Z+S,j),this.imuln(N),this.words[0]+Y&lt;67108864?this.words[0]+=Y:this._iaddn(Y);if(R!==0){var ie=1;for(Y=m(E,Z,E.length,j),Z=0;Z&lt;R;Z++)ie*=j;this.imuln(ie),this.words[0]+Y&lt;67108864?this.words[0]+=Y:this._iaddn(Y)}this._strip()},s.prototype.copy=function(E){E.words=new Array(this.length);for(var j=0;j&lt;this.length;j++)E.words[j]=this.words[j];E.length=this.length,E.negative=this.negative,E.red=this.red},s.prototype._move=function(E){p(E,this)},s.prototype.clone=function(){var E=new s(null);return this.copy(E),E},s.prototype._expand=function(E){for(;this.length&lt;E;)this.words[this.length++]=0;return this},s.prototype._strip=function(){for(;this.length&gt;1&amp;&amp;this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&amp;&amp;this.words[0]===0&amp;&amp;(this.negative=0),this},typeof Symbol&lt;&quot;u&quot;&amp;&amp;typeof Symbol.for==&quot;function&quot;)try{s.prototype[Symbol.for(&quot;nodejs.util.inspect.custom&quot;)]=b}catch{s.prototype.inspect=b}else s.prototype.inspect=b;function b(){return(this.red?&quot;&lt;BN-R: &quot;:&quot;&lt;BN: &quot;)+this.toString(16)+&quot;&gt;&quot;}var g=[&quot;&quot;,&quot;0&quot;,&quot;00&quot;,&quot;000&quot;,&quot;0000&quot;,&quot;00000&quot;,&quot;000000&quot;,&quot;0000000&quot;,&quot;00000000&quot;,&quot;000000000&quot;,&quot;0000000000&quot;,&quot;00000000000&quot;,&quot;000000000000&quot;,&quot;0000000000000&quot;,&quot;00000000000000&quot;,&quot;000000000000000&quot;,&quot;0000000000000000&quot;,&quot;00000000000000000&quot;,&quot;000000000000000000&quot;,&quot;0000000000000000000&quot;,&quot;00000000000000000000&quot;,&quot;000000000000000000000&quot;,&quot;0000000000000000000000&quot;,&quot;00000000000000000000000&quot;,&quot;000000000000000000000000&quot;,&quot;0000000000000000000000000&quot;],y=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];s.prototype.toString=function(E,j){var k;if(j=0|j||1,(E=E||10)===16||E===&quot;hex&quot;){k=&quot;&quot;;for(var S=0,N=0,M=0;M&lt;this.length;M++){var R=this.words[M],B=(16777215&amp;(R&lt;&lt;S|N)).toString(16);N=R&gt;&gt;&gt;24-S&amp;16777215,(S+=2)&gt;=26&amp;&amp;(S-=26,M--),k=N!==0||M!==this.length-1?g[6-B.length]+B+k:B+k}for(N!==0&amp;&amp;(k=N.toString(16)+k);k.length%j!=0;)k=&quot;0&quot;+k;return this.negative!==0&amp;&amp;(k=&quot;-&quot;+k),k}if(E===(0|E)&amp;&amp;E&gt;=2&amp;&amp;E&lt;=36){var Y=y[E],Z=v[E];k=&quot;&quot;;var ie=this.clone();for(ie.negative=0;!ie.isZero();){var U=ie.modrn(Z).toString(E);k=(ie=ie.idivn(Z)).isZero()?U+k:g[Y-U.length]+U+k}for(this.isZero()&amp;&amp;(k=&quot;0&quot;+k);k.length%j!=0;)k=&quot;0&quot;+k;return this.negative!==0&amp;&amp;(k=&quot;-&quot;+k),k}u(!1,&quot;Base should be between 2 and 36&quot;)},s.prototype.toNumber=function(){var E=this.words[0];return this.length===2?E+=67108864*this.words[1]:this.length===3&amp;&amp;this.words[2]===1?E+=4503599627370496+67108864*this.words[1]:this.length&gt;2&amp;&amp;u(!1,&quot;Number can only safely store up to 53 bits&quot;),this.negative!==0?-E:E},s.prototype.toJSON=function(){return this.toString(16,2)},d&amp;&amp;(s.prototype.toBuffer=function(E,j){return this.toArrayLike(d,E,j)}),s.prototype.toArray=function(E,j){return this.toArrayLike(Array,E,j)};function _(E,j,k){k.negative=j.negative^E.negative;var S=E.length+j.length|0;k.length=S,S=S-1|0;var N=0|E.words[0],M=0|j.words[0],R=N*M,B=67108863&amp;R,Y=R/67108864|0;k.words[0]=B;for(var Z=1;Z&lt;S;Z++){for(var ie=Y&gt;&gt;&gt;26,U=67108863&amp;Y,ee=Math.min(Z,j.length-1),z=Math.max(0,Z-E.length+1);z&lt;=ee;z++){var I=Z-z|0;ie+=(R=(N=0|E.words[I])*(M=0|j.words[z])+U)/67108864|0,U=67108863&amp;R}k.words[Z]=0|U,Y=0|ie}return Y!==0?k.words[Z]=0|Y:k.length--,k._strip()}s.prototype.toArrayLike=function(E,j,k){this._strip();var S=this.byteLength(),N=k||Math.max(1,S);u(S&lt;=N,&quot;byte array longer than desired length&quot;),u(N&gt;0,&quot;Requested array length &lt;= 0&quot;);var M=(function(R,B){return R.allocUnsafe?R.allocUnsafe(B):new R(B)})(E,N);return this[&quot;_toArrayLike&quot;+(j===&quot;le&quot;?&quot;LE&quot;:&quot;BE&quot;)](M,S),M},s.prototype._toArrayLikeLE=function(E,j){for(var k=0,S=0,N=0,M=0;N&lt;this.length;N++){var R=this.words[N]&lt;&lt;M|S;E[k++]=255&amp;R,k&lt;E.length&amp;&amp;(E[k++]=R&gt;&gt;8&amp;255),k&lt;E.length&amp;&amp;(E[k++]=R&gt;&gt;16&amp;255),M===6?(k&lt;E.length&amp;&amp;(E[k++]=R&gt;&gt;24&amp;255),S=0,M=0):(S=R&gt;&gt;&gt;24,M+=2)}if(k&lt;E.length)for(E[k++]=S;k&lt;E.length;)E[k++]=0},s.prototype._toArrayLikeBE=function(E,j){for(var k=E.length-1,S=0,N=0,M=0;N&lt;this.length;N++){var R=this.words[N]&lt;&lt;M|S;E[k--]=255&amp;R,k&gt;=0&amp;&amp;(E[k--]=R&gt;&gt;8&amp;255),k&gt;=0&amp;&amp;(E[k--]=R&gt;&gt;16&amp;255),M===6?(k&gt;=0&amp;&amp;(E[k--]=R&gt;&gt;24&amp;255),S=0,M=0):(S=R&gt;&gt;&gt;24,M+=2)}if(k&gt;=0)for(E[k--]=S;k&gt;=0;)E[k--]=0},Math.clz32?s.prototype._countBits=function(E){return 32-Math.clz32(E)}:s.prototype._countBits=function(E){var j=E,k=0;return j&gt;=4096&amp;&amp;(k+=13,j&gt;&gt;&gt;=13),j&gt;=64&amp;&amp;(k+=7,j&gt;&gt;&gt;=7),j&gt;=8&amp;&amp;(k+=4,j&gt;&gt;&gt;=4),j&gt;=2&amp;&amp;(k+=2,j&gt;&gt;&gt;=2),k+j},s.prototype._zeroBits=function(E){if(E===0)return 26;var j=E,k=0;return(8191&amp;j)==0&amp;&amp;(k+=13,j&gt;&gt;&gt;=13),(127&amp;j)==0&amp;&amp;(k+=7,j&gt;&gt;&gt;=7),(15&amp;j)==0&amp;&amp;(k+=4,j&gt;&gt;&gt;=4),(3&amp;j)==0&amp;&amp;(k+=2,j&gt;&gt;&gt;=2),(1&amp;j)==0&amp;&amp;k++,k},s.prototype.bitLength=function(){var E=this.words[this.length-1],j=this._countBits(E);return 26*(this.length-1)+j},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var E=0,j=0;j&lt;this.length;j++){var k=this._zeroBits(this.words[j]);if(E+=k,k!==26)break}return E},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(E){return this.negative!==0?this.abs().inotn(E).iaddn(1):this.clone()},s.prototype.fromTwos=function(E){return this.testn(E-1)?this.notn(E).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return this.negative!==0},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(E){for(;this.length&lt;E.length;)this.words[this.length++]=0;for(var j=0;j&lt;E.length;j++)this.words[j]=this.words[j]|E.words[j];return this._strip()},s.prototype.ior=function(E){return u((this.negative|E.negative)==0),this.iuor(E)},s.prototype.or=function(E){return this.length&gt;E.length?this.clone().ior(E):E.clone().ior(this)},s.prototype.uor=function(E){return this.length&gt;E.length?this.clone().iuor(E):E.clone().iuor(this)},s.prototype.iuand=function(E){var j;j=this.length&gt;E.length?E:this;for(var k=0;k&lt;j.length;k++)this.words[k]=this.words[k]&amp;E.words[k];return this.length=j.length,this._strip()},s.prototype.iand=function(E){return u((this.negative|E.negative)==0),this.iuand(E)},s.prototype.and=function(E){return this.length&gt;E.length?this.clone().iand(E):E.clone().iand(this)},s.prototype.uand=function(E){return this.length&gt;E.length?this.clone().iuand(E):E.clone().iuand(this)},s.prototype.iuxor=function(E){var j,k;this.length&gt;E.length?(j=this,k=E):(j=E,k=this);for(var S=0;S&lt;k.length;S++)this.words[S]=j.words[S]^k.words[S];if(this!==j)for(;S&lt;j.length;S++)this.words[S]=j.words[S];return this.length=j.length,this._strip()},s.prototype.ixor=function(E){return u((this.negative|E.negative)==0),this.iuxor(E)},s.prototype.xor=function(E){return this.length&gt;E.length?this.clone().ixor(E):E.clone().ixor(this)},s.prototype.uxor=function(E){return this.length&gt;E.length?this.clone().iuxor(E):E.clone().iuxor(this)},s.prototype.inotn=function(E){u(typeof E==&quot;number&quot;&amp;&amp;E&gt;=0);var j=0|Math.ceil(E/26),k=E%26;this._expand(j),k&gt;0&amp;&amp;j--;for(var S=0;S&lt;j;S++)this.words[S]=67108863&amp;~this.words[S];return k&gt;0&amp;&amp;(this.words[S]=~this.words[S]&amp;67108863&gt;&gt;26-k),this._strip()},s.prototype.notn=function(E){return this.clone().inotn(E)},s.prototype.setn=function(E,j){u(typeof E==&quot;number&quot;&amp;&amp;E&gt;=0);var k=E/26|0,S=E%26;return this._expand(k+1),this.words[k]=j?this.words[k]|1&lt;&lt;S:this.words[k]&amp;~(1&lt;&lt;S),this._strip()},s.prototype.iadd=function(E){var j,k,S;if(this.negative!==0&amp;&amp;E.negative===0)return this.negative=0,j=this.isub(E),this.negative^=1,this._normSign();if(this.negative===0&amp;&amp;E.negative!==0)return E.negative=0,j=this.isub(E),E.negative=1,j._normSign();this.length&gt;E.length?(k=this,S=E):(k=E,S=this);for(var N=0,M=0;M&lt;S.length;M++)j=(0|k.words[M])+(0|S.words[M])+N,this.words[M]=67108863&amp;j,N=j&gt;&gt;&gt;26;for(;N!==0&amp;&amp;M&lt;k.length;M++)j=(0|k.words[M])+N,this.words[M]=67108863&amp;j,N=j&gt;&gt;&gt;26;if(this.length=k.length,N!==0)this.words[this.length]=N,this.length++;else if(k!==this)for(;M&lt;k.length;M++)this.words[M]=k.words[M];return this},s.prototype.add=function(E){var j;return E.negative!==0&amp;&amp;this.negative===0?(E.negative=0,j=this.sub(E),E.negative^=1,j):E.negative===0&amp;&amp;this.negative!==0?(this.negative=0,j=E.sub(this),this.negative=1,j):this.length&gt;E.length?this.clone().iadd(E):E.clone().iadd(this)},s.prototype.isub=function(E){if(E.negative!==0){E.negative=0;var j=this.iadd(E);return E.negative=1,j._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(E),this.negative=1,this._normSign();var k,S,N=this.cmp(E);if(N===0)return this.negative=0,this.length=1,this.words[0]=0,this;N&gt;0?(k=this,S=E):(k=E,S=this);for(var M=0,R=0;R&lt;S.length;R++)M=(j=(0|k.words[R])-(0|S.words[R])+M)&gt;&gt;26,this.words[R]=67108863&amp;j;for(;M!==0&amp;&amp;R&lt;k.length;R++)M=(j=(0|k.words[R])+M)&gt;&gt;26,this.words[R]=67108863&amp;j;if(M===0&amp;&amp;R&lt;k.length&amp;&amp;k!==this)for(;R&lt;k.length;R++)this.words[R]=k.words[R];return this.length=Math.max(this.length,R),k!==this&amp;&amp;(this.negative=1),this._strip()},s.prototype.sub=function(E){return this.clone().isub(E)};var C=function(E,j,k){var S,N,M,R=E.words,B=j.words,Y=k.words,Z=0,ie=0|R[0],U=8191&amp;ie,ee=ie&gt;&gt;&gt;13,z=0|R[1],I=8191&amp;z,X=z&gt;&gt;&gt;13,re=0|R[2],ne=8191&amp;re,Q=re&gt;&gt;&gt;13,te=0|R[3],de=8191&amp;te,le=te&gt;&gt;&gt;13,se=0|R[4],fe=8191&amp;se,he=se&gt;&gt;&gt;13,ue=0|R[5],ge=8191&amp;ue,xe=ue&gt;&gt;&gt;13,pe=0|R[6],ce=8191&amp;pe,Ce=pe&gt;&gt;&gt;13,Me=0|R[7],Se=8191&amp;Me,Te=Me&gt;&gt;&gt;13,Qe=0|R[8],Ve=8191&amp;Qe,Xe=Qe&gt;&gt;&gt;13,tt=0|R[9],He=8191&amp;tt,ze=tt&gt;&gt;&gt;13,Ze=0|B[0],et=8191&amp;Ze,Je=Ze&gt;&gt;&gt;13,It=0|B[1],Vt=8191&amp;It,ot=It&gt;&gt;&gt;13,Tt=0|B[2],jt=8191&amp;Tt,St=Tt&gt;&gt;&gt;13,Xt=0|B[3],$t=8191&amp;Xt,ht=Xt&gt;&gt;&gt;13,Ut=0|B[4],Ot=8191&amp;Ut,xt=Ut&gt;&gt;&gt;13,Rt=0|B[5],Gt=8191&amp;Rt,vt=Rt&gt;&gt;&gt;13,ye=0|B[6],ke=8191&amp;ye,Ie=ye&gt;&gt;&gt;13,Ke=0|B[7],dt=8191&amp;Ke,Ge=Ke&gt;&gt;&gt;13,wt=0|B[8],gt=8191&amp;wt,nt=wt&gt;&gt;&gt;13,Ct=0|B[9],kt=8191&amp;Ct,Pt=Ct&gt;&gt;&gt;13;k.negative=E.negative^j.negative,k.length=19;var Jt=(Z+(S=Math.imul(U,et))|0)+((8191&amp;(N=(N=Math.imul(U,Je))+Math.imul(ee,et)|0))&lt;&lt;13)|0;Z=((M=Math.imul(ee,Je))+(N&gt;&gt;&gt;13)|0)+(Jt&gt;&gt;&gt;26)|0,Jt&amp;=67108863,S=Math.imul(I,et),N=(N=Math.imul(I,Je))+Math.imul(X,et)|0,M=Math.imul(X,Je);var Ht=(Z+(S=S+Math.imul(U,Vt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,ot)|0)+Math.imul(ee,Vt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,ot)|0)+(N&gt;&gt;&gt;13)|0)+(Ht&gt;&gt;&gt;26)|0,Ht&amp;=67108863,S=Math.imul(ne,et),N=(N=Math.imul(ne,Je))+Math.imul(Q,et)|0,M=Math.imul(Q,Je),S=S+Math.imul(I,Vt)|0,N=(N=N+Math.imul(I,ot)|0)+Math.imul(X,Vt)|0,M=M+Math.imul(X,ot)|0;var ar=(Z+(S=S+Math.imul(U,jt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,St)|0)+Math.imul(ee,jt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,St)|0)+(N&gt;&gt;&gt;13)|0)+(ar&gt;&gt;&gt;26)|0,ar&amp;=67108863,S=Math.imul(de,et),N=(N=Math.imul(de,Je))+Math.imul(le,et)|0,M=Math.imul(le,Je),S=S+Math.imul(ne,Vt)|0,N=(N=N+Math.imul(ne,ot)|0)+Math.imul(Q,Vt)|0,M=M+Math.imul(Q,ot)|0,S=S+Math.imul(I,jt)|0,N=(N=N+Math.imul(I,St)|0)+Math.imul(X,jt)|0,M=M+Math.imul(X,St)|0;var or=(Z+(S=S+Math.imul(U,$t)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,ht)|0)+Math.imul(ee,$t)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,ht)|0)+(N&gt;&gt;&gt;13)|0)+(or&gt;&gt;&gt;26)|0,or&amp;=67108863,S=Math.imul(fe,et),N=(N=Math.imul(fe,Je))+Math.imul(he,et)|0,M=Math.imul(he,Je),S=S+Math.imul(de,Vt)|0,N=(N=N+Math.imul(de,ot)|0)+Math.imul(le,Vt)|0,M=M+Math.imul(le,ot)|0,S=S+Math.imul(ne,jt)|0,N=(N=N+Math.imul(ne,St)|0)+Math.imul(Q,jt)|0,M=M+Math.imul(Q,St)|0,S=S+Math.imul(I,$t)|0,N=(N=N+Math.imul(I,ht)|0)+Math.imul(X,$t)|0,M=M+Math.imul(X,ht)|0;var $r=(Z+(S=S+Math.imul(U,Ot)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,xt)|0)+Math.imul(ee,Ot)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,xt)|0)+(N&gt;&gt;&gt;13)|0)+($r&gt;&gt;&gt;26)|0,$r&amp;=67108863,S=Math.imul(ge,et),N=(N=Math.imul(ge,Je))+Math.imul(xe,et)|0,M=Math.imul(xe,Je),S=S+Math.imul(fe,Vt)|0,N=(N=N+Math.imul(fe,ot)|0)+Math.imul(he,Vt)|0,M=M+Math.imul(he,ot)|0,S=S+Math.imul(de,jt)|0,N=(N=N+Math.imul(de,St)|0)+Math.imul(le,jt)|0,M=M+Math.imul(le,St)|0,S=S+Math.imul(ne,$t)|0,N=(N=N+Math.imul(ne,ht)|0)+Math.imul(Q,$t)|0,M=M+Math.imul(Q,ht)|0,S=S+Math.imul(I,Ot)|0,N=(N=N+Math.imul(I,xt)|0)+Math.imul(X,Ot)|0,M=M+Math.imul(X,xt)|0;var me=(Z+(S=S+Math.imul(U,Gt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,vt)|0)+Math.imul(ee,Gt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,vt)|0)+(N&gt;&gt;&gt;13)|0)+(me&gt;&gt;&gt;26)|0,me&amp;=67108863,S=Math.imul(ce,et),N=(N=Math.imul(ce,Je))+Math.imul(Ce,et)|0,M=Math.imul(Ce,Je),S=S+Math.imul(ge,Vt)|0,N=(N=N+Math.imul(ge,ot)|0)+Math.imul(xe,Vt)|0,M=M+Math.imul(xe,ot)|0,S=S+Math.imul(fe,jt)|0,N=(N=N+Math.imul(fe,St)|0)+Math.imul(he,jt)|0,M=M+Math.imul(he,St)|0,S=S+Math.imul(de,$t)|0,N=(N=N+Math.imul(de,ht)|0)+Math.imul(le,$t)|0,M=M+Math.imul(le,ht)|0,S=S+Math.imul(ne,Ot)|0,N=(N=N+Math.imul(ne,xt)|0)+Math.imul(Q,Ot)|0,M=M+Math.imul(Q,xt)|0,S=S+Math.imul(I,Gt)|0,N=(N=N+Math.imul(I,vt)|0)+Math.imul(X,Gt)|0,M=M+Math.imul(X,vt)|0;var je=(Z+(S=S+Math.imul(U,ke)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,Ie)|0)+Math.imul(ee,ke)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,Ie)|0)+(N&gt;&gt;&gt;13)|0)+(je&gt;&gt;&gt;26)|0,je&amp;=67108863,S=Math.imul(Se,et),N=(N=Math.imul(Se,Je))+Math.imul(Te,et)|0,M=Math.imul(Te,Je),S=S+Math.imul(ce,Vt)|0,N=(N=N+Math.imul(ce,ot)|0)+Math.imul(Ce,Vt)|0,M=M+Math.imul(Ce,ot)|0,S=S+Math.imul(ge,jt)|0,N=(N=N+Math.imul(ge,St)|0)+Math.imul(xe,jt)|0,M=M+Math.imul(xe,St)|0,S=S+Math.imul(fe,$t)|0,N=(N=N+Math.imul(fe,ht)|0)+Math.imul(he,$t)|0,M=M+Math.imul(he,ht)|0,S=S+Math.imul(de,Ot)|0,N=(N=N+Math.imul(de,xt)|0)+Math.imul(le,Ot)|0,M=M+Math.imul(le,xt)|0,S=S+Math.imul(ne,Gt)|0,N=(N=N+Math.imul(ne,vt)|0)+Math.imul(Q,Gt)|0,M=M+Math.imul(Q,vt)|0,S=S+Math.imul(I,ke)|0,N=(N=N+Math.imul(I,Ie)|0)+Math.imul(X,ke)|0,M=M+Math.imul(X,Ie)|0;var Re=(Z+(S=S+Math.imul(U,dt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,Ge)|0)+Math.imul(ee,dt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,Ge)|0)+(N&gt;&gt;&gt;13)|0)+(Re&gt;&gt;&gt;26)|0,Re&amp;=67108863,S=Math.imul(Ve,et),N=(N=Math.imul(Ve,Je))+Math.imul(Xe,et)|0,M=Math.imul(Xe,Je),S=S+Math.imul(Se,Vt)|0,N=(N=N+Math.imul(Se,ot)|0)+Math.imul(Te,Vt)|0,M=M+Math.imul(Te,ot)|0,S=S+Math.imul(ce,jt)|0,N=(N=N+Math.imul(ce,St)|0)+Math.imul(Ce,jt)|0,M=M+Math.imul(Ce,St)|0,S=S+Math.imul(ge,$t)|0,N=(N=N+Math.imul(ge,ht)|0)+Math.imul(xe,$t)|0,M=M+Math.imul(xe,ht)|0,S=S+Math.imul(fe,Ot)|0,N=(N=N+Math.imul(fe,xt)|0)+Math.imul(he,Ot)|0,M=M+Math.imul(he,xt)|0,S=S+Math.imul(de,Gt)|0,N=(N=N+Math.imul(de,vt)|0)+Math.imul(le,Gt)|0,M=M+Math.imul(le,vt)|0,S=S+Math.imul(ne,ke)|0,N=(N=N+Math.imul(ne,Ie)|0)+Math.imul(Q,ke)|0,M=M+Math.imul(Q,Ie)|0,S=S+Math.imul(I,dt)|0,N=(N=N+Math.imul(I,Ge)|0)+Math.imul(X,dt)|0,M=M+Math.imul(X,Ge)|0;var Be=(Z+(S=S+Math.imul(U,gt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,nt)|0)+Math.imul(ee,gt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,nt)|0)+(N&gt;&gt;&gt;13)|0)+(Be&gt;&gt;&gt;26)|0,Be&amp;=67108863,S=Math.imul(He,et),N=(N=Math.imul(He,Je))+Math.imul(ze,et)|0,M=Math.imul(ze,Je),S=S+Math.imul(Ve,Vt)|0,N=(N=N+Math.imul(Ve,ot)|0)+Math.imul(Xe,Vt)|0,M=M+Math.imul(Xe,ot)|0,S=S+Math.imul(Se,jt)|0,N=(N=N+Math.imul(Se,St)|0)+Math.imul(Te,jt)|0,M=M+Math.imul(Te,St)|0,S=S+Math.imul(ce,$t)|0,N=(N=N+Math.imul(ce,ht)|0)+Math.imul(Ce,$t)|0,M=M+Math.imul(Ce,ht)|0,S=S+Math.imul(ge,Ot)|0,N=(N=N+Math.imul(ge,xt)|0)+Math.imul(xe,Ot)|0,M=M+Math.imul(xe,xt)|0,S=S+Math.imul(fe,Gt)|0,N=(N=N+Math.imul(fe,vt)|0)+Math.imul(he,Gt)|0,M=M+Math.imul(he,vt)|0,S=S+Math.imul(de,ke)|0,N=(N=N+Math.imul(de,Ie)|0)+Math.imul(le,ke)|0,M=M+Math.imul(le,Ie)|0,S=S+Math.imul(ne,dt)|0,N=(N=N+Math.imul(ne,Ge)|0)+Math.imul(Q,dt)|0,M=M+Math.imul(Q,Ge)|0,S=S+Math.imul(I,gt)|0,N=(N=N+Math.imul(I,nt)|0)+Math.imul(X,gt)|0,M=M+Math.imul(X,nt)|0;var we=(Z+(S=S+Math.imul(U,kt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,Pt)|0)+Math.imul(ee,kt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,Pt)|0)+(N&gt;&gt;&gt;13)|0)+(we&gt;&gt;&gt;26)|0,we&amp;=67108863,S=Math.imul(He,Vt),N=(N=Math.imul(He,ot))+Math.imul(ze,Vt)|0,M=Math.imul(ze,ot),S=S+Math.imul(Ve,jt)|0,N=(N=N+Math.imul(Ve,St)|0)+Math.imul(Xe,jt)|0,M=M+Math.imul(Xe,St)|0,S=S+Math.imul(Se,$t)|0,N=(N=N+Math.imul(Se,ht)|0)+Math.imul(Te,$t)|0,M=M+Math.imul(Te,ht)|0,S=S+Math.imul(ce,Ot)|0,N=(N=N+Math.imul(ce,xt)|0)+Math.imul(Ce,Ot)|0,M=M+Math.imul(Ce,xt)|0,S=S+Math.imul(ge,Gt)|0,N=(N=N+Math.imul(ge,vt)|0)+Math.imul(xe,Gt)|0,M=M+Math.imul(xe,vt)|0,S=S+Math.imul(fe,ke)|0,N=(N=N+Math.imul(fe,Ie)|0)+Math.imul(he,ke)|0,M=M+Math.imul(he,Ie)|0,S=S+Math.imul(de,dt)|0,N=(N=N+Math.imul(de,Ge)|0)+Math.imul(le,dt)|0,M=M+Math.imul(le,Ge)|0,S=S+Math.imul(ne,gt)|0,N=(N=N+Math.imul(ne,nt)|0)+Math.imul(Q,gt)|0,M=M+Math.imul(Q,nt)|0;var De=(Z+(S=S+Math.imul(I,kt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(I,Pt)|0)+Math.imul(X,kt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(X,Pt)|0)+(N&gt;&gt;&gt;13)|0)+(De&gt;&gt;&gt;26)|0,De&amp;=67108863,S=Math.imul(He,jt),N=(N=Math.imul(He,St))+Math.imul(ze,jt)|0,M=Math.imul(ze,St),S=S+Math.imul(Ve,$t)|0,N=(N=N+Math.imul(Ve,ht)|0)+Math.imul(Xe,$t)|0,M=M+Math.imul(Xe,ht)|0,S=S+Math.imul(Se,Ot)|0,N=(N=N+Math.imul(Se,xt)|0)+Math.imul(Te,Ot)|0,M=M+Math.imul(Te,xt)|0,S=S+Math.imul(ce,Gt)|0,N=(N=N+Math.imul(ce,vt)|0)+Math.imul(Ce,Gt)|0,M=M+Math.imul(Ce,vt)|0,S=S+Math.imul(ge,ke)|0,N=(N=N+Math.imul(ge,Ie)|0)+Math.imul(xe,ke)|0,M=M+Math.imul(xe,Ie)|0,S=S+Math.imul(fe,dt)|0,N=(N=N+Math.imul(fe,Ge)|0)+Math.imul(he,dt)|0,M=M+Math.imul(he,Ge)|0,S=S+Math.imul(de,gt)|0,N=(N=N+Math.imul(de,nt)|0)+Math.imul(le,gt)|0,M=M+Math.imul(le,nt)|0;var Fe=(Z+(S=S+Math.imul(ne,kt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(ne,Pt)|0)+Math.imul(Q,kt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(Q,Pt)|0)+(N&gt;&gt;&gt;13)|0)+(Fe&gt;&gt;&gt;26)|0,Fe&amp;=67108863,S=Math.imul(He,$t),N=(N=Math.imul(He,ht))+Math.imul(ze,$t)|0,M=Math.imul(ze,ht),S=S+Math.imul(Ve,Ot)|0,N=(N=N+Math.imul(Ve,xt)|0)+Math.imul(Xe,Ot)|0,M=M+Math.imul(Xe,xt)|0,S=S+Math.imul(Se,Gt)|0,N=(N=N+Math.imul(Se,vt)|0)+Math.imul(Te,Gt)|0,M=M+Math.imul(Te,vt)|0,S=S+Math.imul(ce,ke)|0,N=(N=N+Math.imul(ce,Ie)|0)+Math.imul(Ce,ke)|0,M=M+Math.imul(Ce,Ie)|0,S=S+Math.imul(ge,dt)|0,N=(N=N+Math.imul(ge,Ge)|0)+Math.imul(xe,dt)|0,M=M+Math.imul(xe,Ge)|0,S=S+Math.imul(fe,gt)|0,N=(N=N+Math.imul(fe,nt)|0)+Math.imul(he,gt)|0,M=M+Math.imul(he,nt)|0;var Nt=(Z+(S=S+Math.imul(de,kt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(de,Pt)|0)+Math.imul(le,kt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(le,Pt)|0)+(N&gt;&gt;&gt;13)|0)+(Nt&gt;&gt;&gt;26)|0,Nt&amp;=67108863,S=Math.imul(He,Ot),N=(N=Math.imul(He,xt))+Math.imul(ze,Ot)|0,M=Math.imul(ze,xt),S=S+Math.imul(Ve,Gt)|0,N=(N=N+Math.imul(Ve,vt)|0)+Math.imul(Xe,Gt)|0,M=M+Math.imul(Xe,vt)|0,S=S+Math.imul(Se,ke)|0,N=(N=N+Math.imul(Se,Ie)|0)+Math.imul(Te,ke)|0,M=M+Math.imul(Te,Ie)|0,S=S+Math.imul(ce,dt)|0,N=(N=N+Math.imul(ce,Ge)|0)+Math.imul(Ce,dt)|0,M=M+Math.imul(Ce,Ge)|0,S=S+Math.imul(ge,gt)|0,N=(N=N+Math.imul(ge,nt)|0)+Math.imul(xe,gt)|0,M=M+Math.imul(xe,nt)|0;var _t=(Z+(S=S+Math.imul(fe,kt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(fe,Pt)|0)+Math.imul(he,kt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(he,Pt)|0)+(N&gt;&gt;&gt;13)|0)+(_t&gt;&gt;&gt;26)|0,_t&amp;=67108863,S=Math.imul(He,Gt),N=(N=Math.imul(He,vt))+Math.imul(ze,Gt)|0,M=Math.imul(ze,vt),S=S+Math.imul(Ve,ke)|0,N=(N=N+Math.imul(Ve,Ie)|0)+Math.imul(Xe,ke)|0,M=M+Math.imul(Xe,Ie)|0,S=S+Math.imul(Se,dt)|0,N=(N=N+Math.imul(Se,Ge)|0)+Math.imul(Te,dt)|0,M=M+Math.imul(Te,Ge)|0,S=S+Math.imul(ce,gt)|0,N=(N=N+Math.imul(ce,nt)|0)+Math.imul(Ce,gt)|0,M=M+Math.imul(Ce,nt)|0;var Et=(Z+(S=S+Math.imul(ge,kt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(ge,Pt)|0)+Math.imul(xe,kt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(xe,Pt)|0)+(N&gt;&gt;&gt;13)|0)+(Et&gt;&gt;&gt;26)|0,Et&amp;=67108863,S=Math.imul(He,ke),N=(N=Math.imul(He,Ie))+Math.imul(ze,ke)|0,M=Math.imul(ze,Ie),S=S+Math.imul(Ve,dt)|0,N=(N=N+Math.imul(Ve,Ge)|0)+Math.imul(Xe,dt)|0,M=M+Math.imul(Xe,Ge)|0,S=S+Math.imul(Se,gt)|0,N=(N=N+Math.imul(Se,nt)|0)+Math.imul(Te,gt)|0,M=M+Math.imul(Te,nt)|0;var mt=(Z+(S=S+Math.imul(ce,kt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(ce,Pt)|0)+Math.imul(Ce,kt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(Ce,Pt)|0)+(N&gt;&gt;&gt;13)|0)+(mt&gt;&gt;&gt;26)|0,mt&amp;=67108863,S=Math.imul(He,dt),N=(N=Math.imul(He,Ge))+Math.imul(ze,dt)|0,M=Math.imul(ze,Ge),S=S+Math.imul(Ve,gt)|0,N=(N=N+Math.imul(Ve,nt)|0)+Math.imul(Xe,gt)|0,M=M+Math.imul(Xe,nt)|0;var Bt=(Z+(S=S+Math.imul(Se,kt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(Se,Pt)|0)+Math.imul(Te,kt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(Te,Pt)|0)+(N&gt;&gt;&gt;13)|0)+(Bt&gt;&gt;&gt;26)|0,Bt&amp;=67108863,S=Math.imul(He,gt),N=(N=Math.imul(He,nt))+Math.imul(ze,gt)|0,M=Math.imul(ze,nt);var qt=(Z+(S=S+Math.imul(Ve,kt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(Ve,Pt)|0)+Math.imul(Xe,kt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(Xe,Pt)|0)+(N&gt;&gt;&gt;13)|0)+(qt&gt;&gt;&gt;26)|0,qt&amp;=67108863;var er=(Z+(S=Math.imul(He,kt))|0)+((8191&amp;(N=(N=Math.imul(He,Pt))+Math.imul(ze,kt)|0))&lt;&lt;13)|0;return Z=((M=Math.imul(ze,Pt))+(N&gt;&gt;&gt;13)|0)+(er&gt;&gt;&gt;26)|0,er&amp;=67108863,Y[0]=Jt,Y[1]=Ht,Y[2]=ar,Y[3]=or,Y[4]=$r,Y[5]=me,Y[6]=je,Y[7]=Re,Y[8]=Be,Y[9]=we,Y[10]=De,Y[11]=Fe,Y[12]=Nt,Y[13]=_t,Y[14]=Et,Y[15]=mt,Y[16]=Bt,Y[17]=qt,Y[18]=er,Z!==0&amp;&amp;(Y[19]=Z,k.length++),k};function O(E,j,k){k.negative=j.negative^E.negative,k.length=E.length+j.length;for(var S=0,N=0,M=0;M&lt;k.length-1;M++){var R=N;N=0;for(var B=67108863&amp;S,Y=Math.min(M,j.length-1),Z=Math.max(0,M-E.length+1);Z&lt;=Y;Z++){var ie=M-Z,U=(0|E.words[ie])*(0|j.words[Z]),ee=67108863&amp;U;B=67108863&amp;(ee=ee+B|0),N+=(R=(R=R+(U/67108864|0)|0)+(ee&gt;&gt;&gt;26)|0)&gt;&gt;&gt;26,R&amp;=67108863}k.words[M]=B,S=R,R=N}return S!==0?k.words[M]=S:k.length--,k._strip()}function T(E,j,k){return O(E,j,k)}Math.imul||(C=_),s.prototype.mulTo=function(E,j){var k=this.length+E.length;return this.length===10&amp;&amp;E.length===10?C(this,E,j):k&lt;63?_(this,E,j):k&lt;1024?O(this,E,j):T(this,E,j)},s.prototype.mul=function(E){var j=new s(null);return j.words=new Array(this.length+E.length),this.mulTo(E,j)},s.prototype.mulf=function(E){var j=new s(null);return j.words=new Array(this.length+E.length),T(this,E,j)},s.prototype.imul=function(E){return this.clone().mulTo(E,this)},s.prototype.imuln=function(E){var j=E&lt;0;j&amp;&amp;(E=-E),u(typeof E==&quot;number&quot;),u(E&lt;67108864);for(var k=0,S=0;S&lt;this.length;S++){var N=(0|this.words[S])*E,M=(67108863&amp;N)+(67108863&amp;k);k&gt;&gt;=26,k+=N/67108864|0,k+=M&gt;&gt;&gt;26,this.words[S]=67108863&amp;M}return k!==0&amp;&amp;(this.words[S]=k,this.length++),j?this.ineg():this},s.prototype.muln=function(E){return this.clone().imuln(E)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(E){var j=(function(M){for(var R=new Array(M.bitLength()),B=0;B&lt;R.length;B++){var Y=B/26|0,Z=B%26;R[B]=M.words[Y]&gt;&gt;&gt;Z&amp;1}return R})(E);if(j.length===0)return new s(1);for(var k=this,S=0;S&lt;j.length&amp;&amp;j[S]===0;S++,k=k.sqr());if(++S&lt;j.length)for(var N=k.sqr();S&lt;j.length;S++,N=N.sqr())j[S]!==0&amp;&amp;(k=k.mul(N));return k},s.prototype.iushln=function(E){u(typeof E==&quot;number&quot;&amp;&amp;E&gt;=0);var j,k=E%26,S=(E-k)/26,N=67108863&gt;&gt;&gt;26-k&lt;&lt;26-k;if(k!==0){var M=0;for(j=0;j&lt;this.length;j++){var R=this.words[j]&amp;N,B=(0|this.words[j])-R&lt;&lt;k;this.words[j]=B|M,M=R&gt;&gt;&gt;26-k}M&amp;&amp;(this.words[j]=M,this.length++)}if(S!==0){for(j=this.length-1;j&gt;=0;j--)this.words[j+S]=this.words[j];for(j=0;j&lt;S;j++)this.words[j]=0;this.length+=S}return this._strip()},s.prototype.ishln=function(E){return u(this.negative===0),this.iushln(E)},s.prototype.iushrn=function(E,j,k){var S;u(typeof E==&quot;number&quot;&amp;&amp;E&gt;=0),S=j?(j-j%26)/26:0;var N=E%26,M=Math.min((E-N)/26,this.length),R=67108863^67108863&gt;&gt;&gt;N&lt;&lt;N,B=k;if(S-=M,S=Math.max(0,S),B){for(var Y=0;Y&lt;M;Y++)B.words[Y]=this.words[Y];B.length=M}if(M!==0)if(this.length&gt;M)for(this.length-=M,Y=0;Y&lt;this.length;Y++)this.words[Y]=this.words[Y+M];else this.words[0]=0,this.length=1;var Z=0;for(Y=this.length-1;Y&gt;=0&amp;&amp;(Z!==0||Y&gt;=S);Y--){var ie=0|this.words[Y];this.words[Y]=Z&lt;&lt;26-N|ie&gt;&gt;&gt;N,Z=ie&amp;R}return B&amp;&amp;Z!==0&amp;&amp;(B.words[B.length++]=Z),this.length===0&amp;&amp;(this.words[0]=0,this.length=1),this._strip()},s.prototype.ishrn=function(E,j,k){return u(this.negative===0),this.iushrn(E,j,k)},s.prototype.shln=function(E){return this.clone().ishln(E)},s.prototype.ushln=function(E){return this.clone().iushln(E)},s.prototype.shrn=function(E){return this.clone().ishrn(E)},s.prototype.ushrn=function(E){return this.clone().iushrn(E)},s.prototype.testn=function(E){u(typeof E==&quot;number&quot;&amp;&amp;E&gt;=0);var j=E%26,k=(E-j)/26,S=1&lt;&lt;j;return!(this.length&lt;=k)&amp;&amp;!!(this.words[k]&amp;S)},s.prototype.imaskn=function(E){u(typeof E==&quot;number&quot;&amp;&amp;E&gt;=0);var j=E%26,k=(E-j)/26;if(u(this.negative===0,&quot;imaskn works only with positive numbers&quot;),this.length&lt;=k)return this;if(j!==0&amp;&amp;k++,this.length=Math.min(k,this.length),j!==0){var S=67108863^67108863&gt;&gt;&gt;j&lt;&lt;j;this.words[this.length-1]&amp;=S}return this._strip()},s.prototype.maskn=function(E){return this.clone().imaskn(E)},s.prototype.iaddn=function(E){return u(typeof E==&quot;number&quot;),u(E&lt;67108864),E&lt;0?this.isubn(-E):this.negative!==0?this.length===1&amp;&amp;(0|this.words[0])&lt;=E?(this.words[0]=E-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(E),this.negative=1,this):this._iaddn(E)},s.prototype._iaddn=function(E){this.words[0]+=E;for(var j=0;j&lt;this.length&amp;&amp;this.words[j]&gt;=67108864;j++)this.words[j]-=67108864,j===this.length-1?this.words[j+1]=1:this.words[j+1]++;return this.length=Math.max(this.length,j+1),this},s.prototype.isubn=function(E){if(u(typeof E==&quot;number&quot;),u(E&lt;67108864),E&lt;0)return this.iaddn(-E);if(this.negative!==0)return this.negative=0,this.iaddn(E),this.negative=1,this;if(this.words[0]-=E,this.length===1&amp;&amp;this.words[0]&lt;0)this.words[0]=-this.words[0],this.negative=1;else for(var j=0;j&lt;this.length&amp;&amp;this.words[j]&lt;0;j++)this.words[j]+=67108864,this.words[j+1]-=1;return this._strip()},s.prototype.addn=function(E){return this.clone().iaddn(E)},s.prototype.subn=function(E){return this.clone().isubn(E)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(E,j,k){var S,N,M=E.length+k;this._expand(M);var R=0;for(S=0;S&lt;E.length;S++){N=(0|this.words[S+k])+R;var B=(0|E.words[S])*j;R=((N-=67108863&amp;B)&gt;&gt;26)-(B/67108864|0),this.words[S+k]=67108863&amp;N}for(;S&lt;this.length-k;S++)R=(N=(0|this.words[S+k])+R)&gt;&gt;26,this.words[S+k]=67108863&amp;N;if(R===0)return this._strip();for(u(R===-1),R=0,S=0;S&lt;this.length;S++)R=(N=-(0|this.words[S])+R)&gt;&gt;26,this.words[S]=67108863&amp;N;return this.negative=1,this._strip()},s.prototype._wordDiv=function(E,j){var k=(this.length,E.length),S=this.clone(),N=E,M=0|N.words[N.length-1];(k=26-this._countBits(M))!==0&amp;&amp;(N=N.ushln(k),S.iushln(k),M=0|N.words[N.length-1]);var R,B=S.length-N.length;if(j!==&quot;mod&quot;){(R=new s(null)).length=B+1,R.words=new Array(R.length);for(var Y=0;Y&lt;R.length;Y++)R.words[Y]=0}var Z=S.clone()._ishlnsubmul(N,1,B);Z.negative===0&amp;&amp;(S=Z,R&amp;&amp;(R.words[B]=1));for(var ie=B-1;ie&gt;=0;ie--){var U=67108864*(0|S.words[N.length+ie])+(0|S.words[N.length+ie-1]);for(U=Math.min(U/M|0,67108863),S._ishlnsubmul(N,U,ie);S.negative!==0;)U--,S.negative=0,S._ishlnsubmul(N,1,ie),S.isZero()||(S.negative^=1);R&amp;&amp;(R.words[ie]=U)}return R&amp;&amp;R._strip(),S._strip(),j!==&quot;div&quot;&amp;&amp;k!==0&amp;&amp;S.iushrn(k),{div:R||null,mod:S}},s.prototype.divmod=function(E,j,k){return u(!E.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:this.negative!==0&amp;&amp;E.negative===0?(M=this.neg().divmod(E,j),j!==&quot;mod&quot;&amp;&amp;(S=M.div.neg()),j!==&quot;div&quot;&amp;&amp;(N=M.mod.neg(),k&amp;&amp;N.negative!==0&amp;&amp;N.iadd(E)),{div:S,mod:N}):this.negative===0&amp;&amp;E.negative!==0?(M=this.divmod(E.neg(),j),j!==&quot;mod&quot;&amp;&amp;(S=M.div.neg()),{div:S,mod:M.mod}):(this.negative&amp;E.negative)!=0?(M=this.neg().divmod(E.neg(),j),j!==&quot;div&quot;&amp;&amp;(N=M.mod.neg(),k&amp;&amp;N.negative!==0&amp;&amp;N.isub(E)),{div:M.div,mod:N}):E.length&gt;this.length||this.cmp(E)&lt;0?{div:new s(0),mod:this}:E.length===1?j===&quot;div&quot;?{div:this.divn(E.words[0]),mod:null}:j===&quot;mod&quot;?{div:null,mod:new s(this.modrn(E.words[0]))}:{div:this.divn(E.words[0]),mod:new s(this.modrn(E.words[0]))}:this._wordDiv(E,j);var S,N,M},s.prototype.div=function(E){return this.divmod(E,&quot;div&quot;,!1).div},s.prototype.mod=function(E){return this.divmod(E,&quot;mod&quot;,!1).mod},s.prototype.umod=function(E){return this.divmod(E,&quot;mod&quot;,!0).mod},s.prototype.divRound=function(E){var j=this.divmod(E);if(j.mod.isZero())return j.div;var k=j.div.negative!==0?j.mod.isub(E):j.mod,S=E.ushrn(1),N=E.andln(1),M=k.cmp(S);return M&lt;0||N===1&amp;&amp;M===0?j.div:j.div.negative!==0?j.div.isubn(1):j.div.iaddn(1)},s.prototype.modrn=function(E){var j=E&lt;0;j&amp;&amp;(E=-E),u(E&lt;=67108863);for(var k=(1&lt;&lt;26)%E,S=0,N=this.length-1;N&gt;=0;N--)S=(k*S+(0|this.words[N]))%E;return j?-S:S},s.prototype.modn=function(E){return this.modrn(E)},s.prototype.idivn=function(E){var j=E&lt;0;j&amp;&amp;(E=-E),u(E&lt;=67108863);for(var k=0,S=this.length-1;S&gt;=0;S--){var N=(0|this.words[S])+67108864*k;this.words[S]=N/E|0,k=N%E}return this._strip(),j?this.ineg():this},s.prototype.divn=function(E){return this.clone().idivn(E)},s.prototype.egcd=function(E){u(E.negative===0),u(!E.isZero());var j=this,k=E.clone();j=j.negative!==0?j.umod(E):j.clone();for(var S=new s(1),N=new s(0),M=new s(0),R=new s(1),B=0;j.isEven()&amp;&amp;k.isEven();)j.iushrn(1),k.iushrn(1),++B;for(var Y=k.clone(),Z=j.clone();!j.isZero();){for(var ie=0,U=1;(j.words[0]&amp;U)==0&amp;&amp;ie&lt;26;++ie,U&lt;&lt;=1);if(ie&gt;0)for(j.iushrn(ie);ie-- &gt;0;)(S.isOdd()||N.isOdd())&amp;&amp;(S.iadd(Y),N.isub(Z)),S.iushrn(1),N.iushrn(1);for(var ee=0,z=1;(k.words[0]&amp;z)==0&amp;&amp;ee&lt;26;++ee,z&lt;&lt;=1);if(ee&gt;0)for(k.iushrn(ee);ee-- &gt;0;)(M.isOdd()||R.isOdd())&amp;&amp;(M.iadd(Y),R.isub(Z)),M.iushrn(1),R.iushrn(1);j.cmp(k)&gt;=0?(j.isub(k),S.isub(M),N.isub(R)):(k.isub(j),M.isub(S),R.isub(N))}return{a:M,b:R,gcd:k.iushln(B)}},s.prototype._invmp=function(E){u(E.negative===0),u(!E.isZero());var j=this,k=E.clone();j=j.negative!==0?j.umod(E):j.clone();for(var S,N=new s(1),M=new s(0),R=k.clone();j.cmpn(1)&gt;0&amp;&amp;k.cmpn(1)&gt;0;){for(var B=0,Y=1;(j.words[0]&amp;Y)==0&amp;&amp;B&lt;26;++B,Y&lt;&lt;=1);if(B&gt;0)for(j.iushrn(B);B-- &gt;0;)N.isOdd()&amp;&amp;N.iadd(R),N.iushrn(1);for(var Z=0,ie=1;(k.words[0]&amp;ie)==0&amp;&amp;Z&lt;26;++Z,ie&lt;&lt;=1);if(Z&gt;0)for(k.iushrn(Z);Z-- &gt;0;)M.isOdd()&amp;&amp;M.iadd(R),M.iushrn(1);j.cmp(k)&gt;=0?(j.isub(k),N.isub(M)):(k.isub(j),M.isub(N))}return(S=j.cmpn(1)===0?N:M).cmpn(0)&lt;0&amp;&amp;S.iadd(E),S},s.prototype.gcd=function(E){if(this.isZero())return E.abs();if(E.isZero())return this.abs();var j=this.clone(),k=E.clone();j.negative=0,k.negative=0;for(var S=0;j.isEven()&amp;&amp;k.isEven();S++)j.iushrn(1),k.iushrn(1);for(;;){for(;j.isEven();)j.iushrn(1);for(;k.isEven();)k.iushrn(1);var N=j.cmp(k);if(N&lt;0){var M=j;j=k,k=M}else if(N===0||k.cmpn(1)===0)break;j.isub(k)}return k.iushln(S)},s.prototype.invm=function(E){return this.egcd(E).a.umod(E)},s.prototype.isEven=function(){return(1&amp;this.words[0])==0},s.prototype.isOdd=function(){return(1&amp;this.words[0])==1},s.prototype.andln=function(E){return this.words[0]&amp;E},s.prototype.bincn=function(E){u(typeof E==&quot;number&quot;);var j=E%26,k=(E-j)/26,S=1&lt;&lt;j;if(this.length&lt;=k)return this._expand(k+1),this.words[k]|=S,this;for(var N=S,M=k;N!==0&amp;&amp;M&lt;this.length;M++){var R=0|this.words[M];N=(R+=N)&gt;&gt;&gt;26,R&amp;=67108863,this.words[M]=R}return N!==0&amp;&amp;(this.words[M]=N,this.length++),this},s.prototype.isZero=function(){return this.length===1&amp;&amp;this.words[0]===0},s.prototype.cmpn=function(E){var j,k=E&lt;0;if(this.negative!==0&amp;&amp;!k)return-1;if(this.negative===0&amp;&amp;k)return 1;if(this._strip(),this.length&gt;1)j=1;else{k&amp;&amp;(E=-E),u(E&lt;=67108863,&quot;Number is too big&quot;);var S=0|this.words[0];j=S===E?0:S&lt;E?-1:1}return this.negative!==0?0|-j:j},s.prototype.cmp=function(E){if(this.negative!==0&amp;&amp;E.negative===0)return-1;if(this.negative===0&amp;&amp;E.negative!==0)return 1;var j=this.ucmp(E);return this.negative!==0?0|-j:j},s.prototype.ucmp=function(E){if(this.length&gt;E.length)return 1;if(this.length&lt;E.length)return-1;for(var j=0,k=this.length-1;k&gt;=0;k--){var S=0|this.words[k],N=0|E.words[k];if(S!==N){S&lt;N?j=-1:S&gt;N&amp;&amp;(j=1);break}}return j},s.prototype.gtn=function(E){return this.cmpn(E)===1},s.prototype.gt=function(E){return this.cmp(E)===1},s.prototype.gten=function(E){return this.cmpn(E)&gt;=0},s.prototype.gte=function(E){return this.cmp(E)&gt;=0},s.prototype.ltn=function(E){return this.cmpn(E)===-1},s.prototype.lt=function(E){return this.cmp(E)===-1},s.prototype.lten=function(E){return this.cmpn(E)&lt;=0},s.prototype.lte=function(E){return this.cmp(E)&lt;=0},s.prototype.eqn=function(E){return this.cmpn(E)===0},s.prototype.eq=function(E){return this.cmp(E)===0},s.red=function(E){return new P(E)},s.prototype.toRed=function(E){return u(!this.red,&quot;Already a number in reduction context&quot;),u(this.negative===0,&quot;red works only with positives&quot;),E.convertTo(this)._forceRed(E)},s.prototype.fromRed=function(){return u(this.red,&quot;fromRed works only with numbers in reduction context&quot;),this.red.convertFrom(this)},s.prototype._forceRed=function(E){return this.red=E,this},s.prototype.forceRed=function(E){return u(!this.red,&quot;Already a number in reduction context&quot;),this._forceRed(E)},s.prototype.redAdd=function(E){return u(this.red,&quot;redAdd works only with red numbers&quot;),this.red.add(this,E)},s.prototype.redIAdd=function(E){return u(this.red,&quot;redIAdd works only with red numbers&quot;),this.red.iadd(this,E)},s.prototype.redSub=function(E){return u(this.red,&quot;redSub works only with red numbers&quot;),this.red.sub(this,E)},s.prototype.redISub=function(E){return u(this.red,&quot;redISub works only with red numbers&quot;),this.red.isub(this,E)},s.prototype.redShl=function(E){return u(this.red,&quot;redShl works only with red numbers&quot;),this.red.shl(this,E)},s.prototype.redMul=function(E){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,E),this.red.mul(this,E)},s.prototype.redIMul=function(E){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,E),this.red.imul(this,E)},s.prototype.redSqr=function(){return u(this.red,&quot;redSqr works only with red numbers&quot;),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return u(this.red,&quot;redISqr works only with red numbers&quot;),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return u(this.red,&quot;redSqrt works only with red numbers&quot;),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return u(this.red,&quot;redInvm works only with red numbers&quot;),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return u(this.red,&quot;redNeg works only with red numbers&quot;),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(E){return u(this.red&amp;&amp;!E.red,&quot;redPow(normalNum)&quot;),this.red._verify1(this),this.red.pow(this,E)};var V={k256:null,p224:null,p192:null,p25519:null};function F(E,j){this.name=E,this.p=new s(j,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function H(){F.call(this,&quot;k256&quot;,&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f&quot;)}function W(){F.call(this,&quot;p224&quot;,&quot;ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001&quot;)}function K(){F.call(this,&quot;p192&quot;,&quot;ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff&quot;)}function $(){F.call(this,&quot;25519&quot;,&quot;7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed&quot;)}function P(E){if(typeof E==&quot;string&quot;){var j=s._prime(E);this.m=j.p,this.prime=j}else u(E.gtn(1),&quot;modulus must be greater than 1&quot;),this.m=E,this.prime=null}function D(E){P.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&amp;&amp;(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}F.prototype._tmp=function(){var E=new s(null);return E.words=new Array(Math.ceil(this.n/13)),E},F.prototype.ireduce=function(E){var j,k=E;do this.split(k,this.tmp),j=(k=(k=this.imulK(k)).iadd(this.tmp)).bitLength();while(j&gt;this.n);var S=j&lt;this.n?-1:k.ucmp(this.p);return S===0?(k.words[0]=0,k.length=1):S&gt;0?k.isub(this.p):k.strip!==void 0?k.strip():k._strip(),k},F.prototype.split=function(E,j){E.iushrn(this.n,0,j)},F.prototype.imulK=function(E){return E.imul(this.k)},l(H,F),H.prototype.split=function(E,j){for(var k=Math.min(E.length,9),S=0;S&lt;k;S++)j.words[S]=E.words[S];if(j.length=k,E.length&lt;=9)return E.words[0]=0,void(E.length=1);var N=E.words[9];for(j.words[j.length++]=4194303&amp;N,S=10;S&lt;E.length;S++){var M=0|E.words[S];E.words[S-10]=(4194303&amp;M)&lt;&lt;4|N&gt;&gt;&gt;22,N=M}N&gt;&gt;&gt;=22,E.words[S-10]=N,N===0&amp;&amp;E.length&gt;10?E.length-=10:E.length-=9},H.prototype.imulK=function(E){E.words[E.length]=0,E.words[E.length+1]=0,E.length+=2;for(var j=0,k=0;k&lt;E.length;k++){var S=0|E.words[k];j+=977*S,E.words[k]=67108863&amp;j,j=64*S+(j/67108864|0)}return E.words[E.length-1]===0&amp;&amp;(E.length--,E.words[E.length-1]===0&amp;&amp;E.length--),E},l(W,F),l(K,F),l($,F),$.prototype.imulK=function(E){for(var j=0,k=0;k&lt;E.length;k++){var S=19*(0|E.words[k])+j,N=67108863&amp;S;S&gt;&gt;&gt;=26,E.words[k]=N,j=S}return j!==0&amp;&amp;(E.words[E.length++]=j),E},s._prime=function(E){if(V[E])return V[E];var j;if(E===&quot;k256&quot;)j=new H;else if(E===&quot;p224&quot;)j=new W;else if(E===&quot;p192&quot;)j=new K;else{if(E!==&quot;p25519&quot;)throw new Error(&quot;Unknown prime &quot;+E);j=new $}return V[E]=j,j},P.prototype._verify1=function(E){u(E.negative===0,&quot;red works only with positives&quot;),u(E.red,&quot;red works only with red numbers&quot;)},P.prototype._verify2=function(E,j){u((E.negative|j.negative)==0,&quot;red works only with positives&quot;),u(E.red&amp;&amp;E.red===j.red,&quot;red works only with red numbers&quot;)},P.prototype.imod=function(E){return this.prime?this.prime.ireduce(E)._forceRed(this):(p(E,E.umod(this.m)._forceRed(this)),E)},P.prototype.neg=function(E){return E.isZero()?E.clone():this.m.sub(E)._forceRed(this)},P.prototype.add=function(E,j){this._verify2(E,j);var k=E.add(j);return k.cmp(this.m)&gt;=0&amp;&amp;k.isub(this.m),k._forceRed(this)},P.prototype.iadd=function(E,j){this._verify2(E,j);var k=E.iadd(j);return k.cmp(this.m)&gt;=0&amp;&amp;k.isub(this.m),k},P.prototype.sub=function(E,j){this._verify2(E,j);var k=E.sub(j);return k.cmpn(0)&lt;0&amp;&amp;k.iadd(this.m),k._forceRed(this)},P.prototype.isub=function(E,j){this._verify2(E,j);var k=E.isub(j);return k.cmpn(0)&lt;0&amp;&amp;k.iadd(this.m),k},P.prototype.shl=function(E,j){return this._verify1(E),this.imod(E.ushln(j))},P.prototype.imul=function(E,j){return this._verify2(E,j),this.imod(E.imul(j))},P.prototype.mul=function(E,j){return this._verify2(E,j),this.imod(E.mul(j))},P.prototype.isqr=function(E){return this.imul(E,E.clone())},P.prototype.sqr=function(E){return this.mul(E,E)},P.prototype.sqrt=function(E){if(E.isZero())return E.clone();var j=this.m.andln(3);if(u(j%2==1),j===3){var k=this.m.add(new s(1)).iushrn(2);return this.pow(E,k)}for(var S=this.m.subn(1),N=0;!S.isZero()&amp;&amp;S.andln(1)===0;)N++,S.iushrn(1);u(!S.isZero());var M=new s(1).toRed(this),R=M.redNeg(),B=this.m.subn(1).iushrn(1),Y=this.m.bitLength();for(Y=new s(2*Y*Y).toRed(this);this.pow(Y,B).cmp(R)!==0;)Y.redIAdd(R);for(var Z=this.pow(Y,S),ie=this.pow(E,S.addn(1).iushrn(1)),U=this.pow(E,S),ee=N;U.cmp(M)!==0;){for(var z=U,I=0;z.cmp(M)!==0;I++)z=z.redSqr();u(I&lt;ee);var X=this.pow(Z,new s(1).iushln(ee-I-1));ie=ie.redMul(X),Z=X.redSqr(),U=U.redMul(Z),ee=I}return ie},P.prototype.invm=function(E){var j=E._invmp(this.m);return j.negative!==0?(j.negative=0,this.imod(j).redNeg()):this.imod(j)},P.prototype.pow=function(E,j){if(j.isZero())return new s(1).toRed(this);if(j.cmpn(1)===0)return E.clone();var k=new Array(16);k[0]=new s(1).toRed(this),k[1]=E;for(var S=2;S&lt;k.length;S++)k[S]=this.mul(k[S-1],E);var N=k[0],M=0,R=0,B=j.bitLength()%26;for(B===0&amp;&amp;(B=26),S=j.length-1;S&gt;=0;S--){for(var Y=j.words[S],Z=B-1;Z&gt;=0;Z--){var ie=Y&gt;&gt;Z&amp;1;N!==k[0]&amp;&amp;(N=this.sqr(N)),ie!==0||M!==0?(M&lt;&lt;=1,M|=ie,(++R===4||S===0&amp;&amp;Z===0)&amp;&amp;(N=this.mul(N,k[M]),R=0,M=0)):R=0}B=26}return N},P.prototype.convertTo=function(E){var j=E.umod(this.m);return j===E?j.clone():j},P.prototype.convertFrom=function(E){var j=E.clone();return j.red=null,j},s.mont=function(E){return new D(E)},l(D,P),D.prototype.convertTo=function(E){return this.imod(E.ushln(this.shift))},D.prototype.convertFrom=function(E){var j=this.imod(E.mul(this.rinv));return j.red=null,j},D.prototype.imul=function(E,j){if(E.isZero()||j.isZero())return E.words[0]=0,E.length=1,E;var k=E.imul(j),S=k.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),N=k.isub(S).iushrn(this.shift),M=N;return N.cmp(this.m)&gt;=0?M=N.isub(this.m):N.cmpn(0)&lt;0&amp;&amp;(M=N.iadd(this.m)),M._forceRed(this)},D.prototype.mul=function(E,j){if(E.isZero()||j.isZero())return new s(0)._forceRed(this);var k=E.mul(j),S=k.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),N=k.isub(S).iushrn(this.shift),M=N;return N.cmp(this.m)&gt;=0?M=N.isub(this.m):N.cmpn(0)&lt;0&amp;&amp;(M=N.iadd(this.m)),M._forceRed(this)},D.prototype.invm=function(E){return this.imod(E._invmp(this.m).mul(this.r2))._forceRed(this)}})(n===void 0||n)},{buffer:188}],187:[function(t,n,o){var i;function a(l){this.rand=l}if(n.exports=function(l){return i||(i=new a(null)),i.generate(l)},n.exports.Rand=a,a.prototype.generate=function(l){return this._rand(l)},a.prototype._rand=function(l){if(this.rand.getBytes)return this.rand.getBytes(l);for(var s=new Uint8Array(l),d=0;d&lt;s.length;d++)s[d]=this.rand.getByte();return s},typeof self==&quot;object&quot;)self.crypto&amp;&amp;self.crypto.getRandomValues?a.prototype._rand=function(l){var s=new Uint8Array(l);return self.crypto.getRandomValues(s),s}:self.msCrypto&amp;&amp;self.msCrypto.getRandomValues?a.prototype._rand=function(l){var s=new Uint8Array(l);return self.msCrypto.getRandomValues(s),s}:typeof window==&quot;object&quot;&amp;&amp;(a.prototype._rand=function(){throw new Error(&quot;Not implemented yet&quot;)});else try{var u=t(&quot;crypto&quot;);if(typeof u.randomBytes!=&quot;function&quot;)throw new Error(&quot;Not supported&quot;);a.prototype._rand=function(l){return u.randomBytes(l)}}catch{}},{crypto:188}],188:[function(t,n,o){},{}],189:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer;function a(h){i.isBuffer(h)||(h=i.from(h));for(var m=h.length/4|0,p=new Array(m),b=0;b&lt;m;b++)p[b]=h.readUInt32BE(4*b);return p}function u(h){for(;0&lt;h.length;h++)h[0]=0}function l(h,m,p,b,g){for(var y,v,_,C,O=p[0],T=p[1],V=p[2],F=p[3],H=h[0]^m[0],W=h[1]^m[1],K=h[2]^m[2],$=h[3]^m[3],P=4,D=1;D&lt;g;D++)y=O[H&gt;&gt;&gt;24]^T[W&gt;&gt;&gt;16&amp;255]^V[K&gt;&gt;&gt;8&amp;255]^F[255&amp;$]^m[P++],v=O[W&gt;&gt;&gt;24]^T[K&gt;&gt;&gt;16&amp;255]^V[$&gt;&gt;&gt;8&amp;255]^F[255&amp;H]^m[P++],_=O[K&gt;&gt;&gt;24]^T[$&gt;&gt;&gt;16&amp;255]^V[H&gt;&gt;&gt;8&amp;255]^F[255&amp;W]^m[P++],C=O[$&gt;&gt;&gt;24]^T[H&gt;&gt;&gt;16&amp;255]^V[W&gt;&gt;&gt;8&amp;255]^F[255&amp;K]^m[P++],H=y,W=v,K=_,$=C;return y=(b[H&gt;&gt;&gt;24]&lt;&lt;24|b[W&gt;&gt;&gt;16&amp;255]&lt;&lt;16|b[K&gt;&gt;&gt;8&amp;255]&lt;&lt;8|b[255&amp;$])^m[P++],v=(b[W&gt;&gt;&gt;24]&lt;&lt;24|b[K&gt;&gt;&gt;16&amp;255]&lt;&lt;16|b[$&gt;&gt;&gt;8&amp;255]&lt;&lt;8|b[255&amp;H])^m[P++],_=(b[K&gt;&gt;&gt;24]&lt;&lt;24|b[$&gt;&gt;&gt;16&amp;255]&lt;&lt;16|b[H&gt;&gt;&gt;8&amp;255]&lt;&lt;8|b[255&amp;W])^m[P++],C=(b[$&gt;&gt;&gt;24]&lt;&lt;24|b[H&gt;&gt;&gt;16&amp;255]&lt;&lt;16|b[W&gt;&gt;&gt;8&amp;255]&lt;&lt;8|b[255&amp;K])^m[P++],[y&gt;&gt;&gt;=0,v&gt;&gt;&gt;=0,_&gt;&gt;&gt;=0,C&gt;&gt;&gt;=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],d=(function(){for(var h=new Array(256),m=0;m&lt;256;m++)h[m]=m&lt;128?m&lt;&lt;1:m&lt;&lt;1^283;for(var p=[],b=[],g=[[],[],[],[]],y=[[],[],[],[]],v=0,_=0,C=0;C&lt;256;++C){var O=_^_&lt;&lt;1^_&lt;&lt;2^_&lt;&lt;3^_&lt;&lt;4;O=O&gt;&gt;&gt;8^255&amp;O^99,p[v]=O,b[O]=v;var T=h[v],V=h[T],F=h[V],H=257*h[O]^16843008*O;g[0][v]=H&lt;&lt;24|H&gt;&gt;&gt;8,g[1][v]=H&lt;&lt;16|H&gt;&gt;&gt;16,g[2][v]=H&lt;&lt;8|H&gt;&gt;&gt;24,g[3][v]=H,H=16843009*F^65537*V^257*T^16843008*v,y[0][O]=H&lt;&lt;24|H&gt;&gt;&gt;8,y[1][O]=H&lt;&lt;16|H&gt;&gt;&gt;16,y[2][O]=H&lt;&lt;8|H&gt;&gt;&gt;24,y[3][O]=H,v===0?v=_=1:(v=T^h[h[h[F^T]]],_^=h[h[_]])}return{SBOX:p,INV_SBOX:b,SUB_MIX:g,INV_SUB_MIX:y}})();function f(h){this._key=a(h),this._reset()}f.blockSize=16,f.keySize=32,f.prototype.blockSize=f.blockSize,f.prototype.keySize=f.keySize,f.prototype._reset=function(){for(var h=this._key,m=h.length,p=m+6,b=4*(p+1),g=[],y=0;y&lt;m;y++)g[y]=h[y];for(y=m;y&lt;b;y++){var v=g[y-1];y%m==0?(v=v&lt;&lt;8|v&gt;&gt;&gt;24,v=d.SBOX[v&gt;&gt;&gt;24]&lt;&lt;24|d.SBOX[v&gt;&gt;&gt;16&amp;255]&lt;&lt;16|d.SBOX[v&gt;&gt;&gt;8&amp;255]&lt;&lt;8|d.SBOX[255&amp;v],v^=s[y/m|0]&lt;&lt;24):m&gt;6&amp;&amp;y%m==4&amp;&amp;(v=d.SBOX[v&gt;&gt;&gt;24]&lt;&lt;24|d.SBOX[v&gt;&gt;&gt;16&amp;255]&lt;&lt;16|d.SBOX[v&gt;&gt;&gt;8&amp;255]&lt;&lt;8|d.SBOX[255&amp;v]),g[y]=g[y-m]^v}for(var _=[],C=0;C&lt;b;C++){var O=b-C,T=g[O-(C%4?0:4)];_[C]=C&lt;4||O&lt;=4?T:d.INV_SUB_MIX[0][d.SBOX[T&gt;&gt;&gt;24]]^d.INV_SUB_MIX[1][d.SBOX[T&gt;&gt;&gt;16&amp;255]]^d.INV_SUB_MIX[2][d.SBOX[T&gt;&gt;&gt;8&amp;255]]^d.INV_SUB_MIX[3][d.SBOX[255&amp;T]]}this._nRounds=p,this._keySchedule=g,this._invKeySchedule=_},f.prototype.encryptBlockRaw=function(h){return l(h=a(h),this._keySchedule,d.SUB_MIX,d.SBOX,this._nRounds)},f.prototype.encryptBlock=function(h){var m=this.encryptBlockRaw(h),p=i.allocUnsafe(16);return p.writeUInt32BE(m[0],0),p.writeUInt32BE(m[1],4),p.writeUInt32BE(m[2],8),p.writeUInt32BE(m[3],12),p},f.prototype.decryptBlock=function(h){var m=(h=a(h))[1];h[1]=h[3],h[3]=m;var p=l(h,this._invKeySchedule,d.INV_SUB_MIX,d.INV_SBOX,this._nRounds),b=i.allocUnsafe(16);return b.writeUInt32BE(p[0],0),b.writeUInt32BE(p[3],4),b.writeUInt32BE(p[2],8),b.writeUInt32BE(p[1],12),b},f.prototype.scrub=function(){u(this._keySchedule),u(this._invKeySchedule),u(this._key)},n.exports.AES=f},{&quot;safe-buffer&quot;:494}],190:[function(t,n,o){var i=t(&quot;./aes&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;),l=t(&quot;inherits&quot;),s=t(&quot;./ghash&quot;),d=t(&quot;buffer-xor&quot;),f=t(&quot;./incr32&quot;);function h(m,p,b,g){u.call(this);var y=a.alloc(4,0);this._cipher=new i.AES(p);var v=this._cipher.encryptBlock(y);this._ghash=new s(v),b=(function(_,C,O){if(C.length===12)return _._finID=a.concat([C,a.from([0,0,0,1])]),a.concat([C,a.from([0,0,0,2])]);var T=new s(O),V=C.length,F=V%16;T.update(C),F&amp;&amp;(F=16-F,T.update(a.alloc(F,0))),T.update(a.alloc(8,0));var H=8*V,W=a.alloc(8);W.writeUIntBE(H,0,8),T.update(W),_._finID=T.state;var K=a.from(_._finID);return f(K),K})(this,b,v),this._prev=a.from(b),this._cache=a.allocUnsafe(0),this._secCache=a.allocUnsafe(0),this._decrypt=g,this._alen=0,this._len=0,this._mode=m,this._authTag=null,this._called=!1}l(h,u),h.prototype._update=function(m){if(!this._called&amp;&amp;this._alen){var p=16-this._alen%16;p&lt;16&amp;&amp;(p=a.alloc(p,0),this._ghash.update(p))}this._called=!0;var b=this._mode.encrypt(this,m);return this._decrypt?this._ghash.update(m):this._ghash.update(b),this._len+=m.length,b},h.prototype._final=function(){if(this._decrypt&amp;&amp;!this._authTag)throw new Error(&quot;Unsupported state or unable to authenticate data&quot;);var m=d(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&amp;&amp;(function(p,b){var g=0;p.length!==b.length&amp;&amp;g++;for(var y=Math.min(p.length,b.length),v=0;v&lt;y;++v)g+=p[v]^b[v];return g})(m,this._authTag))throw new Error(&quot;Unsupported state or unable to authenticate data&quot;);this._authTag=m,this._cipher.scrub()},h.prototype.getAuthTag=function(){if(this._decrypt||!a.isBuffer(this._authTag))throw new Error(&quot;Attempting to get auth tag in unsupported state&quot;);return this._authTag},h.prototype.setAuthTag=function(m){if(!this._decrypt)throw new Error(&quot;Attempting to set auth tag in unsupported state&quot;);this._authTag=m},h.prototype.setAAD=function(m){if(this._called)throw new Error(&quot;Attempting to set AAD in unsupported state&quot;);this._ghash.update(m),this._alen+=m.length},n.exports=h},{&quot;./aes&quot;:189,&quot;./ghash&quot;:194,&quot;./incr32&quot;:195,&quot;buffer-xor&quot;:219,&quot;cipher-base&quot;:221,inherits:440,&quot;safe-buffer&quot;:494}],191:[function(t,n,o){var i=t(&quot;./encrypter&quot;),a=t(&quot;./decrypter&quot;),u=t(&quot;./modes/list.json&quot;);o.createCipher=o.Cipher=i.createCipher,o.createCipheriv=o.Cipheriv=i.createCipheriv,o.createDecipher=o.Decipher=a.createDecipher,o.createDecipheriv=o.Decipheriv=a.createDecipheriv,o.listCiphers=o.getCiphers=function(){return Object.keys(u)}},{&quot;./decrypter&quot;:192,&quot;./encrypter&quot;:193,&quot;./modes/list.json&quot;:203}],192:[function(t,n,o){var i=t(&quot;./authCipher&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;./modes&quot;),l=t(&quot;./streamCipher&quot;),s=t(&quot;cipher-base&quot;),d=t(&quot;./aes&quot;),f=t(&quot;evp_bytestokey&quot;);function h(b,g,y){s.call(this),this._cache=new m,this._last=void 0,this._cipher=new d.AES(g),this._prev=a.from(y),this._mode=b,this._autopadding=!0}function m(){this.cache=a.allocUnsafe(0)}function p(b,g,y){var v=u[b.toLowerCase()];if(!v)throw new TypeError(&quot;invalid suite type&quot;);if(typeof y==&quot;string&quot;&amp;&amp;(y=a.from(y)),v.mode!==&quot;GCM&quot;&amp;&amp;y.length!==v.iv)throw new TypeError(&quot;invalid iv length &quot;+y.length);if(typeof g==&quot;string&quot;&amp;&amp;(g=a.from(g)),g.length!==v.key/8)throw new TypeError(&quot;invalid key length &quot;+g.length);return v.type===&quot;stream&quot;?new l(v.module,g,y,!0):v.type===&quot;auth&quot;?new i(v.module,g,y,!0):new h(v.module,g,y)}t(&quot;inherits&quot;)(h,s),h.prototype._update=function(b){var g,y;this._cache.add(b);for(var v=[];g=this._cache.get(this._autopadding);)y=this._mode.decrypt(this,g),v.push(y);return a.concat(v)},h.prototype._final=function(){var b=this._cache.flush();if(this._autopadding)return(function(g){var y=g[15];if(y&lt;1||y&gt;16)throw new Error(&quot;unable to decrypt data&quot;);for(var v=-1;++v&lt;y;)if(g[v+(16-y)]!==y)throw new Error(&quot;unable to decrypt data&quot;);if(y!==16)return g.slice(0,16-y)})(this._mode.decrypt(this,b));if(b)throw new Error(&quot;data not multiple of block length&quot;)},h.prototype.setAutoPadding=function(b){return this._autopadding=!!b,this},m.prototype.add=function(b){this.cache=a.concat([this.cache,b])},m.prototype.get=function(b){var g;if(b){if(this.cache.length&gt;16)return g=this.cache.slice(0,16),this.cache=this.cache.slice(16),g}else if(this.cache.length&gt;=16)return g=this.cache.slice(0,16),this.cache=this.cache.slice(16),g;return null},m.prototype.flush=function(){if(this.cache.length)return this.cache},o.createDecipher=function(b,g){var y=u[b.toLowerCase()];if(!y)throw new TypeError(&quot;invalid suite type&quot;);var v=f(g,!1,y.key,y.iv);return p(b,v.key,v.iv)},o.createDecipheriv=p},{&quot;./aes&quot;:189,&quot;./authCipher&quot;:190,&quot;./modes&quot;:202,&quot;./streamCipher&quot;:205,&quot;cipher-base&quot;:221,evp_bytestokey:423,inherits:440,&quot;safe-buffer&quot;:494}],193:[function(t,n,o){var i=t(&quot;./modes&quot;),a=t(&quot;./authCipher&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=t(&quot;./streamCipher&quot;),s=t(&quot;cipher-base&quot;),d=t(&quot;./aes&quot;),f=t(&quot;evp_bytestokey&quot;);function h(g,y,v){s.call(this),this._cache=new p,this._cipher=new d.AES(y),this._prev=u.from(v),this._mode=g,this._autopadding=!0}t(&quot;inherits&quot;)(h,s),h.prototype._update=function(g){var y,v;this._cache.add(g);for(var _=[];y=this._cache.get();)v=this._mode.encrypt(this,y),_.push(v);return u.concat(_)};var m=u.alloc(16,16);function p(){this.cache=u.allocUnsafe(0)}function b(g,y,v){var _=i[g.toLowerCase()];if(!_)throw new TypeError(&quot;invalid suite type&quot;);if(typeof y==&quot;string&quot;&amp;&amp;(y=u.from(y)),y.length!==_.key/8)throw new TypeError(&quot;invalid key length &quot;+y.length);if(typeof v==&quot;string&quot;&amp;&amp;(v=u.from(v)),_.mode!==&quot;GCM&quot;&amp;&amp;v.length!==_.iv)throw new TypeError(&quot;invalid iv length &quot;+v.length);return _.type===&quot;stream&quot;?new l(_.module,y,v):_.type===&quot;auth&quot;?new a(_.module,y,v):new h(_.module,y,v)}h.prototype._final=function(){var g=this._cache.flush();if(this._autopadding)return g=this._mode.encrypt(this,g),this._cipher.scrub(),g;if(!g.equals(m))throw this._cipher.scrub(),new Error(&quot;data not multiple of block length&quot;)},h.prototype.setAutoPadding=function(g){return this._autopadding=!!g,this},p.prototype.add=function(g){this.cache=u.concat([this.cache,g])},p.prototype.get=function(){if(this.cache.length&gt;15){var g=this.cache.slice(0,16);return this.cache=this.cache.slice(16),g}return null},p.prototype.flush=function(){for(var g=16-this.cache.length,y=u.allocUnsafe(g),v=-1;++v&lt;g;)y.writeUInt8(g,v);return u.concat([this.cache,y])},o.createCipheriv=b,o.createCipher=function(g,y){var v=i[g.toLowerCase()];if(!v)throw new TypeError(&quot;invalid suite type&quot;);var _=f(y,!1,v.key,v.iv);return b(g,_.key,_.iv)}},{&quot;./aes&quot;:189,&quot;./authCipher&quot;:190,&quot;./modes&quot;:202,&quot;./streamCipher&quot;:205,&quot;cipher-base&quot;:221,evp_bytestokey:423,inherits:440,&quot;safe-buffer&quot;:494}],194:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=i.alloc(16,0);function u(s){var d=i.allocUnsafe(16);return d.writeUInt32BE(s[0]&gt;&gt;&gt;0,0),d.writeUInt32BE(s[1]&gt;&gt;&gt;0,4),d.writeUInt32BE(s[2]&gt;&gt;&gt;0,8),d.writeUInt32BE(s[3]&gt;&gt;&gt;0,12),d}function l(s){this.h=s,this.state=i.alloc(16,0),this.cache=i.allocUnsafe(0)}l.prototype.ghash=function(s){for(var d=-1;++d&lt;s.length;)this.state[d]^=s[d];this._multiply()},l.prototype._multiply=function(){for(var s,d,f,h=[(s=this.h).readUInt32BE(0),s.readUInt32BE(4),s.readUInt32BE(8),s.readUInt32BE(12)],m=[0,0,0,0],p=-1;++p&lt;128;){for((this.state[~~(p/8)]&amp;1&lt;&lt;7-p%8)!=0&amp;&amp;(m[0]^=h[0],m[1]^=h[1],m[2]^=h[2],m[3]^=h[3]),f=(1&amp;h[3])!=0,d=3;d&gt;0;d--)h[d]=h[d]&gt;&gt;&gt;1|(1&amp;h[d-1])&lt;&lt;31;h[0]=h[0]&gt;&gt;&gt;1,f&amp;&amp;(h[0]=h[0]^225&lt;&lt;24)}this.state=u(m)},l.prototype.update=function(s){var d;for(this.cache=i.concat([this.cache,s]);this.cache.length&gt;=16;)d=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(d)},l.prototype.final=function(s,d){return this.cache.length&amp;&amp;this.ghash(i.concat([this.cache,a],16)),this.ghash(u([0,s,0,d])),this.state},n.exports=l},{&quot;safe-buffer&quot;:494}],195:[function(t,n,o){n.exports=function(i){for(var a,u=i.length;u--;){if((a=i.readUInt8(u))!==255){a++,i.writeUInt8(a,u);break}i.writeUInt8(0,u)}}},{}],196:[function(t,n,o){var i=t(&quot;buffer-xor&quot;);o.encrypt=function(a,u){var l=i(u,a._prev);return a._prev=a._cipher.encryptBlock(l),a._prev},o.decrypt=function(a,u){var l=a._prev;a._prev=u;var s=a._cipher.decryptBlock(u);return i(s,l)}},{&quot;buffer-xor&quot;:219}],197:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;buffer-xor&quot;);function u(l,s,d){var f=s.length,h=a(s,l._cache);return l._cache=l._cache.slice(f),l._prev=i.concat([l._prev,d?s:h]),h}o.encrypt=function(l,s,d){for(var f,h=i.allocUnsafe(0);s.length;){if(l._cache.length===0&amp;&amp;(l._cache=l._cipher.encryptBlock(l._prev),l._prev=i.allocUnsafe(0)),!(l._cache.length&lt;=s.length)){h=i.concat([h,u(l,s,d)]);break}f=l._cache.length,h=i.concat([h,u(l,s.slice(0,f),d)]),s=s.slice(f)}return h}},{&quot;buffer-xor&quot;:219,&quot;safe-buffer&quot;:494}],198:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer;function a(l,s,d){for(var f,h,m=-1,p=0;++m&lt;8;)f=s&amp;1&lt;&lt;7-m?128:0,p+=(128&amp;(h=l._cipher.encryptBlock(l._prev)[0]^f))&gt;&gt;m%8,l._prev=u(l._prev,d?f:h);return p}function u(l,s){var d=l.length,f=-1,h=i.allocUnsafe(l.length);for(l=i.concat([l,i.from([s])]);++f&lt;d;)h[f]=l[f]&lt;&lt;1|l[f+1]&gt;&gt;7;return h}o.encrypt=function(l,s,d){for(var f=s.length,h=i.allocUnsafe(f),m=-1;++m&lt;f;)h[m]=a(l,s[m],d);return h}},{&quot;safe-buffer&quot;:494}],199:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer;function a(u,l,s){var d=u._cipher.encryptBlock(u._prev)[0]^l;return u._prev=i.concat([u._prev.slice(1),i.from([s?l:d])]),d}o.encrypt=function(u,l,s){for(var d=l.length,f=i.allocUnsafe(d),h=-1;++h&lt;d;)f[h]=a(u,l[h],s);return f}},{&quot;safe-buffer&quot;:494}],200:[function(t,n,o){var i=t(&quot;buffer-xor&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;../incr32&quot;);function l(s){var d=s._cipher.encryptBlockRaw(s._prev);return u(s._prev),d}o.encrypt=function(s,d){var f=Math.ceil(d.length/16),h=s._cache.length;s._cache=a.concat([s._cache,a.allocUnsafe(16*f)]);for(var m=0;m&lt;f;m++){var p=l(s),b=h+16*m;s._cache.writeUInt32BE(p[0],b+0),s._cache.writeUInt32BE(p[1],b+4),s._cache.writeUInt32BE(p[2],b+8),s._cache.writeUInt32BE(p[3],b+12)}var g=s._cache.slice(0,d.length);return s._cache=s._cache.slice(d.length),i(d,g)}},{&quot;../incr32&quot;:195,&quot;buffer-xor&quot;:219,&quot;safe-buffer&quot;:494}],201:[function(t,n,o){o.encrypt=function(i,a){return i._cipher.encryptBlock(a)},o.decrypt=function(i,a){return i._cipher.decryptBlock(a)}},{}],202:[function(t,n,o){var i={ECB:t(&quot;./ecb&quot;),CBC:t(&quot;./cbc&quot;),CFB:t(&quot;./cfb&quot;),CFB8:t(&quot;./cfb8&quot;),CFB1:t(&quot;./cfb1&quot;),OFB:t(&quot;./ofb&quot;),CTR:t(&quot;./ctr&quot;),GCM:t(&quot;./ctr&quot;)},a=t(&quot;./list.json&quot;);for(var u in a)a[u].module=i[a[u].mode];n.exports=a},{&quot;./cbc&quot;:196,&quot;./cfb&quot;:197,&quot;./cfb1&quot;:198,&quot;./cfb8&quot;:199,&quot;./ctr&quot;:200,&quot;./ecb&quot;:201,&quot;./list.json&quot;:203,&quot;./ofb&quot;:204}],203:[function(t,n,o){n.exports={&quot;aes-128-ecb&quot;:{cipher:&quot;AES&quot;,key:128,iv:0,mode:&quot;ECB&quot;,type:&quot;block&quot;},&quot;aes-192-ecb&quot;:{cipher:&quot;AES&quot;,key:192,iv:0,mode:&quot;ECB&quot;,type:&quot;block&quot;},&quot;aes-256-ecb&quot;:{cipher:&quot;AES&quot;,key:256,iv:0,mode:&quot;ECB&quot;,type:&quot;block&quot;},&quot;aes-128-cbc&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},&quot;aes-192-cbc&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},&quot;aes-256-cbc&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},aes128:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},aes192:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},aes256:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},&quot;aes-128-cfb&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CFB&quot;,type:&quot;stream&quot;},&quot;aes-192-cfb&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CFB&quot;,type:&quot;stream&quot;},&quot;aes-256-cfb&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CFB&quot;,type:&quot;stream&quot;},&quot;aes-128-cfb8&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CFB8&quot;,type:&quot;stream&quot;},&quot;aes-192-cfb8&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CFB8&quot;,type:&quot;stream&quot;},&quot;aes-256-cfb8&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CFB8&quot;,type:&quot;stream&quot;},&quot;aes-128-cfb1&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CFB1&quot;,type:&quot;stream&quot;},&quot;aes-192-cfb1&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CFB1&quot;,type:&quot;stream&quot;},&quot;aes-256-cfb1&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CFB1&quot;,type:&quot;stream&quot;},&quot;aes-128-ofb&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;OFB&quot;,type:&quot;stream&quot;},&quot;aes-192-ofb&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;OFB&quot;,type:&quot;stream&quot;},&quot;aes-256-ofb&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;OFB&quot;,type:&quot;stream&quot;},&quot;aes-128-ctr&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CTR&quot;,type:&quot;stream&quot;},&quot;aes-192-ctr&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CTR&quot;,type:&quot;stream&quot;},&quot;aes-256-ctr&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CTR&quot;,type:&quot;stream&quot;},&quot;aes-128-gcm&quot;:{cipher:&quot;AES&quot;,key:128,iv:12,mode:&quot;GCM&quot;,type:&quot;auth&quot;},&quot;aes-192-gcm&quot;:{cipher:&quot;AES&quot;,key:192,iv:12,mode:&quot;GCM&quot;,type:&quot;auth&quot;},&quot;aes-256-gcm&quot;:{cipher:&quot;AES&quot;,key:256,iv:12,mode:&quot;GCM&quot;,type:&quot;auth&quot;}}},{}],204:[function(t,n,o){(function(i){(function(){var a=t(&quot;buffer-xor&quot;);function u(l){return l._prev=l._cipher.encryptBlock(l._prev),l._prev}o.encrypt=function(l,s){for(;l._cache.length&lt;s.length;)l._cache=i.concat([l._cache,u(l)]);var d=l._cache.slice(0,s.length);return l._cache=l._cache.slice(s.length),a(s,d)}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220,&quot;buffer-xor&quot;:219}],205:[function(t,n,o){var i=t(&quot;./aes&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;);function l(s,d,f,h){u.call(this),this._cipher=new i.AES(d),this._prev=a.from(f),this._cache=a.allocUnsafe(0),this._secCache=a.allocUnsafe(0),this._decrypt=h,this._mode=s}t(&quot;inherits&quot;)(l,u),l.prototype._update=function(s){return this._mode.encrypt(this,s,this._decrypt)},l.prototype._final=function(){this._cipher.scrub()},n.exports=l},{&quot;./aes&quot;:189,&quot;cipher-base&quot;:221,inherits:440,&quot;safe-buffer&quot;:494}],206:[function(t,n,o){var i=t(&quot;browserify-des&quot;),a=t(&quot;browserify-aes/browser&quot;),u=t(&quot;browserify-aes/modes&quot;),l=t(&quot;browserify-des/modes&quot;),s=t(&quot;evp_bytestokey&quot;);function d(h,m,p){if(h=h.toLowerCase(),u[h])return a.createCipheriv(h,m,p);if(l[h])return new i({key:m,iv:p,mode:h});throw new TypeError(&quot;invalid suite type&quot;)}function f(h,m,p){if(h=h.toLowerCase(),u[h])return a.createDecipheriv(h,m,p);if(l[h])return new i({key:m,iv:p,mode:h,decrypt:!0});throw new TypeError(&quot;invalid suite type&quot;)}o.createCipher=o.Cipher=function(h,m){var p,b;if(h=h.toLowerCase(),u[h])p=u[h].key,b=u[h].iv;else{if(!l[h])throw new TypeError(&quot;invalid suite type&quot;);p=8*l[h].key,b=l[h].iv}var g=s(m,!1,p,b);return d(h,g.key,g.iv)},o.createCipheriv=o.Cipheriv=d,o.createDecipher=o.Decipher=function(h,m){var p,b;if(h=h.toLowerCase(),u[h])p=u[h].key,b=u[h].iv;else{if(!l[h])throw new TypeError(&quot;invalid suite type&quot;);p=8*l[h].key,b=l[h].iv}var g=s(m,!1,p,b);return f(h,g.key,g.iv)},o.createDecipheriv=o.Decipheriv=f,o.listCiphers=o.getCiphers=function(){return Object.keys(l).concat(a.getCiphers())}},{&quot;browserify-aes/browser&quot;:191,&quot;browserify-aes/modes&quot;:202,&quot;browserify-des&quot;:207,&quot;browserify-des/modes&quot;:208,evp_bytestokey:423}],207:[function(t,n,o){var i=t(&quot;cipher-base&quot;),a=t(&quot;des.js&quot;),u=t(&quot;inherits&quot;),l=t(&quot;safe-buffer&quot;).Buffer,s={&quot;des-ede3-cbc&quot;:a.CBC.instantiate(a.EDE),&quot;des-ede3&quot;:a.EDE,&quot;des-ede-cbc&quot;:a.CBC.instantiate(a.EDE),&quot;des-ede&quot;:a.EDE,&quot;des-cbc&quot;:a.CBC.instantiate(a.DES),&quot;des-ecb&quot;:a.DES};function d(f){i.call(this);var h,m=f.mode.toLowerCase(),p=s[m];h=f.decrypt?&quot;decrypt&quot;:&quot;encrypt&quot;;var b=f.key;l.isBuffer(b)||(b=l.from(b)),m!==&quot;des-ede&quot;&amp;&amp;m!==&quot;des-ede-cbc&quot;||(b=l.concat([b,b.slice(0,8)]));var g=f.iv;l.isBuffer(g)||(g=l.from(g)),this._des=p.create({key:b,iv:g,type:h})}s.des=s[&quot;des-cbc&quot;],s.des3=s[&quot;des-ede3-cbc&quot;],n.exports=d,u(d,i),d.prototype._update=function(f){return l.from(this._des.update(f))},d.prototype._final=function(){return l.from(this._des.final())}},{&quot;cipher-base&quot;:221,&quot;des.js&quot;:394,inherits:440,&quot;safe-buffer&quot;:494}],208:[function(t,n,o){o[&quot;des-ecb&quot;]={key:8,iv:0},o[&quot;des-cbc&quot;]=o.des={key:8,iv:8},o[&quot;des-ede3-cbc&quot;]=o.des3={key:24,iv:8},o[&quot;des-ede3&quot;]={key:24,iv:0},o[&quot;des-ede-cbc&quot;]={key:16,iv:8},o[&quot;des-ede&quot;]={key:16,iv:0}},{}],209:[function(t,n,o){(function(i){(function(){var a=t(&quot;bn.js&quot;),u=t(&quot;randombytes&quot;);function l(d){var f,h=d.modulus.byteLength();do f=new a(u(h));while(f.cmp(d.modulus)&gt;=0||!f.umod(d.prime1)||!f.umod(d.prime2));return f}function s(d,f){var h=(function(V){var F=l(V);return{blinder:F.toRed(a.mont(V.modulus)).redPow(new a(V.publicExponent)).fromRed(),unblinder:F.invm(V.modulus)}})(f),m=f.modulus.byteLength(),p=new a(d).mul(h.blinder).umod(f.modulus),b=p.toRed(a.mont(f.prime1)),g=p.toRed(a.mont(f.prime2)),y=f.coefficient,v=f.prime1,_=f.prime2,C=b.redPow(f.exponent1).fromRed(),O=g.redPow(f.exponent2).fromRed(),T=C.isub(O).imul(y).umod(v).imul(_);return O.iadd(T).imul(h.unblinder).umod(f.modulus).toArrayLike(i,&quot;be&quot;,m)}s.getr=l,n.exports=s}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;bn.js&quot;:186,buffer:220,randombytes:475}],210:[function(t,n,o){n.exports=t(&quot;./browser/algorithms.json&quot;)},{&quot;./browser/algorithms.json&quot;:211}],211:[function(t,n,o){n.exports={sha224WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;sha224&quot;,id:&quot;302d300d06096086480165030402040500041c&quot;},&quot;RSA-SHA224&quot;:{sign:&quot;ecdsa/rsa&quot;,hash:&quot;sha224&quot;,id:&quot;302d300d06096086480165030402040500041c&quot;},sha256WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;sha256&quot;,id:&quot;3031300d060960864801650304020105000420&quot;},&quot;RSA-SHA256&quot;:{sign:&quot;ecdsa/rsa&quot;,hash:&quot;sha256&quot;,id:&quot;3031300d060960864801650304020105000420&quot;},sha384WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;sha384&quot;,id:&quot;3041300d060960864801650304020205000430&quot;},&quot;RSA-SHA384&quot;:{sign:&quot;ecdsa/rsa&quot;,hash:&quot;sha384&quot;,id:&quot;3041300d060960864801650304020205000430&quot;},sha512WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;sha512&quot;,id:&quot;3051300d060960864801650304020305000440&quot;},&quot;RSA-SHA512&quot;:{sign:&quot;ecdsa/rsa&quot;,hash:&quot;sha512&quot;,id:&quot;3051300d060960864801650304020305000440&quot;},&quot;RSA-SHA1&quot;:{sign:&quot;rsa&quot;,hash:&quot;sha1&quot;,id:&quot;3021300906052b0e03021a05000414&quot;},&quot;ecdsa-with-SHA1&quot;:{sign:&quot;ecdsa&quot;,hash:&quot;sha1&quot;,id:&quot;&quot;},sha256:{sign:&quot;ecdsa&quot;,hash:&quot;sha256&quot;,id:&quot;&quot;},sha224:{sign:&quot;ecdsa&quot;,hash:&quot;sha224&quot;,id:&quot;&quot;},sha384:{sign:&quot;ecdsa&quot;,hash:&quot;sha384&quot;,id:&quot;&quot;},sha512:{sign:&quot;ecdsa&quot;,hash:&quot;sha512&quot;,id:&quot;&quot;},&quot;DSA-SHA&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha1&quot;,id:&quot;&quot;},&quot;DSA-SHA1&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha1&quot;,id:&quot;&quot;},DSA:{sign:&quot;dsa&quot;,hash:&quot;sha1&quot;,id:&quot;&quot;},&quot;DSA-WITH-SHA224&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha224&quot;,id:&quot;&quot;},&quot;DSA-SHA224&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha224&quot;,id:&quot;&quot;},&quot;DSA-WITH-SHA256&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha256&quot;,id:&quot;&quot;},&quot;DSA-SHA256&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha256&quot;,id:&quot;&quot;},&quot;DSA-WITH-SHA384&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha384&quot;,id:&quot;&quot;},&quot;DSA-SHA384&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha384&quot;,id:&quot;&quot;},&quot;DSA-WITH-SHA512&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha512&quot;,id:&quot;&quot;},&quot;DSA-SHA512&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha512&quot;,id:&quot;&quot;},&quot;DSA-RIPEMD160&quot;:{sign:&quot;dsa&quot;,hash:&quot;rmd160&quot;,id:&quot;&quot;},ripemd160WithRSA:{sign:&quot;rsa&quot;,hash:&quot;rmd160&quot;,id:&quot;3021300906052b2403020105000414&quot;},&quot;RSA-RIPEMD160&quot;:{sign:&quot;rsa&quot;,hash:&quot;rmd160&quot;,id:&quot;3021300906052b2403020105000414&quot;},md5WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;md5&quot;,id:&quot;3020300c06082a864886f70d020505000410&quot;},&quot;RSA-MD5&quot;:{sign:&quot;rsa&quot;,hash:&quot;md5&quot;,id:&quot;3020300c06082a864886f70d020505000410&quot;}}},{}],212:[function(t,n,o){n.exports={&quot;1.3.132.0.10&quot;:&quot;secp256k1&quot;,&quot;1.3.132.0.33&quot;:&quot;p224&quot;,&quot;1.2.840.10045.3.1.1&quot;:&quot;p192&quot;,&quot;1.2.840.10045.3.1.7&quot;:&quot;p256&quot;,&quot;1.3.132.0.34&quot;:&quot;p384&quot;,&quot;1.3.132.0.35&quot;:&quot;p521&quot;}},{}],213:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;create-hash&quot;),u=t(&quot;readable-stream&quot;),l=t(&quot;inherits&quot;),s=t(&quot;./sign&quot;),d=t(&quot;./verify&quot;),f=t(&quot;./algorithms.json&quot;);function h(g){u.Writable.call(this);var y=f[g];if(!y)throw new Error(&quot;Unknown message digest&quot;);this._hashType=y.hash,this._hash=a(y.hash),this._tag=y.id,this._signType=y.sign}function m(g){u.Writable.call(this);var y=f[g];if(!y)throw new Error(&quot;Unknown message digest&quot;);this._hash=a(y.hash),this._tag=y.id,this._signType=y.sign}function p(g){return new h(g)}function b(g){return new m(g)}Object.keys(f).forEach((function(g){f[g].id=i.from(f[g].id,&quot;hex&quot;),f[g.toLowerCase()]=f[g]})),l(h,u.Writable),h.prototype._write=function(g,y,v){this._hash.update(g),v()},h.prototype.update=function(g,y){return typeof g==&quot;string&quot;&amp;&amp;(g=i.from(g,y)),this._hash.update(g),this},h.prototype.sign=function(g,y){this.end();var v=this._hash.digest(),_=s(v,g,this._hashType,this._signType,this._tag);return y?_.toString(y):_},l(m,u.Writable),m.prototype._write=function(g,y,v){this._hash.update(g),v()},m.prototype.update=function(g,y){return typeof g==&quot;string&quot;&amp;&amp;(g=i.from(g,y)),this._hash.update(g),this},m.prototype.verify=function(g,y,v){typeof y==&quot;string&quot;&amp;&amp;(y=i.from(y,v)),this.end();var _=this._hash.digest();return d(y,_,g,this._signType,this._tag)},n.exports={Sign:p,Verify:b,createSign:p,createVerify:b}},{&quot;./algorithms.json&quot;:211,&quot;./sign&quot;:214,&quot;./verify&quot;:215,&quot;create-hash&quot;:386,inherits:440,&quot;readable-stream&quot;:491,&quot;safe-buffer&quot;:494}],214:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;create-hmac&quot;),u=t(&quot;browserify-rsa&quot;),l=t(&quot;elliptic&quot;).ec,s=t(&quot;bn.js&quot;),d=t(&quot;parse-asn1&quot;),f=t(&quot;./curves.json&quot;);function h(g,y,v,_){if((g=i.from(g.toArray())).length&lt;y.byteLength()){var C=i.alloc(y.byteLength()-g.length);g=i.concat([C,g])}var O=v.length,T=(function(H,W){H=(H=m(H,W)).mod(W);var K=i.from(H.toArray());if(K.length&lt;W.byteLength()){var $=i.alloc(W.byteLength()-K.length);K=i.concat([$,K])}return K})(v,y),V=i.alloc(O);V.fill(1);var F=i.alloc(O);return F=a(_,F).update(V).update(i.from([0])).update(g).update(T).digest(),V=a(_,F).update(V).digest(),{k:F=a(_,F).update(V).update(i.from([1])).update(g).update(T).digest(),v:V=a(_,F).update(V).digest()}}function m(g,y){var v=new s(g),_=(g.length&lt;&lt;3)-y.bitLength();return _&gt;0&amp;&amp;v.ishrn(_),v}function p(g,y,v){var _,C;do{for(_=i.alloc(0);8*_.length&lt;g.bitLength();)y.v=a(v,y.k).update(y.v).digest(),_=i.concat([_,y.v]);C=m(_,g),y.k=a(v,y.k).update(y.v).update(i.from([0])).digest(),y.v=a(v,y.k).update(y.v).digest()}while(C.cmp(g)!==-1);return C}function b(g,y,v,_){return g.toRed(s.mont(v)).redPow(y).fromRed().mod(_)}n.exports=function(g,y,v,_,C){var O=d(y);if(O.curve){if(_!==&quot;ecdsa&quot;&amp;&amp;_!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong private key type&quot;);return(function(H,W){var K=f[W.curve.join(&quot;.&quot;)];if(!K)throw new Error(&quot;unknown curve &quot;+W.curve.join(&quot;.&quot;));var $=new l(K).keyFromPrivate(W.privateKey).sign(H);return i.from($.toDER())})(g,O)}if(O.type===&quot;dsa&quot;){if(_!==&quot;dsa&quot;)throw new Error(&quot;wrong private key type&quot;);return(function(H,W,K){for(var $,P=W.params.priv_key,D=W.params.p,E=W.params.q,j=W.params.g,k=new s(0),S=m(H,E).mod(E),N=!1,M=h(P,E,H,K);N===!1;)$=p(E,M,K),k=b(j,$,D,E),(N=$.invm(E).imul(S.add(P.mul(k))).mod(E)).cmpn(0)===0&amp;&amp;(N=!1,k=new s(0));return(function(R,B){R=R.toArray(),B=B.toArray(),128&amp;R[0]&amp;&amp;(R=[0].concat(R)),128&amp;B[0]&amp;&amp;(B=[0].concat(B));var Y=[48,R.length+B.length+4,2,R.length];return Y=Y.concat(R,[2,B.length],B),i.from(Y)})(k,N)})(g,O,v)}if(_!==&quot;rsa&quot;&amp;&amp;_!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong private key type&quot;);g=i.concat([C,g]);for(var T=O.modulus.byteLength(),V=[0,1];g.length+V.length+1&lt;T;)V.push(255);V.push(0);for(var F=-1;++F&lt;g.length;)V.push(g[F]);return u(V,O)},n.exports.getKey=h,n.exports.makeKey=p},{&quot;./curves.json&quot;:212,&quot;bn.js&quot;:186,&quot;browserify-rsa&quot;:209,&quot;create-hmac&quot;:388,elliptic:405,&quot;parse-asn1&quot;:459,&quot;safe-buffer&quot;:494}],215:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;bn.js&quot;),u=t(&quot;elliptic&quot;).ec,l=t(&quot;parse-asn1&quot;),s=t(&quot;./curves.json&quot;);function d(f,h){if(f.cmpn(0)&lt;=0)throw new Error(&quot;invalid sig&quot;);if(f.cmp(h)&gt;=h)throw new Error(&quot;invalid sig&quot;)}n.exports=function(f,h,m,p,b){var g=l(m);if(g.type===&quot;ec&quot;){if(p!==&quot;ecdsa&quot;&amp;&amp;p!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong public key type&quot;);return(function(V,F,H){var W=s[H.data.algorithm.curve.join(&quot;.&quot;)];if(!W)throw new Error(&quot;unknown curve &quot;+H.data.algorithm.curve.join(&quot;.&quot;));var K=new u(W),$=H.data.subjectPrivateKey.data;return K.verify(F,V,$)})(f,h,g)}if(g.type===&quot;dsa&quot;){if(p!==&quot;dsa&quot;)throw new Error(&quot;wrong public key type&quot;);return(function(V,F,H){var W=H.data.p,K=H.data.q,$=H.data.g,P=H.data.pub_key,D=l.signature.decode(V,&quot;der&quot;),E=D.s,j=D.r;d(E,K),d(j,K);var k=a.mont(W),S=E.invm(K);return $.toRed(k).redPow(new a(F).mul(S).mod(K)).fromRed().mul(P.toRed(k).redPow(j.mul(S).mod(K)).fromRed()).mod(W).mod(K).cmp(j)===0})(f,h,g)}if(p!==&quot;rsa&quot;&amp;&amp;p!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong public key type&quot;);h=i.concat([b,h]);for(var y=g.modulus.byteLength(),v=[1],_=0;h.length+v.length+2&lt;y;)v.push(255),_++;v.push(0);for(var C=-1;++C&lt;h.length;)v.push(h[C]);v=i.from(v);var O=a.mont(g.modulus);f=(f=new a(f).toRed(O)).redPow(new a(g.publicExponent)),f=i.from(f.fromRed().toArray());var T=_&lt;8?1:0;for(y=Math.min(f.length,v.length),f.length!==v.length&amp;&amp;(T=1),C=-1;++C&lt;y;)T|=f[C]^v[C];return T===0}},{&quot;./curves.json&quot;:212,&quot;bn.js&quot;:186,elliptic:405,&quot;parse-asn1&quot;:459,&quot;safe-buffer&quot;:494}],216:[function(t,n,o){},{}],217:[function(t,n,o){var i=t(&quot;buffer&quot;),a=i.Buffer;function u(s,d){for(var f in s)d[f]=s[f]}function l(s,d,f){return a(s,d,f)}a.from&amp;&amp;a.alloc&amp;&amp;a.allocUnsafe&amp;&amp;a.allocUnsafeSlow?n.exports=i:(u(i,o),o.Buffer=l),u(a,l),l.from=function(s,d,f){if(typeof s==&quot;number&quot;)throw new TypeError(&quot;Argument must not be a number&quot;);return a(s,d,f)},l.alloc=function(s,d,f){if(typeof s!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);var h=a(s);return d!==void 0?typeof f==&quot;string&quot;?h.fill(d,f):h.fill(d):h.fill(0),h},l.allocUnsafe=function(s){if(typeof s!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return a(s)},l.allocUnsafeSlow=function(s){if(typeof s!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return i.SlowBuffer(s)}},{buffer:220}],218:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=i.isEncoding||function(g){switch((g=&quot;&quot;+g)&amp;&amp;g.toLowerCase()){case&quot;hex&quot;:case&quot;utf8&quot;:case&quot;utf-8&quot;:case&quot;ascii&quot;:case&quot;binary&quot;:case&quot;base64&quot;:case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:case&quot;raw&quot;:return!0;default:return!1}};function u(g){var y;switch(this.encoding=(function(v){var _=(function(C){if(!C)return&quot;utf8&quot;;for(var O;;)switch(C){case&quot;utf8&quot;:case&quot;utf-8&quot;:return&quot;utf8&quot;;case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return&quot;utf16le&quot;;case&quot;latin1&quot;:case&quot;binary&quot;:return&quot;latin1&quot;;case&quot;base64&quot;:case&quot;ascii&quot;:case&quot;hex&quot;:return C;default:if(O)return;C=(&quot;&quot;+C).toLowerCase(),O=!0}})(v);if(typeof _!=&quot;string&quot;&amp;&amp;(i.isEncoding===a||!a(v)))throw new Error(&quot;Unknown encoding: &quot;+v);return _||v})(g),this.encoding){case&quot;utf16le&quot;:this.text=d,this.end=f,y=4;break;case&quot;utf8&quot;:this.fillLast=s,y=4;break;case&quot;base64&quot;:this.text=h,this.end=m,y=3;break;default:return this.write=p,void(this.end=b)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(y)}function l(g){return g&lt;=127?0:g&gt;&gt;5==6?2:g&gt;&gt;4==14?3:g&gt;&gt;3==30?4:g&gt;&gt;6==2?-1:-2}function s(g){var y=this.lastTotal-this.lastNeed,v=(function(_,C,O){if((192&amp;C[0])!=128)return _.lastNeed=0,&quot;�&quot;;if(_.lastNeed&gt;1&amp;&amp;C.length&gt;1){if((192&amp;C[1])!=128)return _.lastNeed=1,&quot;�&quot;;if(_.lastNeed&gt;2&amp;&amp;C.length&gt;2&amp;&amp;(192&amp;C[2])!=128)return _.lastNeed=2,&quot;�&quot;}})(this,g);return v!==void 0?v:this.lastNeed&lt;=g.length?(g.copy(this.lastChar,y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(g.copy(this.lastChar,y,0,g.length),void(this.lastNeed-=g.length))}function d(g,y){if((g.length-y)%2==0){var v=g.toString(&quot;utf16le&quot;,y);if(v){var _=v.charCodeAt(v.length-1);if(_&gt;=55296&amp;&amp;_&lt;=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],v.slice(0,-1)}return v}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString(&quot;utf16le&quot;,y,g.length-1)}function f(g){var y=g&amp;&amp;g.length?this.write(g):&quot;&quot;;if(this.lastNeed){var v=this.lastTotal-this.lastNeed;return y+this.lastChar.toString(&quot;utf16le&quot;,0,v)}return y}function h(g,y){var v=(g.length-y)%3;return v===0?g.toString(&quot;base64&quot;,y):(this.lastNeed=3-v,this.lastTotal=3,v===1?this.lastChar[0]=g[g.length-1]:(this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1]),g.toString(&quot;base64&quot;,y,g.length-v))}function m(g){var y=g&amp;&amp;g.length?this.write(g):&quot;&quot;;return this.lastNeed?y+this.lastChar.toString(&quot;base64&quot;,0,3-this.lastNeed):y}function p(g){return g.toString(this.encoding)}function b(g){return g&amp;&amp;g.length?this.write(g):&quot;&quot;}o.StringDecoder=u,u.prototype.write=function(g){if(g.length===0)return&quot;&quot;;var y,v;if(this.lastNeed){if((y=this.fillLast(g))===void 0)return&quot;&quot;;v=this.lastNeed,this.lastNeed=0}else v=0;return v&lt;g.length?y?y+this.text(g,v):this.text(g,v):y||&quot;&quot;},u.prototype.end=function(g){var y=g&amp;&amp;g.length?this.write(g):&quot;&quot;;return this.lastNeed?y+&quot;�&quot;:y},u.prototype.text=function(g,y){var v=(function(C,O,T){var V=O.length-1;if(V&lt;T)return 0;var F=l(O[V]);return F&gt;=0?(F&gt;0&amp;&amp;(C.lastNeed=F-1),F):--V&lt;T||F===-2?0:(F=l(O[V]))&gt;=0?(F&gt;0&amp;&amp;(C.lastNeed=F-2),F):--V&lt;T||F===-2?0:(F=l(O[V]))&gt;=0?(F&gt;0&amp;&amp;(F===2?F=0:C.lastNeed=F-3),F):0})(this,g,y);if(!this.lastNeed)return g.toString(&quot;utf8&quot;,y);this.lastTotal=v;var _=g.length-(v-this.lastNeed);return g.copy(this.lastChar,0,_),g.toString(&quot;utf8&quot;,y,_)},u.prototype.fillLast=function(g){if(this.lastNeed&lt;=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length}},{&quot;safe-buffer&quot;:217}],219:[function(t,n,o){(function(i){(function(){n.exports=function(a,u){for(var l=Math.min(a.length,u.length),s=new i(l),d=0;d&lt;l;++d)s[d]=a[d]^u[d];return s}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220}],220:[function(t,n,o){(function(i){(function(){var a=t(&quot;base64-js&quot;),u=t(&quot;ieee754&quot;);o.Buffer=s,o.SlowBuffer=function(z){return+z!=z&amp;&amp;(z=0),s.alloc(+z)},o.INSPECT_MAX_BYTES=50;function l(z){if(z&gt;2147483647)throw new RangeError(&#039;The value &quot;&#039;+z+&#039;&quot; is invalid for option &quot;size&quot;&#039;);var I=new Uint8Array(z);return I.__proto__=s.prototype,I}function s(z,I,X){if(typeof z==&quot;number&quot;){if(typeof I==&quot;string&quot;)throw new TypeError(&#039;The &quot;string&quot; argument must be of type string. Received type number&#039;);return h(z)}return d(z,I,X)}function d(z,I,X){if(typeof z==&quot;string&quot;)return(function(Q,te){if(typeof te==&quot;string&quot;&amp;&amp;te!==&quot;&quot;||(te=&quot;utf8&quot;),!s.isEncoding(te))throw new TypeError(&quot;Unknown encoding: &quot;+te);var de=0|b(Q,te),le=l(de),se=le.write(Q,te);return se!==de&amp;&amp;(le=le.slice(0,se)),le})(z,I);if(ArrayBuffer.isView(z))return m(z);if(z==null)throw TypeError(&quot;The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type &quot;+typeof z);if(U(z,ArrayBuffer)||z&amp;&amp;U(z.buffer,ArrayBuffer))return(function(Q,te,de){if(te&lt;0||Q.byteLength&lt;te)throw new RangeError(&#039;&quot;offset&quot; is outside of buffer bounds&#039;);if(Q.byteLength&lt;te+(de||0))throw new RangeError(&#039;&quot;length&quot; is outside of buffer bounds&#039;);var le;return le=te===void 0&amp;&amp;de===void 0?new Uint8Array(Q):de===void 0?new Uint8Array(Q,te):new Uint8Array(Q,te,de),le.__proto__=s.prototype,le})(z,I,X);if(typeof z==&quot;number&quot;)throw new TypeError(&#039;The &quot;value&quot; argument must not be of type number. Received type number&#039;);var re=z.valueOf&amp;&amp;z.valueOf();if(re!=null&amp;&amp;re!==z)return s.from(re,I,X);var ne=(function(Q){if(s.isBuffer(Q)){var te=0|p(Q.length),de=l(te);return de.length===0||Q.copy(de,0,0,te),de}if(Q.length!==void 0)return typeof Q.length!=&quot;number&quot;||ee(Q.length)?l(0):m(Q);if(Q.type===&quot;Buffer&quot;&amp;&amp;Array.isArray(Q.data))return m(Q.data)})(z);if(ne)return ne;if(typeof Symbol&lt;&quot;u&quot;&amp;&amp;Symbol.toPrimitive!=null&amp;&amp;typeof z[Symbol.toPrimitive]==&quot;function&quot;)return s.from(z[Symbol.toPrimitive](&quot;string&quot;),I,X);throw new TypeError(&quot;The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type &quot;+typeof z)}function f(z){if(typeof z!=&quot;number&quot;)throw new TypeError(&#039;&quot;size&quot; argument must be of type number&#039;);if(z&lt;0)throw new RangeError(&#039;The value &quot;&#039;+z+&#039;&quot; is invalid for option &quot;size&quot;&#039;)}function h(z){return f(z),l(z&lt;0?0:0|p(z))}function m(z){for(var I=z.length&lt;0?0:0|p(z.length),X=l(I),re=0;re&lt;I;re+=1)X[re]=255&amp;z[re];return X}function p(z){if(z&gt;=2147483647)throw new RangeError(&quot;Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes&quot;);return 0|z}function b(z,I){if(s.isBuffer(z))return z.length;if(ArrayBuffer.isView(z)||U(z,ArrayBuffer))return z.byteLength;if(typeof z!=&quot;string&quot;)throw new TypeError(&#039;The &quot;string&quot; argument must be one of type string, Buffer, or ArrayBuffer. Received type &#039;+typeof z);var X=z.length,re=arguments.length&gt;2&amp;&amp;arguments[2]===!0;if(!re&amp;&amp;X===0)return 0;for(var ne=!1;;)switch(I){case&quot;ascii&quot;:case&quot;latin1&quot;:case&quot;binary&quot;:return X;case&quot;utf8&quot;:case&quot;utf-8&quot;:return Y(z).length;case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return 2*X;case&quot;hex&quot;:return X&gt;&gt;&gt;1;case&quot;base64&quot;:return Z(z).length;default:if(ne)return re?-1:Y(z).length;I=(&quot;&quot;+I).toLowerCase(),ne=!0}}function g(z,I,X){var re=!1;if((I===void 0||I&lt;0)&amp;&amp;(I=0),I&gt;this.length||((X===void 0||X&gt;this.length)&amp;&amp;(X=this.length),X&lt;=0)||(X&gt;&gt;&gt;=0)&lt;=(I&gt;&gt;&gt;=0))return&quot;&quot;;for(z||(z=&quot;utf8&quot;);;)switch(z){case&quot;hex&quot;:return D(this,I,X);case&quot;utf8&quot;:case&quot;utf-8&quot;:return K(this,I,X);case&quot;ascii&quot;:return $(this,I,X);case&quot;latin1&quot;:case&quot;binary&quot;:return P(this,I,X);case&quot;base64&quot;:return W(this,I,X);case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return E(this,I,X);default:if(re)throw new TypeError(&quot;Unknown encoding: &quot;+z);z=(z+&quot;&quot;).toLowerCase(),re=!0}}function y(z,I,X){var re=z[I];z[I]=z[X],z[X]=re}function v(z,I,X,re,ne){if(z.length===0)return-1;if(typeof X==&quot;string&quot;?(re=X,X=0):X&gt;2147483647?X=2147483647:X&lt;-2147483648&amp;&amp;(X=-2147483648),ee(X=+X)&amp;&amp;(X=ne?0:z.length-1),X&lt;0&amp;&amp;(X=z.length+X),X&gt;=z.length){if(ne)return-1;X=z.length-1}else if(X&lt;0){if(!ne)return-1;X=0}if(typeof I==&quot;string&quot;&amp;&amp;(I=s.from(I,re)),s.isBuffer(I))return I.length===0?-1:_(z,I,X,re,ne);if(typeof I==&quot;number&quot;)return I&amp;=255,typeof Uint8Array.prototype.indexOf==&quot;function&quot;?ne?Uint8Array.prototype.indexOf.call(z,I,X):Uint8Array.prototype.lastIndexOf.call(z,I,X):_(z,[I],X,re,ne);throw new TypeError(&quot;val must be string, number or Buffer&quot;)}function _(z,I,X,re,ne){var Q,te=1,de=z.length,le=I.length;if(re!==void 0&amp;&amp;((re=String(re).toLowerCase())===&quot;ucs2&quot;||re===&quot;ucs-2&quot;||re===&quot;utf16le&quot;||re===&quot;utf-16le&quot;)){if(z.length&lt;2||I.length&lt;2)return-1;te=2,de/=2,le/=2,X/=2}function se(ge,xe){return te===1?ge[xe]:ge.readUInt16BE(xe*te)}if(ne){var fe=-1;for(Q=X;Q&lt;de;Q++)if(se(z,Q)===se(I,fe===-1?0:Q-fe)){if(fe===-1&amp;&amp;(fe=Q),Q-fe+1===le)return fe*te}else fe!==-1&amp;&amp;(Q-=Q-fe),fe=-1}else for(X+le&gt;de&amp;&amp;(X=de-le),Q=X;Q&gt;=0;Q--){for(var he=!0,ue=0;ue&lt;le;ue++)if(se(z,Q+ue)!==se(I,ue)){he=!1;break}if(he)return Q}return-1}function C(z,I,X,re){X=Number(X)||0;var ne=z.length-X;re?(re=Number(re))&gt;ne&amp;&amp;(re=ne):re=ne;var Q=I.length;re&gt;Q/2&amp;&amp;(re=Q/2);for(var te=0;te&lt;re;++te){var de=parseInt(I.substr(2*te,2),16);if(ee(de))return te;z[X+te]=de}return te}function O(z,I,X,re){return ie(Y(I,z.length-X),z,X,re)}function T(z,I,X,re){return ie((function(ne){for(var Q=[],te=0;te&lt;ne.length;++te)Q.push(255&amp;ne.charCodeAt(te));return Q})(I),z,X,re)}function V(z,I,X,re){return T(z,I,X,re)}function F(z,I,X,re){return ie(Z(I),z,X,re)}function H(z,I,X,re){return ie((function(ne,Q){for(var te,de,le,se=[],fe=0;fe&lt;ne.length&amp;&amp;!((Q-=2)&lt;0);++fe)te=ne.charCodeAt(fe),de=te&gt;&gt;8,le=te%256,se.push(le),se.push(de);return se})(I,z.length-X),z,X,re)}function W(z,I,X){return I===0&amp;&amp;X===z.length?a.fromByteArray(z):a.fromByteArray(z.slice(I,X))}function K(z,I,X){X=Math.min(z.length,X);for(var re=[],ne=I;ne&lt;X;){var Q,te,de,le,se=z[ne],fe=null,he=se&gt;239?4:se&gt;223?3:se&gt;191?2:1;if(ne+he&lt;=X)switch(he){case 1:se&lt;128&amp;&amp;(fe=se);break;case 2:(192&amp;(Q=z[ne+1]))==128&amp;&amp;(le=(31&amp;se)&lt;&lt;6|63&amp;Q)&gt;127&amp;&amp;(fe=le);break;case 3:Q=z[ne+1],te=z[ne+2],(192&amp;Q)==128&amp;&amp;(192&amp;te)==128&amp;&amp;(le=(15&amp;se)&lt;&lt;12|(63&amp;Q)&lt;&lt;6|63&amp;te)&gt;2047&amp;&amp;(le&lt;55296||le&gt;57343)&amp;&amp;(fe=le);break;case 4:Q=z[ne+1],te=z[ne+2],de=z[ne+3],(192&amp;Q)==128&amp;&amp;(192&amp;te)==128&amp;&amp;(192&amp;de)==128&amp;&amp;(le=(15&amp;se)&lt;&lt;18|(63&amp;Q)&lt;&lt;12|(63&amp;te)&lt;&lt;6|63&amp;de)&gt;65535&amp;&amp;le&lt;1114112&amp;&amp;(fe=le)}fe===null?(fe=65533,he=1):fe&gt;65535&amp;&amp;(fe-=65536,re.push(fe&gt;&gt;&gt;10&amp;1023|55296),fe=56320|1023&amp;fe),re.push(fe),ne+=he}return(function(ue){var ge=ue.length;if(ge&lt;=4096)return String.fromCharCode.apply(String,ue);for(var xe=&quot;&quot;,pe=0;pe&lt;ge;)xe+=String.fromCharCode.apply(String,ue.slice(pe,pe+=4096));return xe})(re)}o.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=(function(){try{var z=new Uint8Array(1);return z.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},z.foo()===42}catch{return!1}})(),s.TYPED_ARRAY_SUPPORT||typeof console&gt;&quot;u&quot;||typeof console.error!=&quot;function&quot;||console.error(&quot;This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.&quot;),Object.defineProperty(s.prototype,&quot;parent&quot;,{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,&quot;offset&quot;,{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),typeof Symbol&lt;&quot;u&quot;&amp;&amp;Symbol.species!=null&amp;&amp;s[Symbol.species]===s&amp;&amp;Object.defineProperty(s,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),s.poolSize=8192,s.from=function(z,I,X){return d(z,I,X)},s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,s.alloc=function(z,I,X){return(function(re,ne,Q){return f(re),re&lt;=0?l(re):ne!==void 0?typeof Q==&quot;string&quot;?l(re).fill(ne,Q):l(re).fill(ne):l(re)})(z,I,X)},s.allocUnsafe=function(z){return h(z)},s.allocUnsafeSlow=function(z){return h(z)},s.isBuffer=function(z){return z!=null&amp;&amp;z._isBuffer===!0&amp;&amp;z!==s.prototype},s.compare=function(z,I){if(U(z,Uint8Array)&amp;&amp;(z=s.from(z,z.offset,z.byteLength)),U(I,Uint8Array)&amp;&amp;(I=s.from(I,I.offset,I.byteLength)),!s.isBuffer(z)||!s.isBuffer(I))throw new TypeError(&#039;The &quot;buf1&quot;, &quot;buf2&quot; arguments must be one of type Buffer or Uint8Array&#039;);if(z===I)return 0;for(var X=z.length,re=I.length,ne=0,Q=Math.min(X,re);ne&lt;Q;++ne)if(z[ne]!==I[ne]){X=z[ne],re=I[ne];break}return X&lt;re?-1:re&lt;X?1:0},s.isEncoding=function(z){switch(String(z).toLowerCase()){case&quot;hex&quot;:case&quot;utf8&quot;:case&quot;utf-8&quot;:case&quot;ascii&quot;:case&quot;latin1&quot;:case&quot;binary&quot;:case&quot;base64&quot;:case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return!0;default:return!1}},s.concat=function(z,I){if(!Array.isArray(z))throw new TypeError(&#039;&quot;list&quot; argument must be an Array of Buffers&#039;);if(z.length===0)return s.alloc(0);var X;if(I===void 0)for(I=0,X=0;X&lt;z.length;++X)I+=z[X].length;var re=s.allocUnsafe(I),ne=0;for(X=0;X&lt;z.length;++X){var Q=z[X];if(U(Q,Uint8Array)&amp;&amp;(Q=s.from(Q)),!s.isBuffer(Q))throw new TypeError(&#039;&quot;list&quot; argument must be an Array of Buffers&#039;);Q.copy(re,ne),ne+=Q.length}return re},s.byteLength=b,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var z=this.length;if(z%2!=0)throw new RangeError(&quot;Buffer size must be a multiple of 16-bits&quot;);for(var I=0;I&lt;z;I+=2)y(this,I,I+1);return this},s.prototype.swap32=function(){var z=this.length;if(z%4!=0)throw new RangeError(&quot;Buffer size must be a multiple of 32-bits&quot;);for(var I=0;I&lt;z;I+=4)y(this,I,I+3),y(this,I+1,I+2);return this},s.prototype.swap64=function(){var z=this.length;if(z%8!=0)throw new RangeError(&quot;Buffer size must be a multiple of 64-bits&quot;);for(var I=0;I&lt;z;I+=8)y(this,I,I+7),y(this,I+1,I+6),y(this,I+2,I+5),y(this,I+3,I+4);return this},s.prototype.toString=function(){var z=this.length;return z===0?&quot;&quot;:arguments.length===0?K(this,0,z):g.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(z){if(!s.isBuffer(z))throw new TypeError(&quot;Argument must be a Buffer&quot;);return this===z||s.compare(this,z)===0},s.prototype.inspect=function(){var z=&quot;&quot;,I=o.INSPECT_MAX_BYTES;return z=this.toString(&quot;hex&quot;,0,I).replace(/(.{2})/g,&quot;$1 &quot;).trim(),this.length&gt;I&amp;&amp;(z+=&quot; ... &quot;),&quot;&lt;Buffer &quot;+z+&quot;&gt;&quot;},s.prototype.compare=function(z,I,X,re,ne){if(U(z,Uint8Array)&amp;&amp;(z=s.from(z,z.offset,z.byteLength)),!s.isBuffer(z))throw new TypeError(&#039;The &quot;target&quot; argument must be one of type Buffer or Uint8Array. Received type &#039;+typeof z);if(I===void 0&amp;&amp;(I=0),X===void 0&amp;&amp;(X=z?z.length:0),re===void 0&amp;&amp;(re=0),ne===void 0&amp;&amp;(ne=this.length),I&lt;0||X&gt;z.length||re&lt;0||ne&gt;this.length)throw new RangeError(&quot;out of range index&quot;);if(re&gt;=ne&amp;&amp;I&gt;=X)return 0;if(re&gt;=ne)return-1;if(I&gt;=X)return 1;if(this===z)return 0;for(var Q=(ne&gt;&gt;&gt;=0)-(re&gt;&gt;&gt;=0),te=(X&gt;&gt;&gt;=0)-(I&gt;&gt;&gt;=0),de=Math.min(Q,te),le=this.slice(re,ne),se=z.slice(I,X),fe=0;fe&lt;de;++fe)if(le[fe]!==se[fe]){Q=le[fe],te=se[fe];break}return Q&lt;te?-1:te&lt;Q?1:0},s.prototype.includes=function(z,I,X){return this.indexOf(z,I,X)!==-1},s.prototype.indexOf=function(z,I,X){return v(this,z,I,X,!0)},s.prototype.lastIndexOf=function(z,I,X){return v(this,z,I,X,!1)},s.prototype.write=function(z,I,X,re){if(I===void 0)re=&quot;utf8&quot;,X=this.length,I=0;else if(X===void 0&amp;&amp;typeof I==&quot;string&quot;)re=I,X=this.length,I=0;else{if(!isFinite(I))throw new Error(&quot;Buffer.write(string, encoding, offset[, length]) is no longer supported&quot;);I&gt;&gt;&gt;=0,isFinite(X)?(X&gt;&gt;&gt;=0,re===void 0&amp;&amp;(re=&quot;utf8&quot;)):(re=X,X=void 0)}var ne=this.length-I;if((X===void 0||X&gt;ne)&amp;&amp;(X=ne),z.length&gt;0&amp;&amp;(X&lt;0||I&lt;0)||I&gt;this.length)throw new RangeError(&quot;Attempt to write outside buffer bounds&quot;);re||(re=&quot;utf8&quot;);for(var Q=!1;;)switch(re){case&quot;hex&quot;:return C(this,z,I,X);case&quot;utf8&quot;:case&quot;utf-8&quot;:return O(this,z,I,X);case&quot;ascii&quot;:return T(this,z,I,X);case&quot;latin1&quot;:case&quot;binary&quot;:return V(this,z,I,X);case&quot;base64&quot;:return F(this,z,I,X);case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return H(this,z,I,X);default:if(Q)throw new TypeError(&quot;Unknown encoding: &quot;+re);re=(&quot;&quot;+re).toLowerCase(),Q=!0}},s.prototype.toJSON=function(){return{type:&quot;Buffer&quot;,data:Array.prototype.slice.call(this._arr||this,0)}};function $(z,I,X){var re=&quot;&quot;;X=Math.min(z.length,X);for(var ne=I;ne&lt;X;++ne)re+=String.fromCharCode(127&amp;z[ne]);return re}function P(z,I,X){var re=&quot;&quot;;X=Math.min(z.length,X);for(var ne=I;ne&lt;X;++ne)re+=String.fromCharCode(z[ne]);return re}function D(z,I,X){var re=z.length;(!I||I&lt;0)&amp;&amp;(I=0),(!X||X&lt;0||X&gt;re)&amp;&amp;(X=re);for(var ne=&quot;&quot;,Q=I;Q&lt;X;++Q)ne+=B(z[Q]);return ne}function E(z,I,X){for(var re=z.slice(I,X),ne=&quot;&quot;,Q=0;Q&lt;re.length;Q+=2)ne+=String.fromCharCode(re[Q]+256*re[Q+1]);return ne}function j(z,I,X){if(z%1!=0||z&lt;0)throw new RangeError(&quot;offset is not uint&quot;);if(z+I&gt;X)throw new RangeError(&quot;Trying to access beyond buffer length&quot;)}function k(z,I,X,re,ne,Q){if(!s.isBuffer(z))throw new TypeError(&#039;&quot;buffer&quot; argument must be a Buffer instance&#039;);if(I&gt;ne||I&lt;Q)throw new RangeError(&#039;&quot;value&quot; argument is out of bounds&#039;);if(X+re&gt;z.length)throw new RangeError(&quot;Index out of range&quot;)}function S(z,I,X,re,ne,Q){if(X+re&gt;z.length)throw new RangeError(&quot;Index out of range&quot;);if(X&lt;0)throw new RangeError(&quot;Index out of range&quot;)}function N(z,I,X,re,ne){return I=+I,X&gt;&gt;&gt;=0,ne||S(z,0,X,4),u.write(z,I,X,re,23,4),X+4}function M(z,I,X,re,ne){return I=+I,X&gt;&gt;&gt;=0,ne||S(z,0,X,8),u.write(z,I,X,re,52,8),X+8}s.prototype.slice=function(z,I){var X=this.length;(z=~~z)&lt;0?(z+=X)&lt;0&amp;&amp;(z=0):z&gt;X&amp;&amp;(z=X),(I=I===void 0?X:~~I)&lt;0?(I+=X)&lt;0&amp;&amp;(I=0):I&gt;X&amp;&amp;(I=X),I&lt;z&amp;&amp;(I=z);var re=this.subarray(z,I);return re.__proto__=s.prototype,re},s.prototype.readUIntLE=function(z,I,X){z&gt;&gt;&gt;=0,I&gt;&gt;&gt;=0,X||j(z,I,this.length);for(var re=this[z],ne=1,Q=0;++Q&lt;I&amp;&amp;(ne*=256);)re+=this[z+Q]*ne;return re},s.prototype.readUIntBE=function(z,I,X){z&gt;&gt;&gt;=0,I&gt;&gt;&gt;=0,X||j(z,I,this.length);for(var re=this[z+--I],ne=1;I&gt;0&amp;&amp;(ne*=256);)re+=this[z+--I]*ne;return re},s.prototype.readUInt8=function(z,I){return z&gt;&gt;&gt;=0,I||j(z,1,this.length),this[z]},s.prototype.readUInt16LE=function(z,I){return z&gt;&gt;&gt;=0,I||j(z,2,this.length),this[z]|this[z+1]&lt;&lt;8},s.prototype.readUInt16BE=function(z,I){return z&gt;&gt;&gt;=0,I||j(z,2,this.length),this[z]&lt;&lt;8|this[z+1]},s.prototype.readUInt32LE=function(z,I){return z&gt;&gt;&gt;=0,I||j(z,4,this.length),(this[z]|this[z+1]&lt;&lt;8|this[z+2]&lt;&lt;16)+16777216*this[z+3]},s.prototype.readUInt32BE=function(z,I){return z&gt;&gt;&gt;=0,I||j(z,4,this.length),16777216*this[z]+(this[z+1]&lt;&lt;16|this[z+2]&lt;&lt;8|this[z+3])},s.prototype.readIntLE=function(z,I,X){z&gt;&gt;&gt;=0,I&gt;&gt;&gt;=0,X||j(z,I,this.length);for(var re=this[z],ne=1,Q=0;++Q&lt;I&amp;&amp;(ne*=256);)re+=this[z+Q]*ne;return re&gt;=(ne*=128)&amp;&amp;(re-=Math.pow(2,8*I)),re},s.prototype.readIntBE=function(z,I,X){z&gt;&gt;&gt;=0,I&gt;&gt;&gt;=0,X||j(z,I,this.length);for(var re=I,ne=1,Q=this[z+--re];re&gt;0&amp;&amp;(ne*=256);)Q+=this[z+--re]*ne;return Q&gt;=(ne*=128)&amp;&amp;(Q-=Math.pow(2,8*I)),Q},s.prototype.readInt8=function(z,I){return z&gt;&gt;&gt;=0,I||j(z,1,this.length),128&amp;this[z]?-1*(255-this[z]+1):this[z]},s.prototype.readInt16LE=function(z,I){z&gt;&gt;&gt;=0,I||j(z,2,this.length);var X=this[z]|this[z+1]&lt;&lt;8;return 32768&amp;X?4294901760|X:X},s.prototype.readInt16BE=function(z,I){z&gt;&gt;&gt;=0,I||j(z,2,this.length);var X=this[z+1]|this[z]&lt;&lt;8;return 32768&amp;X?4294901760|X:X},s.prototype.readInt32LE=function(z,I){return z&gt;&gt;&gt;=0,I||j(z,4,this.length),this[z]|this[z+1]&lt;&lt;8|this[z+2]&lt;&lt;16|this[z+3]&lt;&lt;24},s.prototype.readInt32BE=function(z,I){return z&gt;&gt;&gt;=0,I||j(z,4,this.length),this[z]&lt;&lt;24|this[z+1]&lt;&lt;16|this[z+2]&lt;&lt;8|this[z+3]},s.prototype.readFloatLE=function(z,I){return z&gt;&gt;&gt;=0,I||j(z,4,this.length),u.read(this,z,!0,23,4)},s.prototype.readFloatBE=function(z,I){return z&gt;&gt;&gt;=0,I||j(z,4,this.length),u.read(this,z,!1,23,4)},s.prototype.readDoubleLE=function(z,I){return z&gt;&gt;&gt;=0,I||j(z,8,this.length),u.read(this,z,!0,52,8)},s.prototype.readDoubleBE=function(z,I){return z&gt;&gt;&gt;=0,I||j(z,8,this.length),u.read(this,z,!1,52,8)},s.prototype.writeUIntLE=function(z,I,X,re){z=+z,I&gt;&gt;&gt;=0,X&gt;&gt;&gt;=0,re||k(this,z,I,X,Math.pow(2,8*X)-1,0);var ne=1,Q=0;for(this[I]=255&amp;z;++Q&lt;X&amp;&amp;(ne*=256);)this[I+Q]=z/ne&amp;255;return I+X},s.prototype.writeUIntBE=function(z,I,X,re){z=+z,I&gt;&gt;&gt;=0,X&gt;&gt;&gt;=0,re||k(this,z,I,X,Math.pow(2,8*X)-1,0);var ne=X-1,Q=1;for(this[I+ne]=255&amp;z;--ne&gt;=0&amp;&amp;(Q*=256);)this[I+ne]=z/Q&amp;255;return I+X},s.prototype.writeUInt8=function(z,I,X){return z=+z,I&gt;&gt;&gt;=0,X||k(this,z,I,1,255,0),this[I]=255&amp;z,I+1},s.prototype.writeUInt16LE=function(z,I,X){return z=+z,I&gt;&gt;&gt;=0,X||k(this,z,I,2,65535,0),this[I]=255&amp;z,this[I+1]=z&gt;&gt;&gt;8,I+2},s.prototype.writeUInt16BE=function(z,I,X){return z=+z,I&gt;&gt;&gt;=0,X||k(this,z,I,2,65535,0),this[I]=z&gt;&gt;&gt;8,this[I+1]=255&amp;z,I+2},s.prototype.writeUInt32LE=function(z,I,X){return z=+z,I&gt;&gt;&gt;=0,X||k(this,z,I,4,4294967295,0),this[I+3]=z&gt;&gt;&gt;24,this[I+2]=z&gt;&gt;&gt;16,this[I+1]=z&gt;&gt;&gt;8,this[I]=255&amp;z,I+4},s.prototype.writeUInt32BE=function(z,I,X){return z=+z,I&gt;&gt;&gt;=0,X||k(this,z,I,4,4294967295,0),this[I]=z&gt;&gt;&gt;24,this[I+1]=z&gt;&gt;&gt;16,this[I+2]=z&gt;&gt;&gt;8,this[I+3]=255&amp;z,I+4},s.prototype.writeIntLE=function(z,I,X,re){if(z=+z,I&gt;&gt;&gt;=0,!re){var ne=Math.pow(2,8*X-1);k(this,z,I,X,ne-1,-ne)}var Q=0,te=1,de=0;for(this[I]=255&amp;z;++Q&lt;X&amp;&amp;(te*=256);)z&lt;0&amp;&amp;de===0&amp;&amp;this[I+Q-1]!==0&amp;&amp;(de=1),this[I+Q]=(z/te&gt;&gt;0)-de&amp;255;return I+X},s.prototype.writeIntBE=function(z,I,X,re){if(z=+z,I&gt;&gt;&gt;=0,!re){var ne=Math.pow(2,8*X-1);k(this,z,I,X,ne-1,-ne)}var Q=X-1,te=1,de=0;for(this[I+Q]=255&amp;z;--Q&gt;=0&amp;&amp;(te*=256);)z&lt;0&amp;&amp;de===0&amp;&amp;this[I+Q+1]!==0&amp;&amp;(de=1),this[I+Q]=(z/te&gt;&gt;0)-de&amp;255;return I+X},s.prototype.writeInt8=function(z,I,X){return z=+z,I&gt;&gt;&gt;=0,X||k(this,z,I,1,127,-128),z&lt;0&amp;&amp;(z=255+z+1),this[I]=255&amp;z,I+1},s.prototype.writeInt16LE=function(z,I,X){return z=+z,I&gt;&gt;&gt;=0,X||k(this,z,I,2,32767,-32768),this[I]=255&amp;z,this[I+1]=z&gt;&gt;&gt;8,I+2},s.prototype.writeInt16BE=function(z,I,X){return z=+z,I&gt;&gt;&gt;=0,X||k(this,z,I,2,32767,-32768),this[I]=z&gt;&gt;&gt;8,this[I+1]=255&amp;z,I+2},s.prototype.writeInt32LE=function(z,I,X){return z=+z,I&gt;&gt;&gt;=0,X||k(this,z,I,4,2147483647,-2147483648),this[I]=255&amp;z,this[I+1]=z&gt;&gt;&gt;8,this[I+2]=z&gt;&gt;&gt;16,this[I+3]=z&gt;&gt;&gt;24,I+4},s.prototype.writeInt32BE=function(z,I,X){return z=+z,I&gt;&gt;&gt;=0,X||k(this,z,I,4,2147483647,-2147483648),z&lt;0&amp;&amp;(z=4294967295+z+1),this[I]=z&gt;&gt;&gt;24,this[I+1]=z&gt;&gt;&gt;16,this[I+2]=z&gt;&gt;&gt;8,this[I+3]=255&amp;z,I+4},s.prototype.writeFloatLE=function(z,I,X){return N(this,z,I,!0,X)},s.prototype.writeFloatBE=function(z,I,X){return N(this,z,I,!1,X)},s.prototype.writeDoubleLE=function(z,I,X){return M(this,z,I,!0,X)},s.prototype.writeDoubleBE=function(z,I,X){return M(this,z,I,!1,X)},s.prototype.copy=function(z,I,X,re){if(!s.isBuffer(z))throw new TypeError(&quot;argument should be a Buffer&quot;);if(X||(X=0),re||re===0||(re=this.length),I&gt;=z.length&amp;&amp;(I=z.length),I||(I=0),re&gt;0&amp;&amp;re&lt;X&amp;&amp;(re=X),re===X||z.length===0||this.length===0)return 0;if(I&lt;0)throw new RangeError(&quot;targetStart out of bounds&quot;);if(X&lt;0||X&gt;=this.length)throw new RangeError(&quot;Index out of range&quot;);if(re&lt;0)throw new RangeError(&quot;sourceEnd out of bounds&quot;);re&gt;this.length&amp;&amp;(re=this.length),z.length-I&lt;re-X&amp;&amp;(re=z.length-I+X);var ne=re-X;if(this===z&amp;&amp;typeof Uint8Array.prototype.copyWithin==&quot;function&quot;)this.copyWithin(I,X,re);else if(this===z&amp;&amp;X&lt;I&amp;&amp;I&lt;re)for(var Q=ne-1;Q&gt;=0;--Q)z[Q+I]=this[Q+X];else Uint8Array.prototype.set.call(z,this.subarray(X,re),I);return ne},s.prototype.fill=function(z,I,X,re){if(typeof z==&quot;string&quot;){if(typeof I==&quot;string&quot;?(re=I,I=0,X=this.length):typeof X==&quot;string&quot;&amp;&amp;(re=X,X=this.length),re!==void 0&amp;&amp;typeof re!=&quot;string&quot;)throw new TypeError(&quot;encoding must be a string&quot;);if(typeof re==&quot;string&quot;&amp;&amp;!s.isEncoding(re))throw new TypeError(&quot;Unknown encoding: &quot;+re);if(z.length===1){var ne=z.charCodeAt(0);(re===&quot;utf8&quot;&amp;&amp;ne&lt;128||re===&quot;latin1&quot;)&amp;&amp;(z=ne)}}else typeof z==&quot;number&quot;&amp;&amp;(z&amp;=255);if(I&lt;0||this.length&lt;I||this.length&lt;X)throw new RangeError(&quot;Out of range index&quot;);if(X&lt;=I)return this;var Q;if(I&gt;&gt;&gt;=0,X=X===void 0?this.length:X&gt;&gt;&gt;0,z||(z=0),typeof z==&quot;number&quot;)for(Q=I;Q&lt;X;++Q)this[Q]=z;else{var te=s.isBuffer(z)?z:s.from(z,re),de=te.length;if(de===0)throw new TypeError(&#039;The value &quot;&#039;+z+&#039;&quot; is invalid for argument &quot;value&quot;&#039;);for(Q=0;Q&lt;X-I;++Q)this[Q+I]=te[Q%de]}return this};var R=/[^+/0-9A-Za-z-_]/g;function B(z){return z&lt;16?&quot;0&quot;+z.toString(16):z.toString(16)}function Y(z,I){var X;I=I||1/0;for(var re=z.length,ne=null,Q=[],te=0;te&lt;re;++te){if((X=z.charCodeAt(te))&gt;55295&amp;&amp;X&lt;57344){if(!ne){if(X&gt;56319){(I-=3)&gt;-1&amp;&amp;Q.push(239,191,189);continue}if(te+1===re){(I-=3)&gt;-1&amp;&amp;Q.push(239,191,189);continue}ne=X;continue}if(X&lt;56320){(I-=3)&gt;-1&amp;&amp;Q.push(239,191,189),ne=X;continue}X=65536+(ne-55296&lt;&lt;10|X-56320)}else ne&amp;&amp;(I-=3)&gt;-1&amp;&amp;Q.push(239,191,189);if(ne=null,X&lt;128){if((I-=1)&lt;0)break;Q.push(X)}else if(X&lt;2048){if((I-=2)&lt;0)break;Q.push(X&gt;&gt;6|192,63&amp;X|128)}else if(X&lt;65536){if((I-=3)&lt;0)break;Q.push(X&gt;&gt;12|224,X&gt;&gt;6&amp;63|128,63&amp;X|128)}else{if(!(X&lt;1114112))throw new Error(&quot;Invalid code point&quot;);if((I-=4)&lt;0)break;Q.push(X&gt;&gt;18|240,X&gt;&gt;12&amp;63|128,X&gt;&gt;6&amp;63|128,63&amp;X|128)}}return Q}function Z(z){return a.toByteArray((function(I){if((I=(I=I.split(&quot;=&quot;)[0]).trim().replace(R,&quot;&quot;)).length&lt;2)return&quot;&quot;;for(;I.length%4!=0;)I+=&quot;=&quot;;return I})(z))}function ie(z,I,X,re){for(var ne=0;ne&lt;re&amp;&amp;!(ne+X&gt;=I.length||ne&gt;=z.length);++ne)I[ne+X]=z[ne];return ne}function U(z,I){return z instanceof I||z!=null&amp;&amp;z.constructor!=null&amp;&amp;z.constructor.name!=null&amp;&amp;z.constructor.name===I.name}function ee(z){return z!=z}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;base64-js&quot;:185,buffer:220,ieee754:439}],221:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;stream&quot;).Transform,u=t(&quot;string_decoder&quot;).StringDecoder;function l(s){a.call(this),this.hashMode=typeof s==&quot;string&quot;,this.hashMode?this[s]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&amp;&amp;(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}t(&quot;inherits&quot;)(l,a),l.prototype.update=function(s,d,f){typeof s==&quot;string&quot;&amp;&amp;(s=i.from(s,d));var h=this._update(s);return this.hashMode?this:(f&amp;&amp;(h=this._toString(h,f)),h)},l.prototype.setAutoPadding=function(){},l.prototype.getAuthTag=function(){throw new Error(&quot;trying to get auth tag in unsupported state&quot;)},l.prototype.setAuthTag=function(){throw new Error(&quot;trying to set auth tag in unsupported state&quot;)},l.prototype.setAAD=function(){throw new Error(&quot;trying to set aad in unsupported state&quot;)},l.prototype._transform=function(s,d,f){var h;try{this.hashMode?this._update(s):this.push(this._update(s))}catch(m){h=m}finally{f(h)}},l.prototype._flush=function(s){var d;try{this.push(this.__final())}catch(f){d=f}s(d)},l.prototype._finalOrDigest=function(s){var d=this.__final()||i.alloc(0);return s&amp;&amp;(d=this._toString(d,s,!0)),d},l.prototype._toString=function(s,d,f){if(this._decoder||(this._decoder=new u(d),this._encoding=d),this._encoding!==d)throw new Error(&quot;can&#039;t switch encodings&quot;);var h=this._decoder.write(s);return f&amp;&amp;(h+=this._decoder.end()),h},n.exports=l},{inherits:440,&quot;safe-buffer&quot;:494,stream:505,string_decoder:218}],222:[function(t,n,o){var i=t(&quot;../internals/is-callable&quot;),a=t(&quot;../internals/try-to-string&quot;),u=TypeError;n.exports=function(l){if(i(l))return l;throw new u(a(l)+&quot; is not a function&quot;)}},{&quot;../internals/is-callable&quot;:285,&quot;../internals/try-to-string&quot;:349}],223:[function(t,n,o){var i=t(&quot;../internals/is-constructor&quot;),a=t(&quot;../internals/try-to-string&quot;),u=TypeError;n.exports=function(l){if(i(l))return l;throw new u(a(l)+&quot; is not a constructor&quot;)}},{&quot;../internals/is-constructor&quot;:286,&quot;../internals/try-to-string&quot;:349}],224:[function(t,n,o){var i=t(&quot;../internals/is-callable&quot;),a=String,u=TypeError;n.exports=function(l){if(typeof l==&quot;object&quot;||i(l))return l;throw new u(&quot;Can&#039;t set &quot;+a(l)+&quot; as a prototype&quot;)}},{&quot;../internals/is-callable&quot;:285}],225:[function(t,n,o){var i=t(&quot;../internals/well-known-symbol&quot;),a=t(&quot;../internals/object-create&quot;),u=t(&quot;../internals/object-define-property&quot;).f,l=i(&quot;unscopables&quot;),s=Array.prototype;s[l]===void 0&amp;&amp;u(s,l,{configurable:!0,value:a(null)}),n.exports=function(d){s[l][d]=!0}},{&quot;../internals/object-create&quot;:306,&quot;../internals/object-define-property&quot;:308,&quot;../internals/well-known-symbol&quot;:357}],226:[function(t,n,o){var i=t(&quot;../internals/object-is-prototype-of&quot;),a=TypeError;n.exports=function(u,l){if(i(l,u))return u;throw new a(&quot;Incorrect invocation&quot;)}},{&quot;../internals/object-is-prototype-of&quot;:314}],227:[function(t,n,o){var i=t(&quot;../internals/is-object&quot;),a=String,u=TypeError;n.exports=function(l){if(i(l))return l;throw new u(a(l)+&quot; is not an object&quot;)}},{&quot;../internals/is-object&quot;:289}],228:[function(t,n,o){var i=t(&quot;../internals/to-indexed-object&quot;),a=t(&quot;../internals/to-absolute-index&quot;),u=t(&quot;../internals/length-of-array-like&quot;),l=function(s){return function(d,f,h){var m,p=i(d),b=u(p),g=a(h,b);if(s&amp;&amp;f!=f){for(;b&gt;g;)if((m=p[g++])!=m)return!0}else for(;b&gt;g;g++)if((s||g in p)&amp;&amp;p[g]===f)return s||g||0;return!s&amp;&amp;-1}};n.exports={includes:l(!0),indexOf:l(!1)}},{&quot;../internals/length-of-array-like&quot;:299,&quot;../internals/to-absolute-index&quot;:340,&quot;../internals/to-indexed-object&quot;:341}],229:[function(t,n,o){var i=t(&quot;../internals/function-bind-context&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/indexed-object&quot;),l=t(&quot;../internals/to-object&quot;),s=t(&quot;../internals/length-of-array-like&quot;),d=t(&quot;../internals/array-species-create&quot;),f=a([].push),h=function(m){var p=m===1,b=m===2,g=m===3,y=m===4,v=m===6,_=m===7,C=m===5||v;return function(O,T,V,F){for(var H,W,K=l(O),$=u(K),P=i(T,V),D=s($),E=0,j=F||d,k=p?j(O,D):b||_?j(O,0):void 0;D&gt;E;E++)if((C||E in $)&amp;&amp;(W=P(H=$[E],E,K),m))if(p)k[E]=W;else if(W)switch(m){case 3:return!0;case 5:return H;case 6:return E;case 2:f(k,H)}else switch(m){case 4:return!1;case 7:f(k,H)}return v?-1:g||y?y:k}};n.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterReject:h(7)}},{&quot;../internals/array-species-create&quot;:233,&quot;../internals/function-bind-context&quot;:262,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/indexed-object&quot;:280,&quot;../internals/length-of-array-like&quot;:299,&quot;../internals/to-object&quot;:344}],230:[function(t,n,o){var i=t(&quot;../internals/to-absolute-index&quot;),a=t(&quot;../internals/length-of-array-like&quot;),u=t(&quot;../internals/create-property&quot;),l=Array,s=Math.max;n.exports=function(d,f,h){for(var m=a(d),p=i(f,m),b=i(h===void 0?m:h,m),g=l(s(b-p,0)),y=0;p&lt;b;p++,y++)u(g,y,d[p]);return g.length=y,g}},{&quot;../internals/create-property&quot;:243,&quot;../internals/length-of-array-like&quot;:299,&quot;../internals/to-absolute-index&quot;:340}],231:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;);n.exports=i([].slice)},{&quot;../internals/function-uncurry-this&quot;:268}],232:[function(t,n,o){var i=t(&quot;../internals/is-array&quot;),a=t(&quot;../internals/is-constructor&quot;),u=t(&quot;../internals/is-object&quot;),l=t(&quot;../internals/well-known-symbol&quot;)(&quot;species&quot;),s=Array;n.exports=function(d){var f;return i(d)&amp;&amp;(f=d.constructor,(a(f)&amp;&amp;(f===s||i(f.prototype))||u(f)&amp;&amp;(f=f[l])===null)&amp;&amp;(f=void 0)),f===void 0?s:f}},{&quot;../internals/is-array&quot;:284,&quot;../internals/is-constructor&quot;:286,&quot;../internals/is-object&quot;:289,&quot;../internals/well-known-symbol&quot;:357}],233:[function(t,n,o){var i=t(&quot;../internals/array-species-constructor&quot;);n.exports=function(a,u){return new(i(a))(u===0?0:u)}},{&quot;../internals/array-species-constructor&quot;:232}],234:[function(t,n,o){var i=t(&quot;../internals/well-known-symbol&quot;)(&quot;iterator&quot;),a=!1;try{var u=0,l={next:function(){return{done:!!u++}},return:function(){a=!0}};l[i]=function(){return this},Array.from(l,(function(){throw 2}))}catch{}n.exports=function(s,d){try{if(!d&amp;&amp;!a)return!1}catch{return!1}var f=!1;try{var h={};h[i]=function(){return{next:function(){return{done:f=!0}}}},s(h)}catch{}return f}},{&quot;../internals/well-known-symbol&quot;:357}],235:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=i({}.toString),u=i(&quot;&quot;.slice);n.exports=function(l){return u(a(l),8,-1)}},{&quot;../internals/function-uncurry-this&quot;:268}],236:[function(t,n,o){var i=t(&quot;../internals/to-string-tag-support&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/classof-raw&quot;),l=t(&quot;../internals/well-known-symbol&quot;)(&quot;toStringTag&quot;),s=Object,d=u((function(){return arguments})())===&quot;Arguments&quot;;n.exports=i?u:function(f){var h,m,p;return f===void 0?&quot;Undefined&quot;:f===null?&quot;Null&quot;:typeof(m=(function(b,g){try{return b[g]}catch{}})(h=s(f),l))==&quot;string&quot;?m:d?u(h):(p=u(h))===&quot;Object&quot;&amp;&amp;a(h.callee)?&quot;Arguments&quot;:p}},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/is-callable&quot;:285,&quot;../internals/to-string-tag-support&quot;:347,&quot;../internals/well-known-symbol&quot;:357}],237:[function(t,n,o){var i=t(&quot;../internals/has-own-property&quot;),a=t(&quot;../internals/own-keys&quot;),u=t(&quot;../internals/object-get-own-property-descriptor&quot;),l=t(&quot;../internals/object-define-property&quot;);n.exports=function(s,d,f){for(var h=a(d),m=l.f,p=u.f,b=0;b&lt;h.length;b++){var g=h[b];i(s,g)||f&amp;&amp;i(f,g)||m(s,g,p(d,g))}}},{&quot;../internals/has-own-property&quot;:275,&quot;../internals/object-define-property&quot;:308,&quot;../internals/object-get-own-property-descriptor&quot;:309,&quot;../internals/own-keys&quot;:321}],238:[function(t,n,o){var i=t(&quot;../internals/well-known-symbol&quot;)(&quot;match&quot;);n.exports=function(a){var u=/./;try{&quot;/./&quot;[a](u)}catch{try{return u[i]=!1,&quot;/./&quot;[a](u)}catch{}}return!1}},{&quot;../internals/well-known-symbol&quot;:357}],239:[function(t,n,o){var i=t(&quot;../internals/fails&quot;);n.exports=!i((function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype}))},{&quot;../internals/fails&quot;:260}],240:[function(t,n,o){n.exports=function(i,a){return{value:i,done:a}}},{}],241:[function(t,n,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/object-define-property&quot;),u=t(&quot;../internals/create-property-descriptor&quot;);n.exports=i?function(l,s,d){return a.f(l,s,u(1,d))}:function(l,s,d){return l[s]=d,l}},{&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/descriptors&quot;:247,&quot;../internals/object-define-property&quot;:308}],242:[function(t,n,o){n.exports=function(i,a){return{enumerable:!(1&amp;i),configurable:!(2&amp;i),writable:!(4&amp;i),value:a}}},{}],243:[function(t,n,o){var i=t(&quot;../internals/to-property-key&quot;),a=t(&quot;../internals/object-define-property&quot;),u=t(&quot;../internals/create-property-descriptor&quot;);n.exports=function(l,s,d){var f=i(s);f in l?a.f(l,f,u(0,d)):l[f]=d}},{&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/object-define-property&quot;:308,&quot;../internals/to-property-key&quot;:346}],244:[function(t,n,o){var i=t(&quot;../internals/make-built-in&quot;),a=t(&quot;../internals/object-define-property&quot;);n.exports=function(u,l,s){return s.get&amp;&amp;i(s.get,l,{getter:!0}),s.set&amp;&amp;i(s.set,l,{setter:!0}),a.f(u,l,s)}},{&quot;../internals/make-built-in&quot;:300,&quot;../internals/object-define-property&quot;:308}],245:[function(t,n,o){var i=t(&quot;../internals/is-callable&quot;),a=t(&quot;../internals/object-define-property&quot;),u=t(&quot;../internals/make-built-in&quot;),l=t(&quot;../internals/define-global-property&quot;);n.exports=function(s,d,f,h){h||(h={});var m=h.enumerable,p=h.name!==void 0?h.name:d;if(i(f)&amp;&amp;u(f,p,h),h.global)m?s[d]=f:l(d,f);else{try{h.unsafe?s[d]&amp;&amp;(m=!0):delete s[d]}catch{}m?s[d]=f:a.f(s,d,{value:f,enumerable:!1,configurable:!h.nonConfigurable,writable:!h.nonWritable})}return s}},{&quot;../internals/define-global-property&quot;:246,&quot;../internals/is-callable&quot;:285,&quot;../internals/make-built-in&quot;:300,&quot;../internals/object-define-property&quot;:308}],246:[function(t,n,o){var i=t(&quot;../internals/global&quot;),a=Object.defineProperty;n.exports=function(u,l){try{a(i,u,{value:l,configurable:!0,writable:!0})}catch{i[u]=l}return l}},{&quot;../internals/global&quot;:274}],247:[function(t,n,o){var i=t(&quot;../internals/fails&quot;);n.exports=!i((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}))},{&quot;../internals/fails&quot;:260}],248:[function(t,n,o){var i=typeof document==&quot;object&quot;&amp;&amp;document.all,a=i===void 0&amp;&amp;i!==void 0;n.exports={all:i,IS_HTMLDDA:a}},{}],249:[function(t,n,o){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/is-object&quot;),u=i.document,l=a(u)&amp;&amp;a(u.createElement);n.exports=function(s){return l?u.createElement(s):{}}},{&quot;../internals/global&quot;:274,&quot;../internals/is-object&quot;:289}],250:[function(t,n,o){var i=t(&quot;../internals/engine-is-deno&quot;),a=t(&quot;../internals/engine-is-node&quot;);n.exports=!i&amp;&amp;!a&amp;&amp;typeof window==&quot;object&quot;&amp;&amp;typeof document==&quot;object&quot;},{&quot;../internals/engine-is-deno&quot;:251,&quot;../internals/engine-is-node&quot;:254}],251:[function(t,n,o){n.exports=typeof Deno==&quot;object&quot;&amp;&amp;Deno&amp;&amp;typeof Deno.version==&quot;object&quot;},{}],252:[function(t,n,o){var i=t(&quot;../internals/engine-user-agent&quot;);n.exports=/ipad|iphone|ipod/i.test(i)&amp;&amp;typeof Pebble&lt;&quot;u&quot;},{&quot;../internals/engine-user-agent&quot;:256}],253:[function(t,n,o){var i=t(&quot;../internals/engine-user-agent&quot;);n.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(i)},{&quot;../internals/engine-user-agent&quot;:256}],254:[function(t,n,o){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/classof-raw&quot;);n.exports=a(i.process)===&quot;process&quot;},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/global&quot;:274}],255:[function(t,n,o){var i=t(&quot;../internals/engine-user-agent&quot;);n.exports=/web0s(?!.*chrome)/i.test(i)},{&quot;../internals/engine-user-agent&quot;:256}],256:[function(t,n,o){n.exports=typeof navigator&lt;&quot;u&quot;&amp;&amp;String(navigator.userAgent)||&quot;&quot;},{}],257:[function(t,n,o){var i,a,u=t(&quot;../internals/global&quot;),l=t(&quot;../internals/engine-user-agent&quot;),s=u.process,d=u.Deno,f=s&amp;&amp;s.versions||d&amp;&amp;d.version,h=f&amp;&amp;f.v8;h&amp;&amp;(a=(i=h.split(&quot;.&quot;))[0]&gt;0&amp;&amp;i[0]&lt;4?1:+(i[0]+i[1])),!a&amp;&amp;l&amp;&amp;(!(i=l.match(/Edge\/(\d+)/))||i[1]&gt;=74)&amp;&amp;(i=l.match(/Chrome\/(\d+)/))&amp;&amp;(a=+i[1]),n.exports=a},{&quot;../internals/engine-user-agent&quot;:256,&quot;../internals/global&quot;:274}],258:[function(t,n,o){n.exports=[&quot;constructor&quot;,&quot;hasOwnProperty&quot;,&quot;isPrototypeOf&quot;,&quot;propertyIsEnumerable&quot;,&quot;toLocaleString&quot;,&quot;toString&quot;,&quot;valueOf&quot;]},{}],259:[function(t,n,o){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/object-get-own-property-descriptor&quot;).f,u=t(&quot;../internals/create-non-enumerable-property&quot;),l=t(&quot;../internals/define-built-in&quot;),s=t(&quot;../internals/define-global-property&quot;),d=t(&quot;../internals/copy-constructor-properties&quot;),f=t(&quot;../internals/is-forced&quot;);n.exports=function(h,m){var p,b,g,y,v,_=h.target,C=h.global,O=h.stat;if(p=C?i:O?i[_]||s(_,{}):(i[_]||{}).prototype)for(b in m){if(y=m[b],g=h.dontCallGetSet?(v=a(p,b))&amp;&amp;v.value:p[b],!f(C?b:_+(O?&quot;.&quot;:&quot;#&quot;)+b,h.forced)&amp;&amp;g!==void 0){if(typeof y==typeof g)continue;d(y,g)}(h.sham||g&amp;&amp;g.sham)&amp;&amp;u(y,&quot;sham&quot;,!0),l(p,b,y,h)}}},{&quot;../internals/copy-constructor-properties&quot;:237,&quot;../internals/create-non-enumerable-property&quot;:241,&quot;../internals/define-built-in&quot;:245,&quot;../internals/define-global-property&quot;:246,&quot;../internals/global&quot;:274,&quot;../internals/is-forced&quot;:287,&quot;../internals/object-get-own-property-descriptor&quot;:309}],260:[function(t,n,o){n.exports=function(i){try{return!!i()}catch{return!0}}},{}],261:[function(t,n,o){var i=t(&quot;../internals/function-bind-native&quot;),a=Function.prototype,u=a.apply,l=a.call;n.exports=typeof Reflect==&quot;object&quot;&amp;&amp;Reflect.apply||(i?l.bind(u):function(){return l.apply(u,arguments)})},{&quot;../internals/function-bind-native&quot;:263}],262:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this-clause&quot;),a=t(&quot;../internals/a-callable&quot;),u=t(&quot;../internals/function-bind-native&quot;),l=i(i.bind);n.exports=function(s,d){return a(s),d===void 0?s:u?l(s,d):function(){return s.apply(d,arguments)}}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/function-bind-native&quot;:263,&quot;../internals/function-uncurry-this-clause&quot;:267}],263:[function(t,n,o){var i=t(&quot;../internals/fails&quot;);n.exports=!i((function(){var a=(function(){}).bind();return typeof a!=&quot;function&quot;||a.hasOwnProperty(&quot;prototype&quot;)}))},{&quot;../internals/fails&quot;:260}],264:[function(t,n,o){var i=t(&quot;../internals/function-bind-native&quot;),a=Function.prototype.call;n.exports=i?a.bind(a):function(){return a.apply(a,arguments)}},{&quot;../internals/function-bind-native&quot;:263}],265:[function(t,n,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/has-own-property&quot;),u=Function.prototype,l=i&amp;&amp;Object.getOwnPropertyDescriptor,s=a(u,&quot;name&quot;),d=s&amp;&amp;(function(){}).name===&quot;something&quot;,f=s&amp;&amp;(!i||i&amp;&amp;l(u,&quot;name&quot;).configurable);n.exports={EXISTS:s,PROPER:d,CONFIGURABLE:f}},{&quot;../internals/descriptors&quot;:247,&quot;../internals/has-own-property&quot;:275}],266:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/a-callable&quot;);n.exports=function(u,l,s){try{return i(a(Object.getOwnPropertyDescriptor(u,l)[s]))}catch{}}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/function-uncurry-this&quot;:268}],267:[function(t,n,o){var i=t(&quot;../internals/classof-raw&quot;),a=t(&quot;../internals/function-uncurry-this&quot;);n.exports=function(u){if(i(u)===&quot;Function&quot;)return a(u)}},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/function-uncurry-this&quot;:268}],268:[function(t,n,o){var i=t(&quot;../internals/function-bind-native&quot;),a=Function.prototype,u=a.call,l=i&amp;&amp;a.bind.bind(u,u);n.exports=i?l:function(s){return function(){return u.apply(s,arguments)}}},{&quot;../internals/function-bind-native&quot;:263}],269:[function(t,n,o){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/is-callable&quot;),u=function(l){return a(l)?l:void 0};n.exports=function(l,s){return arguments.length&lt;2?u(i[l]):i[l]&amp;&amp;i[l][s]}},{&quot;../internals/global&quot;:274,&quot;../internals/is-callable&quot;:285}],270:[function(t,n,o){var i=t(&quot;../internals/classof&quot;),a=t(&quot;../internals/get-method&quot;),u=t(&quot;../internals/is-null-or-undefined&quot;),l=t(&quot;../internals/iterators&quot;),s=t(&quot;../internals/well-known-symbol&quot;)(&quot;iterator&quot;);n.exports=function(d){if(!u(d))return a(d,s)||a(d,&quot;@@iterator&quot;)||l[i(d)]}},{&quot;../internals/classof&quot;:236,&quot;../internals/get-method&quot;:273,&quot;../internals/is-null-or-undefined&quot;:288,&quot;../internals/iterators&quot;:298,&quot;../internals/well-known-symbol&quot;:357}],271:[function(t,n,o){var i=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/a-callable&quot;),u=t(&quot;../internals/an-object&quot;),l=t(&quot;../internals/try-to-string&quot;),s=t(&quot;../internals/get-iterator-method&quot;),d=TypeError;n.exports=function(f,h){var m=arguments.length&lt;2?s(f):h;if(a(m))return u(i(m,f));throw new d(l(f)+&quot; is not iterable&quot;)}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/an-object&quot;:227,&quot;../internals/function-call&quot;:264,&quot;../internals/get-iterator-method&quot;:270,&quot;../internals/try-to-string&quot;:349}],272:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/is-array&quot;),u=t(&quot;../internals/is-callable&quot;),l=t(&quot;../internals/classof-raw&quot;),s=t(&quot;../internals/to-string&quot;),d=i([].push);n.exports=function(f){if(u(f))return f;if(a(f)){for(var h=f.length,m=[],p=0;p&lt;h;p++){var b=f[p];typeof b==&quot;string&quot;?d(m,b):typeof b!=&quot;number&quot;&amp;&amp;l(b)!==&quot;Number&quot;&amp;&amp;l(b)!==&quot;String&quot;||d(m,s(b))}var g=m.length,y=!0;return function(v,_){if(y)return y=!1,_;if(a(this))return _;for(var C=0;C&lt;g;C++)if(m[C]===v)return _}}}},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/is-array&quot;:284,&quot;../internals/is-callable&quot;:285,&quot;../internals/to-string&quot;:348}],273:[function(t,n,o){var i=t(&quot;../internals/a-callable&quot;),a=t(&quot;../internals/is-null-or-undefined&quot;);n.exports=function(u,l){var s=u[l];return a(s)?void 0:i(s)}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/is-null-or-undefined&quot;:288}],274:[function(t,n,o){(function(i){(function(){var a=function(u){return u&amp;&amp;u.Math===Math&amp;&amp;u};n.exports=a(typeof globalThis==&quot;object&quot;&amp;&amp;globalThis)||a(typeof window==&quot;object&quot;&amp;&amp;window)||a(typeof self==&quot;object&quot;&amp;&amp;self)||a(typeof i==&quot;object&quot;&amp;&amp;i)||(function(){return this})()||this||Function(&quot;return this&quot;)()}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],275:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/to-object&quot;),u=i({}.hasOwnProperty);n.exports=Object.hasOwn||function(l,s){return u(a(l),s)}},{&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/to-object&quot;:344}],276:[function(t,n,o){n.exports={}},{}],277:[function(t,n,o){n.exports=function(i,a){try{arguments.length===1?console.error(i):console.error(i,a)}catch{}}},{}],278:[function(t,n,o){var i=t(&quot;../internals/get-built-in&quot;);n.exports=i(&quot;document&quot;,&quot;documentElement&quot;)},{&quot;../internals/get-built-in&quot;:269}],279:[function(t,n,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/document-create-element&quot;);n.exports=!i&amp;&amp;!a((function(){return Object.defineProperty(u(&quot;div&quot;),&quot;a&quot;,{get:function(){return 7}}).a!==7}))},{&quot;../internals/descriptors&quot;:247,&quot;../internals/document-create-element&quot;:249,&quot;../internals/fails&quot;:260}],280:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/classof-raw&quot;),l=Object,s=i(&quot;&quot;.split);n.exports=a((function(){return!l(&quot;z&quot;).propertyIsEnumerable(0)}))?function(d){return u(d)===&quot;String&quot;?s(d,&quot;&quot;):l(d)}:l},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/fails&quot;:260,&quot;../internals/function-uncurry-this&quot;:268}],281:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/shared-store&quot;),l=i(Function.toString);a(u.inspectSource)||(u.inspectSource=function(s){return l(s)}),n.exports=u.inspectSource},{&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/is-callable&quot;:285,&quot;../internals/shared-store&quot;:333}],282:[function(t,n,o){var i,a,u,l=t(&quot;../internals/weak-map-basic-detection&quot;),s=t(&quot;../internals/global&quot;),d=t(&quot;../internals/is-object&quot;),f=t(&quot;../internals/create-non-enumerable-property&quot;),h=t(&quot;../internals/has-own-property&quot;),m=t(&quot;../internals/shared-store&quot;),p=t(&quot;../internals/shared-key&quot;),b=t(&quot;../internals/hidden-keys&quot;),g=s.TypeError,y=s.WeakMap;if(l||m.state){var v=m.state||(m.state=new y);v.get=v.get,v.has=v.has,v.set=v.set,i=function(C,O){if(v.has(C))throw new g(&quot;Object already initialized&quot;);return O.facade=C,v.set(C,O),O},a=function(C){return v.get(C)||{}},u=function(C){return v.has(C)}}else{var _=p(&quot;state&quot;);b[_]=!0,i=function(C,O){if(h(C,_))throw new g(&quot;Object already initialized&quot;);return O.facade=C,f(C,_,O),O},a=function(C){return h(C,_)?C[_]:{}},u=function(C){return h(C,_)}}n.exports={set:i,get:a,has:u,enforce:function(C){return u(C)?a(C):i(C,{})},getterFor:function(C){return function(O){var T;if(!d(O)||(T=a(O)).type!==C)throw new g(&quot;Incompatible receiver, &quot;+C+&quot; required&quot;);return T}}}},{&quot;../internals/create-non-enumerable-property&quot;:241,&quot;../internals/global&quot;:274,&quot;../internals/has-own-property&quot;:275,&quot;../internals/hidden-keys&quot;:276,&quot;../internals/is-object&quot;:289,&quot;../internals/shared-key&quot;:332,&quot;../internals/shared-store&quot;:333,&quot;../internals/weak-map-basic-detection&quot;:354}],283:[function(t,n,o){var i=t(&quot;../internals/well-known-symbol&quot;),a=t(&quot;../internals/iterators&quot;),u=i(&quot;iterator&quot;),l=Array.prototype;n.exports=function(s){return s!==void 0&amp;&amp;(a.Array===s||l[u]===s)}},{&quot;../internals/iterators&quot;:298,&quot;../internals/well-known-symbol&quot;:357}],284:[function(t,n,o){var i=t(&quot;../internals/classof-raw&quot;);n.exports=Array.isArray||function(a){return i(a)===&quot;Array&quot;}},{&quot;../internals/classof-raw&quot;:235}],285:[function(t,n,o){var i=t(&quot;../internals/document-all&quot;),a=i.all;n.exports=i.IS_HTMLDDA?function(u){return typeof u==&quot;function&quot;||u===a}:function(u){return typeof u==&quot;function&quot;}},{&quot;../internals/document-all&quot;:248}],286:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/is-callable&quot;),l=t(&quot;../internals/classof&quot;),s=t(&quot;../internals/get-built-in&quot;),d=t(&quot;../internals/inspect-source&quot;),f=function(){},h=[],m=s(&quot;Reflect&quot;,&quot;construct&quot;),p=/^\s*(?:class|function)\b/,b=i(p.exec),g=!p.test(f),y=function(_){if(!u(_))return!1;try{return m(f,h,_),!0}catch{return!1}},v=function(_){if(!u(_))return!1;switch(l(_)){case&quot;AsyncFunction&quot;:case&quot;GeneratorFunction&quot;:case&quot;AsyncGeneratorFunction&quot;:return!1}try{return g||!!b(p,d(_))}catch{return!0}};v.sham=!0,n.exports=!m||a((function(){var _;return y(y.call)||!y(Object)||!y((function(){_=!0}))||_}))?v:y},{&quot;../internals/classof&quot;:236,&quot;../internals/fails&quot;:260,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/get-built-in&quot;:269,&quot;../internals/inspect-source&quot;:281,&quot;../internals/is-callable&quot;:285}],287:[function(t,n,o){var i=t(&quot;../internals/fails&quot;),a=t(&quot;../internals/is-callable&quot;),u=/#|\.prototype\./,l=function(m,p){var b=d[s(m)];return b===h||b!==f&amp;&amp;(a(p)?i(p):!!p)},s=l.normalize=function(m){return String(m).replace(u,&quot;.&quot;).toLowerCase()},d=l.data={},f=l.NATIVE=&quot;N&quot;,h=l.POLYFILL=&quot;P&quot;;n.exports=l},{&quot;../internals/fails&quot;:260,&quot;../internals/is-callable&quot;:285}],288:[function(t,n,o){n.exports=function(i){return i==null}},{}],289:[function(t,n,o){var i=t(&quot;../internals/is-callable&quot;),a=t(&quot;../internals/document-all&quot;),u=a.all;n.exports=a.IS_HTMLDDA?function(l){return typeof l==&quot;object&quot;?l!==null:i(l)||l===u}:function(l){return typeof l==&quot;object&quot;?l!==null:i(l)}},{&quot;../internals/document-all&quot;:248,&quot;../internals/is-callable&quot;:285}],290:[function(t,n,o){n.exports=!1},{}],291:[function(t,n,o){var i=t(&quot;../internals/is-object&quot;),a=t(&quot;../internals/classof-raw&quot;),u=t(&quot;../internals/well-known-symbol&quot;)(&quot;match&quot;);n.exports=function(l){var s;return i(l)&amp;&amp;((s=l[u])!==void 0?!!s:a(l)===&quot;RegExp&quot;)}},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/is-object&quot;:289,&quot;../internals/well-known-symbol&quot;:357}],292:[function(t,n,o){var i=t(&quot;../internals/get-built-in&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/object-is-prototype-of&quot;),l=t(&quot;../internals/use-symbol-as-uid&quot;),s=Object;n.exports=l?function(d){return typeof d==&quot;symbol&quot;}:function(d){var f=i(&quot;Symbol&quot;);return a(f)&amp;&amp;u(f.prototype,s(d))}},{&quot;../internals/get-built-in&quot;:269,&quot;../internals/is-callable&quot;:285,&quot;../internals/object-is-prototype-of&quot;:314,&quot;../internals/use-symbol-as-uid&quot;:351}],293:[function(t,n,o){var i=t(&quot;../internals/function-bind-context&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/an-object&quot;),l=t(&quot;../internals/try-to-string&quot;),s=t(&quot;../internals/is-array-iterator-method&quot;),d=t(&quot;../internals/length-of-array-like&quot;),f=t(&quot;../internals/object-is-prototype-of&quot;),h=t(&quot;../internals/get-iterator&quot;),m=t(&quot;../internals/get-iterator-method&quot;),p=t(&quot;../internals/iterator-close&quot;),b=TypeError,g=function(v,_){this.stopped=v,this.result=_},y=g.prototype;n.exports=function(v,_,C){var O,T,V,F,H,W,K,$=C&amp;&amp;C.that,P=!(!C||!C.AS_ENTRIES),D=!(!C||!C.IS_RECORD),E=!(!C||!C.IS_ITERATOR),j=!(!C||!C.INTERRUPTED),k=i(_,$),S=function(M){return O&amp;&amp;p(O,&quot;normal&quot;,M),new g(!0,M)},N=function(M){return P?(u(M),j?k(M[0],M[1],S):k(M[0],M[1])):j?k(M,S):k(M)};if(D)O=v.iterator;else if(E)O=v;else{if(!(T=m(v)))throw new b(l(v)+&quot; is not iterable&quot;);if(s(T)){for(V=0,F=d(v);F&gt;V;V++)if((H=N(v[V]))&amp;&amp;f(y,H))return H;return new g(!1)}O=h(v,T)}for(W=D?v.next:O.next;!(K=a(W,O)).done;){try{H=N(K.value)}catch(M){p(O,&quot;throw&quot;,M)}if(typeof H==&quot;object&quot;&amp;&amp;H&amp;&amp;f(y,H))return H}return new g(!1)}},{&quot;../internals/an-object&quot;:227,&quot;../internals/function-bind-context&quot;:262,&quot;../internals/function-call&quot;:264,&quot;../internals/get-iterator&quot;:271,&quot;../internals/get-iterator-method&quot;:270,&quot;../internals/is-array-iterator-method&quot;:283,&quot;../internals/iterator-close&quot;:294,&quot;../internals/length-of-array-like&quot;:299,&quot;../internals/object-is-prototype-of&quot;:314,&quot;../internals/try-to-string&quot;:349}],294:[function(t,n,o){var i=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/an-object&quot;),u=t(&quot;../internals/get-method&quot;);n.exports=function(l,s,d){var f,h;a(l);try{if(!(f=u(l,&quot;return&quot;))){if(s===&quot;throw&quot;)throw d;return d}f=i(f,l)}catch(m){h=!0,f=m}if(s===&quot;throw&quot;)throw d;if(h)throw f;return a(f),d}},{&quot;../internals/an-object&quot;:227,&quot;../internals/function-call&quot;:264,&quot;../internals/get-method&quot;:273}],295:[function(t,n,o){var i=t(&quot;../internals/iterators-core&quot;).IteratorPrototype,a=t(&quot;../internals/object-create&quot;),u=t(&quot;../internals/create-property-descriptor&quot;),l=t(&quot;../internals/set-to-string-tag&quot;),s=t(&quot;../internals/iterators&quot;),d=function(){return this};n.exports=function(f,h,m,p){var b=h+&quot; Iterator&quot;;return f.prototype=a(i,{next:u(+!p,m)}),l(f,b,!1,!0),s[b]=d,f}},{&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/iterators&quot;:298,&quot;../internals/iterators-core&quot;:297,&quot;../internals/object-create&quot;:306,&quot;../internals/set-to-string-tag&quot;:331}],296:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/is-pure&quot;),l=t(&quot;../internals/function-name&quot;),s=t(&quot;../internals/is-callable&quot;),d=t(&quot;../internals/iterator-create-constructor&quot;),f=t(&quot;../internals/object-get-prototype-of&quot;),h=t(&quot;../internals/object-set-prototype-of&quot;),m=t(&quot;../internals/set-to-string-tag&quot;),p=t(&quot;../internals/create-non-enumerable-property&quot;),b=t(&quot;../internals/define-built-in&quot;),g=t(&quot;../internals/well-known-symbol&quot;),y=t(&quot;../internals/iterators&quot;),v=t(&quot;../internals/iterators-core&quot;),_=l.PROPER,C=l.CONFIGURABLE,O=v.IteratorPrototype,T=v.BUGGY_SAFARI_ITERATORS,V=g(&quot;iterator&quot;),F=function(){return this};n.exports=function(H,W,K,$,P,D,E){d(K,W,$);var j,k,S,N=function(U){if(U===P&amp;&amp;Z)return Z;if(!T&amp;&amp;U&amp;&amp;U in B)return B[U];switch(U){case&quot;keys&quot;:case&quot;values&quot;:case&quot;entries&quot;:return function(){return new K(this,U)}}return function(){return new K(this)}},M=W+&quot; Iterator&quot;,R=!1,B=H.prototype,Y=B[V]||B[&quot;@@iterator&quot;]||P&amp;&amp;B[P],Z=!T&amp;&amp;Y||N(P),ie=W===&quot;Array&quot;&amp;&amp;B.entries||Y;if(ie&amp;&amp;(j=f(ie.call(new H)))!==Object.prototype&amp;&amp;j.next&amp;&amp;(u||f(j)===O||(h?h(j,O):s(j[V])||b(j,V,F)),m(j,M,!0,!0),u&amp;&amp;(y[M]=F)),_&amp;&amp;P===&quot;values&quot;&amp;&amp;Y&amp;&amp;Y.name!==&quot;values&quot;&amp;&amp;(!u&amp;&amp;C?p(B,&quot;name&quot;,&quot;values&quot;):(R=!0,Z=function(){return a(Y,this)})),P)if(k={values:N(&quot;values&quot;),keys:D?Z:N(&quot;keys&quot;),entries:N(&quot;entries&quot;)},E)for(S in k)(T||R||!(S in B))&amp;&amp;b(B,S,k[S]);else i({target:W,proto:!0,forced:T||R},k);return u&amp;&amp;!E||B[V]===Z||b(B,V,Z,{name:P}),y[W]=Z,k}},{&quot;../internals/create-non-enumerable-property&quot;:241,&quot;../internals/define-built-in&quot;:245,&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/function-name&quot;:265,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-pure&quot;:290,&quot;../internals/iterator-create-constructor&quot;:295,&quot;../internals/iterators&quot;:298,&quot;../internals/iterators-core&quot;:297,&quot;../internals/object-get-prototype-of&quot;:313,&quot;../internals/object-set-prototype-of&quot;:318,&quot;../internals/set-to-string-tag&quot;:331,&quot;../internals/well-known-symbol&quot;:357}],297:[function(t,n,o){var i,a,u,l=t(&quot;../internals/fails&quot;),s=t(&quot;../internals/is-callable&quot;),d=t(&quot;../internals/is-object&quot;),f=t(&quot;../internals/object-create&quot;),h=t(&quot;../internals/object-get-prototype-of&quot;),m=t(&quot;../internals/define-built-in&quot;),p=t(&quot;../internals/well-known-symbol&quot;),b=t(&quot;../internals/is-pure&quot;),g=p(&quot;iterator&quot;),y=!1;[].keys&amp;&amp;(&quot;next&quot;in(u=[].keys())?(a=h(h(u)))!==Object.prototype&amp;&amp;(i=a):y=!0),!d(i)||l((function(){var v={};return i[g].call(v)!==v}))?i={}:b&amp;&amp;(i=f(i)),s(i[g])||m(i,g,(function(){return this})),n.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:y}},{&quot;../internals/define-built-in&quot;:245,&quot;../internals/fails&quot;:260,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-object&quot;:289,&quot;../internals/is-pure&quot;:290,&quot;../internals/object-create&quot;:306,&quot;../internals/object-get-prototype-of&quot;:313,&quot;../internals/well-known-symbol&quot;:357}],298:[function(t,n,o){arguments[4][276][0].apply(o,arguments)},{dup:276}],299:[function(t,n,o){var i=t(&quot;../internals/to-length&quot;);n.exports=function(a){return i(a.length)}},{&quot;../internals/to-length&quot;:343}],300:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/is-callable&quot;),l=t(&quot;../internals/has-own-property&quot;),s=t(&quot;../internals/descriptors&quot;),d=t(&quot;../internals/function-name&quot;).CONFIGURABLE,f=t(&quot;../internals/inspect-source&quot;),h=t(&quot;../internals/internal-state&quot;),m=h.enforce,p=h.get,b=String,g=Object.defineProperty,y=i(&quot;&quot;.slice),v=i(&quot;&quot;.replace),_=i([].join),C=s&amp;&amp;!a((function(){return g((function(){}),&quot;length&quot;,{value:8}).length!==8})),O=String(String).split(&quot;String&quot;),T=n.exports=function(V,F,H){y(b(F),0,7)===&quot;Symbol(&quot;&amp;&amp;(F=&quot;[&quot;+v(b(F),/^Symbol\(([^)]*)\)/,&quot;$1&quot;)+&quot;]&quot;),H&amp;&amp;H.getter&amp;&amp;(F=&quot;get &quot;+F),H&amp;&amp;H.setter&amp;&amp;(F=&quot;set &quot;+F),(!l(V,&quot;name&quot;)||d&amp;&amp;V.name!==F)&amp;&amp;(s?g(V,&quot;name&quot;,{value:F,configurable:!0}):V.name=F),C&amp;&amp;H&amp;&amp;l(H,&quot;arity&quot;)&amp;&amp;V.length!==H.arity&amp;&amp;g(V,&quot;length&quot;,{value:H.arity});try{H&amp;&amp;l(H,&quot;constructor&quot;)&amp;&amp;H.constructor?s&amp;&amp;g(V,&quot;prototype&quot;,{writable:!1}):V.prototype&amp;&amp;(V.prototype=void 0)}catch{}var W=m(V);return l(W,&quot;source&quot;)||(W.source=_(O,typeof F==&quot;string&quot;?F:&quot;&quot;)),V};Function.prototype.toString=T((function(){return u(this)&amp;&amp;p(this).source||f(this)}),&quot;toString&quot;)},{&quot;../internals/descriptors&quot;:247,&quot;../internals/fails&quot;:260,&quot;../internals/function-name&quot;:265,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/has-own-property&quot;:275,&quot;../internals/inspect-source&quot;:281,&quot;../internals/internal-state&quot;:282,&quot;../internals/is-callable&quot;:285}],301:[function(t,n,o){var i=Math.ceil,a=Math.floor;n.exports=Math.trunc||function(u){var l=+u;return(l&gt;0?a:i)(l)}},{}],302:[function(t,n,o){var i,a,u,l,s,d=t(&quot;../internals/global&quot;),f=t(&quot;../internals/function-bind-context&quot;),h=t(&quot;../internals/object-get-own-property-descriptor&quot;).f,m=t(&quot;../internals/task&quot;).set,p=t(&quot;../internals/queue&quot;),b=t(&quot;../internals/engine-is-ios&quot;),g=t(&quot;../internals/engine-is-ios-pebble&quot;),y=t(&quot;../internals/engine-is-webos-webkit&quot;),v=t(&quot;../internals/engine-is-node&quot;),_=d.MutationObserver||d.WebKitMutationObserver,C=d.document,O=d.process,T=d.Promise,V=h(d,&quot;queueMicrotask&quot;),F=V&amp;&amp;V.value;if(!F){var H=new p,W=function(){var K,$;for(v&amp;&amp;(K=O.domain)&amp;&amp;K.exit();$=H.get();)try{$()}catch(P){throw H.head&amp;&amp;i(),P}K&amp;&amp;K.enter()};b||v||y||!_||!C?!g&amp;&amp;T&amp;&amp;T.resolve?((l=T.resolve(void 0)).constructor=T,s=f(l.then,l),i=function(){s(W)}):v?i=function(){O.nextTick(W)}:(m=f(m,d),i=function(){m(W)}):(a=!0,u=C.createTextNode(&quot;&quot;),new _(W).observe(u,{characterData:!0}),i=function(){u.data=a=!a}),F=function(K){H.head||i(),H.add(K)}}n.exports=F},{&quot;../internals/engine-is-ios&quot;:253,&quot;../internals/engine-is-ios-pebble&quot;:252,&quot;../internals/engine-is-node&quot;:254,&quot;../internals/engine-is-webos-webkit&quot;:255,&quot;../internals/function-bind-context&quot;:262,&quot;../internals/global&quot;:274,&quot;../internals/object-get-own-property-descriptor&quot;:309,&quot;../internals/queue&quot;:328,&quot;../internals/task&quot;:339}],303:[function(t,n,o){var i=t(&quot;../internals/a-callable&quot;),a=TypeError,u=function(l){var s,d;this.promise=new l((function(f,h){if(s!==void 0||d!==void 0)throw new a(&quot;Bad Promise constructor&quot;);s=f,d=h})),this.resolve=i(s),this.reject=i(d)};n.exports.f=function(l){return new u(l)}},{&quot;../internals/a-callable&quot;:222}],304:[function(t,n,o){var i=t(&quot;../internals/is-regexp&quot;),a=TypeError;n.exports=function(u){if(i(u))throw new a(&quot;The method doesn&#039;t accept regular expressions&quot;);return u}},{&quot;../internals/is-regexp&quot;:291}],305:[function(t,n,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/function-call&quot;),l=t(&quot;../internals/fails&quot;),s=t(&quot;../internals/object-keys&quot;),d=t(&quot;../internals/object-get-own-property-symbols&quot;),f=t(&quot;../internals/object-property-is-enumerable&quot;),h=t(&quot;../internals/to-object&quot;),m=t(&quot;../internals/indexed-object&quot;),p=Object.assign,b=Object.defineProperty,g=a([].concat);n.exports=!p||l((function(){if(i&amp;&amp;p({b:1},p(b({},&quot;a&quot;,{enumerable:!0,get:function(){b(this,&quot;b&quot;,{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var y={},v={},_=Symbol(&quot;assign detection&quot;);return y[_]=7,&quot;abcdefghijklmnopqrst&quot;.split(&quot;&quot;).forEach((function(C){v[C]=C})),p({},y)[_]!==7||s(p({},v)).join(&quot;&quot;)!==&quot;abcdefghijklmnopqrst&quot;}))?function(y,v){for(var _=h(y),C=arguments.length,O=1,T=d.f,V=f.f;C&gt;O;)for(var F,H=m(arguments[O++]),W=T?g(s(H),T(H)):s(H),K=W.length,$=0;K&gt;$;)F=W[$++],i&amp;&amp;!u(V,H,F)||(_[F]=H[F]);return _}:p},{&quot;../internals/descriptors&quot;:247,&quot;../internals/fails&quot;:260,&quot;../internals/function-call&quot;:264,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/indexed-object&quot;:280,&quot;../internals/object-get-own-property-symbols&quot;:312,&quot;../internals/object-keys&quot;:316,&quot;../internals/object-property-is-enumerable&quot;:317,&quot;../internals/to-object&quot;:344}],306:[function(t,n,o){var i,a=t(&quot;../internals/an-object&quot;),u=t(&quot;../internals/object-define-properties&quot;),l=t(&quot;../internals/enum-bug-keys&quot;),s=t(&quot;../internals/hidden-keys&quot;),d=t(&quot;../internals/html&quot;),f=t(&quot;../internals/document-create-element&quot;),h=t(&quot;../internals/shared-key&quot;),m=h(&quot;IE_PROTO&quot;),p=function(){},b=function(v){return&quot;&lt;script&gt;&quot;+v+&quot;&lt;\/script&gt;&quot;},g=function(v){v.write(b(&quot;&quot;)),v.close();var _=v.parentWindow.Object;return v=null,_},y=function(){try{i=new ActiveXObject(&quot;htmlfile&quot;)}catch{}var v,_;y=typeof document&lt;&quot;u&quot;?document.domain&amp;&amp;i?g(i):((_=f(&quot;iframe&quot;)).style.display=&quot;none&quot;,d.appendChild(_),_.src=&quot;javascript:&quot;,(v=_.contentWindow.document).open(),v.write(b(&quot;document.F=Object&quot;)),v.close(),v.F):g(i);for(var C=l.length;C--;)delete y.prototype[l[C]];return y()};s[m]=!0,n.exports=Object.create||function(v,_){var C;return v!==null?(p.prototype=a(v),C=new p,p.prototype=null,C[m]=v):C=y(),_===void 0?C:u.f(C,_)}},{&quot;../internals/an-object&quot;:227,&quot;../internals/document-create-element&quot;:249,&quot;../internals/enum-bug-keys&quot;:258,&quot;../internals/hidden-keys&quot;:276,&quot;../internals/html&quot;:278,&quot;../internals/object-define-properties&quot;:307,&quot;../internals/shared-key&quot;:332}],307:[function(t,n,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/v8-prototype-define-bug&quot;),u=t(&quot;../internals/object-define-property&quot;),l=t(&quot;../internals/an-object&quot;),s=t(&quot;../internals/to-indexed-object&quot;),d=t(&quot;../internals/object-keys&quot;);o.f=i&amp;&amp;!a?Object.defineProperties:function(f,h){l(f);for(var m,p=s(h),b=d(h),g=b.length,y=0;g&gt;y;)u.f(f,m=b[y++],p[m]);return f}},{&quot;../internals/an-object&quot;:227,&quot;../internals/descriptors&quot;:247,&quot;../internals/object-define-property&quot;:308,&quot;../internals/object-keys&quot;:316,&quot;../internals/to-indexed-object&quot;:341,&quot;../internals/v8-prototype-define-bug&quot;:352}],308:[function(t,n,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/ie8-dom-define&quot;),u=t(&quot;../internals/v8-prototype-define-bug&quot;),l=t(&quot;../internals/an-object&quot;),s=t(&quot;../internals/to-property-key&quot;),d=TypeError,f=Object.defineProperty,h=Object.getOwnPropertyDescriptor;o.f=i?u?function(m,p,b){if(l(m),p=s(p),l(b),typeof m==&quot;function&quot;&amp;&amp;p===&quot;prototype&quot;&amp;&amp;&quot;value&quot;in b&amp;&amp;&quot;writable&quot;in b&amp;&amp;!b.writable){var g=h(m,p);g&amp;&amp;g.writable&amp;&amp;(m[p]=b.value,b={configurable:&quot;configurable&quot;in b?b.configurable:g.configurable,enumerable:&quot;enumerable&quot;in b?b.enumerable:g.enumerable,writable:!1})}return f(m,p,b)}:f:function(m,p,b){if(l(m),p=s(p),l(b),a)try{return f(m,p,b)}catch{}if(&quot;get&quot;in b||&quot;set&quot;in b)throw new d(&quot;Accessors not supported&quot;);return&quot;value&quot;in b&amp;&amp;(m[p]=b.value),m}},{&quot;../internals/an-object&quot;:227,&quot;../internals/descriptors&quot;:247,&quot;../internals/ie8-dom-define&quot;:279,&quot;../internals/to-property-key&quot;:346,&quot;../internals/v8-prototype-define-bug&quot;:352}],309:[function(t,n,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/object-property-is-enumerable&quot;),l=t(&quot;../internals/create-property-descriptor&quot;),s=t(&quot;../internals/to-indexed-object&quot;),d=t(&quot;../internals/to-property-key&quot;),f=t(&quot;../internals/has-own-property&quot;),h=t(&quot;../internals/ie8-dom-define&quot;),m=Object.getOwnPropertyDescriptor;o.f=i?m:function(p,b){if(p=s(p),b=d(b),h)try{return m(p,b)}catch{}if(f(p,b))return l(!a(u.f,p,b),p[b])}},{&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/descriptors&quot;:247,&quot;../internals/function-call&quot;:264,&quot;../internals/has-own-property&quot;:275,&quot;../internals/ie8-dom-define&quot;:279,&quot;../internals/object-property-is-enumerable&quot;:317,&quot;../internals/to-indexed-object&quot;:341,&quot;../internals/to-property-key&quot;:346}],310:[function(t,n,o){var i=t(&quot;../internals/classof-raw&quot;),a=t(&quot;../internals/to-indexed-object&quot;),u=t(&quot;../internals/object-get-own-property-names&quot;).f,l=t(&quot;../internals/array-slice-simple&quot;),s=typeof window==&quot;object&quot;&amp;&amp;window&amp;&amp;Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];n.exports.f=function(d){return s&amp;&amp;i(d)===&quot;Window&quot;?(function(f){try{return u(f)}catch{return l(s)}})(d):u(a(d))}},{&quot;../internals/array-slice-simple&quot;:230,&quot;../internals/classof-raw&quot;:235,&quot;../internals/object-get-own-property-names&quot;:311,&quot;../internals/to-indexed-object&quot;:341}],311:[function(t,n,o){var i=t(&quot;../internals/object-keys-internal&quot;),a=t(&quot;../internals/enum-bug-keys&quot;).concat(&quot;length&quot;,&quot;prototype&quot;);o.f=Object.getOwnPropertyNames||function(u){return i(u,a)}},{&quot;../internals/enum-bug-keys&quot;:258,&quot;../internals/object-keys-internal&quot;:315}],312:[function(t,n,o){o.f=Object.getOwnPropertySymbols},{}],313:[function(t,n,o){var i=t(&quot;../internals/has-own-property&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/to-object&quot;),l=t(&quot;../internals/shared-key&quot;),s=t(&quot;../internals/correct-prototype-getter&quot;),d=l(&quot;IE_PROTO&quot;),f=Object,h=f.prototype;n.exports=s?f.getPrototypeOf:function(m){var p=u(m);if(i(p,d))return p[d];var b=p.constructor;return a(b)&amp;&amp;p instanceof b?b.prototype:p instanceof f?h:null}},{&quot;../internals/correct-prototype-getter&quot;:239,&quot;../internals/has-own-property&quot;:275,&quot;../internals/is-callable&quot;:285,&quot;../internals/shared-key&quot;:332,&quot;../internals/to-object&quot;:344}],314:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;);n.exports=i({}.isPrototypeOf)},{&quot;../internals/function-uncurry-this&quot;:268}],315:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/to-indexed-object&quot;),l=t(&quot;../internals/array-includes&quot;).indexOf,s=t(&quot;../internals/hidden-keys&quot;),d=i([].push);n.exports=function(f,h){var m,p=u(f),b=0,g=[];for(m in p)!a(s,m)&amp;&amp;a(p,m)&amp;&amp;d(g,m);for(;h.length&gt;b;)a(p,m=h[b++])&amp;&amp;(~l(g,m)||d(g,m));return g}},{&quot;../internals/array-includes&quot;:228,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/has-own-property&quot;:275,&quot;../internals/hidden-keys&quot;:276,&quot;../internals/to-indexed-object&quot;:341}],316:[function(t,n,o){var i=t(&quot;../internals/object-keys-internal&quot;),a=t(&quot;../internals/enum-bug-keys&quot;);n.exports=Object.keys||function(u){return i(u,a)}},{&quot;../internals/enum-bug-keys&quot;:258,&quot;../internals/object-keys-internal&quot;:315}],317:[function(t,n,o){var i={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,u=a&amp;&amp;!i.call({1:2},1);o.f=u?function(l){var s=a(this,l);return!!s&amp;&amp;s.enumerable}:i},{}],318:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this-accessor&quot;),a=t(&quot;../internals/an-object&quot;),u=t(&quot;../internals/a-possible-prototype&quot;);n.exports=Object.setPrototypeOf||(&quot;__proto__&quot;in{}?(function(){var l,s=!1,d={};try{(l=i(Object.prototype,&quot;__proto__&quot;,&quot;set&quot;))(d,[]),s=d instanceof Array}catch{}return function(f,h){return a(f),u(h),s?l(f,h):f.__proto__=h,f}})():void 0)},{&quot;../internals/a-possible-prototype&quot;:224,&quot;../internals/an-object&quot;:227,&quot;../internals/function-uncurry-this-accessor&quot;:266}],319:[function(t,n,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/function-uncurry-this&quot;),l=t(&quot;../internals/object-get-prototype-of&quot;),s=t(&quot;../internals/object-keys&quot;),d=t(&quot;../internals/to-indexed-object&quot;),f=u(t(&quot;../internals/object-property-is-enumerable&quot;).f),h=u([].push),m=i&amp;&amp;a((function(){var b=Object.create(null);return b[2]=2,!f(b,2)})),p=function(b){return function(g){for(var y,v=d(g),_=s(v),C=m&amp;&amp;l(v)===null,O=_.length,T=0,V=[];O&gt;T;)y=_[T++],i&amp;&amp;!(C?y in v:f(v,y))||h(V,b?[y,v[y]]:v[y]);return V}};n.exports={entries:p(!0),values:p(!1)}},{&quot;../internals/descriptors&quot;:247,&quot;../internals/fails&quot;:260,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/object-get-prototype-of&quot;:313,&quot;../internals/object-keys&quot;:316,&quot;../internals/object-property-is-enumerable&quot;:317,&quot;../internals/to-indexed-object&quot;:341}],320:[function(t,n,o){var i=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/is-object&quot;),l=TypeError;n.exports=function(s,d){var f,h;if(d===&quot;string&quot;&amp;&amp;a(f=s.toString)&amp;&amp;!u(h=i(f,s))||a(f=s.valueOf)&amp;&amp;!u(h=i(f,s))||d!==&quot;string&quot;&amp;&amp;a(f=s.toString)&amp;&amp;!u(h=i(f,s)))return h;throw new l(&quot;Can&#039;t convert object to primitive value&quot;)}},{&quot;../internals/function-call&quot;:264,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-object&quot;:289}],321:[function(t,n,o){var i=t(&quot;../internals/get-built-in&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/object-get-own-property-names&quot;),l=t(&quot;../internals/object-get-own-property-symbols&quot;),s=t(&quot;../internals/an-object&quot;),d=a([].concat);n.exports=i(&quot;Reflect&quot;,&quot;ownKeys&quot;)||function(f){var h=u.f(s(f)),m=l.f;return m?d(h,m(f)):h}},{&quot;../internals/an-object&quot;:227,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/get-built-in&quot;:269,&quot;../internals/object-get-own-property-names&quot;:311,&quot;../internals/object-get-own-property-symbols&quot;:312}],322:[function(t,n,o){var i=t(&quot;../internals/global&quot;);n.exports=i},{&quot;../internals/global&quot;:274}],323:[function(t,n,o){n.exports=function(i){try{return{error:!1,value:i()}}catch(a){return{error:!0,value:a}}}},{}],324:[function(t,n,o){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/promise-native-constructor&quot;),u=t(&quot;../internals/is-callable&quot;),l=t(&quot;../internals/is-forced&quot;),s=t(&quot;../internals/inspect-source&quot;),d=t(&quot;../internals/well-known-symbol&quot;),f=t(&quot;../internals/engine-is-browser&quot;),h=t(&quot;../internals/engine-is-deno&quot;),m=t(&quot;../internals/is-pure&quot;),p=t(&quot;../internals/engine-v8-version&quot;),b=a&amp;&amp;a.prototype,g=d(&quot;species&quot;),y=!1,v=u(i.PromiseRejectionEvent),_=l(&quot;Promise&quot;,(function(){var C=s(a),O=C!==String(a);if(!O&amp;&amp;p===66||m&amp;&amp;(!b.catch||!b.finally))return!0;if(!p||p&lt;51||!/native code/.test(C)){var T=new a((function(F){F(1)})),V=function(F){F((function(){}),(function(){}))};if((T.constructor={})[g]=V,!(y=T.then((function(){}))instanceof V))return!0}return!O&amp;&amp;(f||h)&amp;&amp;!v}));n.exports={CONSTRUCTOR:_,REJECTION_EVENT:v,SUBCLASSING:y}},{&quot;../internals/engine-is-browser&quot;:250,&quot;../internals/engine-is-deno&quot;:251,&quot;../internals/engine-v8-version&quot;:257,&quot;../internals/global&quot;:274,&quot;../internals/inspect-source&quot;:281,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-forced&quot;:287,&quot;../internals/is-pure&quot;:290,&quot;../internals/promise-native-constructor&quot;:325,&quot;../internals/well-known-symbol&quot;:357}],325:[function(t,n,o){var i=t(&quot;../internals/global&quot;);n.exports=i.Promise},{&quot;../internals/global&quot;:274}],326:[function(t,n,o){var i=t(&quot;../internals/an-object&quot;),a=t(&quot;../internals/is-object&quot;),u=t(&quot;../internals/new-promise-capability&quot;);n.exports=function(l,s){if(i(l),a(s)&amp;&amp;s.constructor===l)return s;var d=u.f(l);return(0,d.resolve)(s),d.promise}},{&quot;../internals/an-object&quot;:227,&quot;../internals/is-object&quot;:289,&quot;../internals/new-promise-capability&quot;:303}],327:[function(t,n,o){var i=t(&quot;../internals/promise-native-constructor&quot;),a=t(&quot;../internals/check-correctness-of-iteration&quot;),u=t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR;n.exports=u||!a((function(l){i.all(l).then(void 0,(function(){}))}))},{&quot;../internals/check-correctness-of-iteration&quot;:234,&quot;../internals/promise-constructor-detection&quot;:324,&quot;../internals/promise-native-constructor&quot;:325}],328:[function(t,n,o){var i=function(){this.head=null,this.tail=null};i.prototype={add:function(a){var u={item:a,next:null},l=this.tail;l?l.next=u:this.head=u,this.tail=u},get:function(){var a=this.head;if(a)return(this.head=a.next)===null&amp;&amp;(this.tail=null),a.item}},n.exports=i},{}],329:[function(t,n,o){var i=t(&quot;../internals/is-null-or-undefined&quot;),a=TypeError;n.exports=function(u){if(i(u))throw new a(&quot;Can&#039;t call method on &quot;+u);return u}},{&quot;../internals/is-null-or-undefined&quot;:288}],330:[function(t,n,o){var i=t(&quot;../internals/get-built-in&quot;),a=t(&quot;../internals/define-built-in-accessor&quot;),u=t(&quot;../internals/well-known-symbol&quot;),l=t(&quot;../internals/descriptors&quot;),s=u(&quot;species&quot;);n.exports=function(d){var f=i(d);l&amp;&amp;f&amp;&amp;!f[s]&amp;&amp;a(f,s,{configurable:!0,get:function(){return this}})}},{&quot;../internals/define-built-in-accessor&quot;:244,&quot;../internals/descriptors&quot;:247,&quot;../internals/get-built-in&quot;:269,&quot;../internals/well-known-symbol&quot;:357}],331:[function(t,n,o){var i=t(&quot;../internals/object-define-property&quot;).f,a=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/well-known-symbol&quot;)(&quot;toStringTag&quot;);n.exports=function(l,s,d){l&amp;&amp;!d&amp;&amp;(l=l.prototype),l&amp;&amp;!a(l,u)&amp;&amp;i(l,u,{configurable:!0,value:s})}},{&quot;../internals/has-own-property&quot;:275,&quot;../internals/object-define-property&quot;:308,&quot;../internals/well-known-symbol&quot;:357}],332:[function(t,n,o){var i=t(&quot;../internals/shared&quot;),a=t(&quot;../internals/uid&quot;),u=i(&quot;keys&quot;);n.exports=function(l){return u[l]||(u[l]=a(l))}},{&quot;../internals/shared&quot;:334,&quot;../internals/uid&quot;:350}],333:[function(t,n,o){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/define-global-property&quot;),u=i[&quot;__core-js_shared__&quot;]||a(&quot;__core-js_shared__&quot;,{});n.exports=u},{&quot;../internals/define-global-property&quot;:246,&quot;../internals/global&quot;:274}],334:[function(t,n,o){var i=t(&quot;../internals/is-pure&quot;),a=t(&quot;../internals/shared-store&quot;);(n.exports=function(u,l){return a[u]||(a[u]=l!==void 0?l:{})})(&quot;versions&quot;,[]).push({version:&quot;3.33.0&quot;,mode:i?&quot;pure&quot;:&quot;global&quot;,copyright:&quot;© 2014-2023 Denis Pushkarev (zloirock.ru)&quot;,license:&quot;https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE&quot;,source:&quot;https://github.com/zloirock/core-js&quot;})},{&quot;../internals/is-pure&quot;:290,&quot;../internals/shared-store&quot;:333}],335:[function(t,n,o){var i=t(&quot;../internals/an-object&quot;),a=t(&quot;../internals/a-constructor&quot;),u=t(&quot;../internals/is-null-or-undefined&quot;),l=t(&quot;../internals/well-known-symbol&quot;)(&quot;species&quot;);n.exports=function(s,d){var f,h=i(s).constructor;return h===void 0||u(f=i(h)[l])?d:a(f)}},{&quot;../internals/a-constructor&quot;:223,&quot;../internals/an-object&quot;:227,&quot;../internals/is-null-or-undefined&quot;:288,&quot;../internals/well-known-symbol&quot;:357}],336:[function(t,n,o){var i=t(&quot;../internals/engine-v8-version&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/global&quot;).String;n.exports=!!Object.getOwnPropertySymbols&amp;&amp;!a((function(){var l=Symbol(&quot;symbol detection&quot;);return!u(l)||!(Object(l)instanceof Symbol)||!Symbol.sham&amp;&amp;i&amp;&amp;i&lt;41}))},{&quot;../internals/engine-v8-version&quot;:257,&quot;../internals/fails&quot;:260,&quot;../internals/global&quot;:274}],337:[function(t,n,o){var i=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/well-known-symbol&quot;),l=t(&quot;../internals/define-built-in&quot;);n.exports=function(){var s=a(&quot;Symbol&quot;),d=s&amp;&amp;s.prototype,f=d&amp;&amp;d.valueOf,h=u(&quot;toPrimitive&quot;);d&amp;&amp;!d[h]&amp;&amp;l(d,h,(function(m){return i(f,this)}),{arity:1})}},{&quot;../internals/define-built-in&quot;:245,&quot;../internals/function-call&quot;:264,&quot;../internals/get-built-in&quot;:269,&quot;../internals/well-known-symbol&quot;:357}],338:[function(t,n,o){var i=t(&quot;../internals/symbol-constructor-detection&quot;);n.exports=i&amp;&amp;!!Symbol.for&amp;&amp;!!Symbol.keyFor},{&quot;../internals/symbol-constructor-detection&quot;:336}],339:[function(t,n,o){var i,a,u,l,s=t(&quot;../internals/global&quot;),d=t(&quot;../internals/function-apply&quot;),f=t(&quot;../internals/function-bind-context&quot;),h=t(&quot;../internals/is-callable&quot;),m=t(&quot;../internals/has-own-property&quot;),p=t(&quot;../internals/fails&quot;),b=t(&quot;../internals/html&quot;),g=t(&quot;../internals/array-slice&quot;),y=t(&quot;../internals/document-create-element&quot;),v=t(&quot;../internals/validate-arguments-length&quot;),_=t(&quot;../internals/engine-is-ios&quot;),C=t(&quot;../internals/engine-is-node&quot;),O=s.setImmediate,T=s.clearImmediate,V=s.process,F=s.Dispatch,H=s.Function,W=s.MessageChannel,K=s.String,$=0,P={};p((function(){i=s.location}));var D=function(S){if(m(P,S)){var N=P[S];delete P[S],N()}},E=function(S){return function(){D(S)}},j=function(S){D(S.data)},k=function(S){s.postMessage(K(S),i.protocol+&quot;//&quot;+i.host)};O&amp;&amp;T||(O=function(S){v(arguments.length,1);var N=h(S)?S:H(S),M=g(arguments,1);return P[++$]=function(){d(N,void 0,M)},a($),$},T=function(S){delete P[S]},C?a=function(S){V.nextTick(E(S))}:F&amp;&amp;F.now?a=function(S){F.now(E(S))}:W&amp;&amp;!_?(l=(u=new W).port2,u.port1.onmessage=j,a=f(l.postMessage,l)):s.addEventListener&amp;&amp;h(s.postMessage)&amp;&amp;!s.importScripts&amp;&amp;i&amp;&amp;i.protocol!==&quot;file:&quot;&amp;&amp;!p(k)?(a=k,s.addEventListener(&quot;message&quot;,j,!1)):a=&quot;onreadystatechange&quot;in y(&quot;script&quot;)?function(S){b.appendChild(y(&quot;script&quot;)).onreadystatechange=function(){b.removeChild(this),D(S)}}:function(S){setTimeout(E(S),0)}),n.exports={set:O,clear:T}},{&quot;../internals/array-slice&quot;:231,&quot;../internals/document-create-element&quot;:249,&quot;../internals/engine-is-ios&quot;:253,&quot;../internals/engine-is-node&quot;:254,&quot;../internals/fails&quot;:260,&quot;../internals/function-apply&quot;:261,&quot;../internals/function-bind-context&quot;:262,&quot;../internals/global&quot;:274,&quot;../internals/has-own-property&quot;:275,&quot;../internals/html&quot;:278,&quot;../internals/is-callable&quot;:285,&quot;../internals/validate-arguments-length&quot;:353}],340:[function(t,n,o){var i=t(&quot;../internals/to-integer-or-infinity&quot;),a=Math.max,u=Math.min;n.exports=function(l,s){var d=i(l);return d&lt;0?a(d+s,0):u(d,s)}},{&quot;../internals/to-integer-or-infinity&quot;:342}],341:[function(t,n,o){var i=t(&quot;../internals/indexed-object&quot;),a=t(&quot;../internals/require-object-coercible&quot;);n.exports=function(u){return i(a(u))}},{&quot;../internals/indexed-object&quot;:280,&quot;../internals/require-object-coercible&quot;:329}],342:[function(t,n,o){var i=t(&quot;../internals/math-trunc&quot;);n.exports=function(a){var u=+a;return u!=u||u===0?0:i(u)}},{&quot;../internals/math-trunc&quot;:301}],343:[function(t,n,o){var i=t(&quot;../internals/to-integer-or-infinity&quot;),a=Math.min;n.exports=function(u){return u&gt;0?a(i(u),9007199254740991):0}},{&quot;../internals/to-integer-or-infinity&quot;:342}],344:[function(t,n,o){var i=t(&quot;../internals/require-object-coercible&quot;),a=Object;n.exports=function(u){return a(i(u))}},{&quot;../internals/require-object-coercible&quot;:329}],345:[function(t,n,o){var i=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/is-object&quot;),u=t(&quot;../internals/is-symbol&quot;),l=t(&quot;../internals/get-method&quot;),s=t(&quot;../internals/ordinary-to-primitive&quot;),d=t(&quot;../internals/well-known-symbol&quot;),f=TypeError,h=d(&quot;toPrimitive&quot;);n.exports=function(m,p){if(!a(m)||u(m))return m;var b,g=l(m,h);if(g){if(p===void 0&amp;&amp;(p=&quot;default&quot;),b=i(g,m,p),!a(b)||u(b))return b;throw new f(&quot;Can&#039;t convert object to primitive value&quot;)}return p===void 0&amp;&amp;(p=&quot;number&quot;),s(m,p)}},{&quot;../internals/function-call&quot;:264,&quot;../internals/get-method&quot;:273,&quot;../internals/is-object&quot;:289,&quot;../internals/is-symbol&quot;:292,&quot;../internals/ordinary-to-primitive&quot;:320,&quot;../internals/well-known-symbol&quot;:357}],346:[function(t,n,o){var i=t(&quot;../internals/to-primitive&quot;),a=t(&quot;../internals/is-symbol&quot;);n.exports=function(u){var l=i(u,&quot;string&quot;);return a(l)?l:l+&quot;&quot;}},{&quot;../internals/is-symbol&quot;:292,&quot;../internals/to-primitive&quot;:345}],347:[function(t,n,o){var i={};i[t(&quot;../internals/well-known-symbol&quot;)(&quot;toStringTag&quot;)]=&quot;z&quot;,n.exports=String(i)===&quot;[object z]&quot;},{&quot;../internals/well-known-symbol&quot;:357}],348:[function(t,n,o){var i=t(&quot;../internals/classof&quot;),a=String;n.exports=function(u){if(i(u)===&quot;Symbol&quot;)throw new TypeError(&quot;Cannot convert a Symbol value to a string&quot;);return a(u)}},{&quot;../internals/classof&quot;:236}],349:[function(t,n,o){var i=String;n.exports=function(a){try{return i(a)}catch{return&quot;Object&quot;}}},{}],350:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=0,u=Math.random(),l=i(1 .toString);n.exports=function(s){return&quot;Symbol(&quot;+(s===void 0?&quot;&quot;:s)+&quot;)_&quot;+l(++a+u,36)}},{&quot;../internals/function-uncurry-this&quot;:268}],351:[function(t,n,o){var i=t(&quot;../internals/symbol-constructor-detection&quot;);n.exports=i&amp;&amp;!Symbol.sham&amp;&amp;typeof Symbol.iterator==&quot;symbol&quot;},{&quot;../internals/symbol-constructor-detection&quot;:336}],352:[function(t,n,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/fails&quot;);n.exports=i&amp;&amp;a((function(){return Object.defineProperty((function(){}),&quot;prototype&quot;,{value:42,writable:!1}).prototype!==42}))},{&quot;../internals/descriptors&quot;:247,&quot;../internals/fails&quot;:260}],353:[function(t,n,o){var i=TypeError;n.exports=function(a,u){if(a&lt;u)throw new i(&quot;Not enough arguments&quot;);return a}},{}],354:[function(t,n,o){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/is-callable&quot;),u=i.WeakMap;n.exports=a(u)&amp;&amp;/native code/.test(String(u))},{&quot;../internals/global&quot;:274,&quot;../internals/is-callable&quot;:285}],355:[function(t,n,o){var i=t(&quot;../internals/path&quot;),a=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/well-known-symbol-wrapped&quot;),l=t(&quot;../internals/object-define-property&quot;).f;n.exports=function(s){var d=i.Symbol||(i.Symbol={});a(d,s)||l(d,s,{value:u.f(s)})}},{&quot;../internals/has-own-property&quot;:275,&quot;../internals/object-define-property&quot;:308,&quot;../internals/path&quot;:322,&quot;../internals/well-known-symbol-wrapped&quot;:356}],356:[function(t,n,o){var i=t(&quot;../internals/well-known-symbol&quot;);o.f=i},{&quot;../internals/well-known-symbol&quot;:357}],357:[function(t,n,o){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/shared&quot;),u=t(&quot;../internals/has-own-property&quot;),l=t(&quot;../internals/uid&quot;),s=t(&quot;../internals/symbol-constructor-detection&quot;),d=t(&quot;../internals/use-symbol-as-uid&quot;),f=i.Symbol,h=a(&quot;wks&quot;),m=d?f.for||f:f&amp;&amp;f.withoutSetter||l;n.exports=function(p){return u(h,p)||(h[p]=s&amp;&amp;u(f,p)?f[p]:m(&quot;Symbol.&quot;+p)),h[p]}},{&quot;../internals/global&quot;:274,&quot;../internals/has-own-property&quot;:275,&quot;../internals/shared&quot;:334,&quot;../internals/symbol-constructor-detection&quot;:336,&quot;../internals/uid&quot;:350,&quot;../internals/use-symbol-as-uid&quot;:351}],358:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/array-iteration&quot;).findIndex,u=t(&quot;../internals/add-to-unscopables&quot;),l=!0;&quot;findIndex&quot;in[]&amp;&amp;Array(1).findIndex((function(){l=!1})),i({target:&quot;Array&quot;,proto:!0,forced:l},{findIndex:function(s){return a(this,s,arguments.length&gt;1?arguments[1]:void 0)}}),u(&quot;findIndex&quot;)},{&quot;../internals/add-to-unscopables&quot;:225,&quot;../internals/array-iteration&quot;:229,&quot;../internals/export&quot;:259}],359:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/array-iteration&quot;).find,u=t(&quot;../internals/add-to-unscopables&quot;),l=!0;&quot;find&quot;in[]&amp;&amp;Array(1).find((function(){l=!1})),i({target:&quot;Array&quot;,proto:!0,forced:l},{find:function(s){return a(this,s,arguments.length&gt;1?arguments[1]:void 0)}}),u(&quot;find&quot;)},{&quot;../internals/add-to-unscopables&quot;:225,&quot;../internals/array-iteration&quot;:229,&quot;../internals/export&quot;:259}],360:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/array-includes&quot;).includes,u=t(&quot;../internals/fails&quot;),l=t(&quot;../internals/add-to-unscopables&quot;);i({target:&quot;Array&quot;,proto:!0,forced:u((function(){return!Array(1).includes()}))},{includes:function(s){return a(this,s,arguments.length&gt;1?arguments[1]:void 0)}}),l(&quot;includes&quot;)},{&quot;../internals/add-to-unscopables&quot;:225,&quot;../internals/array-includes&quot;:228,&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260}],361:[function(t,n,o){var i=t(&quot;../internals/to-indexed-object&quot;),a=t(&quot;../internals/add-to-unscopables&quot;),u=t(&quot;../internals/iterators&quot;),l=t(&quot;../internals/internal-state&quot;),s=t(&quot;../internals/object-define-property&quot;).f,d=t(&quot;../internals/iterator-define&quot;),f=t(&quot;../internals/create-iter-result-object&quot;),h=t(&quot;../internals/is-pure&quot;),m=t(&quot;../internals/descriptors&quot;),p=l.set,b=l.getterFor(&quot;Array Iterator&quot;);n.exports=d(Array,&quot;Array&quot;,(function(y,v){p(this,{type:&quot;Array Iterator&quot;,target:i(y),index:0,kind:v})}),(function(){var y=b(this),v=y.target,_=y.kind,C=y.index++;if(!v||C&gt;=v.length)return y.target=void 0,f(void 0,!0);switch(_){case&quot;keys&quot;:return f(C,!1);case&quot;values&quot;:return f(v[C],!1)}return f([C,v[C]],!1)}),&quot;values&quot;);var g=u.Arguments=u.Array;if(a(&quot;keys&quot;),a(&quot;values&quot;),a(&quot;entries&quot;),!h&amp;&amp;m&amp;&amp;g.name!==&quot;values&quot;)try{s(g,&quot;name&quot;,{value:&quot;values&quot;})}catch{}},{&quot;../internals/add-to-unscopables&quot;:225,&quot;../internals/create-iter-result-object&quot;:240,&quot;../internals/descriptors&quot;:247,&quot;../internals/internal-state&quot;:282,&quot;../internals/is-pure&quot;:290,&quot;../internals/iterator-define&quot;:296,&quot;../internals/iterators&quot;:298,&quot;../internals/object-define-property&quot;:308,&quot;../internals/to-indexed-object&quot;:341}],362:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/function-apply&quot;),l=t(&quot;../internals/function-call&quot;),s=t(&quot;../internals/function-uncurry-this&quot;),d=t(&quot;../internals/fails&quot;),f=t(&quot;../internals/is-callable&quot;),h=t(&quot;../internals/is-symbol&quot;),m=t(&quot;../internals/array-slice&quot;),p=t(&quot;../internals/get-json-replacer-function&quot;),b=t(&quot;../internals/symbol-constructor-detection&quot;),g=String,y=a(&quot;JSON&quot;,&quot;stringify&quot;),v=s(/./.exec),_=s(&quot;&quot;.charAt),C=s(&quot;&quot;.charCodeAt),O=s(&quot;&quot;.replace),T=s(1 .toString),V=/[\uD800-\uDFFF]/g,F=/^[\uD800-\uDBFF]$/,H=/^[\uDC00-\uDFFF]$/,W=!b||d((function(){var D=a(&quot;Symbol&quot;)(&quot;stringify detection&quot;);return y([D])!==&quot;[null]&quot;||y({a:D})!==&quot;{}&quot;||y(Object(D))!==&quot;{}&quot;})),K=d((function(){return y(&quot;\uDF06\uD834&quot;)!==&#039;&quot;\\udf06\\ud834&quot;&#039;||y(&quot;\uDEAD&quot;)!==&#039;&quot;\\udead&quot;&#039;})),$=function(D,E){var j=m(arguments),k=p(E);if(f(k)||D!==void 0&amp;&amp;!h(D))return j[1]=function(S,N){if(f(k)&amp;&amp;(N=l(k,this,g(S),N)),!h(N))return N},u(y,null,j)},P=function(D,E,j){var k=_(j,E-1),S=_(j,E+1);return v(F,D)&amp;&amp;!v(H,S)||v(H,D)&amp;&amp;!v(F,k)?&quot;\\u&quot;+T(C(D,0),16):D};y&amp;&amp;i({target:&quot;JSON&quot;,stat:!0,arity:3,forced:W||K},{stringify:function(D,E,j){var k=m(arguments),S=u(W?$:y,null,k);return K&amp;&amp;typeof S==&quot;string&quot;?O(S,V,P):S}})},{&quot;../internals/array-slice&quot;:231,&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/function-apply&quot;:261,&quot;../internals/function-call&quot;:264,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/get-built-in&quot;:269,&quot;../internals/get-json-replacer-function&quot;:272,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-symbol&quot;:292,&quot;../internals/symbol-constructor-detection&quot;:336}],363:[function(t,n,o){t(&quot;../internals/export&quot;)({target:&quot;Number&quot;,stat:!0},{isNaN:function(i){return i!=i}})},{&quot;../internals/export&quot;:259}],364:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/object-assign&quot;);i({target:&quot;Object&quot;,stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},{&quot;../internals/export&quot;:259,&quot;../internals/object-assign&quot;:305}],365:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/symbol-constructor-detection&quot;),u=t(&quot;../internals/fails&quot;),l=t(&quot;../internals/object-get-own-property-symbols&quot;),s=t(&quot;../internals/to-object&quot;);i({target:&quot;Object&quot;,stat:!0,forced:!a||u((function(){l.f(1)}))},{getOwnPropertySymbols:function(d){var f=l.f;return f?f(s(d)):[]}})},{&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/object-get-own-property-symbols&quot;:312,&quot;../internals/symbol-constructor-detection&quot;:336,&quot;../internals/to-object&quot;:344}],366:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/to-object&quot;),u=t(&quot;../internals/object-keys&quot;);i({target:&quot;Object&quot;,stat:!0,forced:t(&quot;../internals/fails&quot;)((function(){u(1)}))},{keys:function(l){return u(a(l))}})},{&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/object-keys&quot;:316,&quot;../internals/to-object&quot;:344}],367:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/object-to-array&quot;).values;i({target:&quot;Object&quot;,stat:!0},{values:function(u){return a(u)}})},{&quot;../internals/export&quot;:259,&quot;../internals/object-to-array&quot;:319}],368:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/a-callable&quot;),l=t(&quot;../internals/new-promise-capability&quot;),s=t(&quot;../internals/perform&quot;),d=t(&quot;../internals/iterate&quot;);i({target:&quot;Promise&quot;,stat:!0,forced:t(&quot;../internals/promise-statics-incorrect-iteration&quot;)},{all:function(f){var h=this,m=l.f(h),p=m.resolve,b=m.reject,g=s((function(){var y=u(h.resolve),v=[],_=0,C=1;d(f,(function(O){var T=_++,V=!1;C++,a(y,h,O).then((function(F){V||(V=!0,v[T]=F,--C||p(v))}),b)})),--C||p(v)}));return g.error&amp;&amp;b(g.value),m.promise}})},{&quot;../internals/a-callable&quot;:222,&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/iterate&quot;:293,&quot;../internals/new-promise-capability&quot;:303,&quot;../internals/perform&quot;:323,&quot;../internals/promise-statics-incorrect-iteration&quot;:327}],369:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/is-pure&quot;),u=t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR,l=t(&quot;../internals/promise-native-constructor&quot;),s=t(&quot;../internals/get-built-in&quot;),d=t(&quot;../internals/is-callable&quot;),f=t(&quot;../internals/define-built-in&quot;),h=l&amp;&amp;l.prototype;if(i({target:&quot;Promise&quot;,proto:!0,forced:u,real:!0},{catch:function(p){return this.then(void 0,p)}}),!a&amp;&amp;d(l)){var m=s(&quot;Promise&quot;).prototype.catch;h.catch!==m&amp;&amp;f(h,&quot;catch&quot;,m,{unsafe:!0})}},{&quot;../internals/define-built-in&quot;:245,&quot;../internals/export&quot;:259,&quot;../internals/get-built-in&quot;:269,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-pure&quot;:290,&quot;../internals/promise-constructor-detection&quot;:324,&quot;../internals/promise-native-constructor&quot;:325}],370:[function(t,n,o){var i,a,u,l=t(&quot;../internals/export&quot;),s=t(&quot;../internals/is-pure&quot;),d=t(&quot;../internals/engine-is-node&quot;),f=t(&quot;../internals/global&quot;),h=t(&quot;../internals/function-call&quot;),m=t(&quot;../internals/define-built-in&quot;),p=t(&quot;../internals/object-set-prototype-of&quot;),b=t(&quot;../internals/set-to-string-tag&quot;),g=t(&quot;../internals/set-species&quot;),y=t(&quot;../internals/a-callable&quot;),v=t(&quot;../internals/is-callable&quot;),_=t(&quot;../internals/is-object&quot;),C=t(&quot;../internals/an-instance&quot;),O=t(&quot;../internals/species-constructor&quot;),T=t(&quot;../internals/task&quot;).set,V=t(&quot;../internals/microtask&quot;),F=t(&quot;../internals/host-report-errors&quot;),H=t(&quot;../internals/perform&quot;),W=t(&quot;../internals/queue&quot;),K=t(&quot;../internals/internal-state&quot;),$=t(&quot;../internals/promise-native-constructor&quot;),P=t(&quot;../internals/promise-constructor-detection&quot;),D=t(&quot;../internals/new-promise-capability&quot;),E=P.CONSTRUCTOR,j=P.REJECTION_EVENT,k=P.SUBCLASSING,S=K.getterFor(&quot;Promise&quot;),N=K.set,M=$&amp;&amp;$.prototype,R=$,B=M,Y=f.TypeError,Z=f.document,ie=f.process,U=D.f,ee=U,z=!!(Z&amp;&amp;Z.createEvent&amp;&amp;f.dispatchEvent),I=function(he){var ue;return!(!_(he)||!v(ue=he.then))&amp;&amp;ue},X=function(he,ue){var ge,xe,pe,ce=ue.value,Ce=ue.state===1,Me=Ce?he.ok:he.fail,Se=he.resolve,Te=he.reject,Qe=he.domain;try{Me?(Ce||(ue.rejection===2&amp;&amp;de(ue),ue.rejection=1),Me===!0?ge=ce:(Qe&amp;&amp;Qe.enter(),ge=Me(ce),Qe&amp;&amp;(Qe.exit(),pe=!0)),ge===he.promise?Te(new Y(&quot;Promise-chain cycle&quot;)):(xe=I(ge))?h(xe,ge,Se,Te):Se(ge)):Te(ce)}catch(Ve){Qe&amp;&amp;!pe&amp;&amp;Qe.exit(),Te(Ve)}},re=function(he,ue){he.notified||(he.notified=!0,V((function(){for(var ge,xe=he.reactions;ge=xe.get();)X(ge,he);he.notified=!1,ue&amp;&amp;!he.rejection&amp;&amp;Q(he)})))},ne=function(he,ue,ge){var xe,pe;z?((xe=Z.createEvent(&quot;Event&quot;)).promise=ue,xe.reason=ge,xe.initEvent(he,!1,!0),f.dispatchEvent(xe)):xe={promise:ue,reason:ge},!j&amp;&amp;(pe=f[&quot;on&quot;+he])?pe(xe):he===&quot;unhandledrejection&quot;&amp;&amp;F(&quot;Unhandled promise rejection&quot;,ge)},Q=function(he){h(T,f,(function(){var ue,ge=he.facade,xe=he.value;if(te(he)&amp;&amp;(ue=H((function(){d?ie.emit(&quot;unhandledRejection&quot;,xe,ge):ne(&quot;unhandledrejection&quot;,ge,xe)})),he.rejection=d||te(he)?2:1,ue.error))throw ue.value}))},te=function(he){return he.rejection!==1&amp;&amp;!he.parent},de=function(he){h(T,f,(function(){var ue=he.facade;d?ie.emit(&quot;rejectionHandled&quot;,ue):ne(&quot;rejectionhandled&quot;,ue,he.value)}))},le=function(he,ue,ge){return function(xe){he(ue,xe,ge)}},se=function(he,ue,ge){he.done||(he.done=!0,ge&amp;&amp;(he=ge),he.value=ue,he.state=2,re(he,!0))},fe=function(he,ue,ge){if(!he.done){he.done=!0,ge&amp;&amp;(he=ge);try{if(he.facade===ue)throw new Y(&quot;Promise can&#039;t be resolved itself&quot;);var xe=I(ue);xe?V((function(){var pe={done:!1};try{h(xe,ue,le(fe,pe,he),le(se,pe,he))}catch(ce){se(pe,ce,he)}})):(he.value=ue,he.state=1,re(he,!1))}catch(pe){se({done:!1},pe,he)}}};if(E&amp;&amp;(B=(R=function(he){C(this,B),y(he),h(i,this);var ue=S(this);try{he(le(fe,ue),le(se,ue))}catch(ge){se(ue,ge)}}).prototype,(i=function(he){N(this,{type:&quot;Promise&quot;,done:!1,notified:!1,parent:!1,reactions:new W,rejection:!1,state:0,value:void 0})}).prototype=m(B,&quot;then&quot;,(function(he,ue){var ge=S(this),xe=U(O(this,R));return ge.parent=!0,xe.ok=!v(he)||he,xe.fail=v(ue)&amp;&amp;ue,xe.domain=d?ie.domain:void 0,ge.state===0?ge.reactions.add(xe):V((function(){X(xe,ge)})),xe.promise})),a=function(){var he=new i,ue=S(he);this.promise=he,this.resolve=le(fe,ue),this.reject=le(se,ue)},D.f=U=function(he){return he===R||he===void 0?new a(he):ee(he)},!s&amp;&amp;v($)&amp;&amp;M!==Object.prototype)){u=M.then,k||m(M,&quot;then&quot;,(function(he,ue){var ge=this;return new R((function(xe,pe){h(u,ge,xe,pe)})).then(he,ue)}),{unsafe:!0});try{delete M.constructor}catch{}p&amp;&amp;p(M,B)}l({global:!0,constructor:!0,wrap:!0,forced:E},{Promise:R}),b(R,&quot;Promise&quot;,!1,!0),g(&quot;Promise&quot;)},{&quot;../internals/a-callable&quot;:222,&quot;../internals/an-instance&quot;:226,&quot;../internals/define-built-in&quot;:245,&quot;../internals/engine-is-node&quot;:254,&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/global&quot;:274,&quot;../internals/host-report-errors&quot;:277,&quot;../internals/internal-state&quot;:282,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-object&quot;:289,&quot;../internals/is-pure&quot;:290,&quot;../internals/microtask&quot;:302,&quot;../internals/new-promise-capability&quot;:303,&quot;../internals/object-set-prototype-of&quot;:318,&quot;../internals/perform&quot;:323,&quot;../internals/promise-constructor-detection&quot;:324,&quot;../internals/promise-native-constructor&quot;:325,&quot;../internals/queue&quot;:328,&quot;../internals/set-species&quot;:330,&quot;../internals/set-to-string-tag&quot;:331,&quot;../internals/species-constructor&quot;:335,&quot;../internals/task&quot;:339}],371:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/is-pure&quot;),u=t(&quot;../internals/promise-native-constructor&quot;),l=t(&quot;../internals/fails&quot;),s=t(&quot;../internals/get-built-in&quot;),d=t(&quot;../internals/is-callable&quot;),f=t(&quot;../internals/species-constructor&quot;),h=t(&quot;../internals/promise-resolve&quot;),m=t(&quot;../internals/define-built-in&quot;),p=u&amp;&amp;u.prototype;if(i({target:&quot;Promise&quot;,proto:!0,real:!0,forced:!!u&amp;&amp;l((function(){p.finally.call({then:function(){}},(function(){}))}))},{finally:function(g){var y=f(this,s(&quot;Promise&quot;)),v=d(g);return this.then(v?function(_){return h(y,g()).then((function(){return _}))}:g,v?function(_){return h(y,g()).then((function(){throw _}))}:g)}}),!a&amp;&amp;d(u)){var b=s(&quot;Promise&quot;).prototype.finally;p.finally!==b&amp;&amp;m(p,&quot;finally&quot;,b,{unsafe:!0})}},{&quot;../internals/define-built-in&quot;:245,&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/get-built-in&quot;:269,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-pure&quot;:290,&quot;../internals/promise-native-constructor&quot;:325,&quot;../internals/promise-resolve&quot;:326,&quot;../internals/species-constructor&quot;:335}],372:[function(t,n,o){t(&quot;../modules/es.promise.constructor&quot;),t(&quot;../modules/es.promise.all&quot;),t(&quot;../modules/es.promise.catch&quot;),t(&quot;../modules/es.promise.race&quot;),t(&quot;../modules/es.promise.reject&quot;),t(&quot;../modules/es.promise.resolve&quot;)},{&quot;../modules/es.promise.all&quot;:368,&quot;../modules/es.promise.catch&quot;:369,&quot;../modules/es.promise.constructor&quot;:370,&quot;../modules/es.promise.race&quot;:373,&quot;../modules/es.promise.reject&quot;:374,&quot;../modules/es.promise.resolve&quot;:375}],373:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/a-callable&quot;),l=t(&quot;../internals/new-promise-capability&quot;),s=t(&quot;../internals/perform&quot;),d=t(&quot;../internals/iterate&quot;);i({target:&quot;Promise&quot;,stat:!0,forced:t(&quot;../internals/promise-statics-incorrect-iteration&quot;)},{race:function(f){var h=this,m=l.f(h),p=m.reject,b=s((function(){var g=u(h.resolve);d(f,(function(y){a(g,h,y).then(m.resolve,p)}))}));return b.error&amp;&amp;p(b.value),m.promise}})},{&quot;../internals/a-callable&quot;:222,&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/iterate&quot;:293,&quot;../internals/new-promise-capability&quot;:303,&quot;../internals/perform&quot;:323,&quot;../internals/promise-statics-incorrect-iteration&quot;:327}],374:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/new-promise-capability&quot;);i({target:&quot;Promise&quot;,stat:!0,forced:t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR},{reject:function(l){var s=u.f(this);return a(s.reject,void 0,l),s.promise}})},{&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/new-promise-capability&quot;:303,&quot;../internals/promise-constructor-detection&quot;:324}],375:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/is-pure&quot;),l=t(&quot;../internals/promise-native-constructor&quot;),s=t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR,d=t(&quot;../internals/promise-resolve&quot;),f=a(&quot;Promise&quot;),h=u&amp;&amp;!s;i({target:&quot;Promise&quot;,stat:!0,forced:u||s},{resolve:function(m){return d(h&amp;&amp;this===f?l:this,m)}})},{&quot;../internals/export&quot;:259,&quot;../internals/get-built-in&quot;:269,&quot;../internals/is-pure&quot;:290,&quot;../internals/promise-constructor-detection&quot;:324,&quot;../internals/promise-native-constructor&quot;:325,&quot;../internals/promise-resolve&quot;:326}],376:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/to-absolute-index&quot;),l=RangeError,s=String.fromCharCode,d=String.fromCodePoint,f=a([].join);i({target:&quot;String&quot;,stat:!0,arity:1,forced:!!d&amp;&amp;d.length!==1},{fromCodePoint:function(h){for(var m,p=[],b=arguments.length,g=0;b&gt;g;){if(m=+arguments[g++],u(m,1114111)!==m)throw new l(m+&quot; is not a valid code point&quot;);p[g]=m&lt;65536?s(m):s(55296+((m-=65536)&gt;&gt;10),m%1024+56320)}return f(p,&quot;&quot;)}})},{&quot;../internals/export&quot;:259,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/to-absolute-index&quot;:340}],377:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/not-a-regexp&quot;),l=t(&quot;../internals/require-object-coercible&quot;),s=t(&quot;../internals/to-string&quot;),d=t(&quot;../internals/correct-is-regexp-logic&quot;),f=a(&quot;&quot;.indexOf);i({target:&quot;String&quot;,proto:!0,forced:!d(&quot;includes&quot;)},{includes:function(h){return!!~f(s(l(this)),s(u(h)),arguments.length&gt;1?arguments[1]:void 0)}})},{&quot;../internals/correct-is-regexp-logic&quot;:238,&quot;../internals/export&quot;:259,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/not-a-regexp&quot;:304,&quot;../internals/require-object-coercible&quot;:329,&quot;../internals/to-string&quot;:348}],378:[function(t,n,o){t(&quot;../internals/well-known-symbol-define&quot;)(&quot;asyncIterator&quot;)},{&quot;../internals/well-known-symbol-define&quot;:355}],379:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/global&quot;),u=t(&quot;../internals/function-call&quot;),l=t(&quot;../internals/function-uncurry-this&quot;),s=t(&quot;../internals/is-pure&quot;),d=t(&quot;../internals/descriptors&quot;),f=t(&quot;../internals/symbol-constructor-detection&quot;),h=t(&quot;../internals/fails&quot;),m=t(&quot;../internals/has-own-property&quot;),p=t(&quot;../internals/object-is-prototype-of&quot;),b=t(&quot;../internals/an-object&quot;),g=t(&quot;../internals/to-indexed-object&quot;),y=t(&quot;../internals/to-property-key&quot;),v=t(&quot;../internals/to-string&quot;),_=t(&quot;../internals/create-property-descriptor&quot;),C=t(&quot;../internals/object-create&quot;),O=t(&quot;../internals/object-keys&quot;),T=t(&quot;../internals/object-get-own-property-names&quot;),V=t(&quot;../internals/object-get-own-property-names-external&quot;),F=t(&quot;../internals/object-get-own-property-symbols&quot;),H=t(&quot;../internals/object-get-own-property-descriptor&quot;),W=t(&quot;../internals/object-define-property&quot;),K=t(&quot;../internals/object-define-properties&quot;),$=t(&quot;../internals/object-property-is-enumerable&quot;),P=t(&quot;../internals/define-built-in&quot;),D=t(&quot;../internals/define-built-in-accessor&quot;),E=t(&quot;../internals/shared&quot;),j=t(&quot;../internals/shared-key&quot;),k=t(&quot;../internals/hidden-keys&quot;),S=t(&quot;../internals/uid&quot;),N=t(&quot;../internals/well-known-symbol&quot;),M=t(&quot;../internals/well-known-symbol-wrapped&quot;),R=t(&quot;../internals/well-known-symbol-define&quot;),B=t(&quot;../internals/symbol-define-to-primitive&quot;),Y=t(&quot;../internals/set-to-string-tag&quot;),Z=t(&quot;../internals/internal-state&quot;),ie=t(&quot;../internals/array-iteration&quot;).forEach,U=j(&quot;hidden&quot;),ee=Z.set,z=Z.getterFor(&quot;Symbol&quot;),I=Object.prototype,X=a.Symbol,re=X&amp;&amp;X.prototype,ne=a.RangeError,Q=a.TypeError,te=a.QObject,de=H.f,le=W.f,se=V.f,fe=$.f,he=l([].push),ue=E(&quot;symbols&quot;),ge=E(&quot;op-symbols&quot;),xe=E(&quot;wks&quot;),pe=!te||!te.prototype||!te.prototype.findChild,ce=function(He,ze,Ze){var et=de(I,ze);et&amp;&amp;delete I[ze],le(He,ze,Ze),et&amp;&amp;He!==I&amp;&amp;le(I,ze,et)},Ce=d&amp;&amp;h((function(){return C(le({},&quot;a&quot;,{get:function(){return le(this,&quot;a&quot;,{value:7}).a}})).a!==7}))?ce:le,Me=function(He,ze){var Ze=ue[He]=C(re);return ee(Ze,{type:&quot;Symbol&quot;,tag:He,description:ze}),d||(Ze.description=ze),Ze},Se=function(He,ze,Ze){He===I&amp;&amp;Se(ge,ze,Ze),b(He);var et=y(ze);return b(Ze),m(ue,et)?(Ze.enumerable?(m(He,U)&amp;&amp;He[U][et]&amp;&amp;(He[U][et]=!1),Ze=C(Ze,{enumerable:_(0,!1)})):(m(He,U)||le(He,U,_(1,{})),He[U][et]=!0),Ce(He,et,Ze)):le(He,et,Ze)},Te=function(He,ze){b(He);var Ze=g(ze),et=O(Ze).concat(tt(Ze));return ie(et,(function(Je){d&amp;&amp;!u(Qe,Ze,Je)||Se(He,Je,Ze[Je])})),He},Qe=function(He){var ze=y(He),Ze=u(fe,this,ze);return!(this===I&amp;&amp;m(ue,ze)&amp;&amp;!m(ge,ze))&amp;&amp;(!(Ze||!m(this,ze)||!m(ue,ze)||m(this,U)&amp;&amp;this[U][ze])||Ze)},Ve=function(He,ze){var Ze=g(He),et=y(ze);if(Ze!==I||!m(ue,et)||m(ge,et)){var Je=de(Ze,et);return!Je||!m(ue,et)||m(Ze,U)&amp;&amp;Ze[U][et]||(Je.enumerable=!0),Je}},Xe=function(He){var ze=se(g(He)),Ze=[];return ie(ze,(function(et){m(ue,et)||m(k,et)||he(Ze,et)})),Ze},tt=function(He){var ze=He===I,Ze=se(ze?ge:g(He)),et=[];return ie(Ze,(function(Je){!m(ue,Je)||ze&amp;&amp;!m(I,Je)||he(et,ue[Je])})),et};f||(P(re=(X=function(){if(p(re,this))throw new Q(&quot;Symbol is not a constructor&quot;);var He=arguments.length&amp;&amp;arguments[0]!==void 0?v(arguments[0]):void 0,ze=S(He),Ze=function(et){this===I&amp;&amp;u(Ze,ge,et),m(this,U)&amp;&amp;m(this[U],ze)&amp;&amp;(this[U][ze]=!1);var Je=_(1,et);try{Ce(this,ze,Je)}catch(It){if(!(It instanceof ne))throw It;ce(this,ze,Je)}};return d&amp;&amp;pe&amp;&amp;Ce(I,ze,{configurable:!0,set:Ze}),Me(ze,He)}).prototype,&quot;toString&quot;,(function(){return z(this).tag})),P(X,&quot;withoutSetter&quot;,(function(He){return Me(S(He),He)})),$.f=Qe,W.f=Se,K.f=Te,H.f=Ve,T.f=V.f=Xe,F.f=tt,M.f=function(He){return Me(N(He),He)},d&amp;&amp;(D(re,&quot;description&quot;,{configurable:!0,get:function(){return z(this).description}}),s||P(I,&quot;propertyIsEnumerable&quot;,Qe,{unsafe:!0}))),i({global:!0,constructor:!0,wrap:!0,forced:!f,sham:!f},{Symbol:X}),ie(O(xe),(function(He){R(He)})),i({target:&quot;Symbol&quot;,stat:!0,forced:!f},{useSetter:function(){pe=!0},useSimple:function(){pe=!1}}),i({target:&quot;Object&quot;,stat:!0,forced:!f,sham:!d},{create:function(He,ze){return ze===void 0?C(He):Te(C(He),ze)},defineProperty:Se,defineProperties:Te,getOwnPropertyDescriptor:Ve}),i({target:&quot;Object&quot;,stat:!0,forced:!f},{getOwnPropertyNames:Xe}),B(),Y(X,&quot;Symbol&quot;),k[U]=!0},{&quot;../internals/an-object&quot;:227,&quot;../internals/array-iteration&quot;:229,&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/define-built-in&quot;:245,&quot;../internals/define-built-in-accessor&quot;:244,&quot;../internals/descriptors&quot;:247,&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/function-call&quot;:264,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/global&quot;:274,&quot;../internals/has-own-property&quot;:275,&quot;../internals/hidden-keys&quot;:276,&quot;../internals/internal-state&quot;:282,&quot;../internals/is-pure&quot;:290,&quot;../internals/object-create&quot;:306,&quot;../internals/object-define-properties&quot;:307,&quot;../internals/object-define-property&quot;:308,&quot;../internals/object-get-own-property-descriptor&quot;:309,&quot;../internals/object-get-own-property-names&quot;:311,&quot;../internals/object-get-own-property-names-external&quot;:310,&quot;../internals/object-get-own-property-symbols&quot;:312,&quot;../internals/object-is-prototype-of&quot;:314,&quot;../internals/object-keys&quot;:316,&quot;../internals/object-property-is-enumerable&quot;:317,&quot;../internals/set-to-string-tag&quot;:331,&quot;../internals/shared&quot;:334,&quot;../internals/shared-key&quot;:332,&quot;../internals/symbol-constructor-detection&quot;:336,&quot;../internals/symbol-define-to-primitive&quot;:337,&quot;../internals/to-indexed-object&quot;:341,&quot;../internals/to-property-key&quot;:346,&quot;../internals/to-string&quot;:348,&quot;../internals/uid&quot;:350,&quot;../internals/well-known-symbol&quot;:357,&quot;../internals/well-known-symbol-define&quot;:355,&quot;../internals/well-known-symbol-wrapped&quot;:356}],380:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/has-own-property&quot;),l=t(&quot;../internals/to-string&quot;),s=t(&quot;../internals/shared&quot;),d=t(&quot;../internals/symbol-registry-detection&quot;),f=s(&quot;string-to-symbol-registry&quot;),h=s(&quot;symbol-to-string-registry&quot;);i({target:&quot;Symbol&quot;,stat:!0,forced:!d},{for:function(m){var p=l(m);if(u(f,p))return f[p];var b=a(&quot;Symbol&quot;)(p);return f[p]=b,h[b]=p,b}})},{&quot;../internals/export&quot;:259,&quot;../internals/get-built-in&quot;:269,&quot;../internals/has-own-property&quot;:275,&quot;../internals/shared&quot;:334,&quot;../internals/symbol-registry-detection&quot;:338,&quot;../internals/to-string&quot;:348}],381:[function(t,n,o){t(&quot;../modules/es.symbol.constructor&quot;),t(&quot;../modules/es.symbol.for&quot;),t(&quot;../modules/es.symbol.key-for&quot;),t(&quot;../modules/es.json.stringify&quot;),t(&quot;../modules/es.object.get-own-property-symbols&quot;)},{&quot;../modules/es.json.stringify&quot;:362,&quot;../modules/es.object.get-own-property-symbols&quot;:365,&quot;../modules/es.symbol.constructor&quot;:379,&quot;../modules/es.symbol.for&quot;:380,&quot;../modules/es.symbol.key-for&quot;:382}],382:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/is-symbol&quot;),l=t(&quot;../internals/try-to-string&quot;),s=t(&quot;../internals/shared&quot;),d=t(&quot;../internals/symbol-registry-detection&quot;),f=s(&quot;symbol-to-string-registry&quot;);i({target:&quot;Symbol&quot;,stat:!0,forced:!d},{keyFor:function(h){if(!u(h))throw new TypeError(l(h)+&quot; is not a symbol&quot;);if(a(f,h))return f[h]}})},{&quot;../internals/export&quot;:259,&quot;../internals/has-own-property&quot;:275,&quot;../internals/is-symbol&quot;:292,&quot;../internals/shared&quot;:334,&quot;../internals/symbol-registry-detection&quot;:338,&quot;../internals/try-to-string&quot;:349}],383:[function(t,n,o){function i(a){return Object.prototype.toString.call(a)}o.isArray=function(a){return Array.isArray?Array.isArray(a):i(a)===&quot;[object Array]&quot;},o.isBoolean=function(a){return typeof a==&quot;boolean&quot;},o.isNull=function(a){return a===null},o.isNullOrUndefined=function(a){return a==null},o.isNumber=function(a){return typeof a==&quot;number&quot;},o.isString=function(a){return typeof a==&quot;string&quot;},o.isSymbol=function(a){return typeof a==&quot;symbol&quot;},o.isUndefined=function(a){return a===void 0},o.isRegExp=function(a){return i(a)===&quot;[object RegExp]&quot;},o.isObject=function(a){return typeof a==&quot;object&quot;&amp;&amp;a!==null},o.isDate=function(a){return i(a)===&quot;[object Date]&quot;},o.isError=function(a){return i(a)===&quot;[object Error]&quot;||a instanceof Error},o.isFunction=function(a){return typeof a==&quot;function&quot;},o.isPrimitive=function(a){return a===null||typeof a==&quot;boolean&quot;||typeof a==&quot;number&quot;||typeof a==&quot;string&quot;||typeof a==&quot;symbol&quot;||a===void 0},o.isBuffer=t(&quot;buffer&quot;).Buffer.isBuffer},{buffer:220}],384:[function(t,n,o){(function(i){(function(){var a=t(&quot;elliptic&quot;),u=t(&quot;bn.js&quot;);n.exports=function(f){return new s(f)};var l={secp256k1:{name:&quot;secp256k1&quot;,byteLength:32},secp224r1:{name:&quot;p224&quot;,byteLength:28},prime256v1:{name:&quot;p256&quot;,byteLength:32},prime192v1:{name:&quot;p192&quot;,byteLength:24},ed25519:{name:&quot;ed25519&quot;,byteLength:32},secp384r1:{name:&quot;p384&quot;,byteLength:48},secp521r1:{name:&quot;p521&quot;,byteLength:66}};function s(f){this.curveType=l[f],this.curveType||(this.curveType={name:f}),this.curve=new a.ec(this.curveType.name),this.keys=void 0}function d(f,h,m){Array.isArray(f)||(f=f.toArray());var p=new i(f);if(m&amp;&amp;p.length&lt;m){var b=new i(m-p.length);b.fill(0),p=i.concat([b,p])}return h?p.toString(h):p}l.p224=l.secp224r1,l.p256=l.secp256r1=l.prime256v1,l.p192=l.secp192r1=l.prime192v1,l.p384=l.secp384r1,l.p521=l.secp521r1,s.prototype.generateKeys=function(f,h){return this.keys=this.curve.genKeyPair(),this.getPublicKey(f,h)},s.prototype.computeSecret=function(f,h,m){return h=h||&quot;utf8&quot;,i.isBuffer(f)||(f=new i(f,h)),d(this.curve.keyFromPublic(f).getPublic().mul(this.keys.getPrivate()).getX(),m,this.curveType.byteLength)},s.prototype.getPublicKey=function(f,h){var m=this.keys.getPublic(h===&quot;compressed&quot;,!0);return h===&quot;hybrid&quot;&amp;&amp;(m[m.length-1]%2?m[0]=7:m[0]=6),d(m,f)},s.prototype.getPrivateKey=function(f){return d(this.keys.getPrivate(),f)},s.prototype.setPublicKey=function(f,h){return h=h||&quot;utf8&quot;,i.isBuffer(f)||(f=new i(f,h)),this.keys._importPublic(f),this},s.prototype.setPrivateKey=function(f,h){h=h||&quot;utf8&quot;,i.isBuffer(f)||(f=new i(f,h));var m=new u(f);return m=m.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(m),this}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;bn.js&quot;:385,buffer:220,elliptic:405}],385:[function(t,n,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],386:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;md5.js&quot;),u=t(&quot;ripemd160&quot;),l=t(&quot;sha.js&quot;),s=t(&quot;cipher-base&quot;);function d(f){s.call(this,&quot;digest&quot;),this._hash=f}i(d,s),d.prototype._update=function(f){this._hash.update(f)},d.prototype._final=function(){return this._hash.digest()},n.exports=function(f){return(f=f.toLowerCase())===&quot;md5&quot;?new a:f===&quot;rmd160&quot;||f===&quot;ripemd160&quot;?new u:new d(l(f))}},{&quot;cipher-base&quot;:221,inherits:440,&quot;md5.js&quot;:450,ripemd160:493,&quot;sha.js&quot;:498}],387:[function(t,n,o){var i=t(&quot;md5.js&quot;);n.exports=function(a){return new i().update(a).digest()}},{&quot;md5.js&quot;:450}],388:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;./legacy&quot;),u=t(&quot;cipher-base&quot;),l=t(&quot;safe-buffer&quot;).Buffer,s=t(&quot;create-hash/md5&quot;),d=t(&quot;ripemd160&quot;),f=t(&quot;sha.js&quot;),h=l.alloc(128);function m(p,b){u.call(this,&quot;digest&quot;),typeof b==&quot;string&quot;&amp;&amp;(b=l.from(b));var g=p===&quot;sha512&quot;||p===&quot;sha384&quot;?128:64;this._alg=p,this._key=b,b.length&gt;g?b=(p===&quot;rmd160&quot;?new d:f(p)).update(b).digest():b.length&lt;g&amp;&amp;(b=l.concat([b,h],g));for(var y=this._ipad=l.allocUnsafe(g),v=this._opad=l.allocUnsafe(g),_=0;_&lt;g;_++)y[_]=54^b[_],v[_]=92^b[_];this._hash=p===&quot;rmd160&quot;?new d:f(p),this._hash.update(y)}i(m,u),m.prototype._update=function(p){this._hash.update(p)},m.prototype._final=function(){var p=this._hash.digest();return(this._alg===&quot;rmd160&quot;?new d:f(this._alg)).update(this._opad).update(p).digest()},n.exports=function(p,b){return(p=p.toLowerCase())===&quot;rmd160&quot;||p===&quot;ripemd160&quot;?new m(&quot;rmd160&quot;,b):p===&quot;md5&quot;?new a(s,b):new m(p,b)}},{&quot;./legacy&quot;:389,&quot;cipher-base&quot;:221,&quot;create-hash/md5&quot;:387,inherits:440,ripemd160:493,&quot;safe-buffer&quot;:494,&quot;sha.js&quot;:498}],389:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;),l=a.alloc(128);function s(d,f){u.call(this,&quot;digest&quot;),typeof f==&quot;string&quot;&amp;&amp;(f=a.from(f)),this._alg=d,this._key=f,f.length&gt;64?f=d(f):f.length&lt;64&amp;&amp;(f=a.concat([f,l],64));for(var h=this._ipad=a.allocUnsafe(64),m=this._opad=a.allocUnsafe(64),p=0;p&lt;64;p++)h[p]=54^f[p],m[p]=92^f[p];this._hash=[h]}i(s,u),s.prototype._update=function(d){this._hash.push(d)},s.prototype._final=function(){var d=this._alg(a.concat(this._hash));return this._alg(a.concat([this._opad,d]))},n.exports=s},{&quot;cipher-base&quot;:221,inherits:440,&quot;safe-buffer&quot;:494}],390:[function(t,n,o){o.randomBytes=o.rng=o.pseudoRandomBytes=o.prng=t(&quot;randombytes&quot;),o.createHash=o.Hash=t(&quot;create-hash&quot;),o.createHmac=o.Hmac=t(&quot;create-hmac&quot;);var i=t(&quot;browserify-sign/algos&quot;),a=Object.keys(i),u=[&quot;sha1&quot;,&quot;sha224&quot;,&quot;sha256&quot;,&quot;sha384&quot;,&quot;sha512&quot;,&quot;md5&quot;,&quot;rmd160&quot;].concat(a);o.getHashes=function(){return u};var l=t(&quot;pbkdf2&quot;);o.pbkdf2=l.pbkdf2,o.pbkdf2Sync=l.pbkdf2Sync;var s=t(&quot;browserify-cipher&quot;);o.Cipher=s.Cipher,o.createCipher=s.createCipher,o.Cipheriv=s.Cipheriv,o.createCipheriv=s.createCipheriv,o.Decipher=s.Decipher,o.createDecipher=s.createDecipher,o.Decipheriv=s.Decipheriv,o.createDecipheriv=s.createDecipheriv,o.getCiphers=s.getCiphers,o.listCiphers=s.listCiphers;var d=t(&quot;diffie-hellman&quot;);o.DiffieHellmanGroup=d.DiffieHellmanGroup,o.createDiffieHellmanGroup=d.createDiffieHellmanGroup,o.getDiffieHellman=d.getDiffieHellman,o.createDiffieHellman=d.createDiffieHellman,o.DiffieHellman=d.DiffieHellman;var f=t(&quot;browserify-sign&quot;);o.createSign=f.createSign,o.Sign=f.Sign,o.createVerify=f.createVerify,o.Verify=f.Verify,o.createECDH=t(&quot;create-ecdh&quot;);var h=t(&quot;public-encrypt&quot;);o.publicEncrypt=h.publicEncrypt,o.privateEncrypt=h.privateEncrypt,o.publicDecrypt=h.publicDecrypt,o.privateDecrypt=h.privateDecrypt;var m=t(&quot;randomfill&quot;);o.randomFill=m.randomFill,o.randomFillSync=m.randomFillSync,o.createCredentials=function(){throw new Error([&quot;sorry, createCredentials is not implemented yet&quot;,&quot;we accept pull requests&quot;,&quot;https://github.com/crypto-browserify/crypto-browserify&quot;].join(`
`))},o.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{&quot;browserify-cipher&quot;:206,&quot;browserify-sign&quot;:213,&quot;browserify-sign/algos&quot;:210,&quot;create-ecdh&quot;:384,&quot;create-hash&quot;:386,&quot;create-hmac&quot;:388,&quot;diffie-hellman&quot;:400,pbkdf2:460,&quot;public-encrypt&quot;:468,randombytes:475,randomfill:476}],391:[function(t,n,o){(function(i,a){typeof o==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=a():(i=typeof globalThis&lt;&quot;u&quot;?globalThis:i||self).dayjs=a()})(void 0,(function(){var i=6e4,a=36e5,u=&quot;millisecond&quot;,l=&quot;second&quot;,s=&quot;minute&quot;,d=&quot;hour&quot;,f=&quot;day&quot;,h=&quot;week&quot;,m=&quot;month&quot;,p=&quot;quarter&quot;,b=&quot;year&quot;,g=&quot;date&quot;,y=&quot;Invalid Date&quot;,v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:&quot;en&quot;,weekdays:&quot;Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday&quot;.split(&quot;_&quot;),months:&quot;January_February_March_April_May_June_July_August_September_October_November_December&quot;.split(&quot;_&quot;),ordinal:function(j){var k=[&quot;th&quot;,&quot;st&quot;,&quot;nd&quot;,&quot;rd&quot;],S=j%100;return&quot;[&quot;+j+(k[(S-20)%10]||k[S]||k[0])+&quot;]&quot;}},O=function(j,k,S){var N=String(j);return!N||N.length&gt;=k?j:&quot;&quot;+Array(k+1-N.length).join(S)+j},T={s:O,z:function(j){var k=-j.utcOffset(),S=Math.abs(k),N=Math.floor(S/60),M=S%60;return(k&lt;=0?&quot;+&quot;:&quot;-&quot;)+O(N,2,&quot;0&quot;)+&quot;:&quot;+O(M,2,&quot;0&quot;)},m:function j(k,S){if(k.date()&lt;S.date())return-j(S,k);var N=12*(S.year()-k.year())+(S.month()-k.month()),M=k.clone().add(N,m),R=S-M&lt;0,B=k.clone().add(N+(R?-1:1),m);return+(-(N+(S-M)/(R?M-B:B-M))||0)},a:function(j){return j&lt;0?Math.ceil(j)||0:Math.floor(j)},p:function(j){return{M:m,y:b,w:h,d:f,D:g,h:d,m:s,s:l,ms:u,Q:p}[j]||String(j||&quot;&quot;).toLowerCase().replace(/s$/,&quot;&quot;)},u:function(j){return j===void 0}},V=&quot;en&quot;,F={};F[V]=C;var H=&quot;$isDayjsObject&quot;,W=function(j){return j instanceof D||!(!j||!j[H])},K=function j(k,S,N){var M;if(!k)return V;if(typeof k==&quot;string&quot;){var R=k.toLowerCase();F[R]&amp;&amp;(M=R),S&amp;&amp;(F[R]=S,M=R);var B=k.split(&quot;-&quot;);if(!M&amp;&amp;B.length&gt;1)return j(B[0])}else{var Y=k.name;F[Y]=k,M=Y}return!N&amp;&amp;M&amp;&amp;(V=M),M||!N&amp;&amp;V},$=function(j,k){if(W(j))return j.clone();var S=typeof k==&quot;object&quot;?k:{};return S.date=j,S.args=arguments,new D(S)},P=T;P.l=K,P.i=W,P.w=function(j,k){return $(j,{locale:k.$L,utc:k.$u,x:k.$x,$offset:k.$offset})};var D=(function(){function j(S){this.$L=K(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[H]=!0}var k=j.prototype;return k.parse=function(S){this.$d=(function(N){var M=N.date,R=N.utc;if(M===null)return new Date(NaN);if(P.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M==&quot;string&quot;&amp;&amp;!/Z$/i.test(M)){var B=M.match(v);if(B){var Y=B[2]-1||0,Z=(B[7]||&quot;0&quot;).substring(0,3);return R?new Date(Date.UTC(B[1],Y,B[3]||1,B[4]||0,B[5]||0,B[6]||0,Z)):new Date(B[1],Y,B[3]||1,B[4]||0,B[5]||0,B[6]||0,Z)}}return new Date(M)})(S),this.init()},k.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},k.$utils=function(){return P},k.isValid=function(){return this.$d.toString()!==y},k.isSame=function(S,N){var M=$(S);return this.startOf(N)&lt;=M&amp;&amp;M&lt;=this.endOf(N)},k.isAfter=function(S,N){return $(S)&lt;this.startOf(N)},k.isBefore=function(S,N){return this.endOf(N)&lt;$(S)},k.$g=function(S,N,M){return P.u(S)?this[N]:this.set(M,S)},k.unix=function(){return Math.floor(this.valueOf()/1e3)},k.valueOf=function(){return this.$d.getTime()},k.startOf=function(S,N){var M=this,R=!!P.u(N)||N,B=P.p(S),Y=function(re,ne){var Q=P.w(M.$u?Date.UTC(M.$y,ne,re):new Date(M.$y,ne,re),M);return R?Q:Q.endOf(f)},Z=function(re,ne){return P.w(M.toDate()[re].apply(M.toDate(&quot;s&quot;),(R?[0,0,0,0]:[23,59,59,999]).slice(ne)),M)},ie=this.$W,U=this.$M,ee=this.$D,z=&quot;set&quot;+(this.$u?&quot;UTC&quot;:&quot;&quot;);switch(B){case b:return R?Y(1,0):Y(31,11);case m:return R?Y(1,U):Y(0,U+1);case h:var I=this.$locale().weekStart||0,X=(ie&lt;I?ie+7:ie)-I;return Y(R?ee-X:ee+(6-X),U);case f:case g:return Z(z+&quot;Hours&quot;,0);case d:return Z(z+&quot;Minutes&quot;,1);case s:return Z(z+&quot;Seconds&quot;,2);case l:return Z(z+&quot;Milliseconds&quot;,3);default:return this.clone()}},k.endOf=function(S){return this.startOf(S,!1)},k.$set=function(S,N){var M,R=P.p(S),B=&quot;set&quot;+(this.$u?&quot;UTC&quot;:&quot;&quot;),Y=(M={},M[f]=B+&quot;Date&quot;,M[g]=B+&quot;Date&quot;,M[m]=B+&quot;Month&quot;,M[b]=B+&quot;FullYear&quot;,M[d]=B+&quot;Hours&quot;,M[s]=B+&quot;Minutes&quot;,M[l]=B+&quot;Seconds&quot;,M[u]=B+&quot;Milliseconds&quot;,M)[R],Z=R===f?this.$D+(N-this.$W):N;if(R===m||R===b){var ie=this.clone().set(g,1);ie.$d[Y](Z),ie.init(),this.$d=ie.set(g,Math.min(this.$D,ie.daysInMonth())).$d}else Y&amp;&amp;this.$d[Y](Z);return this.init(),this},k.set=function(S,N){return this.clone().$set(S,N)},k.get=function(S){return this[P.p(S)]()},k.add=function(S,N){var M,R=this;S=Number(S);var B=P.p(N),Y=function(U){var ee=$(R);return P.w(ee.date(ee.date()+Math.round(U*S)),R)};if(B===m)return this.set(m,this.$M+S);if(B===b)return this.set(b,this.$y+S);if(B===f)return Y(1);if(B===h)return Y(7);var Z=(M={},M[s]=i,M[d]=a,M[l]=1e3,M)[B]||1,ie=this.$d.getTime()+S*Z;return P.w(ie,this)},k.subtract=function(S,N){return this.add(-1*S,N)},k.format=function(S){var N=this,M=this.$locale();if(!this.isValid())return M.invalidDate||y;var R=S||&quot;YYYY-MM-DDTHH:mm:ssZ&quot;,B=P.z(this),Y=this.$H,Z=this.$m,ie=this.$M,U=M.weekdays,ee=M.months,z=M.meridiem,I=function(ne,Q,te,de){return ne&amp;&amp;(ne[Q]||ne(N,R))||te[Q].slice(0,de)},X=function(ne){return P.s(Y%12||12,ne,&quot;0&quot;)},re=z||function(ne,Q,te){var de=ne&lt;12?&quot;AM&quot;:&quot;PM&quot;;return te?de.toLowerCase():de};return R.replace(_,(function(ne,Q){return Q||(function(te){switch(te){case&quot;YY&quot;:return String(N.$y).slice(-2);case&quot;YYYY&quot;:return P.s(N.$y,4,&quot;0&quot;);case&quot;M&quot;:return ie+1;case&quot;MM&quot;:return P.s(ie+1,2,&quot;0&quot;);case&quot;MMM&quot;:return I(M.monthsShort,ie,ee,3);case&quot;MMMM&quot;:return I(ee,ie);case&quot;D&quot;:return N.$D;case&quot;DD&quot;:return P.s(N.$D,2,&quot;0&quot;);case&quot;d&quot;:return String(N.$W);case&quot;dd&quot;:return I(M.weekdaysMin,N.$W,U,2);case&quot;ddd&quot;:return I(M.weekdaysShort,N.$W,U,3);case&quot;dddd&quot;:return U[N.$W];case&quot;H&quot;:return String(Y);case&quot;HH&quot;:return P.s(Y,2,&quot;0&quot;);case&quot;h&quot;:return X(1);case&quot;hh&quot;:return X(2);case&quot;a&quot;:return re(Y,Z,!0);case&quot;A&quot;:return re(Y,Z,!1);case&quot;m&quot;:return String(Z);case&quot;mm&quot;:return P.s(Z,2,&quot;0&quot;);case&quot;s&quot;:return String(N.$s);case&quot;ss&quot;:return P.s(N.$s,2,&quot;0&quot;);case&quot;SSS&quot;:return P.s(N.$ms,3,&quot;0&quot;);case&quot;Z&quot;:return B}return null})(ne)||B.replace(&quot;:&quot;,&quot;&quot;)}))},k.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},k.diff=function(S,N,M){var R,B=this,Y=P.p(N),Z=$(S),ie=(Z.utcOffset()-this.utcOffset())*i,U=this-Z,ee=function(){return P.m(B,Z)};switch(Y){case b:R=ee()/12;break;case m:R=ee();break;case p:R=ee()/3;break;case h:R=(U-ie)/6048e5;break;case f:R=(U-ie)/864e5;break;case d:R=U/a;break;case s:R=U/i;break;case l:R=U/1e3;break;default:R=U}return M?R:P.a(R)},k.daysInMonth=function(){return this.endOf(m).$D},k.$locale=function(){return F[this.$L]},k.locale=function(S,N){if(!S)return this.$L;var M=this.clone(),R=K(S,N,!0);return R&amp;&amp;(M.$L=R),M},k.clone=function(){return P.w(this.$d,this)},k.toDate=function(){return new Date(this.valueOf())},k.toJSON=function(){return this.isValid()?this.toISOString():null},k.toISOString=function(){return this.$d.toISOString()},k.toString=function(){return this.$d.toUTCString()},j})(),E=D.prototype;return $.prototype=E,[[&quot;$ms&quot;,u],[&quot;$s&quot;,l],[&quot;$m&quot;,s],[&quot;$H&quot;,d],[&quot;$W&quot;,f],[&quot;$M&quot;,m],[&quot;$y&quot;,b],[&quot;$D&quot;,g]].forEach((function(j){E[j[1]]=function(k){return this.$g(k,j[0],j[1])}})),$.extend=function(j,k){return j.$i||(j(k,D,$),j.$i=!0),$},$.locale=K,$.isDayjs=W,$.unix=function(j){return $(1e3*j)},$.en=F[V],$.Ls=F,$.p={},$}))},{}],392:[function(t,n,o){(function(i,a){typeof o==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=a():(i=typeof globalThis&lt;&quot;u&quot;?globalThis:i||self).dayjs_plugin_customParseFormat=a()})(void 0,(function(){var i={LTS:&quot;h:mm:ss A&quot;,LT:&quot;h:mm A&quot;,L:&quot;MM/DD/YYYY&quot;,LL:&quot;MMMM D, YYYY&quot;,LLL:&quot;MMMM D, YYYY h:mm A&quot;,LLLL:&quot;dddd, MMMM D, YYYY h:mm A&quot;},a=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,u=/\d\d/,l=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,d={},f=function(v){return(v=+v)+(v&gt;68?1900:2e3)},h=function(v){return function(_){this[v]=+_}},m=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=(function(_){if(!_||_===&quot;Z&quot;)return 0;var C=_.match(/([+-]|\d\d)/g),O=60*C[1]+(+C[2]||0);return O===0?0:C[0]===&quot;+&quot;?-O:O})(v)}],p=function(v){var _=d[v];return _&amp;&amp;(_.indexOf?_:_.s.concat(_.f))},b=function(v,_){var C,O=d.meridiem;if(O){for(var T=1;T&lt;=24;T+=1)if(v.indexOf(O(T,0,_))&gt;-1){C=T&gt;12;break}}else C=v===(_?&quot;pm&quot;:&quot;PM&quot;);return C},g={A:[s,function(v){this.afternoon=b(v,!1)}],a:[s,function(v){this.afternoon=b(v,!0)}],S:[/\d/,function(v){this.milliseconds=100*+v}],SS:[u,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[l,h(&quot;seconds&quot;)],ss:[l,h(&quot;seconds&quot;)],m:[l,h(&quot;minutes&quot;)],mm:[l,h(&quot;minutes&quot;)],H:[l,h(&quot;hours&quot;)],h:[l,h(&quot;hours&quot;)],HH:[l,h(&quot;hours&quot;)],hh:[l,h(&quot;hours&quot;)],D:[l,h(&quot;day&quot;)],DD:[u,h(&quot;day&quot;)],Do:[s,function(v){var _=d.ordinal,C=v.match(/\d+/);if(this.day=C[0],_)for(var O=1;O&lt;=31;O+=1)_(O).replace(/\[|\]/g,&quot;&quot;)===v&amp;&amp;(this.day=O)}],M:[l,h(&quot;month&quot;)],MM:[u,h(&quot;month&quot;)],MMM:[s,function(v){var _=p(&quot;months&quot;),C=(p(&quot;monthsShort&quot;)||_.map((function(O){return O.slice(0,3)}))).indexOf(v)+1;if(C&lt;1)throw new Error;this.month=C%12||C}],MMMM:[s,function(v){var _=p(&quot;months&quot;).indexOf(v)+1;if(_&lt;1)throw new Error;this.month=_%12||_}],Y:[/[+-]?\d+/,h(&quot;year&quot;)],YY:[u,function(v){this.year=f(v)}],YYYY:[/\d{4}/,h(&quot;year&quot;)],Z:m,ZZ:m};function y(v){var _,C;_=v,C=d&amp;&amp;d.formats;for(var O=(v=_.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function($,P,D){var E=D&amp;&amp;D.toUpperCase();return P||C[D]||i[D]||C[E].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(j,k,S){return k||S.slice(1)}))}))).match(a),T=O.length,V=0;V&lt;T;V+=1){var F=O[V],H=g[F],W=H&amp;&amp;H[0],K=H&amp;&amp;H[1];O[V]=K?{regex:W,parser:K}:F.replace(/^\[|\]$/g,&quot;&quot;)}return function($){for(var P={},D=0,E=0;D&lt;T;D+=1){var j=O[D];if(typeof j==&quot;string&quot;)E+=j.length;else{var k=j.regex,S=j.parser,N=$.slice(E),M=k.exec(N)[0];S.call(P,M),$=$.replace(M,&quot;&quot;)}}return(function(R){var B=R.afternoon;if(B!==void 0){var Y=R.hours;B?Y&lt;12&amp;&amp;(R.hours+=12):Y===12&amp;&amp;(R.hours=0),delete R.afternoon}})(P),P}}return function(v,_,C){C.p.customParseFormat=!0,v&amp;&amp;v.parseTwoDigitYear&amp;&amp;(f=v.parseTwoDigitYear);var O=_.prototype,T=O.parse;O.parse=function(V){var F=V.date,H=V.utc,W=V.args;this.$u=H;var K=W[1];if(typeof K==&quot;string&quot;){var $=W[2]===!0,P=W[3]===!0,D=$||P,E=W[2];P&amp;&amp;(E=W[2]),d=this.$locale(),!$&amp;&amp;E&amp;&amp;(d=C.Ls[E]),this.$d=(function(N,M,R){try{if([&quot;x&quot;,&quot;X&quot;].indexOf(M)&gt;-1)return new Date((M===&quot;X&quot;?1e3:1)*N);var B=y(M)(N),Y=B.year,Z=B.month,ie=B.day,U=B.hours,ee=B.minutes,z=B.seconds,I=B.milliseconds,X=B.zone,re=new Date,ne=ie||(Y||Z?1:re.getDate()),Q=Y||re.getFullYear(),te=0;Y&amp;&amp;!Z||(te=Z&gt;0?Z-1:re.getMonth());var de=U||0,le=ee||0,se=z||0,fe=I||0;return X?new Date(Date.UTC(Q,te,ne,de,le,se,fe+60*X.offset*1e3)):R?new Date(Date.UTC(Q,te,ne,de,le,se,fe)):new Date(Q,te,ne,de,le,se,fe)}catch{return new Date(&quot;&quot;)}})(F,K,H),this.init(),E&amp;&amp;E!==!0&amp;&amp;(this.$L=this.locale(E).$L),D&amp;&amp;F!=this.format(K)&amp;&amp;(this.$d=new Date(&quot;&quot;)),d={}}else if(K instanceof Array)for(var j=K.length,k=1;k&lt;=j;k+=1){W[1]=K[k-1];var S=C.apply(this,W);if(S.isValid()){this.$d=S.$d,this.$L=S.$L,this.init();break}k===j&amp;&amp;(this.$d=new Date(&quot;&quot;))}else T.call(this,V)}}}))},{}],393:[function(t,n,o){(function(i,a){typeof o==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=a():(i=typeof globalThis&lt;&quot;u&quot;?globalThis:i||self).dayjs_plugin_utc=a()})(void 0,(function(){var i=&quot;minute&quot;,a=/[+-]\d\d(?::?\d\d)?/g,u=/([+-]|\d\d)/g;return function(l,s,d){var f=s.prototype;d.utc=function(v){var _={date:v,utc:!0,args:arguments};return new s(_)},f.utc=function(v){var _=d(this.toDate(),{locale:this.$L,utc:!0});return v?_.add(this.utcOffset(),i):_},f.local=function(){return d(this.toDate(),{locale:this.$L,utc:!1})};var h=f.parse;f.parse=function(v){v.utc&amp;&amp;(this.$u=!0),this.$utils().u(v.$offset)||(this.$offset=v.$offset),h.call(this,v)};var m=f.init;f.init=function(){if(this.$u){var v=this.$d;this.$y=v.getUTCFullYear(),this.$M=v.getUTCMonth(),this.$D=v.getUTCDate(),this.$W=v.getUTCDay(),this.$H=v.getUTCHours(),this.$m=v.getUTCMinutes(),this.$s=v.getUTCSeconds(),this.$ms=v.getUTCMilliseconds()}else m.call(this)};var p=f.utcOffset;f.utcOffset=function(v,_){var C=this.$utils().u;if(C(v))return this.$u?0:C(this.$offset)?p.call(this):this.$offset;if(typeof v==&quot;string&quot;&amp;&amp;(v=(function(F){F===void 0&amp;&amp;(F=&quot;&quot;);var H=F.match(a);if(!H)return null;var W=(&quot;&quot;+H[0]).match(u)||[&quot;-&quot;,0,0],K=W[0],$=60*+W[1]+ +W[2];return $===0?0:K===&quot;+&quot;?$:-$})(v))===null)return this;var O=Math.abs(v)&lt;=16?60*v:v,T=this;if(_)return T.$offset=O,T.$u=v===0,T;if(v!==0){var V=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(T=this.local().add(O+V,i)).$offset=O,T.$x.$localOffset=V}else T=this.utc();return T};var b=f.format;f.format=function(v){var _=v||(this.$u?&quot;YYYY-MM-DDTHH:mm:ss[Z]&quot;:&quot;&quot;);return b.call(this,_)},f.valueOf=function(){var v=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*v},f.isUTC=function(){return!!this.$u},f.toISOString=function(){return this.toDate().toISOString()},f.toString=function(){return this.toDate().toUTCString()};var g=f.toDate;f.toDate=function(v){return v===&quot;s&quot;&amp;&amp;this.$offset?d(this.format(&quot;YYYY-MM-DD HH:mm:ss:SSS&quot;)).toDate():g.call(this)};var y=f.diff;f.diff=function(v,_,C){if(v&amp;&amp;this.$u===v.$u)return y.call(this,v,_,C);var O=this.local(),T=d(v).local();return y.call(O,T,_,C)}}}))},{}],394:[function(t,n,o){o.utils=t(&quot;./des/utils&quot;),o.Cipher=t(&quot;./des/cipher&quot;),o.DES=t(&quot;./des/des&quot;),o.CBC=t(&quot;./des/cbc&quot;),o.EDE=t(&quot;./des/ede&quot;)},{&quot;./des/cbc&quot;:395,&quot;./des/cipher&quot;:396,&quot;./des/des&quot;:397,&quot;./des/ede&quot;:398,&quot;./des/utils&quot;:399}],395:[function(t,n,o){var i=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;),u={};function l(s){i.equal(s.length,8,&quot;Invalid IV length&quot;),this.iv=new Array(8);for(var d=0;d&lt;this.iv.length;d++)this.iv[d]=s[d]}o.instantiate=function(s){function d(p){s.call(this,p),this._cbcInit()}a(d,s);for(var f=Object.keys(u),h=0;h&lt;f.length;h++){var m=f[h];d.prototype[m]=u[m]}return d.create=function(p){return new d(p)},d},u._cbcInit=function(){var s=new l(this.options.iv);this._cbcState=s},u._update=function(s,d,f,h){var m=this._cbcState,p=this.constructor.super_.prototype,b=m.iv;if(this.type===&quot;encrypt&quot;){for(var g=0;g&lt;this.blockSize;g++)b[g]^=s[d+g];for(p._update.call(this,b,0,f,h),g=0;g&lt;this.blockSize;g++)b[g]=f[h+g]}else{for(p._update.call(this,s,d,f,h),g=0;g&lt;this.blockSize;g++)f[h+g]^=b[g];for(g=0;g&lt;this.blockSize;g++)b[g]=s[d+g]}}},{inherits:440,&quot;minimalistic-assert&quot;:453}],396:[function(t,n,o){var i=t(&quot;minimalistic-assert&quot;);function a(u){this.options=u,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=u.padding!==!1}n.exports=a,a.prototype._init=function(){},a.prototype.update=function(u){return u.length===0?[]:this.type===&quot;decrypt&quot;?this._updateDecrypt(u):this._updateEncrypt(u)},a.prototype._buffer=function(u,l){for(var s=Math.min(this.buffer.length-this.bufferOff,u.length-l),d=0;d&lt;s;d++)this.buffer[this.bufferOff+d]=u[l+d];return this.bufferOff+=s,s},a.prototype._flushBuffer=function(u,l){return this._update(this.buffer,0,u,l),this.bufferOff=0,this.blockSize},a.prototype._updateEncrypt=function(u){var l=0,s=0,d=(this.bufferOff+u.length)/this.blockSize|0,f=new Array(d*this.blockSize);this.bufferOff!==0&amp;&amp;(l+=this._buffer(u,l),this.bufferOff===this.buffer.length&amp;&amp;(s+=this._flushBuffer(f,s)));for(var h=u.length-(u.length-l)%this.blockSize;l&lt;h;l+=this.blockSize)this._update(u,l,f,s),s+=this.blockSize;for(;l&lt;u.length;l++,this.bufferOff++)this.buffer[this.bufferOff]=u[l];return f},a.prototype._updateDecrypt=function(u){for(var l=0,s=0,d=Math.ceil((this.bufferOff+u.length)/this.blockSize)-1,f=new Array(d*this.blockSize);d&gt;0;d--)l+=this._buffer(u,l),s+=this._flushBuffer(f,s);return l+=this._buffer(u,l),f},a.prototype.final=function(u){var l,s;return u&amp;&amp;(l=this.update(u)),s=this.type===&quot;encrypt&quot;?this._finalEncrypt():this._finalDecrypt(),l?l.concat(s):s},a.prototype._pad=function(u,l){if(l===0)return!1;for(;l&lt;u.length;)u[l++]=0;return!0},a.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var u=new Array(this.blockSize);return this._update(this.buffer,0,u,0),u},a.prototype._unpad=function(u){return u},a.prototype._finalDecrypt=function(){i.equal(this.bufferOff,this.blockSize,&quot;Not enough data to decrypt&quot;);var u=new Array(this.blockSize);return this._flushBuffer(u,0),this._unpad(u)}},{&quot;minimalistic-assert&quot;:453}],397:[function(t,n,o){var i=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;),u=t(&quot;./utils&quot;),l=t(&quot;./cipher&quot;);function s(){this.tmp=new Array(2),this.keys=null}function d(h){l.call(this,h);var m=new s;this._desState=m,this.deriveKeys(m,h.key)}a(d,l),n.exports=d,d.create=function(h){return new d(h)};var f=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];d.prototype.deriveKeys=function(h,m){h.keys=new Array(32),i.equal(m.length,this.blockSize,&quot;Invalid key length&quot;);var p=u.readUInt32BE(m,0),b=u.readUInt32BE(m,4);u.pc1(p,b,h.tmp,0),p=h.tmp[0],b=h.tmp[1];for(var g=0;g&lt;h.keys.length;g+=2){var y=f[g&gt;&gt;&gt;1];p=u.r28shl(p,y),b=u.r28shl(b,y),u.pc2(p,b,h.keys,g)}},d.prototype._update=function(h,m,p,b){var g=this._desState,y=u.readUInt32BE(h,m),v=u.readUInt32BE(h,m+4);u.ip(y,v,g.tmp,0),y=g.tmp[0],v=g.tmp[1],this.type===&quot;encrypt&quot;?this._encrypt(g,y,v,g.tmp,0):this._decrypt(g,y,v,g.tmp,0),y=g.tmp[0],v=g.tmp[1],u.writeUInt32BE(p,y,b),u.writeUInt32BE(p,v,b+4)},d.prototype._pad=function(h,m){if(this.padding===!1)return!1;for(var p=h.length-m,b=m;b&lt;h.length;b++)h[b]=p;return!0},d.prototype._unpad=function(h){if(this.padding===!1)return h;for(var m=h[h.length-1],p=h.length-m;p&lt;h.length;p++)i.equal(h[p],m);return h.slice(0,h.length-m)},d.prototype._encrypt=function(h,m,p,b,g){for(var y=m,v=p,_=0;_&lt;h.keys.length;_+=2){var C=h.keys[_],O=h.keys[_+1];u.expand(v,h.tmp,0),C^=h.tmp[0],O^=h.tmp[1];var T=u.substitute(C,O),V=v;v=(y^u.permute(T))&gt;&gt;&gt;0,y=V}u.rip(v,y,b,g)},d.prototype._decrypt=function(h,m,p,b,g){for(var y=p,v=m,_=h.keys.length-2;_&gt;=0;_-=2){var C=h.keys[_],O=h.keys[_+1];u.expand(y,h.tmp,0),C^=h.tmp[0],O^=h.tmp[1];var T=u.substitute(C,O),V=y;y=(v^u.permute(T))&gt;&gt;&gt;0,v=V}u.rip(y,v,b,g)}},{&quot;./cipher&quot;:396,&quot;./utils&quot;:399,inherits:440,&quot;minimalistic-assert&quot;:453}],398:[function(t,n,o){var i=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;),u=t(&quot;./cipher&quot;),l=t(&quot;./des&quot;);function s(f,h){i.equal(h.length,24,&quot;Invalid key length&quot;);var m=h.slice(0,8),p=h.slice(8,16),b=h.slice(16,24);this.ciphers=f===&quot;encrypt&quot;?[l.create({type:&quot;encrypt&quot;,key:m}),l.create({type:&quot;decrypt&quot;,key:p}),l.create({type:&quot;encrypt&quot;,key:b})]:[l.create({type:&quot;decrypt&quot;,key:b}),l.create({type:&quot;encrypt&quot;,key:p}),l.create({type:&quot;decrypt&quot;,key:m})]}function d(f){u.call(this,f);var h=new s(this.type,this.options.key);this._edeState=h}a(d,u),n.exports=d,d.create=function(f){return new d(f)},d.prototype._update=function(f,h,m,p){var b=this._edeState;b.ciphers[0]._update(f,h,m,p),b.ciphers[1]._update(m,p,m,p),b.ciphers[2]._update(m,p,m,p)},d.prototype._pad=l.prototype._pad,d.prototype._unpad=l.prototype._unpad},{&quot;./cipher&quot;:396,&quot;./des&quot;:397,inherits:440,&quot;minimalistic-assert&quot;:453}],399:[function(t,n,o){o.readUInt32BE=function(l,s){return(l[0+s]&lt;&lt;24|l[1+s]&lt;&lt;16|l[2+s]&lt;&lt;8|l[3+s])&gt;&gt;&gt;0},o.writeUInt32BE=function(l,s,d){l[0+d]=s&gt;&gt;&gt;24,l[1+d]=s&gt;&gt;&gt;16&amp;255,l[2+d]=s&gt;&gt;&gt;8&amp;255,l[3+d]=255&amp;s},o.ip=function(l,s,d,f){for(var h=0,m=0,p=6;p&gt;=0;p-=2){for(var b=0;b&lt;=24;b+=8)h&lt;&lt;=1,h|=s&gt;&gt;&gt;b+p&amp;1;for(b=0;b&lt;=24;b+=8)h&lt;&lt;=1,h|=l&gt;&gt;&gt;b+p&amp;1}for(p=6;p&gt;=0;p-=2){for(b=1;b&lt;=25;b+=8)m&lt;&lt;=1,m|=s&gt;&gt;&gt;b+p&amp;1;for(b=1;b&lt;=25;b+=8)m&lt;&lt;=1,m|=l&gt;&gt;&gt;b+p&amp;1}d[f+0]=h&gt;&gt;&gt;0,d[f+1]=m&gt;&gt;&gt;0},o.rip=function(l,s,d,f){for(var h=0,m=0,p=0;p&lt;4;p++)for(var b=24;b&gt;=0;b-=8)h&lt;&lt;=1,h|=s&gt;&gt;&gt;b+p&amp;1,h&lt;&lt;=1,h|=l&gt;&gt;&gt;b+p&amp;1;for(p=4;p&lt;8;p++)for(b=24;b&gt;=0;b-=8)m&lt;&lt;=1,m|=s&gt;&gt;&gt;b+p&amp;1,m&lt;&lt;=1,m|=l&gt;&gt;&gt;b+p&amp;1;d[f+0]=h&gt;&gt;&gt;0,d[f+1]=m&gt;&gt;&gt;0},o.pc1=function(l,s,d,f){for(var h=0,m=0,p=7;p&gt;=5;p--){for(var b=0;b&lt;=24;b+=8)h&lt;&lt;=1,h|=s&gt;&gt;b+p&amp;1;for(b=0;b&lt;=24;b+=8)h&lt;&lt;=1,h|=l&gt;&gt;b+p&amp;1}for(b=0;b&lt;=24;b+=8)h&lt;&lt;=1,h|=s&gt;&gt;b+p&amp;1;for(p=1;p&lt;=3;p++){for(b=0;b&lt;=24;b+=8)m&lt;&lt;=1,m|=s&gt;&gt;b+p&amp;1;for(b=0;b&lt;=24;b+=8)m&lt;&lt;=1,m|=l&gt;&gt;b+p&amp;1}for(b=0;b&lt;=24;b+=8)m&lt;&lt;=1,m|=l&gt;&gt;b+p&amp;1;d[f+0]=h&gt;&gt;&gt;0,d[f+1]=m&gt;&gt;&gt;0},o.r28shl=function(l,s){return l&lt;&lt;s&amp;268435455|l&gt;&gt;&gt;28-s};var i=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];o.pc2=function(l,s,d,f){for(var h=0,m=0,p=i.length&gt;&gt;&gt;1,b=0;b&lt;p;b++)h&lt;&lt;=1,h|=l&gt;&gt;&gt;i[b]&amp;1;for(b=p;b&lt;i.length;b++)m&lt;&lt;=1,m|=s&gt;&gt;&gt;i[b]&amp;1;d[f+0]=h&gt;&gt;&gt;0,d[f+1]=m&gt;&gt;&gt;0},o.expand=function(l,s,d){var f=0,h=0;f=(1&amp;l)&lt;&lt;5|l&gt;&gt;&gt;27;for(var m=23;m&gt;=15;m-=4)f&lt;&lt;=6,f|=l&gt;&gt;&gt;m&amp;63;for(m=11;m&gt;=3;m-=4)h|=l&gt;&gt;&gt;m&amp;63,h&lt;&lt;=6;h|=(31&amp;l)&lt;&lt;1|l&gt;&gt;&gt;31,s[d+0]=f&gt;&gt;&gt;0,s[d+1]=h&gt;&gt;&gt;0};var a=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];o.substitute=function(l,s){for(var d=0,f=0;f&lt;4;f++)d&lt;&lt;=4,d|=a[64*f+(l&gt;&gt;&gt;18-6*f&amp;63)];for(f=0;f&lt;4;f++)d&lt;&lt;=4,d|=a[256+64*f+(s&gt;&gt;&gt;18-6*f&amp;63)];return d&gt;&gt;&gt;0};var u=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];o.permute=function(l){for(var s=0,d=0;d&lt;u.length;d++)s&lt;&lt;=1,s|=l&gt;&gt;&gt;u[d]&amp;1;return s&gt;&gt;&gt;0},o.padSplit=function(l,s,d){for(var f=l.toString(2);f.length&lt;s;)f=&quot;0&quot;+f;for(var h=[],m=0;m&lt;s;m+=d)h.push(f.slice(m,m+d));return h.join(&quot; &quot;)}},{}],400:[function(t,n,o){(function(i){(function(){var a=t(&quot;./lib/generatePrime&quot;),u=t(&quot;./lib/primes.json&quot;),l=t(&quot;./lib/dh&quot;),s={binary:!0,hex:!0,base64:!0};o.DiffieHellmanGroup=o.createDiffieHellmanGroup=o.getDiffieHellman=function(d){var f=new i(u[d].prime,&quot;hex&quot;),h=new i(u[d].gen,&quot;hex&quot;);return new l(f,h)},o.createDiffieHellman=o.DiffieHellman=function d(f,h,m,p){return i.isBuffer(h)||s[h]===void 0?d(f,&quot;binary&quot;,h,m):(h=h||&quot;binary&quot;,p=p||&quot;binary&quot;,m=m||new i([2]),i.isBuffer(m)||(m=new i(m,p)),typeof f==&quot;number&quot;?new l(a(f,m),m,!0):(i.isBuffer(f)||(f=new i(f,h)),new l(f,m,!0)))}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;./lib/dh&quot;:401,&quot;./lib/generatePrime&quot;:402,&quot;./lib/primes.json&quot;:403,buffer:220}],401:[function(t,n,o){(function(i){(function(){var a=t(&quot;bn.js&quot;),u=new(t(&quot;miller-rabin&quot;)),l=new a(24),s=new a(11),d=new a(10),f=new a(3),h=new a(7),m=t(&quot;./generatePrime&quot;),p=t(&quot;randombytes&quot;);function b(C,O){return O=O||&quot;utf8&quot;,i.isBuffer(C)||(C=new i(C,O)),this._pub=new a(C),this}function g(C,O){return O=O||&quot;utf8&quot;,i.isBuffer(C)||(C=new i(C,O)),this._priv=new a(C),this}n.exports=v;var y={};function v(C,O,T){this.setGenerator(O),this.__prime=new a(C),this._prime=a.mont(this.__prime),this._primeLen=C.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,T?(this.setPublicKey=b,this.setPrivateKey=g):this._primeCode=8}function _(C,O){var T=new i(C.toArray());return O?T.toString(O):T}Object.defineProperty(v.prototype,&quot;verifyError&quot;,{enumerable:!0,get:function(){return typeof this._primeCode!=&quot;number&quot;&amp;&amp;(this._primeCode=(function(C,O){var T=O.toString(&quot;hex&quot;),V=[T,C.toString(16)].join(&quot;_&quot;);if(V in y)return y[V];var F,H=0;if(C.isEven()||!m.simpleSieve||!m.fermatTest(C)||!u.test(C))return H+=1,H+=T===&quot;02&quot;||T===&quot;05&quot;?8:4,y[V]=H,H;switch(u.test(C.shrn(1))||(H+=2),T){case&quot;02&quot;:C.mod(l).cmp(s)&amp;&amp;(H+=8);break;case&quot;05&quot;:(F=C.mod(d)).cmp(f)&amp;&amp;F.cmp(h)&amp;&amp;(H+=8);break;default:H+=4}return y[V]=H,H})(this.__prime,this.__gen)),this._primeCode}}),v.prototype.generateKeys=function(){return this._priv||(this._priv=new a(p(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},v.prototype.computeSecret=function(C){var O=(C=(C=new a(C)).toRed(this._prime)).redPow(this._priv).fromRed(),T=new i(O.toArray()),V=this.getPrime();if(T.length&lt;V.length){var F=new i(V.length-T.length);F.fill(0),T=i.concat([F,T])}return T},v.prototype.getPublicKey=function(C){return _(this._pub,C)},v.prototype.getPrivateKey=function(C){return _(this._priv,C)},v.prototype.getPrime=function(C){return _(this.__prime,C)},v.prototype.getGenerator=function(C){return _(this._gen,C)},v.prototype.setGenerator=function(C,O){return O=O||&quot;utf8&quot;,i.isBuffer(C)||(C=new i(C,O)),this.__gen=C,this._gen=new a(C),this}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;./generatePrime&quot;:402,&quot;bn.js&quot;:404,buffer:220,&quot;miller-rabin&quot;:451,randombytes:475}],402:[function(t,n,o){var i=t(&quot;randombytes&quot;);n.exports=C,C.simpleSieve=v,C.fermatTest=_;var a=t(&quot;bn.js&quot;),u=new a(24),l=new(t(&quot;miller-rabin&quot;)),s=new a(1),d=new a(2),f=new a(5),h=(new a(16),new a(8),new a(10)),m=new a(3),p=(new a(7),new a(11)),b=new a(4),g=(new a(12),null);function y(){if(g!==null)return g;var O=[];O[0]=2;for(var T=1,V=3;V&lt;1048576;V+=2){for(var F=Math.ceil(Math.sqrt(V)),H=0;H&lt;T&amp;&amp;O[H]&lt;=F&amp;&amp;V%O[H]!=0;H++);T!==H&amp;&amp;O[H]&lt;=F||(O[T++]=V)}return g=O,O}function v(O){for(var T=y(),V=0;V&lt;T.length;V++)if(O.modn(T[V])===0)return O.cmpn(T[V])===0;return!0}function _(O){var T=a.mont(O);return d.toRed(T).redPow(O.subn(1)).fromRed().cmpn(1)===0}function C(O,T){if(O&lt;16)return new a(T===2||T===5?[140,123]:[140,39]);var V,F;for(T=new a(T);;){for(V=new a(i(Math.ceil(O/8)));V.bitLength()&gt;O;)V.ishrn(1);if(V.isEven()&amp;&amp;V.iadd(s),V.testn(1)||V.iadd(d),T.cmp(d)){if(!T.cmp(f))for(;V.mod(h).cmp(m);)V.iadd(b)}else for(;V.mod(u).cmp(p);)V.iadd(b);if(v(F=V.shrn(1))&amp;&amp;v(V)&amp;&amp;_(F)&amp;&amp;_(V)&amp;&amp;l.test(F)&amp;&amp;l.test(V))return V}}},{&quot;bn.js&quot;:404,&quot;miller-rabin&quot;:451,randombytes:475}],403:[function(t,n,o){n.exports={modp1:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff&quot;},modp2:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff&quot;},modp5:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff&quot;},modp14:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff&quot;},modp15:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff&quot;},modp16:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff&quot;},modp17:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff&quot;},modp18:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff&quot;}}},{}],404:[function(t,n,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],405:[function(t,n,o){var i=o;i.version=t(&quot;../package.json&quot;).version,i.utils=t(&quot;./elliptic/utils&quot;),i.rand=t(&quot;brorand&quot;),i.curve=t(&quot;./elliptic/curve&quot;),i.curves=t(&quot;./elliptic/curves&quot;),i.ec=t(&quot;./elliptic/ec&quot;),i.eddsa=t(&quot;./elliptic/eddsa&quot;)},{&quot;../package.json&quot;:421,&quot;./elliptic/curve&quot;:408,&quot;./elliptic/curves&quot;:411,&quot;./elliptic/ec&quot;:412,&quot;./elliptic/eddsa&quot;:415,&quot;./elliptic/utils&quot;:419,brorand:187}],406:[function(t,n,o){var i=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;),u=a.getNAF,l=a.getJSF,s=a.assert;function d(h,m){this.type=h,this.p=new i(m.p,16),this.red=m.prime?i.red(m.prime):i.mont(this.p),this.zero=new i(0).toRed(this.red),this.one=new i(1).toRed(this.red),this.two=new i(2).toRed(this.red),this.n=m.n&amp;&amp;new i(m.n,16),this.g=m.g&amp;&amp;this.pointFromJSON(m.g,m.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var p=this.n&amp;&amp;this.p.div(this.n);!p||p.cmpn(100)&gt;0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function f(h,m){this.curve=h,this.type=m,this.precomputed=null}n.exports=d,d.prototype.point=function(){throw new Error(&quot;Not implemented&quot;)},d.prototype.validate=function(){throw new Error(&quot;Not implemented&quot;)},d.prototype._fixedNafMul=function(h,m){s(h.precomputed);var p=h._getDoubles(),b=u(m,1,this._bitLength),g=(1&lt;&lt;p.step+1)-(p.step%2==0?2:1);g/=3;var y,v,_=[];for(y=0;y&lt;b.length;y+=p.step){v=0;for(var C=y+p.step-1;C&gt;=y;C--)v=(v&lt;&lt;1)+b[C];_.push(v)}for(var O=this.jpoint(null,null,null),T=this.jpoint(null,null,null),V=g;V&gt;0;V--){for(y=0;y&lt;_.length;y++)(v=_[y])===V?T=T.mixedAdd(p.points[y]):v===-V&amp;&amp;(T=T.mixedAdd(p.points[y].neg()));O=O.add(T)}return O.toP()},d.prototype._wnafMul=function(h,m){var p=4,b=h._getNAFPoints(p);p=b.wnd;for(var g=b.points,y=u(m,p,this._bitLength),v=this.jpoint(null,null,null),_=y.length-1;_&gt;=0;_--){for(var C=0;_&gt;=0&amp;&amp;y[_]===0;_--)C++;if(_&gt;=0&amp;&amp;C++,v=v.dblp(C),_&lt;0)break;var O=y[_];s(O!==0),v=h.type===&quot;affine&quot;?O&gt;0?v.mixedAdd(g[O-1&gt;&gt;1]):v.mixedAdd(g[-O-1&gt;&gt;1].neg()):O&gt;0?v.add(g[O-1&gt;&gt;1]):v.add(g[-O-1&gt;&gt;1].neg())}return h.type===&quot;affine&quot;?v.toP():v},d.prototype._wnafMulAdd=function(h,m,p,b,g){var y,v,_,C=this._wnafT1,O=this._wnafT2,T=this._wnafT3,V=0;for(y=0;y&lt;b;y++){var F=(_=m[y])._getNAFPoints(h);C[y]=F.wnd,O[y]=F.points}for(y=b-1;y&gt;=1;y-=2){var H=y-1,W=y;if(C[H]===1&amp;&amp;C[W]===1){var K=[m[H],null,null,m[W]];m[H].y.cmp(m[W].y)===0?(K[1]=m[H].add(m[W]),K[2]=m[H].toJ().mixedAdd(m[W].neg())):m[H].y.cmp(m[W].y.redNeg())===0?(K[1]=m[H].toJ().mixedAdd(m[W]),K[2]=m[H].add(m[W].neg())):(K[1]=m[H].toJ().mixedAdd(m[W]),K[2]=m[H].toJ().mixedAdd(m[W].neg()));var $=[-3,-1,-5,-7,0,7,5,1,3],P=l(p[H],p[W]);for(V=Math.max(P[0].length,V),T[H]=new Array(V),T[W]=new Array(V),v=0;v&lt;V;v++){var D=0|P[0][v],E=0|P[1][v];T[H][v]=$[3*(D+1)+(E+1)],T[W][v]=0,O[H]=K}}else T[H]=u(p[H],C[H],this._bitLength),T[W]=u(p[W],C[W],this._bitLength),V=Math.max(T[H].length,V),V=Math.max(T[W].length,V)}var j=this.jpoint(null,null,null),k=this._wnafT4;for(y=V;y&gt;=0;y--){for(var S=0;y&gt;=0;){var N=!0;for(v=0;v&lt;b;v++)k[v]=0|T[v][y],k[v]!==0&amp;&amp;(N=!1);if(!N)break;S++,y--}if(y&gt;=0&amp;&amp;S++,j=j.dblp(S),y&lt;0)break;for(v=0;v&lt;b;v++){var M=k[v];M!==0&amp;&amp;(M&gt;0?_=O[v][M-1&gt;&gt;1]:M&lt;0&amp;&amp;(_=O[v][-M-1&gt;&gt;1].neg()),j=_.type===&quot;affine&quot;?j.mixedAdd(_):j.add(_))}}for(y=0;y&lt;b;y++)O[y]=null;return g?j:j.toP()},d.BasePoint=f,f.prototype.eq=function(){throw new Error(&quot;Not implemented&quot;)},f.prototype.validate=function(){return this.curve.validate(this)},d.prototype.decodePoint=function(h,m){h=a.toArray(h,m);var p=this.p.byteLength();if((h[0]===4||h[0]===6||h[0]===7)&amp;&amp;h.length-1==2*p)return h[0]===6?s(h[h.length-1]%2==0):h[0]===7&amp;&amp;s(h[h.length-1]%2==1),this.point(h.slice(1,1+p),h.slice(1+p,1+2*p));if((h[0]===2||h[0]===3)&amp;&amp;h.length-1===p)return this.pointFromX(h.slice(1,1+p),h[0]===3);throw new Error(&quot;Unknown point format&quot;)},f.prototype.encodeCompressed=function(h){return this.encode(h,!0)},f.prototype._encode=function(h){var m=this.curve.p.byteLength(),p=this.getX().toArray(&quot;be&quot;,m);return h?[this.getY().isEven()?2:3].concat(p):[4].concat(p,this.getY().toArray(&quot;be&quot;,m))},f.prototype.encode=function(h,m){return a.encode(this._encode(m),h)},f.prototype.precompute=function(h){if(this.precomputed)return this;var m={doubles:null,naf:null,beta:null};return m.naf=this._getNAFPoints(8),m.doubles=this._getDoubles(4,h),m.beta=this._getBeta(),this.precomputed=m,this},f.prototype._hasDoubles=function(h){if(!this.precomputed)return!1;var m=this.precomputed.doubles;return!!m&amp;&amp;m.points.length&gt;=Math.ceil((h.bitLength()+1)/m.step)},f.prototype._getDoubles=function(h,m){if(this.precomputed&amp;&amp;this.precomputed.doubles)return this.precomputed.doubles;for(var p=[this],b=this,g=0;g&lt;m;g+=h){for(var y=0;y&lt;h;y++)b=b.dbl();p.push(b)}return{step:h,points:p}},f.prototype._getNAFPoints=function(h){if(this.precomputed&amp;&amp;this.precomputed.naf)return this.precomputed.naf;for(var m=[this],p=(1&lt;&lt;h)-1,b=p===1?null:this.dbl(),g=1;g&lt;p;g++)m[g]=m[g-1].add(b);return{wnd:h,points:m}},f.prototype._getBeta=function(){return null},f.prototype.dblp=function(h){for(var m=this,p=0;p&lt;h;p++)m=m.dbl();return m}},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],407:[function(t,n,o){var i=t(&quot;../utils&quot;),a=t(&quot;bn.js&quot;),u=t(&quot;inherits&quot;),l=t(&quot;./base&quot;),s=i.assert;function d(h){this.twisted=(0|h.a)!=1,this.mOneA=this.twisted&amp;&amp;(0|h.a)==-1,this.extended=this.mOneA,l.call(this,&quot;edwards&quot;,h),this.a=new a(h.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new a(h.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new a(h.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|h.c)==1}function f(h,m,p,b,g){l.BasePoint.call(this,h,&quot;projective&quot;),m===null&amp;&amp;p===null&amp;&amp;b===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new a(m,16),this.y=new a(p,16),this.z=b?new a(b,16):this.curve.one,this.t=g&amp;&amp;new a(g,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&amp;&amp;!this.t.red&amp;&amp;(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&amp;&amp;!this.t&amp;&amp;(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}u(d,l),n.exports=d,d.prototype._mulA=function(h){return this.mOneA?h.redNeg():this.a.redMul(h)},d.prototype._mulC=function(h){return this.oneC?h:this.c.redMul(h)},d.prototype.jpoint=function(h,m,p,b){return this.point(h,m,p,b)},d.prototype.pointFromX=function(h,m){(h=new a(h,16)).red||(h=h.toRed(this.red));var p=h.redSqr(),b=this.c2.redSub(this.a.redMul(p)),g=this.one.redSub(this.c2.redMul(this.d).redMul(p)),y=b.redMul(g.redInvm()),v=y.redSqrt();if(v.redSqr().redSub(y).cmp(this.zero)!==0)throw new Error(&quot;invalid point&quot;);var _=v.fromRed().isOdd();return(m&amp;&amp;!_||!m&amp;&amp;_)&amp;&amp;(v=v.redNeg()),this.point(h,v)},d.prototype.pointFromY=function(h,m){(h=new a(h,16)).red||(h=h.toRed(this.red));var p=h.redSqr(),b=p.redSub(this.c2),g=p.redMul(this.d).redMul(this.c2).redSub(this.a),y=b.redMul(g.redInvm());if(y.cmp(this.zero)===0){if(m)throw new Error(&quot;invalid point&quot;);return this.point(this.zero,h)}var v=y.redSqrt();if(v.redSqr().redSub(y).cmp(this.zero)!==0)throw new Error(&quot;invalid point&quot;);return v.fromRed().isOdd()!==m&amp;&amp;(v=v.redNeg()),this.point(v,h)},d.prototype.validate=function(h){if(h.isInfinity())return!0;h.normalize();var m=h.x.redSqr(),p=h.y.redSqr(),b=m.redMul(this.a).redAdd(p),g=this.c2.redMul(this.one.redAdd(this.d.redMul(m).redMul(p)));return b.cmp(g)===0},u(f,l.BasePoint),d.prototype.pointFromJSON=function(h){return f.fromJSON(this,h)},d.prototype.point=function(h,m,p,b){return new f(this,h,m,p,b)},f.fromJSON=function(h,m){return new f(h,m[0],m[1],m[2])},f.prototype.inspect=function(){return this.isInfinity()?&quot;&lt;EC Point Infinity&gt;&quot;:&quot;&lt;EC Point x: &quot;+this.x.fromRed().toString(16,2)+&quot; y: &quot;+this.y.fromRed().toString(16,2)+&quot; z: &quot;+this.z.fromRed().toString(16,2)+&quot;&gt;&quot;},f.prototype.isInfinity=function(){return this.x.cmpn(0)===0&amp;&amp;(this.y.cmp(this.z)===0||this.zOne&amp;&amp;this.y.cmp(this.curve.c)===0)},f.prototype._extDbl=function(){var h=this.x.redSqr(),m=this.y.redSqr(),p=this.z.redSqr();p=p.redIAdd(p);var b=this.curve._mulA(h),g=this.x.redAdd(this.y).redSqr().redISub(h).redISub(m),y=b.redAdd(m),v=y.redSub(p),_=b.redSub(m),C=g.redMul(v),O=y.redMul(_),T=g.redMul(_),V=v.redMul(y);return this.curve.point(C,O,V,T)},f.prototype._projDbl=function(){var h,m,p,b,g,y,v=this.x.redAdd(this.y).redSqr(),_=this.x.redSqr(),C=this.y.redSqr();if(this.curve.twisted){var O=(b=this.curve._mulA(_)).redAdd(C);this.zOne?(h=v.redSub(_).redSub(C).redMul(O.redSub(this.curve.two)),m=O.redMul(b.redSub(C)),p=O.redSqr().redSub(O).redSub(O)):(g=this.z.redSqr(),y=O.redSub(g).redISub(g),h=v.redSub(_).redISub(C).redMul(y),m=O.redMul(b.redSub(C)),p=O.redMul(y))}else b=_.redAdd(C),g=this.curve._mulC(this.z).redSqr(),y=b.redSub(g).redSub(g),h=this.curve._mulC(v.redISub(b)).redMul(y),m=this.curve._mulC(b).redMul(_.redISub(C)),p=b.redMul(y);return this.curve.point(h,m,p)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},f.prototype._extAdd=function(h){var m=this.y.redSub(this.x).redMul(h.y.redSub(h.x)),p=this.y.redAdd(this.x).redMul(h.y.redAdd(h.x)),b=this.t.redMul(this.curve.dd).redMul(h.t),g=this.z.redMul(h.z.redAdd(h.z)),y=p.redSub(m),v=g.redSub(b),_=g.redAdd(b),C=p.redAdd(m),O=y.redMul(v),T=_.redMul(C),V=y.redMul(C),F=v.redMul(_);return this.curve.point(O,T,F,V)},f.prototype._projAdd=function(h){var m,p,b=this.z.redMul(h.z),g=b.redSqr(),y=this.x.redMul(h.x),v=this.y.redMul(h.y),_=this.curve.d.redMul(y).redMul(v),C=g.redSub(_),O=g.redAdd(_),T=this.x.redAdd(this.y).redMul(h.x.redAdd(h.y)).redISub(y).redISub(v),V=b.redMul(C).redMul(T);return this.curve.twisted?(m=b.redMul(O).redMul(v.redSub(this.curve._mulA(y))),p=C.redMul(O)):(m=b.redMul(O).redMul(v.redSub(y)),p=this.curve._mulC(C).redMul(O)),this.curve.point(V,m,p)},f.prototype.add=function(h){return this.isInfinity()?h:h.isInfinity()?this:this.curve.extended?this._extAdd(h):this._projAdd(h)},f.prototype.mul=function(h){return this._hasDoubles(h)?this.curve._fixedNafMul(this,h):this.curve._wnafMul(this,h)},f.prototype.mulAdd=function(h,m,p){return this.curve._wnafMulAdd(1,[this,m],[h,p],2,!1)},f.prototype.jmulAdd=function(h,m,p){return this.curve._wnafMulAdd(1,[this,m],[h,p],2,!0)},f.prototype.normalize=function(){if(this.zOne)return this;var h=this.z.redInvm();return this.x=this.x.redMul(h),this.y=this.y.redMul(h),this.t&amp;&amp;(this.t=this.t.redMul(h)),this.z=this.curve.one,this.zOne=!0,this},f.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&amp;&amp;this.t.redNeg())},f.prototype.getX=function(){return this.normalize(),this.x.fromRed()},f.prototype.getY=function(){return this.normalize(),this.y.fromRed()},f.prototype.eq=function(h){return this===h||this.getX().cmp(h.getX())===0&amp;&amp;this.getY().cmp(h.getY())===0},f.prototype.eqXToP=function(h){var m=h.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(m)===0)return!0;for(var p=h.clone(),b=this.curve.redN.redMul(this.z);;){if(p.iadd(this.curve.n),p.cmp(this.curve.p)&gt;=0)return!1;if(m.redIAdd(b),this.x.cmp(m)===0)return!0}},f.prototype.toP=f.prototype.normalize,f.prototype.mixedAdd=f.prototype.add},{&quot;../utils&quot;:419,&quot;./base&quot;:406,&quot;bn.js&quot;:420,inherits:440}],408:[function(t,n,o){var i=o;i.base=t(&quot;./base&quot;),i.short=t(&quot;./short&quot;),i.mont=t(&quot;./mont&quot;),i.edwards=t(&quot;./edwards&quot;)},{&quot;./base&quot;:406,&quot;./edwards&quot;:407,&quot;./mont&quot;:409,&quot;./short&quot;:410}],409:[function(t,n,o){var i=t(&quot;bn.js&quot;),a=t(&quot;inherits&quot;),u=t(&quot;./base&quot;),l=t(&quot;../utils&quot;);function s(f){u.call(this,&quot;mont&quot;,f),this.a=new i(f.a,16).toRed(this.red),this.b=new i(f.b,16).toRed(this.red),this.i4=new i(4).toRed(this.red).redInvm(),this.two=new i(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function d(f,h,m){u.BasePoint.call(this,f,&quot;projective&quot;),h===null&amp;&amp;m===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new i(h,16),this.z=new i(m,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(s,u),n.exports=s,s.prototype.validate=function(f){var h=f.normalize().x,m=h.redSqr(),p=m.redMul(h).redAdd(m.redMul(this.a)).redAdd(h);return p.redSqrt().redSqr().cmp(p)===0},a(d,u.BasePoint),s.prototype.decodePoint=function(f,h){return this.point(l.toArray(f,h),1)},s.prototype.point=function(f,h){return new d(this,f,h)},s.prototype.pointFromJSON=function(f){return d.fromJSON(this,f)},d.prototype.precompute=function(){},d.prototype._encode=function(){return this.getX().toArray(&quot;be&quot;,this.curve.p.byteLength())},d.fromJSON=function(f,h){return new d(f,h[0],h[1]||f.one)},d.prototype.inspect=function(){return this.isInfinity()?&quot;&lt;EC Point Infinity&gt;&quot;:&quot;&lt;EC Point x: &quot;+this.x.fromRed().toString(16,2)+&quot; z: &quot;+this.z.fromRed().toString(16,2)+&quot;&gt;&quot;},d.prototype.isInfinity=function(){return this.z.cmpn(0)===0},d.prototype.dbl=function(){var f=this.x.redAdd(this.z).redSqr(),h=this.x.redSub(this.z).redSqr(),m=f.redSub(h),p=f.redMul(h),b=m.redMul(h.redAdd(this.curve.a24.redMul(m)));return this.curve.point(p,b)},d.prototype.add=function(){throw new Error(&quot;Not supported on Montgomery curve&quot;)},d.prototype.diffAdd=function(f,h){var m=this.x.redAdd(this.z),p=this.x.redSub(this.z),b=f.x.redAdd(f.z),g=f.x.redSub(f.z).redMul(m),y=b.redMul(p),v=h.z.redMul(g.redAdd(y).redSqr()),_=h.x.redMul(g.redISub(y).redSqr());return this.curve.point(v,_)},d.prototype.mul=function(f){for(var h=f.clone(),m=this,p=this.curve.point(null,null),b=[];h.cmpn(0)!==0;h.iushrn(1))b.push(h.andln(1));for(var g=b.length-1;g&gt;=0;g--)b[g]===0?(m=m.diffAdd(p,this),p=p.dbl()):(p=m.diffAdd(p,this),m=m.dbl());return p},d.prototype.mulAdd=function(){throw new Error(&quot;Not supported on Montgomery curve&quot;)},d.prototype.jumlAdd=function(){throw new Error(&quot;Not supported on Montgomery curve&quot;)},d.prototype.eq=function(f){return this.getX().cmp(f.getX())===0},d.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{&quot;../utils&quot;:419,&quot;./base&quot;:406,&quot;bn.js&quot;:420,inherits:440}],410:[function(t,n,o){var i=t(&quot;../utils&quot;),a=t(&quot;bn.js&quot;),u=t(&quot;inherits&quot;),l=t(&quot;./base&quot;),s=i.assert;function d(m){l.call(this,&quot;short&quot;,m),this.a=new a(m.a,16).toRed(this.red),this.b=new a(m.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(m),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function f(m,p,b,g){l.BasePoint.call(this,m,&quot;affine&quot;),p===null&amp;&amp;b===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(p,16),this.y=new a(b,16),g&amp;&amp;(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function h(m,p,b,g){l.BasePoint.call(this,m,&quot;jacobian&quot;),p===null&amp;&amp;b===null&amp;&amp;g===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(p,16),this.y=new a(b,16),this.z=new a(g,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}u(d,l),n.exports=d,d.prototype._getEndomorphism=function(m){if(this.zeroA&amp;&amp;this.g&amp;&amp;this.n&amp;&amp;this.p.modn(3)===1){var p,b;if(m.beta)p=new a(m.beta,16).toRed(this.red);else{var g=this._getEndoRoots(this.p);p=(p=g[0].cmp(g[1])&lt;0?g[0]:g[1]).toRed(this.red)}if(m.lambda)b=new a(m.lambda,16);else{var y=this._getEndoRoots(this.n);this.g.mul(y[0]).x.cmp(this.g.x.redMul(p))===0?b=y[0]:(b=y[1],s(this.g.mul(b).x.cmp(this.g.x.redMul(p))===0))}return{beta:p,lambda:b,basis:m.basis?m.basis.map((function(v){return{a:new a(v.a,16),b:new a(v.b,16)}})):this._getEndoBasis(b)}}},d.prototype._getEndoRoots=function(m){var p=m===this.p?this.red:a.mont(m),b=new a(2).toRed(p).redInvm(),g=b.redNeg(),y=new a(3).toRed(p).redNeg().redSqrt().redMul(b);return[g.redAdd(y).fromRed(),g.redSub(y).fromRed()]},d.prototype._getEndoBasis=function(m){for(var p,b,g,y,v,_,C,O,T,V=this.n.ushrn(Math.floor(this.n.bitLength()/2)),F=m,H=this.n.clone(),W=new a(1),K=new a(0),$=new a(0),P=new a(1),D=0;F.cmpn(0)!==0;){var E=H.div(F);O=H.sub(E.mul(F)),T=$.sub(E.mul(W));var j=P.sub(E.mul(K));if(!g&amp;&amp;O.cmp(V)&lt;0)p=C.neg(),b=W,g=O.neg(),y=T;else if(g&amp;&amp;++D==2)break;C=O,H=F,F=O,$=W,W=T,P=K,K=j}v=O.neg(),_=T;var k=g.sqr().add(y.sqr());return v.sqr().add(_.sqr()).cmp(k)&gt;=0&amp;&amp;(v=p,_=b),g.negative&amp;&amp;(g=g.neg(),y=y.neg()),v.negative&amp;&amp;(v=v.neg(),_=_.neg()),[{a:g,b:y},{a:v,b:_}]},d.prototype._endoSplit=function(m){var p=this.endo.basis,b=p[0],g=p[1],y=g.b.mul(m).divRound(this.n),v=b.b.neg().mul(m).divRound(this.n),_=y.mul(b.a),C=v.mul(g.a),O=y.mul(b.b),T=v.mul(g.b);return{k1:m.sub(_).sub(C),k2:O.add(T).neg()}},d.prototype.pointFromX=function(m,p){(m=new a(m,16)).red||(m=m.toRed(this.red));var b=m.redSqr().redMul(m).redIAdd(m.redMul(this.a)).redIAdd(this.b),g=b.redSqrt();if(g.redSqr().redSub(b).cmp(this.zero)!==0)throw new Error(&quot;invalid point&quot;);var y=g.fromRed().isOdd();return(p&amp;&amp;!y||!p&amp;&amp;y)&amp;&amp;(g=g.redNeg()),this.point(m,g)},d.prototype.validate=function(m){if(m.inf)return!0;var p=m.x,b=m.y,g=this.a.redMul(p),y=p.redSqr().redMul(p).redIAdd(g).redIAdd(this.b);return b.redSqr().redISub(y).cmpn(0)===0},d.prototype._endoWnafMulAdd=function(m,p,b){for(var g=this._endoWnafT1,y=this._endoWnafT2,v=0;v&lt;m.length;v++){var _=this._endoSplit(p[v]),C=m[v],O=C._getBeta();_.k1.negative&amp;&amp;(_.k1.ineg(),C=C.neg(!0)),_.k2.negative&amp;&amp;(_.k2.ineg(),O=O.neg(!0)),g[2*v]=C,g[2*v+1]=O,y[2*v]=_.k1,y[2*v+1]=_.k2}for(var T=this._wnafMulAdd(1,g,y,2*v,b),V=0;V&lt;2*v;V++)g[V]=null,y[V]=null;return T},u(f,l.BasePoint),d.prototype.point=function(m,p,b){return new f(this,m,p,b)},d.prototype.pointFromJSON=function(m,p){return f.fromJSON(this,m,p)},f.prototype._getBeta=function(){if(this.curve.endo){var m=this.precomputed;if(m&amp;&amp;m.beta)return m.beta;var p=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(m){var b=this.curve,g=function(y){return b.point(y.x.redMul(b.endo.beta),y.y)};m.beta=p,p.precomputed={beta:null,naf:m.naf&amp;&amp;{wnd:m.naf.wnd,points:m.naf.points.map(g)},doubles:m.doubles&amp;&amp;{step:m.doubles.step,points:m.doubles.points.map(g)}}}return p}},f.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&amp;&amp;{doubles:this.precomputed.doubles&amp;&amp;{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&amp;&amp;{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},f.fromJSON=function(m,p,b){typeof p==&quot;string&quot;&amp;&amp;(p=JSON.parse(p));var g=m.point(p[0],p[1],b);if(!p[2])return g;function y(_){return m.point(_[0],_[1],b)}var v=p[2];return g.precomputed={beta:null,doubles:v.doubles&amp;&amp;{step:v.doubles.step,points:[g].concat(v.doubles.points.map(y))},naf:v.naf&amp;&amp;{wnd:v.naf.wnd,points:[g].concat(v.naf.points.map(y))}},g},f.prototype.inspect=function(){return this.isInfinity()?&quot;&lt;EC Point Infinity&gt;&quot;:&quot;&lt;EC Point x: &quot;+this.x.fromRed().toString(16,2)+&quot; y: &quot;+this.y.fromRed().toString(16,2)+&quot;&gt;&quot;},f.prototype.isInfinity=function(){return this.inf},f.prototype.add=function(m){if(this.inf)return m;if(m.inf)return this;if(this.eq(m))return this.dbl();if(this.neg().eq(m))return this.curve.point(null,null);if(this.x.cmp(m.x)===0)return this.curve.point(null,null);var p=this.y.redSub(m.y);p.cmpn(0)!==0&amp;&amp;(p=p.redMul(this.x.redSub(m.x).redInvm()));var b=p.redSqr().redISub(this.x).redISub(m.x),g=p.redMul(this.x.redSub(b)).redISub(this.y);return this.curve.point(b,g)},f.prototype.dbl=function(){if(this.inf)return this;var m=this.y.redAdd(this.y);if(m.cmpn(0)===0)return this.curve.point(null,null);var p=this.curve.a,b=this.x.redSqr(),g=m.redInvm(),y=b.redAdd(b).redIAdd(b).redIAdd(p).redMul(g),v=y.redSqr().redISub(this.x.redAdd(this.x)),_=y.redMul(this.x.redSub(v)).redISub(this.y);return this.curve.point(v,_)},f.prototype.getX=function(){return this.x.fromRed()},f.prototype.getY=function(){return this.y.fromRed()},f.prototype.mul=function(m){return m=new a(m,16),this.isInfinity()?this:this._hasDoubles(m)?this.curve._fixedNafMul(this,m):this.curve.endo?this.curve._endoWnafMulAdd([this],[m]):this.curve._wnafMul(this,m)},f.prototype.mulAdd=function(m,p,b){var g=[this,p],y=[m,b];return this.curve.endo?this.curve._endoWnafMulAdd(g,y):this.curve._wnafMulAdd(1,g,y,2)},f.prototype.jmulAdd=function(m,p,b){var g=[this,p],y=[m,b];return this.curve.endo?this.curve._endoWnafMulAdd(g,y,!0):this.curve._wnafMulAdd(1,g,y,2,!0)},f.prototype.eq=function(m){return this===m||this.inf===m.inf&amp;&amp;(this.inf||this.x.cmp(m.x)===0&amp;&amp;this.y.cmp(m.y)===0)},f.prototype.neg=function(m){if(this.inf)return this;var p=this.curve.point(this.x,this.y.redNeg());if(m&amp;&amp;this.precomputed){var b=this.precomputed,g=function(y){return y.neg()};p.precomputed={naf:b.naf&amp;&amp;{wnd:b.naf.wnd,points:b.naf.points.map(g)},doubles:b.doubles&amp;&amp;{step:b.doubles.step,points:b.doubles.points.map(g)}}}return p},f.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},u(h,l.BasePoint),d.prototype.jpoint=function(m,p,b){return new h(this,m,p,b)},h.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var m=this.z.redInvm(),p=m.redSqr(),b=this.x.redMul(p),g=this.y.redMul(p).redMul(m);return this.curve.point(b,g)},h.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},h.prototype.add=function(m){if(this.isInfinity())return m;if(m.isInfinity())return this;var p=m.z.redSqr(),b=this.z.redSqr(),g=this.x.redMul(p),y=m.x.redMul(b),v=this.y.redMul(p.redMul(m.z)),_=m.y.redMul(b.redMul(this.z)),C=g.redSub(y),O=v.redSub(_);if(C.cmpn(0)===0)return O.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var T=C.redSqr(),V=T.redMul(C),F=g.redMul(T),H=O.redSqr().redIAdd(V).redISub(F).redISub(F),W=O.redMul(F.redISub(H)).redISub(v.redMul(V)),K=this.z.redMul(m.z).redMul(C);return this.curve.jpoint(H,W,K)},h.prototype.mixedAdd=function(m){if(this.isInfinity())return m.toJ();if(m.isInfinity())return this;var p=this.z.redSqr(),b=this.x,g=m.x.redMul(p),y=this.y,v=m.y.redMul(p).redMul(this.z),_=b.redSub(g),C=y.redSub(v);if(_.cmpn(0)===0)return C.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var O=_.redSqr(),T=O.redMul(_),V=b.redMul(O),F=C.redSqr().redIAdd(T).redISub(V).redISub(V),H=C.redMul(V.redISub(F)).redISub(y.redMul(T)),W=this.z.redMul(_);return this.curve.jpoint(F,H,W)},h.prototype.dblp=function(m){if(m===0)return this;if(this.isInfinity())return this;if(!m)return this.dbl();var p;if(this.curve.zeroA||this.curve.threeA){var b=this;for(p=0;p&lt;m;p++)b=b.dbl();return b}var g=this.curve.a,y=this.curve.tinv,v=this.x,_=this.y,C=this.z,O=C.redSqr().redSqr(),T=_.redAdd(_);for(p=0;p&lt;m;p++){var V=v.redSqr(),F=T.redSqr(),H=F.redSqr(),W=V.redAdd(V).redIAdd(V).redIAdd(g.redMul(O)),K=v.redMul(F),$=W.redSqr().redISub(K.redAdd(K)),P=K.redISub($),D=W.redMul(P);D=D.redIAdd(D).redISub(H);var E=T.redMul(C);p+1&lt;m&amp;&amp;(O=O.redMul(H)),v=$,C=E,T=D}return this.curve.jpoint(v,T.redMul(y),C)},h.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},h.prototype._zeroDbl=function(){var m,p,b;if(this.zOne){var g=this.x.redSqr(),y=this.y.redSqr(),v=y.redSqr(),_=this.x.redAdd(y).redSqr().redISub(g).redISub(v);_=_.redIAdd(_);var C=g.redAdd(g).redIAdd(g),O=C.redSqr().redISub(_).redISub(_),T=v.redIAdd(v);T=(T=T.redIAdd(T)).redIAdd(T),m=O,p=C.redMul(_.redISub(O)).redISub(T),b=this.y.redAdd(this.y)}else{var V=this.x.redSqr(),F=this.y.redSqr(),H=F.redSqr(),W=this.x.redAdd(F).redSqr().redISub(V).redISub(H);W=W.redIAdd(W);var K=V.redAdd(V).redIAdd(V),$=K.redSqr(),P=H.redIAdd(H);P=(P=P.redIAdd(P)).redIAdd(P),m=$.redISub(W).redISub(W),p=K.redMul(W.redISub(m)).redISub(P),b=(b=this.y.redMul(this.z)).redIAdd(b)}return this.curve.jpoint(m,p,b)},h.prototype._threeDbl=function(){var m,p,b;if(this.zOne){var g=this.x.redSqr(),y=this.y.redSqr(),v=y.redSqr(),_=this.x.redAdd(y).redSqr().redISub(g).redISub(v);_=_.redIAdd(_);var C=g.redAdd(g).redIAdd(g).redIAdd(this.curve.a),O=C.redSqr().redISub(_).redISub(_);m=O;var T=v.redIAdd(v);T=(T=T.redIAdd(T)).redIAdd(T),p=C.redMul(_.redISub(O)).redISub(T),b=this.y.redAdd(this.y)}else{var V=this.z.redSqr(),F=this.y.redSqr(),H=this.x.redMul(F),W=this.x.redSub(V).redMul(this.x.redAdd(V));W=W.redAdd(W).redIAdd(W);var K=H.redIAdd(H),$=(K=K.redIAdd(K)).redAdd(K);m=W.redSqr().redISub($),b=this.y.redAdd(this.z).redSqr().redISub(F).redISub(V);var P=F.redSqr();P=(P=(P=P.redIAdd(P)).redIAdd(P)).redIAdd(P),p=W.redMul(K.redISub(m)).redISub(P)}return this.curve.jpoint(m,p,b)},h.prototype._dbl=function(){var m=this.curve.a,p=this.x,b=this.y,g=this.z,y=g.redSqr().redSqr(),v=p.redSqr(),_=b.redSqr(),C=v.redAdd(v).redIAdd(v).redIAdd(m.redMul(y)),O=p.redAdd(p),T=(O=O.redIAdd(O)).redMul(_),V=C.redSqr().redISub(T.redAdd(T)),F=T.redISub(V),H=_.redSqr();H=(H=(H=H.redIAdd(H)).redIAdd(H)).redIAdd(H);var W=C.redMul(F).redISub(H),K=b.redAdd(b).redMul(g);return this.curve.jpoint(V,W,K)},h.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var m=this.x.redSqr(),p=this.y.redSqr(),b=this.z.redSqr(),g=p.redSqr(),y=m.redAdd(m).redIAdd(m),v=y.redSqr(),_=this.x.redAdd(p).redSqr().redISub(m).redISub(g),C=(_=(_=(_=_.redIAdd(_)).redAdd(_).redIAdd(_)).redISub(v)).redSqr(),O=g.redIAdd(g);O=(O=(O=O.redIAdd(O)).redIAdd(O)).redIAdd(O);var T=y.redIAdd(_).redSqr().redISub(v).redISub(C).redISub(O),V=p.redMul(T);V=(V=V.redIAdd(V)).redIAdd(V);var F=this.x.redMul(C).redISub(V);F=(F=F.redIAdd(F)).redIAdd(F);var H=this.y.redMul(T.redMul(O.redISub(T)).redISub(_.redMul(C)));H=(H=(H=H.redIAdd(H)).redIAdd(H)).redIAdd(H);var W=this.z.redAdd(_).redSqr().redISub(b).redISub(C);return this.curve.jpoint(F,H,W)},h.prototype.mul=function(m,p){return m=new a(m,p),this.curve._wnafMul(this,m)},h.prototype.eq=function(m){if(m.type===&quot;affine&quot;)return this.eq(m.toJ());if(this===m)return!0;var p=this.z.redSqr(),b=m.z.redSqr();if(this.x.redMul(b).redISub(m.x.redMul(p)).cmpn(0)!==0)return!1;var g=p.redMul(this.z),y=b.redMul(m.z);return this.y.redMul(y).redISub(m.y.redMul(g)).cmpn(0)===0},h.prototype.eqXToP=function(m){var p=this.z.redSqr(),b=m.toRed(this.curve.red).redMul(p);if(this.x.cmp(b)===0)return!0;for(var g=m.clone(),y=this.curve.redN.redMul(p);;){if(g.iadd(this.curve.n),g.cmp(this.curve.p)&gt;=0)return!1;if(b.redIAdd(y),this.x.cmp(b)===0)return!0}},h.prototype.inspect=function(){return this.isInfinity()?&quot;&lt;EC JPoint Infinity&gt;&quot;:&quot;&lt;EC JPoint x: &quot;+this.x.toString(16,2)+&quot; y: &quot;+this.y.toString(16,2)+&quot; z: &quot;+this.z.toString(16,2)+&quot;&gt;&quot;},h.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},{&quot;../utils&quot;:419,&quot;./base&quot;:406,&quot;bn.js&quot;:420,inherits:440}],411:[function(t,n,o){var i,a=o,u=t(&quot;hash.js&quot;),l=t(&quot;./curve&quot;),s=t(&quot;./utils&quot;).assert;function d(h){h.type===&quot;short&quot;?this.curve=new l.short(h):h.type===&quot;edwards&quot;?this.curve=new l.edwards(h):this.curve=new l.mont(h),this.g=this.curve.g,this.n=this.curve.n,this.hash=h.hash,s(this.g.validate(),&quot;Invalid curve&quot;),s(this.g.mul(this.n).isInfinity(),&quot;Invalid curve, G*N != O&quot;)}function f(h,m){Object.defineProperty(a,h,{configurable:!0,enumerable:!0,get:function(){var p=new d(m);return Object.defineProperty(a,h,{configurable:!0,enumerable:!0,value:p}),p}})}a.PresetCurve=d,f(&quot;p192&quot;,{type:&quot;short&quot;,prime:&quot;p192&quot;,p:&quot;ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff&quot;,a:&quot;ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc&quot;,b:&quot;64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1&quot;,n:&quot;ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831&quot;,hash:u.sha256,gRed:!1,g:[&quot;188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012&quot;,&quot;07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811&quot;]}),f(&quot;p224&quot;,{type:&quot;short&quot;,prime:&quot;p224&quot;,p:&quot;ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001&quot;,a:&quot;ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe&quot;,b:&quot;b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4&quot;,n:&quot;ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d&quot;,hash:u.sha256,gRed:!1,g:[&quot;b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21&quot;,&quot;bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34&quot;]}),f(&quot;p256&quot;,{type:&quot;short&quot;,prime:null,p:&quot;ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff&quot;,a:&quot;ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc&quot;,b:&quot;5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b&quot;,n:&quot;ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551&quot;,hash:u.sha256,gRed:!1,g:[&quot;6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296&quot;,&quot;4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5&quot;]}),f(&quot;p384&quot;,{type:&quot;short&quot;,prime:null,p:&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff&quot;,a:&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc&quot;,b:&quot;b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef&quot;,n:&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973&quot;,hash:u.sha384,gRed:!1,g:[&quot;aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7&quot;,&quot;3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f&quot;]}),f(&quot;p521&quot;,{type:&quot;short&quot;,prime:null,p:&quot;000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff&quot;,a:&quot;000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc&quot;,b:&quot;00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00&quot;,n:&quot;000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409&quot;,hash:u.sha512,gRed:!1,g:[&quot;000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66&quot;,&quot;00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650&quot;]}),f(&quot;curve25519&quot;,{type:&quot;mont&quot;,prime:&quot;p25519&quot;,p:&quot;7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed&quot;,a:&quot;76d06&quot;,b:&quot;1&quot;,n:&quot;1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed&quot;,hash:u.sha256,gRed:!1,g:[&quot;9&quot;]}),f(&quot;ed25519&quot;,{type:&quot;edwards&quot;,prime:&quot;p25519&quot;,p:&quot;7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed&quot;,a:&quot;-1&quot;,c:&quot;1&quot;,d:&quot;52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3&quot;,n:&quot;1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed&quot;,hash:u.sha256,gRed:!1,g:[&quot;216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a&quot;,&quot;6666666666666666666666666666666666666666666666666666666666666658&quot;]});try{i=t(&quot;./precomputed/secp256k1&quot;)}catch{i=void 0}f(&quot;secp256k1&quot;,{type:&quot;short&quot;,prime:&quot;k256&quot;,p:&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f&quot;,a:&quot;0&quot;,b:&quot;7&quot;,n:&quot;ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141&quot;,h:&quot;1&quot;,hash:u.sha256,beta:&quot;7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee&quot;,lambda:&quot;5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72&quot;,basis:[{a:&quot;3086d221a7d46bcde86c90e49284eb15&quot;,b:&quot;-e4437ed6010e88286f547fa90abfe4c3&quot;},{a:&quot;114ca50f7a8e2f3f657c1108d9d44cfd8&quot;,b:&quot;3086d221a7d46bcde86c90e49284eb15&quot;}],gRed:!1,g:[&quot;79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798&quot;,&quot;483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8&quot;,i]})},{&quot;./curve&quot;:408,&quot;./precomputed/secp256k1&quot;:418,&quot;./utils&quot;:419,&quot;hash.js&quot;:426}],412:[function(t,n,o){var i=t(&quot;bn.js&quot;),a=t(&quot;hmac-drbg&quot;),u=t(&quot;../utils&quot;),l=t(&quot;../curves&quot;),s=t(&quot;brorand&quot;),d=u.assert,f=t(&quot;./key&quot;),h=t(&quot;./signature&quot;);function m(p){if(!(this instanceof m))return new m(p);typeof p==&quot;string&quot;&amp;&amp;(d(Object.prototype.hasOwnProperty.call(l,p),&quot;Unknown curve &quot;+p),p=l[p]),p instanceof l.PresetCurve&amp;&amp;(p={curve:p}),this.curve=p.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=p.curve.g,this.g.precompute(p.curve.n.bitLength()+1),this.hash=p.hash||p.curve.hash}n.exports=m,m.prototype.keyPair=function(p){return new f(this,p)},m.prototype.keyFromPrivate=function(p,b){return f.fromPrivate(this,p,b)},m.prototype.keyFromPublic=function(p,b){return f.fromPublic(this,p,b)},m.prototype.genKeyPair=function(p){p||(p={});for(var b=new a({hash:this.hash,pers:p.pers,persEnc:p.persEnc||&quot;utf8&quot;,entropy:p.entropy||s(this.hash.hmacStrength),entropyEnc:p.entropy&amp;&amp;p.entropyEnc||&quot;utf8&quot;,nonce:this.n.toArray()}),g=this.n.byteLength(),y=this.n.sub(new i(2));;){var v=new i(b.generate(g));if(!(v.cmp(y)&gt;0))return v.iaddn(1),this.keyFromPrivate(v)}},m.prototype._truncateToN=function(p,b){var g=8*p.byteLength()-this.n.bitLength();return g&gt;0&amp;&amp;(p=p.ushrn(g)),!b&amp;&amp;p.cmp(this.n)&gt;=0?p.sub(this.n):p},m.prototype.sign=function(p,b,g,y){typeof g==&quot;object&quot;&amp;&amp;(y=g,g=null),y||(y={}),b=this.keyFromPrivate(b,g),p=this._truncateToN(new i(p,16));for(var v=this.n.byteLength(),_=b.getPrivate().toArray(&quot;be&quot;,v),C=p.toArray(&quot;be&quot;,v),O=new a({hash:this.hash,entropy:_,nonce:C,pers:y.pers,persEnc:y.persEnc||&quot;utf8&quot;}),T=this.n.sub(new i(1)),V=0;;V++){var F=y.k?y.k(V):new i(O.generate(this.n.byteLength()));if(!((F=this._truncateToN(F,!0)).cmpn(1)&lt;=0||F.cmp(T)&gt;=0)){var H=this.g.mul(F);if(!H.isInfinity()){var W=H.getX(),K=W.umod(this.n);if(K.cmpn(0)!==0){var $=F.invm(this.n).mul(K.mul(b.getPrivate()).iadd(p));if(($=$.umod(this.n)).cmpn(0)!==0){var P=(H.getY().isOdd()?1:0)|(W.cmp(K)!==0?2:0);return y.canonical&amp;&amp;$.cmp(this.nh)&gt;0&amp;&amp;($=this.n.sub($),P^=1),new h({r:K,s:$,recoveryParam:P})}}}}}},m.prototype.verify=function(p,b,g,y){p=this._truncateToN(new i(p,16)),g=this.keyFromPublic(g,y);var v=(b=new h(b,&quot;hex&quot;)).r,_=b.s;if(v.cmpn(1)&lt;0||v.cmp(this.n)&gt;=0||_.cmpn(1)&lt;0||_.cmp(this.n)&gt;=0)return!1;var C,O=_.invm(this.n),T=O.mul(p).umod(this.n),V=O.mul(v).umod(this.n);return this.curve._maxwellTrick?!(C=this.g.jmulAdd(T,g.getPublic(),V)).isInfinity()&amp;&amp;C.eqXToP(v):!(C=this.g.mulAdd(T,g.getPublic(),V)).isInfinity()&amp;&amp;C.getX().umod(this.n).cmp(v)===0},m.prototype.recoverPubKey=function(p,b,g,y){d((3&amp;g)===g,&quot;The recovery param is more than two bits&quot;),b=new h(b,y);var v=this.n,_=new i(p),C=b.r,O=b.s,T=1&amp;g,V=g&gt;&gt;1;if(C.cmp(this.curve.p.umod(this.curve.n))&gt;=0&amp;&amp;V)throw new Error(&quot;Unable to find sencond key candinate&quot;);C=V?this.curve.pointFromX(C.add(this.curve.n),T):this.curve.pointFromX(C,T);var F=b.r.invm(v),H=v.sub(_).mul(F).umod(v),W=O.mul(F).umod(v);return this.g.mulAdd(H,C,W)},m.prototype.getKeyRecoveryParam=function(p,b,g,y){if((b=new h(b,y)).recoveryParam!==null)return b.recoveryParam;for(var v=0;v&lt;4;v++){var _;try{_=this.recoverPubKey(p,b,v)}catch{continue}if(_.eq(g))return v}throw new Error(&quot;Unable to find valid recovery factor&quot;)}},{&quot;../curves&quot;:411,&quot;../utils&quot;:419,&quot;./key&quot;:413,&quot;./signature&quot;:414,&quot;bn.js&quot;:420,brorand:187,&quot;hmac-drbg&quot;:438}],413:[function(t,n,o){var i=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;).assert;function u(l,s){this.ec=l,this.priv=null,this.pub=null,s.priv&amp;&amp;this._importPrivate(s.priv,s.privEnc),s.pub&amp;&amp;this._importPublic(s.pub,s.pubEnc)}n.exports=u,u.fromPublic=function(l,s,d){return s instanceof u?s:new u(l,{pub:s,pubEnc:d})},u.fromPrivate=function(l,s,d){return s instanceof u?s:new u(l,{priv:s,privEnc:d})},u.prototype.validate=function(){var l=this.getPublic();return l.isInfinity()?{result:!1,reason:&quot;Invalid public key&quot;}:l.validate()?l.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:&quot;Public key * N != O&quot;}:{result:!1,reason:&quot;Public key is not a point&quot;}},u.prototype.getPublic=function(l,s){return typeof l==&quot;string&quot;&amp;&amp;(s=l,l=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),s?this.pub.encode(s,l):this.pub},u.prototype.getPrivate=function(l){return l===&quot;hex&quot;?this.priv.toString(16,2):this.priv},u.prototype._importPrivate=function(l,s){this.priv=new i(l,s||16),this.priv=this.priv.umod(this.ec.curve.n)},u.prototype._importPublic=function(l,s){if(l.x||l.y)return this.ec.curve.type===&quot;mont&quot;?a(l.x,&quot;Need x coordinate&quot;):this.ec.curve.type!==&quot;short&quot;&amp;&amp;this.ec.curve.type!==&quot;edwards&quot;||a(l.x&amp;&amp;l.y,&quot;Need both x and y coordinate&quot;),void(this.pub=this.ec.curve.point(l.x,l.y));this.pub=this.ec.curve.decodePoint(l,s)},u.prototype.derive=function(l){return l.validate()||a(l.validate(),&quot;public point not validated&quot;),l.mul(this.priv).getX()},u.prototype.sign=function(l,s,d){return this.ec.sign(l,this,s,d)},u.prototype.verify=function(l,s){return this.ec.verify(l,s,this)},u.prototype.inspect=function(){return&quot;&lt;Key priv: &quot;+(this.priv&amp;&amp;this.priv.toString(16,2))+&quot; pub: &quot;+(this.pub&amp;&amp;this.pub.inspect())+&quot; &gt;&quot;}},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],414:[function(t,n,o){var i=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;),u=a.assert;function l(m,p){if(m instanceof l)return m;this._importDER(m,p)||(u(m.r&amp;&amp;m.s,&quot;Signature without r or s&quot;),this.r=new i(m.r,16),this.s=new i(m.s,16),m.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=m.recoveryParam)}function s(){this.place=0}function d(m,p){var b=m[p.place++];if(!(128&amp;b))return b;var g=15&amp;b;if(g===0||g&gt;4)return!1;for(var y=0,v=0,_=p.place;v&lt;g;v++,_++)y&lt;&lt;=8,y|=m[_],y&gt;&gt;&gt;=0;return!(y&lt;=127)&amp;&amp;(p.place=_,y)}function f(m){for(var p=0,b=m.length-1;!m[p]&amp;&amp;!(128&amp;m[p+1])&amp;&amp;p&lt;b;)p++;return p===0?m:m.slice(p)}function h(m,p){if(p&lt;128)m.push(p);else{var b=1+(Math.log(p)/Math.LN2&gt;&gt;&gt;3);for(m.push(128|b);--b;)m.push(p&gt;&gt;&gt;(b&lt;&lt;3)&amp;255);m.push(p)}}n.exports=l,l.prototype._importDER=function(m,p){m=a.toArray(m,p);var b=new s;if(m[b.place++]!==48)return!1;var g=d(m,b);if(g===!1||g+b.place!==m.length||m[b.place++]!==2)return!1;var y=d(m,b);if(y===!1)return!1;var v=m.slice(b.place,y+b.place);if(b.place+=y,m[b.place++]!==2)return!1;var _=d(m,b);if(_===!1||m.length!==_+b.place)return!1;var C=m.slice(b.place,_+b.place);if(v[0]===0){if(!(128&amp;v[1]))return!1;v=v.slice(1)}if(C[0]===0){if(!(128&amp;C[1]))return!1;C=C.slice(1)}return this.r=new i(v),this.s=new i(C),this.recoveryParam=null,!0},l.prototype.toDER=function(m){var p=this.r.toArray(),b=this.s.toArray();for(128&amp;p[0]&amp;&amp;(p=[0].concat(p)),128&amp;b[0]&amp;&amp;(b=[0].concat(b)),p=f(p),b=f(b);!(b[0]||128&amp;b[1]);)b=b.slice(1);var g=[2];h(g,p.length),(g=g.concat(p)).push(2),h(g,b.length);var y=g.concat(b),v=[48];return h(v,y.length),v=v.concat(y),a.encode(v,m)}},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],415:[function(t,n,o){var i=t(&quot;hash.js&quot;),a=t(&quot;../curves&quot;),u=t(&quot;../utils&quot;),l=u.assert,s=u.parseBytes,d=t(&quot;./key&quot;),f=t(&quot;./signature&quot;);function h(m){if(l(m===&quot;ed25519&quot;,&quot;only tested with ed25519 so far&quot;),!(this instanceof h))return new h(m);m=a[m].curve,this.curve=m,this.g=m.g,this.g.precompute(m.n.bitLength()+1),this.pointClass=m.point().constructor,this.encodingLength=Math.ceil(m.n.bitLength()/8),this.hash=i.sha512}n.exports=h,h.prototype.sign=function(m,p){m=s(m);var b=this.keyFromSecret(p),g=this.hashInt(b.messagePrefix(),m),y=this.g.mul(g),v=this.encodePoint(y),_=this.hashInt(v,b.pubBytes(),m).mul(b.priv()),C=g.add(_).umod(this.curve.n);return this.makeSignature({R:y,S:C,Rencoded:v})},h.prototype.verify=function(m,p,b){m=s(m),p=this.makeSignature(p);var g=this.keyFromPublic(b),y=this.hashInt(p.Rencoded(),g.pubBytes(),m),v=this.g.mul(p.S());return p.R().add(g.pub().mul(y)).eq(v)},h.prototype.hashInt=function(){for(var m=this.hash(),p=0;p&lt;arguments.length;p++)m.update(arguments[p]);return u.intFromLE(m.digest()).umod(this.curve.n)},h.prototype.keyFromPublic=function(m){return d.fromPublic(this,m)},h.prototype.keyFromSecret=function(m){return d.fromSecret(this,m)},h.prototype.makeSignature=function(m){return m instanceof f?m:new f(this,m)},h.prototype.encodePoint=function(m){var p=m.getY().toArray(&quot;le&quot;,this.encodingLength);return p[this.encodingLength-1]|=m.getX().isOdd()?128:0,p},h.prototype.decodePoint=function(m){var p=(m=u.parseBytes(m)).length-1,b=m.slice(0,p).concat(-129&amp;m[p]),g=(128&amp;m[p])!=0,y=u.intFromLE(b);return this.curve.pointFromY(y,g)},h.prototype.encodeInt=function(m){return m.toArray(&quot;le&quot;,this.encodingLength)},h.prototype.decodeInt=function(m){return u.intFromLE(m)},h.prototype.isPoint=function(m){return m instanceof this.pointClass}},{&quot;../curves&quot;:411,&quot;../utils&quot;:419,&quot;./key&quot;:416,&quot;./signature&quot;:417,&quot;hash.js&quot;:426}],416:[function(t,n,o){var i=t(&quot;../utils&quot;),a=i.assert,u=i.parseBytes,l=i.cachedProperty;function s(d,f){this.eddsa=d,this._secret=u(f.secret),d.isPoint(f.pub)?this._pub=f.pub:this._pubBytes=u(f.pub)}s.fromPublic=function(d,f){return f instanceof s?f:new s(d,{pub:f})},s.fromSecret=function(d,f){return f instanceof s?f:new s(d,{secret:f})},s.prototype.secret=function(){return this._secret},l(s,&quot;pubBytes&quot;,(function(){return this.eddsa.encodePoint(this.pub())})),l(s,&quot;pub&quot;,(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),l(s,&quot;privBytes&quot;,(function(){var d=this.eddsa,f=this.hash(),h=d.encodingLength-1,m=f.slice(0,d.encodingLength);return m[0]&amp;=248,m[h]&amp;=127,m[h]|=64,m})),l(s,&quot;priv&quot;,(function(){return this.eddsa.decodeInt(this.privBytes())})),l(s,&quot;hash&quot;,(function(){return this.eddsa.hash().update(this.secret()).digest()})),l(s,&quot;messagePrefix&quot;,(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(d){return a(this._secret,&quot;KeyPair can only verify&quot;),this.eddsa.sign(d,this)},s.prototype.verify=function(d,f){return this.eddsa.verify(d,f,this)},s.prototype.getSecret=function(d){return a(this._secret,&quot;KeyPair is public only&quot;),i.encode(this.secret(),d)},s.prototype.getPublic=function(d){return i.encode(this.pubBytes(),d)},n.exports=s},{&quot;../utils&quot;:419}],417:[function(t,n,o){var i=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;),u=a.assert,l=a.cachedProperty,s=a.parseBytes;function d(f,h){this.eddsa=f,typeof h!=&quot;object&quot;&amp;&amp;(h=s(h)),Array.isArray(h)&amp;&amp;(h={R:h.slice(0,f.encodingLength),S:h.slice(f.encodingLength)}),u(h.R&amp;&amp;h.S,&quot;Signature without R or S&quot;),f.isPoint(h.R)&amp;&amp;(this._R=h.R),h.S instanceof i&amp;&amp;(this._S=h.S),this._Rencoded=Array.isArray(h.R)?h.R:h.Rencoded,this._Sencoded=Array.isArray(h.S)?h.S:h.Sencoded}l(d,&quot;S&quot;,(function(){return this.eddsa.decodeInt(this.Sencoded())})),l(d,&quot;R&quot;,(function(){return this.eddsa.decodePoint(this.Rencoded())})),l(d,&quot;Rencoded&quot;,(function(){return this.eddsa.encodePoint(this.R())})),l(d,&quot;Sencoded&quot;,(function(){return this.eddsa.encodeInt(this.S())})),d.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},d.prototype.toHex=function(){return a.encode(this.toBytes(),&quot;hex&quot;).toUpperCase()},n.exports=d},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],418:[function(t,n,o){n.exports={doubles:{step:4,points:[[&quot;e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a&quot;,&quot;f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821&quot;],[&quot;8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508&quot;,&quot;11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf&quot;],[&quot;175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739&quot;,&quot;d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695&quot;],[&quot;363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640&quot;,&quot;4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9&quot;],[&quot;8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c&quot;,&quot;4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36&quot;],[&quot;723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda&quot;,&quot;96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f&quot;],[&quot;eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa&quot;,&quot;5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999&quot;],[&quot;100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0&quot;,&quot;cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09&quot;],[&quot;e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d&quot;,&quot;9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d&quot;],[&quot;feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d&quot;,&quot;e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088&quot;],[&quot;da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1&quot;,&quot;9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d&quot;],[&quot;53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0&quot;,&quot;5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8&quot;],[&quot;8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047&quot;,&quot;10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a&quot;],[&quot;385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862&quot;,&quot;283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453&quot;],[&quot;6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7&quot;,&quot;7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160&quot;],[&quot;3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd&quot;,&quot;56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0&quot;],[&quot;85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83&quot;,&quot;7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6&quot;],[&quot;948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a&quot;,&quot;53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589&quot;],[&quot;6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8&quot;,&quot;bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17&quot;],[&quot;e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d&quot;,&quot;4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda&quot;],[&quot;e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725&quot;,&quot;7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd&quot;],[&quot;213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754&quot;,&quot;4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2&quot;],[&quot;4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c&quot;,&quot;17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6&quot;],[&quot;fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6&quot;,&quot;6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f&quot;],[&quot;76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39&quot;,&quot;c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01&quot;],[&quot;c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891&quot;,&quot;893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3&quot;],[&quot;d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b&quot;,&quot;febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f&quot;],[&quot;b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03&quot;,&quot;2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7&quot;],[&quot;e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d&quot;,&quot;eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78&quot;],[&quot;a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070&quot;,&quot;7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1&quot;],[&quot;90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4&quot;,&quot;e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150&quot;],[&quot;8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da&quot;,&quot;662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82&quot;],[&quot;e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11&quot;,&quot;1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc&quot;],[&quot;8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e&quot;,&quot;efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b&quot;],[&quot;e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41&quot;,&quot;2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51&quot;],[&quot;b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef&quot;,&quot;67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45&quot;],[&quot;d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8&quot;,&quot;db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120&quot;],[&quot;324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d&quot;,&quot;648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84&quot;],[&quot;4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96&quot;,&quot;35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d&quot;],[&quot;9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd&quot;,&quot;ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d&quot;],[&quot;6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5&quot;,&quot;9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8&quot;],[&quot;a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266&quot;,&quot;40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8&quot;],[&quot;7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71&quot;,&quot;34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac&quot;],[&quot;928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac&quot;,&quot;c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f&quot;],[&quot;85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751&quot;,&quot;1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962&quot;],[&quot;ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e&quot;,&quot;493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907&quot;],[&quot;827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241&quot;,&quot;c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec&quot;],[&quot;eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3&quot;,&quot;be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d&quot;],[&quot;e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f&quot;,&quot;4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414&quot;],[&quot;1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19&quot;,&quot;aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd&quot;],[&quot;146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be&quot;,&quot;b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0&quot;],[&quot;fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9&quot;,&quot;6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811&quot;],[&quot;da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2&quot;,&quot;8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1&quot;],[&quot;a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13&quot;,&quot;7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c&quot;],[&quot;174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c&quot;,&quot;ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73&quot;],[&quot;959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba&quot;,&quot;2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd&quot;],[&quot;d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151&quot;,&quot;e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405&quot;],[&quot;64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073&quot;,&quot;d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589&quot;],[&quot;8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458&quot;,&quot;38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e&quot;],[&quot;13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b&quot;,&quot;69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27&quot;],[&quot;bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366&quot;,&quot;d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1&quot;],[&quot;8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa&quot;,&quot;40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482&quot;],[&quot;8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0&quot;,&quot;620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945&quot;],[&quot;dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787&quot;,&quot;7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573&quot;],[&quot;f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e&quot;,&quot;ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82&quot;]]},naf:{wnd:7,points:[[&quot;f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9&quot;,&quot;388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672&quot;],[&quot;2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4&quot;,&quot;d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6&quot;],[&quot;5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc&quot;,&quot;6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da&quot;],[&quot;acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe&quot;,&quot;cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37&quot;],[&quot;774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb&quot;,&quot;d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b&quot;],[&quot;f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8&quot;,&quot;ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81&quot;],[&quot;d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e&quot;,&quot;581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58&quot;],[&quot;defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34&quot;,&quot;4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77&quot;],[&quot;2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c&quot;,&quot;85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a&quot;],[&quot;352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5&quot;,&quot;321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c&quot;],[&quot;2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f&quot;,&quot;2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67&quot;],[&quot;9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714&quot;,&quot;73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402&quot;],[&quot;daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729&quot;,&quot;a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55&quot;],[&quot;c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db&quot;,&quot;2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482&quot;],[&quot;6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4&quot;,&quot;e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82&quot;],[&quot;1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5&quot;,&quot;b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396&quot;],[&quot;605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479&quot;,&quot;2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49&quot;],[&quot;62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d&quot;,&quot;80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf&quot;],[&quot;80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f&quot;,&quot;1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a&quot;],[&quot;7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb&quot;,&quot;d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7&quot;],[&quot;d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9&quot;,&quot;eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933&quot;],[&quot;49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963&quot;,&quot;758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a&quot;],[&quot;77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74&quot;,&quot;958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6&quot;],[&quot;f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530&quot;,&quot;e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37&quot;],[&quot;463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b&quot;,&quot;5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e&quot;],[&quot;f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247&quot;,&quot;cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6&quot;],[&quot;caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1&quot;,&quot;cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476&quot;],[&quot;2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120&quot;,&quot;4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40&quot;],[&quot;7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435&quot;,&quot;91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61&quot;],[&quot;754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18&quot;,&quot;673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683&quot;],[&quot;e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8&quot;,&quot;59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5&quot;],[&quot;186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb&quot;,&quot;3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b&quot;],[&quot;df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f&quot;,&quot;55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417&quot;],[&quot;5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143&quot;,&quot;efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868&quot;],[&quot;290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba&quot;,&quot;e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a&quot;],[&quot;af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45&quot;,&quot;f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6&quot;],[&quot;766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a&quot;,&quot;744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996&quot;],[&quot;59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e&quot;,&quot;c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e&quot;],[&quot;f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8&quot;,&quot;e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d&quot;],[&quot;7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c&quot;,&quot;30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2&quot;],[&quot;948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519&quot;,&quot;e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e&quot;],[&quot;7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab&quot;,&quot;100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437&quot;],[&quot;3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca&quot;,&quot;ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311&quot;],[&quot;d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf&quot;,&quot;8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4&quot;],[&quot;1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610&quot;,&quot;68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575&quot;],[&quot;733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4&quot;,&quot;f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d&quot;],[&quot;15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c&quot;,&quot;d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d&quot;],[&quot;a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940&quot;,&quot;edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629&quot;],[&quot;e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980&quot;,&quot;a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06&quot;],[&quot;311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3&quot;,&quot;66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374&quot;],[&quot;34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf&quot;,&quot;9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee&quot;],[&quot;f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63&quot;,&quot;4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1&quot;],[&quot;d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448&quot;,&quot;fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b&quot;],[&quot;32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf&quot;,&quot;5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661&quot;],[&quot;7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5&quot;,&quot;8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6&quot;],[&quot;ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6&quot;,&quot;8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e&quot;],[&quot;16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5&quot;,&quot;5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d&quot;],[&quot;eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99&quot;,&quot;f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc&quot;],[&quot;78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51&quot;,&quot;f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4&quot;],[&quot;494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5&quot;,&quot;42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c&quot;],[&quot;a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5&quot;,&quot;204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b&quot;],[&quot;c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997&quot;,&quot;4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913&quot;],[&quot;841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881&quot;,&quot;73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154&quot;],[&quot;5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5&quot;,&quot;39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865&quot;],[&quot;36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66&quot;,&quot;d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc&quot;],[&quot;336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726&quot;,&quot;ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224&quot;],[&quot;8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede&quot;,&quot;6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e&quot;],[&quot;1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94&quot;,&quot;60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6&quot;],[&quot;85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31&quot;,&quot;3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511&quot;],[&quot;29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51&quot;,&quot;b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b&quot;],[&quot;a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252&quot;,&quot;ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2&quot;],[&quot;4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5&quot;,&quot;cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c&quot;],[&quot;d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b&quot;,&quot;6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3&quot;],[&quot;ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4&quot;,&quot;322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d&quot;],[&quot;af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f&quot;,&quot;6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700&quot;],[&quot;e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889&quot;,&quot;2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4&quot;],[&quot;591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246&quot;,&quot;b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196&quot;],[&quot;11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984&quot;,&quot;998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4&quot;],[&quot;3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a&quot;,&quot;b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257&quot;],[&quot;cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030&quot;,&quot;bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13&quot;],[&quot;c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197&quot;,&quot;6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096&quot;],[&quot;c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593&quot;,&quot;c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38&quot;],[&quot;a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef&quot;,&quot;21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f&quot;],[&quot;347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38&quot;,&quot;60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448&quot;],[&quot;da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a&quot;,&quot;49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a&quot;],[&quot;c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111&quot;,&quot;5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4&quot;],[&quot;4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502&quot;,&quot;7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437&quot;],[&quot;3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea&quot;,&quot;be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7&quot;],[&quot;cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26&quot;,&quot;8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d&quot;],[&quot;b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986&quot;,&quot;39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a&quot;],[&quot;d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e&quot;,&quot;62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54&quot;],[&quot;48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4&quot;,&quot;25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77&quot;],[&quot;dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda&quot;,&quot;ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517&quot;],[&quot;6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859&quot;,&quot;cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10&quot;],[&quot;e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f&quot;,&quot;f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125&quot;],[&quot;eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c&quot;,&quot;6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e&quot;],[&quot;13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942&quot;,&quot;fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1&quot;],[&quot;ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a&quot;,&quot;1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2&quot;],[&quot;b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80&quot;,&quot;5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423&quot;],[&quot;ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d&quot;,&quot;438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8&quot;],[&quot;8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1&quot;,&quot;cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758&quot;],[&quot;52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63&quot;,&quot;c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375&quot;],[&quot;e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352&quot;,&quot;6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d&quot;],[&quot;7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193&quot;,&quot;ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec&quot;],[&quot;5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00&quot;,&quot;9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0&quot;],[&quot;32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58&quot;,&quot;ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c&quot;],[&quot;e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7&quot;,&quot;d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4&quot;],[&quot;8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8&quot;,&quot;c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f&quot;],[&quot;4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e&quot;,&quot;67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649&quot;],[&quot;3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d&quot;,&quot;cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826&quot;],[&quot;674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b&quot;,&quot;299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5&quot;],[&quot;d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f&quot;,&quot;f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87&quot;],[&quot;30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6&quot;,&quot;462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b&quot;],[&quot;be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297&quot;,&quot;62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc&quot;],[&quot;93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a&quot;,&quot;7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c&quot;],[&quot;b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c&quot;,&quot;ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f&quot;],[&quot;d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52&quot;,&quot;4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a&quot;],[&quot;d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb&quot;,&quot;bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46&quot;],[&quot;463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065&quot;,&quot;bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f&quot;],[&quot;7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917&quot;,&quot;603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03&quot;],[&quot;74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9&quot;,&quot;cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08&quot;],[&quot;30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3&quot;,&quot;553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8&quot;],[&quot;9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57&quot;,&quot;712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373&quot;],[&quot;176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66&quot;,&quot;ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3&quot;],[&quot;75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8&quot;,&quot;9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8&quot;],[&quot;809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721&quot;,&quot;9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1&quot;],[&quot;1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180&quot;,&quot;4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9&quot;]]}}},{}],419:[function(t,n,o){var i=o,a=t(&quot;bn.js&quot;),u=t(&quot;minimalistic-assert&quot;),l=t(&quot;minimalistic-crypto-utils&quot;);i.assert=u,i.toArray=l.toArray,i.zero2=l.zero2,i.toHex=l.toHex,i.encode=l.encode,i.getNAF=function(s,d,f){var h=new Array(Math.max(s.bitLength(),f)+1);h.fill(0);for(var m=1&lt;&lt;d+1,p=s.clone(),b=0;b&lt;h.length;b++){var g,y=p.andln(m-1);p.isOdd()?(g=y&gt;(m&gt;&gt;1)-1?(m&gt;&gt;1)-y:y,p.isubn(g)):g=0,h[b]=g,p.iushrn(1)}return h},i.getJSF=function(s,d){var f=[[],[]];s=s.clone(),d=d.clone();for(var h,m=0,p=0;s.cmpn(-m)&gt;0||d.cmpn(-p)&gt;0;){var b,g,y=s.andln(3)+m&amp;3,v=d.andln(3)+p&amp;3;y===3&amp;&amp;(y=-1),v===3&amp;&amp;(v=-1),b=(1&amp;y)==0?0:(h=s.andln(7)+m&amp;7)!==3&amp;&amp;h!==5||v!==2?y:-y,f[0].push(b),g=(1&amp;v)==0?0:(h=d.andln(7)+p&amp;7)!==3&amp;&amp;h!==5||y!==2?v:-v,f[1].push(g),2*m===b+1&amp;&amp;(m=1-m),2*p===g+1&amp;&amp;(p=1-p),s.iushrn(1),d.iushrn(1)}return f},i.cachedProperty=function(s,d,f){var h=&quot;_&quot;+d;s.prototype[d]=function(){return this[h]!==void 0?this[h]:this[h]=f.call(this)}},i.parseBytes=function(s){return typeof s==&quot;string&quot;?i.toArray(s,&quot;hex&quot;):s},i.intFromLE=function(s){return new a(s,&quot;hex&quot;,&quot;le&quot;)}},{&quot;bn.js&quot;:420,&quot;minimalistic-assert&quot;:453,&quot;minimalistic-crypto-utils&quot;:454}],420:[function(t,n,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],421:[function(t,n,o){n.exports={name:&quot;elliptic&quot;,version:&quot;6.5.4&quot;,description:&quot;EC cryptography&quot;,main:&quot;lib/elliptic.js&quot;,files:[&quot;lib&quot;],scripts:{lint:&quot;eslint lib test&quot;,&quot;lint:fix&quot;:&quot;npm run lint -- --fix&quot;,unit:&quot;istanbul test _mocha --reporter=spec test/index.js&quot;,test:&quot;npm run lint &amp;&amp; npm run unit&quot;,version:&quot;grunt dist &amp;&amp; git add dist/&quot;},repository:{type:&quot;git&quot;,url:&quot;git@github.com:indutny/elliptic&quot;},keywords:[&quot;EC&quot;,&quot;Elliptic&quot;,&quot;curve&quot;,&quot;Cryptography&quot;],author:&quot;Fedor Indutny &lt;fedor@indutny.com&gt;&quot;,license:&quot;MIT&quot;,bugs:{url:&quot;https://github.com/indutny/elliptic/issues&quot;},homepage:&quot;https://github.com/indutny/elliptic&quot;,devDependencies:{brfs:&quot;^2.0.2&quot;,coveralls:&quot;^3.1.0&quot;,eslint:&quot;^7.6.0&quot;,grunt:&quot;^1.2.1&quot;,&quot;grunt-browserify&quot;:&quot;^5.3.0&quot;,&quot;grunt-cli&quot;:&quot;^1.3.2&quot;,&quot;grunt-contrib-connect&quot;:&quot;^3.0.0&quot;,&quot;grunt-contrib-copy&quot;:&quot;^1.0.0&quot;,&quot;grunt-contrib-uglify&quot;:&quot;^5.0.0&quot;,&quot;grunt-mocha-istanbul&quot;:&quot;^5.0.2&quot;,&quot;grunt-saucelabs&quot;:&quot;^9.0.1&quot;,istanbul:&quot;^0.4.5&quot;,mocha:&quot;^8.0.1&quot;},dependencies:{&quot;bn.js&quot;:&quot;^4.11.9&quot;,brorand:&quot;^1.1.0&quot;,&quot;hash.js&quot;:&quot;^1.0.0&quot;,&quot;hmac-drbg&quot;:&quot;^1.0.1&quot;,inherits:&quot;^2.0.4&quot;,&quot;minimalistic-assert&quot;:&quot;^1.0.1&quot;,&quot;minimalistic-crypto-utils&quot;:&quot;^1.0.1&quot;}}},{}],422:[function(t,n,o){var i=Object.create||function(F){var H=function(){};return H.prototype=F,new H},a=Object.keys||function(F){var H=[];for(var W in F)Object.prototype.hasOwnProperty.call(F,W)&amp;&amp;H.push(W);return W},u=Function.prototype.bind||function(F){var H=this;return function(){return H.apply(F,arguments)}};function l(){this._events&amp;&amp;Object.prototype.hasOwnProperty.call(this,&quot;_events&quot;)||(this._events=i(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}n.exports=l,l.EventEmitter=l,l.prototype._events=void 0,l.prototype._maxListeners=void 0;var s,d=10;try{var f={};Object.defineProperty&amp;&amp;Object.defineProperty(f,&quot;x&quot;,{value:0}),s=f.x===0}catch{s=!1}function h(F){return F._maxListeners===void 0?l.defaultMaxListeners:F._maxListeners}function m(F,H,W){if(H)F.call(W);else for(var K=F.length,$=V(F,K),P=0;P&lt;K;++P)$[P].call(W)}function p(F,H,W,K){if(H)F.call(W,K);else for(var $=F.length,P=V(F,$),D=0;D&lt;$;++D)P[D].call(W,K)}function b(F,H,W,K,$){if(H)F.call(W,K,$);else for(var P=F.length,D=V(F,P),E=0;E&lt;P;++E)D[E].call(W,K,$)}function g(F,H,W,K,$,P){if(H)F.call(W,K,$,P);else for(var D=F.length,E=V(F,D),j=0;j&lt;D;++j)E[j].call(W,K,$,P)}function y(F,H,W,K){if(H)F.apply(W,K);else for(var $=F.length,P=V(F,$),D=0;D&lt;$;++D)P[D].apply(W,K)}function v(F,H,W,K){var $,P,D;if(typeof W!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);if((P=F._events)?(P.newListener&amp;&amp;(F.emit(&quot;newListener&quot;,H,W.listener?W.listener:W),P=F._events),D=P[H]):(P=F._events=i(null),F._eventsCount=0),D){if(typeof D==&quot;function&quot;?D=P[H]=K?[W,D]:[D,W]:K?D.unshift(W):D.push(W),!D.warned&amp;&amp;($=h(F))&amp;&amp;$&gt;0&amp;&amp;D.length&gt;$){D.warned=!0;var E=new Error(&quot;Possible EventEmitter memory leak detected. &quot;+D.length+&#039; &quot;&#039;+String(H)+&#039;&quot; listeners added. Use emitter.setMaxListeners() to increase limit.&#039;);E.name=&quot;MaxListenersExceededWarning&quot;,E.emitter=F,E.type=H,E.count=D.length,typeof console==&quot;object&quot;&amp;&amp;console.warn&amp;&amp;console.warn(&quot;%s: %s&quot;,E.name,E.message)}}else D=P[H]=W,++F._eventsCount;return F}function _(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var F=new Array(arguments.length),H=0;H&lt;F.length;++H)F[H]=arguments[H];this.listener.apply(this.target,F)}}function C(F,H,W){var K={fired:!1,wrapFn:void 0,target:F,type:H,listener:W},$=u.call(_,K);return $.listener=W,K.wrapFn=$,$}function O(F,H,W){var K=F._events;if(!K)return[];var $=K[H];return $?typeof $==&quot;function&quot;?W?[$.listener||$]:[$]:W?(function(P){for(var D=new Array(P.length),E=0;E&lt;D.length;++E)D[E]=P[E].listener||P[E];return D})($):V($,$.length):[]}function T(F){var H=this._events;if(H){var W=H[F];if(typeof W==&quot;function&quot;)return 1;if(W)return W.length}return 0}function V(F,H){for(var W=new Array(H),K=0;K&lt;H;++K)W[K]=F[K];return W}s?Object.defineProperty(l,&quot;defaultMaxListeners&quot;,{enumerable:!0,get:function(){return d},set:function(F){if(typeof F!=&quot;number&quot;||F&lt;0||F!=F)throw new TypeError(&#039;&quot;defaultMaxListeners&quot; must be a positive number&#039;);d=F}}):l.defaultMaxListeners=d,l.prototype.setMaxListeners=function(F){if(typeof F!=&quot;number&quot;||F&lt;0||isNaN(F))throw new TypeError(&#039;&quot;n&quot; argument must be a positive number&#039;);return this._maxListeners=F,this},l.prototype.getMaxListeners=function(){return h(this)},l.prototype.emit=function(F){var H,W,K,$,P,D,E=F===&quot;error&quot;;if(D=this._events)E=E&amp;&amp;D.error==null;else if(!E)return!1;if(E){if(arguments.length&gt;1&amp;&amp;(H=arguments[1]),H instanceof Error)throw H;var j=new Error(&#039;Unhandled &quot;error&quot; event. (&#039;+H+&quot;)&quot;);throw j.context=H,j}if(!(W=D[F]))return!1;var k=typeof W==&quot;function&quot;;switch(K=arguments.length){case 1:m(W,k,this);break;case 2:p(W,k,this,arguments[1]);break;case 3:b(W,k,this,arguments[1],arguments[2]);break;case 4:g(W,k,this,arguments[1],arguments[2],arguments[3]);break;default:for($=new Array(K-1),P=1;P&lt;K;P++)$[P-1]=arguments[P];y(W,k,this,$)}return!0},l.prototype.addListener=function(F,H){return v(this,F,H,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(F,H){return v(this,F,H,!0)},l.prototype.once=function(F,H){if(typeof H!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);return this.on(F,C(this,F,H)),this},l.prototype.prependOnceListener=function(F,H){if(typeof H!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);return this.prependListener(F,C(this,F,H)),this},l.prototype.removeListener=function(F,H){var W,K,$,P,D;if(typeof H!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);if(!(K=this._events))return this;if(!(W=K[F]))return this;if(W===H||W.listener===H)--this._eventsCount==0?this._events=i(null):(delete K[F],K.removeListener&amp;&amp;this.emit(&quot;removeListener&quot;,F,W.listener||H));else if(typeof W!=&quot;function&quot;){for($=-1,P=W.length-1;P&gt;=0;P--)if(W[P]===H||W[P].listener===H){D=W[P].listener,$=P;break}if($&lt;0)return this;$===0?W.shift():(function(E,j){for(var k=j,S=k+1,N=E.length;S&lt;N;k+=1,S+=1)E[k]=E[S];E.pop()})(W,$),W.length===1&amp;&amp;(K[F]=W[0]),K.removeListener&amp;&amp;this.emit(&quot;removeListener&quot;,F,D||H)}return this},l.prototype.removeAllListeners=function(F){var H,W,K;if(!(W=this._events))return this;if(!W.removeListener)return arguments.length===0?(this._events=i(null),this._eventsCount=0):W[F]&amp;&amp;(--this._eventsCount==0?this._events=i(null):delete W[F]),this;if(arguments.length===0){var $,P=a(W);for(K=0;K&lt;P.length;++K)($=P[K])!==&quot;removeListener&quot;&amp;&amp;this.removeAllListeners($);return this.removeAllListeners(&quot;removeListener&quot;),this._events=i(null),this._eventsCount=0,this}if(typeof(H=W[F])==&quot;function&quot;)this.removeListener(F,H);else if(H)for(K=H.length-1;K&gt;=0;K--)this.removeListener(F,H[K]);return this},l.prototype.listeners=function(F){return O(this,F,!0)},l.prototype.rawListeners=function(F){return O(this,F,!1)},l.listenerCount=function(F,H){return typeof F.listenerCount==&quot;function&quot;?F.listenerCount(H):T.call(F,H)},l.prototype.listenerCount=T,l.prototype.eventNames=function(){return this._eventsCount&gt;0?Reflect.ownKeys(this._events):[]}},{}],423:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;md5.js&quot;);n.exports=function(u,l,s,d){if(i.isBuffer(u)||(u=i.from(u,&quot;binary&quot;)),l&amp;&amp;(i.isBuffer(l)||(l=i.from(l,&quot;binary&quot;)),l.length!==8))throw new RangeError(&quot;salt should be Buffer with 8 byte length&quot;);for(var f=s/8,h=i.alloc(f),m=i.alloc(d||0),p=i.alloc(0);f&gt;0||d&gt;0;){var b=new a;b.update(p),b.update(u),l&amp;&amp;b.update(l),p=b.digest();var g=0;if(f&gt;0){var y=h.length-f;g=Math.min(f,p.length),p.copy(h,y,0,g),f-=g}if(g&lt;p.length&amp;&amp;d&gt;0){var v=m.length-d,_=Math.min(d,p.length-g);p.copy(m,v,g,g+_),d-=_}}return p.fill(0),{key:h,iv:m}}},{&quot;md5.js&quot;:450,&quot;safe-buffer&quot;:494}],424:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CsvParserStream=o.ParserOptions=o.parseFile=o.parseStream=o.parseString=o.parse=o.FormatterOptions=o.CsvFormatterStream=o.writeToPath=o.writeToString=o.writeToBuffer=o.writeToStream=o.write=o.format=void 0;var i=t(&quot;@fast-csv/format&quot;);Object.defineProperty(o,&quot;format&quot;,{enumerable:!0,get:function(){return i.format}}),Object.defineProperty(o,&quot;write&quot;,{enumerable:!0,get:function(){return i.write}}),Object.defineProperty(o,&quot;writeToStream&quot;,{enumerable:!0,get:function(){return i.writeToStream}}),Object.defineProperty(o,&quot;writeToBuffer&quot;,{enumerable:!0,get:function(){return i.writeToBuffer}}),Object.defineProperty(o,&quot;writeToString&quot;,{enumerable:!0,get:function(){return i.writeToString}}),Object.defineProperty(o,&quot;writeToPath&quot;,{enumerable:!0,get:function(){return i.writeToPath}}),Object.defineProperty(o,&quot;CsvFormatterStream&quot;,{enumerable:!0,get:function(){return i.CsvFormatterStream}}),Object.defineProperty(o,&quot;FormatterOptions&quot;,{enumerable:!0,get:function(){return i.FormatterOptions}});var a=t(&quot;@fast-csv/parse&quot;);Object.defineProperty(o,&quot;parse&quot;,{enumerable:!0,get:function(){return a.parse}}),Object.defineProperty(o,&quot;parseString&quot;,{enumerable:!0,get:function(){return a.parseString}}),Object.defineProperty(o,&quot;parseStream&quot;,{enumerable:!0,get:function(){return a.parseStream}}),Object.defineProperty(o,&quot;parseFile&quot;,{enumerable:!0,get:function(){return a.parseFile}}),Object.defineProperty(o,&quot;ParserOptions&quot;,{enumerable:!0,get:function(){return a.ParserOptions}}),Object.defineProperty(o,&quot;CsvParserStream&quot;,{enumerable:!0,get:function(){return a.CsvParserStream}})},{&quot;@fast-csv/format&quot;:151,&quot;@fast-csv/parse&quot;:155}],425:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;readable-stream&quot;).Transform;function u(l){a.call(this),this._block=i.allocUnsafe(l),this._blockSize=l,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}t(&quot;inherits&quot;)(u,a),u.prototype._transform=function(l,s,d){var f=null;try{this.update(l,s)}catch(h){f=h}d(f)},u.prototype._flush=function(l){var s=null;try{this.push(this.digest())}catch(d){s=d}l(s)},u.prototype.update=function(l,s){if((function(b,g){if(!i.isBuffer(b)&amp;&amp;typeof b!=&quot;string&quot;)throw new TypeError(g+&quot; must be a string or a buffer&quot;)})(l,&quot;Data&quot;),this._finalized)throw new Error(&quot;Digest already called&quot;);i.isBuffer(l)||(l=i.from(l,s));for(var d=this._block,f=0;this._blockOffset+l.length-f&gt;=this._blockSize;){for(var h=this._blockOffset;h&lt;this._blockSize;)d[h++]=l[f++];this._update(),this._blockOffset=0}for(;f&lt;l.length;)d[this._blockOffset++]=l[f++];for(var m=0,p=8*l.length;p&gt;0;++m)this._length[m]+=p,(p=this._length[m]/4294967296|0)&gt;0&amp;&amp;(this._length[m]-=4294967296*p);return this},u.prototype._update=function(){throw new Error(&quot;_update is not implemented&quot;)},u.prototype.digest=function(l){if(this._finalized)throw new Error(&quot;Digest already called&quot;);this._finalized=!0;var s=this._digest();l!==void 0&amp;&amp;(s=s.toString(l)),this._block.fill(0),this._blockOffset=0;for(var d=0;d&lt;4;++d)this._length[d]=0;return s},u.prototype._digest=function(){throw new Error(&quot;_digest is not implemented&quot;)},n.exports=u},{inherits:440,&quot;readable-stream&quot;:491,&quot;safe-buffer&quot;:494}],426:[function(t,n,o){var i=o;i.utils=t(&quot;./hash/utils&quot;),i.common=t(&quot;./hash/common&quot;),i.sha=t(&quot;./hash/sha&quot;),i.ripemd=t(&quot;./hash/ripemd&quot;),i.hmac=t(&quot;./hash/hmac&quot;),i.sha1=i.sha.sha1,i.sha256=i.sha.sha256,i.sha224=i.sha.sha224,i.sha384=i.sha.sha384,i.sha512=i.sha.sha512,i.ripemd160=i.ripemd.ripemd160},{&quot;./hash/common&quot;:427,&quot;./hash/hmac&quot;:428,&quot;./hash/ripemd&quot;:429,&quot;./hash/sha&quot;:430,&quot;./hash/utils&quot;:437}],427:[function(t,n,o){var i=t(&quot;./utils&quot;),a=t(&quot;minimalistic-assert&quot;);function u(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian=&quot;big&quot;,this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}o.BlockHash=u,u.prototype.update=function(l,s){if(l=i.toArray(l,s),this.pending?this.pending=this.pending.concat(l):this.pending=l,this.pendingTotal+=l.length,this.pending.length&gt;=this._delta8){var d=(l=this.pending).length%this._delta8;this.pending=l.slice(l.length-d,l.length),this.pending.length===0&amp;&amp;(this.pending=null),l=i.join32(l,0,l.length-d,this.endian);for(var f=0;f&lt;l.length;f+=this._delta32)this._update(l,f,f+this._delta32)}return this},u.prototype.digest=function(l){return this.update(this._pad()),a(this.pending===null),this._digest(l)},u.prototype._pad=function(){var l=this.pendingTotal,s=this._delta8,d=s-(l+this.padLength)%s,f=new Array(d+this.padLength);f[0]=128;for(var h=1;h&lt;d;h++)f[h]=0;if(l&lt;&lt;=3,this.endian===&quot;big&quot;){for(var m=8;m&lt;this.padLength;m++)f[h++]=0;f[h++]=0,f[h++]=0,f[h++]=0,f[h++]=0,f[h++]=l&gt;&gt;&gt;24&amp;255,f[h++]=l&gt;&gt;&gt;16&amp;255,f[h++]=l&gt;&gt;&gt;8&amp;255,f[h++]=255&amp;l}else for(f[h++]=255&amp;l,f[h++]=l&gt;&gt;&gt;8&amp;255,f[h++]=l&gt;&gt;&gt;16&amp;255,f[h++]=l&gt;&gt;&gt;24&amp;255,f[h++]=0,f[h++]=0,f[h++]=0,f[h++]=0,m=8;m&lt;this.padLength;m++)f[h++]=0;return f}},{&quot;./utils&quot;:437,&quot;minimalistic-assert&quot;:453}],428:[function(t,n,o){var i=t(&quot;./utils&quot;),a=t(&quot;minimalistic-assert&quot;);function u(l,s,d){if(!(this instanceof u))return new u(l,s,d);this.Hash=l,this.blockSize=l.blockSize/8,this.outSize=l.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(s,d))}n.exports=u,u.prototype._init=function(l){l.length&gt;this.blockSize&amp;&amp;(l=new this.Hash().update(l).digest()),a(l.length&lt;=this.blockSize);for(var s=l.length;s&lt;this.blockSize;s++)l.push(0);for(s=0;s&lt;l.length;s++)l[s]^=54;for(this.inner=new this.Hash().update(l),s=0;s&lt;l.length;s++)l[s]^=106;this.outer=new this.Hash().update(l)},u.prototype.update=function(l,s){return this.inner.update(l,s),this},u.prototype.digest=function(l){return this.outer.update(this.inner.digest()),this.outer.digest(l)}},{&quot;./utils&quot;:437,&quot;minimalistic-assert&quot;:453}],429:[function(t,n,o){var i=t(&quot;./utils&quot;),a=t(&quot;./common&quot;),u=i.rotl32,l=i.sum32,s=i.sum32_3,d=i.sum32_4,f=a.BlockHash;function h(){if(!(this instanceof h))return new h;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian=&quot;little&quot;}function m(C,O,T,V){return C&lt;=15?O^T^V:C&lt;=31?O&amp;T|~O&amp;V:C&lt;=47?(O|~T)^V:C&lt;=63?O&amp;V|T&amp;~V:O^(T|~V)}function p(C){return C&lt;=15?0:C&lt;=31?1518500249:C&lt;=47?1859775393:C&lt;=63?2400959708:2840853838}function b(C){return C&lt;=15?1352829926:C&lt;=31?1548603684:C&lt;=47?1836072691:C&lt;=63?2053994217:0}i.inherits(h,f),o.ripemd160=h,h.blockSize=512,h.outSize=160,h.hmacStrength=192,h.padLength=64,h.prototype._update=function(C,O){for(var T=this.h[0],V=this.h[1],F=this.h[2],H=this.h[3],W=this.h[4],K=T,$=V,P=F,D=H,E=W,j=0;j&lt;80;j++){var k=l(u(d(T,m(j,V,F,H),C[g[j]+O],p(j)),v[j]),W);T=W,W=H,H=u(F,10),F=V,V=k,k=l(u(d(K,m(79-j,$,P,D),C[y[j]+O],b(j)),_[j]),E),K=E,E=D,D=u(P,10),P=$,$=k}k=s(this.h[1],F,D),this.h[1]=s(this.h[2],H,E),this.h[2]=s(this.h[3],W,K),this.h[3]=s(this.h[4],T,$),this.h[4]=s(this.h[0],V,P),this.h[0]=k},h.prototype._digest=function(C){return C===&quot;hex&quot;?i.toHex32(this.h,&quot;little&quot;):i.split32(this.h,&quot;little&quot;)};var g=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],y=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],v=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],_=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{&quot;./common&quot;:427,&quot;./utils&quot;:437}],430:[function(t,n,o){o.sha1=t(&quot;./sha/1&quot;),o.sha224=t(&quot;./sha/224&quot;),o.sha256=t(&quot;./sha/256&quot;),o.sha384=t(&quot;./sha/384&quot;),o.sha512=t(&quot;./sha/512&quot;)},{&quot;./sha/1&quot;:431,&quot;./sha/224&quot;:432,&quot;./sha/256&quot;:433,&quot;./sha/384&quot;:434,&quot;./sha/512&quot;:435}],431:[function(t,n,o){var i=t(&quot;../utils&quot;),a=t(&quot;../common&quot;),u=t(&quot;./common&quot;),l=i.rotl32,s=i.sum32,d=i.sum32_5,f=u.ft_1,h=a.BlockHash,m=[1518500249,1859775393,2400959708,3395469782];function p(){if(!(this instanceof p))return new p;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}i.inherits(p,h),n.exports=p,p.blockSize=512,p.outSize=160,p.hmacStrength=80,p.padLength=64,p.prototype._update=function(b,g){for(var y=this.W,v=0;v&lt;16;v++)y[v]=b[g+v];for(;v&lt;y.length;v++)y[v]=l(y[v-3]^y[v-8]^y[v-14]^y[v-16],1);var _=this.h[0],C=this.h[1],O=this.h[2],T=this.h[3],V=this.h[4];for(v=0;v&lt;y.length;v++){var F=~~(v/20),H=d(l(_,5),f(F,C,O,T),V,y[v],m[F]);V=T,T=O,O=l(C,30),C=_,_=H}this.h[0]=s(this.h[0],_),this.h[1]=s(this.h[1],C),this.h[2]=s(this.h[2],O),this.h[3]=s(this.h[3],T),this.h[4]=s(this.h[4],V)},p.prototype._digest=function(b){return b===&quot;hex&quot;?i.toHex32(this.h,&quot;big&quot;):i.split32(this.h,&quot;big&quot;)}},{&quot;../common&quot;:427,&quot;../utils&quot;:437,&quot;./common&quot;:436}],432:[function(t,n,o){var i=t(&quot;../utils&quot;),a=t(&quot;./256&quot;);function u(){if(!(this instanceof u))return new u;a.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}i.inherits(u,a),n.exports=u,u.blockSize=512,u.outSize=224,u.hmacStrength=192,u.padLength=64,u.prototype._digest=function(l){return l===&quot;hex&quot;?i.toHex32(this.h.slice(0,7),&quot;big&quot;):i.split32(this.h.slice(0,7),&quot;big&quot;)}},{&quot;../utils&quot;:437,&quot;./256&quot;:433}],433:[function(t,n,o){var i=t(&quot;../utils&quot;),a=t(&quot;../common&quot;),u=t(&quot;./common&quot;),l=t(&quot;minimalistic-assert&quot;),s=i.sum32,d=i.sum32_4,f=i.sum32_5,h=u.ch32,m=u.maj32,p=u.s0_256,b=u.s1_256,g=u.g0_256,y=u.g1_256,v=a.BlockHash,_=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function C(){if(!(this instanceof C))return new C;v.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=_,this.W=new Array(64)}i.inherits(C,v),n.exports=C,C.blockSize=512,C.outSize=256,C.hmacStrength=192,C.padLength=64,C.prototype._update=function(O,T){for(var V=this.W,F=0;F&lt;16;F++)V[F]=O[T+F];for(;F&lt;V.length;F++)V[F]=d(y(V[F-2]),V[F-7],g(V[F-15]),V[F-16]);var H=this.h[0],W=this.h[1],K=this.h[2],$=this.h[3],P=this.h[4],D=this.h[5],E=this.h[6],j=this.h[7];for(l(this.k.length===V.length),F=0;F&lt;V.length;F++){var k=f(j,b(P),h(P,D,E),this.k[F],V[F]),S=s(p(H),m(H,W,K));j=E,E=D,D=P,P=s($,k),$=K,K=W,W=H,H=s(k,S)}this.h[0]=s(this.h[0],H),this.h[1]=s(this.h[1],W),this.h[2]=s(this.h[2],K),this.h[3]=s(this.h[3],$),this.h[4]=s(this.h[4],P),this.h[5]=s(this.h[5],D),this.h[6]=s(this.h[6],E),this.h[7]=s(this.h[7],j)},C.prototype._digest=function(O){return O===&quot;hex&quot;?i.toHex32(this.h,&quot;big&quot;):i.split32(this.h,&quot;big&quot;)}},{&quot;../common&quot;:427,&quot;../utils&quot;:437,&quot;./common&quot;:436,&quot;minimalistic-assert&quot;:453}],434:[function(t,n,o){var i=t(&quot;../utils&quot;),a=t(&quot;./512&quot;);function u(){if(!(this instanceof u))return new u;a.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}i.inherits(u,a),n.exports=u,u.blockSize=1024,u.outSize=384,u.hmacStrength=192,u.padLength=128,u.prototype._digest=function(l){return l===&quot;hex&quot;?i.toHex32(this.h.slice(0,12),&quot;big&quot;):i.split32(this.h.slice(0,12),&quot;big&quot;)}},{&quot;../utils&quot;:437,&quot;./512&quot;:435}],435:[function(t,n,o){var i=t(&quot;../utils&quot;),a=t(&quot;../common&quot;),u=t(&quot;minimalistic-assert&quot;),l=i.rotr64_hi,s=i.rotr64_lo,d=i.shr64_hi,f=i.shr64_lo,h=i.sum64,m=i.sum64_hi,p=i.sum64_lo,b=i.sum64_4_hi,g=i.sum64_4_lo,y=i.sum64_5_hi,v=i.sum64_5_lo,_=a.BlockHash,C=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function O(){if(!(this instanceof O))return new O;_.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=C,this.W=new Array(160)}function T(S,N,M,R,B){var Y=S&amp;M^~S&amp;B;return Y&lt;0&amp;&amp;(Y+=4294967296),Y}function V(S,N,M,R,B,Y){var Z=N&amp;R^~N&amp;Y;return Z&lt;0&amp;&amp;(Z+=4294967296),Z}function F(S,N,M,R,B){var Y=S&amp;M^S&amp;B^M&amp;B;return Y&lt;0&amp;&amp;(Y+=4294967296),Y}function H(S,N,M,R,B,Y){var Z=N&amp;R^N&amp;Y^R&amp;Y;return Z&lt;0&amp;&amp;(Z+=4294967296),Z}function W(S,N){var M=l(S,N,28)^l(N,S,2)^l(N,S,7);return M&lt;0&amp;&amp;(M+=4294967296),M}function K(S,N){var M=s(S,N,28)^s(N,S,2)^s(N,S,7);return M&lt;0&amp;&amp;(M+=4294967296),M}function $(S,N){var M=l(S,N,14)^l(S,N,18)^l(N,S,9);return M&lt;0&amp;&amp;(M+=4294967296),M}function P(S,N){var M=s(S,N,14)^s(S,N,18)^s(N,S,9);return M&lt;0&amp;&amp;(M+=4294967296),M}function D(S,N){var M=l(S,N,1)^l(S,N,8)^d(S,N,7);return M&lt;0&amp;&amp;(M+=4294967296),M}function E(S,N){var M=s(S,N,1)^s(S,N,8)^f(S,N,7);return M&lt;0&amp;&amp;(M+=4294967296),M}function j(S,N){var M=l(S,N,19)^l(N,S,29)^d(S,N,6);return M&lt;0&amp;&amp;(M+=4294967296),M}function k(S,N){var M=s(S,N,19)^s(N,S,29)^f(S,N,6);return M&lt;0&amp;&amp;(M+=4294967296),M}i.inherits(O,_),n.exports=O,O.blockSize=1024,O.outSize=512,O.hmacStrength=192,O.padLength=128,O.prototype._prepareBlock=function(S,N){for(var M=this.W,R=0;R&lt;32;R++)M[R]=S[N+R];for(;R&lt;M.length;R+=2){var B=j(M[R-4],M[R-3]),Y=k(M[R-4],M[R-3]),Z=M[R-14],ie=M[R-13],U=D(M[R-30],M[R-29]),ee=E(M[R-30],M[R-29]),z=M[R-32],I=M[R-31];M[R]=b(B,Y,Z,ie,U,ee,z,I),M[R+1]=g(B,Y,Z,ie,U,ee,z,I)}},O.prototype._update=function(S,N){this._prepareBlock(S,N);var M=this.W,R=this.h[0],B=this.h[1],Y=this.h[2],Z=this.h[3],ie=this.h[4],U=this.h[5],ee=this.h[6],z=this.h[7],I=this.h[8],X=this.h[9],re=this.h[10],ne=this.h[11],Q=this.h[12],te=this.h[13],de=this.h[14],le=this.h[15];u(this.k.length===M.length);for(var se=0;se&lt;M.length;se+=2){var fe=de,he=le,ue=$(I,X),ge=P(I,X),xe=T(I,X,re,ne,Q),pe=V(I,X,re,ne,Q,te),ce=this.k[se],Ce=this.k[se+1],Me=M[se],Se=M[se+1],Te=y(fe,he,ue,ge,xe,pe,ce,Ce,Me,Se),Qe=v(fe,he,ue,ge,xe,pe,ce,Ce,Me,Se);fe=W(R,B),he=K(R,B),ue=F(R,B,Y,Z,ie),ge=H(R,B,Y,Z,ie,U);var Ve=m(fe,he,ue,ge),Xe=p(fe,he,ue,ge);de=Q,le=te,Q=re,te=ne,re=I,ne=X,I=m(ee,z,Te,Qe),X=p(z,z,Te,Qe),ee=ie,z=U,ie=Y,U=Z,Y=R,Z=B,R=m(Te,Qe,Ve,Xe),B=p(Te,Qe,Ve,Xe)}h(this.h,0,R,B),h(this.h,2,Y,Z),h(this.h,4,ie,U),h(this.h,6,ee,z),h(this.h,8,I,X),h(this.h,10,re,ne),h(this.h,12,Q,te),h(this.h,14,de,le)},O.prototype._digest=function(S){return S===&quot;hex&quot;?i.toHex32(this.h,&quot;big&quot;):i.split32(this.h,&quot;big&quot;)}},{&quot;../common&quot;:427,&quot;../utils&quot;:437,&quot;minimalistic-assert&quot;:453}],436:[function(t,n,o){var i=t(&quot;../utils&quot;).rotr32;function a(s,d,f){return s&amp;d^~s&amp;f}function u(s,d,f){return s&amp;d^s&amp;f^d&amp;f}function l(s,d,f){return s^d^f}o.ft_1=function(s,d,f,h){return s===0?a(d,f,h):s===1||s===3?l(d,f,h):s===2?u(d,f,h):void 0},o.ch32=a,o.maj32=u,o.p32=l,o.s0_256=function(s){return i(s,2)^i(s,13)^i(s,22)},o.s1_256=function(s){return i(s,6)^i(s,11)^i(s,25)},o.g0_256=function(s){return i(s,7)^i(s,18)^s&gt;&gt;&gt;3},o.g1_256=function(s){return i(s,17)^i(s,19)^s&gt;&gt;&gt;10}},{&quot;../utils&quot;:437}],437:[function(t,n,o){var i=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;);function u(f,h){return(64512&amp;f.charCodeAt(h))==55296&amp;&amp;!(h&lt;0||h+1&gt;=f.length)&amp;&amp;(64512&amp;f.charCodeAt(h+1))==56320}function l(f){return(f&gt;&gt;&gt;24|f&gt;&gt;&gt;8&amp;65280|f&lt;&lt;8&amp;16711680|(255&amp;f)&lt;&lt;24)&gt;&gt;&gt;0}function s(f){return f.length===1?&quot;0&quot;+f:f}function d(f){return f.length===7?&quot;0&quot;+f:f.length===6?&quot;00&quot;+f:f.length===5?&quot;000&quot;+f:f.length===4?&quot;0000&quot;+f:f.length===3?&quot;00000&quot;+f:f.length===2?&quot;000000&quot;+f:f.length===1?&quot;0000000&quot;+f:f}o.inherits=a,o.toArray=function(f,h){if(Array.isArray(f))return f.slice();if(!f)return[];var m=[];if(typeof f==&quot;string&quot;)if(h){if(h===&quot;hex&quot;)for((f=f.replace(/[^a-z0-9]+/gi,&quot;&quot;)).length%2!=0&amp;&amp;(f=&quot;0&quot;+f),b=0;b&lt;f.length;b+=2)m.push(parseInt(f[b]+f[b+1],16))}else for(var p=0,b=0;b&lt;f.length;b++){var g=f.charCodeAt(b);g&lt;128?m[p++]=g:g&lt;2048?(m[p++]=g&gt;&gt;6|192,m[p++]=63&amp;g|128):u(f,b)?(g=65536+((1023&amp;g)&lt;&lt;10)+(1023&amp;f.charCodeAt(++b)),m[p++]=g&gt;&gt;18|240,m[p++]=g&gt;&gt;12&amp;63|128,m[p++]=g&gt;&gt;6&amp;63|128,m[p++]=63&amp;g|128):(m[p++]=g&gt;&gt;12|224,m[p++]=g&gt;&gt;6&amp;63|128,m[p++]=63&amp;g|128)}else for(b=0;b&lt;f.length;b++)m[b]=0|f[b];return m},o.toHex=function(f){for(var h=&quot;&quot;,m=0;m&lt;f.length;m++)h+=s(f[m].toString(16));return h},o.htonl=l,o.toHex32=function(f,h){for(var m=&quot;&quot;,p=0;p&lt;f.length;p++){var b=f[p];h===&quot;little&quot;&amp;&amp;(b=l(b)),m+=d(b.toString(16))}return m},o.zero2=s,o.zero8=d,o.join32=function(f,h,m,p){var b=m-h;i(b%4==0);for(var g=new Array(b/4),y=0,v=h;y&lt;g.length;y++,v+=4){var _;_=p===&quot;big&quot;?f[v]&lt;&lt;24|f[v+1]&lt;&lt;16|f[v+2]&lt;&lt;8|f[v+3]:f[v+3]&lt;&lt;24|f[v+2]&lt;&lt;16|f[v+1]&lt;&lt;8|f[v],g[y]=_&gt;&gt;&gt;0}return g},o.split32=function(f,h){for(var m=new Array(4*f.length),p=0,b=0;p&lt;f.length;p++,b+=4){var g=f[p];h===&quot;big&quot;?(m[b]=g&gt;&gt;&gt;24,m[b+1]=g&gt;&gt;&gt;16&amp;255,m[b+2]=g&gt;&gt;&gt;8&amp;255,m[b+3]=255&amp;g):(m[b+3]=g&gt;&gt;&gt;24,m[b+2]=g&gt;&gt;&gt;16&amp;255,m[b+1]=g&gt;&gt;&gt;8&amp;255,m[b]=255&amp;g)}return m},o.rotr32=function(f,h){return f&gt;&gt;&gt;h|f&lt;&lt;32-h},o.rotl32=function(f,h){return f&lt;&lt;h|f&gt;&gt;&gt;32-h},o.sum32=function(f,h){return f+h&gt;&gt;&gt;0},o.sum32_3=function(f,h,m){return f+h+m&gt;&gt;&gt;0},o.sum32_4=function(f,h,m,p){return f+h+m+p&gt;&gt;&gt;0},o.sum32_5=function(f,h,m,p,b){return f+h+m+p+b&gt;&gt;&gt;0},o.sum64=function(f,h,m,p){var b=f[h],g=p+f[h+1]&gt;&gt;&gt;0,y=(g&lt;p?1:0)+m+b;f[h]=y&gt;&gt;&gt;0,f[h+1]=g},o.sum64_hi=function(f,h,m,p){return(h+p&gt;&gt;&gt;0&lt;h?1:0)+f+m&gt;&gt;&gt;0},o.sum64_lo=function(f,h,m,p){return h+p&gt;&gt;&gt;0},o.sum64_4_hi=function(f,h,m,p,b,g,y,v){var _=0,C=h;return _+=(C=C+p&gt;&gt;&gt;0)&lt;h?1:0,_+=(C=C+g&gt;&gt;&gt;0)&lt;g?1:0,f+m+b+y+(_+=(C=C+v&gt;&gt;&gt;0)&lt;v?1:0)&gt;&gt;&gt;0},o.sum64_4_lo=function(f,h,m,p,b,g,y,v){return h+p+g+v&gt;&gt;&gt;0},o.sum64_5_hi=function(f,h,m,p,b,g,y,v,_,C){var O=0,T=h;return O+=(T=T+p&gt;&gt;&gt;0)&lt;h?1:0,O+=(T=T+g&gt;&gt;&gt;0)&lt;g?1:0,O+=(T=T+v&gt;&gt;&gt;0)&lt;v?1:0,f+m+b+y+_+(O+=(T=T+C&gt;&gt;&gt;0)&lt;C?1:0)&gt;&gt;&gt;0},o.sum64_5_lo=function(f,h,m,p,b,g,y,v,_,C){return h+p+g+v+C&gt;&gt;&gt;0},o.rotr64_hi=function(f,h,m){return(h&lt;&lt;32-m|f&gt;&gt;&gt;m)&gt;&gt;&gt;0},o.rotr64_lo=function(f,h,m){return(f&lt;&lt;32-m|h&gt;&gt;&gt;m)&gt;&gt;&gt;0},o.shr64_hi=function(f,h,m){return f&gt;&gt;&gt;m},o.shr64_lo=function(f,h,m){return(f&lt;&lt;32-m|h&gt;&gt;&gt;m)&gt;&gt;&gt;0}},{inherits:440,&quot;minimalistic-assert&quot;:453}],438:[function(t,n,o){var i=t(&quot;hash.js&quot;),a=t(&quot;minimalistic-crypto-utils&quot;),u=t(&quot;minimalistic-assert&quot;);function l(s){if(!(this instanceof l))return new l(s);this.hash=s.hash,this.predResist=!!s.predResist,this.outLen=this.hash.outSize,this.minEntropy=s.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var d=a.toArray(s.entropy,s.entropyEnc||&quot;hex&quot;),f=a.toArray(s.nonce,s.nonceEnc||&quot;hex&quot;),h=a.toArray(s.pers,s.persEnc||&quot;hex&quot;);u(d.length&gt;=this.minEntropy/8,&quot;Not enough entropy. Minimum is: &quot;+this.minEntropy+&quot; bits&quot;),this._init(d,f,h)}n.exports=l,l.prototype._init=function(s,d,f){var h=s.concat(d).concat(f);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var m=0;m&lt;this.V.length;m++)this.K[m]=0,this.V[m]=1;this._update(h),this._reseed=1,this.reseedInterval=281474976710656},l.prototype._hmac=function(){return new i.hmac(this.hash,this.K)},l.prototype._update=function(s){var d=this._hmac().update(this.V).update([0]);s&amp;&amp;(d=d.update(s)),this.K=d.digest(),this.V=this._hmac().update(this.V).digest(),s&amp;&amp;(this.K=this._hmac().update(this.V).update([1]).update(s).digest(),this.V=this._hmac().update(this.V).digest())},l.prototype.reseed=function(s,d,f,h){typeof d!=&quot;string&quot;&amp;&amp;(h=f,f=d,d=null),s=a.toArray(s,d),f=a.toArray(f,h),u(s.length&gt;=this.minEntropy/8,&quot;Not enough entropy. Minimum is: &quot;+this.minEntropy+&quot; bits&quot;),this._update(s.concat(f||[])),this._reseed=1},l.prototype.generate=function(s,d,f,h){if(this._reseed&gt;this.reseedInterval)throw new Error(&quot;Reseed is required&quot;);typeof d!=&quot;string&quot;&amp;&amp;(h=f,f=d,d=null),f&amp;&amp;(f=a.toArray(f,h||&quot;hex&quot;),this._update(f));for(var m=[];m.length&lt;s;)this.V=this._hmac().update(this.V).digest(),m=m.concat(this.V);var p=m.slice(0,s);return this._update(f),this._reseed++,a.encode(p,d)}},{&quot;hash.js&quot;:426,&quot;minimalistic-assert&quot;:453,&quot;minimalistic-crypto-utils&quot;:454}],439:[function(t,n,o){o.read=function(i,a,u,l,s){var d,f,h=8*s-l-1,m=(1&lt;&lt;h)-1,p=m&gt;&gt;1,b=-7,g=u?s-1:0,y=u?-1:1,v=i[a+g];for(g+=y,d=v&amp;(1&lt;&lt;-b)-1,v&gt;&gt;=-b,b+=h;b&gt;0;d=256*d+i[a+g],g+=y,b-=8);for(f=d&amp;(1&lt;&lt;-b)-1,d&gt;&gt;=-b,b+=l;b&gt;0;f=256*f+i[a+g],g+=y,b-=8);if(d===0)d=1-p;else{if(d===m)return f?NaN:1/0*(v?-1:1);f+=Math.pow(2,l),d-=p}return(v?-1:1)*f*Math.pow(2,d-l)},o.write=function(i,a,u,l,s,d){var f,h,m,p=8*d-s-1,b=(1&lt;&lt;p)-1,g=b&gt;&gt;1,y=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=l?0:d-1,_=l?1:-1,C=a&lt;0||a===0&amp;&amp;1/a&lt;0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(h=isNaN(a)?1:0,f=b):(f=Math.floor(Math.log(a)/Math.LN2),a*(m=Math.pow(2,-f))&lt;1&amp;&amp;(f--,m*=2),(a+=f+g&gt;=1?y/m:y*Math.pow(2,1-g))*m&gt;=2&amp;&amp;(f++,m/=2),f+g&gt;=b?(h=0,f=b):f+g&gt;=1?(h=(a*m-1)*Math.pow(2,s),f+=g):(h=a*Math.pow(2,g-1)*Math.pow(2,s),f=0));s&gt;=8;i[u+v]=255&amp;h,v+=_,h/=256,s-=8);for(f=f&lt;&lt;s|h,p+=s;p&gt;0;i[u+v]=255&amp;f,v+=_,f/=256,p-=8);i[u+v-_]|=128*C}},{}],440:[function(t,n,o){typeof Object.create==&quot;function&quot;?n.exports=function(i,a){a&amp;&amp;(i.super_=a,i.prototype=Object.create(a.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}))}:n.exports=function(i,a){if(a){i.super_=a;var u=function(){};u.prototype=a.prototype,i.prototype=new u,i.prototype.constructor=i}}},{}],441:[function(t,n,o){(function(i,a,u,l,s,d,f,h){(function(){(function(m){typeof o==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=m():(typeof window&lt;&quot;u&quot;?window:a!==void 0?a:typeof self&lt;&quot;u&quot;?self:this).JSZip=m()})((function(){return(function m(p,b,g){function y(C,O){if(!b[C]){if(!p[C]){var T=typeof t==&quot;function&quot;&amp;&amp;t;if(!O&amp;&amp;T)return T(C,!0);if(v)return v(C,!0);var V=new Error(&quot;Cannot find module &#039;&quot;+C+&quot;&#039;&quot;);throw V.code=&quot;MODULE_NOT_FOUND&quot;,V}var F=b[C]={exports:{}};p[C][0].call(F.exports,(function(H){return y(p[C][1][H]||H)}),F,F.exports,m,p,b,g)}return b[C].exports}for(var v=typeof t==&quot;function&quot;&amp;&amp;t,_=0;_&lt;g.length;_++)y(g[_]);return y})({1:[function(m,p,b){var g=m(&quot;./utils&quot;),y=m(&quot;./support&quot;),v=&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=&quot;;b.encode=function(_){for(var C,O,T,V,F,H,W,K=[],$=0,P=_.length,D=P,E=g.getTypeOf(_)!==&quot;string&quot;;$&lt;_.length;)D=P-$,T=E?(C=_[$++],O=$&lt;P?_[$++]:0,$&lt;P?_[$++]:0):(C=_.charCodeAt($++),O=$&lt;P?_.charCodeAt($++):0,$&lt;P?_.charCodeAt($++):0),V=C&gt;&gt;2,F=(3&amp;C)&lt;&lt;4|O&gt;&gt;4,H=1&lt;D?(15&amp;O)&lt;&lt;2|T&gt;&gt;6:64,W=2&lt;D?63&amp;T:64,K.push(v.charAt(V)+v.charAt(F)+v.charAt(H)+v.charAt(W));return K.join(&quot;&quot;)},b.decode=function(_){var C,O,T,V,F,H,W=0,K=0,$=&quot;data:&quot;;if(_.substr(0,$.length)===$)throw new Error(&quot;Invalid base64 input, it looks like a data url.&quot;);var P,D=3*(_=_.replace(/[^A-Za-z0-9+/=]/g,&quot;&quot;)).length/4;if(_.charAt(_.length-1)===v.charAt(64)&amp;&amp;D--,_.charAt(_.length-2)===v.charAt(64)&amp;&amp;D--,D%1!=0)throw new Error(&quot;Invalid base64 input, bad content length.&quot;);for(P=y.uint8array?new Uint8Array(0|D):new Array(0|D);W&lt;_.length;)C=v.indexOf(_.charAt(W++))&lt;&lt;2|(V=v.indexOf(_.charAt(W++)))&gt;&gt;4,O=(15&amp;V)&lt;&lt;4|(F=v.indexOf(_.charAt(W++)))&gt;&gt;2,T=(3&amp;F)&lt;&lt;6|(H=v.indexOf(_.charAt(W++))),P[K++]=C,F!==64&amp;&amp;(P[K++]=O),H!==64&amp;&amp;(P[K++]=T);return P}},{&quot;./support&quot;:30,&quot;./utils&quot;:32}],2:[function(m,p,b){var g=m(&quot;./external&quot;),y=m(&quot;./stream/DataWorker&quot;),v=m(&quot;./stream/Crc32Probe&quot;),_=m(&quot;./stream/DataLengthProbe&quot;);function C(O,T,V,F,H){this.compressedSize=O,this.uncompressedSize=T,this.crc32=V,this.compression=F,this.compressedContent=H}C.prototype={getContentWorker:function(){var O=new y(g.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new _(&quot;data_length&quot;)),T=this;return O.on(&quot;end&quot;,(function(){if(this.streamInfo.data_length!==T.uncompressedSize)throw new Error(&quot;Bug : uncompressed data size mismatch&quot;)})),O},getCompressedWorker:function(){return new y(g.Promise.resolve(this.compressedContent)).withStreamInfo(&quot;compressedSize&quot;,this.compressedSize).withStreamInfo(&quot;uncompressedSize&quot;,this.uncompressedSize).withStreamInfo(&quot;crc32&quot;,this.crc32).withStreamInfo(&quot;compression&quot;,this.compression)}},C.createWorkerFrom=function(O,T,V){return O.pipe(new v).pipe(new _(&quot;uncompressedSize&quot;)).pipe(T.compressWorker(V)).pipe(new _(&quot;compressedSize&quot;)).withStreamInfo(&quot;compression&quot;,T)},p.exports=C},{&quot;./external&quot;:6,&quot;./stream/Crc32Probe&quot;:25,&quot;./stream/DataLengthProbe&quot;:26,&quot;./stream/DataWorker&quot;:27}],3:[function(m,p,b){var g=m(&quot;./stream/GenericWorker&quot;);b.STORE={magic:&quot;\0\0&quot;,compressWorker:function(){return new g(&quot;STORE compression&quot;)},uncompressWorker:function(){return new g(&quot;STORE decompression&quot;)}},b.DEFLATE=m(&quot;./flate&quot;)},{&quot;./flate&quot;:7,&quot;./stream/GenericWorker&quot;:28}],4:[function(m,p,b){var g=m(&quot;./utils&quot;),y=(function(){for(var v,_=[],C=0;C&lt;256;C++){v=C;for(var O=0;O&lt;8;O++)v=1&amp;v?3988292384^v&gt;&gt;&gt;1:v&gt;&gt;&gt;1;_[C]=v}return _})();p.exports=function(v,_){return v!==void 0&amp;&amp;v.length?g.getTypeOf(v)!==&quot;string&quot;?(function(C,O,T,V){var F=y,H=0+T;C^=-1;for(var W=0;W&lt;H;W++)C=C&gt;&gt;&gt;8^F[255&amp;(C^O[W])];return-1^C})(0|_,v,v.length):(function(C,O,T,V){var F=y,H=0+T;C^=-1;for(var W=0;W&lt;H;W++)C=C&gt;&gt;&gt;8^F[255&amp;(C^O.charCodeAt(W))];return-1^C})(0|_,v,v.length):0}},{&quot;./utils&quot;:32}],5:[function(m,p,b){b.base64=!1,b.binary=!1,b.dir=!1,b.createFolders=!0,b.date=null,b.compression=null,b.compressionOptions=null,b.comment=null,b.unixPermissions=null,b.dosPermissions=null},{}],6:[function(m,p,b){var g;g=typeof Promise&lt;&quot;u&quot;?Promise:m(&quot;lie&quot;),p.exports={Promise:g}},{lie:37}],7:[function(m,p,b){var g=typeof Uint8Array&lt;&quot;u&quot;&amp;&amp;typeof Uint16Array&lt;&quot;u&quot;&amp;&amp;typeof Uint32Array&lt;&quot;u&quot;,y=m(&quot;pako&quot;),v=m(&quot;./utils&quot;),_=m(&quot;./stream/GenericWorker&quot;),C=g?&quot;uint8array&quot;:&quot;array&quot;;function O(T,V){_.call(this,&quot;FlateWorker/&quot;+T),this._pako=null,this._pakoAction=T,this._pakoOptions=V,this.meta={}}b.magic=&quot;\b\0&quot;,v.inherits(O,_),O.prototype.processChunk=function(T){this.meta=T.meta,this._pako===null&amp;&amp;this._createPako(),this._pako.push(v.transformTo(C,T.data),!1)},O.prototype.flush=function(){_.prototype.flush.call(this),this._pako===null&amp;&amp;this._createPako(),this._pako.push([],!0)},O.prototype.cleanUp=function(){_.prototype.cleanUp.call(this),this._pako=null},O.prototype._createPako=function(){this._pako=new y[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var T=this;this._pako.onData=function(V){T.push({data:V,meta:T.meta})}},b.compressWorker=function(T){return new O(&quot;Deflate&quot;,T)},b.uncompressWorker=function(){return new O(&quot;Inflate&quot;,{})}},{&quot;./stream/GenericWorker&quot;:28,&quot;./utils&quot;:32,pako:38}],8:[function(m,p,b){function g(F,H){var W,K=&quot;&quot;;for(W=0;W&lt;H;W++)K+=String.fromCharCode(255&amp;F),F&gt;&gt;&gt;=8;return K}function y(F,H,W,K,$,P){var D,E,j=F.file,k=F.compression,S=P!==C.utf8encode,N=v.transformTo(&quot;string&quot;,P(j.name)),M=v.transformTo(&quot;string&quot;,C.utf8encode(j.name)),R=j.comment,B=v.transformTo(&quot;string&quot;,P(R)),Y=v.transformTo(&quot;string&quot;,C.utf8encode(R)),Z=M.length!==j.name.length,ie=Y.length!==R.length,U=&quot;&quot;,ee=&quot;&quot;,z=&quot;&quot;,I=j.dir,X=j.date,re={crc32:0,compressedSize:0,uncompressedSize:0};H&amp;&amp;!W||(re.crc32=F.crc32,re.compressedSize=F.compressedSize,re.uncompressedSize=F.uncompressedSize);var ne=0;H&amp;&amp;(ne|=8),S||!Z&amp;&amp;!ie||(ne|=2048);var Q=0,te=0;I&amp;&amp;(Q|=16),$===&quot;UNIX&quot;?(te=798,Q|=(function(le,se){var fe=le;return le||(fe=se?16893:33204),(65535&amp;fe)&lt;&lt;16})(j.unixPermissions,I)):(te=20,Q|=(function(le){return 63&amp;(le||0)})(j.dosPermissions)),D=X.getUTCHours(),D&lt;&lt;=6,D|=X.getUTCMinutes(),D&lt;&lt;=5,D|=X.getUTCSeconds()/2,E=X.getUTCFullYear()-1980,E&lt;&lt;=4,E|=X.getUTCMonth()+1,E&lt;&lt;=5,E|=X.getUTCDate(),Z&amp;&amp;(ee=g(1,1)+g(O(N),4)+M,U+=&quot;up&quot;+g(ee.length,2)+ee),ie&amp;&amp;(z=g(1,1)+g(O(B),4)+Y,U+=&quot;uc&quot;+g(z.length,2)+z);var de=&quot;&quot;;return de+=`
\0`,de+=g(ne,2),de+=k.magic,de+=g(D,2),de+=g(E,2),de+=g(re.crc32,4),de+=g(re.compressedSize,4),de+=g(re.uncompressedSize,4),de+=g(N.length,2),de+=g(U.length,2),{fileRecord:T.LOCAL_FILE_HEADER+de+N+U,dirRecord:T.CENTRAL_FILE_HEADER+g(te,2)+de+g(B.length,2)+&quot;\0\0\0\0&quot;+g(Q,4)+g(K,4)+N+U+B}}var v=m(&quot;../utils&quot;),_=m(&quot;../stream/GenericWorker&quot;),C=m(&quot;../utf8&quot;),O=m(&quot;../crc32&quot;),T=m(&quot;../signature&quot;);function V(F,H,W,K){_.call(this,&quot;ZipFileWorker&quot;),this.bytesWritten=0,this.zipComment=H,this.zipPlatform=W,this.encodeFileName=K,this.streamFiles=F,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}v.inherits(V,_),V.prototype.push=function(F){var H=F.meta.percent||0,W=this.entriesCount,K=this._sources.length;this.accumulate?this.contentBuffer.push(F):(this.bytesWritten+=F.data.length,_.prototype.push.call(this,{data:F.data,meta:{currentFile:this.currentFile,percent:W?(H+100*(W-K-1))/W:100}}))},V.prototype.openedSource=function(F){this.currentSourceOffset=this.bytesWritten,this.currentFile=F.file.name;var H=this.streamFiles&amp;&amp;!F.file.dir;if(H){var W=y(F,H,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:W.fileRecord,meta:{percent:0}})}else this.accumulate=!0},V.prototype.closedSource=function(F){this.accumulate=!1;var H=this.streamFiles&amp;&amp;!F.file.dir,W=y(F,H,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(W.dirRecord),H)this.push({data:(function(K){return T.DATA_DESCRIPTOR+g(K.crc32,4)+g(K.compressedSize,4)+g(K.uncompressedSize,4)})(F),meta:{percent:100}});else for(this.push({data:W.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},V.prototype.flush=function(){for(var F=this.bytesWritten,H=0;H&lt;this.dirRecords.length;H++)this.push({data:this.dirRecords[H],meta:{percent:100}});var W=this.bytesWritten-F,K=(function($,P,D,E,j){var k=v.transformTo(&quot;string&quot;,j(E));return T.CENTRAL_DIRECTORY_END+&quot;\0\0\0\0&quot;+g($,2)+g($,2)+g(P,4)+g(D,4)+g(k.length,2)+k})(this.dirRecords.length,W,F,this.zipComment,this.encodeFileName);this.push({data:K,meta:{percent:100}})},V.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},V.prototype.registerPrevious=function(F){this._sources.push(F);var H=this;return F.on(&quot;data&quot;,(function(W){H.processChunk(W)})),F.on(&quot;end&quot;,(function(){H.closedSource(H.previous.streamInfo),H._sources.length?H.prepareNextSource():H.end()})),F.on(&quot;error&quot;,(function(W){H.error(W)})),this},V.prototype.resume=function(){return!!_.prototype.resume.call(this)&amp;&amp;(!this.previous&amp;&amp;this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},V.prototype.error=function(F){var H=this._sources;if(!_.prototype.error.call(this,F))return!1;for(var W=0;W&lt;H.length;W++)try{H[W].error(F)}catch{}return!0},V.prototype.lock=function(){_.prototype.lock.call(this);for(var F=this._sources,H=0;H&lt;F.length;H++)F[H].lock()},p.exports=V},{&quot;../crc32&quot;:4,&quot;../signature&quot;:23,&quot;../stream/GenericWorker&quot;:28,&quot;../utf8&quot;:31,&quot;../utils&quot;:32}],9:[function(m,p,b){var g=m(&quot;../compressions&quot;),y=m(&quot;./ZipFileWorker&quot;);b.generateWorker=function(v,_,C){var O=new y(_.streamFiles,C,_.platform,_.encodeFileName),T=0;try{v.forEach((function(V,F){T++;var H=(function(P,D){var E=P||D,j=g[E];if(!j)throw new Error(E+&quot; is not a valid compression method !&quot;);return j})(F.options.compression,_.compression),W=F.options.compressionOptions||_.compressionOptions||{},K=F.dir,$=F.date;F._compressWorker(H,W).withStreamInfo(&quot;file&quot;,{name:V,dir:K,date:$,comment:F.comment||&quot;&quot;,unixPermissions:F.unixPermissions,dosPermissions:F.dosPermissions}).pipe(O)})),O.entriesCount=T}catch(V){O.error(V)}return O}},{&quot;../compressions&quot;:3,&quot;./ZipFileWorker&quot;:8}],10:[function(m,p,b){function g(){if(!(this instanceof g))return new g;if(arguments.length)throw new Error(&quot;The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.&quot;);this.files=Object.create(null),this.comment=null,this.root=&quot;&quot;,this.clone=function(){var y=new g;for(var v in this)typeof this[v]!=&quot;function&quot;&amp;&amp;(y[v]=this[v]);return y}}(g.prototype=m(&quot;./object&quot;)).loadAsync=m(&quot;./load&quot;),g.support=m(&quot;./support&quot;),g.defaults=m(&quot;./defaults&quot;),g.version=&quot;3.10.1&quot;,g.loadAsync=function(y,v){return new g().loadAsync(y,v)},g.external=m(&quot;./external&quot;),p.exports=g},{&quot;./defaults&quot;:5,&quot;./external&quot;:6,&quot;./load&quot;:11,&quot;./object&quot;:15,&quot;./support&quot;:30}],11:[function(m,p,b){var g=m(&quot;./utils&quot;),y=m(&quot;./external&quot;),v=m(&quot;./utf8&quot;),_=m(&quot;./zipEntries&quot;),C=m(&quot;./stream/Crc32Probe&quot;),O=m(&quot;./nodejsUtils&quot;);function T(V){return new y.Promise((function(F,H){var W=V.decompressed.getContentWorker().pipe(new C);W.on(&quot;error&quot;,(function(K){H(K)})).on(&quot;end&quot;,(function(){W.streamInfo.crc32!==V.decompressed.crc32?H(new Error(&quot;Corrupted zip : CRC32 mismatch&quot;)):F()})).resume()}))}p.exports=function(V,F){var H=this;return F=g.extend(F||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:v.utf8decode}),O.isNode&amp;&amp;O.isStream(V)?y.Promise.reject(new Error(&quot;JSZip can&#039;t accept a stream when loading a zip file.&quot;)):g.prepareContent(&quot;the loaded zip file&quot;,V,!0,F.optimizedBinaryString,F.base64).then((function(W){var K=new _(F);return K.load(W),K})).then((function(W){var K=[y.Promise.resolve(W)],$=W.files;if(F.checkCRC32)for(var P=0;P&lt;$.length;P++)K.push(T($[P]));return y.Promise.all(K)})).then((function(W){for(var K=W.shift(),$=K.files,P=0;P&lt;$.length;P++){var D=$[P],E=D.fileNameStr,j=g.resolve(D.fileNameStr);H.file(j,D.decompressed,{binary:!0,optimizedBinaryString:!0,date:D.date,dir:D.dir,comment:D.fileCommentStr.length?D.fileCommentStr:null,unixPermissions:D.unixPermissions,dosPermissions:D.dosPermissions,createFolders:F.createFolders}),D.dir||(H.file(j).unsafeOriginalName=E)}return K.zipComment.length&amp;&amp;(H.comment=K.zipComment),H}))}},{&quot;./external&quot;:6,&quot;./nodejsUtils&quot;:14,&quot;./stream/Crc32Probe&quot;:25,&quot;./utf8&quot;:31,&quot;./utils&quot;:32,&quot;./zipEntries&quot;:33}],12:[function(m,p,b){var g=m(&quot;../utils&quot;),y=m(&quot;../stream/GenericWorker&quot;);function v(_,C){y.call(this,&quot;Nodejs stream input adapter for &quot;+_),this._upstreamEnded=!1,this._bindStream(C)}g.inherits(v,y),v.prototype._bindStream=function(_){var C=this;(this._stream=_).pause(),_.on(&quot;data&quot;,(function(O){C.push({data:O,meta:{percent:0}})})).on(&quot;error&quot;,(function(O){C.isPaused?this.generatedError=O:C.error(O)})).on(&quot;end&quot;,(function(){C.isPaused?C._upstreamEnded=!0:C.end()}))},v.prototype.pause=function(){return!!y.prototype.pause.call(this)&amp;&amp;(this._stream.pause(),!0)},v.prototype.resume=function(){return!!y.prototype.resume.call(this)&amp;&amp;(this._upstreamEnded?this.end():this._stream.resume(),!0)},p.exports=v},{&quot;../stream/GenericWorker&quot;:28,&quot;../utils&quot;:32}],13:[function(m,p,b){var g=m(&quot;readable-stream&quot;).Readable;function y(v,_,C){g.call(this,_),this._helper=v;var O=this;v.on(&quot;data&quot;,(function(T,V){O.push(T)||O._helper.pause(),C&amp;&amp;C(V)})).on(&quot;error&quot;,(function(T){O.emit(&quot;error&quot;,T)})).on(&quot;end&quot;,(function(){O.push(null)}))}m(&quot;../utils&quot;).inherits(y,g),y.prototype._read=function(){this._helper.resume()},p.exports=y},{&quot;../utils&quot;:32,&quot;readable-stream&quot;:16}],14:[function(m,p,b){p.exports={isNode:u!==void 0,newBufferFrom:function(g,y){if(u.from&amp;&amp;u.from!==Uint8Array.from)return u.from(g,y);if(typeof g==&quot;number&quot;)throw new Error(&#039;The &quot;data&quot; argument must not be a number&#039;);return new u(g,y)},allocBuffer:function(g){if(u.alloc)return u.alloc(g);var y=new u(g);return y.fill(0),y},isBuffer:function(g){return u.isBuffer(g)},isStream:function(g){return g&amp;&amp;typeof g.on==&quot;function&quot;&amp;&amp;typeof g.pause==&quot;function&quot;&amp;&amp;typeof g.resume==&quot;function&quot;}}},{}],15:[function(m,p,b){function g(j,k,S){var N,M=v.getTypeOf(k),R=v.extend(S||{},O);R.date=R.date||new Date,R.compression!==null&amp;&amp;(R.compression=R.compression.toUpperCase()),typeof R.unixPermissions==&quot;string&quot;&amp;&amp;(R.unixPermissions=parseInt(R.unixPermissions,8)),R.unixPermissions&amp;&amp;16384&amp;R.unixPermissions&amp;&amp;(R.dir=!0),R.dosPermissions&amp;&amp;16&amp;R.dosPermissions&amp;&amp;(R.dir=!0),R.dir&amp;&amp;(j=$(j)),R.createFolders&amp;&amp;(N=K(j))&amp;&amp;P.call(this,N,!0);var B=M===&quot;string&quot;&amp;&amp;R.binary===!1&amp;&amp;R.base64===!1;S&amp;&amp;S.binary!==void 0||(R.binary=!B),(k instanceof T&amp;&amp;k.uncompressedSize===0||R.dir||!k||k.length===0)&amp;&amp;(R.base64=!1,R.binary=!0,k=&quot;&quot;,R.compression=&quot;STORE&quot;,M=&quot;string&quot;);var Y;Y=k instanceof T||k instanceof _?k:H.isNode&amp;&amp;H.isStream(k)?new W(j,k):v.prepareContent(j,k,R.binary,R.optimizedBinaryString,R.base64);var Z=new V(j,Y,R);this.files[j]=Z}var y=m(&quot;./utf8&quot;),v=m(&quot;./utils&quot;),_=m(&quot;./stream/GenericWorker&quot;),C=m(&quot;./stream/StreamHelper&quot;),O=m(&quot;./defaults&quot;),T=m(&quot;./compressedObject&quot;),V=m(&quot;./zipObject&quot;),F=m(&quot;./generate&quot;),H=m(&quot;./nodejsUtils&quot;),W=m(&quot;./nodejs/NodejsStreamInputAdapter&quot;),K=function(j){j.slice(-1)===&quot;/&quot;&amp;&amp;(j=j.substring(0,j.length-1));var k=j.lastIndexOf(&quot;/&quot;);return 0&lt;k?j.substring(0,k):&quot;&quot;},$=function(j){return j.slice(-1)!==&quot;/&quot;&amp;&amp;(j+=&quot;/&quot;),j},P=function(j,k){return k=k!==void 0?k:O.createFolders,j=$(j),this.files[j]||g.call(this,j,null,{dir:!0,createFolders:k}),this.files[j]};function D(j){return Object.prototype.toString.call(j)===&quot;[object RegExp]&quot;}var E={load:function(){throw new Error(&quot;This method has been removed in JSZip 3.0, please check the upgrade guide.&quot;)},forEach:function(j){var k,S,N;for(k in this.files)N=this.files[k],(S=k.slice(this.root.length,k.length))&amp;&amp;k.slice(0,this.root.length)===this.root&amp;&amp;j(S,N)},filter:function(j){var k=[];return this.forEach((function(S,N){j(S,N)&amp;&amp;k.push(N)})),k},file:function(j,k,S){if(arguments.length!==1)return j=this.root+j,g.call(this,j,k,S),this;if(D(j)){var N=j;return this.filter((function(R,B){return!B.dir&amp;&amp;N.test(R)}))}var M=this.files[this.root+j];return M&amp;&amp;!M.dir?M:null},folder:function(j){if(!j)return this;if(D(j))return this.filter((function(M,R){return R.dir&amp;&amp;j.test(M)}));var k=this.root+j,S=P.call(this,k),N=this.clone();return N.root=S.name,N},remove:function(j){j=this.root+j;var k=this.files[j];if(k||(j.slice(-1)!==&quot;/&quot;&amp;&amp;(j+=&quot;/&quot;),k=this.files[j]),k&amp;&amp;!k.dir)delete this.files[j];else for(var S=this.filter((function(M,R){return R.name.slice(0,j.length)===j})),N=0;N&lt;S.length;N++)delete this.files[S[N].name];return this},generate:function(){throw new Error(&quot;This method has been removed in JSZip 3.0, please check the upgrade guide.&quot;)},generateInternalStream:function(j){var k,S={};try{if((S=v.extend(j||{},{streamFiles:!1,compression:&quot;STORE&quot;,compressionOptions:null,type:&quot;&quot;,platform:&quot;DOS&quot;,comment:null,mimeType:&quot;application/zip&quot;,encodeFileName:y.utf8encode})).type=S.type.toLowerCase(),S.compression=S.compression.toUpperCase(),S.type===&quot;binarystring&quot;&amp;&amp;(S.type=&quot;string&quot;),!S.type)throw new Error(&quot;No output type specified.&quot;);v.checkSupport(S.type),S.platform!==&quot;darwin&quot;&amp;&amp;S.platform!==&quot;freebsd&quot;&amp;&amp;S.platform!==&quot;linux&quot;&amp;&amp;S.platform!==&quot;sunos&quot;||(S.platform=&quot;UNIX&quot;),S.platform===&quot;win32&quot;&amp;&amp;(S.platform=&quot;DOS&quot;);var N=S.comment||this.comment||&quot;&quot;;k=F.generateWorker(this,S,N)}catch(M){(k=new _(&quot;error&quot;)).error(M)}return new C(k,S.type||&quot;string&quot;,S.mimeType)},generateAsync:function(j,k){return this.generateInternalStream(j).accumulate(k)},generateNodeStream:function(j,k){return(j=j||{}).type||(j.type=&quot;nodebuffer&quot;),this.generateInternalStream(j).toNodejsStream(k)}};p.exports=E},{&quot;./compressedObject&quot;:2,&quot;./defaults&quot;:5,&quot;./generate&quot;:9,&quot;./nodejs/NodejsStreamInputAdapter&quot;:12,&quot;./nodejsUtils&quot;:14,&quot;./stream/GenericWorker&quot;:28,&quot;./stream/StreamHelper&quot;:29,&quot;./utf8&quot;:31,&quot;./utils&quot;:32,&quot;./zipObject&quot;:35}],16:[function(m,p,b){p.exports=m(&quot;stream&quot;)},{stream:void 0}],17:[function(m,p,b){var g=m(&quot;./DataReader&quot;);function y(v){g.call(this,v);for(var _=0;_&lt;this.data.length;_++)v[_]=255&amp;v[_]}m(&quot;../utils&quot;).inherits(y,g),y.prototype.byteAt=function(v){return this.data[this.zero+v]},y.prototype.lastIndexOfSignature=function(v){for(var _=v.charCodeAt(0),C=v.charCodeAt(1),O=v.charCodeAt(2),T=v.charCodeAt(3),V=this.length-4;0&lt;=V;--V)if(this.data[V]===_&amp;&amp;this.data[V+1]===C&amp;&amp;this.data[V+2]===O&amp;&amp;this.data[V+3]===T)return V-this.zero;return-1},y.prototype.readAndCheckSignature=function(v){var _=v.charCodeAt(0),C=v.charCodeAt(1),O=v.charCodeAt(2),T=v.charCodeAt(3),V=this.readData(4);return _===V[0]&amp;&amp;C===V[1]&amp;&amp;O===V[2]&amp;&amp;T===V[3]},y.prototype.readData=function(v){if(this.checkOffset(v),v===0)return[];var _=this.data.slice(this.zero+this.index,this.zero+this.index+v);return this.index+=v,_},p.exports=y},{&quot;../utils&quot;:32,&quot;./DataReader&quot;:18}],18:[function(m,p,b){var g=m(&quot;../utils&quot;);function y(v){this.data=v,this.length=v.length,this.index=0,this.zero=0}y.prototype={checkOffset:function(v){this.checkIndex(this.index+v)},checkIndex:function(v){if(this.length&lt;this.zero+v||v&lt;0)throw new Error(&quot;End of data reached (data length = &quot;+this.length+&quot;, asked index = &quot;+v+&quot;). Corrupted zip ?&quot;)},setIndex:function(v){this.checkIndex(v),this.index=v},skip:function(v){this.setIndex(this.index+v)},byteAt:function(){},readInt:function(v){var _,C=0;for(this.checkOffset(v),_=this.index+v-1;_&gt;=this.index;_--)C=(C&lt;&lt;8)+this.byteAt(_);return this.index+=v,C},readString:function(v){return g.transformTo(&quot;string&quot;,this.readData(v))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var v=this.readInt(4);return new Date(Date.UTC(1980+(v&gt;&gt;25&amp;127),(v&gt;&gt;21&amp;15)-1,v&gt;&gt;16&amp;31,v&gt;&gt;11&amp;31,v&gt;&gt;5&amp;63,(31&amp;v)&lt;&lt;1))}},p.exports=y},{&quot;../utils&quot;:32}],19:[function(m,p,b){var g=m(&quot;./Uint8ArrayReader&quot;);function y(v){g.call(this,v)}m(&quot;../utils&quot;).inherits(y,g),y.prototype.readData=function(v){this.checkOffset(v);var _=this.data.slice(this.zero+this.index,this.zero+this.index+v);return this.index+=v,_},p.exports=y},{&quot;../utils&quot;:32,&quot;./Uint8ArrayReader&quot;:21}],20:[function(m,p,b){var g=m(&quot;./DataReader&quot;);function y(v){g.call(this,v)}m(&quot;../utils&quot;).inherits(y,g),y.prototype.byteAt=function(v){return this.data.charCodeAt(this.zero+v)},y.prototype.lastIndexOfSignature=function(v){return this.data.lastIndexOf(v)-this.zero},y.prototype.readAndCheckSignature=function(v){return v===this.readData(4)},y.prototype.readData=function(v){this.checkOffset(v);var _=this.data.slice(this.zero+this.index,this.zero+this.index+v);return this.index+=v,_},p.exports=y},{&quot;../utils&quot;:32,&quot;./DataReader&quot;:18}],21:[function(m,p,b){var g=m(&quot;./ArrayReader&quot;);function y(v){g.call(this,v)}m(&quot;../utils&quot;).inherits(y,g),y.prototype.readData=function(v){if(this.checkOffset(v),v===0)return new Uint8Array(0);var _=this.data.subarray(this.zero+this.index,this.zero+this.index+v);return this.index+=v,_},p.exports=y},{&quot;../utils&quot;:32,&quot;./ArrayReader&quot;:17}],22:[function(m,p,b){var g=m(&quot;../utils&quot;),y=m(&quot;../support&quot;),v=m(&quot;./ArrayReader&quot;),_=m(&quot;./StringReader&quot;),C=m(&quot;./NodeBufferReader&quot;),O=m(&quot;./Uint8ArrayReader&quot;);p.exports=function(T){var V=g.getTypeOf(T);return g.checkSupport(V),V!==&quot;string&quot;||y.uint8array?V===&quot;nodebuffer&quot;?new C(T):y.uint8array?new O(g.transformTo(&quot;uint8array&quot;,T)):new v(g.transformTo(&quot;array&quot;,T)):new _(T)}},{&quot;../support&quot;:30,&quot;../utils&quot;:32,&quot;./ArrayReader&quot;:17,&quot;./NodeBufferReader&quot;:19,&quot;./StringReader&quot;:20,&quot;./Uint8ArrayReader&quot;:21}],23:[function(m,p,b){b.LOCAL_FILE_HEADER=&quot;PK&quot;,b.CENTRAL_FILE_HEADER=&quot;PK&quot;,b.CENTRAL_DIRECTORY_END=&quot;PK&quot;,b.ZIP64_CENTRAL_DIRECTORY_LOCATOR=&quot;PK\x07&quot;,b.ZIP64_CENTRAL_DIRECTORY_END=&quot;PK&quot;,b.DATA_DESCRIPTOR=&quot;PK\x07\b&quot;},{}],24:[function(m,p,b){var g=m(&quot;./GenericWorker&quot;),y=m(&quot;../utils&quot;);function v(_){g.call(this,&quot;ConvertWorker to &quot;+_),this.destType=_}y.inherits(v,g),v.prototype.processChunk=function(_){this.push({data:y.transformTo(this.destType,_.data),meta:_.meta})},p.exports=v},{&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],25:[function(m,p,b){var g=m(&quot;./GenericWorker&quot;),y=m(&quot;../crc32&quot;);function v(){g.call(this,&quot;Crc32Probe&quot;),this.withStreamInfo(&quot;crc32&quot;,0)}m(&quot;../utils&quot;).inherits(v,g),v.prototype.processChunk=function(_){this.streamInfo.crc32=y(_.data,this.streamInfo.crc32||0),this.push(_)},p.exports=v},{&quot;../crc32&quot;:4,&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],26:[function(m,p,b){var g=m(&quot;../utils&quot;),y=m(&quot;./GenericWorker&quot;);function v(_){y.call(this,&quot;DataLengthProbe for &quot;+_),this.propName=_,this.withStreamInfo(_,0)}g.inherits(v,y),v.prototype.processChunk=function(_){if(_){var C=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=C+_.data.length}y.prototype.processChunk.call(this,_)},p.exports=v},{&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],27:[function(m,p,b){var g=m(&quot;../utils&quot;),y=m(&quot;./GenericWorker&quot;);function v(_){y.call(this,&quot;DataWorker&quot;);var C=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=&quot;&quot;,this._tickScheduled=!1,_.then((function(O){C.dataIsReady=!0,C.data=O,C.max=O&amp;&amp;O.length||0,C.type=g.getTypeOf(O),C.isPaused||C._tickAndRepeat()}),(function(O){C.error(O)}))}g.inherits(v,y),v.prototype.cleanUp=function(){y.prototype.cleanUp.call(this),this.data=null},v.prototype.resume=function(){return!!y.prototype.resume.call(this)&amp;&amp;(!this._tickScheduled&amp;&amp;this.dataIsReady&amp;&amp;(this._tickScheduled=!0,g.delay(this._tickAndRepeat,[],this)),!0)},v.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(g.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},v.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var _=null,C=Math.min(this.max,this.index+16384);if(this.index&gt;=this.max)return this.end();switch(this.type){case&quot;string&quot;:_=this.data.substring(this.index,C);break;case&quot;uint8array&quot;:_=this.data.subarray(this.index,C);break;case&quot;array&quot;:case&quot;nodebuffer&quot;:_=this.data.slice(this.index,C)}return this.index=C,this.push({data:_,meta:{percent:this.max?this.index/this.max*100:0}})},p.exports=v},{&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],28:[function(m,p,b){function g(y){this.name=y||&quot;default&quot;,this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}g.prototype={push:function(y){this.emit(&quot;data&quot;,y)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(&quot;end&quot;),this.cleanUp(),this.isFinished=!0}catch(y){this.emit(&quot;error&quot;,y)}return!0},error:function(y){return!this.isFinished&amp;&amp;(this.isPaused?this.generatedError=y:(this.isFinished=!0,this.emit(&quot;error&quot;,y),this.previous&amp;&amp;this.previous.error(y),this.cleanUp()),!0)},on:function(y,v){return this._listeners[y].push(v),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(y,v){if(this._listeners[y])for(var _=0;_&lt;this._listeners[y].length;_++)this._listeners[y][_].call(this,v)},pipe:function(y){return y.registerPrevious(this)},registerPrevious:function(y){if(this.isLocked)throw new Error(&quot;The stream &#039;&quot;+this+&quot;&#039; has already been used.&quot;);this.streamInfo=y.streamInfo,this.mergeStreamInfo(),this.previous=y;var v=this;return y.on(&quot;data&quot;,(function(_){v.processChunk(_)})),y.on(&quot;end&quot;,(function(){v.end()})),y.on(&quot;error&quot;,(function(_){v.error(_)})),this},pause:function(){return!this.isPaused&amp;&amp;!this.isFinished&amp;&amp;(this.isPaused=!0,this.previous&amp;&amp;this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var y=this.isPaused=!1;return this.generatedError&amp;&amp;(this.error(this.generatedError),y=!0),this.previous&amp;&amp;this.previous.resume(),!y},flush:function(){},processChunk:function(y){this.push(y)},withStreamInfo:function(y,v){return this.extraStreamInfo[y]=v,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var y in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,y)&amp;&amp;(this.streamInfo[y]=this.extraStreamInfo[y])},lock:function(){if(this.isLocked)throw new Error(&quot;The stream &#039;&quot;+this+&quot;&#039; has already been used.&quot;);this.isLocked=!0,this.previous&amp;&amp;this.previous.lock()},toString:function(){var y=&quot;Worker &quot;+this.name;return this.previous?this.previous+&quot; -&gt; &quot;+y:y}},p.exports=g},{}],29:[function(m,p,b){var g=m(&quot;../utils&quot;),y=m(&quot;./ConvertWorker&quot;),v=m(&quot;./GenericWorker&quot;),_=m(&quot;../base64&quot;),C=m(&quot;../support&quot;),O=m(&quot;../external&quot;),T=null;if(C.nodestream)try{T=m(&quot;../nodejs/NodejsStreamOutputAdapter&quot;)}catch{}function V(F,H,W){var K=H;switch(H){case&quot;blob&quot;:case&quot;arraybuffer&quot;:K=&quot;uint8array&quot;;break;case&quot;base64&quot;:K=&quot;string&quot;}try{this._internalType=K,this._outputType=H,this._mimeType=W,g.checkSupport(K),this._worker=F.pipe(new y(K)),F.lock()}catch($){this._worker=new v(&quot;error&quot;),this._worker.error($)}}V.prototype={accumulate:function(F){return(function(H,W){return new O.Promise((function(K,$){var P=[],D=H._internalType,E=H._outputType,j=H._mimeType;H.on(&quot;data&quot;,(function(k,S){P.push(k),W&amp;&amp;W(S)})).on(&quot;error&quot;,(function(k){P=[],$(k)})).on(&quot;end&quot;,(function(){try{var k=(function(S,N,M){switch(S){case&quot;blob&quot;:return g.newBlob(g.transformTo(&quot;arraybuffer&quot;,N),M);case&quot;base64&quot;:return _.encode(N);default:return g.transformTo(S,N)}})(E,(function(S,N){var M,R=0,B=null,Y=0;for(M=0;M&lt;N.length;M++)Y+=N[M].length;switch(S){case&quot;string&quot;:return N.join(&quot;&quot;);case&quot;array&quot;:return Array.prototype.concat.apply([],N);case&quot;uint8array&quot;:for(B=new Uint8Array(Y),M=0;M&lt;N.length;M++)B.set(N[M],R),R+=N[M].length;return B;case&quot;nodebuffer&quot;:return u.concat(N);default:throw new Error(&quot;concat : unsupported type &#039;&quot;+S+&quot;&#039;&quot;)}})(D,P),j);K(k)}catch(S){$(S)}P=[]})).resume()}))})(this,F)},on:function(F,H){var W=this;return F===&quot;data&quot;?this._worker.on(F,(function(K){H.call(W,K.data,K.meta)})):this._worker.on(F,(function(){g.delay(H,arguments,W)})),this},resume:function(){return g.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(F){if(g.checkSupport(&quot;nodestream&quot;),this._outputType!==&quot;nodebuffer&quot;)throw new Error(this._outputType+&quot; is not supported by this method&quot;);return new T(this,{objectMode:this._outputType!==&quot;nodebuffer&quot;},F)}},p.exports=V},{&quot;../base64&quot;:1,&quot;../external&quot;:6,&quot;../nodejs/NodejsStreamOutputAdapter&quot;:13,&quot;../support&quot;:30,&quot;../utils&quot;:32,&quot;./ConvertWorker&quot;:24,&quot;./GenericWorker&quot;:28}],30:[function(m,p,b){if(b.base64=!0,b.array=!0,b.string=!0,b.arraybuffer=typeof ArrayBuffer&lt;&quot;u&quot;&amp;&amp;typeof Uint8Array&lt;&quot;u&quot;,b.nodebuffer=u!==void 0,b.uint8array=typeof Uint8Array&lt;&quot;u&quot;,typeof ArrayBuffer&gt;&quot;u&quot;)b.blob=!1;else{var g=new ArrayBuffer(0);try{b.blob=new Blob([g],{type:&quot;application/zip&quot;}).size===0}catch{try{var y=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);y.append(g),b.blob=y.getBlob(&quot;application/zip&quot;).size===0}catch{b.blob=!1}}}try{b.nodestream=!!m(&quot;readable-stream&quot;).Readable}catch{b.nodestream=!1}},{&quot;readable-stream&quot;:16}],31:[function(m,p,b){for(var g=m(&quot;./utils&quot;),y=m(&quot;./support&quot;),v=m(&quot;./nodejsUtils&quot;),_=m(&quot;./stream/GenericWorker&quot;),C=new Array(256),O=0;O&lt;256;O++)C[O]=252&lt;=O?6:248&lt;=O?5:240&lt;=O?4:224&lt;=O?3:192&lt;=O?2:1;function T(){_.call(this,&quot;utf-8 decode&quot;),this.leftOver=null}function V(){_.call(this,&quot;utf-8 encode&quot;)}C[254]=C[254]=1,b.utf8encode=function(F){return y.nodebuffer?v.newBufferFrom(F,&quot;utf-8&quot;):(function(H){var W,K,$,P,D,E=H.length,j=0;for(P=0;P&lt;E;P++)(64512&amp;(K=H.charCodeAt(P)))==55296&amp;&amp;P+1&lt;E&amp;&amp;(64512&amp;($=H.charCodeAt(P+1)))==56320&amp;&amp;(K=65536+(K-55296&lt;&lt;10)+($-56320),P++),j+=K&lt;128?1:K&lt;2048?2:K&lt;65536?3:4;for(W=y.uint8array?new Uint8Array(j):new Array(j),P=D=0;D&lt;j;P++)(64512&amp;(K=H.charCodeAt(P)))==55296&amp;&amp;P+1&lt;E&amp;&amp;(64512&amp;($=H.charCodeAt(P+1)))==56320&amp;&amp;(K=65536+(K-55296&lt;&lt;10)+($-56320),P++),K&lt;128?W[D++]=K:(K&lt;2048?W[D++]=192|K&gt;&gt;&gt;6:(K&lt;65536?W[D++]=224|K&gt;&gt;&gt;12:(W[D++]=240|K&gt;&gt;&gt;18,W[D++]=128|K&gt;&gt;&gt;12&amp;63),W[D++]=128|K&gt;&gt;&gt;6&amp;63),W[D++]=128|63&amp;K);return W})(F)},b.utf8decode=function(F){return y.nodebuffer?g.transformTo(&quot;nodebuffer&quot;,F).toString(&quot;utf-8&quot;):(function(H){var W,K,$,P,D=H.length,E=new Array(2*D);for(W=K=0;W&lt;D;)if(($=H[W++])&lt;128)E[K++]=$;else if(4&lt;(P=C[$]))E[K++]=65533,W+=P-1;else{for($&amp;=P===2?31:P===3?15:7;1&lt;P&amp;&amp;W&lt;D;)$=$&lt;&lt;6|63&amp;H[W++],P--;1&lt;P?E[K++]=65533:$&lt;65536?E[K++]=$:($-=65536,E[K++]=55296|$&gt;&gt;10&amp;1023,E[K++]=56320|1023&amp;$)}return E.length!==K&amp;&amp;(E.subarray?E=E.subarray(0,K):E.length=K),g.applyFromCharCode(E)})(F=g.transformTo(y.uint8array?&quot;uint8array&quot;:&quot;array&quot;,F))},g.inherits(T,_),T.prototype.processChunk=function(F){var H=g.transformTo(y.uint8array?&quot;uint8array&quot;:&quot;array&quot;,F.data);if(this.leftOver&amp;&amp;this.leftOver.length){if(y.uint8array){var W=H;(H=new Uint8Array(W.length+this.leftOver.length)).set(this.leftOver,0),H.set(W,this.leftOver.length)}else H=this.leftOver.concat(H);this.leftOver=null}var K=(function(P,D){var E;for((D=D||P.length)&gt;P.length&amp;&amp;(D=P.length),E=D-1;0&lt;=E&amp;&amp;(192&amp;P[E])==128;)E--;return E&lt;0||E===0?D:E+C[P[E]]&gt;D?E:D})(H),$=H;K!==H.length&amp;&amp;(y.uint8array?($=H.subarray(0,K),this.leftOver=H.subarray(K,H.length)):($=H.slice(0,K),this.leftOver=H.slice(K,H.length))),this.push({data:b.utf8decode($),meta:F.meta})},T.prototype.flush=function(){this.leftOver&amp;&amp;this.leftOver.length&amp;&amp;(this.push({data:b.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},b.Utf8DecodeWorker=T,g.inherits(V,_),V.prototype.processChunk=function(F){this.push({data:b.utf8encode(F.data),meta:F.meta})},b.Utf8EncodeWorker=V},{&quot;./nodejsUtils&quot;:14,&quot;./stream/GenericWorker&quot;:28,&quot;./support&quot;:30,&quot;./utils&quot;:32}],32:[function(m,p,b){var g=m(&quot;./support&quot;),y=m(&quot;./base64&quot;),v=m(&quot;./nodejsUtils&quot;),_=m(&quot;./external&quot;);function C(W){return W}function O(W,K){for(var $=0;$&lt;W.length;++$)K[$]=255&amp;W.charCodeAt($);return K}m(&quot;setimmediate&quot;),b.newBlob=function(W,K){b.checkSupport(&quot;blob&quot;);try{return new Blob([W],{type:K})}catch{try{var $=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return $.append(W),$.getBlob(K)}catch{throw new Error(&quot;Bug : can&#039;t construct the Blob.&quot;)}}};var T={stringifyByChunk:function(W,K,$){var P=[],D=0,E=W.length;if(E&lt;=$)return String.fromCharCode.apply(null,W);for(;D&lt;E;)K===&quot;array&quot;||K===&quot;nodebuffer&quot;?P.push(String.fromCharCode.apply(null,W.slice(D,Math.min(D+$,E)))):P.push(String.fromCharCode.apply(null,W.subarray(D,Math.min(D+$,E)))),D+=$;return P.join(&quot;&quot;)},stringifyByChar:function(W){for(var K=&quot;&quot;,$=0;$&lt;W.length;$++)K+=String.fromCharCode(W[$]);return K},applyCanBeUsed:{uint8array:(function(){try{return g.uint8array&amp;&amp;String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return g.nodebuffer&amp;&amp;String.fromCharCode.apply(null,v.allocBuffer(1)).length===1}catch{return!1}})()}};function V(W){var K=65536,$=b.getTypeOf(W),P=!0;if($===&quot;uint8array&quot;?P=T.applyCanBeUsed.uint8array:$===&quot;nodebuffer&quot;&amp;&amp;(P=T.applyCanBeUsed.nodebuffer),P)for(;1&lt;K;)try{return T.stringifyByChunk(W,$,K)}catch{K=Math.floor(K/2)}return T.stringifyByChar(W)}function F(W,K){for(var $=0;$&lt;W.length;$++)K[$]=W[$];return K}b.applyFromCharCode=V;var H={};H.string={string:C,array:function(W){return O(W,new Array(W.length))},arraybuffer:function(W){return H.string.uint8array(W).buffer},uint8array:function(W){return O(W,new Uint8Array(W.length))},nodebuffer:function(W){return O(W,v.allocBuffer(W.length))}},H.array={string:V,array:C,arraybuffer:function(W){return new Uint8Array(W).buffer},uint8array:function(W){return new Uint8Array(W)},nodebuffer:function(W){return v.newBufferFrom(W)}},H.arraybuffer={string:function(W){return V(new Uint8Array(W))},array:function(W){return F(new Uint8Array(W),new Array(W.byteLength))},arraybuffer:C,uint8array:function(W){return new Uint8Array(W)},nodebuffer:function(W){return v.newBufferFrom(new Uint8Array(W))}},H.uint8array={string:V,array:function(W){return F(W,new Array(W.length))},arraybuffer:function(W){return W.buffer},uint8array:C,nodebuffer:function(W){return v.newBufferFrom(W)}},H.nodebuffer={string:V,array:function(W){return F(W,new Array(W.length))},arraybuffer:function(W){return H.nodebuffer.uint8array(W).buffer},uint8array:function(W){return F(W,new Uint8Array(W.length))},nodebuffer:C},b.transformTo=function(W,K){if(K=K||&quot;&quot;,!W)return K;b.checkSupport(W);var $=b.getTypeOf(K);return H[$][W](K)},b.resolve=function(W){for(var K=W.split(&quot;/&quot;),$=[],P=0;P&lt;K.length;P++){var D=K[P];D===&quot;.&quot;||D===&quot;&quot;&amp;&amp;P!==0&amp;&amp;P!==K.length-1||(D===&quot;..&quot;?$.pop():$.push(D))}return $.join(&quot;/&quot;)},b.getTypeOf=function(W){return typeof W==&quot;string&quot;?&quot;string&quot;:Object.prototype.toString.call(W)===&quot;[object Array]&quot;?&quot;array&quot;:g.nodebuffer&amp;&amp;v.isBuffer(W)?&quot;nodebuffer&quot;:g.uint8array&amp;&amp;W instanceof Uint8Array?&quot;uint8array&quot;:g.arraybuffer&amp;&amp;W instanceof ArrayBuffer?&quot;arraybuffer&quot;:void 0},b.checkSupport=function(W){if(!g[W.toLowerCase()])throw new Error(W+&quot; is not supported by this platform&quot;)},b.MAX_VALUE_16BITS=65535,b.MAX_VALUE_32BITS=-1,b.pretty=function(W){var K,$,P=&quot;&quot;;for($=0;$&lt;(W||&quot;&quot;).length;$++)P+=&quot;\\x&quot;+((K=W.charCodeAt($))&lt;16?&quot;0&quot;:&quot;&quot;)+K.toString(16).toUpperCase();return P},b.delay=function(W,K,$){h((function(){W.apply($||null,K||[])}))},b.inherits=function(W,K){function $(){}$.prototype=K.prototype,W.prototype=new $},b.extend=function(){var W,K,$={};for(W=0;W&lt;arguments.length;W++)for(K in arguments[W])Object.prototype.hasOwnProperty.call(arguments[W],K)&amp;&amp;$[K]===void 0&amp;&amp;($[K]=arguments[W][K]);return $},b.prepareContent=function(W,K,$,P,D){return _.Promise.resolve(K).then((function(E){return g.blob&amp;&amp;(E instanceof Blob||[&quot;[object File]&quot;,&quot;[object Blob]&quot;].indexOf(Object.prototype.toString.call(E))!==-1)&amp;&amp;typeof FileReader&lt;&quot;u&quot;?new _.Promise((function(j,k){var S=new FileReader;S.onload=function(N){j(N.target.result)},S.onerror=function(N){k(N.target.error)},S.readAsArrayBuffer(E)})):E})).then((function(E){var j=b.getTypeOf(E);return j?(j===&quot;arraybuffer&quot;?E=b.transformTo(&quot;uint8array&quot;,E):j===&quot;string&quot;&amp;&amp;(D?E=y.decode(E):$&amp;&amp;P!==!0&amp;&amp;(E=(function(k){return O(k,g.uint8array?new Uint8Array(k.length):new Array(k.length))})(E))),E):_.Promise.reject(new Error(&quot;Can&#039;t read the data of &#039;&quot;+W+&quot;&#039;. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?&quot;))}))}},{&quot;./base64&quot;:1,&quot;./external&quot;:6,&quot;./nodejsUtils&quot;:14,&quot;./support&quot;:30,setimmediate:54}],33:[function(m,p,b){var g=m(&quot;./reader/readerFor&quot;),y=m(&quot;./utils&quot;),v=m(&quot;./signature&quot;),_=m(&quot;./zipEntry&quot;),C=m(&quot;./support&quot;);function O(T){this.files=[],this.loadOptions=T}O.prototype={checkSignature:function(T){if(!this.reader.readAndCheckSignature(T)){this.reader.index-=4;var V=this.reader.readString(4);throw new Error(&quot;Corrupted zip or bug: unexpected signature (&quot;+y.pretty(V)+&quot;, expected &quot;+y.pretty(T)+&quot;)&quot;)}},isSignature:function(T,V){var F=this.reader.index;this.reader.setIndex(T);var H=this.reader.readString(4)===V;return this.reader.setIndex(F),H},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var T=this.reader.readData(this.zipCommentLength),V=C.uint8array?&quot;uint8array&quot;:&quot;array&quot;,F=y.transformTo(V,T);this.zipComment=this.loadOptions.decodeFileName(F)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var T,V,F,H=this.zip64EndOfCentralSize-44;0&lt;H;)T=this.reader.readInt(2),V=this.reader.readInt(4),F=this.reader.readData(V),this.zip64ExtensibleData[T]={id:T,length:V,value:F}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1&lt;this.disksCount)throw new Error(&quot;Multi-volumes zip are not supported&quot;)},readLocalFiles:function(){var T,V;for(T=0;T&lt;this.files.length;T++)V=this.files[T],this.reader.setIndex(V.localHeaderOffset),this.checkSignature(v.LOCAL_FILE_HEADER),V.readLocalPart(this.reader),V.handleUTF8(),V.processAttributes()},readCentralDir:function(){var T;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(v.CENTRAL_FILE_HEADER);)(T=new _({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(T);if(this.centralDirRecords!==this.files.length&amp;&amp;this.centralDirRecords!==0&amp;&amp;this.files.length===0)throw new Error(&quot;Corrupted zip or bug: expected &quot;+this.centralDirRecords+&quot; records in central dir, got &quot;+this.files.length)},readEndOfCentral:function(){var T=this.reader.lastIndexOfSignature(v.CENTRAL_DIRECTORY_END);if(T&lt;0)throw this.isSignature(0,v.LOCAL_FILE_HEADER)?new Error(&quot;Corrupted zip: can&#039;t find end of central directory&quot;):new Error(&quot;Can&#039;t find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html&quot;);this.reader.setIndex(T);var V=T;if(this.checkSignature(v.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===y.MAX_VALUE_16BITS||this.diskWithCentralDirStart===y.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===y.MAX_VALUE_16BITS||this.centralDirRecords===y.MAX_VALUE_16BITS||this.centralDirSize===y.MAX_VALUE_32BITS||this.centralDirOffset===y.MAX_VALUE_32BITS){if(this.zip64=!0,(T=this.reader.lastIndexOfSignature(v.ZIP64_CENTRAL_DIRECTORY_LOCATOR))&lt;0)throw new Error(&quot;Corrupted zip: can&#039;t find the ZIP64 end of central directory locator&quot;);if(this.reader.setIndex(T),this.checkSignature(v.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,v.ZIP64_CENTRAL_DIRECTORY_END)&amp;&amp;(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(v.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir&lt;0))throw new Error(&quot;Corrupted zip: can&#039;t find the ZIP64 end of central directory&quot;);this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(v.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var F=this.centralDirOffset+this.centralDirSize;this.zip64&amp;&amp;(F+=20,F+=12+this.zip64EndOfCentralSize);var H=V-F;if(0&lt;H)this.isSignature(V,v.CENTRAL_FILE_HEADER)||(this.reader.zero=H);else if(H&lt;0)throw new Error(&quot;Corrupted zip: missing &quot;+Math.abs(H)+&quot; bytes.&quot;)},prepareReader:function(T){this.reader=g(T)},load:function(T){this.prepareReader(T),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},p.exports=O},{&quot;./reader/readerFor&quot;:22,&quot;./signature&quot;:23,&quot;./support&quot;:30,&quot;./utils&quot;:32,&quot;./zipEntry&quot;:34}],34:[function(m,p,b){var g=m(&quot;./reader/readerFor&quot;),y=m(&quot;./utils&quot;),v=m(&quot;./compressedObject&quot;),_=m(&quot;./crc32&quot;),C=m(&quot;./utf8&quot;),O=m(&quot;./compressions&quot;),T=m(&quot;./support&quot;);function V(F,H){this.options=F,this.loadOptions=H}V.prototype={isEncrypted:function(){return(1&amp;this.bitFlag)==1},useUTF8:function(){return(2048&amp;this.bitFlag)==2048},readLocalPart:function(F){var H,W;if(F.skip(22),this.fileNameLength=F.readInt(2),W=F.readInt(2),this.fileName=F.readData(this.fileNameLength),F.skip(W),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error(&quot;Bug or corrupted zip : didn&#039;t get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)&quot;);if((H=(function(K){for(var $ in O)if(Object.prototype.hasOwnProperty.call(O,$)&amp;&amp;O[$].magic===K)return O[$];return null})(this.compressionMethod))===null)throw new Error(&quot;Corrupted zip : compression &quot;+y.pretty(this.compressionMethod)+&quot; unknown (inner file : &quot;+y.transformTo(&quot;string&quot;,this.fileName)+&quot;)&quot;);this.decompressed=new v(this.compressedSize,this.uncompressedSize,this.crc32,H,F.readData(this.compressedSize))},readCentralPart:function(F){this.versionMadeBy=F.readInt(2),F.skip(2),this.bitFlag=F.readInt(2),this.compressionMethod=F.readString(2),this.date=F.readDate(),this.crc32=F.readInt(4),this.compressedSize=F.readInt(4),this.uncompressedSize=F.readInt(4);var H=F.readInt(2);if(this.extraFieldsLength=F.readInt(2),this.fileCommentLength=F.readInt(2),this.diskNumberStart=F.readInt(2),this.internalFileAttributes=F.readInt(2),this.externalFileAttributes=F.readInt(4),this.localHeaderOffset=F.readInt(4),this.isEncrypted())throw new Error(&quot;Encrypted zip are not supported&quot;);F.skip(H),this.readExtraFields(F),this.parseZIP64ExtraField(F),this.fileComment=F.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var F=this.versionMadeBy&gt;&gt;8;this.dir=!!(16&amp;this.externalFileAttributes),F==0&amp;&amp;(this.dosPermissions=63&amp;this.externalFileAttributes),F==3&amp;&amp;(this.unixPermissions=this.externalFileAttributes&gt;&gt;16&amp;65535),this.dir||this.fileNameStr.slice(-1)!==&quot;/&quot;||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var F=g(this.extraFields[1].value);this.uncompressedSize===y.MAX_VALUE_32BITS&amp;&amp;(this.uncompressedSize=F.readInt(8)),this.compressedSize===y.MAX_VALUE_32BITS&amp;&amp;(this.compressedSize=F.readInt(8)),this.localHeaderOffset===y.MAX_VALUE_32BITS&amp;&amp;(this.localHeaderOffset=F.readInt(8)),this.diskNumberStart===y.MAX_VALUE_32BITS&amp;&amp;(this.diskNumberStart=F.readInt(4))}},readExtraFields:function(F){var H,W,K,$=F.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});F.index+4&lt;$;)H=F.readInt(2),W=F.readInt(2),K=F.readData(W),this.extraFields[H]={id:H,length:W,value:K};F.setIndex($)},handleUTF8:function(){var F=T.uint8array?&quot;uint8array&quot;:&quot;array&quot;;if(this.useUTF8())this.fileNameStr=C.utf8decode(this.fileName),this.fileCommentStr=C.utf8decode(this.fileComment);else{var H=this.findExtraFieldUnicodePath();if(H!==null)this.fileNameStr=H;else{var W=y.transformTo(F,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(W)}var K=this.findExtraFieldUnicodeComment();if(K!==null)this.fileCommentStr=K;else{var $=y.transformTo(F,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName($)}}},findExtraFieldUnicodePath:function(){var F=this.extraFields[28789];if(F){var H=g(F.value);return H.readInt(1)!==1||_(this.fileName)!==H.readInt(4)?null:C.utf8decode(H.readData(F.length-5))}return null},findExtraFieldUnicodeComment:function(){var F=this.extraFields[25461];if(F){var H=g(F.value);return H.readInt(1)!==1||_(this.fileComment)!==H.readInt(4)?null:C.utf8decode(H.readData(F.length-5))}return null}},p.exports=V},{&quot;./compressedObject&quot;:2,&quot;./compressions&quot;:3,&quot;./crc32&quot;:4,&quot;./reader/readerFor&quot;:22,&quot;./support&quot;:30,&quot;./utf8&quot;:31,&quot;./utils&quot;:32}],35:[function(m,p,b){function g(H,W,K){this.name=H,this.dir=K.dir,this.date=K.date,this.comment=K.comment,this.unixPermissions=K.unixPermissions,this.dosPermissions=K.dosPermissions,this._data=W,this._dataBinary=K.binary,this.options={compression:K.compression,compressionOptions:K.compressionOptions}}var y=m(&quot;./stream/StreamHelper&quot;),v=m(&quot;./stream/DataWorker&quot;),_=m(&quot;./utf8&quot;),C=m(&quot;./compressedObject&quot;),O=m(&quot;./stream/GenericWorker&quot;);g.prototype={internalStream:function(H){var W=null,K=&quot;string&quot;;try{if(!H)throw new Error(&quot;No output type specified.&quot;);var $=(K=H.toLowerCase())===&quot;string&quot;||K===&quot;text&quot;;K!==&quot;binarystring&quot;&amp;&amp;K!==&quot;text&quot;||(K=&quot;string&quot;),W=this._decompressWorker();var P=!this._dataBinary;P&amp;&amp;!$&amp;&amp;(W=W.pipe(new _.Utf8EncodeWorker)),!P&amp;&amp;$&amp;&amp;(W=W.pipe(new _.Utf8DecodeWorker))}catch(D){(W=new O(&quot;error&quot;)).error(D)}return new y(W,K,&quot;&quot;)},async:function(H,W){return this.internalStream(H).accumulate(W)},nodeStream:function(H,W){return this.internalStream(H||&quot;nodebuffer&quot;).toNodejsStream(W)},_compressWorker:function(H,W){if(this._data instanceof C&amp;&amp;this._data.compression.magic===H.magic)return this._data.getCompressedWorker();var K=this._decompressWorker();return this._dataBinary||(K=K.pipe(new _.Utf8EncodeWorker)),C.createWorkerFrom(K,H,W)},_decompressWorker:function(){return this._data instanceof C?this._data.getContentWorker():this._data instanceof O?this._data:new v(this._data)}};for(var T=[&quot;asText&quot;,&quot;asBinary&quot;,&quot;asNodeBuffer&quot;,&quot;asUint8Array&quot;,&quot;asArrayBuffer&quot;],V=function(){throw new Error(&quot;This method has been removed in JSZip 3.0, please check the upgrade guide.&quot;)},F=0;F&lt;T.length;F++)g.prototype[T[F]]=V;p.exports=g},{&quot;./compressedObject&quot;:2,&quot;./stream/DataWorker&quot;:27,&quot;./stream/GenericWorker&quot;:28,&quot;./stream/StreamHelper&quot;:29,&quot;./utf8&quot;:31}],36:[function(m,p,b){(function(g){var y,v,_=g.MutationObserver||g.WebKitMutationObserver;if(_){var C=0,O=new _(H),T=g.document.createTextNode(&quot;&quot;);O.observe(T,{characterData:!0}),y=function(){T.data=C=++C%2}}else if(g.setImmediate||g.MessageChannel===void 0)y=&quot;document&quot;in g&amp;&amp;&quot;onreadystatechange&quot;in g.document.createElement(&quot;script&quot;)?function(){var W=g.document.createElement(&quot;script&quot;);W.onreadystatechange=function(){H(),W.onreadystatechange=null,W.parentNode.removeChild(W),W=null},g.document.documentElement.appendChild(W)}:function(){setTimeout(H,0)};else{var V=new g.MessageChannel;V.port1.onmessage=H,y=function(){V.port2.postMessage(0)}}var F=[];function H(){var W,K;v=!0;for(var $=F.length;$;){for(K=F,F=[],W=-1;++W&lt;$;)K[W]();$=F.length}v=!1}p.exports=function(W){F.push(W)!==1||v||y()}}).call(this,a!==void 0?a:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],37:[function(m,p,b){var g=m(&quot;immediate&quot;);function y(){}var v={},_=[&quot;REJECTED&quot;],C=[&quot;FULFILLED&quot;],O=[&quot;PENDING&quot;];function T($){if(typeof $!=&quot;function&quot;)throw new TypeError(&quot;resolver must be a function&quot;);this.state=O,this.queue=[],this.outcome=void 0,$!==y&amp;&amp;W(this,$)}function V($,P,D){this.promise=$,typeof P==&quot;function&quot;&amp;&amp;(this.onFulfilled=P,this.callFulfilled=this.otherCallFulfilled),typeof D==&quot;function&quot;&amp;&amp;(this.onRejected=D,this.callRejected=this.otherCallRejected)}function F($,P,D){g((function(){var E;try{E=P(D)}catch(j){return v.reject($,j)}E===$?v.reject($,new TypeError(&quot;Cannot resolve promise with itself&quot;)):v.resolve($,E)}))}function H($){var P=$&amp;&amp;$.then;if($&amp;&amp;(typeof $==&quot;object&quot;||typeof $==&quot;function&quot;)&amp;&amp;typeof P==&quot;function&quot;)return function(){P.apply($,arguments)}}function W($,P){var D=!1;function E(S){D||(D=!0,v.reject($,S))}function j(S){D||(D=!0,v.resolve($,S))}var k=K((function(){P(j,E)}));k.status===&quot;error&quot;&amp;&amp;E(k.value)}function K($,P){var D={};try{D.value=$(P),D.status=&quot;success&quot;}catch(E){D.status=&quot;error&quot;,D.value=E}return D}(p.exports=T).prototype.finally=function($){if(typeof $!=&quot;function&quot;)return this;var P=this.constructor;return this.then((function(D){return P.resolve($()).then((function(){return D}))}),(function(D){return P.resolve($()).then((function(){throw D}))}))},T.prototype.catch=function($){return this.then(null,$)},T.prototype.then=function($,P){if(typeof $!=&quot;function&quot;&amp;&amp;this.state===C||typeof P!=&quot;function&quot;&amp;&amp;this.state===_)return this;var D=new this.constructor(y);return this.state!==O?F(D,this.state===C?$:P,this.outcome):this.queue.push(new V(D,$,P)),D},V.prototype.callFulfilled=function($){v.resolve(this.promise,$)},V.prototype.otherCallFulfilled=function($){F(this.promise,this.onFulfilled,$)},V.prototype.callRejected=function($){v.reject(this.promise,$)},V.prototype.otherCallRejected=function($){F(this.promise,this.onRejected,$)},v.resolve=function($,P){var D=K(H,P);if(D.status===&quot;error&quot;)return v.reject($,D.value);var E=D.value;if(E)W($,E);else{$.state=C,$.outcome=P;for(var j=-1,k=$.queue.length;++j&lt;k;)$.queue[j].callFulfilled(P)}return $},v.reject=function($,P){$.state=_,$.outcome=P;for(var D=-1,E=$.queue.length;++D&lt;E;)$.queue[D].callRejected(P);return $},T.resolve=function($){return $ instanceof this?$:v.resolve(new this(y),$)},T.reject=function($){var P=new this(y);return v.reject(P,$)},T.all=function($){var P=this;if(Object.prototype.toString.call($)!==&quot;[object Array]&quot;)return this.reject(new TypeError(&quot;must be an array&quot;));var D=$.length,E=!1;if(!D)return this.resolve([]);for(var j=new Array(D),k=0,S=-1,N=new this(y);++S&lt;D;)M($[S],S);return N;function M(R,B){P.resolve(R).then((function(Y){j[B]=Y,++k!==D||E||(E=!0,v.resolve(N,j))}),(function(Y){E||(E=!0,v.reject(N,Y))}))}},T.race=function($){if(Object.prototype.toString.call($)!==&quot;[object Array]&quot;)return this.reject(new TypeError(&quot;must be an array&quot;));var P=$.length,D=!1;if(!P)return this.resolve([]);for(var E,j=-1,k=new this(y);++j&lt;P;)E=$[j],this.resolve(E).then((function(S){D||(D=!0,v.resolve(k,S))}),(function(S){D||(D=!0,v.reject(k,S))}));return k}},{immediate:36}],38:[function(m,p,b){var g={};(0,m(&quot;./lib/utils/common&quot;).assign)(g,m(&quot;./lib/deflate&quot;),m(&quot;./lib/inflate&quot;),m(&quot;./lib/zlib/constants&quot;)),p.exports=g},{&quot;./lib/deflate&quot;:39,&quot;./lib/inflate&quot;:40,&quot;./lib/utils/common&quot;:41,&quot;./lib/zlib/constants&quot;:44}],39:[function(m,p,b){var g=m(&quot;./zlib/deflate&quot;),y=m(&quot;./utils/common&quot;),v=m(&quot;./utils/strings&quot;),_=m(&quot;./zlib/messages&quot;),C=m(&quot;./zlib/zstream&quot;),O=Object.prototype.toString;function T(F){if(!(this instanceof T))return new T(F);this.options=y.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:&quot;&quot;},F||{});var H=this.options;H.raw&amp;&amp;0&lt;H.windowBits?H.windowBits=-H.windowBits:H.gzip&amp;&amp;0&lt;H.windowBits&amp;&amp;H.windowBits&lt;16&amp;&amp;(H.windowBits+=16),this.err=0,this.msg=&quot;&quot;,this.ended=!1,this.chunks=[],this.strm=new C,this.strm.avail_out=0;var W=g.deflateInit2(this.strm,H.level,H.method,H.windowBits,H.memLevel,H.strategy);if(W!==0)throw new Error(_[W]);if(H.header&amp;&amp;g.deflateSetHeader(this.strm,H.header),H.dictionary){var K;if(K=typeof H.dictionary==&quot;string&quot;?v.string2buf(H.dictionary):O.call(H.dictionary)===&quot;[object ArrayBuffer]&quot;?new Uint8Array(H.dictionary):H.dictionary,(W=g.deflateSetDictionary(this.strm,K))!==0)throw new Error(_[W]);this._dict_set=!0}}function V(F,H){var W=new T(H);if(W.push(F,!0),W.err)throw W.msg||_[W.err];return W.result}T.prototype.push=function(F,H){var W,K,$=this.strm,P=this.options.chunkSize;if(this.ended)return!1;K=H===~~H?H:H===!0?4:0,typeof F==&quot;string&quot;?$.input=v.string2buf(F):O.call(F)===&quot;[object ArrayBuffer]&quot;?$.input=new Uint8Array(F):$.input=F,$.next_in=0,$.avail_in=$.input.length;do{if($.avail_out===0&amp;&amp;($.output=new y.Buf8(P),$.next_out=0,$.avail_out=P),(W=g.deflate($,K))!==1&amp;&amp;W!==0)return this.onEnd(W),!(this.ended=!0);$.avail_out!==0&amp;&amp;($.avail_in!==0||K!==4&amp;&amp;K!==2)||(this.options.to===&quot;string&quot;?this.onData(v.buf2binstring(y.shrinkBuf($.output,$.next_out))):this.onData(y.shrinkBuf($.output,$.next_out)))}while((0&lt;$.avail_in||$.avail_out===0)&amp;&amp;W!==1);return K===4?(W=g.deflateEnd(this.strm),this.onEnd(W),this.ended=!0,W===0):K!==2||(this.onEnd(0),!($.avail_out=0))},T.prototype.onData=function(F){this.chunks.push(F)},T.prototype.onEnd=function(F){F===0&amp;&amp;(this.options.to===&quot;string&quot;?this.result=this.chunks.join(&quot;&quot;):this.result=y.flattenChunks(this.chunks)),this.chunks=[],this.err=F,this.msg=this.strm.msg},b.Deflate=T,b.deflate=V,b.deflateRaw=function(F,H){return(H=H||{}).raw=!0,V(F,H)},b.gzip=function(F,H){return(H=H||{}).gzip=!0,V(F,H)}},{&quot;./utils/common&quot;:41,&quot;./utils/strings&quot;:42,&quot;./zlib/deflate&quot;:46,&quot;./zlib/messages&quot;:51,&quot;./zlib/zstream&quot;:53}],40:[function(m,p,b){var g=m(&quot;./zlib/inflate&quot;),y=m(&quot;./utils/common&quot;),v=m(&quot;./utils/strings&quot;),_=m(&quot;./zlib/constants&quot;),C=m(&quot;./zlib/messages&quot;),O=m(&quot;./zlib/zstream&quot;),T=m(&quot;./zlib/gzheader&quot;),V=Object.prototype.toString;function F(W){if(!(this instanceof F))return new F(W);this.options=y.assign({chunkSize:16384,windowBits:0,to:&quot;&quot;},W||{});var K=this.options;K.raw&amp;&amp;0&lt;=K.windowBits&amp;&amp;K.windowBits&lt;16&amp;&amp;(K.windowBits=-K.windowBits,K.windowBits===0&amp;&amp;(K.windowBits=-15)),!(0&lt;=K.windowBits&amp;&amp;K.windowBits&lt;16)||W&amp;&amp;W.windowBits||(K.windowBits+=32),15&lt;K.windowBits&amp;&amp;K.windowBits&lt;48&amp;&amp;(15&amp;K.windowBits)==0&amp;&amp;(K.windowBits|=15),this.err=0,this.msg=&quot;&quot;,this.ended=!1,this.chunks=[],this.strm=new O,this.strm.avail_out=0;var $=g.inflateInit2(this.strm,K.windowBits);if($!==_.Z_OK)throw new Error(C[$]);this.header=new T,g.inflateGetHeader(this.strm,this.header)}function H(W,K){var $=new F(K);if($.push(W,!0),$.err)throw $.msg||C[$.err];return $.result}F.prototype.push=function(W,K){var $,P,D,E,j,k,S=this.strm,N=this.options.chunkSize,M=this.options.dictionary,R=!1;if(this.ended)return!1;P=K===~~K?K:K===!0?_.Z_FINISH:_.Z_NO_FLUSH,typeof W==&quot;string&quot;?S.input=v.binstring2buf(W):V.call(W)===&quot;[object ArrayBuffer]&quot;?S.input=new Uint8Array(W):S.input=W,S.next_in=0,S.avail_in=S.input.length;do{if(S.avail_out===0&amp;&amp;(S.output=new y.Buf8(N),S.next_out=0,S.avail_out=N),($=g.inflate(S,_.Z_NO_FLUSH))===_.Z_NEED_DICT&amp;&amp;M&amp;&amp;(k=typeof M==&quot;string&quot;?v.string2buf(M):V.call(M)===&quot;[object ArrayBuffer]&quot;?new Uint8Array(M):M,$=g.inflateSetDictionary(this.strm,k)),$===_.Z_BUF_ERROR&amp;&amp;R===!0&amp;&amp;($=_.Z_OK,R=!1),$!==_.Z_STREAM_END&amp;&amp;$!==_.Z_OK)return this.onEnd($),!(this.ended=!0);S.next_out&amp;&amp;(S.avail_out!==0&amp;&amp;$!==_.Z_STREAM_END&amp;&amp;(S.avail_in!==0||P!==_.Z_FINISH&amp;&amp;P!==_.Z_SYNC_FLUSH)||(this.options.to===&quot;string&quot;?(D=v.utf8border(S.output,S.next_out),E=S.next_out-D,j=v.buf2string(S.output,D),S.next_out=E,S.avail_out=N-E,E&amp;&amp;y.arraySet(S.output,S.output,D,E,0),this.onData(j)):this.onData(y.shrinkBuf(S.output,S.next_out)))),S.avail_in===0&amp;&amp;S.avail_out===0&amp;&amp;(R=!0)}while((0&lt;S.avail_in||S.avail_out===0)&amp;&amp;$!==_.Z_STREAM_END);return $===_.Z_STREAM_END&amp;&amp;(P=_.Z_FINISH),P===_.Z_FINISH?($=g.inflateEnd(this.strm),this.onEnd($),this.ended=!0,$===_.Z_OK):P!==_.Z_SYNC_FLUSH||(this.onEnd(_.Z_OK),!(S.avail_out=0))},F.prototype.onData=function(W){this.chunks.push(W)},F.prototype.onEnd=function(W){W===_.Z_OK&amp;&amp;(this.options.to===&quot;string&quot;?this.result=this.chunks.join(&quot;&quot;):this.result=y.flattenChunks(this.chunks)),this.chunks=[],this.err=W,this.msg=this.strm.msg},b.Inflate=F,b.inflate=H,b.inflateRaw=function(W,K){return(K=K||{}).raw=!0,H(W,K)},b.ungzip=H},{&quot;./utils/common&quot;:41,&quot;./utils/strings&quot;:42,&quot;./zlib/constants&quot;:44,&quot;./zlib/gzheader&quot;:47,&quot;./zlib/inflate&quot;:49,&quot;./zlib/messages&quot;:51,&quot;./zlib/zstream&quot;:53}],41:[function(m,p,b){var g=typeof Uint8Array&lt;&quot;u&quot;&amp;&amp;typeof Uint16Array&lt;&quot;u&quot;&amp;&amp;typeof Int32Array&lt;&quot;u&quot;;b.assign=function(_){for(var C=Array.prototype.slice.call(arguments,1);C.length;){var O=C.shift();if(O){if(typeof O!=&quot;object&quot;)throw new TypeError(O+&quot;must be non-object&quot;);for(var T in O)O.hasOwnProperty(T)&amp;&amp;(_[T]=O[T])}}return _},b.shrinkBuf=function(_,C){return _.length===C?_:_.subarray?_.subarray(0,C):(_.length=C,_)};var y={arraySet:function(_,C,O,T,V){if(C.subarray&amp;&amp;_.subarray)_.set(C.subarray(O,O+T),V);else for(var F=0;F&lt;T;F++)_[V+F]=C[O+F]},flattenChunks:function(_){var C,O,T,V,F,H;for(C=T=0,O=_.length;C&lt;O;C++)T+=_[C].length;for(H=new Uint8Array(T),C=V=0,O=_.length;C&lt;O;C++)F=_[C],H.set(F,V),V+=F.length;return H}},v={arraySet:function(_,C,O,T,V){for(var F=0;F&lt;T;F++)_[V+F]=C[O+F]},flattenChunks:function(_){return[].concat.apply([],_)}};b.setTyped=function(_){_?(b.Buf8=Uint8Array,b.Buf16=Uint16Array,b.Buf32=Int32Array,b.assign(b,y)):(b.Buf8=Array,b.Buf16=Array,b.Buf32=Array,b.assign(b,v))},b.setTyped(g)},{}],42:[function(m,p,b){var g=m(&quot;./common&quot;),y=!0,v=!0;try{String.fromCharCode.apply(null,[0])}catch{y=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{v=!1}for(var _=new g.Buf8(256),C=0;C&lt;256;C++)_[C]=252&lt;=C?6:248&lt;=C?5:240&lt;=C?4:224&lt;=C?3:192&lt;=C?2:1;function O(T,V){if(V&lt;65537&amp;&amp;(T.subarray&amp;&amp;v||!T.subarray&amp;&amp;y))return String.fromCharCode.apply(null,g.shrinkBuf(T,V));for(var F=&quot;&quot;,H=0;H&lt;V;H++)F+=String.fromCharCode(T[H]);return F}_[254]=_[254]=1,b.string2buf=function(T){var V,F,H,W,K,$=T.length,P=0;for(W=0;W&lt;$;W++)(64512&amp;(F=T.charCodeAt(W)))==55296&amp;&amp;W+1&lt;$&amp;&amp;(64512&amp;(H=T.charCodeAt(W+1)))==56320&amp;&amp;(F=65536+(F-55296&lt;&lt;10)+(H-56320),W++),P+=F&lt;128?1:F&lt;2048?2:F&lt;65536?3:4;for(V=new g.Buf8(P),W=K=0;K&lt;P;W++)(64512&amp;(F=T.charCodeAt(W)))==55296&amp;&amp;W+1&lt;$&amp;&amp;(64512&amp;(H=T.charCodeAt(W+1)))==56320&amp;&amp;(F=65536+(F-55296&lt;&lt;10)+(H-56320),W++),F&lt;128?V[K++]=F:(F&lt;2048?V[K++]=192|F&gt;&gt;&gt;6:(F&lt;65536?V[K++]=224|F&gt;&gt;&gt;12:(V[K++]=240|F&gt;&gt;&gt;18,V[K++]=128|F&gt;&gt;&gt;12&amp;63),V[K++]=128|F&gt;&gt;&gt;6&amp;63),V[K++]=128|63&amp;F);return V},b.buf2binstring=function(T){return O(T,T.length)},b.binstring2buf=function(T){for(var V=new g.Buf8(T.length),F=0,H=V.length;F&lt;H;F++)V[F]=T.charCodeAt(F);return V},b.buf2string=function(T,V){var F,H,W,K,$=V||T.length,P=new Array(2*$);for(F=H=0;F&lt;$;)if((W=T[F++])&lt;128)P[H++]=W;else if(4&lt;(K=_[W]))P[H++]=65533,F+=K-1;else{for(W&amp;=K===2?31:K===3?15:7;1&lt;K&amp;&amp;F&lt;$;)W=W&lt;&lt;6|63&amp;T[F++],K--;1&lt;K?P[H++]=65533:W&lt;65536?P[H++]=W:(W-=65536,P[H++]=55296|W&gt;&gt;10&amp;1023,P[H++]=56320|1023&amp;W)}return O(P,H)},b.utf8border=function(T,V){var F;for((V=V||T.length)&gt;T.length&amp;&amp;(V=T.length),F=V-1;0&lt;=F&amp;&amp;(192&amp;T[F])==128;)F--;return F&lt;0||F===0?V:F+_[T[F]]&gt;V?F:V}},{&quot;./common&quot;:41}],43:[function(m,p,b){p.exports=function(g,y,v,_){for(var C=65535&amp;g|0,O=g&gt;&gt;&gt;16&amp;65535|0,T=0;v!==0;){for(v-=T=2e3&lt;v?2e3:v;O=O+(C=C+y[_++]|0)|0,--T;);C%=65521,O%=65521}return C|O&lt;&lt;16|0}},{}],44:[function(m,p,b){p.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(m,p,b){var g=(function(){for(var y,v=[],_=0;_&lt;256;_++){y=_;for(var C=0;C&lt;8;C++)y=1&amp;y?3988292384^y&gt;&gt;&gt;1:y&gt;&gt;&gt;1;v[_]=y}return v})();p.exports=function(y,v,_,C){var O=g,T=C+_;y^=-1;for(var V=C;V&lt;T;V++)y=y&gt;&gt;&gt;8^O[255&amp;(y^v[V])];return-1^y}},{}],46:[function(m,p,b){var g,y=m(&quot;../utils/common&quot;),v=m(&quot;./trees&quot;),_=m(&quot;./adler32&quot;),C=m(&quot;./crc32&quot;),O=m(&quot;./messages&quot;),T=-2,V=258,F=262,H=113;function W(U,ee){return U.msg=O[ee],ee}function K(U){return(U&lt;&lt;1)-(4&lt;U?9:0)}function $(U){for(var ee=U.length;0&lt;=--ee;)U[ee]=0}function P(U){var ee=U.state,z=ee.pending;z&gt;U.avail_out&amp;&amp;(z=U.avail_out),z!==0&amp;&amp;(y.arraySet(U.output,ee.pending_buf,ee.pending_out,z,U.next_out),U.next_out+=z,ee.pending_out+=z,U.total_out+=z,U.avail_out-=z,ee.pending-=z,ee.pending===0&amp;&amp;(ee.pending_out=0))}function D(U,ee){v._tr_flush_block(U,0&lt;=U.block_start?U.block_start:-1,U.strstart-U.block_start,ee),U.block_start=U.strstart,P(U.strm)}function E(U,ee){U.pending_buf[U.pending++]=ee}function j(U,ee){U.pending_buf[U.pending++]=ee&gt;&gt;&gt;8&amp;255,U.pending_buf[U.pending++]=255&amp;ee}function k(U,ee){var z,I,X=U.max_chain_length,re=U.strstart,ne=U.prev_length,Q=U.nice_match,te=U.strstart&gt;U.w_size-F?U.strstart-(U.w_size-F):0,de=U.window,le=U.w_mask,se=U.prev,fe=U.strstart+V,he=de[re+ne-1],ue=de[re+ne];U.prev_length&gt;=U.good_match&amp;&amp;(X&gt;&gt;=2),Q&gt;U.lookahead&amp;&amp;(Q=U.lookahead);do if(de[(z=ee)+ne]===ue&amp;&amp;de[z+ne-1]===he&amp;&amp;de[z]===de[re]&amp;&amp;de[++z]===de[re+1]){re+=2,z++;do;while(de[++re]===de[++z]&amp;&amp;de[++re]===de[++z]&amp;&amp;de[++re]===de[++z]&amp;&amp;de[++re]===de[++z]&amp;&amp;de[++re]===de[++z]&amp;&amp;de[++re]===de[++z]&amp;&amp;de[++re]===de[++z]&amp;&amp;de[++re]===de[++z]&amp;&amp;re&lt;fe);if(I=V-(fe-re),re=fe-V,ne&lt;I){if(U.match_start=ee,Q&lt;=(ne=I))break;he=de[re+ne-1],ue=de[re+ne]}}while((ee=se[ee&amp;le])&gt;te&amp;&amp;--X!=0);return ne&lt;=U.lookahead?ne:U.lookahead}function S(U){var ee,z,I,X,re,ne,Q,te,de,le,se=U.w_size;do{if(X=U.window_size-U.lookahead-U.strstart,U.strstart&gt;=se+(se-F)){for(y.arraySet(U.window,U.window,se,se,0),U.match_start-=se,U.strstart-=se,U.block_start-=se,ee=z=U.hash_size;I=U.head[--ee],U.head[ee]=se&lt;=I?I-se:0,--z;);for(ee=z=se;I=U.prev[--ee],U.prev[ee]=se&lt;=I?I-se:0,--z;);X+=se}if(U.strm.avail_in===0)break;if(ne=U.strm,Q=U.window,te=U.strstart+U.lookahead,le=void 0,(de=X)&lt;(le=ne.avail_in)&amp;&amp;(le=de),z=le===0?0:(ne.avail_in-=le,y.arraySet(Q,ne.input,ne.next_in,le,te),ne.state.wrap===1?ne.adler=_(ne.adler,Q,le,te):ne.state.wrap===2&amp;&amp;(ne.adler=C(ne.adler,Q,le,te)),ne.next_in+=le,ne.total_in+=le,le),U.lookahead+=z,U.lookahead+U.insert&gt;=3)for(re=U.strstart-U.insert,U.ins_h=U.window[re],U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[re+1])&amp;U.hash_mask;U.insert&amp;&amp;(U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[re+3-1])&amp;U.hash_mask,U.prev[re&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=re,re++,U.insert--,!(U.lookahead+U.insert&lt;3)););}while(U.lookahead&lt;F&amp;&amp;U.strm.avail_in!==0)}function N(U,ee){for(var z,I;;){if(U.lookahead&lt;F){if(S(U),U.lookahead&lt;F&amp;&amp;ee===0)return 1;if(U.lookahead===0)break}if(z=0,U.lookahead&gt;=3&amp;&amp;(U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+3-1])&amp;U.hash_mask,z=U.prev[U.strstart&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart),z!==0&amp;&amp;U.strstart-z&lt;=U.w_size-F&amp;&amp;(U.match_length=k(U,z)),U.match_length&gt;=3)if(I=v._tr_tally(U,U.strstart-U.match_start,U.match_length-3),U.lookahead-=U.match_length,U.match_length&lt;=U.max_lazy_match&amp;&amp;U.lookahead&gt;=3){for(U.match_length--;U.strstart++,U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+3-1])&amp;U.hash_mask,z=U.prev[U.strstart&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart,--U.match_length!=0;);U.strstart++}else U.strstart+=U.match_length,U.match_length=0,U.ins_h=U.window[U.strstart],U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+1])&amp;U.hash_mask;else I=v._tr_tally(U,0,U.window[U.strstart]),U.lookahead--,U.strstart++;if(I&amp;&amp;(D(U,!1),U.strm.avail_out===0))return 1}return U.insert=U.strstart&lt;2?U.strstart:2,ee===4?(D(U,!0),U.strm.avail_out===0?3:4):U.last_lit&amp;&amp;(D(U,!1),U.strm.avail_out===0)?1:2}function M(U,ee){for(var z,I,X;;){if(U.lookahead&lt;F){if(S(U),U.lookahead&lt;F&amp;&amp;ee===0)return 1;if(U.lookahead===0)break}if(z=0,U.lookahead&gt;=3&amp;&amp;(U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+3-1])&amp;U.hash_mask,z=U.prev[U.strstart&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart),U.prev_length=U.match_length,U.prev_match=U.match_start,U.match_length=2,z!==0&amp;&amp;U.prev_length&lt;U.max_lazy_match&amp;&amp;U.strstart-z&lt;=U.w_size-F&amp;&amp;(U.match_length=k(U,z),U.match_length&lt;=5&amp;&amp;(U.strategy===1||U.match_length===3&amp;&amp;4096&lt;U.strstart-U.match_start)&amp;&amp;(U.match_length=2)),U.prev_length&gt;=3&amp;&amp;U.match_length&lt;=U.prev_length){for(X=U.strstart+U.lookahead-3,I=v._tr_tally(U,U.strstart-1-U.prev_match,U.prev_length-3),U.lookahead-=U.prev_length-1,U.prev_length-=2;++U.strstart&lt;=X&amp;&amp;(U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+3-1])&amp;U.hash_mask,z=U.prev[U.strstart&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart),--U.prev_length!=0;);if(U.match_available=0,U.match_length=2,U.strstart++,I&amp;&amp;(D(U,!1),U.strm.avail_out===0))return 1}else if(U.match_available){if((I=v._tr_tally(U,0,U.window[U.strstart-1]))&amp;&amp;D(U,!1),U.strstart++,U.lookahead--,U.strm.avail_out===0)return 1}else U.match_available=1,U.strstart++,U.lookahead--}return U.match_available&amp;&amp;(I=v._tr_tally(U,0,U.window[U.strstart-1]),U.match_available=0),U.insert=U.strstart&lt;2?U.strstart:2,ee===4?(D(U,!0),U.strm.avail_out===0?3:4):U.last_lit&amp;&amp;(D(U,!1),U.strm.avail_out===0)?1:2}function R(U,ee,z,I,X){this.good_length=U,this.max_lazy=ee,this.nice_length=z,this.max_chain=I,this.func=X}function B(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new y.Buf16(1146),this.dyn_dtree=new y.Buf16(122),this.bl_tree=new y.Buf16(78),$(this.dyn_ltree),$(this.dyn_dtree),$(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new y.Buf16(16),this.heap=new y.Buf16(573),$(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new y.Buf16(573),$(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Y(U){var ee;return U&amp;&amp;U.state?(U.total_in=U.total_out=0,U.data_type=2,(ee=U.state).pending=0,ee.pending_out=0,ee.wrap&lt;0&amp;&amp;(ee.wrap=-ee.wrap),ee.status=ee.wrap?42:H,U.adler=ee.wrap===2?0:1,ee.last_flush=0,v._tr_init(ee),0):W(U,T)}function Z(U){var ee=Y(U);return ee===0&amp;&amp;(function(z){z.window_size=2*z.w_size,$(z.head),z.max_lazy_match=g[z.level].max_lazy,z.good_match=g[z.level].good_length,z.nice_match=g[z.level].nice_length,z.max_chain_length=g[z.level].max_chain,z.strstart=0,z.block_start=0,z.lookahead=0,z.insert=0,z.match_length=z.prev_length=2,z.match_available=0,z.ins_h=0})(U.state),ee}function ie(U,ee,z,I,X,re){if(!U)return T;var ne=1;if(ee===-1&amp;&amp;(ee=6),I&lt;0?(ne=0,I=-I):15&lt;I&amp;&amp;(ne=2,I-=16),X&lt;1||9&lt;X||z!==8||I&lt;8||15&lt;I||ee&lt;0||9&lt;ee||re&lt;0||4&lt;re)return W(U,T);I===8&amp;&amp;(I=9);var Q=new B;return(U.state=Q).strm=U,Q.wrap=ne,Q.gzhead=null,Q.w_bits=I,Q.w_size=1&lt;&lt;Q.w_bits,Q.w_mask=Q.w_size-1,Q.hash_bits=X+7,Q.hash_size=1&lt;&lt;Q.hash_bits,Q.hash_mask=Q.hash_size-1,Q.hash_shift=~~((Q.hash_bits+3-1)/3),Q.window=new y.Buf8(2*Q.w_size),Q.head=new y.Buf16(Q.hash_size),Q.prev=new y.Buf16(Q.w_size),Q.lit_bufsize=1&lt;&lt;X+6,Q.pending_buf_size=4*Q.lit_bufsize,Q.pending_buf=new y.Buf8(Q.pending_buf_size),Q.d_buf=1*Q.lit_bufsize,Q.l_buf=3*Q.lit_bufsize,Q.level=ee,Q.strategy=re,Q.method=z,Z(U)}g=[new R(0,0,0,0,(function(U,ee){var z=65535;for(z&gt;U.pending_buf_size-5&amp;&amp;(z=U.pending_buf_size-5);;){if(U.lookahead&lt;=1){if(S(U),U.lookahead===0&amp;&amp;ee===0)return 1;if(U.lookahead===0)break}U.strstart+=U.lookahead,U.lookahead=0;var I=U.block_start+z;if((U.strstart===0||U.strstart&gt;=I)&amp;&amp;(U.lookahead=U.strstart-I,U.strstart=I,D(U,!1),U.strm.avail_out===0)||U.strstart-U.block_start&gt;=U.w_size-F&amp;&amp;(D(U,!1),U.strm.avail_out===0))return 1}return U.insert=0,ee===4?(D(U,!0),U.strm.avail_out===0?3:4):(U.strstart&gt;U.block_start&amp;&amp;(D(U,!1),U.strm.avail_out),1)})),new R(4,4,8,4,N),new R(4,5,16,8,N),new R(4,6,32,32,N),new R(4,4,16,16,M),new R(8,16,32,32,M),new R(8,16,128,128,M),new R(8,32,128,256,M),new R(32,128,258,1024,M),new R(32,258,258,4096,M)],b.deflateInit=function(U,ee){return ie(U,ee,8,15,8,0)},b.deflateInit2=ie,b.deflateReset=Z,b.deflateResetKeep=Y,b.deflateSetHeader=function(U,ee){return U&amp;&amp;U.state?U.state.wrap!==2?T:(U.state.gzhead=ee,0):T},b.deflate=function(U,ee){var z,I,X,re;if(!U||!U.state||5&lt;ee||ee&lt;0)return U?W(U,T):T;if(I=U.state,!U.output||!U.input&amp;&amp;U.avail_in!==0||I.status===666&amp;&amp;ee!==4)return W(U,U.avail_out===0?-5:T);if(I.strm=U,z=I.last_flush,I.last_flush=ee,I.status===42)if(I.wrap===2)U.adler=0,E(I,31),E(I,139),E(I,8),I.gzhead?(E(I,(I.gzhead.text?1:0)+(I.gzhead.hcrc?2:0)+(I.gzhead.extra?4:0)+(I.gzhead.name?8:0)+(I.gzhead.comment?16:0)),E(I,255&amp;I.gzhead.time),E(I,I.gzhead.time&gt;&gt;8&amp;255),E(I,I.gzhead.time&gt;&gt;16&amp;255),E(I,I.gzhead.time&gt;&gt;24&amp;255),E(I,I.level===9?2:2&lt;=I.strategy||I.level&lt;2?4:0),E(I,255&amp;I.gzhead.os),I.gzhead.extra&amp;&amp;I.gzhead.extra.length&amp;&amp;(E(I,255&amp;I.gzhead.extra.length),E(I,I.gzhead.extra.length&gt;&gt;8&amp;255)),I.gzhead.hcrc&amp;&amp;(U.adler=C(U.adler,I.pending_buf,I.pending,0)),I.gzindex=0,I.status=69):(E(I,0),E(I,0),E(I,0),E(I,0),E(I,0),E(I,I.level===9?2:2&lt;=I.strategy||I.level&lt;2?4:0),E(I,3),I.status=H);else{var ne=8+(I.w_bits-8&lt;&lt;4)&lt;&lt;8;ne|=(2&lt;=I.strategy||I.level&lt;2?0:I.level&lt;6?1:I.level===6?2:3)&lt;&lt;6,I.strstart!==0&amp;&amp;(ne|=32),ne+=31-ne%31,I.status=H,j(I,ne),I.strstart!==0&amp;&amp;(j(I,U.adler&gt;&gt;&gt;16),j(I,65535&amp;U.adler)),U.adler=1}if(I.status===69)if(I.gzhead.extra){for(X=I.pending;I.gzindex&lt;(65535&amp;I.gzhead.extra.length)&amp;&amp;(I.pending!==I.pending_buf_size||(I.gzhead.hcrc&amp;&amp;I.pending&gt;X&amp;&amp;(U.adler=C(U.adler,I.pending_buf,I.pending-X,X)),P(U),X=I.pending,I.pending!==I.pending_buf_size));)E(I,255&amp;I.gzhead.extra[I.gzindex]),I.gzindex++;I.gzhead.hcrc&amp;&amp;I.pending&gt;X&amp;&amp;(U.adler=C(U.adler,I.pending_buf,I.pending-X,X)),I.gzindex===I.gzhead.extra.length&amp;&amp;(I.gzindex=0,I.status=73)}else I.status=73;if(I.status===73)if(I.gzhead.name){X=I.pending;do{if(I.pending===I.pending_buf_size&amp;&amp;(I.gzhead.hcrc&amp;&amp;I.pending&gt;X&amp;&amp;(U.adler=C(U.adler,I.pending_buf,I.pending-X,X)),P(U),X=I.pending,I.pending===I.pending_buf_size)){re=1;break}re=I.gzindex&lt;I.gzhead.name.length?255&amp;I.gzhead.name.charCodeAt(I.gzindex++):0,E(I,re)}while(re!==0);I.gzhead.hcrc&amp;&amp;I.pending&gt;X&amp;&amp;(U.adler=C(U.adler,I.pending_buf,I.pending-X,X)),re===0&amp;&amp;(I.gzindex=0,I.status=91)}else I.status=91;if(I.status===91)if(I.gzhead.comment){X=I.pending;do{if(I.pending===I.pending_buf_size&amp;&amp;(I.gzhead.hcrc&amp;&amp;I.pending&gt;X&amp;&amp;(U.adler=C(U.adler,I.pending_buf,I.pending-X,X)),P(U),X=I.pending,I.pending===I.pending_buf_size)){re=1;break}re=I.gzindex&lt;I.gzhead.comment.length?255&amp;I.gzhead.comment.charCodeAt(I.gzindex++):0,E(I,re)}while(re!==0);I.gzhead.hcrc&amp;&amp;I.pending&gt;X&amp;&amp;(U.adler=C(U.adler,I.pending_buf,I.pending-X,X)),re===0&amp;&amp;(I.status=103)}else I.status=103;if(I.status===103&amp;&amp;(I.gzhead.hcrc?(I.pending+2&gt;I.pending_buf_size&amp;&amp;P(U),I.pending+2&lt;=I.pending_buf_size&amp;&amp;(E(I,255&amp;U.adler),E(I,U.adler&gt;&gt;8&amp;255),U.adler=0,I.status=H)):I.status=H),I.pending!==0){if(P(U),U.avail_out===0)return I.last_flush=-1,0}else if(U.avail_in===0&amp;&amp;K(ee)&lt;=K(z)&amp;&amp;ee!==4)return W(U,-5);if(I.status===666&amp;&amp;U.avail_in!==0)return W(U,-5);if(U.avail_in!==0||I.lookahead!==0||ee!==0&amp;&amp;I.status!==666){var Q=I.strategy===2?(function(te,de){for(var le;;){if(te.lookahead===0&amp;&amp;(S(te),te.lookahead===0)){if(de===0)return 1;break}if(te.match_length=0,le=v._tr_tally(te,0,te.window[te.strstart]),te.lookahead--,te.strstart++,le&amp;&amp;(D(te,!1),te.strm.avail_out===0))return 1}return te.insert=0,de===4?(D(te,!0),te.strm.avail_out===0?3:4):te.last_lit&amp;&amp;(D(te,!1),te.strm.avail_out===0)?1:2})(I,ee):I.strategy===3?(function(te,de){for(var le,se,fe,he,ue=te.window;;){if(te.lookahead&lt;=V){if(S(te),te.lookahead&lt;=V&amp;&amp;de===0)return 1;if(te.lookahead===0)break}if(te.match_length=0,te.lookahead&gt;=3&amp;&amp;0&lt;te.strstart&amp;&amp;(se=ue[fe=te.strstart-1])===ue[++fe]&amp;&amp;se===ue[++fe]&amp;&amp;se===ue[++fe]){he=te.strstart+V;do;while(se===ue[++fe]&amp;&amp;se===ue[++fe]&amp;&amp;se===ue[++fe]&amp;&amp;se===ue[++fe]&amp;&amp;se===ue[++fe]&amp;&amp;se===ue[++fe]&amp;&amp;se===ue[++fe]&amp;&amp;se===ue[++fe]&amp;&amp;fe&lt;he);te.match_length=V-(he-fe),te.match_length&gt;te.lookahead&amp;&amp;(te.match_length=te.lookahead)}if(te.match_length&gt;=3?(le=v._tr_tally(te,1,te.match_length-3),te.lookahead-=te.match_length,te.strstart+=te.match_length,te.match_length=0):(le=v._tr_tally(te,0,te.window[te.strstart]),te.lookahead--,te.strstart++),le&amp;&amp;(D(te,!1),te.strm.avail_out===0))return 1}return te.insert=0,de===4?(D(te,!0),te.strm.avail_out===0?3:4):te.last_lit&amp;&amp;(D(te,!1),te.strm.avail_out===0)?1:2})(I,ee):g[I.level].func(I,ee);if(Q!==3&amp;&amp;Q!==4||(I.status=666),Q===1||Q===3)return U.avail_out===0&amp;&amp;(I.last_flush=-1),0;if(Q===2&amp;&amp;(ee===1?v._tr_align(I):ee!==5&amp;&amp;(v._tr_stored_block(I,0,0,!1),ee===3&amp;&amp;($(I.head),I.lookahead===0&amp;&amp;(I.strstart=0,I.block_start=0,I.insert=0))),P(U),U.avail_out===0))return I.last_flush=-1,0}return ee!==4?0:I.wrap&lt;=0?1:(I.wrap===2?(E(I,255&amp;U.adler),E(I,U.adler&gt;&gt;8&amp;255),E(I,U.adler&gt;&gt;16&amp;255),E(I,U.adler&gt;&gt;24&amp;255),E(I,255&amp;U.total_in),E(I,U.total_in&gt;&gt;8&amp;255),E(I,U.total_in&gt;&gt;16&amp;255),E(I,U.total_in&gt;&gt;24&amp;255)):(j(I,U.adler&gt;&gt;&gt;16),j(I,65535&amp;U.adler)),P(U),0&lt;I.wrap&amp;&amp;(I.wrap=-I.wrap),I.pending!==0?0:1)},b.deflateEnd=function(U){var ee;return U&amp;&amp;U.state?(ee=U.state.status)!==42&amp;&amp;ee!==69&amp;&amp;ee!==73&amp;&amp;ee!==91&amp;&amp;ee!==103&amp;&amp;ee!==H&amp;&amp;ee!==666?W(U,T):(U.state=null,ee===H?W(U,-3):0):T},b.deflateSetDictionary=function(U,ee){var z,I,X,re,ne,Q,te,de,le=ee.length;if(!U||!U.state||(re=(z=U.state).wrap)===2||re===1&amp;&amp;z.status!==42||z.lookahead)return T;for(re===1&amp;&amp;(U.adler=_(U.adler,ee,le,0)),z.wrap=0,le&gt;=z.w_size&amp;&amp;(re===0&amp;&amp;($(z.head),z.strstart=0,z.block_start=0,z.insert=0),de=new y.Buf8(z.w_size),y.arraySet(de,ee,le-z.w_size,z.w_size,0),ee=de,le=z.w_size),ne=U.avail_in,Q=U.next_in,te=U.input,U.avail_in=le,U.next_in=0,U.input=ee,S(z);z.lookahead&gt;=3;){for(I=z.strstart,X=z.lookahead-2;z.ins_h=(z.ins_h&lt;&lt;z.hash_shift^z.window[I+3-1])&amp;z.hash_mask,z.prev[I&amp;z.w_mask]=z.head[z.ins_h],z.head[z.ins_h]=I,I++,--X;);z.strstart=I,z.lookahead=2,S(z)}return z.strstart+=z.lookahead,z.block_start=z.strstart,z.insert=z.lookahead,z.lookahead=0,z.match_length=z.prev_length=2,z.match_available=0,U.next_in=Q,U.input=te,U.avail_in=ne,z.wrap=re,0},b.deflateInfo=&quot;pako deflate (from Nodeca project)&quot;},{&quot;../utils/common&quot;:41,&quot;./adler32&quot;:43,&quot;./crc32&quot;:45,&quot;./messages&quot;:51,&quot;./trees&quot;:52}],47:[function(m,p,b){p.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name=&quot;&quot;,this.comment=&quot;&quot;,this.hcrc=0,this.done=!1}},{}],48:[function(m,p,b){p.exports=function(g,y){var v,_,C,O,T,V,F,H,W,K,$,P,D,E,j,k,S,N,M,R,B,Y,Z,ie,U;v=g.state,_=g.next_in,ie=g.input,C=_+(g.avail_in-5),O=g.next_out,U=g.output,T=O-(y-g.avail_out),V=O+(g.avail_out-257),F=v.dmax,H=v.wsize,W=v.whave,K=v.wnext,$=v.window,P=v.hold,D=v.bits,E=v.lencode,j=v.distcode,k=(1&lt;&lt;v.lenbits)-1,S=(1&lt;&lt;v.distbits)-1;e:do{D&lt;15&amp;&amp;(P+=ie[_++]&lt;&lt;D,D+=8,P+=ie[_++]&lt;&lt;D,D+=8),N=E[P&amp;k];t:for(;;){if(P&gt;&gt;&gt;=M=N&gt;&gt;&gt;24,D-=M,(M=N&gt;&gt;&gt;16&amp;255)==0)U[O++]=65535&amp;N;else{if(!(16&amp;M)){if((64&amp;M)==0){N=E[(65535&amp;N)+(P&amp;(1&lt;&lt;M)-1)];continue t}if(32&amp;M){v.mode=12;break e}g.msg=&quot;invalid literal/length code&quot;,v.mode=30;break e}R=65535&amp;N,(M&amp;=15)&amp;&amp;(D&lt;M&amp;&amp;(P+=ie[_++]&lt;&lt;D,D+=8),R+=P&amp;(1&lt;&lt;M)-1,P&gt;&gt;&gt;=M,D-=M),D&lt;15&amp;&amp;(P+=ie[_++]&lt;&lt;D,D+=8,P+=ie[_++]&lt;&lt;D,D+=8),N=j[P&amp;S];r:for(;;){if(P&gt;&gt;&gt;=M=N&gt;&gt;&gt;24,D-=M,!(16&amp;(M=N&gt;&gt;&gt;16&amp;255))){if((64&amp;M)==0){N=j[(65535&amp;N)+(P&amp;(1&lt;&lt;M)-1)];continue r}g.msg=&quot;invalid distance code&quot;,v.mode=30;break e}if(B=65535&amp;N,D&lt;(M&amp;=15)&amp;&amp;(P+=ie[_++]&lt;&lt;D,(D+=8)&lt;M&amp;&amp;(P+=ie[_++]&lt;&lt;D,D+=8)),F&lt;(B+=P&amp;(1&lt;&lt;M)-1)){g.msg=&quot;invalid distance too far back&quot;,v.mode=30;break e}if(P&gt;&gt;&gt;=M,D-=M,(M=O-T)&lt;B){if(W&lt;(M=B-M)&amp;&amp;v.sane){g.msg=&quot;invalid distance too far back&quot;,v.mode=30;break e}if(Z=$,(Y=0)===K){if(Y+=H-M,M&lt;R){for(R-=M;U[O++]=$[Y++],--M;);Y=O-B,Z=U}}else if(K&lt;M){if(Y+=H+K-M,(M-=K)&lt;R){for(R-=M;U[O++]=$[Y++],--M;);if(Y=0,K&lt;R){for(R-=M=K;U[O++]=$[Y++],--M;);Y=O-B,Z=U}}}else if(Y+=K-M,M&lt;R){for(R-=M;U[O++]=$[Y++],--M;);Y=O-B,Z=U}for(;2&lt;R;)U[O++]=Z[Y++],U[O++]=Z[Y++],U[O++]=Z[Y++],R-=3;R&amp;&amp;(U[O++]=Z[Y++],1&lt;R&amp;&amp;(U[O++]=Z[Y++]))}else{for(Y=O-B;U[O++]=U[Y++],U[O++]=U[Y++],U[O++]=U[Y++],2&lt;(R-=3););R&amp;&amp;(U[O++]=U[Y++],1&lt;R&amp;&amp;(U[O++]=U[Y++]))}break}}break}}while(_&lt;C&amp;&amp;O&lt;V);_-=R=D&gt;&gt;3,P&amp;=(1&lt;&lt;(D-=R&lt;&lt;3))-1,g.next_in=_,g.next_out=O,g.avail_in=_&lt;C?C-_+5:5-(_-C),g.avail_out=O&lt;V?V-O+257:257-(O-V),v.hold=P,v.bits=D}},{}],49:[function(m,p,b){var g=m(&quot;../utils/common&quot;),y=m(&quot;./adler32&quot;),v=m(&quot;./crc32&quot;),_=m(&quot;./inffast&quot;),C=m(&quot;./inftrees&quot;),O=-2;function T(k){return(k&gt;&gt;&gt;24&amp;255)+(k&gt;&gt;&gt;8&amp;65280)+((65280&amp;k)&lt;&lt;8)+((255&amp;k)&lt;&lt;24)}function V(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new g.Buf16(320),this.work=new g.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function F(k){var S;return k&amp;&amp;k.state?(S=k.state,k.total_in=k.total_out=S.total=0,k.msg=&quot;&quot;,S.wrap&amp;&amp;(k.adler=1&amp;S.wrap),S.mode=1,S.last=0,S.havedict=0,S.dmax=32768,S.head=null,S.hold=0,S.bits=0,S.lencode=S.lendyn=new g.Buf32(852),S.distcode=S.distdyn=new g.Buf32(592),S.sane=1,S.back=-1,0):O}function H(k){var S;return k&amp;&amp;k.state?((S=k.state).wsize=0,S.whave=0,S.wnext=0,F(k)):O}function W(k,S){var N,M;return k&amp;&amp;k.state?(M=k.state,S&lt;0?(N=0,S=-S):(N=1+(S&gt;&gt;4),S&lt;48&amp;&amp;(S&amp;=15)),S&amp;&amp;(S&lt;8||15&lt;S)?O:(M.window!==null&amp;&amp;M.wbits!==S&amp;&amp;(M.window=null),M.wrap=N,M.wbits=S,H(k))):O}function K(k,S){var N,M;return k?(M=new V,(k.state=M).window=null,(N=W(k,S))!==0&amp;&amp;(k.state=null),N):O}var $,P,D=!0;function E(k){if(D){var S;for($=new g.Buf32(512),P=new g.Buf32(32),S=0;S&lt;144;)k.lens[S++]=8;for(;S&lt;256;)k.lens[S++]=9;for(;S&lt;280;)k.lens[S++]=7;for(;S&lt;288;)k.lens[S++]=8;for(C(1,k.lens,0,288,$,0,k.work,{bits:9}),S=0;S&lt;32;)k.lens[S++]=5;C(2,k.lens,0,32,P,0,k.work,{bits:5}),D=!1}k.lencode=$,k.lenbits=9,k.distcode=P,k.distbits=5}function j(k,S,N,M){var R,B=k.state;return B.window===null&amp;&amp;(B.wsize=1&lt;&lt;B.wbits,B.wnext=0,B.whave=0,B.window=new g.Buf8(B.wsize)),M&gt;=B.wsize?(g.arraySet(B.window,S,N-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(M&lt;(R=B.wsize-B.wnext)&amp;&amp;(R=M),g.arraySet(B.window,S,N-M,R,B.wnext),(M-=R)?(g.arraySet(B.window,S,N-M,M,0),B.wnext=M,B.whave=B.wsize):(B.wnext+=R,B.wnext===B.wsize&amp;&amp;(B.wnext=0),B.whave&lt;B.wsize&amp;&amp;(B.whave+=R))),0}b.inflateReset=H,b.inflateReset2=W,b.inflateResetKeep=F,b.inflateInit=function(k){return K(k,15)},b.inflateInit2=K,b.inflate=function(k,S){var N,M,R,B,Y,Z,ie,U,ee,z,I,X,re,ne,Q,te,de,le,se,fe,he,ue,ge,xe,pe=0,ce=new g.Buf8(4),Ce=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!k||!k.state||!k.output||!k.input&amp;&amp;k.avail_in!==0)return O;(N=k.state).mode===12&amp;&amp;(N.mode=13),Y=k.next_out,R=k.output,ie=k.avail_out,B=k.next_in,M=k.input,Z=k.avail_in,U=N.hold,ee=N.bits,z=Z,I=ie,ue=0;e:for(;;)switch(N.mode){case 1:if(N.wrap===0){N.mode=13;break}for(;ee&lt;16;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}if(2&amp;N.wrap&amp;&amp;U===35615){ce[N.check=0]=255&amp;U,ce[1]=U&gt;&gt;&gt;8&amp;255,N.check=v(N.check,ce,2,0),ee=U=0,N.mode=2;break}if(N.flags=0,N.head&amp;&amp;(N.head.done=!1),!(1&amp;N.wrap)||(((255&amp;U)&lt;&lt;8)+(U&gt;&gt;8))%31){k.msg=&quot;incorrect header check&quot;,N.mode=30;break}if((15&amp;U)!=8){k.msg=&quot;unknown compression method&quot;,N.mode=30;break}if(ee-=4,he=8+(15&amp;(U&gt;&gt;&gt;=4)),N.wbits===0)N.wbits=he;else if(he&gt;N.wbits){k.msg=&quot;invalid window size&quot;,N.mode=30;break}N.dmax=1&lt;&lt;he,k.adler=N.check=1,N.mode=512&amp;U?10:12,ee=U=0;break;case 2:for(;ee&lt;16;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}if(N.flags=U,(255&amp;N.flags)!=8){k.msg=&quot;unknown compression method&quot;,N.mode=30;break}if(57344&amp;N.flags){k.msg=&quot;unknown header flags set&quot;,N.mode=30;break}N.head&amp;&amp;(N.head.text=U&gt;&gt;8&amp;1),512&amp;N.flags&amp;&amp;(ce[0]=255&amp;U,ce[1]=U&gt;&gt;&gt;8&amp;255,N.check=v(N.check,ce,2,0)),ee=U=0,N.mode=3;case 3:for(;ee&lt;32;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}N.head&amp;&amp;(N.head.time=U),512&amp;N.flags&amp;&amp;(ce[0]=255&amp;U,ce[1]=U&gt;&gt;&gt;8&amp;255,ce[2]=U&gt;&gt;&gt;16&amp;255,ce[3]=U&gt;&gt;&gt;24&amp;255,N.check=v(N.check,ce,4,0)),ee=U=0,N.mode=4;case 4:for(;ee&lt;16;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}N.head&amp;&amp;(N.head.xflags=255&amp;U,N.head.os=U&gt;&gt;8),512&amp;N.flags&amp;&amp;(ce[0]=255&amp;U,ce[1]=U&gt;&gt;&gt;8&amp;255,N.check=v(N.check,ce,2,0)),ee=U=0,N.mode=5;case 5:if(1024&amp;N.flags){for(;ee&lt;16;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}N.length=U,N.head&amp;&amp;(N.head.extra_len=U),512&amp;N.flags&amp;&amp;(ce[0]=255&amp;U,ce[1]=U&gt;&gt;&gt;8&amp;255,N.check=v(N.check,ce,2,0)),ee=U=0}else N.head&amp;&amp;(N.head.extra=null);N.mode=6;case 6:if(1024&amp;N.flags&amp;&amp;(Z&lt;(X=N.length)&amp;&amp;(X=Z),X&amp;&amp;(N.head&amp;&amp;(he=N.head.extra_len-N.length,N.head.extra||(N.head.extra=new Array(N.head.extra_len)),g.arraySet(N.head.extra,M,B,X,he)),512&amp;N.flags&amp;&amp;(N.check=v(N.check,M,X,B)),Z-=X,B+=X,N.length-=X),N.length))break e;N.length=0,N.mode=7;case 7:if(2048&amp;N.flags){if(Z===0)break e;for(X=0;he=M[B+X++],N.head&amp;&amp;he&amp;&amp;N.length&lt;65536&amp;&amp;(N.head.name+=String.fromCharCode(he)),he&amp;&amp;X&lt;Z;);if(512&amp;N.flags&amp;&amp;(N.check=v(N.check,M,X,B)),Z-=X,B+=X,he)break e}else N.head&amp;&amp;(N.head.name=null);N.length=0,N.mode=8;case 8:if(4096&amp;N.flags){if(Z===0)break e;for(X=0;he=M[B+X++],N.head&amp;&amp;he&amp;&amp;N.length&lt;65536&amp;&amp;(N.head.comment+=String.fromCharCode(he)),he&amp;&amp;X&lt;Z;);if(512&amp;N.flags&amp;&amp;(N.check=v(N.check,M,X,B)),Z-=X,B+=X,he)break e}else N.head&amp;&amp;(N.head.comment=null);N.mode=9;case 9:if(512&amp;N.flags){for(;ee&lt;16;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}if(U!==(65535&amp;N.check)){k.msg=&quot;header crc mismatch&quot;,N.mode=30;break}ee=U=0}N.head&amp;&amp;(N.head.hcrc=N.flags&gt;&gt;9&amp;1,N.head.done=!0),k.adler=N.check=0,N.mode=12;break;case 10:for(;ee&lt;32;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}k.adler=N.check=T(U),ee=U=0,N.mode=11;case 11:if(N.havedict===0)return k.next_out=Y,k.avail_out=ie,k.next_in=B,k.avail_in=Z,N.hold=U,N.bits=ee,2;k.adler=N.check=1,N.mode=12;case 12:if(S===5||S===6)break e;case 13:if(N.last){U&gt;&gt;&gt;=7&amp;ee,ee-=7&amp;ee,N.mode=27;break}for(;ee&lt;3;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}switch(N.last=1&amp;U,ee-=1,3&amp;(U&gt;&gt;&gt;=1)){case 0:N.mode=14;break;case 1:if(E(N),N.mode=20,S!==6)break;U&gt;&gt;&gt;=2,ee-=2;break e;case 2:N.mode=17;break;case 3:k.msg=&quot;invalid block type&quot;,N.mode=30}U&gt;&gt;&gt;=2,ee-=2;break;case 14:for(U&gt;&gt;&gt;=7&amp;ee,ee-=7&amp;ee;ee&lt;32;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}if((65535&amp;U)!=(U&gt;&gt;&gt;16^65535)){k.msg=&quot;invalid stored block lengths&quot;,N.mode=30;break}if(N.length=65535&amp;U,ee=U=0,N.mode=15,S===6)break e;case 15:N.mode=16;case 16:if(X=N.length){if(Z&lt;X&amp;&amp;(X=Z),ie&lt;X&amp;&amp;(X=ie),X===0)break e;g.arraySet(R,M,B,X,Y),Z-=X,B+=X,ie-=X,Y+=X,N.length-=X;break}N.mode=12;break;case 17:for(;ee&lt;14;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}if(N.nlen=257+(31&amp;U),U&gt;&gt;&gt;=5,ee-=5,N.ndist=1+(31&amp;U),U&gt;&gt;&gt;=5,ee-=5,N.ncode=4+(15&amp;U),U&gt;&gt;&gt;=4,ee-=4,286&lt;N.nlen||30&lt;N.ndist){k.msg=&quot;too many length or distance symbols&quot;,N.mode=30;break}N.have=0,N.mode=18;case 18:for(;N.have&lt;N.ncode;){for(;ee&lt;3;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}N.lens[Ce[N.have++]]=7&amp;U,U&gt;&gt;&gt;=3,ee-=3}for(;N.have&lt;19;)N.lens[Ce[N.have++]]=0;if(N.lencode=N.lendyn,N.lenbits=7,ge={bits:N.lenbits},ue=C(0,N.lens,0,19,N.lencode,0,N.work,ge),N.lenbits=ge.bits,ue){k.msg=&quot;invalid code lengths set&quot;,N.mode=30;break}N.have=0,N.mode=19;case 19:for(;N.have&lt;N.nlen+N.ndist;){for(;te=(pe=N.lencode[U&amp;(1&lt;&lt;N.lenbits)-1])&gt;&gt;&gt;16&amp;255,de=65535&amp;pe,!((Q=pe&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}if(de&lt;16)U&gt;&gt;&gt;=Q,ee-=Q,N.lens[N.have++]=de;else{if(de===16){for(xe=Q+2;ee&lt;xe;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}if(U&gt;&gt;&gt;=Q,ee-=Q,N.have===0){k.msg=&quot;invalid bit length repeat&quot;,N.mode=30;break}he=N.lens[N.have-1],X=3+(3&amp;U),U&gt;&gt;&gt;=2,ee-=2}else if(de===17){for(xe=Q+3;ee&lt;xe;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}ee-=Q,he=0,X=3+(7&amp;(U&gt;&gt;&gt;=Q)),U&gt;&gt;&gt;=3,ee-=3}else{for(xe=Q+7;ee&lt;xe;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}ee-=Q,he=0,X=11+(127&amp;(U&gt;&gt;&gt;=Q)),U&gt;&gt;&gt;=7,ee-=7}if(N.have+X&gt;N.nlen+N.ndist){k.msg=&quot;invalid bit length repeat&quot;,N.mode=30;break}for(;X--;)N.lens[N.have++]=he}}if(N.mode===30)break;if(N.lens[256]===0){k.msg=&quot;invalid code -- missing end-of-block&quot;,N.mode=30;break}if(N.lenbits=9,ge={bits:N.lenbits},ue=C(1,N.lens,0,N.nlen,N.lencode,0,N.work,ge),N.lenbits=ge.bits,ue){k.msg=&quot;invalid literal/lengths set&quot;,N.mode=30;break}if(N.distbits=6,N.distcode=N.distdyn,ge={bits:N.distbits},ue=C(2,N.lens,N.nlen,N.ndist,N.distcode,0,N.work,ge),N.distbits=ge.bits,ue){k.msg=&quot;invalid distances set&quot;,N.mode=30;break}if(N.mode=20,S===6)break e;case 20:N.mode=21;case 21:if(6&lt;=Z&amp;&amp;258&lt;=ie){k.next_out=Y,k.avail_out=ie,k.next_in=B,k.avail_in=Z,N.hold=U,N.bits=ee,_(k,I),Y=k.next_out,R=k.output,ie=k.avail_out,B=k.next_in,M=k.input,Z=k.avail_in,U=N.hold,ee=N.bits,N.mode===12&amp;&amp;(N.back=-1);break}for(N.back=0;te=(pe=N.lencode[U&amp;(1&lt;&lt;N.lenbits)-1])&gt;&gt;&gt;16&amp;255,de=65535&amp;pe,!((Q=pe&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}if(te&amp;&amp;(240&amp;te)==0){for(le=Q,se=te,fe=de;te=(pe=N.lencode[fe+((U&amp;(1&lt;&lt;le+se)-1)&gt;&gt;le)])&gt;&gt;&gt;16&amp;255,de=65535&amp;pe,!(le+(Q=pe&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}U&gt;&gt;&gt;=le,ee-=le,N.back+=le}if(U&gt;&gt;&gt;=Q,ee-=Q,N.back+=Q,N.length=de,te===0){N.mode=26;break}if(32&amp;te){N.back=-1,N.mode=12;break}if(64&amp;te){k.msg=&quot;invalid literal/length code&quot;,N.mode=30;break}N.extra=15&amp;te,N.mode=22;case 22:if(N.extra){for(xe=N.extra;ee&lt;xe;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}N.length+=U&amp;(1&lt;&lt;N.extra)-1,U&gt;&gt;&gt;=N.extra,ee-=N.extra,N.back+=N.extra}N.was=N.length,N.mode=23;case 23:for(;te=(pe=N.distcode[U&amp;(1&lt;&lt;N.distbits)-1])&gt;&gt;&gt;16&amp;255,de=65535&amp;pe,!((Q=pe&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}if((240&amp;te)==0){for(le=Q,se=te,fe=de;te=(pe=N.distcode[fe+((U&amp;(1&lt;&lt;le+se)-1)&gt;&gt;le)])&gt;&gt;&gt;16&amp;255,de=65535&amp;pe,!(le+(Q=pe&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}U&gt;&gt;&gt;=le,ee-=le,N.back+=le}if(U&gt;&gt;&gt;=Q,ee-=Q,N.back+=Q,64&amp;te){k.msg=&quot;invalid distance code&quot;,N.mode=30;break}N.offset=de,N.extra=15&amp;te,N.mode=24;case 24:if(N.extra){for(xe=N.extra;ee&lt;xe;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}N.offset+=U&amp;(1&lt;&lt;N.extra)-1,U&gt;&gt;&gt;=N.extra,ee-=N.extra,N.back+=N.extra}if(N.offset&gt;N.dmax){k.msg=&quot;invalid distance too far back&quot;,N.mode=30;break}N.mode=25;case 25:if(ie===0)break e;if(X=I-ie,N.offset&gt;X){if((X=N.offset-X)&gt;N.whave&amp;&amp;N.sane){k.msg=&quot;invalid distance too far back&quot;,N.mode=30;break}re=X&gt;N.wnext?(X-=N.wnext,N.wsize-X):N.wnext-X,X&gt;N.length&amp;&amp;(X=N.length),ne=N.window}else ne=R,re=Y-N.offset,X=N.length;for(ie&lt;X&amp;&amp;(X=ie),ie-=X,N.length-=X;R[Y++]=ne[re++],--X;);N.length===0&amp;&amp;(N.mode=21);break;case 26:if(ie===0)break e;R[Y++]=N.length,ie--,N.mode=21;break;case 27:if(N.wrap){for(;ee&lt;32;){if(Z===0)break e;Z--,U|=M[B++]&lt;&lt;ee,ee+=8}if(I-=ie,k.total_out+=I,N.total+=I,I&amp;&amp;(k.adler=N.check=N.flags?v(N.check,R,I,Y-I):y(N.check,R,I,Y-I)),I=ie,(N.flags?U:T(U))!==N.check){k.msg=&quot;incorrect data check&quot;,N.mode=30;break}ee=U=0}N.mode=28;case 28:if(N.wrap&amp;&amp;N.flags){for(;ee&lt;32;){if(Z===0)break e;Z--,U+=M[B++]&lt;&lt;ee,ee+=8}if(U!==(4294967295&amp;N.total)){k.msg=&quot;incorrect length check&quot;,N.mode=30;break}ee=U=0}N.mode=29;case 29:ue=1;break e;case 30:ue=-3;break e;case 31:return-4;default:return O}return k.next_out=Y,k.avail_out=ie,k.next_in=B,k.avail_in=Z,N.hold=U,N.bits=ee,(N.wsize||I!==k.avail_out&amp;&amp;N.mode&lt;30&amp;&amp;(N.mode&lt;27||S!==4))&amp;&amp;j(k,k.output,k.next_out,I-k.avail_out)?(N.mode=31,-4):(z-=k.avail_in,I-=k.avail_out,k.total_in+=z,k.total_out+=I,N.total+=I,N.wrap&amp;&amp;I&amp;&amp;(k.adler=N.check=N.flags?v(N.check,R,I,k.next_out-I):y(N.check,R,I,k.next_out-I)),k.data_type=N.bits+(N.last?64:0)+(N.mode===12?128:0)+(N.mode===20||N.mode===15?256:0),(z==0&amp;&amp;I===0||S===4)&amp;&amp;ue===0&amp;&amp;(ue=-5),ue)},b.inflateEnd=function(k){if(!k||!k.state)return O;var S=k.state;return S.window&amp;&amp;(S.window=null),k.state=null,0},b.inflateGetHeader=function(k,S){var N;return k&amp;&amp;k.state?(2&amp;(N=k.state).wrap)==0?O:((N.head=S).done=!1,0):O},b.inflateSetDictionary=function(k,S){var N,M=S.length;return k&amp;&amp;k.state?(N=k.state).wrap!==0&amp;&amp;N.mode!==11?O:N.mode===11&amp;&amp;y(1,S,M,0)!==N.check?-3:j(k,S,M,M)?(N.mode=31,-4):(N.havedict=1,0):O},b.inflateInfo=&quot;pako inflate (from Nodeca project)&quot;},{&quot;../utils/common&quot;:41,&quot;./adler32&quot;:43,&quot;./crc32&quot;:45,&quot;./inffast&quot;:48,&quot;./inftrees&quot;:50}],50:[function(m,p,b){var g=m(&quot;../utils/common&quot;),y=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],v=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],_=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],C=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];p.exports=function(O,T,V,F,H,W,K,$){var P,D,E,j,k,S,N,M,R,B=$.bits,Y=0,Z=0,ie=0,U=0,ee=0,z=0,I=0,X=0,re=0,ne=0,Q=null,te=0,de=new g.Buf16(16),le=new g.Buf16(16),se=null,fe=0;for(Y=0;Y&lt;=15;Y++)de[Y]=0;for(Z=0;Z&lt;F;Z++)de[T[V+Z]]++;for(ee=B,U=15;1&lt;=U&amp;&amp;de[U]===0;U--);if(U&lt;ee&amp;&amp;(ee=U),U===0)return H[W++]=20971520,H[W++]=20971520,$.bits=1,0;for(ie=1;ie&lt;U&amp;&amp;de[ie]===0;ie++);for(ee&lt;ie&amp;&amp;(ee=ie),Y=X=1;Y&lt;=15;Y++)if(X&lt;&lt;=1,(X-=de[Y])&lt;0)return-1;if(0&lt;X&amp;&amp;(O===0||U!==1))return-1;for(le[1]=0,Y=1;Y&lt;15;Y++)le[Y+1]=le[Y]+de[Y];for(Z=0;Z&lt;F;Z++)T[V+Z]!==0&amp;&amp;(K[le[T[V+Z]]++]=Z);if(S=O===0?(Q=se=K,19):O===1?(Q=y,te-=257,se=v,fe-=257,256):(Q=_,se=C,-1),Y=ie,k=W,I=Z=ne=0,E=-1,j=(re=1&lt;&lt;(z=ee))-1,O===1&amp;&amp;852&lt;re||O===2&amp;&amp;592&lt;re)return 1;for(;;){for(N=Y-I,R=K[Z]&lt;S?(M=0,K[Z]):K[Z]&gt;S?(M=se[fe+K[Z]],Q[te+K[Z]]):(M=96,0),P=1&lt;&lt;Y-I,ie=D=1&lt;&lt;z;H[k+(ne&gt;&gt;I)+(D-=P)]=N&lt;&lt;24|M&lt;&lt;16|R|0,D!==0;);for(P=1&lt;&lt;Y-1;ne&amp;P;)P&gt;&gt;=1;if(P!==0?(ne&amp;=P-1,ne+=P):ne=0,Z++,--de[Y]==0){if(Y===U)break;Y=T[V+K[Z]]}if(ee&lt;Y&amp;&amp;(ne&amp;j)!==E){for(I===0&amp;&amp;(I=ee),k+=ie,X=1&lt;&lt;(z=Y-I);z+I&lt;U&amp;&amp;!((X-=de[z+I])&lt;=0);)z++,X&lt;&lt;=1;if(re+=1&lt;&lt;z,O===1&amp;&amp;852&lt;re||O===2&amp;&amp;592&lt;re)return 1;H[E=ne&amp;j]=ee&lt;&lt;24|z&lt;&lt;16|k-W|0}}return ne!==0&amp;&amp;(H[k+ne]=Y-I&lt;&lt;24|64&lt;&lt;16|0),$.bits=ee,0}},{&quot;../utils/common&quot;:41}],51:[function(m,p,b){p.exports={2:&quot;need dictionary&quot;,1:&quot;stream end&quot;,0:&quot;&quot;,&quot;-1&quot;:&quot;file error&quot;,&quot;-2&quot;:&quot;stream error&quot;,&quot;-3&quot;:&quot;data error&quot;,&quot;-4&quot;:&quot;insufficient memory&quot;,&quot;-5&quot;:&quot;buffer error&quot;,&quot;-6&quot;:&quot;incompatible version&quot;}},{}],52:[function(m,p,b){var g=m(&quot;../utils/common&quot;);function y(se){for(var fe=se.length;0&lt;=--fe;)se[fe]=0}var v=256,_=286,C=30,O=15,T=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],V=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],W=new Array(576);y(W);var K=new Array(60);y(K);var $=new Array(512);y($);var P=new Array(256);y(P);var D=new Array(29);y(D);var E,j,k,S=new Array(C);function N(se,fe,he,ue,ge){this.static_tree=se,this.extra_bits=fe,this.extra_base=he,this.elems=ue,this.max_length=ge,this.has_stree=se&amp;&amp;se.length}function M(se,fe){this.dyn_tree=se,this.max_code=0,this.stat_desc=fe}function R(se){return se&lt;256?$[se]:$[256+(se&gt;&gt;&gt;7)]}function B(se,fe){se.pending_buf[se.pending++]=255&amp;fe,se.pending_buf[se.pending++]=fe&gt;&gt;&gt;8&amp;255}function Y(se,fe,he){se.bi_valid&gt;16-he?(se.bi_buf|=fe&lt;&lt;se.bi_valid&amp;65535,B(se,se.bi_buf),se.bi_buf=fe&gt;&gt;16-se.bi_valid,se.bi_valid+=he-16):(se.bi_buf|=fe&lt;&lt;se.bi_valid&amp;65535,se.bi_valid+=he)}function Z(se,fe,he){Y(se,he[2*fe],he[2*fe+1])}function ie(se,fe){for(var he=0;he|=1&amp;se,se&gt;&gt;&gt;=1,he&lt;&lt;=1,0&lt;--fe;);return he&gt;&gt;&gt;1}function U(se,fe,he){var ue,ge,xe=new Array(16),pe=0;for(ue=1;ue&lt;=O;ue++)xe[ue]=pe=pe+he[ue-1]&lt;&lt;1;for(ge=0;ge&lt;=fe;ge++){var ce=se[2*ge+1];ce!==0&amp;&amp;(se[2*ge]=ie(xe[ce]++,ce))}}function ee(se){var fe;for(fe=0;fe&lt;_;fe++)se.dyn_ltree[2*fe]=0;for(fe=0;fe&lt;C;fe++)se.dyn_dtree[2*fe]=0;for(fe=0;fe&lt;19;fe++)se.bl_tree[2*fe]=0;se.dyn_ltree[512]=1,se.opt_len=se.static_len=0,se.last_lit=se.matches=0}function z(se){8&lt;se.bi_valid?B(se,se.bi_buf):0&lt;se.bi_valid&amp;&amp;(se.pending_buf[se.pending++]=se.bi_buf),se.bi_buf=0,se.bi_valid=0}function I(se,fe,he,ue){var ge=2*fe,xe=2*he;return se[ge]&lt;se[xe]||se[ge]===se[xe]&amp;&amp;ue[fe]&lt;=ue[he]}function X(se,fe,he){for(var ue=se.heap[he],ge=he&lt;&lt;1;ge&lt;=se.heap_len&amp;&amp;(ge&lt;se.heap_len&amp;&amp;I(fe,se.heap[ge+1],se.heap[ge],se.depth)&amp;&amp;ge++,!I(fe,ue,se.heap[ge],se.depth));)se.heap[he]=se.heap[ge],he=ge,ge&lt;&lt;=1;se.heap[he]=ue}function re(se,fe,he){var ue,ge,xe,pe,ce=0;if(se.last_lit!==0)for(;ue=se.pending_buf[se.d_buf+2*ce]&lt;&lt;8|se.pending_buf[se.d_buf+2*ce+1],ge=se.pending_buf[se.l_buf+ce],ce++,ue===0?Z(se,ge,fe):(Z(se,(xe=P[ge])+v+1,fe),(pe=T[xe])!==0&amp;&amp;Y(se,ge-=D[xe],pe),Z(se,xe=R(--ue),he),(pe=V[xe])!==0&amp;&amp;Y(se,ue-=S[xe],pe)),ce&lt;se.last_lit;);Z(se,256,fe)}function ne(se,fe){var he,ue,ge,xe=fe.dyn_tree,pe=fe.stat_desc.static_tree,ce=fe.stat_desc.has_stree,Ce=fe.stat_desc.elems,Me=-1;for(se.heap_len=0,se.heap_max=573,he=0;he&lt;Ce;he++)xe[2*he]!==0?(se.heap[++se.heap_len]=Me=he,se.depth[he]=0):xe[2*he+1]=0;for(;se.heap_len&lt;2;)xe[2*(ge=se.heap[++se.heap_len]=Me&lt;2?++Me:0)]=1,se.depth[ge]=0,se.opt_len--,ce&amp;&amp;(se.static_len-=pe[2*ge+1]);for(fe.max_code=Me,he=se.heap_len&gt;&gt;1;1&lt;=he;he--)X(se,xe,he);for(ge=Ce;he=se.heap[1],se.heap[1]=se.heap[se.heap_len--],X(se,xe,1),ue=se.heap[1],se.heap[--se.heap_max]=he,se.heap[--se.heap_max]=ue,xe[2*ge]=xe[2*he]+xe[2*ue],se.depth[ge]=(se.depth[he]&gt;=se.depth[ue]?se.depth[he]:se.depth[ue])+1,xe[2*he+1]=xe[2*ue+1]=ge,se.heap[1]=ge++,X(se,xe,1),2&lt;=se.heap_len;);se.heap[--se.heap_max]=se.heap[1],(function(Se,Te){var Qe,Ve,Xe,tt,He,ze,Ze=Te.dyn_tree,et=Te.max_code,Je=Te.stat_desc.static_tree,It=Te.stat_desc.has_stree,Vt=Te.stat_desc.extra_bits,ot=Te.stat_desc.extra_base,Tt=Te.stat_desc.max_length,jt=0;for(tt=0;tt&lt;=O;tt++)Se.bl_count[tt]=0;for(Ze[2*Se.heap[Se.heap_max]+1]=0,Qe=Se.heap_max+1;Qe&lt;573;Qe++)Tt&lt;(tt=Ze[2*Ze[2*(Ve=Se.heap[Qe])+1]+1]+1)&amp;&amp;(tt=Tt,jt++),Ze[2*Ve+1]=tt,et&lt;Ve||(Se.bl_count[tt]++,He=0,ot&lt;=Ve&amp;&amp;(He=Vt[Ve-ot]),ze=Ze[2*Ve],Se.opt_len+=ze*(tt+He),It&amp;&amp;(Se.static_len+=ze*(Je[2*Ve+1]+He)));if(jt!==0){do{for(tt=Tt-1;Se.bl_count[tt]===0;)tt--;Se.bl_count[tt]--,Se.bl_count[tt+1]+=2,Se.bl_count[Tt]--,jt-=2}while(0&lt;jt);for(tt=Tt;tt!==0;tt--)for(Ve=Se.bl_count[tt];Ve!==0;)et&lt;(Xe=Se.heap[--Qe])||(Ze[2*Xe+1]!==tt&amp;&amp;(Se.opt_len+=(tt-Ze[2*Xe+1])*Ze[2*Xe],Ze[2*Xe+1]=tt),Ve--)}})(se,fe),U(xe,Me,se.bl_count)}function Q(se,fe,he){var ue,ge,xe=-1,pe=fe[1],ce=0,Ce=7,Me=4;for(pe===0&amp;&amp;(Ce=138,Me=3),fe[2*(he+1)+1]=65535,ue=0;ue&lt;=he;ue++)ge=pe,pe=fe[2*(ue+1)+1],++ce&lt;Ce&amp;&amp;ge===pe||(ce&lt;Me?se.bl_tree[2*ge]+=ce:ge!==0?(ge!==xe&amp;&amp;se.bl_tree[2*ge]++,se.bl_tree[32]++):ce&lt;=10?se.bl_tree[34]++:se.bl_tree[36]++,xe=ge,Me=(ce=0)===pe?(Ce=138,3):ge===pe?(Ce=6,3):(Ce=7,4))}function te(se,fe,he){var ue,ge,xe=-1,pe=fe[1],ce=0,Ce=7,Me=4;for(pe===0&amp;&amp;(Ce=138,Me=3),ue=0;ue&lt;=he;ue++)if(ge=pe,pe=fe[2*(ue+1)+1],!(++ce&lt;Ce&amp;&amp;ge===pe)){if(ce&lt;Me)for(;Z(se,ge,se.bl_tree),--ce!=0;);else ge!==0?(ge!==xe&amp;&amp;(Z(se,ge,se.bl_tree),ce--),Z(se,16,se.bl_tree),Y(se,ce-3,2)):ce&lt;=10?(Z(se,17,se.bl_tree),Y(se,ce-3,3)):(Z(se,18,se.bl_tree),Y(se,ce-11,7));xe=ge,Me=(ce=0)===pe?(Ce=138,3):ge===pe?(Ce=6,3):(Ce=7,4)}}y(S);var de=!1;function le(se,fe,he,ue){Y(se,0+(ue?1:0),3),(function(ge,xe,pe,ce){z(ge),B(ge,pe),B(ge,~pe),g.arraySet(ge.pending_buf,ge.window,xe,pe,ge.pending),ge.pending+=pe})(se,fe,he)}b._tr_init=function(se){de||((function(){var fe,he,ue,ge,xe,pe=new Array(16);for(ge=ue=0;ge&lt;28;ge++)for(D[ge]=ue,fe=0;fe&lt;1&lt;&lt;T[ge];fe++)P[ue++]=ge;for(P[ue-1]=ge,ge=xe=0;ge&lt;16;ge++)for(S[ge]=xe,fe=0;fe&lt;1&lt;&lt;V[ge];fe++)$[xe++]=ge;for(xe&gt;&gt;=7;ge&lt;C;ge++)for(S[ge]=xe&lt;&lt;7,fe=0;fe&lt;1&lt;&lt;V[ge]-7;fe++)$[256+xe++]=ge;for(he=0;he&lt;=O;he++)pe[he]=0;for(fe=0;fe&lt;=143;)W[2*fe+1]=8,fe++,pe[8]++;for(;fe&lt;=255;)W[2*fe+1]=9,fe++,pe[9]++;for(;fe&lt;=279;)W[2*fe+1]=7,fe++,pe[7]++;for(;fe&lt;=287;)W[2*fe+1]=8,fe++,pe[8]++;for(U(W,287,pe),fe=0;fe&lt;C;fe++)K[2*fe+1]=5,K[2*fe]=ie(fe,5);E=new N(W,T,257,_,O),j=new N(K,V,0,C,O),k=new N(new Array(0),F,0,19,7)})(),de=!0),se.l_desc=new M(se.dyn_ltree,E),se.d_desc=new M(se.dyn_dtree,j),se.bl_desc=new M(se.bl_tree,k),se.bi_buf=0,se.bi_valid=0,ee(se)},b._tr_stored_block=le,b._tr_flush_block=function(se,fe,he,ue){var ge,xe,pe=0;0&lt;se.level?(se.strm.data_type===2&amp;&amp;(se.strm.data_type=(function(ce){var Ce,Me=4093624447;for(Ce=0;Ce&lt;=31;Ce++,Me&gt;&gt;&gt;=1)if(1&amp;Me&amp;&amp;ce.dyn_ltree[2*Ce]!==0)return 0;if(ce.dyn_ltree[18]!==0||ce.dyn_ltree[20]!==0||ce.dyn_ltree[26]!==0)return 1;for(Ce=32;Ce&lt;v;Ce++)if(ce.dyn_ltree[2*Ce]!==0)return 1;return 0})(se)),ne(se,se.l_desc),ne(se,se.d_desc),pe=(function(ce){var Ce;for(Q(ce,ce.dyn_ltree,ce.l_desc.max_code),Q(ce,ce.dyn_dtree,ce.d_desc.max_code),ne(ce,ce.bl_desc),Ce=18;3&lt;=Ce&amp;&amp;ce.bl_tree[2*H[Ce]+1]===0;Ce--);return ce.opt_len+=3*(Ce+1)+5+5+4,Ce})(se),ge=se.opt_len+3+7&gt;&gt;&gt;3,(xe=se.static_len+3+7&gt;&gt;&gt;3)&lt;=ge&amp;&amp;(ge=xe)):ge=xe=he+5,he+4&lt;=ge&amp;&amp;fe!==-1?le(se,fe,he,ue):se.strategy===4||xe===ge?(Y(se,2+(ue?1:0),3),re(se,W,K)):(Y(se,4+(ue?1:0),3),(function(ce,Ce,Me,Se){var Te;for(Y(ce,Ce-257,5),Y(ce,Me-1,5),Y(ce,Se-4,4),Te=0;Te&lt;Se;Te++)Y(ce,ce.bl_tree[2*H[Te]+1],3);te(ce,ce.dyn_ltree,Ce-1),te(ce,ce.dyn_dtree,Me-1)})(se,se.l_desc.max_code+1,se.d_desc.max_code+1,pe+1),re(se,se.dyn_ltree,se.dyn_dtree)),ee(se),ue&amp;&amp;z(se)},b._tr_tally=function(se,fe,he){return se.pending_buf[se.d_buf+2*se.last_lit]=fe&gt;&gt;&gt;8&amp;255,se.pending_buf[se.d_buf+2*se.last_lit+1]=255&amp;fe,se.pending_buf[se.l_buf+se.last_lit]=255&amp;he,se.last_lit++,fe===0?se.dyn_ltree[2*he]++:(se.matches++,fe--,se.dyn_ltree[2*(P[he]+v+1)]++,se.dyn_dtree[2*R(fe)]++),se.last_lit===se.lit_bufsize-1},b._tr_align=function(se){Y(se,2,3),Z(se,256,W),(function(fe){fe.bi_valid===16?(B(fe,fe.bi_buf),fe.bi_buf=0,fe.bi_valid=0):8&lt;=fe.bi_valid&amp;&amp;(fe.pending_buf[fe.pending++]=255&amp;fe.bi_buf,fe.bi_buf&gt;&gt;=8,fe.bi_valid-=8)})(se)}},{&quot;../utils/common&quot;:41}],53:[function(m,p,b){p.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=&quot;&quot;,this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(m,p,b){(function(g){(function(y,v){if(!y.setImmediate){var _,C,O,T,V=1,F={},H=!1,W=y.document,K=Object.getPrototypeOf&amp;&amp;Object.getPrototypeOf(y);K=K&amp;&amp;K.setTimeout?K:y,_={}.toString.call(y.process)===&quot;[object process]&quot;?function(E){i.nextTick((function(){P(E)}))}:(function(){if(y.postMessage&amp;&amp;!y.importScripts){var E=!0,j=y.onmessage;return y.onmessage=function(){E=!1},y.postMessage(&quot;&quot;,&quot;*&quot;),y.onmessage=j,E}})()?(T=&quot;setImmediate$&quot;+Math.random()+&quot;$&quot;,y.addEventListener?y.addEventListener(&quot;message&quot;,D,!1):y.attachEvent(&quot;onmessage&quot;,D),function(E){y.postMessage(T+E,&quot;*&quot;)}):y.MessageChannel?((O=new MessageChannel).port1.onmessage=function(E){P(E.data)},function(E){O.port2.postMessage(E)}):W&amp;&amp;&quot;onreadystatechange&quot;in W.createElement(&quot;script&quot;)?(C=W.documentElement,function(E){var j=W.createElement(&quot;script&quot;);j.onreadystatechange=function(){P(E),j.onreadystatechange=null,C.removeChild(j),j=null},C.appendChild(j)}):function(E){setTimeout(P,0,E)},K.setImmediate=function(E){typeof E!=&quot;function&quot;&amp;&amp;(E=new Function(&quot;&quot;+E));for(var j=new Array(arguments.length-1),k=0;k&lt;j.length;k++)j[k]=arguments[k+1];var S={callback:E,args:j};return F[V]=S,_(V),V++},K.clearImmediate=$}function $(E){delete F[E]}function P(E){if(H)setTimeout(P,0,E);else{var j=F[E];if(j){H=!0;try{(function(k){var S=k.callback,N=k.args;switch(N.length){case 0:S();break;case 1:S(N[0]);break;case 2:S(N[0],N[1]);break;case 3:S(N[0],N[1],N[2]);break;default:S.apply(void 0,N)}})(j)}finally{$(E),H=!1}}}}function D(E){E.source===y&amp;&amp;typeof E.data==&quot;string&quot;&amp;&amp;E.data.indexOf(T)===0&amp;&amp;P(+E.data.slice(T.length))}})(typeof self&gt;&quot;u&quot;?g===void 0?this:g:self)}).call(this,a!==void 0?a:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}]},{},[10])(10)}))}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{},t(&quot;buffer&quot;).Buffer,arguments[3],arguments[4],arguments[5],arguments[6],t(&quot;timers&quot;).setImmediate)},{_process:467,buffer:220,timers:523}],442:[function(t,n,o){(function(i){(function(){var a=/[\\^$.*+?()[\]{}|]/g,u=RegExp(a.source),l=typeof i==&quot;object&quot;&amp;&amp;i&amp;&amp;i.Object===Object&amp;&amp;i,s=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,d=l||s||Function(&quot;return this&quot;)(),f=Object.prototype.toString,h=d.Symbol,m=h?h.prototype:void 0,p=m?m.toString:void 0;function b(g){if(typeof g==&quot;string&quot;)return g;if((function(v){return typeof v==&quot;symbol&quot;||(function(_){return!!_&amp;&amp;typeof _==&quot;object&quot;})(v)&amp;&amp;f.call(v)==&quot;[object Symbol]&quot;})(g))return p?p.call(g):&quot;&quot;;var y=g+&quot;&quot;;return y==&quot;0&quot;&amp;&amp;1/g==-1/0?&quot;-0&quot;:y}n.exports=function(g){var y;return(g=(y=g)==null?&quot;&quot;:b(y))&amp;&amp;u.test(g)?g.replace(a,&quot;\\$&amp;&quot;):g}}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],443:[function(t,n,o){(function(i){(function(){var a=&quot;[object Arguments]&quot;,u=&quot;[object Map]&quot;,l=&quot;[object Object]&quot;,s=&quot;[object Set]&quot;,d=/\.|\[(?:[^[\]]*|([&quot;&#039;])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f=/^\w*$/,h=/^\./,m=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|([&quot;&#039;])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,b=/^\[object .+?Constructor\]$/,g=/^(?:0|[1-9]\d*)$/,y={};y[&quot;[object Float32Array]&quot;]=y[&quot;[object Float64Array]&quot;]=y[&quot;[object Int8Array]&quot;]=y[&quot;[object Int16Array]&quot;]=y[&quot;[object Int32Array]&quot;]=y[&quot;[object Uint8Array]&quot;]=y[&quot;[object Uint8ClampedArray]&quot;]=y[&quot;[object Uint16Array]&quot;]=y[&quot;[object Uint32Array]&quot;]=!0,y[a]=y[&quot;[object Array]&quot;]=y[&quot;[object ArrayBuffer]&quot;]=y[&quot;[object Boolean]&quot;]=y[&quot;[object DataView]&quot;]=y[&quot;[object Date]&quot;]=y[&quot;[object Error]&quot;]=y[&quot;[object Function]&quot;]=y[u]=y[&quot;[object Number]&quot;]=y[l]=y[&quot;[object RegExp]&quot;]=y[s]=y[&quot;[object String]&quot;]=y[&quot;[object WeakMap]&quot;]=!1;var v=typeof i==&quot;object&quot;&amp;&amp;i&amp;&amp;i.Object===Object&amp;&amp;i,_=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,C=v||_||Function(&quot;return this&quot;)(),O=typeof o==&quot;object&quot;&amp;&amp;o&amp;&amp;!o.nodeType&amp;&amp;o,T=O&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;n&amp;&amp;!n.nodeType&amp;&amp;n,V=T&amp;&amp;T.exports===O&amp;&amp;v.process,F=(function(){try{return V&amp;&amp;V.binding(&quot;util&quot;)}catch{}})(),H=F&amp;&amp;F.isTypedArray;function W(me,je,Re,Be){for(var we=-1,De=me?me.length:0;++we&lt;De;){var Fe=me[we];je(Be,Fe,Re(Fe),me)}return Be}function K(me,je){for(var Re=-1,Be=me?me.length:0;++Re&lt;Be;)if(je(me[Re],Re,me))return!0;return!1}function $(me){var je=!1;if(me!=null&amp;&amp;typeof me.toString!=&quot;function&quot;)try{je=!!(me+&quot;&quot;)}catch{}return je}function P(me){var je=-1,Re=Array(me.size);return me.forEach((function(Be,we){Re[++je]=[we,Be]})),Re}function D(me){var je=-1,Re=Array(me.size);return me.forEach((function(Be){Re[++je]=Be})),Re}var E,j,k,S=Array.prototype,N=Function.prototype,M=Object.prototype,R=C[&quot;__core-js_shared__&quot;],B=(E=/[^.]+$/.exec(R&amp;&amp;R.keys&amp;&amp;R.keys.IE_PROTO||&quot;&quot;))?&quot;Symbol(src)_1.&quot;+E:&quot;&quot;,Y=N.toString,Z=M.hasOwnProperty,ie=M.toString,U=RegExp(&quot;^&quot;+Y.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),ee=C.Symbol,z=C.Uint8Array,I=M.propertyIsEnumerable,X=S.splice,re=(j=Object.keys,k=Object,function(me){return j(k(me))}),ne=ht(C,&quot;DataView&quot;),Q=ht(C,&quot;Map&quot;),te=ht(C,&quot;Promise&quot;),de=ht(C,&quot;Set&quot;),le=ht(C,&quot;WeakMap&quot;),se=ht(Object,&quot;create&quot;),fe=ke(ne),he=ke(Q),ue=ke(te),ge=ke(de),xe=ke(le),pe=ee?ee.prototype:void 0,ce=pe?pe.valueOf:void 0,Ce=pe?pe.toString:void 0;function Me(me){var je=-1,Re=me?me.length:0;for(this.clear();++je&lt;Re;){var Be=me[je];this.set(Be[0],Be[1])}}function Se(me){var je=-1,Re=me?me.length:0;for(this.clear();++je&lt;Re;){var Be=me[je];this.set(Be[0],Be[1])}}function Te(me){var je=-1,Re=me?me.length:0;for(this.clear();++je&lt;Re;){var Be=me[je];this.set(Be[0],Be[1])}}function Qe(me){var je=-1,Re=me?me.length:0;for(this.__data__=new Te;++je&lt;Re;)this.add(me[je])}function Ve(me){this.__data__=new Se(me)}function Xe(me,je){var Re=gt(me)||wt(me)?(function(Fe,Nt){for(var _t=-1,Et=Array(Fe);++_t&lt;Fe;)Et[_t]=Nt(_t);return Et})(me.length,String):[],Be=Re.length,we=!!Be;for(var De in me)!Z.call(me,De)||we&amp;&amp;(De==&quot;length&quot;||Ot(De,Be))||Re.push(De);return Re}function tt(me,je){for(var Re=me.length;Re--;)if(Ge(me[Re][0],je))return Re;return-1}function He(me,je,Re,Be){return Ze(me,(function(we,De,Fe){je(Be,we,Re(we),Fe)})),Be}Me.prototype.clear=function(){this.__data__=se?se(null):{}},Me.prototype.delete=function(me){return this.has(me)&amp;&amp;delete this.__data__[me]},Me.prototype.get=function(me){var je=this.__data__;if(se){var Re=je[me];return Re===&quot;__lodash_hash_undefined__&quot;?void 0:Re}return Z.call(je,me)?je[me]:void 0},Me.prototype.has=function(me){var je=this.__data__;return se?je[me]!==void 0:Z.call(je,me)},Me.prototype.set=function(me,je){return this.__data__[me]=se&amp;&amp;je===void 0?&quot;__lodash_hash_undefined__&quot;:je,this},Se.prototype.clear=function(){this.__data__=[]},Se.prototype.delete=function(me){var je=this.__data__,Re=tt(je,me);return!(Re&lt;0)&amp;&amp;(Re==je.length-1?je.pop():X.call(je,Re,1),!0)},Se.prototype.get=function(me){var je=this.__data__,Re=tt(je,me);return Re&lt;0?void 0:je[Re][1]},Se.prototype.has=function(me){return tt(this.__data__,me)&gt;-1},Se.prototype.set=function(me,je){var Re=this.__data__,Be=tt(Re,me);return Be&lt;0?Re.push([me,je]):Re[Be][1]=je,this},Te.prototype.clear=function(){this.__data__={hash:new Me,map:new(Q||Se),string:new Me}},Te.prototype.delete=function(me){return $t(this,me).delete(me)},Te.prototype.get=function(me){return $t(this,me).get(me)},Te.prototype.has=function(me){return $t(this,me).has(me)},Te.prototype.set=function(me,je){return $t(this,me).set(me,je),this},Qe.prototype.add=Qe.prototype.push=function(me){return this.__data__.set(me,&quot;__lodash_hash_undefined__&quot;),this},Qe.prototype.has=function(me){return this.__data__.has(me)},Ve.prototype.clear=function(){this.__data__=new Se},Ve.prototype.delete=function(me){return this.__data__.delete(me)},Ve.prototype.get=function(me){return this.__data__.get(me)},Ve.prototype.has=function(me){return this.__data__.has(me)},Ve.prototype.set=function(me,je){var Re=this.__data__;if(Re instanceof Se){var Be=Re.__data__;if(!Q||Be.length&lt;199)return Be.push([me,je]),this;Re=this.__data__=new Te(Be)}return Re.set(me,je),this};var ze,Ze=(ze=function(me,je){return me&amp;&amp;et(me,je,or)},function(me,je){if(me==null)return me;if(!nt(me))return ze(me,je);for(var Re=me.length,Be=-1,we=Object(me);++Be&lt;Re&amp;&amp;je(we[Be],Be,we)!==!1;);return me}),et=(function(me){return function(je,Re,Be){for(var we=-1,De=Object(je),Fe=Be(je),Nt=Fe.length;Nt--;){var _t=Fe[++we];if(Re(De[_t],_t,De)===!1)break}return je}})();function Je(me,je){for(var Re=0,Be=(je=xt(je,me)?[je]:St(je)).length;me!=null&amp;&amp;Re&lt;Be;)me=me[ye(je[Re++])];return Re&amp;&amp;Re==Be?me:void 0}function It(me,je){return me!=null&amp;&amp;je in Object(me)}function Vt(me,je,Re,Be,we){return me===je||(me==null||je==null||!Pt(me)&amp;&amp;!Jt(je)?me!=me&amp;&amp;je!=je:(function(De,Fe,Nt,_t,Et,mt){var Bt=gt(De),qt=gt(Fe),er=&quot;[object Array]&quot;,Qt=&quot;[object Array]&quot;;Bt||(er=(er=Ut(De))==a?l:er),qt||(Qt=(Qt=Ut(Fe))==a?l:Qt);var vr=er==l&amp;&amp;!$(De),Sr=Qt==l&amp;&amp;!$(Fe),Ur=er==Qt;if(Ur&amp;&amp;!vr)return mt||(mt=new Ve),Bt||ar(De)?Xt(De,Fe,Nt,_t,Et,mt):(function(Wt,Dt,ln,Qi,kr,Lt,zn){switch(ln){case&quot;[object DataView]&quot;:if(Wt.byteLength!=Dt.byteLength||Wt.byteOffset!=Dt.byteOffset)return!1;Wt=Wt.buffer,Dt=Dt.buffer;case&quot;[object ArrayBuffer]&quot;:return!(Wt.byteLength!=Dt.byteLength||!Qi(new z(Wt),new z(Dt)));case&quot;[object Boolean]&quot;:case&quot;[object Date]&quot;:case&quot;[object Number]&quot;:return Ge(+Wt,+Dt);case&quot;[object Error]&quot;:return Wt.name==Dt.name&amp;&amp;Wt.message==Dt.message;case&quot;[object RegExp]&quot;:case&quot;[object String]&quot;:return Wt==Dt+&quot;&quot;;case u:var Jn=P;case s:var ji=2&amp;Lt;if(Jn||(Jn=D),Wt.size!=Dt.size&amp;&amp;!ji)return!1;var vs=zn.get(Wt);if(vs)return vs==Dt;Lt|=1,zn.set(Wt,Dt);var cn=Xt(Jn(Wt),Jn(Dt),Qi,kr,Lt,zn);return zn.delete(Wt),cn;case&quot;[object Symbol]&quot;:if(ce)return ce.call(Wt)==ce.call(Dt)}return!1})(De,Fe,er,Nt,_t,Et,mt);if(!(2&amp;Et)){var Qn=vr&amp;&amp;Z.call(De,&quot;__wrapped__&quot;),Yi=Sr&amp;&amp;Z.call(Fe,&quot;__wrapped__&quot;);if(Qn||Yi){var Zi=Qn?De.value():De,fi=Yi?Fe.value():Fe;return mt||(mt=new Ve),Nt(Zi,fi,_t,Et,mt)}}return Ur?(mt||(mt=new Ve),(function(Wt,Dt,ln,Qi,kr,Lt){var zn=2&amp;kr,Jn=or(Wt),ji=Jn.length,vs=or(Dt).length;if(ji!=vs&amp;&amp;!zn)return!1;for(var cn=ji;cn--;){var wn=Jn[cn];if(!(zn?wn in Dt:Z.call(Dt,wn)))return!1}var Na=Lt.get(Wt);if(Na&amp;&amp;Lt.get(Dt))return Na==Dt;var Si=!0;Lt.set(Wt,Dt),Lt.set(Dt,Wt);for(var ei=zn;++cn&lt;ji;){wn=Jn[cn];var Or=Wt[wn],un=Dt[wn];if(Qi)var ki=zn?Qi(un,Or,wn,Dt,Wt,Lt):Qi(Or,un,wn,Wt,Dt,Lt);if(!(ki===void 0?Or===un||ln(Or,un,Qi,kr,Lt):ki)){Si=!1;break}ei||(ei=wn==&quot;constructor&quot;)}if(Si&amp;&amp;!ei){var hi=Wt.constructor,On=Dt.constructor;hi==On||!(&quot;constructor&quot;in Wt)||!(&quot;constructor&quot;in Dt)||typeof hi==&quot;function&quot;&amp;&amp;hi instanceof hi&amp;&amp;typeof On==&quot;function&quot;&amp;&amp;On instanceof On||(Si=!1)}return Lt.delete(Wt),Lt.delete(Dt),Si})(De,Fe,Nt,_t,Et,mt)):!1})(me,je,Vt,Re,Be,we))}function ot(me){return!(!Pt(me)||(function(je){return!!B&amp;&amp;B in je})(me))&amp;&amp;(Ct(me)||$(me)?U:b).test(ke(me))}function Tt(me){return typeof me==&quot;function&quot;?me:me==null?$r:typeof me==&quot;object&quot;?gt(me)?(function(Be,we){return xt(Be)&amp;&amp;Rt(we)?Gt(ye(Be),we):function(De){var Fe=(function(Nt,_t,Et){var mt=Nt==null?void 0:Je(Nt,_t);return mt===void 0?Et:mt})(De,Be);return Fe===void 0&amp;&amp;Fe===we?(function(Nt,_t){return Nt!=null&amp;&amp;(function(Et,mt,Bt){mt=xt(mt,Et)?[mt]:St(mt);for(var qt,er=-1,Qt=mt.length;++er&lt;Qt;){var vr=ye(mt[er]);if(!(qt=Et!=null&amp;&amp;Bt(Et,vr)))break;Et=Et[vr]}return qt||!!(Qt=Et?Et.length:0)&amp;&amp;kt(Qt)&amp;&amp;Ot(vr,Qt)&amp;&amp;(gt(Et)||wt(Et))})(Nt,_t,It)})(De,Be):Vt(we,Fe,void 0,3)}})(me[0],me[1]):(function(Be){var we=(function(De){for(var Fe=or(De),Nt=Fe.length;Nt--;){var _t=Fe[Nt],Et=De[_t];Fe[Nt]=[_t,Et,Rt(Et)]}return Fe})(Be);return we.length==1&amp;&amp;we[0][2]?Gt(we[0][0],we[0][1]):function(De){return De===Be||(function(Fe,Nt,_t,Et){var mt=_t.length,Bt=mt;if(Fe==null)return!Bt;for(Fe=Object(Fe);mt--;){var qt=_t[mt];if(qt[2]?qt[1]!==Fe[qt[0]]:!(qt[0]in Fe))return!1}for(;++mt&lt;Bt;){var er=(qt=_t[mt])[0],Qt=Fe[er],vr=qt[1];if(qt[2]){if(Qt===void 0&amp;&amp;!(er in Fe))return!1}else{var Sr=new Ve,Ur;if(!(Ur===void 0?Vt(vr,Qt,Et,3,Sr):Ur))return!1}}return!0})(De,Be,we)}})(me):xt(je=me)?(Re=ye(je),function(Be){return Be?.[Re]}):(function(Be){return function(we){return Je(we,Be)}})(je);var je,Re}function jt(me){if(Re=(je=me)&amp;&amp;je.constructor,Be=typeof Re==&quot;function&quot;&amp;&amp;Re.prototype||M,je!==Be)return re(me);var je,Re,Be,we=[];for(var De in Object(me))Z.call(me,De)&amp;&amp;De!=&quot;constructor&quot;&amp;&amp;we.push(De);return we}function St(me){return gt(me)?me:vt(me)}function Xt(me,je,Re,Be,we,De){var Fe=2&amp;we,Nt=me.length,_t=je.length;if(Nt!=_t&amp;&amp;!(Fe&amp;&amp;_t&gt;Nt))return!1;var Et=De.get(me);if(Et&amp;&amp;De.get(je))return Et==je;var mt=-1,Bt=!0,qt=1&amp;we?new Qe:void 0;for(De.set(me,je),De.set(je,me);++mt&lt;Nt;){var er=me[mt],Qt=je[mt];if(Be)var vr=Fe?Be(Qt,er,mt,je,me,De):Be(er,Qt,mt,me,je,De);if(vr!==void 0){if(vr)continue;Bt=!1;break}if(qt){if(!K(je,(function(Sr,Ur){if(!qt.has(Ur)&amp;&amp;(er===Sr||Re(er,Sr,Be,we,De)))return qt.add(Ur)}))){Bt=!1;break}}else if(er!==Qt&amp;&amp;!Re(er,Qt,Be,we,De)){Bt=!1;break}}return De.delete(me),De.delete(je),Bt}function $t(me,je){var Re,Be,we=me.__data__;return((Be=typeof(Re=je))==&quot;string&quot;||Be==&quot;number&quot;||Be==&quot;symbol&quot;||Be==&quot;boolean&quot;?Re!==&quot;__proto__&quot;:Re===null)?we[typeof je==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:we.map}function ht(me,je){var Re=(function(Be,we){return Be?.[we]})(me,je);return ot(Re)?Re:void 0}var Ut=function(me){return ie.call(me)};function Ot(me,je){return!!(je=je??9007199254740991)&amp;&amp;(typeof me==&quot;number&quot;||g.test(me))&amp;&amp;me&gt;-1&amp;&amp;me%1==0&amp;&amp;me&lt;je}function xt(me,je){if(gt(me))return!1;var Re=typeof me;return!(Re!=&quot;number&quot;&amp;&amp;Re!=&quot;symbol&quot;&amp;&amp;Re!=&quot;boolean&quot;&amp;&amp;me!=null&amp;&amp;!Ht(me))||f.test(me)||!d.test(me)||je!=null&amp;&amp;me in Object(je)}function Rt(me){return me==me&amp;&amp;!Pt(me)}function Gt(me,je){return function(Re){return Re!=null&amp;&amp;Re[me]===je&amp;&amp;(je!==void 0||me in Object(Re))}}(ne&amp;&amp;Ut(new ne(new ArrayBuffer(1)))!=&quot;[object DataView]&quot;||Q&amp;&amp;Ut(new Q)!=u||te&amp;&amp;Ut(te.resolve())!=&quot;[object Promise]&quot;||de&amp;&amp;Ut(new de)!=s||le&amp;&amp;Ut(new le)!=&quot;[object WeakMap]&quot;)&amp;&amp;(Ut=function(me){var je=ie.call(me),Re=je==l?me.constructor:void 0,Be=Re?ke(Re):void 0;if(Be)switch(Be){case fe:return&quot;[object DataView]&quot;;case he:return u;case ue:return&quot;[object Promise]&quot;;case ge:return s;case xe:return&quot;[object WeakMap]&quot;}return je});var vt=dt((function(me){var je;me=(je=me)==null?&quot;&quot;:(function(Be){if(typeof Be==&quot;string&quot;)return Be;if(Ht(Be))return Ce?Ce.call(Be):&quot;&quot;;var we=Be+&quot;&quot;;return we==&quot;0&quot;&amp;&amp;1/Be==-1/0?&quot;-0&quot;:we})(je);var Re=[];return h.test(me)&amp;&amp;Re.push(&quot;&quot;),me.replace(m,(function(Be,we,De,Fe){Re.push(De?Fe.replace(p,&quot;$1&quot;):we||Be)})),Re}));function ye(me){if(typeof me==&quot;string&quot;||Ht(me))return me;var je=me+&quot;&quot;;return je==&quot;0&quot;&amp;&amp;1/me==-1/0?&quot;-0&quot;:je}function ke(me){if(me!=null){try{return Y.call(me)}catch{}try{return me+&quot;&quot;}catch{}}return&quot;&quot;}var Ie,Ke=(Ie=function(me,je,Re){Z.call(me,Re)?me[Re].push(je):me[Re]=[je]},function(me,je){var Re=gt(me)?W:He,Be={};return Re(me,Ie,Tt(je),Be)});function dt(me,je){if(typeof me!=&quot;function&quot;||je&amp;&amp;typeof je!=&quot;function&quot;)throw new TypeError(&quot;Expected a function&quot;);var Re=function(){var Be=arguments,we=je?je.apply(this,Be):Be[0],De=Re.cache;if(De.has(we))return De.get(we);var Fe=me.apply(this,Be);return Re.cache=De.set(we,Fe),Fe};return Re.cache=new(dt.Cache||Te),Re}function Ge(me,je){return me===je||me!=me&amp;&amp;je!=je}function wt(me){return(function(je){return Jt(je)&amp;&amp;nt(je)})(me)&amp;&amp;Z.call(me,&quot;callee&quot;)&amp;&amp;(!I.call(me,&quot;callee&quot;)||ie.call(me)==a)}dt.Cache=Te;var gt=Array.isArray;function nt(me){return me!=null&amp;&amp;kt(me.length)&amp;&amp;!Ct(me)}function Ct(me){var je=Pt(me)?ie.call(me):&quot;&quot;;return je==&quot;[object Function]&quot;||je==&quot;[object GeneratorFunction]&quot;}function kt(me){return typeof me==&quot;number&quot;&amp;&amp;me&gt;-1&amp;&amp;me%1==0&amp;&amp;me&lt;=9007199254740991}function Pt(me){var je=typeof me;return!!me&amp;&amp;(je==&quot;object&quot;||je==&quot;function&quot;)}function Jt(me){return!!me&amp;&amp;typeof me==&quot;object&quot;}function Ht(me){return typeof me==&quot;symbol&quot;||Jt(me)&amp;&amp;ie.call(me)==&quot;[object Symbol]&quot;}var ar=H?(function(me){return function(je){return me(je)}})(H):function(me){return Jt(me)&amp;&amp;kt(me.length)&amp;&amp;!!y[ie.call(me)]};function or(me){return nt(me)?Xe(me):jt(me)}function $r(me){return me}n.exports=Ke}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],444:[function(t,n,o){var i=Object.prototype.toString;n.exports=function(a){return a===!0||a===!1||(function(u){return!!u&amp;&amp;typeof u==&quot;object&quot;})(a)&amp;&amp;i.call(a)==&quot;[object Boolean]&quot;}},{}],445:[function(t,n,o){(function(i){(function(){var a=&quot;[object Arguments]&quot;,u=&quot;[object Map]&quot;,l=&quot;[object Object]&quot;,s=&quot;[object Set]&quot;,d=/^\[object .+?Constructor\]$/,f=/^(?:0|[1-9]\d*)$/,h={};h[&quot;[object Float32Array]&quot;]=h[&quot;[object Float64Array]&quot;]=h[&quot;[object Int8Array]&quot;]=h[&quot;[object Int16Array]&quot;]=h[&quot;[object Int32Array]&quot;]=h[&quot;[object Uint8Array]&quot;]=h[&quot;[object Uint8ClampedArray]&quot;]=h[&quot;[object Uint16Array]&quot;]=h[&quot;[object Uint32Array]&quot;]=!0,h[a]=h[&quot;[object Array]&quot;]=h[&quot;[object ArrayBuffer]&quot;]=h[&quot;[object Boolean]&quot;]=h[&quot;[object DataView]&quot;]=h[&quot;[object Date]&quot;]=h[&quot;[object Error]&quot;]=h[&quot;[object Function]&quot;]=h[u]=h[&quot;[object Number]&quot;]=h[l]=h[&quot;[object RegExp]&quot;]=h[s]=h[&quot;[object String]&quot;]=h[&quot;[object WeakMap]&quot;]=!1;var m=typeof i==&quot;object&quot;&amp;&amp;i&amp;&amp;i.Object===Object&amp;&amp;i,p=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,b=m||p||Function(&quot;return this&quot;)(),g=typeof o==&quot;object&quot;&amp;&amp;o&amp;&amp;!o.nodeType&amp;&amp;o,y=g&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;n&amp;&amp;!n.nodeType&amp;&amp;n,v=y&amp;&amp;y.exports===g,_=v&amp;&amp;m.process,C=(function(){try{return _&amp;&amp;_.binding&amp;&amp;_.binding(&quot;util&quot;)}catch{}})(),O=C&amp;&amp;C.isTypedArray;function T(ye,ke){for(var Ie=-1,Ke=ye==null?0:ye.length;++Ie&lt;Ke;)if(ke(ye[Ie],Ie,ye))return!0;return!1}function V(ye){var ke=-1,Ie=Array(ye.size);return ye.forEach((function(Ke,dt){Ie[++ke]=[dt,Ke]})),Ie}function F(ye){var ke=-1,Ie=Array(ye.size);return ye.forEach((function(Ke){Ie[++ke]=Ke})),Ie}var H,W,K,$=Array.prototype,P=Function.prototype,D=Object.prototype,E=b[&quot;__core-js_shared__&quot;],j=P.toString,k=D.hasOwnProperty,S=(H=/[^.]+$/.exec(E&amp;&amp;E.keys&amp;&amp;E.keys.IE_PROTO||&quot;&quot;))?&quot;Symbol(src)_1.&quot;+H:&quot;&quot;,N=D.toString,M=RegExp(&quot;^&quot;+j.call(k).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),R=v?b.Buffer:void 0,B=b.Symbol,Y=b.Uint8Array,Z=D.propertyIsEnumerable,ie=$.splice,U=B?B.toStringTag:void 0,ee=Object.getOwnPropertySymbols,z=R?R.isBuffer:void 0,I=(W=Object.keys,K=Object,function(ye){return W(K(ye))}),X=It(b,&quot;DataView&quot;),re=It(b,&quot;Map&quot;),ne=It(b,&quot;Promise&quot;),Q=It(b,&quot;Set&quot;),te=It(b,&quot;WeakMap&quot;),de=It(Object,&quot;create&quot;),le=jt(X),se=jt(re),fe=jt(ne),he=jt(Q),ue=jt(te),ge=B?B.prototype:void 0,xe=ge?ge.valueOf:void 0;function pe(ye){var ke=-1,Ie=ye==null?0:ye.length;for(this.clear();++ke&lt;Ie;){var Ke=ye[ke];this.set(Ke[0],Ke[1])}}function ce(ye){var ke=-1,Ie=ye==null?0:ye.length;for(this.clear();++ke&lt;Ie;){var Ke=ye[ke];this.set(Ke[0],Ke[1])}}function Ce(ye){var ke=-1,Ie=ye==null?0:ye.length;for(this.clear();++ke&lt;Ie;){var Ke=ye[ke];this.set(Ke[0],Ke[1])}}function Me(ye){var ke=-1,Ie=ye==null?0:ye.length;for(this.__data__=new Ce;++ke&lt;Ie;)this.add(ye[ke])}function Se(ye){var ke=this.__data__=new ce(ye);this.size=ke.size}function Te(ye,ke){var Ie=$t(ye),Ke=!Ie&amp;&amp;Xt(ye),dt=!Ie&amp;&amp;!Ke&amp;&amp;ht(ye),Ge=!Ie&amp;&amp;!Ke&amp;&amp;!dt&amp;&amp;Gt(ye),wt=Ie||Ke||dt||Ge,gt=wt?(function(kt,Pt){for(var Jt=-1,Ht=Array(kt);++Jt&lt;kt;)Ht[Jt]=Pt(Jt);return Ht})(ye.length,String):[],nt=gt.length;for(var Ct in ye)!k.call(ye,Ct)||wt&amp;&amp;(Ct==&quot;length&quot;||dt&amp;&amp;(Ct==&quot;offset&quot;||Ct==&quot;parent&quot;)||Ge&amp;&amp;(Ct==&quot;buffer&quot;||Ct==&quot;byteLength&quot;||Ct==&quot;byteOffset&quot;)||Tt(Ct,nt))||gt.push(Ct);return gt}function Qe(ye,ke){for(var Ie=ye.length;Ie--;)if(St(ye[Ie][0],ke))return Ie;return-1}function Ve(ye){return ye==null?ye===void 0?&quot;[object Undefined]&quot;:&quot;[object Null]&quot;:U&amp;&amp;U in Object(ye)?(function(ke){var Ie=k.call(ke,U),Ke=ke[U];try{ke[U]=void 0;var dt=!0}catch{}var Ge=N.call(ke);return dt&amp;&amp;(Ie?ke[U]=Ke:delete ke[U]),Ge})(ye):(function(ke){return N.call(ke)})(ye)}function Xe(ye){return Rt(ye)&amp;&amp;Ve(ye)==a}function tt(ye,ke,Ie,Ke,dt){return ye===ke||(ye==null||ke==null||!Rt(ye)&amp;&amp;!Rt(ke)?ye!=ye&amp;&amp;ke!=ke:(function(Ge,wt,gt,nt,Ct,kt){var Pt=$t(Ge),Jt=$t(wt),Ht=Pt?&quot;[object Array]&quot;:ot(Ge),ar=Jt?&quot;[object Array]&quot;:ot(wt),or=(Ht=Ht==a?l:Ht)==l,$r=(ar=ar==a?l:ar)==l,me=Ht==ar;if(me&amp;&amp;ht(Ge)){if(!ht(wt))return!1;Pt=!0,or=!1}if(me&amp;&amp;!or)return kt||(kt=new Se),Pt||Gt(Ge)?Ze(Ge,wt,gt,nt,Ct,kt):(function(De,Fe,Nt,_t,Et,mt,Bt){switch(Nt){case&quot;[object DataView]&quot;:if(De.byteLength!=Fe.byteLength||De.byteOffset!=Fe.byteOffset)return!1;De=De.buffer,Fe=Fe.buffer;case&quot;[object ArrayBuffer]&quot;:return!(De.byteLength!=Fe.byteLength||!mt(new Y(De),new Y(Fe)));case&quot;[object Boolean]&quot;:case&quot;[object Date]&quot;:case&quot;[object Number]&quot;:return St(+De,+Fe);case&quot;[object Error]&quot;:return De.name==Fe.name&amp;&amp;De.message==Fe.message;case&quot;[object RegExp]&quot;:case&quot;[object String]&quot;:return De==Fe+&quot;&quot;;case u:var qt=V;case s:var er=1&amp;_t;if(qt||(qt=F),De.size!=Fe.size&amp;&amp;!er)return!1;var Qt=Bt.get(De);if(Qt)return Qt==Fe;_t|=2,Bt.set(De,Fe);var vr=Ze(qt(De),qt(Fe),_t,Et,mt,Bt);return Bt.delete(De),vr;case&quot;[object Symbol]&quot;:if(xe)return xe.call(De)==xe.call(Fe)}return!1})(Ge,wt,Ht,gt,nt,Ct,kt);if(!(1&amp;gt)){var je=or&amp;&amp;k.call(Ge,&quot;__wrapped__&quot;),Re=$r&amp;&amp;k.call(wt,&quot;__wrapped__&quot;);if(je||Re){var Be=je?Ge.value():Ge,we=Re?wt.value():wt;return kt||(kt=new Se),Ct(Be,we,gt,nt,kt)}}return me?(kt||(kt=new Se),(function(De,Fe,Nt,_t,Et,mt){var Bt=1&amp;Nt,qt=et(De),er=qt.length,Qt=et(Fe).length;if(er!=Qt&amp;&amp;!Bt)return!1;for(var vr=er;vr--;){var Sr=qt[vr];if(!(Bt?Sr in Fe:k.call(Fe,Sr)))return!1}var Ur=mt.get(De);if(Ur&amp;&amp;mt.get(Fe))return Ur==Fe;var Qn=!0;mt.set(De,Fe),mt.set(Fe,De);for(var Yi=Bt;++vr&lt;er;){Sr=qt[vr];var Zi=De[Sr],fi=Fe[Sr];if(_t)var Wt=Bt?_t(fi,Zi,Sr,Fe,De,mt):_t(Zi,fi,Sr,De,Fe,mt);if(!(Wt===void 0?Zi===fi||Et(Zi,fi,Nt,_t,mt):Wt)){Qn=!1;break}Yi||(Yi=Sr==&quot;constructor&quot;)}if(Qn&amp;&amp;!Yi){var Dt=De.constructor,ln=Fe.constructor;Dt==ln||!(&quot;constructor&quot;in De)||!(&quot;constructor&quot;in Fe)||typeof Dt==&quot;function&quot;&amp;&amp;Dt instanceof Dt&amp;&amp;typeof ln==&quot;function&quot;&amp;&amp;ln instanceof ln||(Qn=!1)}return mt.delete(De),mt.delete(Fe),Qn})(Ge,wt,gt,nt,Ct,kt)):!1})(ye,ke,Ie,Ke,tt,dt))}function He(ye){return!(!xt(ye)||(function(ke){return!!S&amp;&amp;S in ke})(ye))&amp;&amp;(Ut(ye)?M:d).test(jt(ye))}function ze(ye){if(Ie=(ke=ye)&amp;&amp;ke.constructor,Ke=typeof Ie==&quot;function&quot;&amp;&amp;Ie.prototype||D,ke!==Ke)return I(ye);var ke,Ie,Ke,dt=[];for(var Ge in Object(ye))k.call(ye,Ge)&amp;&amp;Ge!=&quot;constructor&quot;&amp;&amp;dt.push(Ge);return dt}function Ze(ye,ke,Ie,Ke,dt,Ge){var wt=1&amp;Ie,gt=ye.length,nt=ke.length;if(gt!=nt&amp;&amp;!(wt&amp;&amp;nt&gt;gt))return!1;var Ct=Ge.get(ye);if(Ct&amp;&amp;Ge.get(ke))return Ct==ke;var kt=-1,Pt=!0,Jt=2&amp;Ie?new Me:void 0;for(Ge.set(ye,ke),Ge.set(ke,ye);++kt&lt;gt;){var Ht=ye[kt],ar=ke[kt];if(Ke)var or=wt?Ke(ar,Ht,kt,ke,ye,Ge):Ke(Ht,ar,kt,ye,ke,Ge);if(or!==void 0){if(or)continue;Pt=!1;break}if(Jt){if(!T(ke,(function($r,me){if(je=me,!Jt.has(je)&amp;&amp;(Ht===$r||dt(Ht,$r,Ie,Ke,Ge)))return Jt.push(me);var je}))){Pt=!1;break}}else if(Ht!==ar&amp;&amp;!dt(Ht,ar,Ie,Ke,Ge)){Pt=!1;break}}return Ge.delete(ye),Ge.delete(ke),Pt}function et(ye){return(function(ke,Ie,Ke){var dt=Ie(ke);return $t(ke)?dt:(function(Ge,wt){for(var gt=-1,nt=wt.length,Ct=Ge.length;++gt&lt;nt;)Ge[Ct+gt]=wt[gt];return Ge})(dt,Ke(ke))})(ye,vt,Vt)}function Je(ye,ke){var Ie,Ke,dt=ye.__data__;return((Ke=typeof(Ie=ke))==&quot;string&quot;||Ke==&quot;number&quot;||Ke==&quot;symbol&quot;||Ke==&quot;boolean&quot;?Ie!==&quot;__proto__&quot;:Ie===null)?dt[typeof ke==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:dt.map}function It(ye,ke){var Ie=(function(Ke,dt){return Ke?.[dt]})(ye,ke);return He(Ie)?Ie:void 0}pe.prototype.clear=function(){this.__data__=de?de(null):{},this.size=0},pe.prototype.delete=function(ye){var ke=this.has(ye)&amp;&amp;delete this.__data__[ye];return this.size-=ke?1:0,ke},pe.prototype.get=function(ye){var ke=this.__data__;if(de){var Ie=ke[ye];return Ie===&quot;__lodash_hash_undefined__&quot;?void 0:Ie}return k.call(ke,ye)?ke[ye]:void 0},pe.prototype.has=function(ye){var ke=this.__data__;return de?ke[ye]!==void 0:k.call(ke,ye)},pe.prototype.set=function(ye,ke){var Ie=this.__data__;return this.size+=this.has(ye)?0:1,Ie[ye]=de&amp;&amp;ke===void 0?&quot;__lodash_hash_undefined__&quot;:ke,this},ce.prototype.clear=function(){this.__data__=[],this.size=0},ce.prototype.delete=function(ye){var ke=this.__data__,Ie=Qe(ke,ye);return!(Ie&lt;0)&amp;&amp;(Ie==ke.length-1?ke.pop():ie.call(ke,Ie,1),--this.size,!0)},ce.prototype.get=function(ye){var ke=this.__data__,Ie=Qe(ke,ye);return Ie&lt;0?void 0:ke[Ie][1]},ce.prototype.has=function(ye){return Qe(this.__data__,ye)&gt;-1},ce.prototype.set=function(ye,ke){var Ie=this.__data__,Ke=Qe(Ie,ye);return Ke&lt;0?(++this.size,Ie.push([ye,ke])):Ie[Ke][1]=ke,this},Ce.prototype.clear=function(){this.size=0,this.__data__={hash:new pe,map:new(re||ce),string:new pe}},Ce.prototype.delete=function(ye){var ke=Je(this,ye).delete(ye);return this.size-=ke?1:0,ke},Ce.prototype.get=function(ye){return Je(this,ye).get(ye)},Ce.prototype.has=function(ye){return Je(this,ye).has(ye)},Ce.prototype.set=function(ye,ke){var Ie=Je(this,ye),Ke=Ie.size;return Ie.set(ye,ke),this.size+=Ie.size==Ke?0:1,this},Me.prototype.add=Me.prototype.push=function(ye){return this.__data__.set(ye,&quot;__lodash_hash_undefined__&quot;),this},Me.prototype.has=function(ye){return this.__data__.has(ye)},Se.prototype.clear=function(){this.__data__=new ce,this.size=0},Se.prototype.delete=function(ye){var ke=this.__data__,Ie=ke.delete(ye);return this.size=ke.size,Ie},Se.prototype.get=function(ye){return this.__data__.get(ye)},Se.prototype.has=function(ye){return this.__data__.has(ye)},Se.prototype.set=function(ye,ke){var Ie=this.__data__;if(Ie instanceof ce){var Ke=Ie.__data__;if(!re||Ke.length&lt;199)return Ke.push([ye,ke]),this.size=++Ie.size,this;Ie=this.__data__=new Ce(Ke)}return Ie.set(ye,ke),this.size=Ie.size,this};var Vt=ee?function(ye){return ye==null?[]:(ye=Object(ye),(function(ke,Ie){for(var Ke=-1,dt=ke==null?0:ke.length,Ge=0,wt=[];++Ke&lt;dt;){var gt=ke[Ke];Ie(gt,Ke,ke)&amp;&amp;(wt[Ge++]=gt)}return wt})(ee(ye),(function(ke){return Z.call(ye,ke)})))}:function(){return[]},ot=Ve;function Tt(ye,ke){return!!(ke=ke??9007199254740991)&amp;&amp;(typeof ye==&quot;number&quot;||f.test(ye))&amp;&amp;ye&gt;-1&amp;&amp;ye%1==0&amp;&amp;ye&lt;ke}function jt(ye){if(ye!=null){try{return j.call(ye)}catch{}try{return ye+&quot;&quot;}catch{}}return&quot;&quot;}function St(ye,ke){return ye===ke||ye!=ye&amp;&amp;ke!=ke}(X&amp;&amp;ot(new X(new ArrayBuffer(1)))!=&quot;[object DataView]&quot;||re&amp;&amp;ot(new re)!=u||ne&amp;&amp;ot(ne.resolve())!=&quot;[object Promise]&quot;||Q&amp;&amp;ot(new Q)!=s||te&amp;&amp;ot(new te)!=&quot;[object WeakMap]&quot;)&amp;&amp;(ot=function(ye){var ke=Ve(ye),Ie=ke==l?ye.constructor:void 0,Ke=Ie?jt(Ie):&quot;&quot;;if(Ke)switch(Ke){case le:return&quot;[object DataView]&quot;;case se:return u;case fe:return&quot;[object Promise]&quot;;case he:return s;case ue:return&quot;[object WeakMap]&quot;}return ke});var Xt=Xe((function(){return arguments})())?Xe:function(ye){return Rt(ye)&amp;&amp;k.call(ye,&quot;callee&quot;)&amp;&amp;!Z.call(ye,&quot;callee&quot;)},$t=Array.isArray,ht=z||function(){return!1};function Ut(ye){if(!xt(ye))return!1;var ke=Ve(ye);return ke==&quot;[object Function]&quot;||ke==&quot;[object GeneratorFunction]&quot;||ke==&quot;[object AsyncFunction]&quot;||ke==&quot;[object Proxy]&quot;}function Ot(ye){return typeof ye==&quot;number&quot;&amp;&amp;ye&gt;-1&amp;&amp;ye%1==0&amp;&amp;ye&lt;=9007199254740991}function xt(ye){var ke=typeof ye;return ye!=null&amp;&amp;(ke==&quot;object&quot;||ke==&quot;function&quot;)}function Rt(ye){return ye!=null&amp;&amp;typeof ye==&quot;object&quot;}var Gt=O?(function(ye){return function(ke){return ye(ke)}})(O):function(ye){return Rt(ye)&amp;&amp;Ot(ye.length)&amp;&amp;!!h[Ve(ye)]};function vt(ye){return(ke=ye)!=null&amp;&amp;Ot(ke.length)&amp;&amp;!Ut(ke)?Te(ye):ze(ye);var ke}n.exports=function(ye,ke){return tt(ye,ke)}}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],446:[function(t,n,o){(function(i){(function(){var a=typeof i==&quot;object&quot;&amp;&amp;i&amp;&amp;i.Object===Object&amp;&amp;i,u=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,l=a||u||Function(&quot;return this&quot;)(),s=Object.prototype,d=s.hasOwnProperty,f=s.toString,h=l.Symbol,m=h?h.toStringTag:void 0;function p(b){return b==null?b===void 0?&quot;[object Undefined]&quot;:&quot;[object Null]&quot;:m&amp;&amp;m in Object(b)?(function(g){var y=d.call(g,m),v=g[m];try{g[m]=void 0;var _=!0}catch{}var C=f.call(g);return _&amp;&amp;(y?g[m]=v:delete g[m]),C})(b):(function(g){return f.call(g)})(b)}n.exports=function(b){if(!(function(y){var v=typeof y;return y!=null&amp;&amp;(v==&quot;object&quot;||v==&quot;function&quot;)})(b))return!1;var g=p(b);return g==&quot;[object Function]&quot;||g==&quot;[object GeneratorFunction]&quot;||g==&quot;[object AsyncFunction]&quot;||g==&quot;[object Proxy]&quot;}}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],447:[function(t,n,o){n.exports=function(i){return i==null}},{}],448:[function(t,n,o){n.exports=function(i){return i===void 0}},{}],449:[function(t,n,o){(function(i){(function(){var a=/^\[object .+?Constructor\]$/,u=typeof i==&quot;object&quot;&amp;&amp;i&amp;&amp;i.Object===Object&amp;&amp;i,l=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,s=u||l||Function(&quot;return this&quot;)();function d(B,Y){return!!(B&amp;&amp;B.length)&amp;&amp;(function(Z,ie,U){if(ie!=ie)return(function(I,X,re,ne){for(var Q=I.length,te=re+-1;++te&lt;Q;)if(X(I[te],te,I))return te;return-1})(Z,f,U);for(var ee=U-1,z=Z.length;++ee&lt;z;)if(Z[ee]===ie)return ee;return-1})(B,Y,0)&gt;-1}function f(B){return B!=B}function h(B,Y){return B.has(Y)}function m(B){var Y=-1,Z=Array(B.size);return B.forEach((function(ie){Z[++Y]=ie})),Z}var p,b=Array.prototype,g=Function.prototype,y=Object.prototype,v=s[&quot;__core-js_shared__&quot;],_=(p=/[^.]+$/.exec(v&amp;&amp;v.keys&amp;&amp;v.keys.IE_PROTO||&quot;&quot;))?&quot;Symbol(src)_1.&quot;+p:&quot;&quot;,C=g.toString,O=y.hasOwnProperty,T=y.toString,V=RegExp(&quot;^&quot;+C.call(O).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),F=b.splice,H=M(s,&quot;Map&quot;),W=M(s,&quot;Set&quot;),K=M(Object,&quot;create&quot;);function $(B){var Y=-1,Z=B?B.length:0;for(this.clear();++Y&lt;Z;){var ie=B[Y];this.set(ie[0],ie[1])}}function P(B){var Y=-1,Z=B?B.length:0;for(this.clear();++Y&lt;Z;){var ie=B[Y];this.set(ie[0],ie[1])}}function D(B){var Y=-1,Z=B?B.length:0;for(this.clear();++Y&lt;Z;){var ie=B[Y];this.set(ie[0],ie[1])}}function E(B){var Y=-1,Z=B?B.length:0;for(this.__data__=new D;++Y&lt;Z;)this.add(B[Y])}function j(B,Y){for(var Z,ie,U=B.length;U--;)if((Z=B[U][0])===(ie=Y)||Z!=Z&amp;&amp;ie!=ie)return U;return-1}function k(B){return!(!R(B)||(Y=B,_&amp;&amp;_ in Y))&amp;&amp;((function(Z){var ie=R(Z)?T.call(Z):&quot;&quot;;return ie==&quot;[object Function]&quot;||ie==&quot;[object GeneratorFunction]&quot;})(B)||(function(Z){var ie=!1;if(Z!=null&amp;&amp;typeof Z.toString!=&quot;function&quot;)try{ie=!!(Z+&quot;&quot;)}catch{}return ie})(B)?V:a).test((function(Z){if(Z!=null){try{return C.call(Z)}catch{}try{return Z+&quot;&quot;}catch{}}return&quot;&quot;})(B));var Y}$.prototype.clear=function(){this.__data__=K?K(null):{}},$.prototype.delete=function(B){return this.has(B)&amp;&amp;delete this.__data__[B]},$.prototype.get=function(B){var Y=this.__data__;if(K){var Z=Y[B];return Z===&quot;__lodash_hash_undefined__&quot;?void 0:Z}return O.call(Y,B)?Y[B]:void 0},$.prototype.has=function(B){var Y=this.__data__;return K?Y[B]!==void 0:O.call(Y,B)},$.prototype.set=function(B,Y){return this.__data__[B]=K&amp;&amp;Y===void 0?&quot;__lodash_hash_undefined__&quot;:Y,this},P.prototype.clear=function(){this.__data__=[]},P.prototype.delete=function(B){var Y=this.__data__,Z=j(Y,B);return!(Z&lt;0)&amp;&amp;(Z==Y.length-1?Y.pop():F.call(Y,Z,1),!0)},P.prototype.get=function(B){var Y=this.__data__,Z=j(Y,B);return Z&lt;0?void 0:Y[Z][1]},P.prototype.has=function(B){return j(this.__data__,B)&gt;-1},P.prototype.set=function(B,Y){var Z=this.__data__,ie=j(Z,B);return ie&lt;0?Z.push([B,Y]):Z[ie][1]=Y,this},D.prototype.clear=function(){this.__data__={hash:new $,map:new(H||P),string:new $}},D.prototype.delete=function(B){return N(this,B).delete(B)},D.prototype.get=function(B){return N(this,B).get(B)},D.prototype.has=function(B){return N(this,B).has(B)},D.prototype.set=function(B,Y){return N(this,B).set(B,Y),this},E.prototype.add=E.prototype.push=function(B){return this.__data__.set(B,&quot;__lodash_hash_undefined__&quot;),this},E.prototype.has=function(B){return this.__data__.has(B)};var S=W&amp;&amp;1/m(new W([,-0]))[1]==1/0?function(B){return new W(B)}:function(){};function N(B,Y){var Z,ie,U=B.__data__;return((ie=typeof(Z=Y))==&quot;string&quot;||ie==&quot;number&quot;||ie==&quot;symbol&quot;||ie==&quot;boolean&quot;?Z!==&quot;__proto__&quot;:Z===null)?U[typeof Y==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:U.map}function M(B,Y){var Z=(function(ie,U){return ie?.[U]})(B,Y);return k(Z)?Z:void 0}function R(B){var Y=typeof B;return!!B&amp;&amp;(Y==&quot;object&quot;||Y==&quot;function&quot;)}n.exports=function(B){return B&amp;&amp;B.length?(function(Y,Z,ie){var U=-1,ee=d,z=Y.length,I=!0,X=[],re=X;if(z&gt;=200){var ne=S(Y);if(ne)return m(ne);I=!1,ee=h,re=new E}else re=X;e:for(;++U&lt;z;){var Q=Y[U],te=Q;if(Q=Q!==0?Q:0,I&amp;&amp;te==te){for(var de=re.length;de--;)if(re[de]===te)continue e;X.push(Q)}else ee(re,te,ie)||(re!==X&amp;&amp;re.push(te),X.push(Q))}return X})(B):[]}}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],450:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;hash-base&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=new Array(16);function s(){a.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function d(b,g){return b&lt;&lt;g|b&gt;&gt;&gt;32-g}function f(b,g,y,v,_,C,O){return d(b+(g&amp;y|~g&amp;v)+_+C|0,O)+g|0}function h(b,g,y,v,_,C,O){return d(b+(g&amp;v|y&amp;~v)+_+C|0,O)+g|0}function m(b,g,y,v,_,C,O){return d(b+(g^y^v)+_+C|0,O)+g|0}function p(b,g,y,v,_,C,O){return d(b+(y^(g|~v))+_+C|0,O)+g|0}i(s,a),s.prototype._update=function(){for(var b=l,g=0;g&lt;16;++g)b[g]=this._block.readInt32LE(4*g);var y=this._a,v=this._b,_=this._c,C=this._d;y=f(y,v,_,C,b[0],3614090360,7),C=f(C,y,v,_,b[1],3905402710,12),_=f(_,C,y,v,b[2],606105819,17),v=f(v,_,C,y,b[3],3250441966,22),y=f(y,v,_,C,b[4],4118548399,7),C=f(C,y,v,_,b[5],1200080426,12),_=f(_,C,y,v,b[6],2821735955,17),v=f(v,_,C,y,b[7],4249261313,22),y=f(y,v,_,C,b[8],1770035416,7),C=f(C,y,v,_,b[9],2336552879,12),_=f(_,C,y,v,b[10],4294925233,17),v=f(v,_,C,y,b[11],2304563134,22),y=f(y,v,_,C,b[12],1804603682,7),C=f(C,y,v,_,b[13],4254626195,12),_=f(_,C,y,v,b[14],2792965006,17),y=h(y,v=f(v,_,C,y,b[15],1236535329,22),_,C,b[1],4129170786,5),C=h(C,y,v,_,b[6],3225465664,9),_=h(_,C,y,v,b[11],643717713,14),v=h(v,_,C,y,b[0],3921069994,20),y=h(y,v,_,C,b[5],3593408605,5),C=h(C,y,v,_,b[10],38016083,9),_=h(_,C,y,v,b[15],3634488961,14),v=h(v,_,C,y,b[4],3889429448,20),y=h(y,v,_,C,b[9],568446438,5),C=h(C,y,v,_,b[14],3275163606,9),_=h(_,C,y,v,b[3],4107603335,14),v=h(v,_,C,y,b[8],1163531501,20),y=h(y,v,_,C,b[13],2850285829,5),C=h(C,y,v,_,b[2],4243563512,9),_=h(_,C,y,v,b[7],1735328473,14),y=m(y,v=h(v,_,C,y,b[12],2368359562,20),_,C,b[5],4294588738,4),C=m(C,y,v,_,b[8],2272392833,11),_=m(_,C,y,v,b[11],1839030562,16),v=m(v,_,C,y,b[14],4259657740,23),y=m(y,v,_,C,b[1],2763975236,4),C=m(C,y,v,_,b[4],1272893353,11),_=m(_,C,y,v,b[7],4139469664,16),v=m(v,_,C,y,b[10],3200236656,23),y=m(y,v,_,C,b[13],681279174,4),C=m(C,y,v,_,b[0],3936430074,11),_=m(_,C,y,v,b[3],3572445317,16),v=m(v,_,C,y,b[6],76029189,23),y=m(y,v,_,C,b[9],3654602809,4),C=m(C,y,v,_,b[12],3873151461,11),_=m(_,C,y,v,b[15],530742520,16),y=p(y,v=m(v,_,C,y,b[2],3299628645,23),_,C,b[0],4096336452,6),C=p(C,y,v,_,b[7],1126891415,10),_=p(_,C,y,v,b[14],2878612391,15),v=p(v,_,C,y,b[5],4237533241,21),y=p(y,v,_,C,b[12],1700485571,6),C=p(C,y,v,_,b[3],2399980690,10),_=p(_,C,y,v,b[10],4293915773,15),v=p(v,_,C,y,b[1],2240044497,21),y=p(y,v,_,C,b[8],1873313359,6),C=p(C,y,v,_,b[15],4264355552,10),_=p(_,C,y,v,b[6],2734768916,15),v=p(v,_,C,y,b[13],1309151649,21),y=p(y,v,_,C,b[4],4149444226,6),C=p(C,y,v,_,b[11],3174756917,10),_=p(_,C,y,v,b[2],718787259,15),v=p(v,_,C,y,b[9],3951481745,21),this._a=this._a+y|0,this._b=this._b+v|0,this._c=this._c+_|0,this._d=this._d+C|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset&gt;56&amp;&amp;(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var b=u.allocUnsafe(16);return b.writeInt32LE(this._a,0),b.writeInt32LE(this._b,4),b.writeInt32LE(this._c,8),b.writeInt32LE(this._d,12),b},n.exports=s},{&quot;hash-base&quot;:425,inherits:440,&quot;safe-buffer&quot;:494}],451:[function(t,n,o){var i=t(&quot;bn.js&quot;),a=t(&quot;brorand&quot;);function u(l){this.rand=l||new a.Rand}n.exports=u,u.create=function(l){return new u(l)},u.prototype._randbelow=function(l){var s=l.bitLength(),d=Math.ceil(s/8);do var f=new i(this.rand.generate(d));while(f.cmp(l)&gt;=0);return f},u.prototype._randrange=function(l,s){var d=s.sub(l);return l.add(this._randbelow(d))},u.prototype.test=function(l,s,d){var f=l.bitLength(),h=i.mont(l),m=new i(1).toRed(h);s||(s=Math.max(1,f/48|0));for(var p=l.subn(1),b=0;!p.testn(b);b++);for(var g=l.shrn(b),y=p.toRed(h);s&gt;0;s--){var v=this._randrange(new i(2),p);d&amp;&amp;d(v);var _=v.toRed(h).redPow(g);if(_.cmp(m)!==0&amp;&amp;_.cmp(y)!==0){for(var C=1;C&lt;b;C++){if((_=_.redSqr()).cmp(m)===0)return!1;if(_.cmp(y)===0)break}if(C===b)return!1}}return!0},u.prototype.getDivisor=function(l,s){var d=l.bitLength(),f=i.mont(l),h=new i(1).toRed(f);s||(s=Math.max(1,d/48|0));for(var m=l.subn(1),p=0;!m.testn(p);p++);for(var b=l.shrn(p),g=m.toRed(f);s&gt;0;s--){var y=this._randrange(new i(2),m),v=l.gcd(y);if(v.cmpn(1)!==0)return v;var _=y.toRed(f).redPow(b);if(_.cmp(h)!==0&amp;&amp;_.cmp(g)!==0){for(var C=1;C&lt;p;C++){if((_=_.redSqr()).cmp(h)===0)return _.fromRed().subn(1).gcd(l);if(_.cmp(g)===0)break}if(C===p)return(_=_.redSqr()).fromRed().subn(1).gcd(l)}}return!1}},{&quot;bn.js&quot;:452,brorand:187}],452:[function(t,n,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],453:[function(t,n,o){function i(a,u){if(!a)throw new Error(u||&quot;Assertion failed&quot;)}n.exports=i,i.equal=function(a,u,l){if(a!=u)throw new Error(l||&quot;Assertion failed: &quot;+a+&quot; != &quot;+u)}},{}],454:[function(t,n,o){var i=o;function a(l){return l.length===1?&quot;0&quot;+l:l}function u(l){for(var s=&quot;&quot;,d=0;d&lt;l.length;d++)s+=a(l[d].toString(16));return s}i.toArray=function(l,s){if(Array.isArray(l))return l.slice();if(!l)return[];var d=[];if(typeof l!=&quot;string&quot;){for(var f=0;f&lt;l.length;f++)d[f]=0|l[f];return d}if(s===&quot;hex&quot;)for((l=l.replace(/[^a-z0-9]+/gi,&quot;&quot;)).length%2!=0&amp;&amp;(l=&quot;0&quot;+l),f=0;f&lt;l.length;f+=2)d.push(parseInt(l[f]+l[f+1],16));else for(f=0;f&lt;l.length;f++){var h=l.charCodeAt(f),m=h&gt;&gt;8,p=255&amp;h;m?d.push(m,p):d.push(p)}return d},i.zero2=a,i.toHex=u,i.encode=function(l,s){return s===&quot;hex&quot;?u(l):l}},{}],455:[function(t,n,o){n.exports={&quot;2.16.840.1.101.3.4.1.1&quot;:&quot;aes-128-ecb&quot;,&quot;2.16.840.1.101.3.4.1.2&quot;:&quot;aes-128-cbc&quot;,&quot;2.16.840.1.101.3.4.1.3&quot;:&quot;aes-128-ofb&quot;,&quot;2.16.840.1.101.3.4.1.4&quot;:&quot;aes-128-cfb&quot;,&quot;2.16.840.1.101.3.4.1.21&quot;:&quot;aes-192-ecb&quot;,&quot;2.16.840.1.101.3.4.1.22&quot;:&quot;aes-192-cbc&quot;,&quot;2.16.840.1.101.3.4.1.23&quot;:&quot;aes-192-ofb&quot;,&quot;2.16.840.1.101.3.4.1.24&quot;:&quot;aes-192-cfb&quot;,&quot;2.16.840.1.101.3.4.1.41&quot;:&quot;aes-256-ecb&quot;,&quot;2.16.840.1.101.3.4.1.42&quot;:&quot;aes-256-cbc&quot;,&quot;2.16.840.1.101.3.4.1.43&quot;:&quot;aes-256-ofb&quot;,&quot;2.16.840.1.101.3.4.1.44&quot;:&quot;aes-256-cfb&quot;}},{}],456:[function(t,n,o){var i=t(&quot;asn1.js&quot;);o.certificate=t(&quot;./certificate&quot;);var a=i.define(&quot;RSAPrivateKey&quot;,(function(){this.seq().obj(this.key(&quot;version&quot;).int(),this.key(&quot;modulus&quot;).int(),this.key(&quot;publicExponent&quot;).int(),this.key(&quot;privateExponent&quot;).int(),this.key(&quot;prime1&quot;).int(),this.key(&quot;prime2&quot;).int(),this.key(&quot;exponent1&quot;).int(),this.key(&quot;exponent2&quot;).int(),this.key(&quot;coefficient&quot;).int())}));o.RSAPrivateKey=a;var u=i.define(&quot;RSAPublicKey&quot;,(function(){this.seq().obj(this.key(&quot;modulus&quot;).int(),this.key(&quot;publicExponent&quot;).int())}));o.RSAPublicKey=u;var l=i.define(&quot;SubjectPublicKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).use(s),this.key(&quot;subjectPublicKey&quot;).bitstr())}));o.PublicKey=l;var s=i.define(&quot;AlgorithmIdentifier&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).objid(),this.key(&quot;none&quot;).null_().optional(),this.key(&quot;curve&quot;).objid().optional(),this.key(&quot;params&quot;).seq().obj(this.key(&quot;p&quot;).int(),this.key(&quot;q&quot;).int(),this.key(&quot;g&quot;).int()).optional())})),d=i.define(&quot;PrivateKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;version&quot;).int(),this.key(&quot;algorithm&quot;).use(s),this.key(&quot;subjectPrivateKey&quot;).octstr())}));o.PrivateKey=d;var f=i.define(&quot;EncryptedPrivateKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).seq().obj(this.key(&quot;id&quot;).objid(),this.key(&quot;decrypt&quot;).seq().obj(this.key(&quot;kde&quot;).seq().obj(this.key(&quot;id&quot;).objid(),this.key(&quot;kdeparams&quot;).seq().obj(this.key(&quot;salt&quot;).octstr(),this.key(&quot;iters&quot;).int())),this.key(&quot;cipher&quot;).seq().obj(this.key(&quot;algo&quot;).objid(),this.key(&quot;iv&quot;).octstr()))),this.key(&quot;subjectPrivateKey&quot;).octstr())}));o.EncryptedPrivateKey=f;var h=i.define(&quot;DSAPrivateKey&quot;,(function(){this.seq().obj(this.key(&quot;version&quot;).int(),this.key(&quot;p&quot;).int(),this.key(&quot;q&quot;).int(),this.key(&quot;g&quot;).int(),this.key(&quot;pub_key&quot;).int(),this.key(&quot;priv_key&quot;).int())}));o.DSAPrivateKey=h,o.DSAparam=i.define(&quot;DSAparam&quot;,(function(){this.int()}));var m=i.define(&quot;ECPrivateKey&quot;,(function(){this.seq().obj(this.key(&quot;version&quot;).int(),this.key(&quot;privateKey&quot;).octstr(),this.key(&quot;parameters&quot;).optional().explicit(0).use(p),this.key(&quot;publicKey&quot;).optional().explicit(1).bitstr())}));o.ECPrivateKey=m;var p=i.define(&quot;ECParameters&quot;,(function(){this.choice({namedCurve:this.objid()})}));o.signature=i.define(&quot;signature&quot;,(function(){this.seq().obj(this.key(&quot;r&quot;).int(),this.key(&quot;s&quot;).int())}))},{&quot;./certificate&quot;:457,&quot;asn1.js&quot;:170}],457:[function(t,n,o){var i=t(&quot;asn1.js&quot;),a=i.define(&quot;Time&quot;,(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),u=i.define(&quot;AttributeTypeValue&quot;,(function(){this.seq().obj(this.key(&quot;type&quot;).objid(),this.key(&quot;value&quot;).any())})),l=i.define(&quot;AlgorithmIdentifier&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).objid(),this.key(&quot;parameters&quot;).optional(),this.key(&quot;curve&quot;).objid().optional())})),s=i.define(&quot;SubjectPublicKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).use(l),this.key(&quot;subjectPublicKey&quot;).bitstr())})),d=i.define(&quot;RelativeDistinguishedName&quot;,(function(){this.setof(u)})),f=i.define(&quot;RDNSequence&quot;,(function(){this.seqof(d)})),h=i.define(&quot;Name&quot;,(function(){this.choice({rdnSequence:this.use(f)})})),m=i.define(&quot;Validity&quot;,(function(){this.seq().obj(this.key(&quot;notBefore&quot;).use(a),this.key(&quot;notAfter&quot;).use(a))})),p=i.define(&quot;Extension&quot;,(function(){this.seq().obj(this.key(&quot;extnID&quot;).objid(),this.key(&quot;critical&quot;).bool().def(!1),this.key(&quot;extnValue&quot;).octstr())})),b=i.define(&quot;TBSCertificate&quot;,(function(){this.seq().obj(this.key(&quot;version&quot;).explicit(0).int().optional(),this.key(&quot;serialNumber&quot;).int(),this.key(&quot;signature&quot;).use(l),this.key(&quot;issuer&quot;).use(h),this.key(&quot;validity&quot;).use(m),this.key(&quot;subject&quot;).use(h),this.key(&quot;subjectPublicKeyInfo&quot;).use(s),this.key(&quot;issuerUniqueID&quot;).implicit(1).bitstr().optional(),this.key(&quot;subjectUniqueID&quot;).implicit(2).bitstr().optional(),this.key(&quot;extensions&quot;).explicit(3).seqof(p).optional())})),g=i.define(&quot;X509Certificate&quot;,(function(){this.seq().obj(this.key(&quot;tbsCertificate&quot;).use(b),this.key(&quot;signatureAlgorithm&quot;).use(l),this.key(&quot;signatureValue&quot;).bitstr())}));n.exports=g},{&quot;asn1.js&quot;:170}],458:[function(t,n,o){var i=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,u=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,l=t(&quot;evp_bytestokey&quot;),s=t(&quot;browserify-aes&quot;),d=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(f,h){var m,p=f.toString(),b=p.match(i);if(b){var g=&quot;aes&quot;+b[1],y=d.from(b[2],&quot;hex&quot;),v=d.from(b[3].replace(/[\r\n]/g,&quot;&quot;),&quot;base64&quot;),_=l(h,y.slice(0,8),parseInt(b[1],10)).key,C=[],O=s.createDecipheriv(g,_,y);C.push(O.update(v)),C.push(O.final()),m=d.concat(C)}else{var T=p.match(u);m=d.from(T[2].replace(/[\r\n]/g,&quot;&quot;),&quot;base64&quot;)}return{tag:p.match(a)[1],data:m}}},{&quot;browserify-aes&quot;:191,evp_bytestokey:423,&quot;safe-buffer&quot;:494}],459:[function(t,n,o){var i=t(&quot;./asn1&quot;),a=t(&quot;./aesid.json&quot;),u=t(&quot;./fixProc&quot;),l=t(&quot;browserify-aes&quot;),s=t(&quot;pbkdf2&quot;),d=t(&quot;safe-buffer&quot;).Buffer;function f(h){var m;typeof h!=&quot;object&quot;||d.isBuffer(h)||(m=h.passphrase,h=h.key),typeof h==&quot;string&quot;&amp;&amp;(h=d.from(h));var p,b,g=u(h,m),y=g.tag,v=g.data;switch(y){case&quot;CERTIFICATE&quot;:b=i.certificate.decode(v,&quot;der&quot;).tbsCertificate.subjectPublicKeyInfo;case&quot;PUBLIC KEY&quot;:switch(b||(b=i.PublicKey.decode(v,&quot;der&quot;)),p=b.algorithm.algorithm.join(&quot;.&quot;)){case&quot;1.2.840.113549.1.1.1&quot;:return i.RSAPublicKey.decode(b.subjectPublicKey.data,&quot;der&quot;);case&quot;1.2.840.10045.2.1&quot;:return b.subjectPrivateKey=b.subjectPublicKey,{type:&quot;ec&quot;,data:b};case&quot;1.2.840.10040.4.1&quot;:return b.algorithm.params.pub_key=i.DSAparam.decode(b.subjectPublicKey.data,&quot;der&quot;),{type:&quot;dsa&quot;,data:b.algorithm.params};default:throw new Error(&quot;unknown key id &quot;+p)}case&quot;ENCRYPTED PRIVATE KEY&quot;:v=(function(_,C){var O=_.algorithm.decrypt.kde.kdeparams.salt,T=parseInt(_.algorithm.decrypt.kde.kdeparams.iters.toString(),10),V=a[_.algorithm.decrypt.cipher.algo.join(&quot;.&quot;)],F=_.algorithm.decrypt.cipher.iv,H=_.subjectPrivateKey,W=parseInt(V.split(&quot;-&quot;)[1],10)/8,K=s.pbkdf2Sync(C,O,T,W,&quot;sha1&quot;),$=l.createDecipheriv(V,K,F),P=[];return P.push($.update(H)),P.push($.final()),d.concat(P)})(v=i.EncryptedPrivateKey.decode(v,&quot;der&quot;),m);case&quot;PRIVATE KEY&quot;:switch(p=(b=i.PrivateKey.decode(v,&quot;der&quot;)).algorithm.algorithm.join(&quot;.&quot;)){case&quot;1.2.840.113549.1.1.1&quot;:return i.RSAPrivateKey.decode(b.subjectPrivateKey,&quot;der&quot;);case&quot;1.2.840.10045.2.1&quot;:return{curve:b.algorithm.curve,privateKey:i.ECPrivateKey.decode(b.subjectPrivateKey,&quot;der&quot;).privateKey};case&quot;1.2.840.10040.4.1&quot;:return b.algorithm.params.priv_key=i.DSAparam.decode(b.subjectPrivateKey,&quot;der&quot;),{type:&quot;dsa&quot;,params:b.algorithm.params};default:throw new Error(&quot;unknown key id &quot;+p)}case&quot;RSA PUBLIC KEY&quot;:return i.RSAPublicKey.decode(v,&quot;der&quot;);case&quot;RSA PRIVATE KEY&quot;:return i.RSAPrivateKey.decode(v,&quot;der&quot;);case&quot;DSA PRIVATE KEY&quot;:return{type:&quot;dsa&quot;,params:i.DSAPrivateKey.decode(v,&quot;der&quot;)};case&quot;EC PRIVATE KEY&quot;:return{curve:(v=i.ECPrivateKey.decode(v,&quot;der&quot;)).parameters.value,privateKey:v.privateKey};default:throw new Error(&quot;unknown key type &quot;+y)}}n.exports=f,f.signature=i.signature},{&quot;./aesid.json&quot;:455,&quot;./asn1&quot;:456,&quot;./fixProc&quot;:458,&quot;browserify-aes&quot;:191,pbkdf2:460,&quot;safe-buffer&quot;:494}],460:[function(t,n,o){o.pbkdf2=t(&quot;./lib/async&quot;),o.pbkdf2Sync=t(&quot;./lib/sync&quot;)},{&quot;./lib/async&quot;:461,&quot;./lib/sync&quot;:464}],461:[function(t,n,o){(function(i){(function(){var a,u,l=t(&quot;safe-buffer&quot;).Buffer,s=t(&quot;./precondition&quot;),d=t(&quot;./default-encoding&quot;),f=t(&quot;./sync&quot;),h=t(&quot;./to-buffer&quot;),m=i.crypto&amp;&amp;i.crypto.subtle,p={sha:&quot;SHA-1&quot;,&quot;sha-1&quot;:&quot;SHA-1&quot;,sha1:&quot;SHA-1&quot;,sha256:&quot;SHA-256&quot;,&quot;sha-256&quot;:&quot;SHA-256&quot;,sha384:&quot;SHA-384&quot;,&quot;sha-384&quot;:&quot;SHA-384&quot;,&quot;sha-512&quot;:&quot;SHA-512&quot;,sha512:&quot;SHA-512&quot;},b=[];function g(){return u||(u=i.process&amp;&amp;i.process.nextTick?i.process.nextTick:i.queueMicrotask?i.queueMicrotask:i.setImmediate?i.setImmediate:i.setTimeout)}function y(v,_,C,O,T){return m.importKey(&quot;raw&quot;,v,{name:&quot;PBKDF2&quot;},!1,[&quot;deriveBits&quot;]).then((function(V){return m.deriveBits({name:&quot;PBKDF2&quot;,salt:_,iterations:C,hash:{name:T}},V,O&lt;&lt;3)})).then((function(V){return l.from(V)}))}n.exports=function(v,_,C,O,T,V){typeof T==&quot;function&quot;&amp;&amp;(V=T,T=void 0);var F=p[(T=T||&quot;sha1&quot;).toLowerCase()];if(F&amp;&amp;typeof i.Promise==&quot;function&quot;){if(s(C,O),v=h(v,d,&quot;Password&quot;),_=h(_,d,&quot;Salt&quot;),typeof V!=&quot;function&quot;)throw new Error(&quot;No callback provided to pbkdf2&quot;);(function(H,W){H.then((function(K){g()((function(){W(null,K)}))}),(function(K){g()((function(){W(K)}))}))})((function(H){if(i.process&amp;&amp;!i.process.browser||!m||!m.importKey||!m.deriveBits)return Promise.resolve(!1);if(b[H]!==void 0)return b[H];var W=y(a=a||l.alloc(8),a,10,128,H).then((function(){return!0})).catch((function(){return!1}));return b[H]=W,W})(F).then((function(H){return H?y(v,_,C,O,F):f(v,_,C,O,T)})),V)}else g()((function(){var H;try{H=f(v,_,C,O,T)}catch(W){return V(W)}V(null,H)}))}}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;./default-encoding&quot;:462,&quot;./precondition&quot;:463,&quot;./sync&quot;:464,&quot;./to-buffer&quot;:465,&quot;safe-buffer&quot;:494}],462:[function(t,n,o){(function(i,a){(function(){var u;a.process&amp;&amp;a.process.browser?u=&quot;utf-8&quot;:a.process&amp;&amp;a.process.version?u=parseInt(i.version.split(&quot;.&quot;)[0].slice(1),10)&gt;=6?&quot;utf-8&quot;:&quot;binary&quot;:u=&quot;utf-8&quot;,n.exports=u}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{_process:467}],463:[function(t,n,o){var i=Math.pow(2,30)-1;n.exports=function(a,u){if(typeof a!=&quot;number&quot;)throw new TypeError(&quot;Iterations not a number&quot;);if(a&lt;0)throw new TypeError(&quot;Bad iterations&quot;);if(typeof u!=&quot;number&quot;)throw new TypeError(&quot;Key length not a number&quot;);if(u&lt;0||u&gt;i||u!=u)throw new TypeError(&quot;Bad key length&quot;)}},{}],464:[function(t,n,o){var i=t(&quot;create-hash/md5&quot;),a=t(&quot;ripemd160&quot;),u=t(&quot;sha.js&quot;),l=t(&quot;safe-buffer&quot;).Buffer,s=t(&quot;./precondition&quot;),d=t(&quot;./default-encoding&quot;),f=t(&quot;./to-buffer&quot;),h=l.alloc(128),m={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function p(b,g,y){var v=(function(F){function H(W){return u(F).update(W).digest()}return F===&quot;rmd160&quot;||F===&quot;ripemd160&quot;?function(W){return new a().update(W).digest()}:F===&quot;md5&quot;?i:H})(b),_=b===&quot;sha512&quot;||b===&quot;sha384&quot;?128:64;g.length&gt;_?g=v(g):g.length&lt;_&amp;&amp;(g=l.concat([g,h],_));for(var C=l.allocUnsafe(_+m[b]),O=l.allocUnsafe(_+m[b]),T=0;T&lt;_;T++)C[T]=54^g[T],O[T]=92^g[T];var V=l.allocUnsafe(_+y+4);C.copy(V,0,0,_),this.ipad1=V,this.ipad2=C,this.opad=O,this.alg=b,this.blocksize=_,this.hash=v,this.size=m[b]}p.prototype.run=function(b,g){return b.copy(g,this.blocksize),this.hash(g).copy(this.opad,this.blocksize),this.hash(this.opad)},n.exports=function(b,g,y,v,_){s(y,v);var C=new p(_=_||&quot;sha1&quot;,b=f(b,d,&quot;Password&quot;),(g=f(g,d,&quot;Salt&quot;)).length),O=l.allocUnsafe(v),T=l.allocUnsafe(g.length+4);g.copy(T,0,0,g.length);for(var V=0,F=m[_],H=Math.ceil(v/F),W=1;W&lt;=H;W++){T.writeUInt32BE(W,g.length);for(var K=C.run(T,C.ipad1),$=K,P=1;P&lt;y;P++){$=C.run($,C.ipad2);for(var D=0;D&lt;F;D++)K[D]^=$[D]}K.copy(O,V),V+=F}return O}},{&quot;./default-encoding&quot;:462,&quot;./precondition&quot;:463,&quot;./to-buffer&quot;:465,&quot;create-hash/md5&quot;:387,ripemd160:493,&quot;safe-buffer&quot;:494,&quot;sha.js&quot;:498}],465:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(a,u,l){if(i.isBuffer(a))return a;if(typeof a==&quot;string&quot;)return i.from(a,u);if(ArrayBuffer.isView(a))return i.from(a.buffer);throw new TypeError(l+&quot; must be a string, a Buffer, a typed array or a DataView&quot;)}},{&quot;safe-buffer&quot;:494}],466:[function(t,n,o){(function(i){(function(){i===void 0||!i.version||i.version.indexOf(&quot;v0.&quot;)===0||i.version.indexOf(&quot;v1.&quot;)===0&amp;&amp;i.version.indexOf(&quot;v1.8.&quot;)!==0?n.exports={nextTick:function(a,u,l,s){if(typeof a!=&quot;function&quot;)throw new TypeError(&#039;&quot;callback&quot; argument must be a function&#039;);var d,f,h=arguments.length;switch(h){case 0:case 1:return i.nextTick(a);case 2:return i.nextTick((function(){a.call(null,u)}));case 3:return i.nextTick((function(){a.call(null,u,l)}));case 4:return i.nextTick((function(){a.call(null,u,l,s)}));default:for(d=new Array(h-1),f=0;f&lt;d.length;)d[f++]=arguments[f];return i.nextTick((function(){a.apply(null,d)}))}}}:n.exports=i}).call(this)}).call(this,t(&quot;_process&quot;))},{_process:467}],467:[function(t,n,o){var i,a,u=n.exports={};function l(){throw new Error(&quot;setTimeout has not been defined&quot;)}function s(){throw new Error(&quot;clearTimeout has not been defined&quot;)}function d(_){if(i===setTimeout)return setTimeout(_,0);if((i===l||!i)&amp;&amp;setTimeout)return i=setTimeout,setTimeout(_,0);try{return i(_,0)}catch{try{return i.call(null,_,0)}catch{return i.call(this,_,0)}}}(function(){try{i=typeof setTimeout==&quot;function&quot;?setTimeout:l}catch{i=l}try{a=typeof clearTimeout==&quot;function&quot;?clearTimeout:s}catch{a=s}})();var f,h=[],m=!1,p=-1;function b(){m&amp;&amp;f&amp;&amp;(m=!1,f.length?h=f.concat(h):p=-1,h.length&amp;&amp;g())}function g(){if(!m){var _=d(b);m=!0;for(var C=h.length;C;){for(f=h,h=[];++p&lt;C;)f&amp;&amp;f[p].run();p=-1,C=h.length}f=null,m=!1,(function(O){if(a===clearTimeout)return clearTimeout(O);if((a===s||!a)&amp;&amp;clearTimeout)return a=clearTimeout,clearTimeout(O);try{a(O)}catch{try{return a.call(null,O)}catch{return a.call(this,O)}}})(_)}}function y(_,C){this.fun=_,this.array=C}function v(){}u.nextTick=function(_){var C=new Array(arguments.length-1);if(arguments.length&gt;1)for(var O=1;O&lt;arguments.length;O++)C[O-1]=arguments[O];h.push(new y(_,C)),h.length!==1||m||d(g)},y.prototype.run=function(){this.fun.apply(null,this.array)},u.title=&quot;browser&quot;,u.browser=!0,u.env={},u.argv=[],u.version=&quot;&quot;,u.versions={},u.on=v,u.addListener=v,u.once=v,u.off=v,u.removeListener=v,u.removeAllListeners=v,u.emit=v,u.prependListener=v,u.prependOnceListener=v,u.listeners=function(_){return[]},u.binding=function(_){throw new Error(&quot;process.binding is not supported&quot;)},u.cwd=function(){return&quot;/&quot;},u.chdir=function(_){throw new Error(&quot;process.chdir is not supported&quot;)},u.umask=function(){return 0}},{}],468:[function(t,n,o){o.publicEncrypt=t(&quot;./publicEncrypt&quot;),o.privateDecrypt=t(&quot;./privateDecrypt&quot;),o.privateEncrypt=function(i,a){return o.publicEncrypt(i,a,!0)},o.publicDecrypt=function(i,a){return o.privateDecrypt(i,a,!0)}},{&quot;./privateDecrypt&quot;:471,&quot;./publicEncrypt&quot;:472}],469:[function(t,n,o){var i=t(&quot;create-hash&quot;),a=t(&quot;safe-buffer&quot;).Buffer;function u(l){var s=a.allocUnsafe(4);return s.writeUInt32BE(l,0),s}n.exports=function(l,s){for(var d,f=a.alloc(0),h=0;f.length&lt;s;)d=u(h++),f=a.concat([f,i(&quot;sha1&quot;).update(l).update(d).digest()]);return f.slice(0,s)}},{&quot;create-hash&quot;:386,&quot;safe-buffer&quot;:494}],470:[function(t,n,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],471:[function(t,n,o){var i=t(&quot;parse-asn1&quot;),a=t(&quot;./mgf&quot;),u=t(&quot;./xor&quot;),l=t(&quot;bn.js&quot;),s=t(&quot;browserify-rsa&quot;),d=t(&quot;create-hash&quot;),f=t(&quot;./withPublic&quot;),h=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(m,p,b){var g;g=m.padding?m.padding:b?1:4;var y,v=i(m),_=v.modulus.byteLength();if(p.length&gt;_||new l(p).cmp(v.modulus)&gt;=0)throw new Error(&quot;decryption error&quot;);y=b?f(new l(p),v):s(p,v);var C=h.alloc(_-y.length);if(y=h.concat([C,y],_),g===4)return(function(O,T){var V=O.modulus.byteLength(),F=d(&quot;sha1&quot;).update(h.alloc(0)).digest(),H=F.length;if(T[0]!==0)throw new Error(&quot;decryption error&quot;);var W=T.slice(1,H+1),K=T.slice(H+1),$=u(W,a(K,H)),P=u(K,a($,V-H-1));if((function(E,j){E=h.from(E),j=h.from(j);var k=0,S=E.length;E.length!==j.length&amp;&amp;(k++,S=Math.min(E.length,j.length));for(var N=-1;++N&lt;S;)k+=E[N]^j[N];return k})(F,P.slice(0,H)))throw new Error(&quot;decryption error&quot;);for(var D=H;P[D]===0;)D++;if(P[D++]!==1)throw new Error(&quot;decryption error&quot;);return P.slice(D)})(v,y);if(g===1)return(function(O,T,V){for(var F=T.slice(0,2),H=2,W=0;T[H++]!==0;)if(H&gt;=T.length){W++;break}var K=T.slice(2,H-1);if((F.toString(&quot;hex&quot;)!==&quot;0002&quot;&amp;&amp;!V||F.toString(&quot;hex&quot;)!==&quot;0001&quot;&amp;&amp;V)&amp;&amp;W++,K.length&lt;8&amp;&amp;W++,W)throw new Error(&quot;decryption error&quot;);return T.slice(H)})(0,y,b);if(g===3)return y;throw new Error(&quot;unknown padding&quot;)}},{&quot;./mgf&quot;:469,&quot;./withPublic&quot;:473,&quot;./xor&quot;:474,&quot;bn.js&quot;:470,&quot;browserify-rsa&quot;:209,&quot;create-hash&quot;:386,&quot;parse-asn1&quot;:459,&quot;safe-buffer&quot;:494}],472:[function(t,n,o){var i=t(&quot;parse-asn1&quot;),a=t(&quot;randombytes&quot;),u=t(&quot;create-hash&quot;),l=t(&quot;./mgf&quot;),s=t(&quot;./xor&quot;),d=t(&quot;bn.js&quot;),f=t(&quot;./withPublic&quot;),h=t(&quot;browserify-rsa&quot;),m=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(p,b,g){var y;y=p.padding?p.padding:g?1:4;var v,_=i(p);if(y===4)v=(function(C,O){var T=C.modulus.byteLength(),V=O.length,F=u(&quot;sha1&quot;).update(m.alloc(0)).digest(),H=F.length,W=2*H;if(V&gt;T-W-2)throw new Error(&quot;message too long&quot;);var K=m.alloc(T-V-W-2),$=T-H-1,P=a(H),D=s(m.concat([F,K,m.alloc(1,1),O],$),l(P,$)),E=s(P,l(D,H));return new d(m.concat([m.alloc(1),E,D],T))})(_,b);else if(y===1)v=(function(C,O,T){var V,F=O.length,H=C.modulus.byteLength();if(F&gt;H-11)throw new Error(&quot;message too long&quot;);return V=T?m.alloc(H-F-3,255):(function(W){for(var K,$=m.allocUnsafe(W),P=0,D=a(2*W),E=0;P&lt;W;)E===D.length&amp;&amp;(D=a(2*W),E=0),(K=D[E++])&amp;&amp;($[P++]=K);return $})(H-F-3),new d(m.concat([m.from([0,T?1:2]),V,m.alloc(1),O],H))})(_,b,g);else{if(y!==3)throw new Error(&quot;unknown padding&quot;);if((v=new d(b)).cmp(_.modulus)&gt;=0)throw new Error(&quot;data too long for modulus&quot;)}return g?h(v,_):f(v,_)}},{&quot;./mgf&quot;:469,&quot;./withPublic&quot;:473,&quot;./xor&quot;:474,&quot;bn.js&quot;:470,&quot;browserify-rsa&quot;:209,&quot;create-hash&quot;:386,&quot;parse-asn1&quot;:459,randombytes:475,&quot;safe-buffer&quot;:494}],473:[function(t,n,o){var i=t(&quot;bn.js&quot;),a=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(u,l){return a.from(u.toRed(i.mont(l.modulus)).redPow(new i(l.publicExponent)).fromRed().toArray())}},{&quot;bn.js&quot;:470,&quot;safe-buffer&quot;:494}],474:[function(t,n,o){n.exports=function(i,a){for(var u=i.length,l=-1;++l&lt;u;)i[l]^=a[l];return i}},{}],475:[function(t,n,o){(function(i,a){(function(){var u=t(&quot;safe-buffer&quot;).Buffer,l=a.crypto||a.msCrypto;l&amp;&amp;l.getRandomValues?n.exports=function(s,d){if(s&gt;4294967295)throw new RangeError(&quot;requested too many random bytes&quot;);var f=u.allocUnsafe(s);if(s&gt;0)if(s&gt;65536)for(var h=0;h&lt;s;h+=65536)l.getRandomValues(f.slice(h,h+65536));else l.getRandomValues(f);return typeof d==&quot;function&quot;?i.nextTick((function(){d(null,f)})):f}:n.exports=function(){throw new Error(`Secure random number generation is not supported by this browser.
Use Chrome, Firefox or Internet Explorer 11`)}}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{_process:467,&quot;safe-buffer&quot;:494}],476:[function(t,n,o){(function(i,a){(function(){function u(){throw new Error(`secure random number generation not supported by this browser
use chrome, FireFox or Internet Explorer 11`)}var l=t(&quot;safe-buffer&quot;),s=t(&quot;randombytes&quot;),d=l.Buffer,f=l.kMaxLength,h=a.crypto||a.msCrypto,m=Math.pow(2,32)-1;function p(y,v){if(typeof y!=&quot;number&quot;||y!=y)throw new TypeError(&quot;offset must be a number&quot;);if(y&gt;m||y&lt;0)throw new TypeError(&quot;offset must be a uint32&quot;);if(y&gt;f||y&gt;v)throw new RangeError(&quot;offset out of range&quot;)}function b(y,v,_){if(typeof y!=&quot;number&quot;||y!=y)throw new TypeError(&quot;size must be a number&quot;);if(y&gt;m||y&lt;0)throw new TypeError(&quot;size must be a uint32&quot;);if(y+v&gt;_||y&gt;f)throw new RangeError(&quot;buffer too small&quot;)}function g(y,v,_,C){if(i.browser){var O=y.buffer,T=new Uint8Array(O,v,_);return h.getRandomValues(T),C?void i.nextTick((function(){C(null,y)})):y}if(!C)return s(_).copy(y,v),y;s(_,(function(V,F){if(V)return C(V);F.copy(y,v),C(null,y)}))}h&amp;&amp;h.getRandomValues||!i.browser?(o.randomFill=function(y,v,_,C){if(!(d.isBuffer(y)||y instanceof a.Uint8Array))throw new TypeError(&#039;&quot;buf&quot; argument must be a Buffer or Uint8Array&#039;);if(typeof v==&quot;function&quot;)C=v,v=0,_=y.length;else if(typeof _==&quot;function&quot;)C=_,_=y.length-v;else if(typeof C!=&quot;function&quot;)throw new TypeError(&#039;&quot;cb&quot; argument must be a function&#039;);return p(v,y.length),b(_,v,y.length),g(y,v,_,C)},o.randomFillSync=function(y,v,_){if(v===void 0&amp;&amp;(v=0),!(d.isBuffer(y)||y instanceof a.Uint8Array))throw new TypeError(&#039;&quot;buf&quot; argument must be a Buffer or Uint8Array&#039;);return p(v,y.length),_===void 0&amp;&amp;(_=y.length-v),b(_,v,y.length),g(y,v,_)}):(o.randomFill=u,o.randomFillSync=u)}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{_process:467,randombytes:475,&quot;safe-buffer&quot;:494}],477:[function(t,n,o){var i={};function a(l,s,d){d||(d=Error);var f=(function(h){var m,p;function b(g,y,v){return h.call(this,(function(_,C,O){return typeof s==&quot;string&quot;?s:s(_,C,O)})(g,y,v))||this}return p=h,(m=b).prototype=Object.create(p.prototype),m.prototype.constructor=m,m.__proto__=p,b})(d);f.prototype.name=d.name,f.prototype.code=l,i[l]=f}function u(l,s){if(Array.isArray(l)){var d=l.length;return l=l.map((function(f){return String(f)})),d&gt;2?&quot;one of &quot;.concat(s,&quot; &quot;).concat(l.slice(0,d-1).join(&quot;, &quot;),&quot;, or &quot;)+l[d-1]:d===2?&quot;one of &quot;.concat(s,&quot; &quot;).concat(l[0],&quot; or &quot;).concat(l[1]):&quot;of &quot;.concat(s,&quot; &quot;).concat(l[0])}return&quot;of &quot;.concat(s,&quot; &quot;).concat(String(l))}a(&quot;ERR_INVALID_OPT_VALUE&quot;,(function(l,s){return&#039;The value &quot;&#039;+s+&#039;&quot; is invalid for option &quot;&#039;+l+&#039;&quot;&#039;}),TypeError),a(&quot;ERR_INVALID_ARG_TYPE&quot;,(function(l,s,d){var f,h,m;if(typeof s==&quot;string&quot;&amp;&amp;(h=&quot;not &quot;,s.substr(0,h.length)===h)?(f=&quot;must not be&quot;,s=s.replace(/^not /,&quot;&quot;)):f=&quot;must be&quot;,(function(b,g,y){return(y===void 0||y&gt;b.length)&amp;&amp;(y=b.length),b.substring(y-g.length,y)===g})(l,&quot; argument&quot;))m=&quot;The &quot;.concat(l,&quot; &quot;).concat(f,&quot; &quot;).concat(u(s,&quot;type&quot;));else{var p=(function(b,g,y){return typeof y!=&quot;number&quot;&amp;&amp;(y=0),!(y+g.length&gt;b.length)&amp;&amp;b.indexOf(g,y)!==-1})(l,&quot;.&quot;)?&quot;property&quot;:&quot;argument&quot;;m=&#039;The &quot;&#039;.concat(l,&#039;&quot; &#039;).concat(p,&quot; &quot;).concat(f,&quot; &quot;).concat(u(s,&quot;type&quot;))}return m+=&quot;. Received type &quot;.concat(typeof d)}),TypeError),a(&quot;ERR_STREAM_PUSH_AFTER_EOF&quot;,&quot;stream.push() after EOF&quot;),a(&quot;ERR_METHOD_NOT_IMPLEMENTED&quot;,(function(l){return&quot;The &quot;+l+&quot; method is not implemented&quot;})),a(&quot;ERR_STREAM_PREMATURE_CLOSE&quot;,&quot;Premature close&quot;),a(&quot;ERR_STREAM_DESTROYED&quot;,(function(l){return&quot;Cannot call &quot;+l+&quot; after a stream was destroyed&quot;})),a(&quot;ERR_MULTIPLE_CALLBACK&quot;,&quot;Callback called multiple times&quot;),a(&quot;ERR_STREAM_CANNOT_PIPE&quot;,&quot;Cannot pipe, not readable&quot;),a(&quot;ERR_STREAM_WRITE_AFTER_END&quot;,&quot;write after end&quot;),a(&quot;ERR_STREAM_NULL_VALUES&quot;,&quot;May not write null values to stream&quot;,TypeError),a(&quot;ERR_UNKNOWN_ENCODING&quot;,(function(l){return&quot;Unknown encoding: &quot;+l}),TypeError),a(&quot;ERR_STREAM_UNSHIFT_AFTER_END_EVENT&quot;,&quot;stream.unshift() after end event&quot;),n.exports.codes=i},{}],478:[function(t,n,o){(function(i){(function(){var a=Object.keys||function(b){var g=[];for(var y in b)g.push(y);return g};n.exports=h;var u=t(&quot;./_stream_readable&quot;),l=t(&quot;./_stream_writable&quot;);t(&quot;inherits&quot;)(h,u);for(var s=a(l.prototype),d=0;d&lt;s.length;d++){var f=s[d];h.prototype[f]||(h.prototype[f]=l.prototype[f])}function h(b){if(!(this instanceof h))return new h(b);u.call(this,b),l.call(this,b),this.allowHalfOpen=!0,b&amp;&amp;(b.readable===!1&amp;&amp;(this.readable=!1),b.writable===!1&amp;&amp;(this.writable=!1),b.allowHalfOpen===!1&amp;&amp;(this.allowHalfOpen=!1,this.once(&quot;end&quot;,m)))}function m(){this._writableState.ended||i.nextTick(p,this)}function p(b){b.end()}Object.defineProperty(h.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,&quot;writableBuffer&quot;,{enumerable:!1,get:function(){return this._writableState&amp;&amp;this._writableState.getBuffer()}}),Object.defineProperty(h.prototype,&quot;writableLength&quot;,{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(h.prototype,&quot;destroyed&quot;,{enumerable:!1,get:function(){return this._readableState!==void 0&amp;&amp;this._writableState!==void 0&amp;&amp;this._readableState.destroyed&amp;&amp;this._writableState.destroyed},set:function(b){this._readableState!==void 0&amp;&amp;this._writableState!==void 0&amp;&amp;(this._readableState.destroyed=b,this._writableState.destroyed=b)}})}).call(this)}).call(this,t(&quot;_process&quot;))},{&quot;./_stream_readable&quot;:480,&quot;./_stream_writable&quot;:482,_process:467,inherits:440}],479:[function(t,n,o){n.exports=a;var i=t(&quot;./_stream_transform&quot;);function a(u){if(!(this instanceof a))return new a(u);i.call(this,u)}t(&quot;inherits&quot;)(a,i),a.prototype._transform=function(u,l,s){s(null,u)}},{&quot;./_stream_transform&quot;:481,inherits:440}],480:[function(t,n,o){(function(i,a){(function(){var u;n.exports=$,$.ReadableState=K,t(&quot;events&quot;).EventEmitter;var l=function(z,I){return z.listeners(I).length},s=t(&quot;./internal/streams/stream&quot;),d=t(&quot;buffer&quot;).Buffer,f=(a!==void 0?a:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},h,m=t(&quot;util&quot;);h=m&amp;&amp;m.debuglog?m.debuglog(&quot;stream&quot;):function(){};var p,b,g,y=t(&quot;./internal/streams/buffer_list&quot;),v=t(&quot;./internal/streams/destroy&quot;),_=t(&quot;./internal/streams/state&quot;).getHighWaterMark,C=t(&quot;../errors&quot;).codes,O=C.ERR_INVALID_ARG_TYPE,T=C.ERR_STREAM_PUSH_AFTER_EOF,V=C.ERR_METHOD_NOT_IMPLEMENTED,F=C.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;t(&quot;inherits&quot;)($,s);var H=v.errorOrDestroy,W=[&quot;error&quot;,&quot;close&quot;,&quot;destroy&quot;,&quot;pause&quot;,&quot;resume&quot;];function K(z,I,X){u=u||t(&quot;./_stream_duplex&quot;),z=z||{},typeof X!=&quot;boolean&quot;&amp;&amp;(X=I instanceof u),this.objectMode=!!z.objectMode,X&amp;&amp;(this.objectMode=this.objectMode||!!z.readableObjectMode),this.highWaterMark=_(this,z,&quot;readableHighWaterMark&quot;,X),this.buffer=new y,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=z.emitClose!==!1,this.autoDestroy=!!z.autoDestroy,this.destroyed=!1,this.defaultEncoding=z.defaultEncoding||&quot;utf8&quot;,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,z.encoding&amp;&amp;(p||(p=t(&quot;string_decoder/&quot;).StringDecoder),this.decoder=new p(z.encoding),this.encoding=z.encoding)}function $(z){if(u=u||t(&quot;./_stream_duplex&quot;),!(this instanceof $))return new $(z);var I=this instanceof u;this._readableState=new K(z,this,I),this.readable=!0,z&amp;&amp;(typeof z.read==&quot;function&quot;&amp;&amp;(this._read=z.read),typeof z.destroy==&quot;function&quot;&amp;&amp;(this._destroy=z.destroy)),s.call(this)}function P(z,I,X,re,ne){h(&quot;readableAddChunk&quot;,I);var Q,te=z._readableState;if(I===null)te.reading=!1,(function(de,le){if(h(&quot;onEofChunk&quot;),!le.ended){if(le.decoder){var se=le.decoder.end();se&amp;&amp;se.length&amp;&amp;(le.buffer.push(se),le.length+=le.objectMode?1:se.length)}le.ended=!0,le.sync?j(de):(le.needReadable=!1,le.emittedReadable||(le.emittedReadable=!0,k(de)))}})(z,te);else if(ne||(Q=(function(de,le){var se;fe=le,d.isBuffer(fe)||fe instanceof f||typeof le==&quot;string&quot;||le===void 0||de.objectMode||(se=new O(&quot;chunk&quot;,[&quot;string&quot;,&quot;Buffer&quot;,&quot;Uint8Array&quot;],le));var fe;return se})(te,I)),Q)H(z,Q);else if(te.objectMode||I&amp;&amp;I.length&gt;0)if(typeof I==&quot;string&quot;||te.objectMode||Object.getPrototypeOf(I)===d.prototype||(I=(function(de){return d.from(de)})(I)),re)te.endEmitted?H(z,new F):D(z,te,I,!0);else if(te.ended)H(z,new T);else{if(te.destroyed)return!1;te.reading=!1,te.decoder&amp;&amp;!X?(I=te.decoder.write(I),te.objectMode||I.length!==0?D(z,te,I,!1):S(z,te)):D(z,te,I,!1)}else re||(te.reading=!1,S(z,te));return!te.ended&amp;&amp;(te.length&lt;te.highWaterMark||te.length===0)}function D(z,I,X,re){I.flowing&amp;&amp;I.length===0&amp;&amp;!I.sync?(I.awaitDrain=0,z.emit(&quot;data&quot;,X)):(I.length+=I.objectMode?1:X.length,re?I.buffer.unshift(X):I.buffer.push(X),I.needReadable&amp;&amp;j(z)),S(z,I)}Object.defineProperty($.prototype,&quot;destroyed&quot;,{enumerable:!1,get:function(){return this._readableState!==void 0&amp;&amp;this._readableState.destroyed},set:function(z){this._readableState&amp;&amp;(this._readableState.destroyed=z)}}),$.prototype.destroy=v.destroy,$.prototype._undestroy=v.undestroy,$.prototype._destroy=function(z,I){I(z)},$.prototype.push=function(z,I){var X,re=this._readableState;return re.objectMode?X=!0:typeof z==&quot;string&quot;&amp;&amp;((I=I||re.defaultEncoding)!==re.encoding&amp;&amp;(z=d.from(z,I),I=&quot;&quot;),X=!0),P(this,z,I,!1,X)},$.prototype.unshift=function(z){return P(this,z,null,!0,!1)},$.prototype.isPaused=function(){return this._readableState.flowing===!1},$.prototype.setEncoding=function(z){p||(p=t(&quot;string_decoder/&quot;).StringDecoder);var I=new p(z);this._readableState.decoder=I,this._readableState.encoding=this._readableState.decoder.encoding;for(var X=this._readableState.buffer.head,re=&quot;&quot;;X!==null;)re+=I.write(X.data),X=X.next;return this._readableState.buffer.clear(),re!==&quot;&quot;&amp;&amp;this._readableState.buffer.push(re),this._readableState.length=re.length,this};function E(z,I){return z&lt;=0||I.length===0&amp;&amp;I.ended?0:I.objectMode?1:z!=z?I.flowing&amp;&amp;I.length?I.buffer.head.data.length:I.length:(z&gt;I.highWaterMark&amp;&amp;(I.highWaterMark=(function(X){return X&gt;=1073741824?X=1073741824:(X--,X|=X&gt;&gt;&gt;1,X|=X&gt;&gt;&gt;2,X|=X&gt;&gt;&gt;4,X|=X&gt;&gt;&gt;8,X|=X&gt;&gt;&gt;16,X++),X})(z)),z&lt;=I.length?z:I.ended?I.length:(I.needReadable=!0,0))}function j(z){var I=z._readableState;h(&quot;emitReadable&quot;,I.needReadable,I.emittedReadable),I.needReadable=!1,I.emittedReadable||(h(&quot;emitReadable&quot;,I.flowing),I.emittedReadable=!0,i.nextTick(k,z))}function k(z){var I=z._readableState;h(&quot;emitReadable_&quot;,I.destroyed,I.length,I.ended),I.destroyed||!I.length&amp;&amp;!I.ended||(z.emit(&quot;readable&quot;),I.emittedReadable=!1),I.needReadable=!I.flowing&amp;&amp;!I.ended&amp;&amp;I.length&lt;=I.highWaterMark,Y(z)}function S(z,I){I.readingMore||(I.readingMore=!0,i.nextTick(N,z,I))}function N(z,I){for(;!I.reading&amp;&amp;!I.ended&amp;&amp;(I.length&lt;I.highWaterMark||I.flowing&amp;&amp;I.length===0);){var X=I.length;if(h(&quot;maybeReadMore read 0&quot;),z.read(0),X===I.length)break}I.readingMore=!1}function M(z){var I=z._readableState;I.readableListening=z.listenerCount(&quot;readable&quot;)&gt;0,I.resumeScheduled&amp;&amp;!I.paused?I.flowing=!0:z.listenerCount(&quot;data&quot;)&gt;0&amp;&amp;z.resume()}function R(z){h(&quot;readable nexttick read 0&quot;),z.read(0)}function B(z,I){h(&quot;resume&quot;,I.reading),I.reading||z.read(0),I.resumeScheduled=!1,z.emit(&quot;resume&quot;),Y(z),I.flowing&amp;&amp;!I.reading&amp;&amp;z.read(0)}function Y(z){var I=z._readableState;for(h(&quot;flow&quot;,I.flowing);I.flowing&amp;&amp;z.read()!==null;);}function Z(z,I){return I.length===0?null:(I.objectMode?X=I.buffer.shift():!z||z&gt;=I.length?(X=I.decoder?I.buffer.join(&quot;&quot;):I.buffer.length===1?I.buffer.first():I.buffer.concat(I.length),I.buffer.clear()):X=I.buffer.consume(z,I.decoder),X);var X}function ie(z){var I=z._readableState;h(&quot;endReadable&quot;,I.endEmitted),I.endEmitted||(I.ended=!0,i.nextTick(U,I,z))}function U(z,I){if(h(&quot;endReadableNT&quot;,z.endEmitted,z.length),!z.endEmitted&amp;&amp;z.length===0&amp;&amp;(z.endEmitted=!0,I.readable=!1,I.emit(&quot;end&quot;),z.autoDestroy)){var X=I._writableState;(!X||X.autoDestroy&amp;&amp;X.finished)&amp;&amp;I.destroy()}}function ee(z,I){for(var X=0,re=z.length;X&lt;re;X++)if(z[X]===I)return X;return-1}$.prototype.read=function(z){h(&quot;read&quot;,z),z=parseInt(z,10);var I=this._readableState,X=z;if(z!==0&amp;&amp;(I.emittedReadable=!1),z===0&amp;&amp;I.needReadable&amp;&amp;((I.highWaterMark!==0?I.length&gt;=I.highWaterMark:I.length&gt;0)||I.ended))return h(&quot;read: emitReadable&quot;,I.length,I.ended),I.length===0&amp;&amp;I.ended?ie(this):j(this),null;if((z=E(z,I))===0&amp;&amp;I.ended)return I.length===0&amp;&amp;ie(this),null;var re,ne=I.needReadable;return h(&quot;need readable&quot;,ne),(I.length===0||I.length-z&lt;I.highWaterMark)&amp;&amp;h(&quot;length less than watermark&quot;,ne=!0),I.ended||I.reading?h(&quot;reading or ended&quot;,ne=!1):ne&amp;&amp;(h(&quot;do read&quot;),I.reading=!0,I.sync=!0,I.length===0&amp;&amp;(I.needReadable=!0),this._read(I.highWaterMark),I.sync=!1,I.reading||(z=E(X,I))),(re=z&gt;0?Z(z,I):null)===null?(I.needReadable=I.length&lt;=I.highWaterMark,z=0):(I.length-=z,I.awaitDrain=0),I.length===0&amp;&amp;(I.ended||(I.needReadable=!0),X!==z&amp;&amp;I.ended&amp;&amp;ie(this)),re!==null&amp;&amp;this.emit(&quot;data&quot;,re),re},$.prototype._read=function(z){H(this,new V(&quot;_read()&quot;))},$.prototype.pipe=function(z,I){var X=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=z;break;case 1:re.pipes=[re.pipes,z];break;default:re.pipes.push(z)}re.pipesCount+=1,h(&quot;pipe count=%d opts=%j&quot;,re.pipesCount,I);var ne=(!I||I.end!==!1)&amp;&amp;z!==i.stdout&amp;&amp;z!==i.stderr?te:ge;function Q(xe,pe){h(&quot;onunpipe&quot;),xe===X&amp;&amp;pe&amp;&amp;pe.hasUnpiped===!1&amp;&amp;(pe.hasUnpiped=!0,h(&quot;cleanup&quot;),z.removeListener(&quot;close&quot;,he),z.removeListener(&quot;finish&quot;,ue),z.removeListener(&quot;drain&quot;,de),z.removeListener(&quot;error&quot;,fe),z.removeListener(&quot;unpipe&quot;,Q),X.removeListener(&quot;end&quot;,te),X.removeListener(&quot;end&quot;,ge),X.removeListener(&quot;data&quot;,se),le=!0,!re.awaitDrain||z._writableState&amp;&amp;!z._writableState.needDrain||de())}function te(){h(&quot;onend&quot;),z.end()}re.endEmitted?i.nextTick(ne):X.once(&quot;end&quot;,ne),z.on(&quot;unpipe&quot;,Q);var de=(function(xe){return function(){var pe=xe._readableState;h(&quot;pipeOnDrain&quot;,pe.awaitDrain),pe.awaitDrain&amp;&amp;pe.awaitDrain--,pe.awaitDrain===0&amp;&amp;l(xe,&quot;data&quot;)&amp;&amp;(pe.flowing=!0,Y(xe))}})(X);z.on(&quot;drain&quot;,de);var le=!1;function se(xe){h(&quot;ondata&quot;);var pe=z.write(xe);h(&quot;dest.write&quot;,pe),pe===!1&amp;&amp;((re.pipesCount===1&amp;&amp;re.pipes===z||re.pipesCount&gt;1&amp;&amp;ee(re.pipes,z)!==-1)&amp;&amp;!le&amp;&amp;(h(&quot;false write response, pause&quot;,re.awaitDrain),re.awaitDrain++),X.pause())}function fe(xe){h(&quot;onerror&quot;,xe),ge(),z.removeListener(&quot;error&quot;,fe),l(z,&quot;error&quot;)===0&amp;&amp;H(z,xe)}function he(){z.removeListener(&quot;finish&quot;,ue),ge()}function ue(){h(&quot;onfinish&quot;),z.removeListener(&quot;close&quot;,he),ge()}function ge(){h(&quot;unpipe&quot;),X.unpipe(z)}return X.on(&quot;data&quot;,se),(function(xe,pe,ce){if(typeof xe.prependListener==&quot;function&quot;)return xe.prependListener(pe,ce);xe._events&amp;&amp;xe._events[pe]?Array.isArray(xe._events[pe])?xe._events[pe].unshift(ce):xe._events[pe]=[ce,xe._events[pe]]:xe.on(pe,ce)})(z,&quot;error&quot;,fe),z.once(&quot;close&quot;,he),z.once(&quot;finish&quot;,ue),z.emit(&quot;pipe&quot;,X),re.flowing||(h(&quot;pipe resume&quot;),X.resume()),z},$.prototype.unpipe=function(z){var I=this._readableState,X={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1)return z&amp;&amp;z!==I.pipes||(z||(z=I.pipes),I.pipes=null,I.pipesCount=0,I.flowing=!1,z&amp;&amp;z.emit(&quot;unpipe&quot;,this,X)),this;if(!z){var re=I.pipes,ne=I.pipesCount;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q&lt;ne;Q++)re[Q].emit(&quot;unpipe&quot;,this,{hasUnpiped:!1});return this}var te=ee(I.pipes,z);return te===-1||(I.pipes.splice(te,1),I.pipesCount-=1,I.pipesCount===1&amp;&amp;(I.pipes=I.pipes[0]),z.emit(&quot;unpipe&quot;,this,X)),this},$.prototype.on=function(z,I){var X=s.prototype.on.call(this,z,I),re=this._readableState;return z===&quot;data&quot;?(re.readableListening=this.listenerCount(&quot;readable&quot;)&gt;0,re.flowing!==!1&amp;&amp;this.resume()):z===&quot;readable&quot;&amp;&amp;(re.endEmitted||re.readableListening||(re.readableListening=re.needReadable=!0,re.flowing=!1,re.emittedReadable=!1,h(&quot;on readable&quot;,re.length,re.reading),re.length?j(this):re.reading||i.nextTick(R,this))),X},$.prototype.addListener=$.prototype.on,$.prototype.removeListener=function(z,I){var X=s.prototype.removeListener.call(this,z,I);return z===&quot;readable&quot;&amp;&amp;i.nextTick(M,this),X},$.prototype.removeAllListeners=function(z){var I=s.prototype.removeAllListeners.apply(this,arguments);return z!==&quot;readable&quot;&amp;&amp;z!==void 0||i.nextTick(M,this),I},$.prototype.resume=function(){var z=this._readableState;return z.flowing||(h(&quot;resume&quot;),z.flowing=!z.readableListening,(function(I,X){X.resumeScheduled||(X.resumeScheduled=!0,i.nextTick(B,I,X))})(this,z)),z.paused=!1,this},$.prototype.pause=function(){return h(&quot;call pause flowing=%j&quot;,this._readableState.flowing),this._readableState.flowing!==!1&amp;&amp;(h(&quot;pause&quot;),this._readableState.flowing=!1,this.emit(&quot;pause&quot;)),this._readableState.paused=!0,this},$.prototype.wrap=function(z){var I=this,X=this._readableState,re=!1;for(var ne in z.on(&quot;end&quot;,(function(){if(h(&quot;wrapped end&quot;),X.decoder&amp;&amp;!X.ended){var te=X.decoder.end();te&amp;&amp;te.length&amp;&amp;I.push(te)}I.push(null)})),z.on(&quot;data&quot;,(function(te){h(&quot;wrapped data&quot;),X.decoder&amp;&amp;(te=X.decoder.write(te)),X.objectMode&amp;&amp;te==null||(X.objectMode||te&amp;&amp;te.length)&amp;&amp;(I.push(te)||(re=!0,z.pause()))})),z)this[ne]===void 0&amp;&amp;typeof z[ne]==&quot;function&quot;&amp;&amp;(this[ne]=(function(te){return function(){return z[te].apply(z,arguments)}})(ne));for(var Q=0;Q&lt;W.length;Q++)z.on(W[Q],this.emit.bind(this,W[Q]));return this._read=function(te){h(&quot;wrapped _read&quot;,te),re&amp;&amp;(re=!1,z.resume())},this},typeof Symbol==&quot;function&quot;&amp;&amp;($.prototype[Symbol.asyncIterator]=function(){return b===void 0&amp;&amp;(b=t(&quot;./internal/streams/async_iterator&quot;)),b(this)}),Object.defineProperty($.prototype,&quot;readableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty($.prototype,&quot;readableBuffer&quot;,{enumerable:!1,get:function(){return this._readableState&amp;&amp;this._readableState.buffer}}),Object.defineProperty($.prototype,&quot;readableFlowing&quot;,{enumerable:!1,get:function(){return this._readableState.flowing},set:function(z){this._readableState&amp;&amp;(this._readableState.flowing=z)}}),$._fromList=Z,Object.defineProperty($.prototype,&quot;readableLength&quot;,{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol==&quot;function&quot;&amp;&amp;($.from=function(z,I){return g===void 0&amp;&amp;(g=t(&quot;./internal/streams/from&quot;)),g($,z,I)})}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;../errors&quot;:477,&quot;./_stream_duplex&quot;:478,&quot;./internal/streams/async_iterator&quot;:483,&quot;./internal/streams/buffer_list&quot;:484,&quot;./internal/streams/destroy&quot;:485,&quot;./internal/streams/from&quot;:487,&quot;./internal/streams/state&quot;:489,&quot;./internal/streams/stream&quot;:490,_process:467,buffer:220,events:422,inherits:440,&quot;string_decoder/&quot;:522,util:188}],481:[function(t,n,o){n.exports=h;var i=t(&quot;../errors&quot;).codes,a=i.ERR_METHOD_NOT_IMPLEMENTED,u=i.ERR_MULTIPLE_CALLBACK,l=i.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=i.ERR_TRANSFORM_WITH_LENGTH_0,d=t(&quot;./_stream_duplex&quot;);function f(b,g){var y=this._transformState;y.transforming=!1;var v=y.writecb;if(v===null)return this.emit(&quot;error&quot;,new u);y.writechunk=null,y.writecb=null,g!=null&amp;&amp;this.push(g),v(b);var _=this._readableState;_.reading=!1,(_.needReadable||_.length&lt;_.highWaterMark)&amp;&amp;this._read(_.highWaterMark)}function h(b){if(!(this instanceof h))return new h(b);d.call(this,b),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,b&amp;&amp;(typeof b.transform==&quot;function&quot;&amp;&amp;(this._transform=b.transform),typeof b.flush==&quot;function&quot;&amp;&amp;(this._flush=b.flush)),this.on(&quot;prefinish&quot;,m)}function m(){var b=this;typeof this._flush!=&quot;function&quot;||this._readableState.destroyed?p(this,null,null):this._flush((function(g,y){p(b,g,y)}))}function p(b,g,y){if(g)return b.emit(&quot;error&quot;,g);if(y!=null&amp;&amp;b.push(y),b._writableState.length)throw new s;if(b._transformState.transforming)throw new l;return b.push(null)}t(&quot;inherits&quot;)(h,d),h.prototype.push=function(b,g){return this._transformState.needTransform=!1,d.prototype.push.call(this,b,g)},h.prototype._transform=function(b,g,y){y(new a(&quot;_transform()&quot;))},h.prototype._write=function(b,g,y){var v=this._transformState;if(v.writecb=y,v.writechunk=b,v.writeencoding=g,!v.transforming){var _=this._readableState;(v.needTransform||_.needReadable||_.length&lt;_.highWaterMark)&amp;&amp;this._read(_.highWaterMark)}},h.prototype._read=function(b){var g=this._transformState;g.writechunk===null||g.transforming?g.needTransform=!0:(g.transforming=!0,this._transform(g.writechunk,g.writeencoding,g.afterTransform))},h.prototype._destroy=function(b,g){d.prototype._destroy.call(this,b,(function(y){g(y)}))}},{&quot;../errors&quot;:477,&quot;./_stream_duplex&quot;:478,inherits:440}],482:[function(t,n,o){(function(i,a){(function(){function u(N){var M=this;this.next=null,this.entry=null,this.finish=function(){(function(R,B,Y){var Z=R.entry;for(R.entry=null;Z;){var ie=Z.callback;B.pendingcb--,ie(Y),Z=Z.next}B.corkedRequestsFree.next=R})(M,N)}}var l;n.exports=$,$.WritableState=K;var s={deprecate:t(&quot;util-deprecate&quot;)},d=t(&quot;./internal/streams/stream&quot;),f=t(&quot;buffer&quot;).Buffer,h=(a!==void 0?a:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},m,p=t(&quot;./internal/streams/destroy&quot;),b=t(&quot;./internal/streams/state&quot;).getHighWaterMark,g=t(&quot;../errors&quot;).codes,y=g.ERR_INVALID_ARG_TYPE,v=g.ERR_METHOD_NOT_IMPLEMENTED,_=g.ERR_MULTIPLE_CALLBACK,C=g.ERR_STREAM_CANNOT_PIPE,O=g.ERR_STREAM_DESTROYED,T=g.ERR_STREAM_NULL_VALUES,V=g.ERR_STREAM_WRITE_AFTER_END,F=g.ERR_UNKNOWN_ENCODING,H=p.errorOrDestroy;function W(){}function K(N,M,R){l=l||t(&quot;./_stream_duplex&quot;),N=N||{},typeof R!=&quot;boolean&quot;&amp;&amp;(R=M instanceof l),this.objectMode=!!N.objectMode,R&amp;&amp;(this.objectMode=this.objectMode||!!N.writableObjectMode),this.highWaterMark=b(this,N,&quot;writableHighWaterMark&quot;,R),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var B=N.decodeStrings===!1;this.decodeStrings=!B,this.defaultEncoding=N.defaultEncoding||&quot;utf8&quot;,this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Y){(function(Z,ie){var U=Z._writableState,ee=U.sync,z=U.writecb;if(typeof z!=&quot;function&quot;)throw new _;if((function(X){X.writing=!1,X.writecb=null,X.length-=X.writelen,X.writelen=0})(U),ie)(function(X,re,ne,Q,te){--re.pendingcb,ne?(i.nextTick(te,Q),i.nextTick(S,X,re),X._writableState.errorEmitted=!0,H(X,Q)):(te(Q),X._writableState.errorEmitted=!0,H(X,Q),S(X,re))})(Z,U,ee,ie,z);else{var I=j(U)||Z.destroyed;I||U.corked||U.bufferProcessing||!U.bufferedRequest||E(Z,U),ee?i.nextTick(D,Z,U,I,z):D(Z,U,I,z)}})(M,Y)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=N.emitClose!==!1,this.autoDestroy=!!N.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new u(this)}function $(N){var M=this instanceof(l=l||t(&quot;./_stream_duplex&quot;));if(!M&amp;&amp;!m.call($,this))return new $(N);this._writableState=new K(N,this,M),this.writable=!0,N&amp;&amp;(typeof N.write==&quot;function&quot;&amp;&amp;(this._write=N.write),typeof N.writev==&quot;function&quot;&amp;&amp;(this._writev=N.writev),typeof N.destroy==&quot;function&quot;&amp;&amp;(this._destroy=N.destroy),typeof N.final==&quot;function&quot;&amp;&amp;(this._final=N.final)),d.call(this)}function P(N,M,R,B,Y,Z,ie){M.writelen=B,M.writecb=ie,M.writing=!0,M.sync=!0,M.destroyed?M.onwrite(new O(&quot;write&quot;)):R?N._writev(Y,M.onwrite):N._write(Y,Z,M.onwrite),M.sync=!1}function D(N,M,R,B){R||(function(Y,Z){Z.length===0&amp;&amp;Z.needDrain&amp;&amp;(Z.needDrain=!1,Y.emit(&quot;drain&quot;))})(N,M),M.pendingcb--,B(),S(N,M)}function E(N,M){M.bufferProcessing=!0;var R=M.bufferedRequest;if(N._writev&amp;&amp;R&amp;&amp;R.next){var B=M.bufferedRequestCount,Y=new Array(B),Z=M.corkedRequestsFree;Z.entry=R;for(var ie=0,U=!0;R;)Y[ie]=R,R.isBuf||(U=!1),R=R.next,ie+=1;Y.allBuffers=U,P(N,M,!0,M.length,Y,&quot;&quot;,Z.finish),M.pendingcb++,M.lastBufferedRequest=null,Z.next?(M.corkedRequestsFree=Z.next,Z.next=null):M.corkedRequestsFree=new u(M),M.bufferedRequestCount=0}else{for(;R;){var ee=R.chunk,z=R.encoding,I=R.callback;if(P(N,M,!1,M.objectMode?1:ee.length,ee,z,I),R=R.next,M.bufferedRequestCount--,M.writing)break}R===null&amp;&amp;(M.lastBufferedRequest=null)}M.bufferedRequest=R,M.bufferProcessing=!1}function j(N){return N.ending&amp;&amp;N.length===0&amp;&amp;N.bufferedRequest===null&amp;&amp;!N.finished&amp;&amp;!N.writing}function k(N,M){N._final((function(R){M.pendingcb--,R&amp;&amp;H(N,R),M.prefinished=!0,N.emit(&quot;prefinish&quot;),S(N,M)}))}function S(N,M){var R=j(M);if(R&amp;&amp;((function(Y,Z){Z.prefinished||Z.finalCalled||(typeof Y._final!=&quot;function&quot;||Z.destroyed?(Z.prefinished=!0,Y.emit(&quot;prefinish&quot;)):(Z.pendingcb++,Z.finalCalled=!0,i.nextTick(k,Y,Z)))})(N,M),M.pendingcb===0&amp;&amp;(M.finished=!0,N.emit(&quot;finish&quot;),M.autoDestroy))){var B=N._readableState;(!B||B.autoDestroy&amp;&amp;B.endEmitted)&amp;&amp;N.destroy()}return R}t(&quot;inherits&quot;)($,d),K.prototype.getBuffer=function(){for(var N=this.bufferedRequest,M=[];N;)M.push(N),N=N.next;return M},(function(){try{Object.defineProperty(K.prototype,&quot;buffer&quot;,{get:s.deprecate((function(){return this.getBuffer()}),&quot;_writableState.buffer is deprecated. Use _writableState.getBuffer instead.&quot;,&quot;DEP0003&quot;)})}catch{}})(),typeof Symbol==&quot;function&quot;&amp;&amp;Symbol.hasInstance&amp;&amp;typeof Function.prototype[Symbol.hasInstance]==&quot;function&quot;?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty($,Symbol.hasInstance,{value:function(N){return!!m.call(this,N)||this===$&amp;&amp;N&amp;&amp;N._writableState instanceof K}})):m=function(N){return N instanceof this},$.prototype.pipe=function(){H(this,new C)},$.prototype.write=function(N,M,R){var B,Y=this._writableState,Z=!1,ie=!Y.objectMode&amp;&amp;(B=N,f.isBuffer(B)||B instanceof h);return ie&amp;&amp;!f.isBuffer(N)&amp;&amp;(N=(function(U){return f.from(U)})(N)),typeof M==&quot;function&quot;&amp;&amp;(R=M,M=null),ie?M=&quot;buffer&quot;:M||(M=Y.defaultEncoding),typeof R!=&quot;function&quot;&amp;&amp;(R=W),Y.ending?(function(U,ee){var z=new V;H(U,z),i.nextTick(ee,z)})(this,R):(ie||(function(U,ee,z,I){var X;return z===null?X=new T:typeof z==&quot;string&quot;||ee.objectMode||(X=new y(&quot;chunk&quot;,[&quot;string&quot;,&quot;Buffer&quot;],z)),!X||(H(U,X),i.nextTick(I,X),!1)})(this,Y,N,R))&amp;&amp;(Y.pendingcb++,Z=(function(U,ee,z,I,X,re){if(!z){var ne=(function(le,se,fe){return le.objectMode||le.decodeStrings===!1||typeof se!=&quot;string&quot;||(se=f.from(se,fe)),se})(ee,I,X);I!==ne&amp;&amp;(z=!0,X=&quot;buffer&quot;,I=ne)}var Q=ee.objectMode?1:I.length;ee.length+=Q;var te=ee.length&lt;ee.highWaterMark;if(te||(ee.needDrain=!0),ee.writing||ee.corked){var de=ee.lastBufferedRequest;ee.lastBufferedRequest={chunk:I,encoding:X,isBuf:z,callback:re,next:null},de?de.next=ee.lastBufferedRequest:ee.bufferedRequest=ee.lastBufferedRequest,ee.bufferedRequestCount+=1}else P(U,ee,!1,Q,I,X,re);return te})(this,Y,ie,N,M,R)),Z},$.prototype.cork=function(){this._writableState.corked++},$.prototype.uncork=function(){var N=this._writableState;N.corked&amp;&amp;(N.corked--,N.writing||N.corked||N.bufferProcessing||!N.bufferedRequest||E(this,N))},$.prototype.setDefaultEncoding=function(N){if(typeof N==&quot;string&quot;&amp;&amp;(N=N.toLowerCase()),!([&quot;hex&quot;,&quot;utf8&quot;,&quot;utf-8&quot;,&quot;ascii&quot;,&quot;binary&quot;,&quot;base64&quot;,&quot;ucs2&quot;,&quot;ucs-2&quot;,&quot;utf16le&quot;,&quot;utf-16le&quot;,&quot;raw&quot;].indexOf((N+&quot;&quot;).toLowerCase())&gt;-1))throw new F(N);return this._writableState.defaultEncoding=N,this},Object.defineProperty($.prototype,&quot;writableBuffer&quot;,{enumerable:!1,get:function(){return this._writableState&amp;&amp;this._writableState.getBuffer()}}),Object.defineProperty($.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),$.prototype._write=function(N,M,R){R(new v(&quot;_write()&quot;))},$.prototype._writev=null,$.prototype.end=function(N,M,R){var B=this._writableState;return typeof N==&quot;function&quot;?(R=N,N=null,M=null):typeof M==&quot;function&quot;&amp;&amp;(R=M,M=null),N!=null&amp;&amp;this.write(N,M),B.corked&amp;&amp;(B.corked=1,this.uncork()),B.ending||(function(Y,Z,ie){Z.ending=!0,S(Y,Z),ie&amp;&amp;(Z.finished?i.nextTick(ie):Y.once(&quot;finish&quot;,ie)),Z.ended=!0,Y.writable=!1})(this,B,R),this},Object.defineProperty($.prototype,&quot;writableLength&quot;,{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty($.prototype,&quot;destroyed&quot;,{enumerable:!1,get:function(){return this._writableState!==void 0&amp;&amp;this._writableState.destroyed},set:function(N){this._writableState&amp;&amp;(this._writableState.destroyed=N)}}),$.prototype.destroy=p.destroy,$.prototype._undestroy=p.undestroy,$.prototype._destroy=function(N,M){M(N)}}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;../errors&quot;:477,&quot;./_stream_duplex&quot;:478,&quot;./internal/streams/destroy&quot;:485,&quot;./internal/streams/state&quot;:489,&quot;./internal/streams/stream&quot;:490,_process:467,buffer:220,inherits:440,&quot;util-deprecate&quot;:524}],483:[function(t,n,o){(function(i){(function(){var a;function u(O,T,V){return(T=(function(F){var H=(function(W,K){if(typeof W!=&quot;object&quot;||W===null)return W;var $=W[Symbol.toPrimitive];if($!==void 0){var P=$.call(W,K);if(typeof P!=&quot;object&quot;)return P;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(K===&quot;string&quot;?String:Number)(W)})(F,&quot;string&quot;);return typeof H==&quot;symbol&quot;?H:String(H)})(T))in O?Object.defineProperty(O,T,{value:V,enumerable:!0,configurable:!0,writable:!0}):O[T]=V,O}var l=t(&quot;./end-of-stream&quot;),s=Symbol(&quot;lastResolve&quot;),d=Symbol(&quot;lastReject&quot;),f=Symbol(&quot;error&quot;),h=Symbol(&quot;ended&quot;),m=Symbol(&quot;lastPromise&quot;),p=Symbol(&quot;handlePromise&quot;),b=Symbol(&quot;stream&quot;);function g(O,T){return{value:O,done:T}}function y(O){var T=O[s];if(T!==null){var V=O[b].read();V!==null&amp;&amp;(O[m]=null,O[s]=null,O[d]=null,T(g(V,!1)))}}function v(O){i.nextTick(y,O)}var _=Object.getPrototypeOf((function(){})),C=Object.setPrototypeOf((u(a={get stream(){return this[b]},next:function(){var O=this,T=this[f];if(T!==null)return Promise.reject(T);if(this[h])return Promise.resolve(g(void 0,!0));if(this[b].destroyed)return new Promise((function(W,K){i.nextTick((function(){O[f]?K(O[f]):W(g(void 0,!0))}))}));var V,F=this[m];if(F)V=new Promise((function(W,K){return function($,P){W.then((function(){K[h]?$(g(void 0,!0)):K[p]($,P)}),P)}})(F,this));else{var H=this[b].read();if(H!==null)return Promise.resolve(g(H,!1));V=new Promise(this[p])}return this[m]=V,V}},Symbol.asyncIterator,(function(){return this})),u(a,&quot;return&quot;,(function(){var O=this;return new Promise((function(T,V){O[b].destroy(null,(function(F){F?V(F):T(g(void 0,!0))}))}))})),a),_);n.exports=function(O){var T,V=Object.create(C,(u(T={},b,{value:O,writable:!0}),u(T,s,{value:null,writable:!0}),u(T,d,{value:null,writable:!0}),u(T,f,{value:null,writable:!0}),u(T,h,{value:O._readableState.endEmitted,writable:!0}),u(T,p,{value:function(F,H){var W=V[b].read();W?(V[m]=null,V[s]=null,V[d]=null,F(g(W,!1))):(V[s]=F,V[d]=H)},writable:!0}),T));return V[m]=null,l(O,(function(F){if(F&amp;&amp;F.code!==&quot;ERR_STREAM_PREMATURE_CLOSE&quot;){var H=V[d];return H!==null&amp;&amp;(V[m]=null,V[s]=null,V[d]=null,H(F)),void(V[f]=F)}var W=V[s];W!==null&amp;&amp;(V[m]=null,V[s]=null,V[d]=null,W(g(void 0,!0))),V[h]=!0})),O.on(&quot;readable&quot;,v.bind(null,V)),V}}).call(this)}).call(this,t(&quot;_process&quot;))},{&quot;./end-of-stream&quot;:486,_process:467}],484:[function(t,n,o){function i(m,p){var b=Object.keys(m);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(m);p&amp;&amp;(g=g.filter((function(y){return Object.getOwnPropertyDescriptor(m,y).enumerable}))),b.push.apply(b,g)}return b}function a(m){for(var p=1;p&lt;arguments.length;p++){var b=arguments[p]!=null?arguments[p]:{};p%2?i(Object(b),!0).forEach((function(g){u(m,g,b[g])})):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(b)):i(Object(b)).forEach((function(g){Object.defineProperty(m,g,Object.getOwnPropertyDescriptor(b,g))}))}return m}function u(m,p,b){return(p=s(p))in m?Object.defineProperty(m,p,{value:b,enumerable:!0,configurable:!0,writable:!0}):m[p]=b,m}function l(m,p){for(var b=0;b&lt;p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,&quot;value&quot;in g&amp;&amp;(g.writable=!0),Object.defineProperty(m,s(g.key),g)}}function s(m){var p=(function(b,g){if(typeof b!=&quot;object&quot;||b===null)return b;var y=b[Symbol.toPrimitive];if(y!==void 0){var v=y.call(b,g);if(typeof v!=&quot;object&quot;)return v;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(g===&quot;string&quot;?String:Number)(b)})(m,&quot;string&quot;);return typeof p==&quot;symbol&quot;?p:String(p)}var d=t(&quot;buffer&quot;).Buffer,f=t(&quot;util&quot;).inspect,h=f&amp;&amp;f.custom||&quot;inspect&quot;;n.exports=(function(){function m(){(function(g,y){if(!(g instanceof y))throw new TypeError(&quot;Cannot call a class as a function&quot;)})(this,m),this.head=null,this.tail=null,this.length=0}var p,b;return p=m,(b=[{key:&quot;push&quot;,value:function(g){var y={data:g,next:null};this.length&gt;0?this.tail.next=y:this.head=y,this.tail=y,++this.length}},{key:&quot;unshift&quot;,value:function(g){var y={data:g,next:this.head};this.length===0&amp;&amp;(this.tail=y),this.head=y,++this.length}},{key:&quot;shift&quot;,value:function(){if(this.length!==0){var g=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,g}}},{key:&quot;clear&quot;,value:function(){this.head=this.tail=null,this.length=0}},{key:&quot;join&quot;,value:function(g){if(this.length===0)return&quot;&quot;;for(var y=this.head,v=&quot;&quot;+y.data;y=y.next;)v+=g+y.data;return v}},{key:&quot;concat&quot;,value:function(g){if(this.length===0)return d.alloc(0);for(var y,v,_,C=d.allocUnsafe(g&gt;&gt;&gt;0),O=this.head,T=0;O;)y=O.data,v=C,_=T,d.prototype.copy.call(y,v,_),T+=O.data.length,O=O.next;return C}},{key:&quot;consume&quot;,value:function(g,y){var v;return g&lt;this.head.data.length?(v=this.head.data.slice(0,g),this.head.data=this.head.data.slice(g)):v=g===this.head.data.length?this.shift():y?this._getString(g):this._getBuffer(g),v}},{key:&quot;first&quot;,value:function(){return this.head.data}},{key:&quot;_getString&quot;,value:function(g){var y=this.head,v=1,_=y.data;for(g-=_.length;y=y.next;){var C=y.data,O=g&gt;C.length?C.length:g;if(O===C.length?_+=C:_+=C.slice(0,g),(g-=O)==0){O===C.length?(++v,y.next?this.head=y.next:this.head=this.tail=null):(this.head=y,y.data=C.slice(O));break}++v}return this.length-=v,_}},{key:&quot;_getBuffer&quot;,value:function(g){var y=d.allocUnsafe(g),v=this.head,_=1;for(v.data.copy(y),g-=v.data.length;v=v.next;){var C=v.data,O=g&gt;C.length?C.length:g;if(C.copy(y,y.length-g,0,O),(g-=O)==0){O===C.length?(++_,v.next?this.head=v.next:this.head=this.tail=null):(this.head=v,v.data=C.slice(O));break}++_}return this.length-=_,y}},{key:h,value:function(g,y){return f(this,a(a({},y),{},{depth:0,customInspect:!1}))}}])&amp;&amp;l(p.prototype,b),Object.defineProperty(p,&quot;prototype&quot;,{writable:!1}),m})()},{buffer:220,util:188}],485:[function(t,n,o){(function(i){(function(){function a(s,d){l(s,d),u(s)}function u(s){s._writableState&amp;&amp;!s._writableState.emitClose||s._readableState&amp;&amp;!s._readableState.emitClose||s.emit(&quot;close&quot;)}function l(s,d){s.emit(&quot;error&quot;,d)}n.exports={destroy:function(s,d){var f=this,h=this._readableState&amp;&amp;this._readableState.destroyed,m=this._writableState&amp;&amp;this._writableState.destroyed;return h||m?(d?d(s):s&amp;&amp;(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,i.nextTick(l,this,s)):i.nextTick(l,this,s)),this):(this._readableState&amp;&amp;(this._readableState.destroyed=!0),this._writableState&amp;&amp;(this._writableState.destroyed=!0),this._destroy(s||null,(function(p){!d&amp;&amp;p?f._writableState?f._writableState.errorEmitted?i.nextTick(u,f):(f._writableState.errorEmitted=!0,i.nextTick(a,f,p)):i.nextTick(a,f,p):d?(i.nextTick(u,f),d(p)):i.nextTick(u,f)})),this)},undestroy:function(){this._readableState&amp;&amp;(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&amp;&amp;(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(s,d){var f=s._readableState,h=s._writableState;f&amp;&amp;f.autoDestroy||h&amp;&amp;h.autoDestroy?s.destroy(d):s.emit(&quot;error&quot;,d)}}}).call(this)}).call(this,t(&quot;_process&quot;))},{_process:467}],486:[function(t,n,o){var i=t(&quot;../../../errors&quot;).codes.ERR_STREAM_PREMATURE_CLOSE;function a(){}n.exports=function u(l,s,d){if(typeof s==&quot;function&quot;)return u(l,null,s);s||(s={}),d=(function(O){var T=!1;return function(){if(!T){T=!0;for(var V=arguments.length,F=new Array(V),H=0;H&lt;V;H++)F[H]=arguments[H];O.apply(this,F)}}})(d||a);var f=s.readable||s.readable!==!1&amp;&amp;l.readable,h=s.writable||s.writable!==!1&amp;&amp;l.writable,m=function(){l.writable||b()},p=l._writableState&amp;&amp;l._writableState.finished,b=function(){h=!1,p=!0,f||d.call(l)},g=l._readableState&amp;&amp;l._readableState.endEmitted,y=function(){f=!1,g=!0,h||d.call(l)},v=function(O){d.call(l,O)},_=function(){var O;return f&amp;&amp;!g?(l._readableState&amp;&amp;l._readableState.ended||(O=new i),d.call(l,O)):h&amp;&amp;!p?(l._writableState&amp;&amp;l._writableState.ended||(O=new i),d.call(l,O)):void 0},C=function(){l.req.on(&quot;finish&quot;,b)};return(function(O){return O.setHeader&amp;&amp;typeof O.abort==&quot;function&quot;})(l)?(l.on(&quot;complete&quot;,b),l.on(&quot;abort&quot;,_),l.req?C():l.on(&quot;request&quot;,C)):h&amp;&amp;!l._writableState&amp;&amp;(l.on(&quot;end&quot;,m),l.on(&quot;close&quot;,m)),l.on(&quot;end&quot;,y),l.on(&quot;finish&quot;,b),s.error!==!1&amp;&amp;l.on(&quot;error&quot;,v),l.on(&quot;close&quot;,_),function(){l.removeListener(&quot;complete&quot;,b),l.removeListener(&quot;abort&quot;,_),l.removeListener(&quot;request&quot;,C),l.req&amp;&amp;l.req.removeListener(&quot;finish&quot;,b),l.removeListener(&quot;end&quot;,m),l.removeListener(&quot;close&quot;,m),l.removeListener(&quot;finish&quot;,b),l.removeListener(&quot;end&quot;,y),l.removeListener(&quot;error&quot;,v),l.removeListener(&quot;close&quot;,_)}}},{&quot;../../../errors&quot;:477}],487:[function(t,n,o){n.exports=function(){throw new Error(&quot;Readable.from is not available in the browser&quot;)}},{}],488:[function(t,n,o){var i,a=t(&quot;../../../errors&quot;).codes,u=a.ERR_MISSING_ARGS,l=a.ERR_STREAM_DESTROYED;function s(p){if(p)throw p}function d(p,b,g,y){y=(function(C){var O=!1;return function(){O||(O=!0,C.apply(void 0,arguments))}})(y);var v=!1;p.on(&quot;close&quot;,(function(){v=!0})),i===void 0&amp;&amp;(i=t(&quot;./end-of-stream&quot;)),i(p,{readable:b,writable:g},(function(C){if(C)return y(C);v=!0,y()}));var _=!1;return function(C){if(!v&amp;&amp;!_)return _=!0,(function(O){return O.setHeader&amp;&amp;typeof O.abort==&quot;function&quot;})(p)?p.abort():typeof p.destroy==&quot;function&quot;?p.destroy():void y(C||new l(&quot;pipe&quot;))}}function f(p){p()}function h(p,b){return p.pipe(b)}function m(p){return p.length?typeof p[p.length-1]!=&quot;function&quot;?s:p.pop():s}n.exports=function(){for(var p=arguments.length,b=new Array(p),g=0;g&lt;p;g++)b[g]=arguments[g];var y,v=m(b);if(Array.isArray(b[0])&amp;&amp;(b=b[0]),b.length&lt;2)throw new u(&quot;streams&quot;);var _=b.map((function(C,O){var T=O&lt;b.length-1;return d(C,T,O&gt;0,(function(V){y||(y=V),V&amp;&amp;_.forEach(f),T||(_.forEach(f),v(y))}))}));return b.reduce(h)}},{&quot;../../../errors&quot;:477,&quot;./end-of-stream&quot;:486}],489:[function(t,n,o){var i=t(&quot;../../../errors&quot;).codes.ERR_INVALID_OPT_VALUE;n.exports={getHighWaterMark:function(a,u,l,s){var d=(function(f,h,m){return f.highWaterMark!=null?f.highWaterMark:h?f[m]:null})(u,s,l);if(d!=null){if(!isFinite(d)||Math.floor(d)!==d||d&lt;0)throw new i(s?l:&quot;highWaterMark&quot;,d);return Math.floor(d)}return a.objectMode?16:16384}}},{&quot;../../../errors&quot;:477}],490:[function(t,n,o){n.exports=t(&quot;events&quot;).EventEmitter},{events:422}],491:[function(t,n,o){(o=n.exports=t(&quot;./lib/_stream_readable.js&quot;)).Stream=o,o.Readable=o,o.Writable=t(&quot;./lib/_stream_writable.js&quot;),o.Duplex=t(&quot;./lib/_stream_duplex.js&quot;),o.Transform=t(&quot;./lib/_stream_transform.js&quot;),o.PassThrough=t(&quot;./lib/_stream_passthrough.js&quot;),o.finished=t(&quot;./lib/internal/streams/end-of-stream.js&quot;),o.pipeline=t(&quot;./lib/internal/streams/pipeline.js&quot;)},{&quot;./lib/_stream_duplex.js&quot;:478,&quot;./lib/_stream_passthrough.js&quot;:479,&quot;./lib/_stream_readable.js&quot;:480,&quot;./lib/_stream_transform.js&quot;:481,&quot;./lib/_stream_writable.js&quot;:482,&quot;./lib/internal/streams/end-of-stream.js&quot;:486,&quot;./lib/internal/streams/pipeline.js&quot;:488}],492:[function(t,n,o){var i=(function(a){var u=Object.prototype,l=u.hasOwnProperty,s=Object.defineProperty||function(S,N,M){S[N]=M.value},d=typeof Symbol==&quot;function&quot;?Symbol:{},f=d.iterator||&quot;@@iterator&quot;,h=d.asyncIterator||&quot;@@asyncIterator&quot;,m=d.toStringTag||&quot;@@toStringTag&quot;;function p(S,N,M){return Object.defineProperty(S,N,{value:M,enumerable:!0,configurable:!0,writable:!0}),S[N]}try{p({},&quot;&quot;)}catch{p=function(N,M,R){return N[M]=R}}function b(S,N,M,R){var B=N&amp;&amp;N.prototype instanceof v?N:v,Y=Object.create(B.prototype),Z=new E(R||[]);return s(Y,&quot;_invoke&quot;,{value:K(S,M,Z)}),Y}function g(S,N,M){try{return{type:&quot;normal&quot;,arg:S.call(N,M)}}catch(R){return{type:&quot;throw&quot;,arg:R}}}a.wrap=b;var y={};function v(){}function _(){}function C(){}var O={};p(O,f,(function(){return this}));var T=Object.getPrototypeOf,V=T&amp;&amp;T(T(j([])));V&amp;&amp;V!==u&amp;&amp;l.call(V,f)&amp;&amp;(O=V);var F=C.prototype=v.prototype=Object.create(O);function H(S){[&quot;next&quot;,&quot;throw&quot;,&quot;return&quot;].forEach((function(N){p(S,N,(function(M){return this._invoke(N,M)}))}))}function W(S,N){var M;s(this,&quot;_invoke&quot;,{value:function(R,B){function Y(){return new N((function(Z,ie){(function U(ee,z,I,X){var re=g(S[ee],S,z);if(re.type!==&quot;throw&quot;){var ne=re.arg,Q=ne.value;return Q&amp;&amp;typeof Q==&quot;object&quot;&amp;&amp;l.call(Q,&quot;__await&quot;)?N.resolve(Q.__await).then((function(te){U(&quot;next&quot;,te,I,X)}),(function(te){U(&quot;throw&quot;,te,I,X)})):N.resolve(Q).then((function(te){ne.value=te,I(ne)}),(function(te){return U(&quot;throw&quot;,te,I,X)}))}X(re.arg)})(R,B,Z,ie)}))}return M=M?M.then(Y,Y):Y()}})}function K(S,N,M){var R=&quot;suspendedStart&quot;;return function(B,Y){if(R===&quot;executing&quot;)throw new Error(&quot;Generator is already running&quot;);if(R===&quot;completed&quot;){if(B===&quot;throw&quot;)throw Y;return k()}for(M.method=B,M.arg=Y;;){var Z=M.delegate;if(Z){var ie=$(Z,M);if(ie){if(ie===y)continue;return ie}}if(M.method===&quot;next&quot;)M.sent=M._sent=M.arg;else if(M.method===&quot;throw&quot;){if(R===&quot;suspendedStart&quot;)throw R=&quot;completed&quot;,M.arg;M.dispatchException(M.arg)}else M.method===&quot;return&quot;&amp;&amp;M.abrupt(&quot;return&quot;,M.arg);R=&quot;executing&quot;;var U=g(S,N,M);if(U.type===&quot;normal&quot;){if(R=M.done?&quot;completed&quot;:&quot;suspendedYield&quot;,U.arg===y)continue;return{value:U.arg,done:M.done}}U.type===&quot;throw&quot;&amp;&amp;(R=&quot;completed&quot;,M.method=&quot;throw&quot;,M.arg=U.arg)}}}function $(S,N){var M=N.method,R=S.iterator[M];if(R===void 0)return N.delegate=null,M===&quot;throw&quot;&amp;&amp;S.iterator.return&amp;&amp;(N.method=&quot;return&quot;,N.arg=void 0,$(S,N),N.method===&quot;throw&quot;)||M!==&quot;return&quot;&amp;&amp;(N.method=&quot;throw&quot;,N.arg=new TypeError(&quot;The iterator does not provide a &#039;&quot;+M+&quot;&#039; method&quot;)),y;var B=g(R,S.iterator,N.arg);if(B.type===&quot;throw&quot;)return N.method=&quot;throw&quot;,N.arg=B.arg,N.delegate=null,y;var Y=B.arg;return Y?Y.done?(N[S.resultName]=Y.value,N.next=S.nextLoc,N.method!==&quot;return&quot;&amp;&amp;(N.method=&quot;next&quot;,N.arg=void 0),N.delegate=null,y):Y:(N.method=&quot;throw&quot;,N.arg=new TypeError(&quot;iterator result is not an object&quot;),N.delegate=null,y)}function P(S){var N={tryLoc:S[0]};1 in S&amp;&amp;(N.catchLoc=S[1]),2 in S&amp;&amp;(N.finallyLoc=S[2],N.afterLoc=S[3]),this.tryEntries.push(N)}function D(S){var N=S.completion||{};N.type=&quot;normal&quot;,delete N.arg,S.completion=N}function E(S){this.tryEntries=[{tryLoc:&quot;root&quot;}],S.forEach(P,this),this.reset(!0)}function j(S){if(S){var N=S[f];if(N)return N.call(S);if(typeof S.next==&quot;function&quot;)return S;if(!isNaN(S.length)){var M=-1,R=function B(){for(;++M&lt;S.length;)if(l.call(S,M))return B.value=S[M],B.done=!1,B;return B.value=void 0,B.done=!0,B};return R.next=R}}return{next:k}}function k(){return{value:void 0,done:!0}}return _.prototype=C,s(F,&quot;constructor&quot;,{value:C,configurable:!0}),s(C,&quot;constructor&quot;,{value:_,configurable:!0}),_.displayName=p(C,m,&quot;GeneratorFunction&quot;),a.isGeneratorFunction=function(S){var N=typeof S==&quot;function&quot;&amp;&amp;S.constructor;return!!N&amp;&amp;(N===_||(N.displayName||N.name)===&quot;GeneratorFunction&quot;)},a.mark=function(S){return Object.setPrototypeOf?Object.setPrototypeOf(S,C):(S.__proto__=C,p(S,m,&quot;GeneratorFunction&quot;)),S.prototype=Object.create(F),S},a.awrap=function(S){return{__await:S}},H(W.prototype),p(W.prototype,h,(function(){return this})),a.AsyncIterator=W,a.async=function(S,N,M,R,B){B===void 0&amp;&amp;(B=Promise);var Y=new W(b(S,N,M,R),B);return a.isGeneratorFunction(N)?Y:Y.next().then((function(Z){return Z.done?Z.value:Y.next()}))},H(F),p(F,m,&quot;Generator&quot;),p(F,f,(function(){return this})),p(F,&quot;toString&quot;,(function(){return&quot;[object Generator]&quot;})),a.keys=function(S){var N=Object(S),M=[];for(var R in N)M.push(R);return M.reverse(),function B(){for(;M.length;){var Y=M.pop();if(Y in N)return B.value=Y,B.done=!1,B}return B.done=!0,B}},a.values=j,E.prototype={constructor:E,reset:function(S){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method=&quot;next&quot;,this.arg=void 0,this.tryEntries.forEach(D),!S)for(var N in this)N.charAt(0)===&quot;t&quot;&amp;&amp;l.call(this,N)&amp;&amp;!isNaN(+N.slice(1))&amp;&amp;(this[N]=void 0)},stop:function(){this.done=!0;var S=this.tryEntries[0].completion;if(S.type===&quot;throw&quot;)throw S.arg;return this.rval},dispatchException:function(S){if(this.done)throw S;var N=this;function M(U,ee){return Y.type=&quot;throw&quot;,Y.arg=S,N.next=U,ee&amp;&amp;(N.method=&quot;next&quot;,N.arg=void 0),!!ee}for(var R=this.tryEntries.length-1;R&gt;=0;--R){var B=this.tryEntries[R],Y=B.completion;if(B.tryLoc===&quot;root&quot;)return M(&quot;end&quot;);if(B.tryLoc&lt;=this.prev){var Z=l.call(B,&quot;catchLoc&quot;),ie=l.call(B,&quot;finallyLoc&quot;);if(Z&amp;&amp;ie){if(this.prev&lt;B.catchLoc)return M(B.catchLoc,!0);if(this.prev&lt;B.finallyLoc)return M(B.finallyLoc)}else if(Z){if(this.prev&lt;B.catchLoc)return M(B.catchLoc,!0)}else{if(!ie)throw new Error(&quot;try statement without catch or finally&quot;);if(this.prev&lt;B.finallyLoc)return M(B.finallyLoc)}}}},abrupt:function(S,N){for(var M=this.tryEntries.length-1;M&gt;=0;--M){var R=this.tryEntries[M];if(R.tryLoc&lt;=this.prev&amp;&amp;l.call(R,&quot;finallyLoc&quot;)&amp;&amp;this.prev&lt;R.finallyLoc){var B=R;break}}B&amp;&amp;(S===&quot;break&quot;||S===&quot;continue&quot;)&amp;&amp;B.tryLoc&lt;=N&amp;&amp;N&lt;=B.finallyLoc&amp;&amp;(B=null);var Y=B?B.completion:{};return Y.type=S,Y.arg=N,B?(this.method=&quot;next&quot;,this.next=B.finallyLoc,y):this.complete(Y)},complete:function(S,N){if(S.type===&quot;throw&quot;)throw S.arg;return S.type===&quot;break&quot;||S.type===&quot;continue&quot;?this.next=S.arg:S.type===&quot;return&quot;?(this.rval=this.arg=S.arg,this.method=&quot;return&quot;,this.next=&quot;end&quot;):S.type===&quot;normal&quot;&amp;&amp;N&amp;&amp;(this.next=N),y},finish:function(S){for(var N=this.tryEntries.length-1;N&gt;=0;--N){var M=this.tryEntries[N];if(M.finallyLoc===S)return this.complete(M.completion,M.afterLoc),D(M),y}},catch:function(S){for(var N=this.tryEntries.length-1;N&gt;=0;--N){var M=this.tryEntries[N];if(M.tryLoc===S){var R=M.completion;if(R.type===&quot;throw&quot;){var B=R.arg;D(M)}return B}}throw new Error(&quot;illegal catch attempt&quot;)},delegateYield:function(S,N,M){return this.delegate={iterator:j(S),resultName:N,nextLoc:M},this.method===&quot;next&quot;&amp;&amp;(this.arg=void 0),y}},a})(typeof n==&quot;object&quot;?n.exports:{});try{regeneratorRuntime=i}catch{typeof globalThis==&quot;object&quot;?globalThis.regeneratorRuntime=i:Function(&quot;r&quot;,&quot;regeneratorRuntime = r&quot;)(i)}},{}],493:[function(t,n,o){var i=t(&quot;buffer&quot;).Buffer,a=t(&quot;inherits&quot;),u=t(&quot;hash-base&quot;),l=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],d=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],f=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],h=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],m=[0,1518500249,1859775393,2400959708,2840853838],p=[1352829926,1548603684,1836072691,2053994217,0];function b(){u.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function g(T,V){return T&lt;&lt;V|T&gt;&gt;&gt;32-V}function y(T,V,F,H,W,K,$,P){return g(T+(V^F^H)+K+$|0,P)+W|0}function v(T,V,F,H,W,K,$,P){return g(T+(V&amp;F|~V&amp;H)+K+$|0,P)+W|0}function _(T,V,F,H,W,K,$,P){return g(T+((V|~F)^H)+K+$|0,P)+W|0}function C(T,V,F,H,W,K,$,P){return g(T+(V&amp;H|F&amp;~H)+K+$|0,P)+W|0}function O(T,V,F,H,W,K,$,P){return g(T+(V^(F|~H))+K+$|0,P)+W|0}a(b,u),b.prototype._update=function(){for(var T=l,V=0;V&lt;16;++V)T[V]=this._block.readInt32LE(4*V);for(var F=0|this._a,H=0|this._b,W=0|this._c,K=0|this._d,$=0|this._e,P=0|this._a,D=0|this._b,E=0|this._c,j=0|this._d,k=0|this._e,S=0;S&lt;80;S+=1){var N,M;S&lt;16?(N=y(F,H,W,K,$,T[s[S]],m[0],f[S]),M=O(P,D,E,j,k,T[d[S]],p[0],h[S])):S&lt;32?(N=v(F,H,W,K,$,T[s[S]],m[1],f[S]),M=C(P,D,E,j,k,T[d[S]],p[1],h[S])):S&lt;48?(N=_(F,H,W,K,$,T[s[S]],m[2],f[S]),M=_(P,D,E,j,k,T[d[S]],p[2],h[S])):S&lt;64?(N=C(F,H,W,K,$,T[s[S]],m[3],f[S]),M=v(P,D,E,j,k,T[d[S]],p[3],h[S])):(N=O(F,H,W,K,$,T[s[S]],m[4],f[S]),M=y(P,D,E,j,k,T[d[S]],p[4],h[S])),F=$,$=K,K=g(W,10),W=H,H=N,P=k,k=j,j=g(E,10),E=D,D=M}var R=this._b+W+j|0;this._b=this._c+K+k|0,this._c=this._d+$+P|0,this._d=this._e+F+D|0,this._e=this._a+H+E|0,this._a=R},b.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset&gt;56&amp;&amp;(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var T=i.alloc?i.alloc(20):new i(20);return T.writeInt32LE(this._a,0),T.writeInt32LE(this._b,4),T.writeInt32LE(this._c,8),T.writeInt32LE(this._d,12),T.writeInt32LE(this._e,16),T},n.exports=b},{buffer:220,&quot;hash-base&quot;:425,inherits:440}],494:[function(t,n,o){var i=t(&quot;buffer&quot;),a=i.Buffer;function u(s,d){for(var f in s)d[f]=s[f]}function l(s,d,f){return a(s,d,f)}a.from&amp;&amp;a.alloc&amp;&amp;a.allocUnsafe&amp;&amp;a.allocUnsafeSlow?n.exports=i:(u(i,o),o.Buffer=l),l.prototype=Object.create(a.prototype),u(a,l),l.from=function(s,d,f){if(typeof s==&quot;number&quot;)throw new TypeError(&quot;Argument must not be a number&quot;);return a(s,d,f)},l.alloc=function(s,d,f){if(typeof s!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);var h=a(s);return d!==void 0?typeof f==&quot;string&quot;?h.fill(d,f):h.fill(d):h.fill(0),h},l.allocUnsafe=function(s){if(typeof s!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return a(s)},l.allocUnsafeSlow=function(s){if(typeof s!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return i.SlowBuffer(s)}},{buffer:220}],495:[function(t,n,o){(function(i){(function(){var a,u=t(&quot;buffer&quot;),l=u.Buffer,s={};for(a in u)u.hasOwnProperty(a)&amp;&amp;a!==&quot;SlowBuffer&quot;&amp;&amp;a!==&quot;Buffer&quot;&amp;&amp;(s[a]=u[a]);var d=s.Buffer={};for(a in l)l.hasOwnProperty(a)&amp;&amp;a!==&quot;allocUnsafe&quot;&amp;&amp;a!==&quot;allocUnsafeSlow&quot;&amp;&amp;(d[a]=l[a]);if(s.Buffer.prototype=l.prototype,d.from&amp;&amp;d.from!==Uint8Array.from||(d.from=function(f,h,m){if(typeof f==&quot;number&quot;)throw new TypeError(&#039;The &quot;value&quot; argument must not be of type number. Received type &#039;+typeof f);if(f&amp;&amp;f.length===void 0)throw new TypeError(&quot;The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type &quot;+typeof f);return l(f,h,m)}),d.alloc||(d.alloc=function(f,h,m){if(typeof f!=&quot;number&quot;)throw new TypeError(&#039;The &quot;size&quot; argument must be of type number. Received type &#039;+typeof f);if(f&lt;0||f&gt;=2*(1&lt;&lt;30))throw new RangeError(&#039;The value &quot;&#039;+f+&#039;&quot; is invalid for option &quot;size&quot;&#039;);var p=l(f);return h&amp;&amp;h.length!==0?typeof m==&quot;string&quot;?p.fill(h,m):p.fill(h):p.fill(0),p}),!s.kStringMaxLength)try{s.kStringMaxLength=i.binding(&quot;buffer&quot;).kStringMaxLength}catch{}s.constants||(s.constants={MAX_LENGTH:s.kMaxLength},s.kStringMaxLength&amp;&amp;(s.constants.MAX_STRING_LENGTH=s.kStringMaxLength)),n.exports=s}).call(this)}).call(this,t(&quot;_process&quot;))},{_process:467,buffer:220}],496:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0});const i=t(&quot;xmlchars/xml/1.0/ed5&quot;),a=t(&quot;xmlchars/xml/1.1/ed2&quot;),u=t(&quot;xmlchars/xmlns/1.0/ed3&quot;);var l=i.isS,s=i.isChar,d=i.isNameStartChar,f=i.isNameChar,h=i.S_LIST,m=i.NAME_RE,p=a.isChar,b=u.isNCNameStartChar,g=u.isNCNameChar,y=u.NC_NAME_RE;const v=&quot;http://www.w3.org/XML/1998/namespace&quot;,_=&quot;http://www.w3.org/2000/xmlns/&quot;,C={__proto__:null,xml:v,xmlns:_},O={__proto__:null,amp:&quot;&amp;&quot;,gt:&quot;&gt;&quot;,lt:&quot;&lt;&quot;,quot:&#039;&quot;&#039;,apos:&quot;&#039;&quot;},T=j=&gt;j===34||j===39,V=[34,39],F=[...V,91,62],H=[...V,60,93],W=[61,63,...h],K=[...h,62,38,60];function $(j,k,S){switch(k){case&quot;xml&quot;:S!==v&amp;&amp;j.fail(`xml prefix must be bound to ${v}.`);break;case&quot;xmlns&quot;:S!==_&amp;&amp;j.fail(`xmlns prefix must be bound to ${_}.`)}switch(S){case _:j.fail(k===&quot;&quot;?`the default namespace may not be set to ${S}.`:`may not assign a prefix (even &quot;xmlns&quot;) to the URI ${_}.`);break;case v:switch(k){case&quot;xml&quot;:break;case&quot;&quot;:j.fail(`the default namespace may not be set to ${S}.`);break;default:j.fail(&quot;may not assign the xml namespace to another prefix.&quot;)}}}const P=j=&gt;y.test(j),D=j=&gt;m.test(j);o.EVENTS=[&quot;xmldecl&quot;,&quot;text&quot;,&quot;processinginstruction&quot;,&quot;doctype&quot;,&quot;comment&quot;,&quot;opentagstart&quot;,&quot;attribute&quot;,&quot;opentag&quot;,&quot;closetag&quot;,&quot;cdata&quot;,&quot;error&quot;,&quot;end&quot;,&quot;ready&quot;];const E={xmldecl:&quot;xmldeclHandler&quot;,text:&quot;textHandler&quot;,processinginstruction:&quot;piHandler&quot;,doctype:&quot;doctypeHandler&quot;,comment:&quot;commentHandler&quot;,opentagstart:&quot;openTagStartHandler&quot;,attribute:&quot;attributeHandler&quot;,opentag:&quot;openTagHandler&quot;,closetag:&quot;closeTagHandler&quot;,cdata:&quot;cdataHandler&quot;,error:&quot;errorHandler&quot;,end:&quot;endHandler&quot;,ready:&quot;readyHandler&quot;};o.SaxesParser=class{constructor(j){this.opt=j??{},this.fragmentOpt=!!this.opt.fragment;const k=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,k){this.nameStartCheck=b,this.nameCheck=g,this.isName=P,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},C);const S=this.opt.additionalNamespaces;S!=null&amp;&amp;((function(N,M){for(const R of Object.keys(M))$(N,R,M[R])})(this,S),Object.assign(this.ns,S))}else this.nameStartCheck=d,this.nameCheck=f,this.isName=D,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){var j;this.openWakaBang=&quot;&quot;,this.text=&quot;&quot;,this.name=&quot;&quot;,this.piTarget=&quot;&quot;,this.entity=&quot;&quot;,this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk=&quot;&quot;,this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:k}=this;this.state=k?13:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=k,this.xmlDeclPossible=!k,this.xmlDeclExpects=[&quot;version&quot;],this.entityReturnState=void 0;let{defaultXMLVersion:S}=this.opt;if(S===void 0){if(this.opt.forceXMLVersion===!0)throw new Error(&quot;forceXMLVersion set but defaultXMLVersion is not set&quot;);S=&quot;1.0&quot;}this.setXMLVersion(S),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(O),(j=this.readyHandler)===null||j===void 0||j.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(j,k){this[E[j]]=k}off(j){this[E[j]]=void 0}makeError(j){var k;let S=(k=this.fileName)!==null&amp;&amp;k!==void 0?k:&quot;&quot;;return this.trackPosition&amp;&amp;(S.length&gt;0&amp;&amp;(S+=&quot;:&quot;),S+=`${this.line}:${this.column}`),S.length&gt;0&amp;&amp;(S+=&quot;: &quot;),new Error(S+j)}fail(j){const k=this.makeError(j),S=this.errorHandler;if(S===void 0)throw k;return S(k),this}write(j){if(this.closed)return this.fail(&quot;cannot write after close; assign an onready handler.&quot;);let k=!1;j===null?(k=!0,j=&quot;&quot;):typeof j==&quot;object&quot;&amp;&amp;(j=j.toString()),this.carriedFromPrevious!==void 0&amp;&amp;(j=`${this.carriedFromPrevious}${j}`,this.carriedFromPrevious=void 0);let S=j.length;const N=j.charCodeAt(S-1);!k&amp;&amp;(N===13||N&gt;=55296&amp;&amp;N&lt;=56319)&amp;&amp;(this.carriedFromPrevious=j[S-1],S--,j=j.slice(0,S));const{stateTable:M}=this;for(this.chunk=j,this.i=0;this.i&lt;S;)M[this.state].call(this);return this.chunkPosition+=S,k?this.end():this}close(){return this.write(null)}getCode10(){const{chunk:j,i:k}=this;if(this.prevI=k,this.i=k+1,k&gt;=j.length)return-1;const S=j.charCodeAt(k);if(this.column++,S&lt;55296){if(S&gt;=32||S===9)return S;switch(S){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:return j.charCodeAt(k+1)===10&amp;&amp;(this.i=k+2),this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail(&quot;disallowed character.&quot;),S}}if(S&gt;56319)return S&gt;=57344&amp;&amp;S&lt;=65533||this.fail(&quot;disallowed character.&quot;),S;const N=65536+1024*(S-55296)+(j.charCodeAt(k+1)-56320);return this.i=k+2,N&gt;1114111&amp;&amp;this.fail(&quot;disallowed character.&quot;),N}getCode11(){const{chunk:j,i:k}=this;if(this.prevI=k,this.i=k+1,k&gt;=j.length)return-1;const S=j.charCodeAt(k);if(this.column++,S&lt;55296){if(S&gt;31&amp;&amp;S&lt;127||S&gt;159&amp;&amp;S!==8232||S===9)return S;switch(S){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:{const M=j.charCodeAt(k+1);M!==10&amp;&amp;M!==133||(this.i=k+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail(&quot;disallowed character.&quot;),S}}if(S&gt;56319)return S&gt;=57344&amp;&amp;S&lt;=65533||this.fail(&quot;disallowed character.&quot;),S;const N=65536+1024*(S-55296)+(j.charCodeAt(k+1)-56320);return this.i=k+2,N&gt;1114111&amp;&amp;this.fail(&quot;disallowed character.&quot;),N}getCodeNorm(){const j=this.getCode();return j===-2?10:j}unget(){this.i=this.prevI,this.column--}captureTo(j){let{i:k}=this;const{chunk:S}=this;for(;;){const N=this.getCode(),M=N===-2,R=M?10:N;if(R===-1||j.includes(R))return this.text+=S.slice(k,this.prevI),R;M&amp;&amp;(this.text+=S.slice(k,this.prevI)+`
`,k=this.i)}}captureToChar(j){let{i:k}=this;const{chunk:S}=this;for(;;){let N=this.getCode();switch(N){case-2:this.text+=S.slice(k,this.prevI)+`
`,k=this.i,N=10;break;case-1:return this.text+=S.slice(k),!1}if(N===j)return this.text+=S.slice(k,this.prevI),!0}}captureNameChars(){const{chunk:j,i:k}=this;for(;;){const S=this.getCode();if(S===-1)return this.name+=j.slice(k),-1;if(!f(S))return this.name+=j.slice(k,this.prevI),S===-2?10:S}}skipSpaces(){for(;;){const j=this.getCodeNorm();if(j===-1||!l(j))return j}}setXMLVersion(j){this.currentXMLVersion=j,j===&quot;1.0&quot;?(this.isChar=s,this.getCode=this.getCode10):(this.isChar=p,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&amp;&amp;(this.i++,this.column++),this.state=1}sBeginWhitespace(){const j=this.i,k=this.skipSpaces();switch(this.prevI!==j&amp;&amp;(this.xmlDeclPossible=!1),k){case 60:if(this.state=15,this.text.length!==0)throw new Error(&quot;no-empty text at start&quot;);break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}sDoctype(){var j;const k=this.captureTo(F);switch(k){case 62:(j=this.doctypeHandler)===null||j===void 0||j.call(this,this.text),this.text=&quot;&quot;,this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(k),k===91?this.state=4:T(k)&amp;&amp;(this.state=3,this.q=k)}}sDoctypeQuote(){const j=this.q;this.captureToChar(j)&amp;&amp;(this.text+=String.fromCodePoint(j),this.q=null,this.state=2)}sDTD(){const j=this.captureTo(H);j!==-1&amp;&amp;(this.text+=String.fromCodePoint(j),j===93?this.state=2:j===60?this.state=6:T(j)&amp;&amp;(this.state=5,this.q=j))}sDTDQuoted(){const j=this.q;this.captureToChar(j)&amp;&amp;(this.text+=String.fromCodePoint(j),this.state=4,this.q=null)}sDTDOpenWaka(){const j=this.getCodeNorm();switch(this.text+=String.fromCodePoint(j),j){case 33:this.state=7,this.openWakaBang=&quot;&quot;;break;case 63:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const j=String.fromCodePoint(this.getCodeNorm()),k=this.openWakaBang+=j;this.text+=j,k!==&quot;-&quot;&amp;&amp;(this.state=k===&quot;--&quot;?8:4,this.openWakaBang=&quot;&quot;)}sDTDComment(){this.captureToChar(45)&amp;&amp;(this.text+=&quot;-&quot;,this.state=9)}sDTDCommentEnding(){const j=this.getCodeNorm();this.text+=String.fromCodePoint(j),this.state=j===45?10:8}sDTDCommentEnded(){const j=this.getCodeNorm();this.text+=String.fromCodePoint(j),j===62?this.state=4:(this.fail(&quot;malformed comment.&quot;),this.state=8)}sDTDPI(){this.captureToChar(63)&amp;&amp;(this.text+=&quot;?&quot;,this.state=12)}sDTDPIEnding(){const j=this.getCodeNorm();this.text+=String.fromCodePoint(j),j===62&amp;&amp;(this.state=4)}sText(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:j}=this;const{chunk:k}=this;e:for(;;)switch(this.getCode()){case-2:this.entity+=k.slice(j,this.prevI)+`
`,j=this.i;break;case 59:{const{entityReturnState:S}=this,N=this.entity+k.slice(j,this.prevI);let M;this.state=S,N===&quot;&quot;?(this.fail(&quot;empty entity name.&quot;),M=&quot;&amp;;&quot;):(M=this.parseEntity(N),this.entity=&quot;&quot;),S===13&amp;&amp;this.textHandler===void 0||(this.text+=M);break e}case-1:this.entity+=k.slice(j);break e}}sOpenWaka(){const j=this.getCode();if(d(j))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(j){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang=&quot;&quot;,this.xmlDeclPossible=!1;break;case 63:this.state=23;break;default:this.fail(&quot;disallowed character in tag name&quot;),this.state=13,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case&quot;[CDATA[&quot;:this.sawRoot||this.reportedTextBeforeRoot||(this.fail(&quot;text data outside of root node.&quot;),this.reportedTextBeforeRoot=!0),this.closedRoot&amp;&amp;!this.reportedTextAfterRoot&amp;&amp;(this.fail(&quot;text data outside of root node.&quot;),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang=&quot;&quot;;break;case&quot;--&quot;:this.state=17,this.openWakaBang=&quot;&quot;;break;case&quot;DOCTYPE&quot;:this.state=2,(this.doctype||this.sawRoot)&amp;&amp;this.fail(&quot;inappropriately located doctype declaration.&quot;),this.openWakaBang=&quot;&quot;;break;default:this.openWakaBang.length&gt;=7&amp;&amp;this.fail(&quot;incorrect syntax.&quot;)}}sComment(){this.captureToChar(45)&amp;&amp;(this.state=18)}sCommentEnding(){var j;const k=this.getCodeNorm();k===45?(this.state=19,(j=this.commentHandler)===null||j===void 0||j.call(this,this.text),this.text=&quot;&quot;):(this.text+=&quot;-&quot;+String.fromCodePoint(k),this.state=17)}sCommentEnded(){const j=this.getCodeNorm();j!==62?(this.fail(&quot;malformed comment.&quot;),this.text+=&quot;--&quot;+String.fromCodePoint(j),this.state=17):this.state=13}sCData(){this.captureToChar(93)&amp;&amp;(this.state=21)}sCDataEnding(){const j=this.getCodeNorm();j===93?this.state=22:(this.text+=&quot;]&quot;+String.fromCodePoint(j),this.state=20)}sCDataEnding2(){var j;const k=this.getCodeNorm();switch(k){case 62:(j=this.cdataHandler)===null||j===void 0||j.call(this,this.text),this.text=&quot;&quot;,this.state=13;break;case 93:this.text+=&quot;]&quot;;break;default:this.text+=&quot;]]&quot;+String.fromCodePoint(k),this.state=20}}sPIFirstChar(){const j=this.getCodeNorm();this.nameStartCheck(j)?(this.piTarget+=String.fromCodePoint(j),this.state=24):j===63||l(j)?(this.fail(&quot;processing instruction without a target.&quot;),this.state=j===63?26:25):(this.fail(&quot;disallowed character in processing instruction name.&quot;),this.piTarget+=String.fromCodePoint(j),this.state=24)}sPIRest(){const{chunk:j,i:k}=this;for(;;){const S=this.getCodeNorm();if(S===-1)return void(this.piTarget+=j.slice(k));if(!this.nameCheck(S)){this.piTarget+=j.slice(k,this.prevI);const N=S===63;N||l(S)?this.piTarget===&quot;xml&quot;?(this.xmlDeclPossible||this.fail(&quot;an XML declaration must be at the start of the document.&quot;),this.state=N?33:27):this.state=N?26:25:(this.fail(&quot;disallowed character in processing instruction name.&quot;),this.piTarget+=String.fromCodePoint(S));break}}}sPIBody(){if(this.text.length===0){const j=this.getCodeNorm();j===63?this.state=26:l(j)||(this.text=String.fromCodePoint(j))}else this.captureToChar(63)&amp;&amp;(this.state=26)}sPIEnding(){var j;const k=this.getCodeNorm();if(k===62){const{piTarget:S}=this;S.toLowerCase()===&quot;xml&quot;&amp;&amp;this.fail(&quot;the XML declaration must appear at the start of the document.&quot;),(j=this.piHandler)===null||j===void 0||j.call(this,{target:S,body:this.text}),this.piTarget=this.text=&quot;&quot;,this.state=13}else k===63?this.text+=&quot;?&quot;:(this.text+=&quot;?&quot;+String.fromCodePoint(k),this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const j=this.skipSpaces();j!==63?j!==-1&amp;&amp;(this.state=28,this.name=String.fromCodePoint(j)):this.state=33}sXMLDeclName(){const j=this.captureTo(W);if(j===63)return this.state=33,this.name+=this.text,this.text=&quot;&quot;,void this.fail(&quot;XML declaration is incomplete.&quot;);if(l(j)||j===61){if(this.name+=this.text,this.text=&quot;&quot;,!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail(&quot;did not expect any more name/value pairs.&quot;);break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(&quot;expected one of &quot;+this.xmlDeclExpects.join(&quot;, &quot;))}this.state=j===61?30:29}}sXMLDeclEq(){const j=this.getCodeNorm();if(j===63)return this.state=33,void this.fail(&quot;XML declaration is incomplete.&quot;);l(j)||(j!==61&amp;&amp;this.fail(&quot;value required.&quot;),this.state=30)}sXMLDeclValueStart(){const j=this.getCodeNorm();if(j===63)return this.state=33,void this.fail(&quot;XML declaration is incomplete.&quot;);l(j)||(T(j)?this.q=j:(this.fail(&quot;value must be quoted.&quot;),this.q=32),this.state=31)}sXMLDeclValue(){const j=this.captureTo([this.q,63]);if(j===63)return this.state=33,this.text=&quot;&quot;,void this.fail(&quot;XML declaration is incomplete.&quot;);if(j===-1)return;const k=this.text;switch(this.text=&quot;&quot;,this.name){case&quot;version&quot;:{this.xmlDeclExpects=[&quot;encoding&quot;,&quot;standalone&quot;];const S=k;this.xmlDecl.version=S,/^1\.[0-9]+$/.test(S)?this.opt.forceXMLVersion||this.setXMLVersion(S):this.fail(&quot;version number must match /^1\\.[0-9]+$/.&quot;);break}case&quot;encoding&quot;:/^[A-Za-z][A-Za-z0-9._-]*$/.test(k)||this.fail(&quot;encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.&quot;),this.xmlDeclExpects=[&quot;standalone&quot;],this.xmlDecl.encoding=k;break;case&quot;standalone&quot;:k!==&quot;yes&quot;&amp;&amp;k!==&quot;no&quot;&amp;&amp;this.fail(&#039;standalone value must match &quot;yes&quot; or &quot;no&quot;.&#039;),this.xmlDeclExpects=[],this.xmlDecl.standalone=k}this.name=&quot;&quot;,this.state=32}sXMLDeclSeparator(){const j=this.getCodeNorm();j!==63?(l(j)||(this.fail(&quot;whitespace required.&quot;),this.unget()),this.state=27):this.state=33}sXMLDeclEnding(){var j;this.getCodeNorm()===62?(this.piTarget!==&quot;xml&quot;?this.fail(&quot;processing instructions are not allowed before root.&quot;):this.name!==&quot;version&quot;&amp;&amp;this.xmlDeclExpects.includes(&quot;version&quot;)&amp;&amp;this.fail(&quot;XML declaration must contain a version.&quot;),(j=this.xmldeclHandler)===null||j===void 0||j.call(this,this.xmlDecl),this.name=&quot;&quot;,this.piTarget=this.text=&quot;&quot;,this.state=13):this.fail(&quot;The character ? is disallowed anywhere in XML declarations.&quot;),this.xmlDeclPossible=!1}sOpenTag(){var j;const k=this.captureNameChars();if(k===-1)return;const S=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name=&quot;&quot;,this.xmlnsOpt&amp;&amp;(this.topNS=S.ns=Object.create(null)),(j=this.openTagStartHandler)===null||j===void 0||j.call(this,S),this.sawRoot=!0,!this.fragmentOpt&amp;&amp;this.closedRoot&amp;&amp;this.fail(&quot;documents may contain only one root.&quot;),k){case 62:this.openTag();break;case 47:this.state=35;break;default:l(k)||this.fail(&quot;disallowed character in tag name.&quot;),this.state=36}}sOpenTagSlash(){this.getCode()===62?this.openSelfClosingTag():(this.fail(&quot;forward-slash in opening tag not followed by &gt;.&quot;),this.state=36)}sAttrib(){const j=this.skipSpaces();j!==-1&amp;&amp;(d(j)?(this.unget(),this.state=37):j===62?this.openTag():j===47?this.state=35:this.fail(&quot;disallowed character in attribute name.&quot;))}sAttribName(){const j=this.captureNameChars();j===61?this.state=39:l(j)?this.state=38:j===62?(this.fail(&quot;attribute without value.&quot;),this.pushAttrib(this.name,this.name),this.name=this.text=&quot;&quot;,this.openTag()):j!==-1&amp;&amp;this.fail(&quot;disallowed character in attribute name.&quot;)}sAttribNameSawWhite(){const j=this.skipSpaces();switch(j){case-1:return;case 61:this.state=39;break;default:this.fail(&quot;attribute without value.&quot;),this.text=&quot;&quot;,this.name=&quot;&quot;,j===62?this.openTag():d(j)?(this.unget(),this.state=37):(this.fail(&quot;disallowed character in attribute name.&quot;),this.state=36)}}sAttribValue(){const j=this.getCodeNorm();T(j)?(this.q=j,this.state=40):l(j)||(this.fail(&quot;unquoted attribute value.&quot;),this.state=42,this.unget())}sAttribValueQuoted(){const{q:j,chunk:k}=this;let{i:S}=this;for(;;)switch(this.getCode()){case j:return this.pushAttrib(this.name,this.text+k.slice(S,this.prevI)),this.name=this.text=&quot;&quot;,this.q=null,void(this.state=41);case 38:return this.text+=k.slice(S,this.prevI),this.state=14,void(this.entityReturnState=40);case 10:case-2:case 9:this.text+=k.slice(S,this.prevI)+&quot; &quot;,S=this.i;break;case 60:return this.text+=k.slice(S,this.prevI),void this.fail(&quot;disallowed character.&quot;);case-1:return void(this.text+=k.slice(S))}}sAttribValueClosed(){const j=this.getCodeNorm();l(j)?this.state=36:j===62?this.openTag():j===47?this.state=35:d(j)?(this.fail(&quot;no whitespace between attributes.&quot;),this.unget(),this.state=37):this.fail(&quot;disallowed character in attribute name.&quot;)}sAttribValueUnquoted(){const j=this.captureTo(K);switch(j){case 38:this.state=14,this.entityReturnState=42;break;case 60:this.fail(&quot;disallowed character.&quot;);break;case-1:break;default:this.text.includes(&quot;]]&gt;&quot;)&amp;&amp;this.fail(&#039;the string &quot;]]&gt;&quot; is disallowed in char data.&#039;),this.pushAttrib(this.name,this.text),this.name=this.text=&quot;&quot;,j===62?this.openTag():this.state=36}}sCloseTag(){const j=this.captureNameChars();j===62?this.closeTag():l(j)?this.state=44:j!==-1&amp;&amp;this.fail(&quot;disallowed character in closing tag.&quot;)}sCloseTagSawWhite(){switch(this.skipSpaces()){case 62:this.closeTag();break;case-1:break;default:this.fail(&quot;disallowed character in closing tag.&quot;)}}handleTextInRoot(){let{i:j,forbiddenState:k}=this;const{chunk:S,textHandler:N}=this;e:for(;;)switch(this.getCode()){case 60:if(this.state=15,N!==void 0){const{text:M}=this,R=S.slice(j,this.prevI);M.length!==0?(N(M+R),this.text=&quot;&quot;):R.length!==0&amp;&amp;N(R)}k=0;break e;case 38:this.state=14,this.entityReturnState=13,N!==void 0&amp;&amp;(this.text+=S.slice(j,this.prevI)),k=0;break e;case 93:switch(k){case 0:k=1;break;case 1:k=2;break;case 2:break;default:throw new Error(&quot;impossible state&quot;)}break;case 62:k===2&amp;&amp;this.fail(&#039;the string &quot;]]&gt;&quot; is disallowed in char data.&#039;),k=0;break;case-2:N!==void 0&amp;&amp;(this.text+=S.slice(j,this.prevI)+`
`),j=this.i,k=0;break;case-1:N!==void 0&amp;&amp;(this.text+=S.slice(j));break e;default:k=0}this.forbiddenState=k}handleTextOutsideRoot(){let{i:j}=this;const{chunk:k,textHandler:S}=this;let N=!1;e:for(;;){const M=this.getCode();switch(M){case 60:if(this.state=15,S!==void 0){const{text:R}=this,B=k.slice(j,this.prevI);R.length!==0?(S(R+B),this.text=&quot;&quot;):B.length!==0&amp;&amp;S(B)}break e;case 38:this.state=14,this.entityReturnState=13,S!==void 0&amp;&amp;(this.text+=k.slice(j,this.prevI)),N=!0;break e;case-2:S!==void 0&amp;&amp;(this.text+=k.slice(j,this.prevI)+`
`),j=this.i;break;case-1:S!==void 0&amp;&amp;(this.text+=k.slice(j));break e;default:l(M)||(N=!0)}}N&amp;&amp;(this.sawRoot||this.reportedTextBeforeRoot||(this.fail(&quot;text data outside of root node.&quot;),this.reportedTextBeforeRoot=!0),this.closedRoot&amp;&amp;!this.reportedTextAfterRoot&amp;&amp;(this.fail(&quot;text data outside of root node.&quot;),this.reportedTextAfterRoot=!0))}pushAttribNS(j,k){var S;const{prefix:N,local:M}=this.qname(j),R={name:j,prefix:N,local:M,value:k};if(this.attribList.push(R),(S=this.attributeHandler)===null||S===void 0||S.call(this,R),N===&quot;xmlns&quot;){const B=k.trim();this.currentXMLVersion===&quot;1.0&quot;&amp;&amp;B===&quot;&quot;&amp;&amp;this.fail(&quot;invalid attempt to undefine prefix in XML 1.0&quot;),this.topNS[M]=B,$(this,M,B)}else if(j===&quot;xmlns&quot;){const B=k.trim();this.topNS[&quot;&quot;]=B,$(this,&quot;&quot;,B)}}pushAttribPlain(j,k){var S;const N={name:j,value:k};this.attribList.push(N),(S=this.attributeHandler)===null||S===void 0||S.call(this,N)}end(){var j,k;this.sawRoot||this.fail(&quot;document must contain a root element.&quot;);const{tags:S}=this;for(;S.length&gt;0;){const M=S.pop();this.fail(&quot;unclosed tag: &quot;+M.name)}this.state!==0&amp;&amp;this.state!==13&amp;&amp;this.fail(&quot;unexpected end.&quot;);const{text:N}=this;return N.length!==0&amp;&amp;((j=this.textHandler)===null||j===void 0||j.call(this,N),this.text=&quot;&quot;),this._closed=!0,(k=this.endHandler)===null||k===void 0||k.call(this),this._init(),this}resolve(j){var k,S;let N=this.topNS[j];if(N!==void 0)return N;const{tags:M}=this;for(let R=M.length-1;R&gt;=0;R--)if(N=M[R].ns[j],N!==void 0)return N;return N=this.ns[j],N!==void 0?N:(S=(k=this.opt).resolvePrefix)===null||S===void 0?void 0:S.call(k,j)}qname(j){const k=j.indexOf(&quot;:&quot;);if(k===-1)return{prefix:&quot;&quot;,local:j};const S=j.slice(k+1),N=j.slice(0,k);return(N===&quot;&quot;||S===&quot;&quot;||S.includes(&quot;:&quot;))&amp;&amp;this.fail(`malformed name: ${j}.`),{prefix:N,local:S}}processAttribsNS(){var j;const{attribList:k}=this,S=this.tag;{const{prefix:R,local:B}=this.qname(S.name);S.prefix=R,S.local=B;const Y=S.uri=(j=this.resolve(R))!==null&amp;&amp;j!==void 0?j:&quot;&quot;;R!==&quot;&quot;&amp;&amp;(R===&quot;xmlns&quot;&amp;&amp;this.fail(&#039;tags may not have &quot;xmlns&quot; as prefix.&#039;),Y===&quot;&quot;&amp;&amp;(this.fail(`unbound namespace prefix: ${JSON.stringify(R)}.`),S.uri=R))}if(k.length===0)return;const{attributes:N}=S,M=new Set;for(const R of k){const{name:B,prefix:Y,local:Z}=R;let ie,U;Y===&quot;&quot;?(ie=B===&quot;xmlns&quot;?_:&quot;&quot;,U=B):(ie=this.resolve(Y),ie===void 0&amp;&amp;(this.fail(`unbound namespace prefix: ${JSON.stringify(Y)}.`),ie=Y),U=`{${ie}}${Z}`),M.has(U)&amp;&amp;this.fail(`duplicate attribute: ${U}.`),M.add(U),R.uri=ie,N[B]=R}this.attribList=[]}processAttribsPlain(){const{attribList:j}=this,k=this.tag.attributes;for(const{name:S,value:N}of j)k[S]!==void 0&amp;&amp;this.fail(`duplicate attribute: ${S}.`),k[S]=N;this.attribList=[]}openTag(){var j;this.processAttribs();const{tags:k}=this,S=this.tag;S.isSelfClosing=!1,(j=this.openTagHandler)===null||j===void 0||j.call(this,S),k.push(S),this.state=13,this.name=&quot;&quot;}openSelfClosingTag(){var j,k,S;this.processAttribs();const{tags:N}=this,M=this.tag;M.isSelfClosing=!0,(j=this.openTagHandler)===null||j===void 0||j.call(this,M),(k=this.closeTagHandler)===null||k===void 0||k.call(this,M),(this.tag=(S=N[N.length-1])!==null&amp;&amp;S!==void 0?S:null)===null&amp;&amp;(this.closedRoot=!0),this.state=13,this.name=&quot;&quot;}closeTag(){const{tags:j,name:k}=this;if(this.state=13,this.name=&quot;&quot;,k===&quot;&quot;)return this.fail(&quot;weird empty close tag.&quot;),void(this.text+=&quot;&lt;/&gt;&quot;);const S=this.closeTagHandler;let N=j.length;for(;N-- &gt;0;){const M=this.tag=j.pop();if(this.topNS=M.ns,S?.(M),M.name===k)break;this.fail(&quot;unexpected close tag.&quot;)}N===0?this.closedRoot=!0:N&lt;0&amp;&amp;(this.fail(`unmatched closing tag: ${k}.`),this.text+=`&lt;/${k}&gt;`)}parseEntity(j){if(j[0]!==&quot;#&quot;){const S=this.ENTITIES[j];return S!==void 0?S:(this.fail(this.isName(j)?&quot;undefined entity.&quot;:&quot;disallowed character in entity name.&quot;),`&amp;${j};`)}let k=NaN;return j[1]===&quot;x&quot;&amp;&amp;/^#x[0-9a-f]+$/i.test(j)?k=parseInt(j.slice(2),16):/^#[0-9]+$/.test(j)&amp;&amp;(k=parseInt(j.slice(1),10)),this.isChar(k)?String.fromCodePoint(k):(this.fail(&quot;malformed character entity.&quot;),`&amp;${j};`)}}},{&quot;xmlchars/xml/1.0/ed5&quot;:543,&quot;xmlchars/xml/1.1/ed2&quot;:544,&quot;xmlchars/xmlns/1.0/ed3&quot;:545}],497:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer;function a(u,l){this._block=i.alloc(u),this._finalSize=l,this._blockSize=u,this._len=0}a.prototype.update=function(u,l){typeof u==&quot;string&quot;&amp;&amp;(l=l||&quot;utf8&quot;,u=i.from(u,l));for(var s=this._block,d=this._blockSize,f=u.length,h=this._len,m=0;m&lt;f;){for(var p=h%d,b=Math.min(f-m,d-p),g=0;g&lt;b;g++)s[p+g]=u[m+g];m+=b,(h+=b)%d==0&amp;&amp;this._update(s)}return this._len+=f,this},a.prototype.digest=function(u){var l=this._len%this._blockSize;this._block[l]=128,this._block.fill(0,l+1),l&gt;=this._finalSize&amp;&amp;(this._update(this._block),this._block.fill(0));var s=8*this._len;if(s&lt;=4294967295)this._block.writeUInt32BE(s,this._blockSize-4);else{var d=(4294967295&amp;s)&gt;&gt;&gt;0,f=(s-d)/4294967296;this._block.writeUInt32BE(f,this._blockSize-8),this._block.writeUInt32BE(d,this._blockSize-4)}this._update(this._block);var h=this._hash();return u?h.toString(u):h},a.prototype._update=function(){throw new Error(&quot;_update must be implemented by subclass&quot;)},n.exports=a},{&quot;safe-buffer&quot;:494}],498:[function(t,n,o){var i=n.exports=function(a){a=a.toLowerCase();var u=i[a];if(!u)throw new Error(a+&quot; is not supported (we accept pull requests)&quot;);return new u};i.sha=t(&quot;./sha&quot;),i.sha1=t(&quot;./sha1&quot;),i.sha224=t(&quot;./sha224&quot;),i.sha256=t(&quot;./sha256&quot;),i.sha384=t(&quot;./sha384&quot;),i.sha512=t(&quot;./sha512&quot;)},{&quot;./sha&quot;:499,&quot;./sha1&quot;:500,&quot;./sha224&quot;:501,&quot;./sha256&quot;:502,&quot;./sha384&quot;:503,&quot;./sha512&quot;:504}],499:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function d(){this.init(),this._w=s,a.call(this,64,56)}function f(m){return m&lt;&lt;30|m&gt;&gt;&gt;2}function h(m,p,b,g){return m===0?p&amp;b|~p&amp;g:m===2?p&amp;b|p&amp;g|b&amp;g:p^b^g}i(d,a),d.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},d.prototype._update=function(m){for(var p,b=this._w,g=0|this._a,y=0|this._b,v=0|this._c,_=0|this._d,C=0|this._e,O=0;O&lt;16;++O)b[O]=m.readInt32BE(4*O);for(;O&lt;80;++O)b[O]=b[O-3]^b[O-8]^b[O-14]^b[O-16];for(var T=0;T&lt;80;++T){var V=~~(T/20),F=0|((p=g)&lt;&lt;5|p&gt;&gt;&gt;27)+h(V,y,v,_)+C+b[T]+l[V];C=_,_=v,v=f(y),y=g,g=F}this._a=g+this._a|0,this._b=y+this._b|0,this._c=v+this._c|0,this._d=_+this._d|0,this._e=C+this._e|0},d.prototype._hash=function(){var m=u.allocUnsafe(20);return m.writeInt32BE(0|this._a,0),m.writeInt32BE(0|this._b,4),m.writeInt32BE(0|this._c,8),m.writeInt32BE(0|this._d,12),m.writeInt32BE(0|this._e,16),m},n.exports=d},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],500:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function d(){this.init(),this._w=s,a.call(this,64,56)}function f(p){return p&lt;&lt;5|p&gt;&gt;&gt;27}function h(p){return p&lt;&lt;30|p&gt;&gt;&gt;2}function m(p,b,g,y){return p===0?b&amp;g|~b&amp;y:p===2?b&amp;g|b&amp;y|g&amp;y:b^g^y}i(d,a),d.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},d.prototype._update=function(p){for(var b,g=this._w,y=0|this._a,v=0|this._b,_=0|this._c,C=0|this._d,O=0|this._e,T=0;T&lt;16;++T)g[T]=p.readInt32BE(4*T);for(;T&lt;80;++T)g[T]=(b=g[T-3]^g[T-8]^g[T-14]^g[T-16])&lt;&lt;1|b&gt;&gt;&gt;31;for(var V=0;V&lt;80;++V){var F=~~(V/20),H=f(y)+m(F,v,_,C)+O+g[V]+l[F]|0;O=C,C=_,_=h(v),v=y,y=H}this._a=y+this._a|0,this._b=v+this._b|0,this._c=_+this._c|0,this._d=C+this._d|0,this._e=O+this._e|0},d.prototype._hash=function(){var p=u.allocUnsafe(20);return p.writeInt32BE(0|this._a,0),p.writeInt32BE(0|this._b,4),p.writeInt32BE(0|this._c,8),p.writeInt32BE(0|this._d,12),p.writeInt32BE(0|this._e,16),p},n.exports=d},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],501:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;./sha256&quot;),u=t(&quot;./hash&quot;),l=t(&quot;safe-buffer&quot;).Buffer,s=new Array(64);function d(){this.init(),this._w=s,u.call(this,64,56)}i(d,a),d.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},d.prototype._hash=function(){var f=l.allocUnsafe(28);return f.writeInt32BE(this._a,0),f.writeInt32BE(this._b,4),f.writeInt32BE(this._c,8),f.writeInt32BE(this._d,12),f.writeInt32BE(this._e,16),f.writeInt32BE(this._f,20),f.writeInt32BE(this._g,24),f},n.exports=d},{&quot;./hash&quot;:497,&quot;./sha256&quot;:502,inherits:440,&quot;safe-buffer&quot;:494}],502:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function d(){this.init(),this._w=s,a.call(this,64,56)}function f(g,y,v){return v^g&amp;(y^v)}function h(g,y,v){return g&amp;y|v&amp;(g|y)}function m(g){return(g&gt;&gt;&gt;2|g&lt;&lt;30)^(g&gt;&gt;&gt;13|g&lt;&lt;19)^(g&gt;&gt;&gt;22|g&lt;&lt;10)}function p(g){return(g&gt;&gt;&gt;6|g&lt;&lt;26)^(g&gt;&gt;&gt;11|g&lt;&lt;21)^(g&gt;&gt;&gt;25|g&lt;&lt;7)}function b(g){return(g&gt;&gt;&gt;7|g&lt;&lt;25)^(g&gt;&gt;&gt;18|g&lt;&lt;14)^g&gt;&gt;&gt;3}i(d,a),d.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},d.prototype._update=function(g){for(var y,v=this._w,_=0|this._a,C=0|this._b,O=0|this._c,T=0|this._d,V=0|this._e,F=0|this._f,H=0|this._g,W=0|this._h,K=0;K&lt;16;++K)v[K]=g.readInt32BE(4*K);for(;K&lt;64;++K)v[K]=0|(((y=v[K-2])&gt;&gt;&gt;17|y&lt;&lt;15)^(y&gt;&gt;&gt;19|y&lt;&lt;13)^y&gt;&gt;&gt;10)+v[K-7]+b(v[K-15])+v[K-16];for(var $=0;$&lt;64;++$){var P=W+p(V)+f(V,F,H)+l[$]+v[$]|0,D=m(_)+h(_,C,O)|0;W=H,H=F,F=V,V=T+P|0,T=O,O=C,C=_,_=P+D|0}this._a=_+this._a|0,this._b=C+this._b|0,this._c=O+this._c|0,this._d=T+this._d|0,this._e=V+this._e|0,this._f=F+this._f|0,this._g=H+this._g|0,this._h=W+this._h|0},d.prototype._hash=function(){var g=u.allocUnsafe(32);return g.writeInt32BE(this._a,0),g.writeInt32BE(this._b,4),g.writeInt32BE(this._c,8),g.writeInt32BE(this._d,12),g.writeInt32BE(this._e,16),g.writeInt32BE(this._f,20),g.writeInt32BE(this._g,24),g.writeInt32BE(this._h,28),g},n.exports=d},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],503:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;./sha512&quot;),u=t(&quot;./hash&quot;),l=t(&quot;safe-buffer&quot;).Buffer,s=new Array(160);function d(){this.init(),this._w=s,u.call(this,128,112)}i(d,a),d.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},d.prototype._hash=function(){var f=l.allocUnsafe(48);function h(m,p,b){f.writeInt32BE(m,b),f.writeInt32BE(p,b+4)}return h(this._ah,this._al,0),h(this._bh,this._bl,8),h(this._ch,this._cl,16),h(this._dh,this._dl,24),h(this._eh,this._el,32),h(this._fh,this._fl,40),f},n.exports=d},{&quot;./hash&quot;:497,&quot;./sha512&quot;:504,inherits:440,&quot;safe-buffer&quot;:494}],504:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function d(){this.init(),this._w=s,a.call(this,128,112)}function f(C,O,T){return T^C&amp;(O^T)}function h(C,O,T){return C&amp;O|T&amp;(C|O)}function m(C,O){return(C&gt;&gt;&gt;28|O&lt;&lt;4)^(O&gt;&gt;&gt;2|C&lt;&lt;30)^(O&gt;&gt;&gt;7|C&lt;&lt;25)}function p(C,O){return(C&gt;&gt;&gt;14|O&lt;&lt;18)^(C&gt;&gt;&gt;18|O&lt;&lt;14)^(O&gt;&gt;&gt;9|C&lt;&lt;23)}function b(C,O){return(C&gt;&gt;&gt;1|O&lt;&lt;31)^(C&gt;&gt;&gt;8|O&lt;&lt;24)^C&gt;&gt;&gt;7}function g(C,O){return(C&gt;&gt;&gt;1|O&lt;&lt;31)^(C&gt;&gt;&gt;8|O&lt;&lt;24)^(C&gt;&gt;&gt;7|O&lt;&lt;25)}function y(C,O){return(C&gt;&gt;&gt;19|O&lt;&lt;13)^(O&gt;&gt;&gt;29|C&lt;&lt;3)^C&gt;&gt;&gt;6}function v(C,O){return(C&gt;&gt;&gt;19|O&lt;&lt;13)^(O&gt;&gt;&gt;29|C&lt;&lt;3)^(C&gt;&gt;&gt;6|O&lt;&lt;26)}function _(C,O){return C&gt;&gt;&gt;0&lt;O&gt;&gt;&gt;0?1:0}i(d,a),d.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},d.prototype._update=function(C){for(var O=this._w,T=0|this._ah,V=0|this._bh,F=0|this._ch,H=0|this._dh,W=0|this._eh,K=0|this._fh,$=0|this._gh,P=0|this._hh,D=0|this._al,E=0|this._bl,j=0|this._cl,k=0|this._dl,S=0|this._el,N=0|this._fl,M=0|this._gl,R=0|this._hl,B=0;B&lt;32;B+=2)O[B]=C.readInt32BE(4*B),O[B+1]=C.readInt32BE(4*B+4);for(;B&lt;160;B+=2){var Y=O[B-30],Z=O[B-30+1],ie=b(Y,Z),U=g(Z,Y),ee=y(Y=O[B-4],Z=O[B-4+1]),z=v(Z,Y),I=O[B-14],X=O[B-14+1],re=O[B-32],ne=O[B-32+1],Q=U+X|0,te=ie+I+_(Q,U)|0;te=(te=te+ee+_(Q=Q+z|0,z)|0)+re+_(Q=Q+ne|0,ne)|0,O[B]=te,O[B+1]=Q}for(var de=0;de&lt;160;de+=2){te=O[de],Q=O[de+1];var le=h(T,V,F),se=h(D,E,j),fe=m(T,D),he=m(D,T),ue=p(W,S),ge=p(S,W),xe=l[de],pe=l[de+1],ce=f(W,K,$),Ce=f(S,N,M),Me=R+ge|0,Se=P+ue+_(Me,R)|0;Se=(Se=(Se=Se+ce+_(Me=Me+Ce|0,Ce)|0)+xe+_(Me=Me+pe|0,pe)|0)+te+_(Me=Me+Q|0,Q)|0;var Te=he+se|0,Qe=fe+le+_(Te,he)|0;P=$,R=M,$=K,M=N,K=W,N=S,W=H+Se+_(S=k+Me|0,k)|0,H=F,k=j,F=V,j=E,V=T,E=D,T=Se+Qe+_(D=Me+Te|0,Me)|0}this._al=this._al+D|0,this._bl=this._bl+E|0,this._cl=this._cl+j|0,this._dl=this._dl+k|0,this._el=this._el+S|0,this._fl=this._fl+N|0,this._gl=this._gl+M|0,this._hl=this._hl+R|0,this._ah=this._ah+T+_(this._al,D)|0,this._bh=this._bh+V+_(this._bl,E)|0,this._ch=this._ch+F+_(this._cl,j)|0,this._dh=this._dh+H+_(this._dl,k)|0,this._eh=this._eh+W+_(this._el,S)|0,this._fh=this._fh+K+_(this._fl,N)|0,this._gh=this._gh+$+_(this._gl,M)|0,this._hh=this._hh+P+_(this._hl,R)|0},d.prototype._hash=function(){var C=u.allocUnsafe(64);function O(T,V,F){C.writeInt32BE(T,F),C.writeInt32BE(V,F+4)}return O(this._ah,this._al,0),O(this._bh,this._bl,8),O(this._ch,this._cl,16),O(this._dh,this._dl,24),O(this._eh,this._el,32),O(this._fh,this._fl,40),O(this._gh,this._gl,48),O(this._hh,this._hl,56),C},n.exports=d},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],505:[function(t,n,o){n.exports=a;var i=t(&quot;events&quot;).EventEmitter;function a(){i.call(this)}t(&quot;inherits&quot;)(a,i),a.Readable=t(&quot;readable-stream/readable.js&quot;),a.Writable=t(&quot;readable-stream/writable.js&quot;),a.Duplex=t(&quot;readable-stream/duplex.js&quot;),a.Transform=t(&quot;readable-stream/transform.js&quot;),a.PassThrough=t(&quot;readable-stream/passthrough.js&quot;),a.Stream=a,a.prototype.pipe=function(u,l){var s=this;function d(y){u.writable&amp;&amp;u.write(y)===!1&amp;&amp;s.pause&amp;&amp;s.pause()}function f(){s.readable&amp;&amp;s.resume&amp;&amp;s.resume()}s.on(&quot;data&quot;,d),u.on(&quot;drain&quot;,f),u._isStdio||l&amp;&amp;l.end===!1||(s.on(&quot;end&quot;,m),s.on(&quot;close&quot;,p));var h=!1;function m(){h||(h=!0,u.end())}function p(){h||(h=!0,typeof u.destroy==&quot;function&quot;&amp;&amp;u.destroy())}function b(y){if(g(),i.listenerCount(this,&quot;error&quot;)===0)throw y}function g(){s.removeListener(&quot;data&quot;,d),u.removeListener(&quot;drain&quot;,f),s.removeListener(&quot;end&quot;,m),s.removeListener(&quot;close&quot;,p),s.removeListener(&quot;error&quot;,b),u.removeListener(&quot;error&quot;,b),s.removeListener(&quot;end&quot;,g),s.removeListener(&quot;close&quot;,g),u.removeListener(&quot;close&quot;,g)}return s.on(&quot;error&quot;,b),u.on(&quot;error&quot;,b),s.on(&quot;end&quot;,g),s.on(&quot;close&quot;,g),u.on(&quot;close&quot;,g),u.emit(&quot;pipe&quot;,s),u}},{events:422,inherits:440,&quot;readable-stream/duplex.js&quot;:507,&quot;readable-stream/passthrough.js&quot;:516,&quot;readable-stream/readable.js&quot;:517,&quot;readable-stream/transform.js&quot;:518,&quot;readable-stream/writable.js&quot;:519}],506:[function(t,n,o){var i={}.toString;n.exports=Array.isArray||function(a){return i.call(a)==&quot;[object Array]&quot;}},{}],507:[function(t,n,o){n.exports=t(&quot;./lib/_stream_duplex.js&quot;)},{&quot;./lib/_stream_duplex.js&quot;:508}],508:[function(t,n,o){var i=t(&quot;process-nextick-args&quot;),a=Object.keys||function(g){var y=[];for(var v in g)y.push(v);return y};n.exports=m;var u=Object.create(t(&quot;core-util-is&quot;));u.inherits=t(&quot;inherits&quot;);var l=t(&quot;./_stream_readable&quot;),s=t(&quot;./_stream_writable&quot;);u.inherits(m,l);for(var d=a(s.prototype),f=0;f&lt;d.length;f++){var h=d[f];m.prototype[h]||(m.prototype[h]=s.prototype[h])}function m(g){if(!(this instanceof m))return new m(g);l.call(this,g),s.call(this,g),g&amp;&amp;g.readable===!1&amp;&amp;(this.readable=!1),g&amp;&amp;g.writable===!1&amp;&amp;(this.writable=!1),this.allowHalfOpen=!0,g&amp;&amp;g.allowHalfOpen===!1&amp;&amp;(this.allowHalfOpen=!1),this.once(&quot;end&quot;,p)}function p(){this.allowHalfOpen||this._writableState.ended||i.nextTick(b,this)}function b(g){g.end()}Object.defineProperty(m.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(m.prototype,&quot;destroyed&quot;,{get:function(){return this._readableState!==void 0&amp;&amp;this._writableState!==void 0&amp;&amp;this._readableState.destroyed&amp;&amp;this._writableState.destroyed},set:function(g){this._readableState!==void 0&amp;&amp;this._writableState!==void 0&amp;&amp;(this._readableState.destroyed=g,this._writableState.destroyed=g)}}),m.prototype._destroy=function(g,y){this.push(null),this.end(),i.nextTick(y,g)}},{&quot;./_stream_readable&quot;:510,&quot;./_stream_writable&quot;:512,&quot;core-util-is&quot;:383,inherits:440,&quot;process-nextick-args&quot;:466}],509:[function(t,n,o){n.exports=u;var i=t(&quot;./_stream_transform&quot;),a=Object.create(t(&quot;core-util-is&quot;));function u(l){if(!(this instanceof u))return new u(l);i.call(this,l)}a.inherits=t(&quot;inherits&quot;),a.inherits(u,i),u.prototype._transform=function(l,s,d){d(null,l)}},{&quot;./_stream_transform&quot;:511,&quot;core-util-is&quot;:383,inherits:440}],510:[function(t,n,o){(function(i,a){(function(){var u=t(&quot;process-nextick-args&quot;);n.exports=T;var l,s=t(&quot;isarray&quot;);T.ReadableState=O,t(&quot;events&quot;).EventEmitter;var d=function(R,B){return R.listeners(B).length},f=t(&quot;./internal/streams/stream&quot;),h=t(&quot;safe-buffer&quot;).Buffer,m=(a!==void 0?a:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},p=Object.create(t(&quot;core-util-is&quot;));p.inherits=t(&quot;inherits&quot;);var b=t(&quot;util&quot;),g=void 0;g=b&amp;&amp;b.debuglog?b.debuglog(&quot;stream&quot;):function(){};var y,v=t(&quot;./internal/streams/BufferList&quot;),_=t(&quot;./internal/streams/destroy&quot;);p.inherits(T,f);var C=[&quot;error&quot;,&quot;close&quot;,&quot;destroy&quot;,&quot;pause&quot;,&quot;resume&quot;];function O(R,B){R=R||{};var Y=B instanceof(l=l||t(&quot;./_stream_duplex&quot;));this.objectMode=!!R.objectMode,Y&amp;&amp;(this.objectMode=this.objectMode||!!R.readableObjectMode);var Z=R.highWaterMark,ie=R.readableHighWaterMark,U=this.objectMode?16:16384;this.highWaterMark=Z||Z===0?Z:Y&amp;&amp;(ie||ie===0)?ie:U,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=R.defaultEncoding||&quot;utf8&quot;,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,R.encoding&amp;&amp;(y||(y=t(&quot;string_decoder/&quot;).StringDecoder),this.decoder=new y(R.encoding),this.encoding=R.encoding)}function T(R){if(l=l||t(&quot;./_stream_duplex&quot;),!(this instanceof T))return new T(R);this._readableState=new O(R,this),this.readable=!0,R&amp;&amp;(typeof R.read==&quot;function&quot;&amp;&amp;(this._read=R.read),typeof R.destroy==&quot;function&quot;&amp;&amp;(this._destroy=R.destroy)),f.call(this)}function V(R,B,Y,Z,ie){var U,ee=R._readableState;return B===null?(ee.reading=!1,(function(z,I){if(!I.ended){if(I.decoder){var X=I.decoder.end();X&amp;&amp;X.length&amp;&amp;(I.buffer.push(X),I.length+=I.objectMode?1:X.length)}I.ended=!0,W(z)}})(R,ee)):(ie||(U=(function(z,I){var X;re=I,h.isBuffer(re)||re instanceof m||typeof I==&quot;string&quot;||I===void 0||z.objectMode||(X=new TypeError(&quot;Invalid non-string/buffer chunk&quot;));var re;return X})(ee,B)),U?R.emit(&quot;error&quot;,U):ee.objectMode||B&amp;&amp;B.length&gt;0?(typeof B==&quot;string&quot;||ee.objectMode||Object.getPrototypeOf(B)===h.prototype||(B=(function(z){return h.from(z)})(B)),Z?ee.endEmitted?R.emit(&quot;error&quot;,new Error(&quot;stream.unshift() after end event&quot;)):F(R,ee,B,!0):ee.ended?R.emit(&quot;error&quot;,new Error(&quot;stream.push() after EOF&quot;)):(ee.reading=!1,ee.decoder&amp;&amp;!Y?(B=ee.decoder.write(B),ee.objectMode||B.length!==0?F(R,ee,B,!1):$(R,ee)):F(R,ee,B,!1))):Z||(ee.reading=!1)),(function(z){return!z.ended&amp;&amp;(z.needReadable||z.length&lt;z.highWaterMark||z.length===0)})(ee)}function F(R,B,Y,Z){B.flowing&amp;&amp;B.length===0&amp;&amp;!B.sync?(R.emit(&quot;data&quot;,Y),R.read(0)):(B.length+=B.objectMode?1:Y.length,Z?B.buffer.unshift(Y):B.buffer.push(Y),B.needReadable&amp;&amp;W(R)),$(R,B)}Object.defineProperty(T.prototype,&quot;destroyed&quot;,{get:function(){return this._readableState!==void 0&amp;&amp;this._readableState.destroyed},set:function(R){this._readableState&amp;&amp;(this._readableState.destroyed=R)}}),T.prototype.destroy=_.destroy,T.prototype._undestroy=_.undestroy,T.prototype._destroy=function(R,B){this.push(null),B(R)},T.prototype.push=function(R,B){var Y,Z=this._readableState;return Z.objectMode?Y=!0:typeof R==&quot;string&quot;&amp;&amp;((B=B||Z.defaultEncoding)!==Z.encoding&amp;&amp;(R=h.from(R,B),B=&quot;&quot;),Y=!0),V(this,R,B,!1,Y)},T.prototype.unshift=function(R){return V(this,R,null,!0,!1)},T.prototype.isPaused=function(){return this._readableState.flowing===!1},T.prototype.setEncoding=function(R){return y||(y=t(&quot;string_decoder/&quot;).StringDecoder),this._readableState.decoder=new y(R),this._readableState.encoding=R,this};function H(R,B){return R&lt;=0||B.length===0&amp;&amp;B.ended?0:B.objectMode?1:R!=R?B.flowing&amp;&amp;B.length?B.buffer.head.data.length:B.length:(R&gt;B.highWaterMark&amp;&amp;(B.highWaterMark=(function(Y){return Y&gt;=8388608?Y=8388608:(Y--,Y|=Y&gt;&gt;&gt;1,Y|=Y&gt;&gt;&gt;2,Y|=Y&gt;&gt;&gt;4,Y|=Y&gt;&gt;&gt;8,Y|=Y&gt;&gt;&gt;16,Y++),Y})(R)),R&lt;=B.length?R:B.ended?B.length:(B.needReadable=!0,0))}function W(R){var B=R._readableState;B.needReadable=!1,B.emittedReadable||(g(&quot;emitReadable&quot;,B.flowing),B.emittedReadable=!0,B.sync?u.nextTick(K,R):K(R))}function K(R){g(&quot;emit readable&quot;),R.emit(&quot;readable&quot;),j(R)}function $(R,B){B.readingMore||(B.readingMore=!0,u.nextTick(P,R,B))}function P(R,B){for(var Y=B.length;!B.reading&amp;&amp;!B.flowing&amp;&amp;!B.ended&amp;&amp;B.length&lt;B.highWaterMark&amp;&amp;(g(&quot;maybeReadMore read 0&quot;),R.read(0),Y!==B.length);)Y=B.length;B.readingMore=!1}function D(R){g(&quot;readable nexttick read 0&quot;),R.read(0)}function E(R,B){B.reading||(g(&quot;resume read 0&quot;),R.read(0)),B.resumeScheduled=!1,B.awaitDrain=0,R.emit(&quot;resume&quot;),j(R),B.flowing&amp;&amp;!B.reading&amp;&amp;R.read(0)}function j(R){var B=R._readableState;for(g(&quot;flow&quot;,B.flowing);B.flowing&amp;&amp;R.read()!==null;);}function k(R,B){return B.length===0?null:(B.objectMode?Y=B.buffer.shift():!R||R&gt;=B.length?(Y=B.decoder?B.buffer.join(&quot;&quot;):B.buffer.length===1?B.buffer.head.data:B.buffer.concat(B.length),B.buffer.clear()):Y=(function(Z,ie,U){var ee;return Z&lt;ie.head.data.length?(ee=ie.head.data.slice(0,Z),ie.head.data=ie.head.data.slice(Z)):ee=Z===ie.head.data.length?ie.shift():U?(function(z,I){var X=I.head,re=1,ne=X.data;for(z-=ne.length;X=X.next;){var Q=X.data,te=z&gt;Q.length?Q.length:z;if(te===Q.length?ne+=Q:ne+=Q.slice(0,z),(z-=te)===0){te===Q.length?(++re,X.next?I.head=X.next:I.head=I.tail=null):(I.head=X,X.data=Q.slice(te));break}++re}return I.length-=re,ne})(Z,ie):(function(z,I){var X=h.allocUnsafe(z),re=I.head,ne=1;for(re.data.copy(X),z-=re.data.length;re=re.next;){var Q=re.data,te=z&gt;Q.length?Q.length:z;if(Q.copy(X,X.length-z,0,te),(z-=te)===0){te===Q.length?(++ne,re.next?I.head=re.next:I.head=I.tail=null):(I.head=re,re.data=Q.slice(te));break}++ne}return I.length-=ne,X})(Z,ie),ee})(R,B.buffer,B.decoder),Y);var Y}function S(R){var B=R._readableState;if(B.length&gt;0)throw new Error(&#039;&quot;endReadable()&quot; called on non-empty stream&#039;);B.endEmitted||(B.ended=!0,u.nextTick(N,B,R))}function N(R,B){R.endEmitted||R.length!==0||(R.endEmitted=!0,B.readable=!1,B.emit(&quot;end&quot;))}function M(R,B){for(var Y=0,Z=R.length;Y&lt;Z;Y++)if(R[Y]===B)return Y;return-1}T.prototype.read=function(R){g(&quot;read&quot;,R),R=parseInt(R,10);var B=this._readableState,Y=R;if(R!==0&amp;&amp;(B.emittedReadable=!1),R===0&amp;&amp;B.needReadable&amp;&amp;(B.length&gt;=B.highWaterMark||B.ended))return g(&quot;read: emitReadable&quot;,B.length,B.ended),B.length===0&amp;&amp;B.ended?S(this):W(this),null;if((R=H(R,B))===0&amp;&amp;B.ended)return B.length===0&amp;&amp;S(this),null;var Z,ie=B.needReadable;return g(&quot;need readable&quot;,ie),(B.length===0||B.length-R&lt;B.highWaterMark)&amp;&amp;g(&quot;length less than watermark&quot;,ie=!0),B.ended||B.reading?g(&quot;reading or ended&quot;,ie=!1):ie&amp;&amp;(g(&quot;do read&quot;),B.reading=!0,B.sync=!0,B.length===0&amp;&amp;(B.needReadable=!0),this._read(B.highWaterMark),B.sync=!1,B.reading||(R=H(Y,B))),(Z=R&gt;0?k(R,B):null)===null?(B.needReadable=!0,R=0):B.length-=R,B.length===0&amp;&amp;(B.ended||(B.needReadable=!0),Y!==R&amp;&amp;B.ended&amp;&amp;S(this)),Z!==null&amp;&amp;this.emit(&quot;data&quot;,Z),Z},T.prototype._read=function(R){this.emit(&quot;error&quot;,new Error(&quot;_read() is not implemented&quot;))},T.prototype.pipe=function(R,B){var Y=this,Z=this._readableState;switch(Z.pipesCount){case 0:Z.pipes=R;break;case 1:Z.pipes=[Z.pipes,R];break;default:Z.pipes.push(R)}Z.pipesCount+=1,g(&quot;pipe count=%d opts=%j&quot;,Z.pipesCount,B);var ie=(!B||B.end!==!1)&amp;&amp;R!==i.stdout&amp;&amp;R!==i.stderr?ee:de;function U(le,se){g(&quot;onunpipe&quot;),le===Y&amp;&amp;se&amp;&amp;se.hasUnpiped===!1&amp;&amp;(se.hasUnpiped=!0,g(&quot;cleanup&quot;),R.removeListener(&quot;close&quot;,Q),R.removeListener(&quot;finish&quot;,te),R.removeListener(&quot;drain&quot;,z),R.removeListener(&quot;error&quot;,ne),R.removeListener(&quot;unpipe&quot;,U),Y.removeListener(&quot;end&quot;,ee),Y.removeListener(&quot;end&quot;,de),Y.removeListener(&quot;data&quot;,re),I=!0,!Z.awaitDrain||R._writableState&amp;&amp;!R._writableState.needDrain||z())}function ee(){g(&quot;onend&quot;),R.end()}Z.endEmitted?u.nextTick(ie):Y.once(&quot;end&quot;,ie),R.on(&quot;unpipe&quot;,U);var z=(function(le){return function(){var se=le._readableState;g(&quot;pipeOnDrain&quot;,se.awaitDrain),se.awaitDrain&amp;&amp;se.awaitDrain--,se.awaitDrain===0&amp;&amp;d(le,&quot;data&quot;)&amp;&amp;(se.flowing=!0,j(le))}})(Y);R.on(&quot;drain&quot;,z);var I=!1,X=!1;function re(le){g(&quot;ondata&quot;),X=!1,R.write(le)!==!1||X||((Z.pipesCount===1&amp;&amp;Z.pipes===R||Z.pipesCount&gt;1&amp;&amp;M(Z.pipes,R)!==-1)&amp;&amp;!I&amp;&amp;(g(&quot;false write response, pause&quot;,Z.awaitDrain),Z.awaitDrain++,X=!0),Y.pause())}function ne(le){g(&quot;onerror&quot;,le),de(),R.removeListener(&quot;error&quot;,ne),d(R,&quot;error&quot;)===0&amp;&amp;R.emit(&quot;error&quot;,le)}function Q(){R.removeListener(&quot;finish&quot;,te),de()}function te(){g(&quot;onfinish&quot;),R.removeListener(&quot;close&quot;,Q),de()}function de(){g(&quot;unpipe&quot;),Y.unpipe(R)}return Y.on(&quot;data&quot;,re),(function(le,se,fe){if(typeof le.prependListener==&quot;function&quot;)return le.prependListener(se,fe);le._events&amp;&amp;le._events[se]?s(le._events[se])?le._events[se].unshift(fe):le._events[se]=[fe,le._events[se]]:le.on(se,fe)})(R,&quot;error&quot;,ne),R.once(&quot;close&quot;,Q),R.once(&quot;finish&quot;,te),R.emit(&quot;pipe&quot;,Y),Z.flowing||(g(&quot;pipe resume&quot;),Y.resume()),R},T.prototype.unpipe=function(R){var B=this._readableState,Y={hasUnpiped:!1};if(B.pipesCount===0)return this;if(B.pipesCount===1)return R&amp;&amp;R!==B.pipes||(R||(R=B.pipes),B.pipes=null,B.pipesCount=0,B.flowing=!1,R&amp;&amp;R.emit(&quot;unpipe&quot;,this,Y)),this;if(!R){var Z=B.pipes,ie=B.pipesCount;B.pipes=null,B.pipesCount=0,B.flowing=!1;for(var U=0;U&lt;ie;U++)Z[U].emit(&quot;unpipe&quot;,this,{hasUnpiped:!1});return this}var ee=M(B.pipes,R);return ee===-1||(B.pipes.splice(ee,1),B.pipesCount-=1,B.pipesCount===1&amp;&amp;(B.pipes=B.pipes[0]),R.emit(&quot;unpipe&quot;,this,Y)),this},T.prototype.on=function(R,B){var Y=f.prototype.on.call(this,R,B);if(R===&quot;data&quot;)this._readableState.flowing!==!1&amp;&amp;this.resume();else if(R===&quot;readable&quot;){var Z=this._readableState;Z.endEmitted||Z.readableListening||(Z.readableListening=Z.needReadable=!0,Z.emittedReadable=!1,Z.reading?Z.length&amp;&amp;W(this):u.nextTick(D,this))}return Y},T.prototype.addListener=T.prototype.on,T.prototype.resume=function(){var R=this._readableState;return R.flowing||(g(&quot;resume&quot;),R.flowing=!0,(function(B,Y){Y.resumeScheduled||(Y.resumeScheduled=!0,u.nextTick(E,B,Y))})(this,R)),this},T.prototype.pause=function(){return g(&quot;call pause flowing=%j&quot;,this._readableState.flowing),this._readableState.flowing!==!1&amp;&amp;(g(&quot;pause&quot;),this._readableState.flowing=!1,this.emit(&quot;pause&quot;)),this},T.prototype.wrap=function(R){var B=this,Y=this._readableState,Z=!1;for(var ie in R.on(&quot;end&quot;,(function(){if(g(&quot;wrapped end&quot;),Y.decoder&amp;&amp;!Y.ended){var ee=Y.decoder.end();ee&amp;&amp;ee.length&amp;&amp;B.push(ee)}B.push(null)})),R.on(&quot;data&quot;,(function(ee){g(&quot;wrapped data&quot;),Y.decoder&amp;&amp;(ee=Y.decoder.write(ee)),Y.objectMode&amp;&amp;ee==null||(Y.objectMode||ee&amp;&amp;ee.length)&amp;&amp;(B.push(ee)||(Z=!0,R.pause()))})),R)this[ie]===void 0&amp;&amp;typeof R[ie]==&quot;function&quot;&amp;&amp;(this[ie]=(function(ee){return function(){return R[ee].apply(R,arguments)}})(ie));for(var U=0;U&lt;C.length;U++)R.on(C[U],this.emit.bind(this,C[U]));return this._read=function(ee){g(&quot;wrapped _read&quot;,ee),Z&amp;&amp;(Z=!1,R.resume())},this},Object.defineProperty(T.prototype,&quot;readableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),T._fromList=k}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;./_stream_duplex&quot;:508,&quot;./internal/streams/BufferList&quot;:513,&quot;./internal/streams/destroy&quot;:514,&quot;./internal/streams/stream&quot;:515,_process:467,&quot;core-util-is&quot;:383,events:422,inherits:440,isarray:506,&quot;process-nextick-args&quot;:466,&quot;safe-buffer&quot;:520,&quot;string_decoder/&quot;:521,util:188}],511:[function(t,n,o){n.exports=l;var i=t(&quot;./_stream_duplex&quot;),a=Object.create(t(&quot;core-util-is&quot;));function u(f,h){var m=this._transformState;m.transforming=!1;var p=m.writecb;if(!p)return this.emit(&quot;error&quot;,new Error(&quot;write callback called multiple times&quot;));m.writechunk=null,m.writecb=null,h!=null&amp;&amp;this.push(h),p(f);var b=this._readableState;b.reading=!1,(b.needReadable||b.length&lt;b.highWaterMark)&amp;&amp;this._read(b.highWaterMark)}function l(f){if(!(this instanceof l))return new l(f);i.call(this,f),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,f&amp;&amp;(typeof f.transform==&quot;function&quot;&amp;&amp;(this._transform=f.transform),typeof f.flush==&quot;function&quot;&amp;&amp;(this._flush=f.flush)),this.on(&quot;prefinish&quot;,s)}function s(){var f=this;typeof this._flush==&quot;function&quot;?this._flush((function(h,m){d(f,h,m)})):d(this,null,null)}function d(f,h,m){if(h)return f.emit(&quot;error&quot;,h);if(m!=null&amp;&amp;f.push(m),f._writableState.length)throw new Error(&quot;Calling transform done when ws.length != 0&quot;);if(f._transformState.transforming)throw new Error(&quot;Calling transform done when still transforming&quot;);return f.push(null)}a.inherits=t(&quot;inherits&quot;),a.inherits(l,i),l.prototype.push=function(f,h){return this._transformState.needTransform=!1,i.prototype.push.call(this,f,h)},l.prototype._transform=function(f,h,m){throw new Error(&quot;_transform() is not implemented&quot;)},l.prototype._write=function(f,h,m){var p=this._transformState;if(p.writecb=m,p.writechunk=f,p.writeencoding=h,!p.transforming){var b=this._readableState;(p.needTransform||b.needReadable||b.length&lt;b.highWaterMark)&amp;&amp;this._read(b.highWaterMark)}},l.prototype._read=function(f){var h=this._transformState;h.writechunk!==null&amp;&amp;h.writecb&amp;&amp;!h.transforming?(h.transforming=!0,this._transform(h.writechunk,h.writeencoding,h.afterTransform)):h.needTransform=!0},l.prototype._destroy=function(f,h){var m=this;i.prototype._destroy.call(this,f,(function(p){h(p),m.emit(&quot;close&quot;)}))}},{&quot;./_stream_duplex&quot;:508,&quot;core-util-is&quot;:383,inherits:440}],512:[function(t,n,o){(function(i,a,u){(function(){var l=t(&quot;process-nextick-args&quot;);function s($){var P=this;this.next=null,this.entry=null,this.finish=function(){(function(D,E,j){var k=D.entry;for(D.entry=null;k;){var S=k.callback;E.pendingcb--,S(j),k=k.next}E.corkedRequestsFree.next=D})(P,$)}}n.exports=O;var d,f=!i.browser&amp;&amp;[&quot;v0.10&quot;,&quot;v0.9.&quot;].indexOf(i.version.slice(0,5))&gt;-1?u:l.nextTick;O.WritableState=C;var h=Object.create(t(&quot;core-util-is&quot;));h.inherits=t(&quot;inherits&quot;);var m={deprecate:t(&quot;util-deprecate&quot;)},p=t(&quot;./internal/streams/stream&quot;),b=t(&quot;safe-buffer&quot;).Buffer,g=(a!==void 0?a:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},y,v=t(&quot;./internal/streams/destroy&quot;);function _(){}function C($,P){d=d||t(&quot;./_stream_duplex&quot;),$=$||{};var D=P instanceof d;this.objectMode=!!$.objectMode,D&amp;&amp;(this.objectMode=this.objectMode||!!$.writableObjectMode);var E=$.highWaterMark,j=$.writableHighWaterMark,k=this.objectMode?16:16384;this.highWaterMark=E||E===0?E:D&amp;&amp;(j||j===0)?j:k,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var S=$.decodeStrings===!1;this.decodeStrings=!S,this.defaultEncoding=$.defaultEncoding||&quot;utf8&quot;,this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(N){(function(M,R){var B=M._writableState,Y=B.sync,Z=B.writecb;if((function(U){U.writing=!1,U.writecb=null,U.length-=U.writelen,U.writelen=0})(B),R)(function(U,ee,z,I,X){--ee.pendingcb,z?(l.nextTick(X,I),l.nextTick(K,U,ee),U._writableState.errorEmitted=!0,U.emit(&quot;error&quot;,I)):(X(I),U._writableState.errorEmitted=!0,U.emit(&quot;error&quot;,I),K(U,ee))})(M,B,Y,R,Z);else{var ie=H(B);ie||B.corked||B.bufferProcessing||!B.bufferedRequest||F(M,B),Y?f(V,M,B,ie,Z):V(M,B,ie,Z)}})(P,N)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function O($){if(d=d||t(&quot;./_stream_duplex&quot;),!(y.call(O,this)||this instanceof d))return new O($);this._writableState=new C($,this),this.writable=!0,$&amp;&amp;(typeof $.write==&quot;function&quot;&amp;&amp;(this._write=$.write),typeof $.writev==&quot;function&quot;&amp;&amp;(this._writev=$.writev),typeof $.destroy==&quot;function&quot;&amp;&amp;(this._destroy=$.destroy),typeof $.final==&quot;function&quot;&amp;&amp;(this._final=$.final)),p.call(this)}function T($,P,D,E,j,k,S){P.writelen=E,P.writecb=S,P.writing=!0,P.sync=!0,D?$._writev(j,P.onwrite):$._write(j,k,P.onwrite),P.sync=!1}function V($,P,D,E){D||(function(j,k){k.length===0&amp;&amp;k.needDrain&amp;&amp;(k.needDrain=!1,j.emit(&quot;drain&quot;))})($,P),P.pendingcb--,E(),K($,P)}function F($,P){P.bufferProcessing=!0;var D=P.bufferedRequest;if($._writev&amp;&amp;D&amp;&amp;D.next){var E=P.bufferedRequestCount,j=new Array(E),k=P.corkedRequestsFree;k.entry=D;for(var S=0,N=!0;D;)j[S]=D,D.isBuf||(N=!1),D=D.next,S+=1;j.allBuffers=N,T($,P,!0,P.length,j,&quot;&quot;,k.finish),P.pendingcb++,P.lastBufferedRequest=null,k.next?(P.corkedRequestsFree=k.next,k.next=null):P.corkedRequestsFree=new s(P),P.bufferedRequestCount=0}else{for(;D;){var M=D.chunk,R=D.encoding,B=D.callback;if(T($,P,!1,P.objectMode?1:M.length,M,R,B),D=D.next,P.bufferedRequestCount--,P.writing)break}D===null&amp;&amp;(P.lastBufferedRequest=null)}P.bufferedRequest=D,P.bufferProcessing=!1}function H($){return $.ending&amp;&amp;$.length===0&amp;&amp;$.bufferedRequest===null&amp;&amp;!$.finished&amp;&amp;!$.writing}function W($,P){$._final((function(D){P.pendingcb--,D&amp;&amp;$.emit(&quot;error&quot;,D),P.prefinished=!0,$.emit(&quot;prefinish&quot;),K($,P)}))}function K($,P){var D=H(P);return D&amp;&amp;((function(E,j){j.prefinished||j.finalCalled||(typeof E._final==&quot;function&quot;?(j.pendingcb++,j.finalCalled=!0,l.nextTick(W,E,j)):(j.prefinished=!0,E.emit(&quot;prefinish&quot;)))})($,P),P.pendingcb===0&amp;&amp;(P.finished=!0,$.emit(&quot;finish&quot;))),D}h.inherits(O,p),C.prototype.getBuffer=function(){for(var $=this.bufferedRequest,P=[];$;)P.push($),$=$.next;return P},(function(){try{Object.defineProperty(C.prototype,&quot;buffer&quot;,{get:m.deprecate((function(){return this.getBuffer()}),&quot;_writableState.buffer is deprecated. Use _writableState.getBuffer instead.&quot;,&quot;DEP0003&quot;)})}catch{}})(),typeof Symbol==&quot;function&quot;&amp;&amp;Symbol.hasInstance&amp;&amp;typeof Function.prototype[Symbol.hasInstance]==&quot;function&quot;?(y=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function($){return!!y.call(this,$)||this===O&amp;&amp;$&amp;&amp;$._writableState instanceof C}})):y=function($){return $ instanceof this},O.prototype.pipe=function(){this.emit(&quot;error&quot;,new Error(&quot;Cannot pipe, not readable&quot;))},O.prototype.write=function($,P,D){var E,j=this._writableState,k=!1,S=!j.objectMode&amp;&amp;(E=$,b.isBuffer(E)||E instanceof g);return S&amp;&amp;!b.isBuffer($)&amp;&amp;($=(function(N){return b.from(N)})($)),typeof P==&quot;function&quot;&amp;&amp;(D=P,P=null),S?P=&quot;buffer&quot;:P||(P=j.defaultEncoding),typeof D!=&quot;function&quot;&amp;&amp;(D=_),j.ended?(function(N,M){var R=new Error(&quot;write after end&quot;);N.emit(&quot;error&quot;,R),l.nextTick(M,R)})(this,D):(S||(function(N,M,R,B){var Y=!0,Z=!1;return R===null?Z=new TypeError(&quot;May not write null values to stream&quot;):typeof R==&quot;string&quot;||R===void 0||M.objectMode||(Z=new TypeError(&quot;Invalid non-string/buffer chunk&quot;)),Z&amp;&amp;(N.emit(&quot;error&quot;,Z),l.nextTick(B,Z),Y=!1),Y})(this,j,$,D))&amp;&amp;(j.pendingcb++,k=(function(N,M,R,B,Y,Z){if(!R){var ie=(function(I,X,re){return I.objectMode||I.decodeStrings===!1||typeof X!=&quot;string&quot;||(X=b.from(X,re)),X})(M,B,Y);B!==ie&amp;&amp;(R=!0,Y=&quot;buffer&quot;,B=ie)}var U=M.objectMode?1:B.length;M.length+=U;var ee=M.length&lt;M.highWaterMark;if(ee||(M.needDrain=!0),M.writing||M.corked){var z=M.lastBufferedRequest;M.lastBufferedRequest={chunk:B,encoding:Y,isBuf:R,callback:Z,next:null},z?z.next=M.lastBufferedRequest:M.bufferedRequest=M.lastBufferedRequest,M.bufferedRequestCount+=1}else T(N,M,!1,U,B,Y,Z);return ee})(this,j,S,$,P,D)),k},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var $=this._writableState;$.corked&amp;&amp;($.corked--,$.writing||$.corked||$.bufferProcessing||!$.bufferedRequest||F(this,$))},O.prototype.setDefaultEncoding=function($){if(typeof $==&quot;string&quot;&amp;&amp;($=$.toLowerCase()),!([&quot;hex&quot;,&quot;utf8&quot;,&quot;utf-8&quot;,&quot;ascii&quot;,&quot;binary&quot;,&quot;base64&quot;,&quot;ucs2&quot;,&quot;ucs-2&quot;,&quot;utf16le&quot;,&quot;utf-16le&quot;,&quot;raw&quot;].indexOf(($+&quot;&quot;).toLowerCase())&gt;-1))throw new TypeError(&quot;Unknown encoding: &quot;+$);return this._writableState.defaultEncoding=$,this},Object.defineProperty(O.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),O.prototype._write=function($,P,D){D(new Error(&quot;_write() is not implemented&quot;))},O.prototype._writev=null,O.prototype.end=function($,P,D){var E=this._writableState;typeof $==&quot;function&quot;?(D=$,$=null,P=null):typeof P==&quot;function&quot;&amp;&amp;(D=P,P=null),$!=null&amp;&amp;this.write($,P),E.corked&amp;&amp;(E.corked=1,this.uncork()),E.ending||(function(j,k,S){k.ending=!0,K(j,k),S&amp;&amp;(k.finished?l.nextTick(S):j.once(&quot;finish&quot;,S)),k.ended=!0,j.writable=!1})(this,E,D)},Object.defineProperty(O.prototype,&quot;destroyed&quot;,{get:function(){return this._writableState!==void 0&amp;&amp;this._writableState.destroyed},set:function($){this._writableState&amp;&amp;(this._writableState.destroyed=$)}}),O.prototype.destroy=v.destroy,O.prototype._undestroy=v.undestroy,O.prototype._destroy=function($,P){this.end(),P($)}}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{},t(&quot;timers&quot;).setImmediate)},{&quot;./_stream_duplex&quot;:508,&quot;./internal/streams/destroy&quot;:514,&quot;./internal/streams/stream&quot;:515,_process:467,&quot;core-util-is&quot;:383,inherits:440,&quot;process-nextick-args&quot;:466,&quot;safe-buffer&quot;:520,timers:523,&quot;util-deprecate&quot;:524}],513:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;util&quot;);n.exports=(function(){function u(){(function(l,s){if(!(l instanceof s))throw new TypeError(&quot;Cannot call a class as a function&quot;)})(this,u),this.head=null,this.tail=null,this.length=0}return u.prototype.push=function(l){var s={data:l,next:null};this.length&gt;0?this.tail.next=s:this.head=s,this.tail=s,++this.length},u.prototype.unshift=function(l){var s={data:l,next:this.head};this.length===0&amp;&amp;(this.tail=s),this.head=s,++this.length},u.prototype.shift=function(){if(this.length!==0){var l=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,l}},u.prototype.clear=function(){this.head=this.tail=null,this.length=0},u.prototype.join=function(l){if(this.length===0)return&quot;&quot;;for(var s=this.head,d=&quot;&quot;+s.data;s=s.next;)d+=l+s.data;return d},u.prototype.concat=function(l){if(this.length===0)return i.alloc(0);for(var s,d,f,h=i.allocUnsafe(l&gt;&gt;&gt;0),m=this.head,p=0;m;)s=m.data,d=h,f=p,s.copy(d,f),p+=m.data.length,m=m.next;return h},u})(),a&amp;&amp;a.inspect&amp;&amp;a.inspect.custom&amp;&amp;(n.exports.prototype[a.inspect.custom]=function(){var u=a.inspect({length:this.length});return this.constructor.name+&quot; &quot;+u})},{&quot;safe-buffer&quot;:520,util:188}],514:[function(t,n,o){var i=t(&quot;process-nextick-args&quot;);function a(u,l){u.emit(&quot;error&quot;,l)}n.exports={destroy:function(u,l){var s=this,d=this._readableState&amp;&amp;this._readableState.destroyed,f=this._writableState&amp;&amp;this._writableState.destroyed;return d||f?(l?l(u):u&amp;&amp;(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,i.nextTick(a,this,u)):i.nextTick(a,this,u)),this):(this._readableState&amp;&amp;(this._readableState.destroyed=!0),this._writableState&amp;&amp;(this._writableState.destroyed=!0),this._destroy(u||null,(function(h){!l&amp;&amp;h?s._writableState?s._writableState.errorEmitted||(s._writableState.errorEmitted=!0,i.nextTick(a,s,h)):i.nextTick(a,s,h):l&amp;&amp;l(h)})),this)},undestroy:function(){this._readableState&amp;&amp;(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&amp;&amp;(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{&quot;process-nextick-args&quot;:466}],515:[function(t,n,o){arguments[4][490][0].apply(o,arguments)},{dup:490,events:422}],516:[function(t,n,o){n.exports=t(&quot;./readable&quot;).PassThrough},{&quot;./readable&quot;:517}],517:[function(t,n,o){(o=n.exports=t(&quot;./lib/_stream_readable.js&quot;)).Stream=o,o.Readable=o,o.Writable=t(&quot;./lib/_stream_writable.js&quot;),o.Duplex=t(&quot;./lib/_stream_duplex.js&quot;),o.Transform=t(&quot;./lib/_stream_transform.js&quot;),o.PassThrough=t(&quot;./lib/_stream_passthrough.js&quot;)},{&quot;./lib/_stream_duplex.js&quot;:508,&quot;./lib/_stream_passthrough.js&quot;:509,&quot;./lib/_stream_readable.js&quot;:510,&quot;./lib/_stream_transform.js&quot;:511,&quot;./lib/_stream_writable.js&quot;:512}],518:[function(t,n,o){n.exports=t(&quot;./readable&quot;).Transform},{&quot;./readable&quot;:517}],519:[function(t,n,o){n.exports=t(&quot;./lib/_stream_writable.js&quot;)},{&quot;./lib/_stream_writable.js&quot;:512}],520:[function(t,n,o){arguments[4][217][0].apply(o,arguments)},{buffer:220,dup:217}],521:[function(t,n,o){arguments[4][218][0].apply(o,arguments)},{dup:218,&quot;safe-buffer&quot;:520}],522:[function(t,n,o){arguments[4][218][0].apply(o,arguments)},{dup:218,&quot;safe-buffer&quot;:494}],523:[function(t,n,o){(function(i,a){(function(){var u=t(&quot;process/browser.js&quot;).nextTick,l=Function.prototype.apply,s=Array.prototype.slice,d={},f=0;function h(m,p){this._id=m,this._clearFn=p}o.setTimeout=function(){return new h(l.call(setTimeout,window,arguments),clearTimeout)},o.setInterval=function(){return new h(l.call(setInterval,window,arguments),clearInterval)},o.clearTimeout=o.clearInterval=function(m){m.close()},h.prototype.unref=h.prototype.ref=function(){},h.prototype.close=function(){this._clearFn.call(window,this._id)},o.enroll=function(m,p){clearTimeout(m._idleTimeoutId),m._idleTimeout=p},o.unenroll=function(m){clearTimeout(m._idleTimeoutId),m._idleTimeout=-1},o._unrefActive=o.active=function(m){clearTimeout(m._idleTimeoutId);var p=m._idleTimeout;p&gt;=0&amp;&amp;(m._idleTimeoutId=setTimeout((function(){m._onTimeout&amp;&amp;m._onTimeout()}),p))},o.setImmediate=typeof i==&quot;function&quot;?i:function(m){var p=f++,b=!(arguments.length&lt;2)&amp;&amp;s.call(arguments,1);return d[p]=!0,u((function(){d[p]&amp;&amp;(b?m.apply(null,b):m.call(null),o.clearImmediate(p))})),p},o.clearImmediate=typeof a==&quot;function&quot;?a:function(m){delete d[m]}}).call(this)}).call(this,t(&quot;timers&quot;).setImmediate,t(&quot;timers&quot;).clearImmediate)},{&quot;process/browser.js&quot;:467,timers:523}],524:[function(t,n,o){(function(i){(function(){function a(u){try{if(!i.localStorage)return!1}catch{return!1}var l=i.localStorage[u];return l!=null&amp;&amp;String(l).toLowerCase()===&quot;true&quot;}n.exports=function(u,l){if(a(&quot;noDeprecation&quot;))return u;var s=!1;return function(){if(!s){if(a(&quot;throwDeprecation&quot;))throw new Error(l);a(&quot;traceDeprecation&quot;)?console.trace(l):console.warn(l),s=!0}return u.apply(this,arguments)}}}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],525:[function(t,n,o){typeof Object.create==&quot;function&quot;?n.exports=function(i,a){i.super_=a,i.prototype=Object.create(a.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}})}:n.exports=function(i,a){i.super_=a;var u=function(){};u.prototype=a.prototype,i.prototype=new u,i.prototype.constructor=i}},{}],526:[function(t,n,o){n.exports=function(i){return i&amp;&amp;typeof i==&quot;object&quot;&amp;&amp;typeof i.copy==&quot;function&quot;&amp;&amp;typeof i.fill==&quot;function&quot;&amp;&amp;typeof i.readUInt8==&quot;function&quot;}},{}],527:[function(t,n,o){(function(i,a){(function(){var u=/%[sdj%]/g;o.format=function(j){if(!C(j)){for(var k=[],S=0;S&lt;arguments.length;S++)k.push(d(arguments[S]));return k.join(&quot; &quot;)}S=1;for(var N=arguments,M=N.length,R=String(j).replace(u,(function(Y){if(Y===&quot;%%&quot;)return&quot;%&quot;;if(S&gt;=M)return Y;switch(Y){case&quot;%s&quot;:return String(N[S++]);case&quot;%d&quot;:return Number(N[S++]);case&quot;%j&quot;:try{return JSON.stringify(N[S++])}catch{return&quot;[Circular]&quot;}default:return Y}})),B=N[S];S&lt;M;B=N[++S])v(B)||!V(B)?R+=&quot; &quot;+B:R+=&quot; &quot;+d(B);return R},o.deprecate=function(j,k){if(O(a.process))return function(){return o.deprecate(j,k).apply(this,arguments)};if(i.noDeprecation===!0)return j;var S=!1;return function(){if(!S){if(i.throwDeprecation)throw new Error(k);i.traceDeprecation?console.trace(k):console.error(k),S=!0}return j.apply(this,arguments)}};var l,s={};function d(j,k){var S={seen:[],stylize:h};return arguments.length&gt;=3&amp;&amp;(S.depth=arguments[2]),arguments.length&gt;=4&amp;&amp;(S.colors=arguments[3]),y(k)?S.showHidden=k:k&amp;&amp;o._extend(S,k),O(S.showHidden)&amp;&amp;(S.showHidden=!1),O(S.depth)&amp;&amp;(S.depth=2),O(S.colors)&amp;&amp;(S.colors=!1),O(S.customInspect)&amp;&amp;(S.customInspect=!0),S.colors&amp;&amp;(S.stylize=f),m(S,j,S.depth)}function f(j,k){var S=d.styles[k];return S?&quot;\x1B[&quot;+d.colors[S][0]+&quot;m&quot;+j+&quot;\x1B[&quot;+d.colors[S][1]+&quot;m&quot;:j}function h(j,k){return j}function m(j,k,S){if(j.customInspect&amp;&amp;k&amp;&amp;W(k.inspect)&amp;&amp;k.inspect!==o.inspect&amp;&amp;(!k.constructor||k.constructor.prototype!==k)){var N=k.inspect(S,j);return C(N)||(N=m(j,N,S)),N}var M=(function(z,I){if(O(I))return z.stylize(&quot;undefined&quot;,&quot;undefined&quot;);if(C(I)){var X=&quot;&#039;&quot;+JSON.stringify(I).replace(/^&quot;|&quot;$/g,&quot;&quot;).replace(/&#039;/g,&quot;\\&#039;&quot;).replace(/\\&quot;/g,&#039;&quot;&#039;)+&quot;&#039;&quot;;return z.stylize(X,&quot;string&quot;)}if(_(I))return z.stylize(&quot;&quot;+I,&quot;number&quot;);if(y(I))return z.stylize(&quot;&quot;+I,&quot;boolean&quot;);if(v(I))return z.stylize(&quot;null&quot;,&quot;null&quot;)})(j,k);if(M)return M;var R=Object.keys(k),B=(function(z){var I={};return z.forEach((function(X,re){I[X]=!0})),I})(R);if(j.showHidden&amp;&amp;(R=Object.getOwnPropertyNames(k)),H(k)&amp;&amp;(R.indexOf(&quot;message&quot;)&gt;=0||R.indexOf(&quot;description&quot;)&gt;=0))return p(k);if(R.length===0){if(W(k)){var Y=k.name?&quot;: &quot;+k.name:&quot;&quot;;return j.stylize(&quot;[Function&quot;+Y+&quot;]&quot;,&quot;special&quot;)}if(T(k))return j.stylize(RegExp.prototype.toString.call(k),&quot;regexp&quot;);if(F(k))return j.stylize(Date.prototype.toString.call(k),&quot;date&quot;);if(H(k))return p(k)}var Z,ie=&quot;&quot;,U=!1,ee=[&quot;{&quot;,&quot;}&quot;];return g(k)&amp;&amp;(U=!0,ee=[&quot;[&quot;,&quot;]&quot;]),W(k)&amp;&amp;(ie=&quot; [Function&quot;+(k.name?&quot;: &quot;+k.name:&quot;&quot;)+&quot;]&quot;),T(k)&amp;&amp;(ie=&quot; &quot;+RegExp.prototype.toString.call(k)),F(k)&amp;&amp;(ie=&quot; &quot;+Date.prototype.toUTCString.call(k)),H(k)&amp;&amp;(ie=&quot; &quot;+p(k)),R.length!==0||U&amp;&amp;k.length!=0?S&lt;0?T(k)?j.stylize(RegExp.prototype.toString.call(k),&quot;regexp&quot;):j.stylize(&quot;[Object]&quot;,&quot;special&quot;):(j.seen.push(k),Z=U?(function(z,I,X,re,ne){for(var Q=[],te=0,de=I.length;te&lt;de;++te)E(I,String(te))?Q.push(b(z,I,X,re,String(te),!0)):Q.push(&quot;&quot;);return ne.forEach((function(le){le.match(/^\d+$/)||Q.push(b(z,I,X,re,le,!0))})),Q})(j,k,S,B,R):R.map((function(z){return b(j,k,S,B,z,U)})),j.seen.pop(),(function(z,I,X){return z.reduce((function(re,ne){return ne.indexOf(`
`)&gt;=0,re+ne.replace(/\u001b\[\d\d?m/g,&quot;&quot;).length+1}),0)&gt;60?X[0]+(I===&quot;&quot;?&quot;&quot;:I+`
 `)+&quot; &quot;+z.join(`,
  `)+&quot; &quot;+X[1]:X[0]+I+&quot; &quot;+z.join(&quot;, &quot;)+&quot; &quot;+X[1]})(Z,ie,ee)):ee[0]+ie+ee[1]}function p(j){return&quot;[&quot;+Error.prototype.toString.call(j)+&quot;]&quot;}function b(j,k,S,N,M,R){var B,Y,Z;if((Z=Object.getOwnPropertyDescriptor(k,M)||{value:k[M]}).get?Y=Z.set?j.stylize(&quot;[Getter/Setter]&quot;,&quot;special&quot;):j.stylize(&quot;[Getter]&quot;,&quot;special&quot;):Z.set&amp;&amp;(Y=j.stylize(&quot;[Setter]&quot;,&quot;special&quot;)),E(N,M)||(B=&quot;[&quot;+M+&quot;]&quot;),Y||(j.seen.indexOf(Z.value)&lt;0?(Y=v(S)?m(j,Z.value,null):m(j,Z.value,S-1)).indexOf(`
`)&gt;-1&amp;&amp;(Y=R?Y.split(`
`).map((function(ie){return&quot;  &quot;+ie})).join(`
`).substr(2):`
`+Y.split(`
`).map((function(ie){return&quot;   &quot;+ie})).join(`
`)):Y=j.stylize(&quot;[Circular]&quot;,&quot;special&quot;)),O(B)){if(R&amp;&amp;M.match(/^\d+$/))return Y;(B=JSON.stringify(&quot;&quot;+M)).match(/^&quot;([a-zA-Z_][a-zA-Z_0-9]*)&quot;$/)?(B=B.substr(1,B.length-2),B=j.stylize(B,&quot;name&quot;)):(B=B.replace(/&#039;/g,&quot;\\&#039;&quot;).replace(/\\&quot;/g,&#039;&quot;&#039;).replace(/(^&quot;|&quot;$)/g,&quot;&#039;&quot;),B=j.stylize(B,&quot;string&quot;))}return B+&quot;: &quot;+Y}function g(j){return Array.isArray(j)}function y(j){return typeof j==&quot;boolean&quot;}function v(j){return j===null}function _(j){return typeof j==&quot;number&quot;}function C(j){return typeof j==&quot;string&quot;}function O(j){return j===void 0}function T(j){return V(j)&amp;&amp;K(j)===&quot;[object RegExp]&quot;}function V(j){return typeof j==&quot;object&quot;&amp;&amp;j!==null}function F(j){return V(j)&amp;&amp;K(j)===&quot;[object Date]&quot;}function H(j){return V(j)&amp;&amp;(K(j)===&quot;[object Error]&quot;||j instanceof Error)}function W(j){return typeof j==&quot;function&quot;}function K(j){return Object.prototype.toString.call(j)}function $(j){return j&lt;10?&quot;0&quot;+j.toString(10):j.toString(10)}o.debuglog=function(j){if(O(l)&amp;&amp;(l=i.env.NODE_DEBUG||&quot;&quot;),j=j.toUpperCase(),!s[j])if(new RegExp(&quot;\\b&quot;+j+&quot;\\b&quot;,&quot;i&quot;).test(l)){var k=i.pid;s[j]=function(){var S=o.format.apply(o,arguments);console.error(&quot;%s %d: %s&quot;,j,k,S)}}else s[j]=function(){};return s[j]},o.inspect=d,d.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},d.styles={special:&quot;cyan&quot;,number:&quot;yellow&quot;,boolean:&quot;yellow&quot;,undefined:&quot;grey&quot;,null:&quot;bold&quot;,string:&quot;green&quot;,date:&quot;magenta&quot;,regexp:&quot;red&quot;},o.isArray=g,o.isBoolean=y,o.isNull=v,o.isNullOrUndefined=function(j){return j==null},o.isNumber=_,o.isString=C,o.isSymbol=function(j){return typeof j==&quot;symbol&quot;},o.isUndefined=O,o.isRegExp=T,o.isObject=V,o.isDate=F,o.isError=H,o.isFunction=W,o.isPrimitive=function(j){return j===null||typeof j==&quot;boolean&quot;||typeof j==&quot;number&quot;||typeof j==&quot;string&quot;||typeof j==&quot;symbol&quot;||j===void 0},o.isBuffer=t(&quot;./support/isBuffer&quot;);var P=[&quot;Jan&quot;,&quot;Feb&quot;,&quot;Mar&quot;,&quot;Apr&quot;,&quot;May&quot;,&quot;Jun&quot;,&quot;Jul&quot;,&quot;Aug&quot;,&quot;Sep&quot;,&quot;Oct&quot;,&quot;Nov&quot;,&quot;Dec&quot;];function D(){var j=new Date,k=[$(j.getHours()),$(j.getMinutes()),$(j.getSeconds())].join(&quot;:&quot;);return[j.getDate(),P[j.getMonth()],k].join(&quot; &quot;)}function E(j,k){return Object.prototype.hasOwnProperty.call(j,k)}o.log=function(){console.log(&quot;%s - %s&quot;,D(),o.format.apply(o,arguments))},o.inherits=t(&quot;inherits&quot;),o._extend=function(j,k){if(!k||!V(k))return j;for(var S=Object.keys(k),N=S.length;N--;)j[S[N]]=k[S[N]];return j}}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;./support/isBuffer&quot;:526,_process:467,inherits:525}],528:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),Object.defineProperty(o,&quot;v1&quot;,{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(o,&quot;v3&quot;,{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(o,&quot;v4&quot;,{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(o,&quot;v5&quot;,{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(o,&quot;NIL&quot;,{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(o,&quot;version&quot;,{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(o,&quot;validate&quot;,{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(o,&quot;stringify&quot;,{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(o,&quot;parse&quot;,{enumerable:!0,get:function(){return m.default}});var i=p(t(&quot;./v1.js&quot;)),a=p(t(&quot;./v3.js&quot;)),u=p(t(&quot;./v4.js&quot;)),l=p(t(&quot;./v5.js&quot;)),s=p(t(&quot;./nil.js&quot;)),d=p(t(&quot;./version.js&quot;)),f=p(t(&quot;./validate.js&quot;)),h=p(t(&quot;./stringify.js&quot;)),m=p(t(&quot;./parse.js&quot;));function p(b){return b&amp;&amp;b.__esModule?b:{default:b}}},{&quot;./nil.js&quot;:530,&quot;./parse.js&quot;:531,&quot;./stringify.js&quot;:535,&quot;./v1.js&quot;:536,&quot;./v3.js&quot;:537,&quot;./v4.js&quot;:539,&quot;./v5.js&quot;:540,&quot;./validate.js&quot;:541,&quot;./version.js&quot;:542}],529:[function(t,n,o){function i(m){return 14+(m+64&gt;&gt;&gt;9&lt;&lt;4)+1}function a(m,p){const b=(65535&amp;m)+(65535&amp;p);return(m&gt;&gt;16)+(p&gt;&gt;16)+(b&gt;&gt;16)&lt;&lt;16|65535&amp;b}function u(m,p,b,g,y,v){return a((_=a(a(p,m),a(g,v)))&lt;&lt;(C=y)|_&gt;&gt;&gt;32-C,b);var _,C}function l(m,p,b,g,y,v,_){return u(p&amp;b|~p&amp;g,m,p,y,v,_)}function s(m,p,b,g,y,v,_){return u(p&amp;g|b&amp;~g,m,p,y,v,_)}function d(m,p,b,g,y,v,_){return u(p^b^g,m,p,y,v,_)}function f(m,p,b,g,y,v,_){return u(b^(p|~g),m,p,y,v,_)}Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var h=function(m){if(typeof m==&quot;string&quot;){const p=unescape(encodeURIComponent(m));m=new Uint8Array(p.length);for(let b=0;b&lt;p.length;++b)m[b]=p.charCodeAt(b)}return(function(p){const b=[],g=32*p.length;for(let y=0;y&lt;g;y+=8){const v=p[y&gt;&gt;5]&gt;&gt;&gt;y%32&amp;255,_=parseInt(&quot;0123456789abcdef&quot;.charAt(v&gt;&gt;&gt;4&amp;15)+&quot;0123456789abcdef&quot;.charAt(15&amp;v),16);b.push(_)}return b})((function(p,b){p[b&gt;&gt;5]|=128&lt;&lt;b%32,p[i(b)-1]=b;let g=1732584193,y=-271733879,v=-1732584194,_=271733878;for(let C=0;C&lt;p.length;C+=16){const O=g,T=y,V=v,F=_;g=l(g,y,v,_,p[C],7,-680876936),_=l(_,g,y,v,p[C+1],12,-389564586),v=l(v,_,g,y,p[C+2],17,606105819),y=l(y,v,_,g,p[C+3],22,-1044525330),g=l(g,y,v,_,p[C+4],7,-176418897),_=l(_,g,y,v,p[C+5],12,1200080426),v=l(v,_,g,y,p[C+6],17,-1473231341),y=l(y,v,_,g,p[C+7],22,-45705983),g=l(g,y,v,_,p[C+8],7,1770035416),_=l(_,g,y,v,p[C+9],12,-1958414417),v=l(v,_,g,y,p[C+10],17,-42063),y=l(y,v,_,g,p[C+11],22,-1990404162),g=l(g,y,v,_,p[C+12],7,1804603682),_=l(_,g,y,v,p[C+13],12,-40341101),v=l(v,_,g,y,p[C+14],17,-1502002290),y=l(y,v,_,g,p[C+15],22,1236535329),g=s(g,y,v,_,p[C+1],5,-165796510),_=s(_,g,y,v,p[C+6],9,-1069501632),v=s(v,_,g,y,p[C+11],14,643717713),y=s(y,v,_,g,p[C],20,-373897302),g=s(g,y,v,_,p[C+5],5,-701558691),_=s(_,g,y,v,p[C+10],9,38016083),v=s(v,_,g,y,p[C+15],14,-660478335),y=s(y,v,_,g,p[C+4],20,-405537848),g=s(g,y,v,_,p[C+9],5,568446438),_=s(_,g,y,v,p[C+14],9,-1019803690),v=s(v,_,g,y,p[C+3],14,-187363961),y=s(y,v,_,g,p[C+8],20,1163531501),g=s(g,y,v,_,p[C+13],5,-1444681467),_=s(_,g,y,v,p[C+2],9,-51403784),v=s(v,_,g,y,p[C+7],14,1735328473),y=s(y,v,_,g,p[C+12],20,-1926607734),g=d(g,y,v,_,p[C+5],4,-378558),_=d(_,g,y,v,p[C+8],11,-2022574463),v=d(v,_,g,y,p[C+11],16,1839030562),y=d(y,v,_,g,p[C+14],23,-35309556),g=d(g,y,v,_,p[C+1],4,-1530992060),_=d(_,g,y,v,p[C+4],11,1272893353),v=d(v,_,g,y,p[C+7],16,-155497632),y=d(y,v,_,g,p[C+10],23,-1094730640),g=d(g,y,v,_,p[C+13],4,681279174),_=d(_,g,y,v,p[C],11,-358537222),v=d(v,_,g,y,p[C+3],16,-722521979),y=d(y,v,_,g,p[C+6],23,76029189),g=d(g,y,v,_,p[C+9],4,-640364487),_=d(_,g,y,v,p[C+12],11,-421815835),v=d(v,_,g,y,p[C+15],16,530742520),y=d(y,v,_,g,p[C+2],23,-995338651),g=f(g,y,v,_,p[C],6,-198630844),_=f(_,g,y,v,p[C+7],10,1126891415),v=f(v,_,g,y,p[C+14],15,-1416354905),y=f(y,v,_,g,p[C+5],21,-57434055),g=f(g,y,v,_,p[C+12],6,1700485571),_=f(_,g,y,v,p[C+3],10,-1894986606),v=f(v,_,g,y,p[C+10],15,-1051523),y=f(y,v,_,g,p[C+1],21,-2054922799),g=f(g,y,v,_,p[C+8],6,1873313359),_=f(_,g,y,v,p[C+15],10,-30611744),v=f(v,_,g,y,p[C+6],15,-1560198380),y=f(y,v,_,g,p[C+13],21,1309151649),g=f(g,y,v,_,p[C+4],6,-145523070),_=f(_,g,y,v,p[C+11],10,-1120210379),v=f(v,_,g,y,p[C+2],15,718787259),y=f(y,v,_,g,p[C+9],21,-343485551),g=a(g,O),y=a(y,T),v=a(v,V),_=a(_,F)}return[g,y,v,_]})((function(p){if(p.length===0)return[];const b=8*p.length,g=new Uint32Array(i(b));for(let y=0;y&lt;b;y+=8)g[y&gt;&gt;5]|=(255&amp;p[y/8])&lt;&lt;y%32;return g})(m),8*m.length))};o.default=h},{}],530:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0,o.default=&quot;00000000-0000-0000-0000-000000000000&quot;},{}],531:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var i,a=(i=t(&quot;./validate.js&quot;))&amp;&amp;i.__esModule?i:{default:i},u=function(l){if(!(0,a.default)(l))throw TypeError(&quot;Invalid UUID&quot;);let s;const d=new Uint8Array(16);return d[0]=(s=parseInt(l.slice(0,8),16))&gt;&gt;&gt;24,d[1]=s&gt;&gt;&gt;16&amp;255,d[2]=s&gt;&gt;&gt;8&amp;255,d[3]=255&amp;s,d[4]=(s=parseInt(l.slice(9,13),16))&gt;&gt;&gt;8,d[5]=255&amp;s,d[6]=(s=parseInt(l.slice(14,18),16))&gt;&gt;&gt;8,d[7]=255&amp;s,d[8]=(s=parseInt(l.slice(19,23),16))&gt;&gt;&gt;8,d[9]=255&amp;s,d[10]=(s=parseInt(l.slice(24,36),16))/1099511627776&amp;255,d[11]=s/4294967296&amp;255,d[12]=s&gt;&gt;&gt;24&amp;255,d[13]=s&gt;&gt;&gt;16&amp;255,d[14]=s&gt;&gt;&gt;8&amp;255,d[15]=255&amp;s,d};o.default=u},{&quot;./validate.js&quot;:541}],532:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0,o.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},{}],533:[function(t,n,o){let i;Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=function(){if(!i&amp;&amp;(i=typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.getRandomValues&amp;&amp;crypto.getRandomValues.bind(crypto)||typeof msCrypto&lt;&quot;u&quot;&amp;&amp;typeof msCrypto.getRandomValues==&quot;function&quot;&amp;&amp;msCrypto.getRandomValues.bind(msCrypto),!i))throw new Error(&quot;crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported&quot;);return i(a)};const a=new Uint8Array(16)},{}],534:[function(t,n,o){function i(l,s,d,f){switch(l){case 0:return s&amp;d^~s&amp;f;case 1:return s^d^f;case 2:return s&amp;d^s&amp;f^d&amp;f;case 3:return s^d^f}}function a(l,s){return l&lt;&lt;s|l&gt;&gt;&gt;32-s}Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var u=function(l){const s=[1518500249,1859775393,2400959708,3395469782],d=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof l==&quot;string&quot;){const p=unescape(encodeURIComponent(l));l=[];for(let b=0;b&lt;p.length;++b)l.push(p.charCodeAt(b))}else Array.isArray(l)||(l=Array.prototype.slice.call(l));l.push(128);const f=l.length/4+2,h=Math.ceil(f/16),m=new Array(h);for(let p=0;p&lt;h;++p){const b=new Uint32Array(16);for(let g=0;g&lt;16;++g)b[g]=l[64*p+4*g]&lt;&lt;24|l[64*p+4*g+1]&lt;&lt;16|l[64*p+4*g+2]&lt;&lt;8|l[64*p+4*g+3];m[p]=b}m[h-1][14]=8*(l.length-1)/Math.pow(2,32),m[h-1][14]=Math.floor(m[h-1][14]),m[h-1][15]=8*(l.length-1)&amp;4294967295;for(let p=0;p&lt;h;++p){const b=new Uint32Array(80);for(let O=0;O&lt;16;++O)b[O]=m[p][O];for(let O=16;O&lt;80;++O)b[O]=a(b[O-3]^b[O-8]^b[O-14]^b[O-16],1);let g=d[0],y=d[1],v=d[2],_=d[3],C=d[4];for(let O=0;O&lt;80;++O){const T=Math.floor(O/20),V=a(g,5)+i(T,y,v,_)+C+s[T]+b[O]&gt;&gt;&gt;0;C=_,_=v,v=a(y,30)&gt;&gt;&gt;0,y=g,g=V}d[0]=d[0]+g&gt;&gt;&gt;0,d[1]=d[1]+y&gt;&gt;&gt;0,d[2]=d[2]+v&gt;&gt;&gt;0,d[3]=d[3]+_&gt;&gt;&gt;0,d[4]=d[4]+C&gt;&gt;&gt;0}return[d[0]&gt;&gt;24&amp;255,d[0]&gt;&gt;16&amp;255,d[0]&gt;&gt;8&amp;255,255&amp;d[0],d[1]&gt;&gt;24&amp;255,d[1]&gt;&gt;16&amp;255,d[1]&gt;&gt;8&amp;255,255&amp;d[1],d[2]&gt;&gt;24&amp;255,d[2]&gt;&gt;16&amp;255,d[2]&gt;&gt;8&amp;255,255&amp;d[2],d[3]&gt;&gt;24&amp;255,d[3]&gt;&gt;16&amp;255,d[3]&gt;&gt;8&amp;255,255&amp;d[3],d[4]&gt;&gt;24&amp;255,d[4]&gt;&gt;16&amp;255,d[4]&gt;&gt;8&amp;255,255&amp;d[4]]};o.default=u},{}],535:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var i,a=(i=t(&quot;./validate.js&quot;))&amp;&amp;i.__esModule?i:{default:i};const u=[];for(let s=0;s&lt;256;++s)u.push((s+256).toString(16).substr(1));var l=function(s){let d=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0;const f=(u[s[d+0]]+u[s[d+1]]+u[s[d+2]]+u[s[d+3]]+&quot;-&quot;+u[s[d+4]]+u[s[d+5]]+&quot;-&quot;+u[s[d+6]]+u[s[d+7]]+&quot;-&quot;+u[s[d+8]]+u[s[d+9]]+&quot;-&quot;+u[s[d+10]]+u[s[d+11]]+u[s[d+12]]+u[s[d+13]]+u[s[d+14]]+u[s[d+15]]).toLowerCase();if(!(0,a.default)(f))throw TypeError(&quot;Stringified UUID is invalid&quot;);return f};o.default=l},{&quot;./validate.js&quot;:541}],536:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var i=u(t(&quot;./rng.js&quot;)),a=u(t(&quot;./stringify.js&quot;));function u(m){return m&amp;&amp;m.__esModule?m:{default:m}}let l,s,d=0,f=0;var h=function(m,p,b){let g=p&amp;&amp;b||0;const y=p||new Array(16);let v=(m=m||{}).node||l,_=m.clockseq!==void 0?m.clockseq:s;if(v==null||_==null){const H=m.random||(m.rng||i.default)();v==null&amp;&amp;(v=l=[1|H[0],H[1],H[2],H[3],H[4],H[5]]),_==null&amp;&amp;(_=s=16383&amp;(H[6]&lt;&lt;8|H[7]))}let C=m.msecs!==void 0?m.msecs:Date.now(),O=m.nsecs!==void 0?m.nsecs:f+1;const T=C-d+(O-f)/1e4;if(T&lt;0&amp;&amp;m.clockseq===void 0&amp;&amp;(_=_+1&amp;16383),(T&lt;0||C&gt;d)&amp;&amp;m.nsecs===void 0&amp;&amp;(O=0),O&gt;=1e4)throw new Error(&quot;uuid.v1(): Can&#039;t create more than 10M uuids/sec&quot;);d=C,f=O,s=_,C+=122192928e5;const V=(1e4*(268435455&amp;C)+O)%4294967296;y[g++]=V&gt;&gt;&gt;24&amp;255,y[g++]=V&gt;&gt;&gt;16&amp;255,y[g++]=V&gt;&gt;&gt;8&amp;255,y[g++]=255&amp;V;const F=C/4294967296*1e4&amp;268435455;y[g++]=F&gt;&gt;&gt;8&amp;255,y[g++]=255&amp;F,y[g++]=F&gt;&gt;&gt;24&amp;15|16,y[g++]=F&gt;&gt;&gt;16&amp;255,y[g++]=_&gt;&gt;&gt;8|128,y[g++]=255&amp;_;for(let H=0;H&lt;6;++H)y[g+H]=v[H];return p||(0,a.default)(y)};o.default=h},{&quot;./rng.js&quot;:533,&quot;./stringify.js&quot;:535}],537:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var i=u(t(&quot;./v35.js&quot;)),a=u(t(&quot;./md5.js&quot;));function u(s){return s&amp;&amp;s.__esModule?s:{default:s}}var l=(0,i.default)(&quot;v3&quot;,48,a.default);o.default=l},{&quot;./md5.js&quot;:529,&quot;./v35.js&quot;:538}],538:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=function(d,f,h){function m(p,b,g,y){if(typeof p==&quot;string&quot;&amp;&amp;(p=(function(_){_=unescape(encodeURIComponent(_));const C=[];for(let O=0;O&lt;_.length;++O)C.push(_.charCodeAt(O));return C})(p)),typeof b==&quot;string&quot;&amp;&amp;(b=(0,a.default)(b)),b.length!==16)throw TypeError(&quot;Namespace must be array-like (16 iterable integer values, 0-255)&quot;);let v=new Uint8Array(16+p.length);if(v.set(b),v.set(p,b.length),v=h(v),v[6]=15&amp;v[6]|f,v[8]=63&amp;v[8]|128,g){y=y||0;for(let _=0;_&lt;16;++_)g[y+_]=v[_];return g}return(0,i.default)(v)}try{m.name=d}catch{}return m.DNS=l,m.URL=s,m},o.URL=o.DNS=void 0;var i=u(t(&quot;./stringify.js&quot;)),a=u(t(&quot;./parse.js&quot;));function u(d){return d&amp;&amp;d.__esModule?d:{default:d}}const l=&quot;6ba7b810-9dad-11d1-80b4-00c04fd430c8&quot;;o.DNS=l;const s=&quot;6ba7b811-9dad-11d1-80b4-00c04fd430c8&quot;;o.URL=s},{&quot;./parse.js&quot;:531,&quot;./stringify.js&quot;:535}],539:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var i=u(t(&quot;./rng.js&quot;)),a=u(t(&quot;./stringify.js&quot;));function u(s){return s&amp;&amp;s.__esModule?s:{default:s}}var l=function(s,d,f){const h=(s=s||{}).random||(s.rng||i.default)();if(h[6]=15&amp;h[6]|64,h[8]=63&amp;h[8]|128,d){f=f||0;for(let m=0;m&lt;16;++m)d[f+m]=h[m];return d}return(0,a.default)(h)};o.default=l},{&quot;./rng.js&quot;:533,&quot;./stringify.js&quot;:535}],540:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var i=u(t(&quot;./v35.js&quot;)),a=u(t(&quot;./sha1.js&quot;));function u(s){return s&amp;&amp;s.__esModule?s:{default:s}}var l=(0,i.default)(&quot;v5&quot;,80,a.default);o.default=l},{&quot;./sha1.js&quot;:534,&quot;./v35.js&quot;:538}],541:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var i,a=(i=t(&quot;./regex.js&quot;))&amp;&amp;i.__esModule?i:{default:i},u=function(l){return typeof l==&quot;string&quot;&amp;&amp;a.default.test(l)};o.default=u},{&quot;./regex.js&quot;:532}],542:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var i,a=(i=t(&quot;./validate.js&quot;))&amp;&amp;i.__esModule?i:{default:i},u=function(l){if(!(0,a.default)(l))throw TypeError(&quot;Invalid UUID&quot;);return parseInt(l.substr(14,1),16)};o.default=u},{&quot;./validate.js&quot;:541}],543:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CHAR=`	
\r -퟿-�𐀀-􏿿`,o.S=` 	\r
`,o.NAME_START_CHAR=&quot;:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,o.NAME_CHAR=&quot;-&quot;+o.NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,o.CHAR_RE=new RegExp(&quot;^[&quot;+o.CHAR+&quot;]$&quot;,&quot;u&quot;),o.S_RE=new RegExp(&quot;^[&quot;+o.S+&quot;]+$&quot;,&quot;u&quot;),o.NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+o.NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NAME_CHAR_RE=new RegExp(&quot;^[&quot;+o.NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NAME_RE=new RegExp(&quot;^[&quot;+o.NAME_START_CHAR+&quot;][&quot;+o.NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),o.NMTOKEN_RE=new RegExp(&quot;^[&quot;+o.NAME_CHAR+&quot;]+$&quot;,&quot;u&quot;);function i(a){return a&gt;=65&amp;&amp;a&lt;=90||a&gt;=97&amp;&amp;a&lt;=122||a===58||a===95||a===8204||a===8205||a&gt;=192&amp;&amp;a&lt;=214||a&gt;=216&amp;&amp;a&lt;=246||a&gt;=248&amp;&amp;a&lt;=767||a&gt;=880&amp;&amp;a&lt;=893||a&gt;=895&amp;&amp;a&lt;=8191||a&gt;=8304&amp;&amp;a&lt;=8591||a&gt;=11264&amp;&amp;a&lt;=12271||a&gt;=12289&amp;&amp;a&lt;=55295||a&gt;=63744&amp;&amp;a&lt;=64975||a&gt;=65008&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=983039}o.S_LIST=[32,10,13,9],o.isChar=function(a){return a&gt;=32&amp;&amp;a&lt;=55295||a===10||a===13||a===9||a&gt;=57344&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=1114111},o.isS=function(a){return a===32||a===10||a===13||a===9},o.isNameStartChar=i,o.isNameChar=function(a){return i(a)||a&gt;=48&amp;&amp;a&lt;=57||a===45||a===46||a===183||a&gt;=768&amp;&amp;a&lt;=879||a&gt;=8255&amp;&amp;a&lt;=8256}},{}],544:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CHAR=&quot;-퟿-�𐀀-􏿿&quot;,o.RESTRICTED_CHAR=&quot;-\b\v\f---&quot;,o.S=` 	\r
`,o.NAME_START_CHAR=&quot;:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,o.NAME_CHAR=&quot;-&quot;+o.NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,o.CHAR_RE=new RegExp(&quot;^[&quot;+o.CHAR+&quot;]$&quot;,&quot;u&quot;),o.RESTRICTED_CHAR_RE=new RegExp(&quot;^[&quot;+o.RESTRICTED_CHAR+&quot;]$&quot;,&quot;u&quot;),o.S_RE=new RegExp(&quot;^[&quot;+o.S+&quot;]+$&quot;,&quot;u&quot;),o.NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+o.NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NAME_CHAR_RE=new RegExp(&quot;^[&quot;+o.NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NAME_RE=new RegExp(&quot;^[&quot;+o.NAME_START_CHAR+&quot;][&quot;+o.NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),o.NMTOKEN_RE=new RegExp(&quot;^[&quot;+o.NAME_CHAR+&quot;]+$&quot;,&quot;u&quot;);function i(a){return a&gt;=65&amp;&amp;a&lt;=90||a&gt;=97&amp;&amp;a&lt;=122||a===58||a===95||a===8204||a===8205||a&gt;=192&amp;&amp;a&lt;=214||a&gt;=216&amp;&amp;a&lt;=246||a&gt;=248&amp;&amp;a&lt;=767||a&gt;=880&amp;&amp;a&lt;=893||a&gt;=895&amp;&amp;a&lt;=8191||a&gt;=8304&amp;&amp;a&lt;=8591||a&gt;=11264&amp;&amp;a&lt;=12271||a&gt;=12289&amp;&amp;a&lt;=55295||a&gt;=63744&amp;&amp;a&lt;=64975||a&gt;=65008&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=983039}o.S_LIST=[32,10,13,9],o.isChar=function(a){return a&gt;=1&amp;&amp;a&lt;=55295||a&gt;=57344&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=1114111},o.isRestrictedChar=function(a){return a&gt;=1&amp;&amp;a&lt;=8||a===11||a===12||a&gt;=14&amp;&amp;a&lt;=31||a&gt;=127&amp;&amp;a&lt;=132||a&gt;=134&amp;&amp;a&lt;=159},o.isCharAndNotRestricted=function(a){return a===9||a===10||a===13||a&gt;31&amp;&amp;a&lt;127||a===133||a&gt;159&amp;&amp;a&lt;=55295||a&gt;=57344&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=1114111},o.isS=function(a){return a===32||a===10||a===13||a===9},o.isNameStartChar=i,o.isNameChar=function(a){return i(a)||a&gt;=48&amp;&amp;a&lt;=57||a===45||a===46||a===183||a&gt;=768&amp;&amp;a&lt;=879||a&gt;=8255&amp;&amp;a&lt;=8256}},{}],545:[function(t,n,o){function i(a){return a&gt;=65&amp;&amp;a&lt;=90||a===95||a&gt;=97&amp;&amp;a&lt;=122||a&gt;=192&amp;&amp;a&lt;=214||a&gt;=216&amp;&amp;a&lt;=246||a&gt;=248&amp;&amp;a&lt;=767||a&gt;=880&amp;&amp;a&lt;=893||a&gt;=895&amp;&amp;a&lt;=8191||a&gt;=8204&amp;&amp;a&lt;=8205||a&gt;=8304&amp;&amp;a&lt;=8591||a&gt;=11264&amp;&amp;a&lt;=12271||a&gt;=12289&amp;&amp;a&lt;=55295||a&gt;=63744&amp;&amp;a&lt;=64975||a&gt;=65008&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=983039}Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.NC_NAME_START_CHAR=&quot;A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,o.NC_NAME_CHAR=&quot;-&quot;+o.NC_NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,o.NC_NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+o.NC_NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NC_NAME_CHAR_RE=new RegExp(&quot;^[&quot;+o.NC_NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NC_NAME_RE=new RegExp(&quot;^[&quot;+o.NC_NAME_START_CHAR+&quot;][&quot;+o.NC_NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),o.isNCNameStartChar=i,o.isNCNameChar=function(a){return i(a)||a===45||a===46||a&gt;=48&amp;&amp;a&lt;=57||a===183||a&gt;=768&amp;&amp;a&lt;=879||a&gt;=8255&amp;&amp;a&lt;=8256}},{}]},{},[15])(15)}))})(iy)),iy.exports}var xie=bie();const yie=bs(xie);function Zu(e,r,t){if(e.length===0){alert(&quot;Aucune donnée à exporter&quot;);return}const n=Object.keys(e[0]),i=[n.join(&quot;,&quot;),...e.map(s=&gt;n.map(d=&gt;{const f=s[d];if(f==null)return&quot;&quot;;const h=String(f);return h.includes(&quot;,&quot;)||h.includes(&#039;&quot;&#039;)||h.includes(`
`)?`&quot;${h.replace(/&quot;/g,&#039;&quot;&quot;&#039;)}&quot;`:h}).join(&quot;,&quot;))].join(`
`),a=new Blob([&quot;\uFEFF&quot;+i],{type:&quot;text/csv;charset=utf-8;&quot;}),u=document.createElement(&quot;a&quot;),l=URL.createObjectURL(a);u.setAttribute(&quot;href&quot;,l),u.setAttribute(&quot;download&quot;,`${r}.csv`),u.style.visibility=&quot;hidden&quot;,document.body.appendChild(u),u.click(),document.body.removeChild(u),URL.revokeObjectURL(l)}async function Js(e,r,t=&quot;Données&quot;,n){if(e.length===0){alert(&quot;Aucune donnée à exporter&quot;);return}const o=Object.keys(e[0]),i=new yie.Workbook,a=i.addWorksheet(t);a.addRow(o);const u=a.getRow(1);u.font={bold:!0},u.fill={type:&quot;pattern&quot;,pattern:&quot;solid&quot;,fgColor:{argb:&quot;FFE5E7EB&quot;}},e.forEach(h=&gt;{const m=o.map(p=&gt;{const b=h[p];return b??&quot;&quot;});a.addRow(m)}),o.forEach((h,m)=&gt;{const p=a.getColumn(m+1);p.width=Math.max(h.length+2,15)});const l=await i.xlsx.writeBuffer(),s=new Blob([l],{type:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&quot;}),d=document.createElement(&quot;a&quot;),f=URL.createObjectURL(s);d.setAttribute(&quot;href&quot;,f),d.setAttribute(&quot;download&quot;,`${r}.xlsx`),d.style.visibility=&quot;hidden&quot;,document.body.appendChild(d),d.click(),document.body.removeChild(d),URL.revokeObjectURL(f)}function vie(e){return e?e===&quot;marie&quot;?&quot;Marié(e)&quot;:e===&quot;non_marie&quot;?&quot;Non marié(e)&quot;:e:&quot;&quot;}function wie(e){return e?e===&quot;homme&quot;?&quot;Homme&quot;:e===&quot;femme&quot;?&quot;Femme&quot;:e:&quot;&quot;}function _ie(e){return e?{primaire:&quot;Primaire&quot;,secondaire_2:&quot;Secondaire 2e cycle&quot;,universitaire:&quot;Universitaire&quot;}[e]||e:&quot;&quot;}function jie(e){return e?{natif:&quot;Natif&quot;,avance:&quot;Avancé&quot;,intermediaire:&quot;Intermédiaire&quot;,faible:&quot;Faible&quot;}[e]||e:&quot;&quot;}function Sie(e){return e?{musulmane:&quot;Musulmane&quot;,catholique:&quot;Catholique&quot;,protestante:&quot;Protestante&quot;,pentecotiste:&quot;Pentecôtiste&quot;,evangelique:&quot;Évangélique&quot;,autre:&quot;Autre&quot;}[e]||e:&quot;&quot;}function Qu(e){return e?{paypal:&quot;PayPal&quot;,card_visa:&quot;Carte de crédit (Visa)&quot;,mobile_money:&quot;Mobile Money&quot;,national_office:&quot;Bureau national&quot;,installment:&quot;Échelonné&quot;,orange_money:&quot;Orange Money&quot;,moov_money:&quot;Moov Money&quot;,ria:&quot;RIA&quot;,western_union:&quot;WESTERN UNION&quot;,moneygram:&quot;MONEYGRAM&quot;,cash:&quot;ESPÈCE&quot;,bank_transfer:&quot;VIREMENT BANCAIRE&quot;}[e]||e:&quot;&quot;}function kie(e){return e.amount_due_xof!=null&amp;&amp;e.amount_due_xof&gt;0?`${Number(e.amount_due_xof).toLocaleString(&quot;fr-FR&quot;)} XOF`:e.amount_due_eur!=null&amp;&amp;e.amount_due_eur&gt;0?`${e.amount_due_eur} EUR`:&quot;&quot;}function Uk(e,r){return e.map(t=&gt;{const n=t;return{ID:t.id,Événement:t.event?.name||&quot;&quot;,Statut:t.status,Prénom:t.first_name,Nom:t.last_name,Email:t.email,Téléphone:t.phone||&quot;&quot;,Pays:t.country||&quot;&quot;,Ville:t.city||&quot;&quot;,Organisation:t.organization||&quot;&quot;,Poste:t.position||&quot;&quot;,Nationalité:t.nationality||&quot;&quot;,&quot;Leader Haggai&quot;:t.is_haggai_leader?&quot;Oui&quot;:&quot;Non&quot;,&quot;Haggai ID&quot;:t.haggai_id||&quot;&quot;,Formule:r===&quot;seminar&quot;?&quot;&quot;:t.pricing_plan?.title||&quot;&quot;,&quot;Code Formule&quot;:r===&quot;seminar&quot;?&quot;&quot;:t.pricing_plan?.code||&quot;&quot;,&quot;Frais de participation&quot;:kie(t),&quot;Méthode de paiement&quot;:Qu(t.payment_method_selected),Devise:t.currency_selected||&quot;&quot;,&quot;Montant XOF&quot;:t.amount_due_xof??&quot;&quot;,&quot;Montant EUR&quot;:t.amount_due_eur??&quot;&quot;,&quot;Résident Ouaga&quot;:t.ouaga_resident_confirmed?&quot;Oui&quot;:&quot;Non&quot;,&quot;Nom conjoint&quot;:t.spouse_fullname||&quot;&quot;,&quot;Email conjoint&quot;:t.spouse_email||&quot;&quot;,&quot;Haggai ID / Année HLE conjoint&quot;:t.spouse_haggai_id||&quot;&quot;,&quot;Souhaite participer (séminaire)&quot;:t.seminar_want_to_participate===&quot;oui&quot;?&quot;Oui&quot;:t.seminar_want_to_participate===&quot;non&quot;?&quot;Non&quot;:&quot;&quot;,&quot;Église ou organisation (séminaire)&quot;:t.seminar_church_organization||&quot;&quot;,&quot;Rôle/Ministère (séminaire)&quot;:t.seminar_role_ministry||&quot;&quot;,&quot;Situation matrimoniale (séminaire)&quot;:vie(t.seminar_marital_status),&quot;Âge (séminaire)&quot;:t.seminar_age??&quot;&quot;,&quot;Genre (séminaire)&quot;:wie(t.seminar_gender),&quot;Question ou préoccupation (séminaire)&quot;:t.seminar_question_or_concern||&quot;&quot;,&quot;Date de naissance (séminaire)&quot;:n.seminar_date_naissance?new Date(n.seminar_date_naissance).toLocaleDateString(&quot;fr-FR&quot;):&quot;&quot;,&quot;Contact d&#039;urgence (séminaire)&quot;:n.seminar_contact_urgence_nom_lien||&quot;&quot;,&quot;Niveau d&#039;études (séminaire)&quot;:_ie(n.seminar_niveau_etudes),&quot;Domaines d&#039;étude (séminaire)&quot;:Array.isArray(n.seminar_domaines_etude)?n.seminar_domaines_etude.join(&quot;, &quot;):&quot;&quot;,&quot;Domaine d&#039;étude autre (séminaire)&quot;:n.seminar_domaine_etude_autre||&quot;&quot;,&quot;Niveau français (séminaire)&quot;:jie(n.seminar_niveau_francais),&quot;Besoin lettre d&#039;absence (séminaire)&quot;:n.seminar_besoin_lettre_absence===&quot;oui&quot;?&quot;Oui&quot;:n.seminar_besoin_lettre_absence===&quot;non&quot;?&quot;Non&quot;:&quot;&quot;,&quot;Détails lettre d&#039;absence (séminaire)&quot;:n.seminar_besoin_lettre_details||&quot;&quot;,&quot;Informations santé (séminaire)&quot;:n.seminar_sante_details||&quot;&quot;,&quot;Régime sans sel (séminaire)&quot;:n.seminar_regime_sans_sel===&quot;oui&quot;?&quot;Oui&quot;:n.seminar_regime_sans_sel===&quot;non&quot;?&quot;Non&quot;:&quot;&quot;,&quot;Confession religieuse (séminaire)&quot;:Sie(n.seminar_confession_religieuse),&quot;Spécification confession (séminaire)&quot;:n.seminar_confession_religieuse_autre||&quot;&quot;,&quot;Attentes (séminaire)&quot;:n.seminar_fardeau_transformation||&quot;&quot;,&quot;Recommandé par (séminaire)&quot;:n.seminar_recommande_par||&quot;&quot;,&quot;Engagements (séminaire)&quot;:Array.isArray(n.seminar_engagements)?n.seminar_engagements.join(&quot;, &quot;):&quot;&quot;,&quot;Engagements autre (séminaire)&quot;:n.seminar_engagements_autre||&quot;&quot;,&quot;Date de soumission&quot;:t.submitted_at?new Date(t.submitted_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;&quot;,&quot;Date de paiement&quot;:t.paid_at?new Date(t.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;&quot;,&quot;Date de création&quot;:new Date(t.created_at).toLocaleDateString(&quot;fr-FR&quot;)}})}function Vk(e){return e.map(r=&gt;({ID:r.id,Événement:r.event?.name||&quot;&quot;,Statut:r.status,&quot;Nom recommandé&quot;:r.recommended_full_name,Genre:r.recommended_gender===&quot;homme&quot;?&quot;Homme&quot;:&quot;Femme&quot;,Profession:r.recommended_profession,&quot;Pays de résidence&quot;:r.recommended_residence_country,&quot;Téléphone WhatsApp&quot;:r.recommended_phone_whatsapp,&quot;Email recommandé&quot;:r.recommended_email||&quot;&quot;,&quot;Personne contactée avant (recommandeur)&quot;:r.recommender_contacted_person===&quot;oui&quot;?&quot;Oui&quot;:r.recommender_contacted_person===&quot;non&quot;?&quot;Non&quot;:&quot;&quot;,&quot;Prénom recommandeur&quot;:r.recommender_first_name,&quot;Nom recommandeur&quot;:r.recommender_last_name,&quot;Email recommandeur&quot;:r.recommender_email,&quot;Téléphone recommandeur&quot;:r.recommender_phone,&quot;Pays recommandeur&quot;:r.recommender_country||&quot;&quot;,Notes:r.notes||&quot;&quot;,&quot;Date de contact&quot;:r.contacted_at?new Date(r.contacted_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;&quot;,&quot;Date de création&quot;:new Date(r.created_at).toLocaleDateString(&quot;fr-FR&quot;)}))}function qk(e){return e.map(r=&gt;({ID:r.id,Catégorie:r.category_name??&quot;&quot;,Type:r.category_type===&quot;revenue&quot;?&quot;Recettes&quot;:r.category_type===&quot;expense&quot;?&quot;Dépenses&quot;:&quot;—&quot;,Libellé:r.label??&quot;&quot;,&quot;Prévu (XOF)&quot;:r.amount_planned,&quot;Réalisé (XOF)&quot;:r.amount_realized,Ordre:r.sort_order??0}))}function Hk(e){return e.map(r=&gt;({ID:r.id,Date:r.paid_at?new Date(r.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;&quot;,&quot;Catégorie budget&quot;:r.budget_line_label??&quot;&quot;,Libellé:r.label??&quot;&quot;,&quot;Compte trésorerie&quot;:r.treasury_account_name??&quot;&quot;,&quot;Montant (XOF)&quot;:r.amount,Référence:r.reference??&quot;&quot;}))}function Nie(e){if(e.movement_type===&quot;transfer&quot;){const n=e.from_account_name??`#${e.from_treasury_account_id}`,o=e.to_account_name??`#${e.to_treasury_account_id}`;return`${n} → ${o}`}const r=e.adjusted_account_name??`#${e.treasury_account_id}`,t=e.adjustment_direction===&quot;increase&quot;?&quot;Augmentation&quot;:e.adjustment_direction===&quot;decrease&quot;?&quot;Diminution&quot;:&quot;&quot;;return t?`${r} · ${t}`:r}function Wk(e){return e.map(r=&gt;({ID:r.id,Type:r.movement_type===&quot;transfer&quot;?&quot;Transfert&quot;:&quot;Ajustement&quot;,Détail:Nie(r),Montant:r.amount,Devise:r.currency??&quot;&quot;,Libellé:r.label??&quot;&quot;,Notes:r.notes??&quot;&quot;,&quot;Créé le&quot;:r.created_at?new Date(r.created_at).toLocaleString(&quot;fr-FR&quot;):&quot;&quot;,&quot;Créé par&quot;:r.created_by_name??&quot;&quot;}))}function Cie(){const[e,r]=vp(),t=e.get(&quot;view&quot;),n=t===&quot;seminar&quot;||t===&quot;recommendations&quot;?t:&quot;summit&quot;,o=xs(),{isAuthenticated:i,isParticipant:a,loading:u,can:l,roles:s}=Ls(),[d,f]=L.useState({}),[h,m]=L.useState(1),[p,b]=L.useState(20),[g,y]=L.useState(1),[v,_]=L.useState(20),[C,O]=L.useState(null),[T,V]=L.useState(null),[F,H]=L.useState(!1),[W,K]=L.useState(!1),[$,P]=L.useState(!1),[D,E]=L.useState(!1),[j,k]=L.useState(!1),[S,N]=L.useState(!1),[M,R]=L.useState(!1),[B,Y]=L.useState(null),[Z,ie]=L.useState(null),U=L.useRef(null),ee=()=&gt;{const we=U.current;we&amp;&amp;(we.open=!1)},z=L.useMemo(()=&gt;{const we=d.status;return!we||we.length===0?null:we.length===1?we[0]:&quot;multiple&quot;},[d.status]),{events:I}=kp(),X=L.useMemo(()=&gt;I.filter(we=&gt;we.event_type===&quot;summit&quot;).map(we=&gt;we.id),[I]),re=L.useMemo(()=&gt;I.filter(we=&gt;we.event_type===&quot;seminar&quot;).map(we=&gt;we.id),[I]),ne=s.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),Q=s.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),te=s.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),de=s.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),le=ne||de?!1:l(&quot;registrations.read&quot;),se=Q||te?!1:l(&quot;registrations.read&quot;),fe=ne||te?!1:l(&quot;recommendations.read&quot;),he=le||se||fe,ue=l(&quot;registrations.update_status&quot;),ge=l(&quot;registrations.send_to_correction&quot;),xe=l(&quot;registrations.update&quot;),pe=l(&quot;registrations.delete&quot;),ce=l(&quot;registrations.export&quot;),Ce=(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;s.includes(&quot;COMMISSION_COMMUNICATION&quot;),Me=s.includes(&quot;COMMISSION_ADMINISTRATION&quot;)&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;),Se=s.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;)&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;),Te=Me&amp;&amp;n===&quot;seminar&quot;||Se&amp;&amp;n===&quot;summit&quot;,Qe=Te?!1:ue,Ve=Te?!1:xe,Xe=Te?!1:pe,tt=ue&amp;&amp;!(Me&amp;&amp;C?.event?.event_type===&quot;seminar&quot;)&amp;&amp;!(Se&amp;&amp;C?.event?.event_type===&quot;summit&quot;);L.useEffect(()=&gt;{const we=[];le&amp;&amp;we.push(&quot;summit&quot;),se&amp;&amp;we.push(&quot;seminar&quot;),fe&amp;&amp;we.push(&quot;recommendations&quot;),we.length&gt;0&amp;&amp;!we.includes(n)&amp;&amp;r({view:we[0]},{replace:!0})},[le,se,fe,n,r]),L.useEffect(()=&gt;{const we=U.current;we&amp;&amp;(we.open=!1)},[n]);const He=L.useMemo(()=&gt;{const we={...d,page:h,per_page:p};return n===&quot;summit&quot;&amp;&amp;X.length&gt;0?(we.event_type=&quot;summit&quot;,X.length===1?we.event_id=X[0]:d.event_id&amp;&amp;!X.includes(d.event_id)&amp;&amp;(we.event_id=void 0)):n===&quot;seminar&quot;&amp;&amp;re.length&gt;0&amp;&amp;(we.event_type=&quot;seminar&quot;,re.length===1?we.event_id=re[0]:d.event_id&amp;&amp;!re.includes(d.event_id)&amp;&amp;(we.event_id=void 0)),we},[d,h,p,n,X,re]),{data:ze,loading:Ze,error:et,refetch:Je}=FF(He,he&amp;&amp;i&amp;&amp;(n===&quot;summit&quot;||n===&quot;seminar&quot;)),It=L.useMemo(()=&gt;{const we={created_from:d.created_from,created_to:d.created_to};return n===&quot;summit&quot;&amp;&amp;X.length&gt;0?X.length===1?we.event_id=X[0]:we.event_type=&quot;summit&quot;:n===&quot;seminar&quot;&amp;&amp;re.length&gt;0?re.length===1?we.event_id=re[0]:we.event_type=&quot;seminar&quot;:He.event_id&amp;&amp;(we.event_id=He.event_id),we},[n,X,re,d.created_from,d.created_to,He.event_id]),{data:Vt,loading:ot,refetch:Tt}=BF(It,he&amp;&amp;i&amp;&amp;(n===&quot;summit&quot;||n===&quot;seminar&quot;)),{data:jt,loading:St,error:Xt,refetch:$t}=zF({status:d.status,q:d.q,created_from:d.created_from,created_to:d.created_to,page:g,per_page:v},fe&amp;&amp;i),ht=async()=&gt;{R(!0);try{const we=[Je(),Tt()];fe&amp;&amp;we.push($t()),await Promise.all(we)}finally{R(!1)}};if(u)return c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!i)return c.jsx(ui,{to:&quot;/login&quot;,replace:!0});if(a)return c.jsx(ui,{to:&quot;/account&quot;,replace:!0});if(!he)return c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[c.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Accès non autorisé&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Vous n&#039;avez pas les permissions nécessaires pour accéder à cette page.&quot;})]})});if(et){if(et.status===403&amp;&amp;(l(&quot;finance.dashboard&quot;)||l(&quot;payments.read&quot;)))return o(&quot;/admin/finance&quot;,{replace:!0}),null;const we=et.status===401?&quot;Vous devez être connecté pour accéder à cette page.&quot;:et.status===403?&quot;Vous n&#039;avez pas les permissions nécessaires.&quot;:et.data?.message||&quot;Une erreur est survenue.&quot;;return c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[c.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Erreur&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-4&quot;,children:we}),c.jsx(Le,{variant:&quot;primary&quot;,onClick:()=&gt;window.location.reload(),children:&quot;Recharger la page&quot;})]})})}const Ut=we=&gt;{O(we),H(!0)},Ot=we=&gt;{O(we),K(!0)},xt=we=&gt;{O(we),P(!0)},Rt=we=&gt;{O(we),E(!0)},Gt=()=&gt;{Je(),Tt(),C&amp;&amp;(H(!1),H(!0))},vt=()=&gt;{Je(),Tt(),C&amp;&amp;(H(!1),H(!0))},ye=()=&gt;{Je(),Tt(),O(null)},ke=we=&gt;{ie(we)},Ie=()=&gt;{ie(null),Je(),Tt()},Ke=async we=&gt;{Y(we.id);try{await ho.resendActivationEmail(we.id),alert(&quot;Email d’activation renvoyé. Le participant recevra le lien pour confirmer et choisir son mot de passe.&quot;)}catch(De){if(De instanceof Kt){const Fe=De.data.errors?.status?.[0]||De.data.errors?.registration?.[0]||De.data.message;alert(Fe||De.message)}else alert(&quot;Erreur lors de l’envoi de l’email.&quot;)}finally{Y(null)}},dt=we=&gt;{m(we),window.scrollTo({top:0,behavior:&quot;smooth&quot;})},Ge=we=&gt;{b(we),m(1)},wt=we=&gt;{m(1),f(we===&quot;total&quot;?De=&gt;({...De,status:void 0}):De=&gt;({...De,status:[we]}))},gt=we=&gt;{V(we),console.log(&quot;Recommandation sélectionnée:&quot;,we),alert(`Recommandation #${we.id}

Recommandé: ${we.recommended_full_name}
Email recommandé: ${we.recommended_email||&quot;-&quot;}
Profession: ${we.recommended_profession}
Pays: ${we.recommended_residence_country}

Recommandeur: ${we.recommender_first_name} ${we.recommender_last_name} (${we.recommender_email})`)},nt=we=&gt;{V(we),k(!0)},Ct=()=&gt;{$t()},kt=l(&quot;recommendations.delete&quot;),Pt=l(&quot;recommendations.update_status&quot;),Jt=we=&gt;{confirm(`Supprimer la recommandation pour ${we.recommended_full_name} ? Cette action est irréversible.`)&amp;&amp;ad.delete(we.id).then(()=&gt;$t()).catch(De=&gt;{alert(De?.data?.message??&quot;Erreur lors de la suppression.&quot;)})},Ht=we=&gt;{y(we),window.scrollTo({top:0,behavior:&quot;smooth&quot;})},ar=we=&gt;{_(we),y(1)},or=async()=&gt;{const we=[];let De=1,Fe=!0;for(;Fe;)try{const Nt=await ho.list({...He,page:De,per_page:100});we.push(...Nt.data),De&gt;=Nt.meta.last_page?Fe=!1:De++}catch(Nt){throw console.error(&quot;Erreur lors de la récupération des inscriptions:&quot;,Nt),Nt}return we},$r=async()=&gt;{const we=[];let De=1,Fe=!0;for(;Fe;)try{const Nt=await ad.list({status:d.status,q:d.q,created_from:d.created_from,created_to:d.created_to,page:De,per_page:100});we.push(...Nt.data),De&gt;=Nt.meta.last_page?Fe=!1:De++}catch(Nt){throw console.error(&quot;Erreur lors de la récupération des recommandations:&quot;,Nt),Nt}return we},me=async()=&gt;{ee(),N(!0);try{const we=await or(),Fe=Uk(we,n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0),_t=`inscriptions_${n===&quot;summit&quot;?&quot;sommet&quot;:&quot;seminaire&quot;}_${new Date().toISOString().split(&quot;T&quot;)[0]}`;Zu(Fe,_t)}catch(we){alert(&quot;Erreur lors de l&#039;export CSV: &quot;+(we instanceof Error?we.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}},je=async()=&gt;{ee(),N(!0);try{const we=await or(),Fe=Uk(we,n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0),_t=`inscriptions_${n===&quot;summit&quot;?&quot;sommet&quot;:&quot;seminaire&quot;}_${new Date().toISOString().split(&quot;T&quot;)[0]}`;await Js(Fe,_t,n===&quot;summit&quot;?&quot;Inscriptions Sommet&quot;:&quot;Inscriptions Séminaire&quot;)}catch(we){alert(&quot;Erreur lors de l&#039;export XLSX: &quot;+(we instanceof Error?we.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}},Re=async()=&gt;{ee(),N(!0);try{const we=await $r(),De=Vk(we),Fe=`recommandations_${new Date().toISOString().split(&quot;T&quot;)[0]}`;Zu(De,Fe)}catch(we){alert(&quot;Erreur lors de l&#039;export CSV: &quot;+(we instanceof Error?we.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}},Be=async()=&gt;{ee(),N(!0);try{const we=await $r(),De=Vk(we),Fe=`recommandations_${new Date().toISOString().split(&quot;T&quot;)[0]}`;await Js(De,Fe,&quot;Recommandations&quot;)}catch(we){alert(&quot;Erreur lors de l&#039;export XLSX: &quot;+(we instanceof Error?we.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}};return c.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[c.jsx(Cp,{showRefresh:!0,refreshing:M,onRefresh:ht}),c.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-1&quot;,children:[c.jsx(Ep,{currentSection:&quot;registrations&quot;,registrationView:n,showSommet:le,showSeminar:se,showRecommendations:fe,showUsers:!1,showFinance:te||de?!1:l(&quot;finance.dashboard&quot;)||l(&quot;payments.read&quot;),showSettings:ne||Q||te||de?!1:l(&quot;settings.read&quot;)||l(&quot;settings.update&quot;)}),c.jsxs(&quot;main&quot;,{className:&quot;min-w-0 flex-1 lg:ml-48 pb-16 lg:pb-0&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;w-full min-w-0 max-w-full px-3 py-3 sm:px-5 sm:py-6 lg:px-6 lg:py-8&quot;,children:[c.jsx(_B,{title:n===&quot;summit&quot;?&quot;Inscriptions Sommet&quot;:n===&quot;seminar&quot;?&quot;Inscriptions Séminaire&quot;:&quot;Recommandations Séminaire&quot;,subtitle:n===&quot;summit&quot;?&quot;Gérez et suivez toutes les inscriptions au Sommet&quot;:n===&quot;seminar&quot;?&quot;Gérez et suivez toutes les inscriptions au Séminaire&quot;:&quot;Gérez et suivez toutes les recommandations pour le séminaire&quot;,actions:(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;!Ce&amp;&amp;ce&amp;&amp;!(Me&amp;&amp;n===&quot;seminar&quot;)&amp;&amp;!(Se&amp;&amp;n===&quot;summit&quot;)||n===&quot;recommendations&quot;&amp;&amp;!Me&amp;&amp;Pt?c.jsxs(&quot;details&quot;,{ref:U,className:&quot;relative&quot;,children:[c.jsxs(&quot;summary&quot;,{className:&quot;flex max-w-[min(100%,14rem)] cursor-pointer list-none items-center gap-2 rounded-lg border-2 border-brand-900 bg-white px-3 py-2 text-xs font-medium uppercase leading-tight tracking-wider text-brand-900 sm:max-w-none sm:px-4 sm:text-sm [&amp;::-webkit-details-marker]:hidden&quot;,children:[&quot;TELECHARGER LES LISTES&quot;,c.jsx(Py,{className:&quot;h-4 w-4 shrink-0 opacity-70&quot;,&quot;aria-hidden&quot;:!0})]}),c.jsxs(&quot;div&quot;,{className:&quot;absolute right-0 z-50 mt-2 w-56 overflow-hidden rounded-lg border border-gray-200 bg-white py-1 shadow-lg&quot;,onClick:we=&gt;we.stopPropagation(),children:[(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;!Ce&amp;&amp;ce&amp;&amp;!(Me&amp;&amp;n===&quot;seminar&quot;)&amp;&amp;!(Se&amp;&amp;n===&quot;summit&quot;)?c.jsxs(c.Fragment,{children:[c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,disabled:S,className:&quot;flex w-full items-center gap-2 px-4 py-2.5 text-left text-sm text-ink-900 hover:bg-brand-50 disabled:opacity-50&quot;,onClick:()=&gt;{me()},children:[c.jsx(vm,{className:&quot;h-4 w-4 shrink-0&quot;,&quot;aria-hidden&quot;:!0}),S?&quot;Export…&quot;:&quot;Export CSV&quot;]}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,disabled:S,className:&quot;flex w-full items-center gap-2 px-4 py-2.5 text-left text-sm text-ink-900 hover:bg-brand-50 disabled:opacity-50&quot;,onClick:()=&gt;{je()},children:[c.jsx(P4,{className:&quot;h-4 w-4 shrink-0&quot;,&quot;aria-hidden&quot;:!0}),S?&quot;Export…&quot;:&quot;Export XLSX&quot;]})]}):null,n===&quot;recommendations&quot;&amp;&amp;!Me&amp;&amp;Pt?c.jsxs(c.Fragment,{children:[c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,disabled:S,className:&quot;flex w-full items-center gap-2 px-4 py-2.5 text-left text-sm text-ink-900 hover:bg-brand-50 disabled:opacity-50&quot;,onClick:()=&gt;{Re()},children:[c.jsx(vm,{className:&quot;h-4 w-4 shrink-0&quot;,&quot;aria-hidden&quot;:!0}),S?&quot;Export…&quot;:&quot;Export CSV&quot;]}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,disabled:S,className:&quot;flex w-full items-center gap-2 px-4 py-2.5 text-left text-sm text-ink-900 hover:bg-brand-50 disabled:opacity-50&quot;,onClick:()=&gt;{Be()},children:[c.jsx(P4,{className:&quot;h-4 w-4 shrink-0&quot;,&quot;aria-hidden&quot;:!0}),S?&quot;Export…&quot;:&quot;Export XLSX&quot;]})]}):null]})]}):void 0}),c.jsx(jB,{children:c.jsx(wB,{filters:d,onFiltersChange:f,hideEventFilter:n===&quot;summit&quot;||n===&quot;seminar&quot;})}),(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;!Ce&amp;&amp;c.jsxs(SB,{children:[c.jsx(&quot;h3&quot;,{className:&quot;mb-1.5 text-xs font-semibold text-ink-800 sm:mb-2 sm:text-sm&quot;,children:&quot;Vue d&#039;ensemble&quot;}),c.jsx(gie,{counts:Vt?.by_status??{},loading:ot,activeSingleStatus:z,onKpiClick:wt})]}),n===&quot;summit&quot;||n===&quot;seminar&quot;?c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{className:&quot;mb-2 min-w-0 sm:mb-4&quot;,children:[et&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-xl p-4 mb-4&quot;,children:c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:[&quot;Erreur lors du chargement des inscriptions: &quot;,et.data?.message||et.message||&quot;Une erreur est survenue&quot;]})}),Ce?c.jsx(AB,{registrations:ze?.data??[],loading:Ze}):c.jsx(EB,{registrations:ze?.data||[],loading:Ze,eventType:n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0,onViewDetails:Ut,onUpdateStatus:Qe?Ot:void 0,onEdit:Ve?xt:void 0,onDelete:Xe?Rt:void 0,onResendActivation:Ve?Ke:void 0,onResetParticipantPassword:Ve?ke:void 0,canUpdateStatus:Qe,canEdit:Ve,canDelete:Xe,canResendActivation:Ve,canResetParticipantPassword:Ve,resendingActivationId:B})]}),ze?.meta&amp;&amp;ze.meta.last_page&gt;1&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex min-w-0 flex-wrap items-center justify-between gap-3 rounded-xl bg-white p-3 shadow-soft sm:p-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap items-center gap-3&quot;,children:[c.jsxs(&quot;span&quot;,{className:&quot;min-w-0 text-sm text-ink-500&quot;,children:[&quot;Affichage de &quot;,ze.meta.from,&quot; à &quot;,ze.meta.to,&quot; sur&quot;,&quot; &quot;,ze.meta.total,&quot; inscriptions&quot;]}),c.jsxs(&quot;select&quot;,{value:p,onChange:we=&gt;Ge(Number(we.target.value)),className:&quot;px-3 py-1 border border-gray-300 rounded-lg text-sm&quot;,children:[c.jsx(&quot;option&quot;,{value:20,children:&quot;20 par page&quot;}),c.jsx(&quot;option&quot;,{value:50,children:&quot;50 par page&quot;}),c.jsx(&quot;option&quot;,{value:100,children:&quot;100 par page&quot;})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex shrink-0 items-center gap-2&quot;,children:[c.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;dt(h-1),disabled:h===1,children:&quot;Précédent&quot;}),c.jsxs(&quot;span&quot;,{className:&quot;whitespace-nowrap px-2 text-sm text-ink-500&quot;,children:[&quot;Page &quot;,h,&quot; sur &quot;,ze.meta.last_page]}),c.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;dt(h+1),disabled:h&gt;=ze.meta.last_page,children:&quot;Suivant&quot;})]})]}),!Ce&amp;&amp;c.jsxs(&quot;details&quot;,{className:&quot;mb-6 min-w-0 rounded-xl border border-gray-200 bg-white/90 shadow-sm sm:mb-8&quot;,children:[c.jsxs(&quot;summary&quot;,{className:&quot;flex cursor-pointer list-none items-center justify-between gap-2 px-3 py-2 text-sm font-semibold text-ink-900 sm:px-4 sm:py-3 sm:text-base [&amp;::-webkit-details-marker]:hidden&quot;,children:[&quot;Statistiques&quot;,c.jsx(Py,{className:&quot;h-4 w-4 shrink-0 text-ink-500 sm:h-5 sm:w-5&quot;,&quot;aria-hidden&quot;:!0})]}),c.jsx(&quot;div&quot;,{className:&quot;border-t border-gray-100 px-3 py-3 sm:px-4 sm:py-4&quot;,children:c.jsx(pie,{stats:Vt,loading:ot})})]})]}):c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{className:&quot;mb-6 min-w-0&quot;,children:[Xt&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-xl p-4 mb-4&quot;,children:c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:[&quot;Erreur lors du chargement des recommandations: &quot;,Xt.message]})}),c.jsx(MB,{recommendations:jt?.data||[],loading:St,onViewDetails:gt,onTreat:Pt&amp;&amp;!Me?nt:void 0,onDelete:Jt,canDelete:Me?!1:kt})]}),jt?.meta&amp;&amp;jt.meta.last_page&gt;1&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap items-center justify-between gap-3 rounded-xl bg-white p-3 shadow-soft sm:p-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap items-center gap-3&quot;,children:[c.jsxs(&quot;span&quot;,{className:&quot;min-w-0 text-sm text-ink-500&quot;,children:[&quot;Affichage de &quot;,jt.meta.from,&quot; à &quot;,jt.meta.to,&quot; sur&quot;,&quot; &quot;,jt.meta.total,&quot; recommandations&quot;]}),c.jsxs(&quot;select&quot;,{value:v,onChange:we=&gt;ar(Number(we.target.value)),className:&quot;px-3 py-1 border border-gray-300 rounded-lg text-sm&quot;,children:[c.jsx(&quot;option&quot;,{value:20,children:&quot;20 par page&quot;}),c.jsx(&quot;option&quot;,{value:50,children:&quot;50 par page&quot;}),c.jsx(&quot;option&quot;,{value:100,children:&quot;100 par page&quot;})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex shrink-0 items-center gap-2&quot;,children:[c.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;Ht(g-1),disabled:g===1,children:&quot;Précédent&quot;}),c.jsxs(&quot;span&quot;,{className:&quot;whitespace-nowrap px-2 text-sm text-ink-500&quot;,children:[&quot;Page &quot;,g,&quot; sur &quot;,jt.meta.last_page]}),c.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;Ht(g+1),disabled:g&gt;=jt.meta.last_page,children:&quot;Suivant&quot;})]})]})]})]}),c.jsx(OB,{registration:C,isOpen:F,onClose:()=&gt;{H(!1),O(null)},onUpdateStatus:tt?Ot:void 0,canUpdateStatus:tt,onResetParticipantPassword:Ve?ke:void 0}),Z&amp;&amp;c.jsx(PB,{registration:Z,onClose:()=&gt;ie(null),onSuccess:Ie}),c.jsx(TB,{registration:C,isOpen:W,onClose:()=&gt;{K(!1),O(null)},onSuccess:Gt,canSendToCorrection:ge}),c.jsx(IB,{registration:C,isOpen:$,onClose:()=&gt;{P(!1),O(null)},onSuccess:vt}),c.jsx(RB,{registration:C,isOpen:D,onClose:()=&gt;{E(!1),O(null)},onSuccess:ye}),c.jsx(LB,{recommendation:T,isOpen:j,onClose:()=&gt;{k(!1),V(null)},onSuccess:Ct})]})]})]})}function Eie(){const{isAuthenticated:e,isParticipant:r,loading:t,can:n,roles:o}=Ls(),i=o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),a=o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),u=o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),l=o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),[s,d]=L.useState(&quot;&quot;),[f,h]=L.useState(&quot;&quot;),[m,p]=L.useState(&quot;&quot;),[b,g]=L.useState(!1),[y,v]=L.useState(!1),[_,C]=L.useState(!1),[O,T]=L.useState(null),[V,F]=L.useState({}),H=async W=&gt;{W.preventDefault(),T(null),F({}),C(!1),v(!0);try{await nC.changePassword({current_password:s,new_password:f,new_password_confirmation:m,revoke_other_tokens:b}),C(!0),d(&quot;&quot;),h(&quot;&quot;),p(&quot;&quot;)}catch(K){const $=K;if(T($.data?.message??&quot;Erreur lors du changement de mot de passe.&quot;),$.data?.errors){const P={};for(const[D,E]of Object.entries($.data.errors))P[D]=Array.isArray(E)?E[0]:String(E);F(P)}}finally{v(!1)}};return t?c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):e?r?c.jsx(ui,{to:&quot;/account&quot;,replace:!0}):c.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[c.jsx(Cp,{}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[c.jsx(Ep,{currentSection:&quot;account&quot;,showSommet:i||l?!1:n(&quot;registrations.read&quot;),showSeminar:a||u?!1:n(&quot;registrations.read&quot;),showRecommendations:i||u?!1:n(&quot;recommendations.read&quot;),showUsers:!1,showFinance:u||l?!1:n(&quot;finance.dashboard&quot;)||n(&quot;payments.read&quot;),showSettings:i||a||u||l?!1:n(&quot;settings.read&quot;)||n(&quot;settings.update&quot;)}),c.jsx(&quot;main&quot;,{className:&quot;flex-1 w-full lg:ml-48 pb-16 lg:pb-0&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;w-full px-4 sm:px-6 lg:px-8 py-6 lg:py-8 max-w-xl&quot;,children:[c.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-bold text-ink-900 mb-2&quot;,children:&quot;Mon compte&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-6&quot;,children:&quot;Changez votre mot de passe. Optionnel : révoquer les autres sessions (reconnexion requise sur les autres appareils).&quot;}),c.jsxs(Kn,{className:&quot;p-6&quot;,children:[_&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-green-50 border border-green-200 rounded-lg text-sm text-green-700&quot;,children:&quot;Mot de passe mis à jour avec succès.&quot;}),O&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:O}),c.jsxs(&quot;form&quot;,{onSubmit:H,className:&quot;space-y-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Mot de passe actuel&quot;}),c.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:s,onChange:W=&gt;d(W.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,autoComplete:&quot;current-password&quot;}),V.current_password&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:V.current_password})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nouveau mot de passe&quot;}),c.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:f,onChange:W=&gt;h(W.target.value),required:!0,minLength:8,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,autoComplete:&quot;new-password&quot;}),V.new_password&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:V.new_password})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Confirmer le nouveau mot de passe&quot;}),c.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:m,onChange:W=&gt;p(W.target.value),required:!0,minLength:8,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,autoComplete:&quot;new-password&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,id:&quot;revoke&quot;,checked:b,onChange:W=&gt;g(W.target.checked),className:&quot;rounded border-gray-300&quot;}),c.jsx(&quot;label&quot;,{htmlFor:&quot;revoke&quot;,className:&quot;text-sm text-ink-700&quot;,children:&quot;Révoquer les autres sessions (déconnecter les autres appareils)&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 pt-4&quot;,children:[c.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:y,children:y?&quot;Enregistrement...&quot;:&quot;Changer le mot de passe&quot;}),c.jsx(Cr,{to:&quot;/admin/registrations&quot;,className:&quot;inline-flex items-center px-4 py-2 text-sm font-medium text-ink-700 bg-white border border-gray-300 rounded-lg hover:bg-gray-50&quot;,children:&quot;Retour au tableau de bord&quot;})]})]})]})]})})]})]}):c.jsx(ui,{to:&quot;/login&quot;,replace:!0})}const SM=&quot;fr-FR&quot;,mw=new Intl.NumberFormat(SM,{useGrouping:!0,maximumFractionDigits:0,minimumFractionDigits:0}),Aie=new Intl.NumberFormat(SM,{useGrouping:!0,minimumFractionDigits:2,maximumFractionDigits:2});function pw(e){return e.replace(/\u202f/g,&quot; &quot;).replace(/\u2009/g,&quot; &quot;)}function gw(e){if(e==null||e===&quot;&quot;)return null;if(typeof e==&quot;number&quot;)return Number.isFinite(e)?e:null;if(typeof e==&quot;string&quot;){const r=e.replace(/\s/g,&quot;&quot;).replace(/\u202f/g,&quot;&quot;).replace(&quot;,&quot;,&quot;.&quot;);if(r===&quot;&quot;)return null;const t=Number(r);return Number.isFinite(t)?t:null}return null}function Mie(e){const r=gw(e);return r===null?&quot;—&quot;:pw(mw.format(Math.trunc(r)))}function yr(e){const r=gw(e);return r===null?&quot;—&quot;:`${pw(mw.format(Math.trunc(r)))} XOF`}function Oie(e,r){const t=gw(e);if(t===null)return&quot;—&quot;;const n=r!=null&amp;&amp;String(r).trim()!==&quot;&quot;?String(r).trim().toUpperCase():&quot;&quot;,i=pw(n===&quot;EUR&quot;?Aie.format(t):mw.format(Math.trunc(t)));return n?`${i} ${n}`:i}function En(e,r){const t=r!=null?String(r).trim().toUpperCase():&quot;&quot;;return t===&quot;XOF&quot;||t===&quot;FCFA&quot;?yr(e):Oie(e,r)}function Kk(e,r){const t=yr(e);return t===&quot;—&quot;?&quot;—&quot;:r===&quot;expense&quot;?`-${Mie(e)} XOF`:t}function Xk(e){return e===&quot;expense&quot;?&quot;bg-red-50 text-red-950 border-l-4 border-l-red-600 hover:bg-red-100/90&quot;:e===&quot;revenue&quot;?&quot;bg-emerald-900/[0.07] text-emerald-950 border-l-4 border-l-emerald-800 hover:bg-emerald-900/12&quot;:&quot;hover:bg-gray-50/80&quot;}function Pie(e){const r=new Map;for(const t of e){const n=t.budget_category_id,o=Number(t.amount_realized)||0,i=r.get(n);i?i.amount_realized+=o:r.set(n,{category_name:t.category_name,category_type:t.category_type,amount_realized:o})}return[...r.entries()].map(([t,n])=&gt;({budget_category_id:t,...n})).sort((t,n)=&gt;{const o=a=&gt;a===&quot;revenue&quot;?0:a===&quot;expense&quot;?1:2,i=o(t.category_type)-o(n.category_type);return i!==0?i:t.category_name.localeCompare(n.category_name,&quot;fr&quot;,{sensitivity:&quot;base&quot;})})}function Tie({hasSelectedEvent:e,readOnly:r,alerts:t,table:n,writable:o}){const[i,a]=L.useState(null),{linesError:u,saveMessage:l}=t,{lines:s,loading:d,totals:f,moveLineLoading:h,onMoveUp:m,onMoveDown:p,onOpenEdit:b,onDelete:g}=n,y=L.useMemo(()=&gt;Pie(s),[s]);return c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Budget&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:&quot;Budget prévisionnel par ligne ; en dessous, synthèse des montants réalisés regroupés par catégorie (XOF).&quot;})]}),e?c.jsxs(c.Fragment,{children:[u&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:u}),l&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-green-50 border border-green-200 rounded-lg text-green-700 text-sm&quot;,children:l}),c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden mb-6 shadow-sm&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;px-4 py-3 border-b border-gray-100 bg-gray-50/80&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-900&quot;,children:&quot;Budget prévisionnel&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-0.5&quot;,children:&quot;Montants prévus par ligne (libellé détaillé).&quot;})]}),c.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:c.jsxs(&quot;table&quot;,{className:&quot;w-full text-left min-w-[560px]&quot;,children:[c.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Catégorie&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Type&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Libellé&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Prévu (XOF)&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 w-24 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Actions&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:d?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:5,className:&quot;px-4 py-10 text-center text-ink-500 text-sm&quot;,children:&quot;Chargement des lignes budgétaires…&quot;})}):s.length===0?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:5,className:&quot;px-4 py-10 text-center text-ink-600 text-sm leading-relaxed&quot;,children:&quot;Aucune ligne de budget pour cet événement. Utilisez le formulaire ci-dessous pour en ajouter une.&quot;})}):s.map(v=&gt;c.jsxs(&quot;tr&quot;,{className:Xk(v.category_type),children:[c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium&quot;,children:v.category_name}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm opacity-95&quot;,children:v.category_type===&quot;revenue&quot;?&quot;Recettes&quot;:v.category_type===&quot;expense&quot;?&quot;Dépenses&quot;:&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm opacity-95 max-w-[200px] truncate&quot;,title:v.label??void 0,children:v.label??&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-right tabular-nums whitespace-nowrap font-medium&quot;,children:Kk(v.amount_planned,v.category_type)}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:!r&amp;&amp;c.jsx(po,{rowId:v.id,openMenuId:i,setOpenMenuId:a,onEdit:()=&gt;b(v),editLabel:&quot;Modifier&quot;,menuItems:[{id:&quot;up&quot;,label:&quot;Monter&quot;,onSelect:()=&gt;m(v),disabled:!!h||s[0]?.id===v.id,title:&quot;Monter la ligne&quot;},{id:&quot;down&quot;,label:&quot;Descendre&quot;,onSelect:()=&gt;p(v),disabled:!!h||s[s.length-1]?.id===v.id,title:&quot;Descendre la ligne&quot;},{id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,onSelect:()=&gt;g(v),title:&quot;Supprimer la ligne&quot;}]})})]},v.id))})]})}),s.length&gt;0&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;border-t border-gray-200 divide-y divide-gray-200&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;bg-amber-50/50 px-4 py-4&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-xs font-semibold text-ink-600 uppercase tracking-wider mb-3&quot;,children:&quot;Totaux budget (prévu) et équilibrage&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-x-8 gap-y-2 text-sm&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Recettes (prévu) :&quot;}),&quot; &quot;,c.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:yr(f.totalRevenuePlanned)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Dépenses (prévu) :&quot;}),&quot; &quot;,c.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:yr(f.totalExpensePlanned)})]})]}),c.jsx(&quot;div&quot;,{className:&quot;mt-3 pt-3 border-t border-amber-200&quot;,children:f.shortfall&gt;0?c.jsxs(&quot;p&quot;,{className:&quot;text-amber-800 font-medium tabular-nums whitespace-nowrap&quot;,children:[&quot;Fonds à rechercher : &quot;,yr(f.shortfall)]}):f.surplus&gt;0?c.jsxs(&quot;p&quot;,{className:&quot;text-green-800 font-medium tabular-nums whitespace-nowrap&quot;,children:[&quot;Montant restant après dépenses : &quot;,yr(f.surplus)]}):c.jsx(&quot;p&quot;,{className:&quot;text-ink-600 font-medium&quot;,children:&quot;Budget prévu équilibré.&quot;})})]}),!d&amp;&amp;y.length&gt;0?c.jsxs(&quot;div&quot;,{className:&quot;bg-white px-0&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;px-4 py-3 border-b border-gray-100 bg-slate-50/90&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-900&quot;,children:&quot;Réalisation — synthèse par catégorie&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-0.5&quot;,children:&quot;Total réalisé par catégorie (somme des lignes détaillées).&quot;})]}),c.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:c.jsxs(&quot;table&quot;,{className:&quot;w-full text-left min-w-[480px]&quot;,children:[c.jsx(&quot;thead&quot;,{className:&quot;bg-slate-100/80 border-b border-gray-200&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Catégorie&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Type&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Réalisé (XOF)&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:y.map(v=&gt;c.jsxs(&quot;tr&quot;,{className:Xk(v.category_type),children:[c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium&quot;,children:v.category_name}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm opacity-95&quot;,children:v.category_type===&quot;revenue&quot;?&quot;Recettes&quot;:v.category_type===&quot;expense&quot;?&quot;Dépenses&quot;:&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-right tabular-nums whitespace-nowrap font-medium&quot;,children:Kk(v.amount_realized,v.category_type)})]},v.budget_category_id))})]})})]}):null,c.jsxs(&quot;div&quot;,{className:&quot;bg-green-50/50 px-4 py-4&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-xs font-semibold text-ink-600 uppercase tracking-wider mb-3&quot;,children:&quot;Réalisation — totaux globaux&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-x-8 gap-y-2 text-sm&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Recettes (réalisé) :&quot;}),&quot; &quot;,c.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums&quot;,children:yr(f.totalRevenueRealized)})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Dépenses (réalisé) :&quot;}),&quot; &quot;,c.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums&quot;,children:yr(f.totalExpenseRealized)})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;mt-3 pt-3 border-t border-green-200&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;text-ink-600 font-medium&quot;,children:&quot;Solde : &quot;}),c.jsx(&quot;span&quot;,{className:`font-semibold tabular-nums whitespace-nowrap ${f.totalRevenueRealized-f.totalExpenseRealized&gt;=0?&quot;text-green-800&quot;:&quot;text-amber-800&quot;}`,children:yr(f.totalRevenueRealized-f.totalExpenseRealized)})]})]})]})]}),o&amp;&amp;c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{className:&quot;p-4 sm:p-5 bg-gray-50 rounded-xl border border-gray-200 mb-4&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-800 mb-3&quot;,children:&quot;Nouvelle ligne de budget&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-12 gap-4 items-end&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-3&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2 mb-1.5&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700&quot;,children:&quot;Catégorie&quot;}),o.addLine.onOpenCategoryModal?c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:o.addLine.onOpenCategoryModal,className:&quot;text-xs font-semibold text-brand-700 hover:text-brand-900 hover:underline shrink-0&quot;,children:&quot;Nouvelle catégorie&quot;}):null]}),c.jsxs(&quot;select&quot;,{value:o.addLine.categoryId,onChange:v=&gt;o.addLine.onCategoryChange(v.target.value===&quot;&quot;?&quot;&quot;:Number(v.target.value)),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),o.addLine.categories.map(v=&gt;c.jsx(&quot;option&quot;,{value:v.id,children:v.name},v.id))]})]}),c.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-4&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Libellé (optionnel)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.addLine.label,onChange:v=&gt;o.addLine.onLabelChange(v.target.value),placeholder:&quot;Ex. Location cars, Catering&quot;,className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;sm:max-w-[12rem] lg:col-span-2&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Montant prévu (XOF)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:o.addLine.amount||&quot;&quot;,onChange:v=&gt;o.addLine.onAmountChange(parseInt(v.target.value,10)||0),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;})]}),c.jsx(&quot;div&quot;,{className:&quot;lg:col-span-3 flex sm:justify-start&quot;,children:c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:o.addLine.onSubmit,disabled:o.addLine.submitting,className:&quot;w-full sm:w-auto min-h-[42px]&quot;,children:o.addLine.submitting?&quot;Ajout en cours…&quot;:&quot;Ajouter une ligne&quot;})})]})]}),o.addLine.error&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:o.addLine.error}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-col sm:flex-row flex-wrap items-stretch sm:items-center justify-end gap-2&quot;,children:[c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:o.exportBar.onExportCsv,disabled:!!o.exportBar.exportFinanceLoading||o.exportBar.linesCount===0,title:&quot;Exporter le budget au format CSV&quot;,className:&quot;inline-flex items-center justify-center gap-1.5 px-3 py-2 text-sm font-medium border border-gray-300 rounded-lg bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[c.jsx(ua,{size:14,&quot;aria-hidden&quot;:!0}),o.exportBar.exportFinanceLoading===&quot;budget-csv&quot;?&quot;Export…&quot;:&quot;Export CSV&quot;]}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:o.exportBar.onExportXlsx,disabled:!!o.exportBar.exportFinanceLoading||o.exportBar.linesCount===0,title:&quot;Exporter le budget au format Excel (XLSX)&quot;,className:&quot;inline-flex items-center justify-center gap-1.5 px-3 py-2 text-sm font-medium border border-gray-300 rounded-lg bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[c.jsx(ua,{size:14,&quot;aria-hidden&quot;:!0}),o.exportBar.exportFinanceLoading===&quot;budget-xlsx&quot;?&quot;Export…&quot;:&quot;Export XLSX&quot;]}),c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:o.exportBar.onSave,className:&quot;min-h-[42px]&quot;,children:&quot;Enregistrer le budget&quot;})]})]})]}):c.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-dashed border-gray-300 bg-white p-8 text-center text-ink-600 text-sm leading-relaxed&quot;,children:[&quot;Sélectionnez un &quot;,c.jsx(&quot;strong&quot;,{className:&quot;font-semibold text-ink-800&quot;,children:&quot;événement&quot;}),&quot; ci-dessus pour afficher et modifier le budget.&quot;]})]})}function Iie({open:e,onClose:r,eventType:t,categories:n,onCategoriesChanged:o,onCreatedSelect:i}){const[a,u]=L.useState(&quot;new&quot;),[l,s]=L.useState(null),[d,f]=L.useState({name:&quot;&quot;,code:&quot;&quot;,type:&quot;expense&quot;,event_type:&quot;&quot;,sort_order:0}),[h,m]=L.useState(!1),[p,b]=L.useState(!1),[g,y]=L.useState(null),v=L.useCallback(()=&gt;{u(&quot;new&quot;),s(null),f({name:&quot;&quot;,code:&quot;&quot;,type:&quot;expense&quot;,event_type:t??&quot;&quot;,sort_order:0}),y(null)},[t]);L.useEffect(()=&gt;{e&amp;&amp;v()},[e,v]);const _=T=&gt;{const V=n.find(F=&gt;F.id===T);V&amp;&amp;(u(&quot;edit&quot;),s(T),f({name:V.name,code:V.code??&quot;&quot;,type:V.type,event_type:V.event_type??&quot;&quot;,sort_order:V.sort_order??0}),y(null))},C=async()=&gt;{const T=d.name.trim();if(!T){y(&quot;Le nom est obligatoire.&quot;);return}m(!0),y(null);const V={name:T,code:d.code.trim()||null,type:d.type,event_type:d.event_type===&quot;&quot;?null:d.event_type,sort_order:d.sort_order};try{if(a===&quot;new&quot;){const F=await lo.create(V);o(),i?.(F.id),r()}else l!=null&amp;&amp;(await lo.update(l,V),o(),r())}catch(F){if(F instanceof Kt){const H=F.data?.message??F.message,W=F.data?.errors;y(W&amp;&amp;typeof W==&quot;object&quot;?`${H} ${Object.values(W).flat().join(&quot; &quot;)}`:H)}else y(F instanceof Error?F.message:&quot;Erreur lors de l’enregistrement.&quot;)}finally{m(!1)}},O=async()=&gt;{if(!(l==null||a!==&quot;edit&quot;)&amp;&amp;window.confirm(&quot;Supprimer cette catégorie ? Les lignes de budget qui l’utilisent seront supprimées (effet en cascade).&quot;)){b(!0),y(null);try{await lo.delete(l),o(),r()}catch(T){T instanceof Kt?y(T.data?.message??T.message??&quot;Suppression impossible.&quot;):y(T instanceof Error?T.message:&quot;Suppression impossible.&quot;)}finally{b(!1)}}};return e?c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-[60] overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex min-h-full items-center justify-center p-4&quot;,children:[c.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;fixed inset-0 bg-black/50 transition-opacity&quot;,&quot;aria-hidden&quot;:!0,onClick:()=&gt;!h&amp;&amp;!p&amp;&amp;r()}),c.jsxs(&quot;div&quot;,{className:&quot;relative w-full max-w-lg rounded-xl bg-white shadow-xl border border-gray-200&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-start justify-between gap-3 border-b border-gray-100 px-5 py-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Catégorie de budget&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:&quot;Créer ou modifier une catégorie (recettes / dépenses).&quot;})]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!h&amp;&amp;!p&amp;&amp;r(),className:&quot;rounded p-1 text-ink-400 hover:bg-gray-100 hover:text-ink-600&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:c.jsx(hr,{size:22})})]}),c.jsxs(&quot;div&quot;,{className:&quot;px-5 py-4 space-y-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Catégorie à éditer&quot;}),c.jsxs(&quot;select&quot;,{value:a===&quot;new&quot;?&quot;&quot;:String(l??&quot;&quot;),onChange:T=&gt;{const V=T.target.value;V===&quot;&quot;?v():_(Number(V))},disabled:h||p,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Nouvelle catégorie —&quot;}),n.map(T=&gt;c.jsxs(&quot;option&quot;,{value:T.id,children:[T.name,&quot; (&quot;,T.type===&quot;revenue&quot;?&quot;Recette&quot;:&quot;Dépense&quot;,T.event_type?` · ${T.event_type}`:&quot; · tous types&quot;,&quot;)&quot;]},T.id))]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.name,onChange:T=&gt;f(V=&gt;({...V,name:T.target.value})),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:&quot;Ex. Communication, Logistique&quot;,disabled:h||p})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Code (optionnel)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.code,onChange:T=&gt;f(V=&gt;({...V,code:T.target.value})),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:&quot;Référence courte&quot;,maxLength:50,disabled:h||p})]}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 gap-3&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Type&quot;}),c.jsxs(&quot;select&quot;,{value:d.type,onChange:T=&gt;f(V=&gt;({...V,type:T.target.value})),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,disabled:h||p,children:[c.jsx(&quot;option&quot;,{value:&quot;expense&quot;,children:&quot;Dépense&quot;}),c.jsx(&quot;option&quot;,{value:&quot;revenue&quot;,children:&quot;Recette&quot;})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Portée événement&quot;}),c.jsxs(&quot;select&quot;,{value:d.event_type===&quot;&quot;?&quot;&quot;:d.event_type,onChange:T=&gt;f(V=&gt;({...V,event_type:T.target.value===&quot;&quot;?&quot;&quot;:T.target.value})),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,disabled:h||p,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les types d’événements&quot;}),c.jsx(&quot;option&quot;,{value:&quot;summit&quot;,children:&quot;Sommet&quot;}),c.jsx(&quot;option&quot;,{value:&quot;seminar&quot;,children:&quot;Séminaire&quot;}),c.jsx(&quot;option&quot;,{value:&quot;other&quot;,children:&quot;Autre&quot;})]})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Ordre d’affichage&quot;}),c.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:d.sort_order,onChange:T=&gt;f(V=&gt;({...V,sort_order:parseInt(T.target.value,10)||0})),className:&quot;w-full max-w-[8rem] px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,disabled:h||p})]}),g&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;rounded-lg border border-red-200 bg-red-50 px-3 py-2 text-sm text-red-800&quot;,children:g})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2 border-t border-gray-100 px-5 py-4 bg-gray-50/80&quot;,children:[c.jsx(&quot;div&quot;,{children:a===&quot;edit&quot;&amp;&amp;c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;text-red-700 border-red-200 hover:bg-red-50&quot;,disabled:h||p,onClick:()=&gt;{O()},children:p?&quot;Suppression…&quot;:&quot;Supprimer&quot;})}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2 justify-end&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,disabled:h||p,onClick:r,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,disabled:h||p,onClick:()=&gt;{C()},children:h?&quot;Enregistrement…&quot;:a===&quot;new&quot;?&quot;Créer&quot;:&quot;Enregistrer&quot;})]})]})]})]})}):null}const Qs=&quot;https://api.sommetfrancophone.org/api&quot;;function Yh(e){const{review_note:r,reference:t,proof:n,treasury_account_id:o}=e;if(n){const a=new FormData;return r?.trim()&amp;&amp;a.append(&quot;review_note&quot;,r.trim()),t?.trim()&amp;&amp;a.append(&quot;reference&quot;,t.trim()),o!=null&amp;&amp;a.append(&quot;treasury_account_id&quot;,String(o)),a.append(&quot;proof&quot;,n),a}const i={...r?.trim()&amp;&amp;{review_note:r.trim()},...t?.trim()&amp;&amp;{reference:t.trim()}};return o!=null&amp;&amp;(i.treasury_account_id=Number(o)),i}const en={async getEvents(){const e=await Ue.get(&quot;/finance/events&quot;,{requireAuth:!0});return Array.isArray(e)?e:e?.data&amp;&amp;Array.isArray(e.data)?e.data:[]},getDashboard(e){const r={};return e?.event_id!=null&amp;&amp;(r.event_id=e.event_id),Ue.get(&quot;/finance/dashboard&quot;,{params:Object.keys(r).length?r:void 0,requireAuth:!0})},getDonations(e){const r={};return e?.event_id!=null&amp;&amp;(r.event_id=e.event_id),e?.page!=null&amp;&amp;(r.page=e.page),e?.per_page!=null&amp;&amp;(r.per_page=e.per_page),Ue.get(&quot;/finance/donations&quot;,{params:Object.keys(r).length?r:void 0,requireAuth:!0,unwrapResponse:!1})},getDonationsExport(e){const r={};return e?.event_id!=null&amp;&amp;(r.event_id=e.event_id),Ue.get(&quot;/finance/donations/export&quot;,{params:Object.keys(r).length?r:void 0,requireAuth:!0,unwrapResponse:!1})},getDebtors(e){const r={event_id:e.event_id};e.page!=null&amp;&amp;(r.page=e.page),e.per_page!=null&amp;&amp;(r.per_page=e.per_page);const t=typeof e.q==&quot;string&quot;?e.q.trim():&quot;&quot;;return t!==&quot;&quot;&amp;&amp;(r.q=t),Ue.get(&quot;/finance/debtors&quot;,{params:r,requireAuth:!0})},getDebtorDetail(e){return Ue.get(`/finance/debtors/${e}/detail`,{requireAuth:!0})},getDebtorsExport(e){return Ue.get(&quot;/finance/debtors/export&quot;,{params:{event_id:e.event_id},requireAuth:!0})},getConfirmedPaymentsExport(e){return Ue.get(&quot;/finance/confirmed-payments/export&quot;,{params:{event_id:e.event_id},requireAuth:!0})},getExpectedPaymentsForMonth(e){const r={event_id:e.event_id,month:e.month};return e.month_scope&amp;&amp;(r.month_scope=e.month_scope),e.installment_status&amp;&amp;(r.installment_status=e.installment_status),e.financial_situation&amp;&amp;(r.financial_situation=e.financial_situation),e.page!=null&amp;&amp;(r.page=e.page),e.per_page!=null&amp;&amp;(r.per_page=e.per_page),Ue.get(&quot;/finance/reminders/expected-payments&quot;,{params:r,requireAuth:!0,unwrapResponse:!1})},getExpectedPaymentsForMonthExport(e){return Ue.get(&quot;/finance/reminders/expected-payments/export&quot;,{params:e,requireAuth:!0,unwrapResponse:!1})},confirmPayment(e,r){const t=Yh(r??{});return t instanceof FormData?Ue.postForm(`/finance/payments/${e}/confirm`,t,{requireAuth:!0}):Ue.post(`/finance/payments/${e}/confirm`,Object.keys(t).length?t:{},{requireAuth:!0})},rejectPayment(e,r){const t=Yh(r??{});return t instanceof FormData?Ue.postForm(`/finance/payments/${e}/reject`,t,{requireAuth:!0}):Ue.post(`/finance/payments/${e}/reject`,Object.keys(t).length?t:{},{requireAuth:!0})},confirmDonation(e,r){const t=Yh(r??{});return t instanceof FormData?Ue.postForm(`/finance/donations/${e}/confirm`,t,{requireAuth:!0}):Ue.post(`/finance/donations/${e}/confirm`,Object.keys(t).length?t:{},{requireAuth:!0})},rejectDonation(e,r){const t=Yh(r??{});return t instanceof FormData?Ue.postForm(`/finance/donations/${e}/reject`,t,{requireAuth:!0}):Ue.post(`/finance/donations/${e}/reject`,Object.keys(t).length?t:{},{requireAuth:!0})},initPayment(e,r){const{amount:t,method:n,paid_at:o,treasury_account_id:i,reference:a,notes:u,proof:l}=r,s=new FormData;return s.append(&quot;amount&quot;,String(t)),s.append(&quot;method&quot;,n),s.append(&quot;paid_at&quot;,o),s.append(&quot;treasury_account_id&quot;,String(i)),a?.trim()&amp;&amp;s.append(&quot;reference&quot;,a.trim()),u?.trim()&amp;&amp;s.append(&quot;notes&quot;,u.trim()),l&amp;&amp;s.append(&quot;proof&quot;,l),Ue.postForm(`/finance/registrations/${e}/payments`,s,{requireAuth:!0})},issuePaymentReceipt(e){return Ue.post(`/finance/payments/${e}/receipt`,{},{requireAuth:!0})},sendPaymentReceiptEmail(e){return Ue.post(`/finance/payments/${e}/receipt/send-email`,{},{requireAuth:!0})},issueDonationReceipt(e){return Ue.post(`/finance/donations/${e}/receipt`,{},{requireAuth:!0})},downloadReceiptUrl(e){return`${Qs.endsWith(&quot;/&quot;)?Qs.slice(0,-1):Qs}/receipts/${e}/download`},async downloadReceipt(e,r){const n=`${Qs.endsWith(&quot;/&quot;)?Qs.slice(0,-1):Qs}/receipts/${e}/download`,o=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,i=await fetch(n,{headers:{Accept:&quot;application/pdf&quot;,...o&amp;&amp;{Authorization:`Bearer ${o}`}}});if(!i.ok){const l=await i.json().catch(()=&gt;({message:i.statusText}));throw{status:i.status,data:l}}const a=await i.blob(),u=document.createElement(&quot;a&quot;);u.href=URL.createObjectURL(a),u.download=r||`receipt-${e}.pdf`,u.click(),URL.revokeObjectURL(u.href)},async openPaymentProofInNewTab(e){const t=`${Qs.endsWith(&quot;/&quot;)?Qs.slice(0,-1):Qs}/finance/payments/${e}/proof`,n=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,o=await fetch(t,{headers:{...n&amp;&amp;{Authorization:`Bearer ${n}`}}});if(!o.ok){const u=await o.json().catch(()=&gt;({message:o.statusText}));throw{status:o.status,data:u}}const i=await o.blob(),a=URL.createObjectURL(i);window.open(a,&quot;_blank&quot;,&quot;noopener,noreferrer&quot;),window.setTimeout(()=&gt;URL.revokeObjectURL(a),12e4)}};function Rie({payments:e,readOnly:r,exportLoading:t=!1,onExportXlsx:n,receipt:o}){const[i,a]=L.useState(null),[u,l]=L.useState(null),[s,d]=L.useState(null),[f,h]=L.useState(null),[m,p]=L.useState(&quot;&quot;),b=L.useMemo(()=&gt;{const V=m.trim();if(!V)return e;const F=V.toLowerCase().split(/\s+/).filter(Boolean);return e.filter(H=&gt;{const W=(H.registration?.first_name??&quot;&quot;).toLowerCase(),K=(H.registration?.last_name??&quot;&quot;).toLowerCase(),$=(H.registration?.email??&quot;&quot;).toLowerCase(),P=`${W} ${K}`.trim(),D=(H.reference??&quot;&quot;).toLowerCase(),E=(H.receipt?.receipt_number??&quot;&quot;).toLowerCase(),j=`${P} ${$} ${D} ${E}`;return F.every(k=&gt;j.includes(k))})},[e,m]),{error:g,actionPending:y,isLoading:v,onDownloadReceipt:_,onIssueReceipt:C,onSendReceiptEmail:O}=o,T=async V=&gt;{d(null),h(V);try{await en.openPaymentProofInNewTab(V)}catch(F){const H=F&amp;&amp;typeof F==&quot;object&quot;&amp;&amp;&quot;data&quot;in F&amp;&amp;F.data?.message?String(F.data?.message):F instanceof Error?F.message:&quot;Impossible d’ouvrir le justificatif.&quot;;d(H)}finally{h(null)}};return c.jsxs(&quot;section&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden mb-8&quot;,&quot;aria-label&quot;:&quot;Paiements confirmés et reçus&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;px-4 sm:px-5 py-3 bg-brand-50 border-b border-brand-100 flex flex-wrap items-center justify-between gap-3&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-sm font-bold text-ink-900 shrink-0&quot;,children:&quot;Paiements confirmés — Reçus&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2 flex-1 justify-end min-w-0&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;relative flex-1 min-w-[12rem] max-w-md&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;sr-only&quot;,children:&quot;Rechercher dans la liste&quot;}),c.jsx(eC,{className:&quot;absolute left-2.5 top-1/2 -translate-y-1/2 h-4 w-4 text-ink-400 pointer-events-none&quot;,&quot;aria-hidden&quot;:!0}),c.jsx(&quot;input&quot;,{type:&quot;search&quot;,value:m,onChange:V=&gt;p(V.target.value),placeholder:&quot;Rechercher (nom, prénom, email, réf., n° reçu)…&quot;,className:&quot;w-full pl-9 pr-3 py-1.5 text-sm border border-gray-300 rounded-lg bg-white text-ink-900 placeholder:text-ink-400 focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),n?c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:n,disabled:t||e.length===0,className:&quot;inline-flex items-center rounded-md border border-gray-300 bg-white px-3 py-1.5 text-xs font-medium text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed shrink-0&quot;,children:t?&quot;Export…&quot;:&quot;Exporter XLSX&quot;}):null]})]}),g&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mx-4 mt-3 bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-xs text-red-700&quot;,children:g})}),c.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:c.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm min-w-[640px]&quot;,children:[c.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Participant&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Montant&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Date&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Reçu&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Actions&quot;})]})}),c.jsxs(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:[b.map(V=&gt;{const F=`cp-${V.id}`,H=[];return V.receipt&amp;&amp;H.push({id:&quot;download-receipt-pdf&quot;,label:v(`payment-${V.id}`,&quot;download&quot;)?&quot;Téléchargement…&quot;:&quot;Télécharger le PDF du reçu&quot;,onSelect:()=&gt;_(V.receipt.id,V.receipt.receipt_number),disabled:y,title:&quot;Télécharger le reçu au format PDF&quot;}),V.receipt&amp;&amp;H.push({id:&quot;email&quot;,label:v(`payment-${V.id}`,&quot;email&quot;)?&quot;Envoi…&quot;:&quot;Envoyer par e-mail&quot;,onSelect:()=&gt;O(V.id),disabled:y,title:&quot;Envoyer le reçu par email au participant&quot;}),c.jsxs(&quot;tr&quot;,{className:&quot;align-middle hover:bg-gray-50/60&quot;,children:[c.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-900&quot;,children:[c.jsxs(&quot;span&quot;,{className:&quot;font-medium&quot;,children:[V.registration?.first_name,&quot; &quot;,V.registration?.last_name]}),V.registration?.email&amp;&amp;c.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500 truncate max-w-[200px]&quot;,title:V.registration.email,children:V.registration.email})]}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 whitespace-nowrap tabular-nums font-medium text-ink-900&quot;,children:En(V.amount,V.currency)}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600 whitespace-nowrap text-sm&quot;,children:V.paid_at?new Date(V.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:V.receipt?c.jsx(&quot;span&quot;,{className:&quot;text-xs font-mono text-ink-700&quot;,children:V.receipt.receipt_number}):c.jsx(&quot;span&quot;,{className:&quot;text-ink-400 text-xs&quot;,children:&quot;Non émis&quot;})}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:r?c.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;text-xs font-medium text-brand-700 hover:underline&quot;,onClick:()=&gt;l(V),children:&quot;Voir&quot;}):c.jsx(po,{rowId:F,openMenuId:i,setOpenMenuId:a,onView:()=&gt;l(V),viewLabel:&quot;Voir&quot;,viewDisabled:y,onEdit:V.receipt?void 0:()=&gt;C(V.id),editLabel:&quot;Générer le reçu&quot;,editDisabled:y,menuItems:H})})]},V.id)}),e.length&gt;0&amp;&amp;b.length===0&amp;&amp;c.jsx(&quot;tr&quot;,{children:c.jsxs(&quot;td&quot;,{colSpan:5,className:&quot;px-4 py-8 text-center text-sm text-ink-600&quot;,children:[&quot;Aucun paiement ne correspond à « &quot;,m.trim(),&quot; ».&quot;]})})]})]})}),u?c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-[250] flex items-center justify-center p-4 bg-black/50&quot;,role:&quot;dialog&quot;,&quot;aria-modal&quot;:&quot;true&quot;,&quot;aria-labelledby&quot;:&quot;payment-detail-title&quot;,onClick:()=&gt;l(null),children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-lg w-full max-h-[90vh] overflow-y-auto border border-gray-200&quot;,onClick:V=&gt;V.stopPropagation(),children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-start justify-between gap-3 px-5 py-4 border-b border-gray-100&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;h2&quot;,{id:&quot;payment-detail-title&quot;,className:&quot;text-base font-bold text-ink-900&quot;,children:[&quot;Détail du paiement #&quot;,u.id]}),c.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-0.5&quot;,children:[u.registration?.first_name,&quot; &quot;,u.registration?.last_name,u.registration?.email?c.jsx(&quot;span&quot;,{className:&quot;block truncate&quot;,children:u.registration.email}):null]})]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;text-gray-400 hover:text-gray-600 p-1 rounded&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,onClick:()=&gt;l(null),children:c.jsx(hr,{size:22})})]}),c.jsxs(&quot;div&quot;,{className:&quot;px-5 py-4 space-y-3 text-sm&quot;,children:[c.jsxs(&quot;dl&quot;,{className:&quot;grid grid-cols-[minmax(0,11rem)_1fr] gap-x-3 gap-y-2&quot;,children:[c.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Montant&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;font-medium tabular-nums&quot;,children:En(u.amount,u.currency)}),c.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Méthode&quot;}),c.jsx(&quot;dd&quot;,{children:Qu(u.method)}),c.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Date du paiement&quot;}),c.jsx(&quot;dd&quot;,{children:u.paid_at?new Date(u.paid_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;}),c.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Référence&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;break-all&quot;,children:u.reference?.trim()||&quot;—&quot;}),c.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Passerelle&quot;}),c.jsx(&quot;dd&quot;,{children:u.payment_gateway??&quot;— (manuel)&quot;}),c.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Origine&quot;}),c.jsx(&quot;dd&quot;,{children:u.payment_gateway===&quot;sycapay&quot;?&quot;Paiement initié par le participant depuis le formulaire de paiement (SycaPay).&quot;:u.is_finance_manual_entry?&quot;Encaissement saisi depuis le tableau de bord finance.&quot;:&quot;Participant (déclaration ou autre origine sans passerelle).&quot;}),c.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Validé le&quot;}),c.jsx(&quot;dd&quot;,{children:u.reviewed_at?new Date(u.reviewed_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;}),c.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Notes&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-ink-800 whitespace-pre-wrap&quot;,children:u.notes?.trim()||&quot;—&quot;}),c.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Note validation&quot;}),c.jsx(&quot;dd&quot;,{className:&quot;text-ink-800 whitespace-pre-wrap&quot;,children:u.review_note?.trim()||&quot;—&quot;})]}),s?c.jsx(&quot;div&quot;,{className:&quot;rounded-lg bg-red-50 border border-red-200 px-3 py-2 text-xs text-red-700&quot;,children:s}):null,u.has_proof?c.jsxs(&quot;div&quot;,{className:&quot;pt-2 border-t border-gray-100&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-xs font-semibold text-ink-700 mb-2&quot;,children:&quot;Justificatif&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;inline-flex items-center text-sm font-medium text-brand-700 hover:underline disabled:opacity-50&quot;,disabled:f===u.id,onClick:()=&gt;{T(u.id)},children:f===u.id?&quot;Ouverture…&quot;:&quot;Voir la pièce jointe&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:&quot;Ouvre le fichier (PDF ou image) dans un nouvel onglet.&quot;})]}):null,u.receipt?c.jsx(&quot;div&quot;,{className:&quot;pt-2 border-t border-gray-100&quot;,children:c.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Reçu :&quot;,&quot; &quot;,c.jsx(&quot;span&quot;,{className:&quot;font-mono font-medium&quot;,children:u.receipt.receipt_number})]})}):null]}),c.jsx(&quot;div&quot;,{className:&quot;px-5 py-3 border-t border-gray-100 flex justify-end&quot;,children:c.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;rounded-lg border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-ink-800 hover:bg-gray-50&quot;,onClick:()=&gt;l(null),children:&quot;Fermer&quot;})})]})}):null]})}function Die({loading:e,rows:r,registrationsForPayment:t,readOnly:n,initPaymentModalOpen:o,exportLoading:i,meta:a,page:u,perPage:l,onPageChange:s,onPerPageChange:d,onInitPayment:f,onView:h,onExportXlsx:m,searchQuery:p,onSearchChange:b}){const[g,y]=L.useState(null),v=p.trim().length&gt;0,_=i||e||!v&amp;&amp;r.length===0,C=T=&gt;T===&quot;late&quot;?&quot;bg-red-100 text-red-800&quot;:T===&quot;ahead&quot;?&quot;bg-blue-100 text-blue-800&quot;:&quot;bg-green-100 text-green-800&quot;,O=T=&gt;T===&quot;late&quot;?&quot;En retard&quot;:T===&quot;ahead&quot;?&quot;En avance&quot;:&quot;À jour&quot;;return c.jsxs(&quot;section&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden&quot;,&quot;aria-label&quot;:&quot;Liste des débiteurs&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;px-5 py-3.5 bg-brand-50 border-b border-brand-100 flex flex-wrap items-center justify-between gap-3&quot;,children:[c.jsxs(&quot;h3&quot;,{className:&quot;text-sm font-bold text-ink-900 flex items-center gap-2 shrink-0&quot;,children:[c.jsx(_m,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Débiteurs (solde &gt; 0)&quot;]}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2 flex-1 justify-end min-w-0&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;relative flex-1 min-w-[12rem] max-w-md&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;sr-only&quot;,children:&quot;Rechercher parmi les débiteurs&quot;}),c.jsx(eC,{className:&quot;absolute left-2.5 top-1/2 -translate-y-1/2 h-4 w-4 text-ink-400 pointer-events-none&quot;,&quot;aria-hidden&quot;:!0}),c.jsx(&quot;input&quot;,{type:&quot;search&quot;,value:p,onChange:T=&gt;b(T.target.value),placeholder:&quot;Rechercher (nom, prénom, email)…&quot;,className:&quot;w-full pl-9 pr-3 py-1.5 text-sm border border-gray-300 rounded-lg bg-white text-ink-900 placeholder:text-ink-400 focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:m,disabled:_,className:&quot;inline-flex items-center rounded-md border border-gray-300 bg-white px-3 py-1.5 text-xs font-medium text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed shrink-0&quot;,children:i?&quot;Export...&quot;:&quot;Exporter XLSX&quot;})]})]}),c.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:c.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm min-w-[760px]&quot;,children:[c.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Nom&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Email&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Échéances&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Solde&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Situation&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Action&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:e?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-ink-500 text-sm text-center&quot;,children:&quot;Chargement de la liste des débiteurs…&quot;})}):r.length===0?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-ink-600 text-sm leading-relaxed&quot;,children:p.trim()?`Aucun débiteur ne correspond à « ${p.trim()} » pour cet événement.`:&quot;Aucun débiteur avec solde ouvert pour la sélection actuelle (ou tous les comptes sont soldés).&quot;})}):r.map(T=&gt;{const V=t.find(F=&gt;F.id===T.registration_id);return c.jsxs(&quot;tr&quot;,{className:&quot;align-middle hover:bg-gray-50/60&quot;,children:[c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-900 font-medium&quot;,children:T.name}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600 truncate max-w-[180px]&quot;,title:T.email,children:T.email}),c.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;text-xs text-ink-700 font-medium&quot;,children:T.installments_label??&quot;1 éch.&quot;}),c.jsx(&quot;div&quot;,{className:&quot;text-[11px] text-ink-500&quot;,children:(T.installments_open_count??0)&gt;0?`${T.installments_open_count} restant${(T.installments_open_count??0)&gt;1?&quot;s&quot;:&quot;&quot;}`:&quot;Soldé&quot;})]}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right font-semibold tabular-nums whitespace-nowrap text-ink-900&quot;,children:yr(T.balance)}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:c.jsx(&quot;span&quot;,{className:`px-2 py-0.5 rounded-md text-xs font-medium ${C(T.financial_situation)}`,children:O(T.financial_situation)})}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:V?c.jsx(po,{rowId:T.registration_id,openMenuId:g,setOpenMenuId:y,onView:()=&gt;h(T.registration_id),viewLabel:&quot;Voir&quot;,menuItems:n?[]:[{id:&quot;collect&quot;,label:&quot;Encaisser&quot;,onSelect:()=&gt;f(V),disabled:o,title:&quot;Saisir un encaissement pour ce participant&quot;}]}):null})]},T.registration_id)})})]})}),a&amp;&amp;a.total&gt;0&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;px-4 py-2 border-t border-gray-100 flex flex-wrap items-center justify-between gap-2&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:a.last_page&gt;1&amp;&amp;a.from!=null&amp;&amp;a.to!=null?`Débiteurs ${a.from} à ${a.to} sur ${a.total}`:`Total : ${a.total} débiteur${a.total!==1?&quot;s&quot;:&quot;&quot;}`}),a.last_page&gt;1&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;text-xs text-ink-500 flex items-center gap-1&quot;,children:[&quot;Par page&quot;,c.jsx(&quot;select&quot;,{value:l,onChange:T=&gt;{d(Number(T.target.value)),s(1)},className:&quot;text-sm border border-gray-300 rounded px-2 py-0.5&quot;,children:[10,20,50].map(T=&gt;c.jsx(&quot;option&quot;,{value:T,children:T},T))})]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:u&lt;=1,onClick:()=&gt;s(Math.max(1,u-1)),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50 disabled:cursor-not-allowed hover:bg-gray-50&quot;,children:&quot;Précédent&quot;}),c.jsxs(&quot;span&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Page &quot;,u,&quot; / &quot;,a.last_page]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:u&gt;=a.last_page,onClick:()=&gt;s(u+1),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50 disabled:cursor-not-allowed hover:bg-gray-50&quot;,children:&quot;Suivant&quot;})]})]})]})}function Lie({hasSelectedEvent:e,readOnly:r,alerts:t,exportRow:n,table:o,form:i}){const{error:a}=t,{rows:u,loading:l,onDelete:s,onOpenProof:d}=o;return c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Dépenses&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:&quot;Saisie et suivi des dépenses liées à l&#039;événement (XOF).&quot;})]}),e?c.jsxs(c.Fragment,{children:[a&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:a}),n&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2 mb-3&quot;,children:[c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:n.onExportCsv,disabled:!!n.exportFinanceLoading,title:&quot;Exporter les dépenses au format CSV&quot;,className:&quot;inline-flex items-center justify-center gap-1.5 px-3 py-2 text-sm font-medium border border-gray-300 rounded-lg bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[c.jsx(ua,{size:14,&quot;aria-hidden&quot;:!0}),n.exportFinanceLoading===&quot;expenses-csv&quot;?&quot;Export…&quot;:&quot;Export CSV&quot;]}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:n.onExportXlsx,disabled:!!n.exportFinanceLoading,title:&quot;Exporter les dépenses au format Excel (XLSX)&quot;,className:&quot;inline-flex items-center justify-center gap-1.5 px-3 py-2 text-sm font-medium border border-gray-300 rounded-lg bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[c.jsx(ua,{size:14,&quot;aria-hidden&quot;:!0}),n.exportFinanceLoading===&quot;expenses-xlsx&quot;?&quot;Export…&quot;:&quot;Export XLSX&quot;]})]}),c.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden mb-6 shadow-sm&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:c.jsxs(&quot;table&quot;,{className:&quot;w-full text-left min-w-[800px]&quot;,children:[c.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Date&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Catégorie&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Libellé&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Compte&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Montant (XOF)&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-center text-xs font-semibold text-ink-700 uppercase tracking-wider w-28&quot;,children:&quot;Justificatif&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 w-14 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Action&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:l?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:7,className:&quot;px-4 py-10 text-center text-ink-500 text-sm&quot;,children:&quot;Chargement des dépenses…&quot;})}):u.length===0?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-10 text-center text-ink-600 text-sm leading-relaxed&quot;,children:&quot;Aucune dépense enregistrée pour cet événement. Utilisez le formulaire ci-dessous pour en ajouter une.&quot;})}):u.map(f=&gt;c.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700 whitespace-nowrap&quot;,children:f.paid_at?new Date(f.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-600 max-w-[140px] truncate&quot;,title:f.budget_line_label??void 0,children:f.budget_line_label??&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900 max-w-[180px] truncate&quot;,title:f.label??void 0,children:f.label??&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700 max-w-[160px] truncate&quot;,title:f.treasury_account_name,children:f.treasury_account_name}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-semibold text-ink-900 text-right tabular-nums whitespace-nowrap&quot;,children:yr(f.amount)}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-center&quot;,children:f.has_proof&amp;&amp;d?c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;d(f),className:&quot;inline-flex items-center gap-1 text-xs font-medium text-brand-700 hover:underline&quot;,title:&quot;Voir la pièce jointe&quot;,children:[c.jsx(QL,{size:14,&quot;aria-hidden&quot;:!0}),&quot;Voir&quot;]}):c.jsx(&quot;span&quot;,{className:&quot;text-ink-400 text-xs&quot;,children:&quot;—&quot;})}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:!r&amp;&amp;c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;s(f),className:&quot;p-1.5 text-ink-500 hover:text-red-600 hover:bg-red-50 rounded inline-flex&quot;,title:&quot;Supprimer cette dépense&quot;,&quot;aria-label&quot;:&quot;Supprimer cette dépense&quot;,children:c.jsx(hr,{size:16,&quot;aria-hidden&quot;:!0})})})]},f.id))})]})})}),c.jsxs(&quot;div&quot;,{className:&quot;p-4 sm:p-5 bg-gray-50 rounded-xl border border-gray-200 mb-4&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-800 mb-3&quot;,children:&quot;Nouvelle dépense&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-12 gap-4 items-end&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;xl:col-span-2&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Date&quot;}),c.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.paidAt,onChange:f=&gt;i.onPaidAtChange(f.target.value),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;sm:col-span-2 lg:col-span-1 xl:col-span-2&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Catégorie budget (optionnel)&quot;}),c.jsxs(&quot;select&quot;,{value:i.budgetLineId,onChange:f=&gt;i.onBudgetLineChange(f.target.value===&quot;&quot;?&quot;&quot;:Number(f.target.value)),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),i.budgetLines.map(f=&gt;c.jsx(&quot;option&quot;,{value:f.id,children:f.category_name??f.label??`Ligne #${f.id}`},f.id))]})]}),c.jsxs(&quot;div&quot;,{className:&quot;sm:col-span-2 lg:col-span-2 xl:col-span-4&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Compte de trésorerie *&quot;}),c.jsxs(&quot;select&quot;,{value:i.treasuryAccountId,onChange:f=&gt;i.onTreasuryAccountChange(f.target.value===&quot;&quot;?&quot;&quot;:Number(f.target.value)),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),i.treasuryAccounts.map(f=&gt;c.jsxs(&quot;option&quot;,{value:f.id,children:[f.name,&quot; — &quot;,f.context_display]},f.id))]})]}),c.jsxs(&quot;div&quot;,{className:&quot;xl:col-span-2&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Montant (XOF) *&quot;}),c.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:1,value:i.amount||&quot;&quot;,onChange:f=&gt;i.onAmountChange(parseInt(f.target.value,10)||0),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;sm:col-span-2 xl:col-span-2&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Libellé *&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:i.label,onChange:f=&gt;i.onLabelChange(f.target.value),placeholder:&quot;Ex. Billets orateurs&quot;,className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;,required:!0})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;border-t border-gray-200 pt-4 mt-4&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:[&quot;Pièce justificative &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-3&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;.pdf,.jpg,.jpeg,.png,.gif,.webp,application/pdf,image/*&quot;,className:&quot;block w-full max-w-md text-sm text-ink-700 file:mr-3 file:rounded-lg file:border file:border-gray-300 file:bg-white file:px-3 file:py-2 file:text-sm file:font-medium file:text-ink-800 hover:file:bg-gray-50&quot;,onChange:f=&gt;{const h=f.target.files?.[0]??null;i.onProofChange(h)}},i.proofInputKey),i.proofFile?c.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-600 truncate max-w-[14rem]&quot;,title:i.proofFile.name,children:i.proofFile.name}):null]}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1.5&quot;,children:&quot;Obligatoire — PDF ou image (jpg, png, gif, webp), 5 Mo max.&quot;})]}),c.jsx(&quot;div&quot;,{className:&quot;flex flex-col sm:flex-row sm:justify-end pt-4 mt-4 border-t border-gray-200&quot;,children:c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:i.onSubmit,disabled:i.submitting,className:&quot;w-full sm:w-auto min-h-[42px] min-w-[12rem]&quot;,children:i.submitting?&quot;Ajout en cours…&quot;:&quot;Ajouter une dépense&quot;})})]}),i.error&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:i.error})]}):c.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-dashed border-gray-300 bg-white p-8 text-center text-ink-600 text-sm leading-relaxed&quot;,children:[&quot;Sélectionnez un &quot;,c.jsx(&quot;strong&quot;,{className:&quot;font-semibold text-ink-800&quot;,children:&quot;événement&quot;}),&quot; pour afficher et saisir les dépenses.&quot;]})]})}function Gk(e){if(e.movement_type===&quot;transfer&quot;){const n=e.from_account_name??`#${e.from_treasury_account_id}`,o=e.to_account_name??`#${e.to_treasury_account_id}`;return`${n} → ${o}`}const r=e.adjusted_account_name??`#${e.treasury_account_id}`,t=e.adjustment_direction===&quot;increase&quot;?&quot;Augmentation&quot;:e.adjustment_direction===&quot;decrease&quot;?&quot;Diminution&quot;:&quot;&quot;;return t?`${r} · ${t}`:r}function Fie(e){return e===&quot;transfer&quot;?&quot;Transfert&quot;:&quot;Ajustement&quot;}function Bie({hasSelectedEvent:e,readOnly:r,alerts:t,exportRow:n,table:o,movementKind:i,onMovementKindChange:a,transferForm:u,adjustmentForm:l}){const{error:s}=t,{rows:d,loading:f}=o;return c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Mouvements de trésorerie&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:&quot;Transferts entre comptes et ajustements manuels — sans impact sur les lignes budgétaires.&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-2 rounded-lg border border-amber-200 bg-amber-50/80 px-3 py-2&quot;,children:&quot;Les enregistrements ne peuvent pas être supprimés. Les exports CSV / Excel incluent ces lignes avec les dépenses.&quot;})]}),e?c.jsxs(c.Fragment,{children:[s&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:s}),n&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2 mb-3&quot;,children:[c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:n.onExportCsv,disabled:!!n.exportFinanceLoading,title:&quot;Exporter les mouvements au format CSV&quot;,className:&quot;inline-flex items-center justify-center gap-1.5 px-3 py-2 text-sm font-medium border border-gray-300 rounded-lg bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[c.jsx(ua,{size:14,&quot;aria-hidden&quot;:!0}),n.exportFinanceLoading===&quot;movements-csv&quot;?&quot;Export…&quot;:&quot;Export CSV&quot;]}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:n.onExportXlsx,disabled:!!n.exportFinanceLoading,title:&quot;Exporter les mouvements au format Excel (XLSX)&quot;,className:&quot;inline-flex items-center justify-center gap-1.5 px-3 py-2 text-sm font-medium border border-gray-300 rounded-lg bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[c.jsx(ua,{size:14,&quot;aria-hidden&quot;:!0}),n.exportFinanceLoading===&quot;movements-xlsx&quot;?&quot;Export…&quot;:&quot;Export XLSX&quot;]})]}),c.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden mb-6 shadow-sm&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:c.jsxs(&quot;table&quot;,{className:&quot;w-full text-left min-w-[880px]&quot;,children:[c.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Type&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Détail&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Montant&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Libellé&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider max-w-[200px]&quot;,children:&quot;Notes&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider whitespace-nowrap&quot;,children:&quot;Créé le&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Par&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:f?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:7,className:&quot;px-4 py-10 text-center text-ink-500 text-sm&quot;,children:&quot;Chargement des mouvements…&quot;})}):d.length===0?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:7,className:&quot;px-4 py-10 text-center text-ink-600 text-sm leading-relaxed&quot;,children:&quot;Aucun mouvement pour cet événement. Utilisez le formulaire ci-dessous pour en enregistrer un.&quot;})}):d.map(h=&gt;c.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-800 whitespace-nowrap&quot;,children:Fie(h.movement_type)}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700 max-w-[280px]&quot;,title:Gk(h),children:c.jsx(&quot;span&quot;,{className:&quot;line-clamp-2&quot;,children:Gk(h)})}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-semibold text-ink-900 text-right tabular-nums whitespace-nowrap&quot;,children:En(h.amount,h.currency)}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900 max-w-[180px] truncate&quot;,title:h.label,children:h.label}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-600 max-w-[200px] truncate&quot;,title:h.notes??void 0,children:h.notes??&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700 whitespace-nowrap&quot;,children:h.created_at?new Date(h.created_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-600 max-w-[140px] truncate&quot;,children:h.created_by_name??&quot;—&quot;})]},h.id))})]})})}),!r&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;p-4 sm:p-5 bg-gray-50 rounded-xl border border-gray-200 mb-4 space-y-4&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-800&quot;,children:&quot;Nouveau mouvement&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2&quot;,role:&quot;tablist&quot;,&quot;aria-label&quot;:&quot;Type de mouvement&quot;,children:[c.jsx(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;tab&quot;,&quot;aria-selected&quot;:i===&quot;transfer&quot;,onClick:()=&gt;a(&quot;transfer&quot;),className:`rounded-lg px-4 py-2 text-sm font-semibold transition-colors ${i===&quot;transfer&quot;?&quot;bg-brand-700 text-white&quot;:&quot;text-ink-600 hover:bg-gray-100&quot;}`,children:&quot;Transfert&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;tab&quot;,&quot;aria-selected&quot;:i===&quot;adjustment&quot;,onClick:()=&gt;a(&quot;adjustment&quot;),className:`rounded-lg px-4 py-2 text-sm font-semibold transition-colors ${i===&quot;adjustment&quot;?&quot;bg-brand-700 text-white&quot;:&quot;text-ink-600 hover:bg-gray-100&quot;}`,children:&quot;Ajustement&quot;})]}),i===&quot;transfer&quot;?c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-12 gap-4 items-end&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-4&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Compte source *&quot;}),c.jsxs(&quot;select&quot;,{value:u.fromId,onChange:h=&gt;u.onFromChange(h.target.value===&quot;&quot;?&quot;&quot;:Number(h.target.value)),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),u.treasuryAccounts.map(h=&gt;c.jsxs(&quot;option&quot;,{value:h.id,children:[h.name,&quot; — &quot;,h.context_display]},h.id))]})]}),c.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-4&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Compte destination *&quot;}),c.jsxs(&quot;select&quot;,{value:u.toId,onChange:h=&gt;u.onToChange(h.target.value===&quot;&quot;?&quot;&quot;:Number(h.target.value)),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),u.treasuryAccounts.map(h=&gt;c.jsxs(&quot;option&quot;,{value:h.id,children:[h.name,&quot; — &quot;,h.context_display]},h.id))]})]}),c.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-2&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Montant *&quot;}),c.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:1,value:u.amount||&quot;&quot;,onChange:h=&gt;u.onAmountChange(parseInt(h.target.value,10)||0),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-2&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Libellé *&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:u.label,onChange:h=&gt;u.onLabelChange(h.target.value),placeholder:&quot;Ex. Virement interne&quot;,className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Notes (optionnel)&quot;}),c.jsx(&quot;textarea&quot;,{value:u.notes,onChange:h=&gt;u.onNotesChange(h.target.value),rows:2,className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 text-sm&quot;})]}),c.jsx(&quot;div&quot;,{className:&quot;flex flex-col sm:flex-row sm:justify-end pt-2 border-t border-gray-200&quot;,children:c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:u.onSubmit,disabled:u.submitting,className:&quot;w-full sm:w-auto min-h-[42px] min-w-[12rem]&quot;,children:u.submitting?&quot;Enregistrement…&quot;:&quot;Enregistrer le transfert&quot;})}),u.error&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:u.error})]}):c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-12 gap-4 items-end&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-4&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Compte *&quot;}),c.jsxs(&quot;select&quot;,{value:l.accountId,onChange:h=&gt;l.onAccountChange(h.target.value===&quot;&quot;?&quot;&quot;:Number(h.target.value)),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),l.treasuryAccounts.map(h=&gt;c.jsxs(&quot;option&quot;,{value:h.id,children:[h.name,&quot; — &quot;,h.context_display]},h.id))]})]}),c.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-3&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Sens *&quot;}),c.jsxs(&quot;select&quot;,{value:l.direction,onChange:h=&gt;l.onDirectionChange(h.target.value),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;increase&quot;,children:&quot;Augmentation du solde&quot;}),c.jsx(&quot;option&quot;,{value:&quot;decrease&quot;,children:&quot;Diminution du solde&quot;})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-2&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Montant *&quot;}),c.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:1,value:l.amount||&quot;&quot;,onChange:h=&gt;l.onAmountChange(parseInt(h.target.value,10)||0),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-3&quot;,children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Libellé *&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.label,onChange:h=&gt;l.onLabelChange(h.target.value),placeholder:&quot;Ex. Régularisation caisse&quot;,className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Notes (optionnel)&quot;}),c.jsx(&quot;textarea&quot;,{value:l.notes,onChange:h=&gt;l.onNotesChange(h.target.value),rows:2,className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 text-sm&quot;})]}),c.jsx(&quot;div&quot;,{className:&quot;flex flex-col sm:flex-row sm:justify-end pt-2 border-t border-gray-200&quot;,children:c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:l.onSubmit,disabled:l.submitting,className:&quot;w-full sm:w-auto min-h-[42px] min-w-[12rem]&quot;,children:l.submitting?&quot;Enregistrement…&quot;:&quot;Enregistrer l’ajustement&quot;})}),l.error&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:l.error})]})]})]}):c.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-dashed border-gray-300 bg-white p-8 text-center text-ink-600 text-sm leading-relaxed&quot;,children:[&quot;Sélectionnez un &quot;,c.jsx(&quot;strong&quot;,{className:&quot;font-semibold text-ink-800&quot;,children:&quot;événement&quot;}),&quot; pour afficher et saisir les mouvements.&quot;]})]})}function zie({hasSelectedEvent:e,loading:r,error:t,data:n,readOnly:o,eventId:i,eventSlug:a,onRequestReload:u}){const l=n?.totals_by_currency?Object.entries(n.totals_by_currency).sort(([W],[K])=&gt;W.localeCompare(K)):[],[s,d]=L.useState({}),[f,h]=L.useState(!1),[m,p]=L.useState(null),[b,g]=L.useState(!1),[y,v]=L.useState([]),[_,C]=L.useState(!1),[O,T]=L.useState(!1);L.useEffect(()=&gt;{if(!n?.accounts)return;const W={};n.accounts.forEach(K=&gt;{W[K.id]=K.breakdown.opening_balance}),d(W)},[n]),L.useEffect(()=&gt;{if(!i||!e){v([]);return}C(!0),uc.listSnapshots(i).then(v).catch(()=&gt;v([])).finally(()=&gt;C(!1))},[i,e,n?.meta?.schema_version]);const V=async()=&gt;{if(i){g(!0);try{await uc.downloadCsv(i,a)}finally{g(!1)}}},F=async()=&gt;{if(!(!i||!n)){p(null),h(!0);try{await uc.upsertOpeningBalances({event_id:i,balances:n.accounts.map(W=&gt;({treasury_account_id:W.id,amount:s[W.id]??W.breakdown.opening_balance}))}),u()}catch(W){const K=W&amp;&amp;typeof W==&quot;object&quot;&amp;&amp;&quot;data&quot;in W?W.data?.message:null;p(K??&quot;Erreur lors de l’enregistrement des soldes d’ouverture.&quot;)}finally{h(!1)}}},H=async()=&gt;{if(i){T(!0);try{await uc.captureSnapshot(i);const W=await uc.listSnapshots(i);v(W)}finally{T(!1)}}};return c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{className:&quot;flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Trésorerie&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:&quot;Soldes opérationnels par compte pour l&#039;événement sélectionné (calcul applicatif).&quot;})]}),n&amp;&amp;n.accounts.length&gt;0&amp;&amp;i!=null&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2 shrink-0&quot;,children:[c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:V,disabled:b,className:&quot;inline-flex items-center justify-center gap-1.5 px-3 py-2 text-sm font-medium border border-gray-300 rounded-lg bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50&quot;,children:[c.jsx(ua,{size:14,&quot;aria-hidden&quot;:!0}),b?&quot;Export…&quot;:&quot;Export CSV&quot;]}),!o&amp;&amp;c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:H,disabled:O,className:&quot;inline-flex items-center justify-center gap-1.5 px-3 py-2 text-sm font-medium border border-gray-300 rounded-lg bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50&quot;,children:[c.jsx(hL,{size:14,&quot;aria-hidden&quot;:!0}),O?&quot;…&quot;:&quot;Instantané&quot;]})]})]}),e?c.jsxs(c.Fragment,{children:[t&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,role:&quot;alert&quot;,children:t}),n?.disclaimer&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600 rounded-lg border border-gray-200 bg-gray-50 px-3 py-2 mb-4 leading-relaxed&quot;,children:n.disclaimer}),r?c.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 shadow-sm py-14 px-6 text-center&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-ink-600 text-sm font-medium&quot;,children:&quot;Chargement des soldes…&quot;})}):n&amp;&amp;n.accounts.length===0?c.jsx(&quot;div&quot;,{className:&quot;rounded-xl border border-gray-200 bg-white p-8 text-center text-ink-600 text-sm&quot;,children:&quot;Aucun compte de trésorerie actif n&#039;est disponible pour cet événement.&quot;}):n?c.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[l.length&gt;0&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2 items-center&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;text-xs font-semibold text-ink-600 uppercase tracking-wide&quot;,children:&quot;Totaux par devise&quot;}),l.map(([W,K])=&gt;c.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center rounded-full border border-brand-200 bg-brand-50 px-3 py-1 text-sm font-semibold text-brand-900 tabular-nums&quot;,children:En(K,W)},W))]}),c.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden shadow-sm&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:c.jsxs(&quot;table&quot;,{className:&quot;w-full text-left min-w-[720px]&quot;,children:[c.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Compte&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Contexte&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Devise&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Solde calculé (app)&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:n.accounts.map(W=&gt;c.jsx($ie,{row:W},W.id))})]})})}),!o&amp;&amp;i!=null&amp;&amp;n.accounts.length&gt;0&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-gray-200 bg-gray-50 p-4 sm:p-5 space-y-3&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-800&quot;,children:&quot;Soldes d&#039;ouverture (V3)&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Montants saisis une fois par compte pour cet événement ; ils s&#039;ajoutent au solde calculé avant les flux applicatifs.&quot;}),c.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3&quot;,children:n.accounts.map(W=&gt;c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1 truncate&quot;,title:W.name,children:W.name}),c.jsx(&quot;input&quot;,{type:&quot;number&quot;,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,value:s[W.id]??0,onChange:K=&gt;d($=&gt;({...$,[W.id]:parseInt(K.target.value,10)||0}))})]},W.id))}),m&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-600&quot;,children:m}),c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:F,disabled:f,children:f?&quot;Enregistrement…&quot;:&quot;Enregistrer les ouvertures&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-gray-200 bg-white p-4&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-800 mb-2&quot;,children:&quot;Instantanés enregistrés&quot;}),_?c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Chargement…&quot;}):y.length===0?c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucun instantané pour cet événement.&quot;}):c.jsx(&quot;ul&quot;,{className:&quot;text-sm text-ink-700 space-y-1&quot;,children:y.map(W=&gt;c.jsxs(&quot;li&quot;,{children:[W.created_at?new Date(W.created_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;,W.created_by_name?` · ${W.created_by_name}`:&quot;&quot;,` · ${W.accounts_count} compte(s)`]},W.id))})]})]}):null]}):c.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-dashed border-gray-300 bg-white p-8 text-center text-ink-600 text-sm leading-relaxed&quot;,children:[&quot;Sélectionnez un &quot;,c.jsx(&quot;strong&quot;,{className:&quot;font-semibold text-ink-800&quot;,children:&quot;événement&quot;}),&quot; pour afficher les soldes par compte.&quot;]})]})}function $ie({row:e}){const r=e.breakdown;return c.jsxs(c.Fragment,{children:[c.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900 align-top&quot;,children:e.name}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-600 align-top&quot;,children:e.context_display}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700 whitespace-nowrap align-top&quot;,children:e.currency}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-semibold text-ink-900 text-right tabular-nums whitespace-nowrap align-top&quot;,children:En(e.balance,e.currency)})]}),c.jsx(&quot;tr&quot;,{className:&quot;bg-gray-50/60&quot;,children:c.jsxs(&quot;td&quot;,{colSpan:4,className:&quot;px-4 py-2 text-xs text-ink-600 border-b border-gray-100&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-700&quot;,children:&quot;Ventilation : &quot;}),&quot;ouverture &quot;,En(r.opening_balance,e.currency),&quot; · inscriptions&quot;,&quot; &quot;,En(r.registration_payments_in,e.currency),&quot; · dons&quot;,&quot; &quot;,En(r.donations_in,e.currency),&quot; · dépenses −&quot;,En(r.expenses_out,e.currency),&quot; ·           transf. +&quot;,En(r.transfers_in,e.currency),&quot; / −&quot;,En(r.transfers_out,e.currency),&quot; · ajust. +&quot;,En(r.adjustments_increase,e.currency),&quot; / −&quot;,En(r.adjustments_decrease,e.currency)]})})]})}function Uie({kpi:e}){return c.jsxs(&quot;section&quot;,{className:&quot;space-y-3&quot;,&quot;aria-label&quot;:&quot;Indicateurs clés&quot;,children:[c.jsx(&quot;h4&quot;,{className:&quot;text-xs font-semibold uppercase tracking-wider text-ink-500&quot;,children:&quot;Indicateurs&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm p-4 border border-gray-200 min-h-[5.5rem] flex flex-col justify-between&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[c.jsx(Iy,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Total dû (inscriptions)&quot;]}),c.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:yr(e.total_due_registrations)})]}),c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm p-4 border border-gray-200 min-h-[5.5rem] flex flex-col justify-between&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[c.jsx(dF,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Encaissé confirmé&quot;]}),c.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-green-700 tabular-nums whitespace-nowrap&quot;,children:yr(e.total_confirmed_payments)})]}),c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm p-4 border border-gray-200 min-h-[5.5rem] flex flex-col justify-between&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:&quot;Reste à encaisser&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-amber-700 tabular-nums whitespace-nowrap&quot;,children:yr(e.remaining_to_collect)})]}),c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm p-4 border border-gray-200 min-h-[5.5rem] flex flex-col justify-between&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:&quot;Dons confirmés&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-green-700 tabular-nums whitespace-nowrap&quot;,children:yr(e.donations_confirmed_total)})]}),c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm p-4 border border-gray-200 min-h-[5.5rem] flex flex-col justify-between&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[c.jsx(Ty,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;À valider&quot;]}),c.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:e.pending_review_count})]}),c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm p-4 border border-gray-200 min-h-[5.5rem] flex flex-col justify-between&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[c.jsx(_m,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Non soldés / partiels&quot;]}),c.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:e.unpaid_or_partial_count})]})]})]})}function Vie({title:e,subtitle:r,showReadOnlyBanner:t}){return c.jsxs(c.Fragment,{children:[c.jsxs(&quot;header&quot;,{className:&quot;mb-8 pb-6 border-b border-gray-200&quot;,children:[c.jsx(&quot;h2&quot;,{className:&quot;text-3xl font-bold text-ink-900 tracking-tight&quot;,children:e}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mt-2 text-base leading-relaxed max-w-3xl&quot;,children:r})]}),t&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mb-6 p-4 bg-amber-50 border border-amber-200 rounded-xl text-amber-900 text-sm leading-relaxed&quot;,children:[c.jsx(&quot;strong&quot;,{className:&quot;font-semibold&quot;,children:&quot;Mode lecture seule.&quot;}),&quot; Vous pouvez consulter les données mais ne pouvez pas valider, modifier ni exporter.&quot;]})]})}function qie({activeTab:e,onTabChange:r,ariaLabel:t=&quot;Sections finance&quot;}){return c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-1 border-b border-gray-200 bg-white rounded-t-xl px-1 sm:px-2 pt-1 -mb-px shadow-sm&quot;,role:&quot;tablist&quot;,&quot;aria-label&quot;:t,children:[c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;tab&quot;,&quot;aria-selected&quot;:e===&quot;validation&quot;,onClick:()=&gt;r(&quot;validation&quot;),className:`flex items-center gap-2 px-4 py-3 rounded-t-lg border-b-2 -mb-px text-sm sm:text-base font-semibold transition-colors ${e===&quot;validation&quot;?&quot;border-brand-700 text-brand-700 bg-brand-50/50&quot;:&quot;border-transparent text-ink-500 hover:text-ink-800 hover:bg-gray-50&quot;}`,children:[c.jsx(rF,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),c.jsx(&quot;span&quot;,{className:&quot;text-left&quot;,children:&quot;Validation recettes et dons&quot;})]}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;tab&quot;,&quot;aria-selected&quot;:e===&quot;budget&quot;,onClick:()=&gt;r(&quot;budget&quot;),className:`flex items-center gap-2 px-4 py-3 rounded-t-lg border-b-2 -mb-px text-sm sm:text-base font-semibold transition-colors ${e===&quot;budget&quot;?&quot;border-brand-700 text-brand-700 bg-brand-50/50&quot;:&quot;border-transparent text-ink-500 hover:text-ink-800 hover:bg-gray-50&quot;}`,children:[c.jsx(tC,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Budget&quot;]}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;tab&quot;,&quot;aria-selected&quot;:e===&quot;expenses&quot;,onClick:()=&gt;r(&quot;expenses&quot;),className:`flex items-center gap-2 px-4 py-3 rounded-t-lg border-b-2 -mb-px text-sm sm:text-base font-semibold transition-colors ${e===&quot;expenses&quot;?&quot;border-brand-700 text-brand-700 bg-brand-50/50&quot;:&quot;border-transparent text-ink-500 hover:text-ink-800 hover:bg-gray-50&quot;}`,children:[c.jsx(CL,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Dépenses&quot;]}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;tab&quot;,&quot;aria-selected&quot;:e===&quot;movements&quot;,onClick:()=&gt;r(&quot;movements&quot;),className:`flex items-center gap-2 px-4 py-3 rounded-t-lg border-b-2 -mb-px text-sm sm:text-base font-semibold transition-colors ${e===&quot;movements&quot;?&quot;border-brand-700 text-brand-700 bg-brand-50/50&quot;:&quot;border-transparent text-ink-500 hover:text-ink-800 hover:bg-gray-50&quot;}`,children:[c.jsx(lL,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Mouvements&quot;]}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;tab&quot;,&quot;aria-selected&quot;:e===&quot;treasury&quot;,onClick:()=&gt;r(&quot;treasury&quot;),className:`flex items-center gap-2 px-4 py-3 rounded-t-lg border-b-2 -mb-px text-sm sm:text-base font-semibold transition-colors ${e===&quot;treasury&quot;?&quot;border-brand-700 text-brand-700 bg-brand-50/50&quot;:&quot;border-transparent text-ink-500 hover:text-ink-800 hover:bg-gray-50&quot;}`,children:[c.jsx($L,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Trésorerie&quot;]})]})}function Hie({pendingPayments:e,pendingDonations:r,donationsPaymentInProgress:t,readOnly:n,actionLoading:o,onConfirmPayment:i,onRejectPayment:a,onConfirmDonation:u,onRejectDonation:l,onOpenDonationsList:s}){return c.jsxs(&quot;section&quot;,{className:&quot;grid grid-cols-1 lg:grid-cols-3 gap-6 lg:gap-8&quot;,&quot;aria-label&quot;:&quot;Files d&#039;attente validation&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden flex flex-col&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;px-5 py-3.5 bg-brand-50 border-b border-brand-100 text-sm font-bold text-ink-900&quot;,children:&quot;Paiements en attente de validation&quot;}),c.jsx(&quot;div&quot;,{className:&quot;divide-y divide-gray-100 flex-1&quot;,children:e.length===0?c.jsx(&quot;p&quot;,{className:&quot;px-5 py-6 text-ink-600 text-sm leading-relaxed&quot;,children:&quot;Aucun paiement d&#039;inscription en attente de validation pour la sélection actuelle.&quot;}):e.map(d=&gt;c.jsxs(&quot;div&quot;,{className:&quot;px-5 py-3.5 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[c.jsxs(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[d.registration?.first_name,&quot; &quot;,d.registration?.last_name]}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 tabular-nums whitespace-nowrap mt-0.5&quot;,children:En(d.amount,d.currency)})]}),!n&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 shrink-0 justify-end&quot;,children:[c.jsx(Le,{variant:&quot;primary&quot;,onClick:()=&gt;i(d),disabled:o,title:&quot;Confirmer ce paiement&quot;,&quot;aria-label&quot;:&quot;Confirmer ce paiement&quot;,className:&quot;p-1.5&quot;,children:c.jsx(M4,{size:16,&quot;aria-hidden&quot;:!0})}),c.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;a(d),disabled:o,title:&quot;Rejeter ce paiement&quot;,&quot;aria-label&quot;:&quot;Rejeter ce paiement&quot;,className:&quot;!p-1.5 !px-1.5 !py-1.5&quot;,children:c.jsx(hr,{size:16,&quot;aria-hidden&quot;:!0})})]})]},d.id))})]}),c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden flex flex-col&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;px-5 py-3.5 bg-brand-50 border-b border-brand-100 text-sm font-bold text-ink-900&quot;,children:&quot;Dons en attente de validation&quot;}),c.jsx(&quot;div&quot;,{className:&quot;divide-y divide-gray-100 flex-1&quot;,children:r.length===0?c.jsx(&quot;p&quot;,{className:&quot;px-5 py-6 text-ink-600 text-sm leading-relaxed&quot;,children:&quot;Aucun don en attente de validation pour la sélection actuelle.&quot;}):r.map(d=&gt;c.jsxs(&quot;div&quot;,{className:&quot;px-5 py-3 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3 text-sm&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900 truncate&quot;,title:d.donor_name||&quot;Anonyme&quot;,children:d.donor_name||&quot;Anonyme&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600 tabular-nums whitespace-nowrap mt-0.5&quot;,children:En(d.amount,d.currency)})]}),!n&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 shrink-0 justify-end&quot;,children:[c.jsx(Le,{variant:&quot;primary&quot;,onClick:()=&gt;u(d),disabled:o,title:&quot;Confirmer ce don&quot;,&quot;aria-label&quot;:&quot;Confirmer ce don&quot;,className:&quot;p-1.5&quot;,children:c.jsx(M4,{size:16,&quot;aria-hidden&quot;:!0})}),c.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;l(d),disabled:o,title:&quot;Rejeter ce don&quot;,&quot;aria-label&quot;:&quot;Rejeter ce don&quot;,className:&quot;!p-1.5 !px-1.5 !py-1.5&quot;,children:c.jsx(hr,{size:16,&quot;aria-hidden&quot;:!0})})]})]},d.id))})]}),c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden flex flex-col&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;px-4 sm:px-5 py-3 bg-sky-50 border-b border-sky-100 flex flex-wrap items-center justify-between gap-2&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-sm font-bold text-ink-900&quot;,children:&quot;Dons SycaPay en cours&quot;}),s?c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:s,className:&quot;text-xs font-semibold shrink-0 !py-1.5 !px-2.5&quot;,children:&quot;Voir la liste des dons&quot;}):null]}),c.jsx(&quot;div&quot;,{className:&quot;divide-y divide-gray-100 flex-1&quot;,children:t.length===0?c.jsx(&quot;p&quot;,{className:&quot;px-5 py-6 text-ink-600 text-sm leading-relaxed&quot;,children:&quot;Aucun don SycaPay en cours pour la sélection actuelle.&quot;}):t.map(d=&gt;c.jsxs(&quot;div&quot;,{className:&quot;px-5 py-3 flex flex-col gap-1.5 text-sm&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900 truncate&quot;,title:d.donor_name||&quot;Anonyme&quot;,children:d.donor_name||&quot;Anonyme&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600 tabular-nums whitespace-nowrap&quot;,children:En(d.amount,d.currency)}),c.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:[&quot;Don: &quot;,c.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:d.status}),d.latest_gateway_payment?.status?c.jsxs(c.Fragment,{children:[&quot; &quot;,&quot;• Paiement: &quot;,c.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:d.latest_gateway_payment.status})]}):null]}),d.latest_gateway_payment?.provider_status?c.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:[&quot;Provider: &quot;,d.latest_gateway_payment.provider_status]}):null,d.latest_gateway_payment?.provider_last_error?c.jsx(&quot;p&quot;,{className:&quot;text-xs text-red-700&quot;,children:d.latest_gateway_payment.provider_last_error}):null]},d.id))})]})]})}const Wie=&quot;Sommet Haggai Franco 2026&quot;;function Yk(e){return(e??&quot;&quot;).trim().toLowerCase()}function Kie(){const{can:e,roles:r,loading:t}=Ls(),{events:n}=kp(),[o,i]=L.useState([]),[a,u]=L.useState(!0),[l,s]=L.useState(null),d=e(&quot;finance.dashboard&quot;)||e(&quot;payments.read&quot;);L.useEffect(()=&gt;{d&amp;&amp;(u(!0),s(null),en.getEvents().then(i).catch(oe=&gt;{const Ee=oe?.data?.message,rt=oe?.status;s(rt===404||Ee===&quot;Not Found&quot;?&quot;Module finance indisponible. Vérifiez que l’API est à jour (cache des routes) ou contactez l’administrateur.&quot;:Ee??&quot;Impossible de charger les événements.&quot;)}).finally(()=&gt;u(!1)))},[d]);const f=(o?.length?o:n)??[],h=L.useMemo(()=&gt;{if(r.includes(&quot;SUPER_ADMIN&quot;))return[&quot;summit&quot;,&quot;seminar&quot;];if(r.includes(&quot;COMMISSION_FINANCE&quot;))return[&quot;summit&quot;];if(r.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;))return[&quot;seminar&quot;];if(r.includes(&quot;COMMISSARIAT_GENERAL&quot;))return[&quot;summit&quot;,&quot;seminar&quot;];const oe=r.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;),Ee=r.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;);return oe&amp;&amp;Ee?[&quot;summit&quot;,&quot;seminar&quot;]:oe?[&quot;summit&quot;]:Ee?[&quot;seminar&quot;]:[]},[r]),m=r.includes(&quot;COMMISSARIAT_GENERAL&quot;),p=L.useMemo(()=&gt;(f??[]).filter(oe=&gt;h.includes(oe.event_type)),[f,h]),b=L.useMemo(()=&gt;p.length&gt;0?p:r.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;(f?.length??0)&gt;0?f??[]:p,[r,f,p]),[g,y]=L.useState(&quot;&quot;);L.useEffect(()=&gt;{g&amp;&amp;!b.some(oe=&gt;oe.id===g)&amp;&amp;y(&quot;&quot;)},[g,b]),L.useEffect(()=&gt;{if(g===&quot;&quot;&amp;&amp;b.length&gt;0){const oe=Yk(Wie),Ee=b.find(rt=&gt;Yk(rt.name)===oe);y(Ee?.id??b[0].id)}},[g,b]);const[v,_]=L.useState(null),[C,O]=L.useState(!0),[T,V]=L.useState(null),[F,H]=L.useState(null),[W,K]=L.useState(null),[$,P]=L.useState(&quot;&quot;),[D,E]=L.useState(&quot;&quot;),[j,k]=L.useState(null),[S,N]=L.useState(null),[M,R]=L.useState(&quot;&quot;),[B,Y]=L.useState([]),[Z,ie]=L.useState(0),[U,ee]=L.useState(null),[z,I]=L.useState(&quot;&quot;),[X,re]=L.useState(&quot;orange_money&quot;),[ne,Q]=L.useState(()=&gt;new Date().toISOString().slice(0,16)),[te,de]=L.useState(&quot;&quot;),[le,se]=L.useState(&quot;&quot;),[fe,he]=L.useState(null),[ue,ge]=L.useState(null),[xe,pe]=L.useState(!1),[ce,Ce]=L.useState(&quot;&quot;),[Me,Se]=L.useState([]),[Te,Qe]=L.useState([]),[Ve,Xe]=L.useState(null),[tt,He]=L.useState(null),[ze,Ze]=L.useState([]),[et,Je]=L.useState(!1),[It,Vt]=L.useState(1),[ot,Tt]=L.useState(20),[jt,St]=L.useState(null),[Xt,$t]=L.useState(&quot;&quot;),[ht,Ut]=L.useState(&quot;&quot;),[Ot,xt]=L.useState(null),[Rt,Gt]=L.useState(!1),[vt,ye]=L.useState(null),[ke,Ie]=L.useState(!1),[Ke,dt]=L.useState(!1),[Ge,wt]=L.useState(!1),[gt,nt]=L.useState([]),[Ct,kt]=L.useState(!1),[Pt,Jt]=L.useState(null),[Ht,ar]=L.useState(1),[or,$r]=L.useState(20),[me,je]=L.useState(null),[Re,Be]=L.useState(!1),[we,De]=L.useState(&quot;validation&quot;),[Fe,Nt]=L.useState(&quot;dashboard&quot;),[_t,Et]=L.useState(()=&gt;new Date().toISOString().slice(0,7)),[mt,Bt]=L.useState(&quot;exact&quot;),[qt,er]=L.useState(&quot;all&quot;),[Qt,vr]=L.useState(&quot;all&quot;),[Sr,Ur]=L.useState([]),[Qn,Yi]=L.useState(!1),[Zi,fi]=L.useState(null),[Wt,Dt]=L.useState(1),[ln,Qi]=L.useState(20),[kr,Lt]=L.useState(null),[zn,Jn]=L.useState(!1),[ji,vs]=L.useState([]),[cn,wn]=L.useState([]),[Na,Si]=L.useState(!1),[ei,Or]=L.useState(null),[un,ki]=L.useState(&quot;&quot;),[hi,On]=L.useState(&quot;&quot;),[Xd,Wc]=L.useState(0),[So,Gd]=L.useState(!1),[Yd,Fs]=L.useState(null),[Zd,Qd]=L.useState(null),[Ji,es]=L.useState(null),[Bs,ko]=L.useState(&quot;&quot;),[Jd,ef]=L.useState(0),[Al,No]=L.useState(0),[Ml,Kc]=L.useState(0),[dn,Ol]=L.useState(!1),[Co,Ca]=L.useState(null),[Pl,zs]=L.useState(null),[Tl,pr]=L.useState(null),[Ea,Il]=L.useState(!1),[Ni,Xc]=L.useState([]),[Gc,Rl]=L.useState(!1),[Eo,Ci]=L.useState(null),[tf,w0]=L.useState([]),[_0,j0]=L.useState([]),[Dl,S0]=L.useState(()=&gt;new Date().toISOString().slice(0,10)),[rf,nf]=L.useState(0),[Yc,k0]=L.useState(&quot;&quot;),[Ao,N0]=L.useState(&quot;&quot;),[sf,af]=L.useState(&quot;&quot;),[Zc,Ll]=L.useState(null),[C0,E0]=L.useState(0),[A0,Qc]=L.useState(!1),[M0,$s]=L.useState(null),[Aa,Jc]=L.useState([]),[O0,of]=L.useState(!1),[P0,Ma]=L.useState(null),[ws,T0]=L.useState([]),[lf,cf]=L.useState(&quot;transfer&quot;),[Oa,uf]=L.useState(&quot;&quot;),[Pa,Ta]=L.useState(&quot;&quot;),[df,ff]=L.useState(0),[hf,eu]=L.useState(&quot;&quot;),[tu,Ia]=L.useState(&quot;&quot;),[Mo,mf]=L.useState(!1),[Fl,_s]=L.useState(null),[Bl,ru]=L.useState(&quot;&quot;),[zl,pf]=L.useState(&quot;increase&quot;),[nu,iu]=L.useState(0),[gf,bf]=L.useState(&quot;&quot;),[xf,yf]=L.useState(&quot;&quot;),[I0,ti]=L.useState(!1),[Oo,Us]=L.useState(null),[vf,wf]=L.useState(null),[_f,$l]=L.useState(!1),[R0,jf]=L.useState(null),Zr=b.find(oe=&gt;oe.id===g)??f?.find(oe=&gt;oe.id===g),js=Zr?.event_type??null,Po=L.useCallback(()=&gt;{d&amp;&amp;(O(!0),V(null),en.getDashboard(g?{event_id:g}:void 0).then(_).catch(oe=&gt;V(oe?.data?.message||&quot;Erreur chargement dashboard finance.&quot;)).finally(()=&gt;O(!1)))},[d,g]);L.useEffect(()=&gt;{d&amp;&amp;Po()},[d,g,Z]),L.useEffect(()=&gt;{g&amp;&amp;typeof g==&quot;number&quot;&amp;&amp;(Vt(1),Dt(1),$t(&quot;&quot;),Ut(&quot;&quot;))},[g]),L.useEffect(()=&gt;{const oe=window.setTimeout(()=&gt;Ut(Xt.trim()),400);return()=&gt;window.clearTimeout(oe)},[Xt]),L.useEffect(()=&gt;{Vt(1)},[ht]),L.useEffect(()=&gt;{const oe=g===&quot;&quot;?null:Number(g);if(!d||we!==&quot;validation&quot;||oe==null||Number.isNaN(oe)){Ze([]),St(null);return}Je(!0),en.getDebtors({event_id:oe,page:It,per_page:ot,...ht!==&quot;&quot;?{q:ht}:{}}).then(Ee=&gt;{Ze(Array.isArray(Ee.data)?Ee.data:[]),St(Ee.meta??null)}).catch(()=&gt;{Ze([]),St(null)}).finally(()=&gt;Je(!1))},[d,we,g,It,ot,ht,Z]),L.useEffect(()=&gt;{const oe=g===&quot;&quot;?void 0:Number(g);Ge&amp;&amp;(kt(!0),Jt(null),en.getDonations({event_id:Number.isNaN(oe)?void 0:oe,page:Ht,per_page:or}).then(Ee=&gt;{nt(Ee.data??[]),je(Ee.meta??null)}).catch(Ee=&gt;{nt([]),je(null),Jt(Ee?.data?.message??Ee?.message??&quot;Erreur lors du chargement des dons.&quot;)}).finally(()=&gt;kt(!1)))},[Ge,Ht,or,g,Z]),L.useEffect(()=&gt;{const oe=g===&quot;&quot;?null:Number(g);if(!d||Fe!==&quot;reminders&quot;||oe==null||Number.isNaN(oe)){Ur([]),Lt(null);return}Yi(!0),fi(null),en.getExpectedPaymentsForMonth({event_id:oe,month:_t,month_scope:mt,installment_status:qt===&quot;all&quot;?void 0:qt,financial_situation:Qt===&quot;all&quot;?void 0:Qt,page:Wt,per_page:ln}).then(Ee=&gt;{Ur(Ee.data??[]),Lt(Ee.meta??null)}).catch(Ee=&gt;{Ur([]),Lt(null),fi(Ee?.data?.message??Ee?.message??&quot;Erreur lors du chargement relance.&quot;)}).finally(()=&gt;Yi(!1))},[d,Fe,g,_t,mt,qt,Qt,Wt,ln,Z]);const To=L.useCallback(()=&gt;{if(!js){vs([]);return}lo.list({event_type:js}).then(oe=&gt;vs(Array.isArray(oe)?oe:[]))},[js]),Ra=L.useCallback(()=&gt;{if(!g||typeof g!=&quot;number&quot;){wn([]);return}Si(!0),Or(null),Jo.list(g).then(wn).catch(oe=&gt;Or(oe?.data?.message??&quot;Erreur chargement des lignes.&quot;)).finally(()=&gt;Si(!1))},[g]);L.useEffect(()=&gt;{we===&quot;budget&quot;&amp;&amp;To()},[we,js,To]),L.useEffect(()=&gt;{we!==&quot;budget&quot;||!g||Ra()},[we,g,Ra]);const Io=L.useCallback(()=&gt;{!g||typeof g!=&quot;number&quot;||(Rl(!0),Ci(null),Ch.list(g).then(Xc).catch(oe=&gt;Ci(oe?.data?.message??&quot;Erreur chargement des dépenses.&quot;)).finally(()=&gt;Rl(!1)))},[g]);L.useEffect(()=&gt;{we!==&quot;expenses&quot;||!g||(Io(),Jo.list(g).then(oe=&gt;{w0(oe.filter(Ee=&gt;Ee.category_type===&quot;expense&quot;))}),na.list({event_id:g}).then(oe=&gt;{const Ee=Array.isArray(oe)?oe:oe?.data??[];j0(Ee.filter(rt=&gt;rt.is_active))}))},[we,g,Io]),L.useEffect(()=&gt;{we!==&quot;movements&quot;||!g||typeof g!=&quot;number&quot;||(of(!0),Ma(null),gb.list(g).then(Jc).catch(oe=&gt;Ma(oe?.data?.message??&quot;Erreur chargement des mouvements.&quot;)).finally(()=&gt;of(!1)),na.list({event_id:g}).then(oe=&gt;{const Ee=Array.isArray(oe)?oe:oe?.data??[];T0(Ee.filter(rt=&gt;rt.is_active))}))},[we,g]),L.useEffect(()=&gt;{we!==&quot;treasury&quot;||!g||typeof g!=&quot;number&quot;||($l(!0),jf(null),uc.get(g).then(wf).catch(oe=&gt;jf(oe?.data?.message??&quot;Erreur chargement des soldes.&quot;)).finally(()=&gt;$l(!1)))},[we,g,Z]);const Da=()=&gt;{if(!g||typeof g!=&quot;number&quot;){$s(&quot;Sélectionnez un événement.&quot;);return}if(Ao===&quot;&quot;||typeof Ao!=&quot;number&quot;){$s(&quot;Choisissez un compte de trésorerie.&quot;);return}const oe=sf.trim();if(!oe){$s(&quot;Le libellé est obligatoire.&quot;);return}const Ee=Number(rf);if(isNaN(Ee)||Ee&lt;1){$s(&quot;Montant invalide.&quot;);return}if(!Zc){$s(&quot;La pièce justificative est obligatoire.&quot;);return}$s(null),Qc(!0),Ch.create({event_id:g,treasury_account_id:Ao,event_budget_line_id:Yc===&quot;&quot;?null:Yc,amount:Ee,paid_at:Dl,label:oe,proof:Zc}).then(rt=&gt;{Xc(st=&gt;[rt,...st]),nf(0),af(&quot;&quot;),Ll(null),E0(st=&gt;st+1)}).catch(rt=&gt;$s(rt?.data?.message??&quot;Erreur lors de l&#039;ajout.&quot;)).finally(()=&gt;Qc(!1))},su=oe=&gt;{Ci(null),Ch.openExpenseProofInNewTab(oe.id).catch(Ee=&gt;Ci(Ee&amp;&amp;typeof Ee==&quot;object&quot;&amp;&amp;&quot;data&quot;in Ee&amp;&amp;Ee.data?.message?String(Ee.data?.message):Ee instanceof Error?Ee.message:&quot;Impossible d’ouvrir le justificatif.&quot;))},Sf=oe=&gt;{confirm(&quot;Supprimer cette dépense ? La réalisation budgétaire sera mise à jour.&quot;)&amp;&amp;Ch.delete(oe.id).then(()=&gt;Xc(Ee=&gt;Ee.filter(rt=&gt;rt.id!==oe.id))).catch(Ee=&gt;Ci(Ee?.data?.message??&quot;Erreur suppression.&quot;))},Ul=(oe,Ee)=&gt;{N(null),H({type:&quot;confirm-payment&quot;,id:oe}),en.confirmPayment(oe,Ee).then(()=&gt;{K(null),P(&quot;&quot;),E(&quot;&quot;),k(null),ie(rt=&gt;rt+1)}).catch(rt=&gt;{N(rt?.data?.message||rt?.message||&quot;Erreur lors de la confirmation.&quot;)}).finally(()=&gt;H(null))},kf=(oe,Ee)=&gt;{N(null),H({type:&quot;reject-payment&quot;,id:oe}),en.rejectPayment(oe,Ee).then(()=&gt;{K(null),P(&quot;&quot;),E(&quot;&quot;),k(null),ie(rt=&gt;rt+1)}).catch(rt=&gt;{N(rt?.data?.message||rt?.message||&quot;Erreur lors du rejet.&quot;)}).finally(()=&gt;H(null))},Nf=(oe,Ee)=&gt;{N(null),H({type:&quot;confirm-donation&quot;,id:oe}),en.confirmDonation(oe,Ee).then(()=&gt;{K(null),P(&quot;&quot;),E(&quot;&quot;),k(null),ie(rt=&gt;rt+1)}).catch(rt=&gt;{N(rt?.data?.message||rt?.message||&quot;Erreur lors de la confirmation.&quot;)}).finally(()=&gt;H(null))},Cf=(oe,Ee)=&gt;{N(null),H({type:&quot;reject-donation&quot;,id:oe}),en.rejectDonation(oe,Ee).then(()=&gt;{K(null),P(&quot;&quot;),E(&quot;&quot;),k(null),ie(rt=&gt;rt+1)}).catch(rt=&gt;{N(rt?.data?.message||rt?.message||&quot;Erreur lors du rejet.&quot;)}).finally(()=&gt;H(null))},Ro=(oe,Ee)=&gt;{K({action:oe,target:Ee}),P(&quot;&quot;),E(&quot;&quot;),k(null),N(null),R(&quot;&quot;),Y([])};L.useEffect(()=&gt;{if(!W||W.action!==&quot;confirm&quot;)return;const oe=W.target;if(oe.type!==&quot;payment&quot;&amp;&amp;oe.type!==&quot;donation&quot;)return;const Ee=oe.event_id??&quot;&quot;;if(Ee===&quot;&quot;||Ee===void 0){Y([]);return}na.list({event_id:typeof Ee==&quot;number&quot;?Ee:Number(Ee)}).then(rt=&gt;Y(Array.isArray(rt)?rt:rt?.data??[])).catch(()=&gt;Y([]))},[W]);const Ef=()=&gt;{if(!W)return;if(W.action===&quot;confirm&quot;&amp;&amp;W.target.type===&quot;payment&quot;&amp;&amp;(M===&quot;&quot;||M===void 0)){N(&quot;Veuillez sélectionner le compte de trésorerie impacté par l&#039;encaissement.&quot;);return}const oe=W.target,Ee={review_note:$.trim()||void 0,reference:D.trim()||void 0,proof:j||void 0,...W.action===&quot;confirm&quot;&amp;&amp;(oe.type===&quot;payment&quot;||oe.type===&quot;donation&quot;)&amp;&amp;M!==&quot;&quot;&amp;&amp;{treasury_account_id:Number(M)}};W.target.type===&quot;payment&quot;?W.action===&quot;confirm&quot;?Ul(W.target.id,Ee):kf(W.target.id,Ee):W.action===&quot;confirm&quot;?Nf(W.target.id,Ee):Cf(W.target.id,Ee)};L.useEffect(()=&gt;{if(!U?.event?.id){Se([]);return}na.list({event_id:U.event.id}).then(oe=&gt;Se(Array.isArray(oe)?oe:oe?.data??[])).catch(()=&gt;Se([]))},[U]);const Af=oe=&gt;{ee(oe),I(String(oe.balance)),re(&quot;orange_money&quot;),Q(new Date().toISOString().slice(0,16)),de(&quot;&quot;),se(&quot;&quot;),he(null),Ce(&quot;&quot;),ge(null),Qe([])},Ei=L.useMemo(()=&gt;!U||!U.installment_due_items?.length?0:U.installment_due_items.filter(oe=&gt;Te.includes(oe.index)).reduce((oe,Ee)=&gt;oe+Ee.amount_due_remaining,0),[U,Te]),au=oe=&gt;{Qe(Ee=&gt;Ee.includes(oe)?Ee.filter(rt=&gt;rt!==oe):[...Ee,oe])},ou=()=&gt;{const oe=U?.installment_due_items??[];Qe(oe.map(Ee=&gt;Ee.index))},D0=()=&gt;Qe([]),L0=()=&gt;{if(!U)return;if(ce===&quot;&quot;||typeof ce!=&quot;number&quot;){ge(&quot;Veuillez sélectionner le compte de trésorerie à utiliser.&quot;);return}const oe=parseInt(z,10);if(isNaN(oe)||oe&lt;=0){ge(&quot;Montant invalide.&quot;);return}if(oe&gt;U.balance){ge(`Le montant ne peut pas dépasser le solde (${yr(U.balance)}).`);return}if(!te.trim()&amp;&amp;!fe){ge(&quot;Veuillez renseigner la référence transaction et/ou joindre une preuve (image ou scan).&quot;);return}ge(null),pe(!0),en.initPayment(U.id,{amount:oe,method:X,paid_at:new Date(ne).toISOString(),treasury_account_id:Number(ce),reference:te.trim()||void 0,notes:le.trim()||void 0,proof:fe||void 0}).then(()=&gt;{ee(null),ie(Ee=&gt;Ee+1)}).catch(Ee=&gt;{const rt=Ee?.data?.message||Ee?.message||&quot;Erreur lors de l&#039;enregistrement.&quot;,st=Ee?.data?.errors;ge(st?Object.values(st).flat().join(&quot; &quot;):rt)}).finally(()=&gt;pe(!1))},La=oe=&gt;{Gt(!0),ye(null),xt(null),en.getDebtorDetail(oe).then(Ee=&gt;xt(Ee.data)).catch(Ee=&gt;{ye(Ee?.data?.message??Ee?.message??&quot;Impossible de charger le détail débiteur.&quot;)}).finally(()=&gt;Gt(!1))},F0=async()=&gt;{if(!(!g||typeof g!=&quot;number&quot;)){Ie(!0);try{const Ee=((await en.getDebtorsExport({event_id:g})).data??[]).map(st=&gt;({&quot;ID inscription&quot;:st.registration_id,Événement:st.event_name??&quot;—&quot;,Nom:st.name,Email:st.email,&quot;Montant dû&quot;:st.amount_due,&quot;Déjà payé&quot;:st.paid,&quot;Solde restant&quot;:st.balance,Échéances:st.installments_label,&quot;Échéances restantes&quot;:st.installments_open_count,Situation:st.financial_situation_label,&quot;Calendrier des échéances (dates, statuts, montants)&quot;:st.installments_schedule_detail??&quot;&quot;,&quot;Échéances en retard (résumé relance)&quot;:st.installments_late_open_summary??&quot;&quot;})),rt=Zr?.slug??g;await Js(Ee,`debiteurs_${rt}_${new Date().toISOString().slice(0,10)}`,&quot;Débiteurs&quot;)}catch(oe){V(oe instanceof Error?oe.message:&quot;Erreur lors de l’export XLSX des débiteurs.&quot;)}finally{Ie(!1)}}},Mf=async()=&gt;{if(!(!g||typeof g!=&quot;number&quot;)){dt(!0);try{const Ee=((await en.getConfirmedPaymentsExport({event_id:g})).data??[]).map(st=&gt;({&quot;ID paiement&quot;:st.payment_id,&quot;ID inscription&quot;:st.registration_id??&quot;—&quot;,Événement:st.event_name??&quot;—&quot;,Participant:st.participant_name??&quot;—&quot;,Email:st.participant_email??&quot;—&quot;,Montant:st.amount,Devise:st.currency,Méthode:Qu(st.method),&quot;Date paiement&quot;:st.paid_at?new Date(st.paid_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;,&quot;Date validation&quot;:st.reviewed_at?new Date(st.reviewed_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;,Passerelle:st.payment_gateway??&quot;—&quot;,&quot;Référence (n° commande SycaPay ou réf. transaction déclarée)&quot;:st.payment_reference||&quot;—&quot;,&quot;Complément référence (ex. ID transaction agrégateur)&quot;:st.payment_reference_extra??&quot;—&quot;,&quot;Réf. déclaration (champ brut)&quot;:st.declared_reference??&quot;—&quot;,&quot;N° commande / provider_ref (brut)&quot;:st.provider_ref??&quot;—&quot;,&quot;N° reçu&quot;:st.receipt_number??&quot;—&quot;})),rt=Zr?.slug??g;await Js(Ee,`paiements_confirmes_${rt}_${new Date().toISOString().slice(0,10)}`,&quot;Paiements reçus&quot;)}catch(oe){V(oe instanceof Error?oe.message:&quot;Erreur lors de l’export XLSX des paiements confirmés.&quot;)}finally{dt(!1)}}},Of=async()=&gt;{Jt(null),Be(!0);try{const oe=g===&quot;&quot;?void 0:Number(g),st=((await en.getDonationsExport(oe!=null&amp;&amp;!Number.isNaN(oe)?{event_id:oe}:void 0)).data??[]).map(ur=&gt;({ID:ur.id,Événement:ur.event?.name??&quot;—&quot;,Donateur:ur.donor_name||&quot;Anonyme&quot;,Email:ur.donor_email??&quot;—&quot;,Montant:ur.amount,Devise:ur.currency,Méthode:Qu(ur.method)||&quot;—&quot;,Statut:ur.status,Référence:ur.reference??&quot;—&quot;,Notes:ur.notes??&quot;—&quot;,&quot;Note validation&quot;:ur.review_note??&quot;—&quot;,&quot;Créé le&quot;:ur.created_at?new Date(ur.created_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;,&quot;Payé / déclaré le&quot;:ur.paid_at?new Date(ur.paid_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;})),gr=Zr?.slug??(typeof g==&quot;number&quot;&amp;&amp;!Number.isNaN(g)?String(g):&quot;donations&quot;);await Js(st,`dons_${gr}_${new Date().toISOString().slice(0,10)}`,&quot;Dons&quot;)}catch(oe){oe instanceof Kt?Jt(oe.data?.message??oe.message??&quot;Erreur lors de l’export XLSX des dons.&quot;):Jt(oe instanceof Error?oe.message:&quot;Erreur lors de l’export XLSX des dons.&quot;)}finally{Be(!1)}},fr=async()=&gt;{if(!(!g||typeof g!=&quot;number&quot;)){Jn(!0);try{const Ee=((await en.getExpectedPaymentsForMonthExport({event_id:g,month:_t,month_scope:mt,installment_status:qt===&quot;all&quot;?void 0:qt,financial_situation:Qt===&quot;all&quot;?void 0:Qt})).data??[]).map(st=&gt;({&quot;ID inscription&quot;:st.registration_id,Événement:st.event_name??&quot;—&quot;,Nom:st.name,Email:st.email,Téléphone:st.phone??&quot;&quot;,Échéance:`${st.installment_label} (${st.installment_month})`,Fenêtre:st.installment_due_window,&quot;Montant échéance&quot;:st.installment_amount,&quot;Déjà payé échéance&quot;:st.installment_paid_amount,&quot;Reste échéance&quot;:st.installment_remaining_amount,&quot;Statut échéance&quot;:st.installment_status===&quot;late&quot;?&quot;En retard&quot;:&quot;Ouverte&quot;,&quot;Situation globale&quot;:st.financial_situation_label})),rt=Zr?.slug??g;await Js(Ee,`relance_${rt}_${_t}_${mt}_${qt}_${new Date().toISOString().slice(0,10)}`,&quot;Relance échéances&quot;)}catch(oe){V(oe instanceof Error?oe.message:&quot;Erreur export relance.&quot;)}finally{Jn(!1)}}},lu=oe=&gt;{He(null),Xe({key:`payment-${oe}`,action:&quot;issue&quot;}),en.issuePaymentReceipt(oe).then(()=&gt;ie(Ee=&gt;Ee+1)).catch(Ee=&gt;He(Ee?.data?.message||Ee?.message||&quot;Erreur.&quot;)).finally(()=&gt;Xe(null))},Vl=(oe,Ee)=&gt;{He(null),Xe({key:`receipt-${oe}`,action:&quot;download&quot;}),en.downloadReceipt(oe,`${Ee}.pdf`).catch(rt=&gt;He(rt?.data?.message||rt?.message||&quot;Erreur téléchargement.&quot;)).finally(()=&gt;Xe(null))},Do=oe=&gt;{He(null),Xe({key:`payment-${oe}`,action:&quot;email&quot;}),en.sendPaymentReceiptEmail(oe).then(()=&gt;ie(Ee=&gt;Ee+1)).catch(Ee=&gt;He(Ee?.data?.message||Ee?.message||&quot;Erreur envoi email.&quot;)).finally(()=&gt;Xe(null))},Pf=(oe,Ee)=&gt;Ve?.key===oe&amp;&amp;Ve?.action===Ee,cu=()=&gt;{if(!g||typeof g!=&quot;number&quot;||un===&quot;&quot;||typeof un!=&quot;number&quot;){Fs(&quot;Veuillez choisir un événement et une catégorie.&quot;);return}const oe=Number(Xd);if(isNaN(oe)||oe&lt;0){Fs(&quot;Montant prévu invalide.&quot;);return}Fs(null),Gd(!0),Jo.create(g,{budget_category_id:un,label:hi.trim()||void 0,amount_planned:oe}).then(Ee=&gt;{wn(rt=&gt;[...rt,Ee]),ki(&quot;&quot;),On(&quot;&quot;),Wc(0)}).catch(Ee=&gt;Fs(Ee?.data?.message??&quot;Erreur lors de l&#039;ajout.&quot;)).finally(()=&gt;Gd(!1))},Lo=oe=&gt;{zs(oe.id),Or(null),Jo.moveUp(oe.id).then(()=&gt;Ra()).catch(Ee=&gt;Or(Ee?.data?.message??&quot;Erreur lors du déplacement.&quot;)).finally(()=&gt;zs(null))},ql=oe=&gt;{zs(oe.id),Or(null),Jo.moveDown(oe.id).then(()=&gt;Ra()).catch(Ee=&gt;Or(Ee?.data?.message??&quot;Erreur lors du déplacement.&quot;)).finally(()=&gt;zs(null))},Fa=oe=&gt;{confirm(&quot;Supprimer cette ligne de budget ?&quot;)&amp;&amp;Jo.delete(oe.id).then(()=&gt;wn(Ee=&gt;Ee.filter(rt=&gt;rt.id!==oe.id))).catch(Ee=&gt;Or(Ee?.data?.message??&quot;Erreur suppression.&quot;))},Tf=oe=&gt;{es(oe),ko(oe.label??&quot;&quot;),ef(oe.amount_planned??0),No(oe.amount_realized??0),Kc(oe.sort_order??0),Ca(null)},B0=()=&gt;{if(!Ji)return;const oe=Number(Jd),Ee=Number(Al);if(isNaN(oe)||oe&lt;0){Ca(&quot;Montant prévu invalide.&quot;);return}if(isNaN(Ee)||Ee&lt;0){Ca(&quot;Montant réalisé invalide.&quot;);return}Ca(null),Ol(!0),Jo.update(Ji.id,{label:Bs.trim()||null,amount_planned:oe,amount_realized:Ee,sort_order:Ml}).then(rt=&gt;{wn(st=&gt;st.map(gr=&gt;gr.id===Ji.id?rt:gr)),es(null)}).catch(rt=&gt;Ca(rt?.data?.message??&quot;Erreur lors de l&#039;enregistrement.&quot;)).finally(()=&gt;Ol(!1))},z0=()=&gt;{Ra(),Qd(&quot;Budget enregistré.&quot;),setTimeout(()=&gt;Qd(null),3e3)},If=()=&gt;{if(!(!g||cn.length===0)){pr(&quot;budget-csv&quot;);try{const oe=qk(cn),Ee=Zr?.slug??g;Zu(oe,`budget_${Ee}_${new Date().toISOString().slice(0,10)}`)}catch(oe){Or(oe instanceof Error?oe.message:&quot;Erreur export.&quot;)}finally{pr(null)}}},Hl=async()=&gt;{if(!(!g||cn.length===0)){pr(&quot;budget-xlsx&quot;);try{const oe=qk(cn),Ee=Zr?.slug??g;await Js(oe,`budget_${Ee}_${new Date().toISOString().slice(0,10)}`,&quot;Lignes budget&quot;)}catch(oe){Or(oe instanceof Error?oe.message:&quot;Erreur export.&quot;)}finally{pr(null)}}},Wl=()=&gt;{if(!(!g||Ni.length===0)){pr(&quot;expenses-csv&quot;);try{const oe=Hk(Ni),Ee=Zr?.slug??g;Zu(oe,`depenses_${Ee}_${new Date().toISOString().slice(0,10)}`)}catch(oe){Ci(oe instanceof Error?oe.message:&quot;Erreur export.&quot;)}finally{pr(null)}}},uu=async()=&gt;{if(!(!g||Ni.length===0)){pr(&quot;expenses-xlsx&quot;);try{const oe=Hk(Ni),Ee=Zr?.slug??g;await Js(oe,`depenses_${Ee}_${new Date().toISOString().slice(0,10)}`,&quot;Dépenses&quot;)}catch(oe){Ci(oe instanceof Error?oe.message:&quot;Erreur export.&quot;)}finally{pr(null)}}},du=()=&gt;{if(!g||typeof g!=&quot;number&quot;){_s(&quot;Sélectionnez un événement.&quot;);return}if(Oa===&quot;&quot;||Pa===&quot;&quot;){_s(&quot;Choisissez les deux comptes.&quot;);return}if(Oa===Pa){_s(&quot;Le compte destination doit être différent du compte source.&quot;);return}const oe=ws.find(gr=&gt;gr.id===Oa),Ee=ws.find(gr=&gt;gr.id===Pa);if(oe&amp;&amp;Ee&amp;&amp;oe.currency!==Ee.currency){_s(&quot;Les deux comptes doivent avoir la même devise.&quot;);return}const rt=hf.trim();if(!rt){_s(&quot;Le libellé est obligatoire.&quot;);return}const st=Number(df);if(isNaN(st)||st&lt;1){_s(&quot;Montant invalide.&quot;);return}_s(null),mf(!0),gb.create({event_id:g,movement_type:&quot;transfer&quot;,amount:st,label:rt,notes:tu.trim()||null,from_treasury_account_id:Oa,to_treasury_account_id:Pa}).then(gr=&gt;{Jc(ur=&gt;[gr,...ur]),ff(0),eu(&quot;&quot;),Ia(&quot;&quot;)}).catch(gr=&gt;_s(gr?.data?.message??&quot;Erreur lors de l’enregistrement.&quot;)).finally(()=&gt;mf(!1))},fu=()=&gt;{if(!g||typeof g!=&quot;number&quot;){Us(&quot;Sélectionnez un événement.&quot;);return}if(Bl===&quot;&quot;){Us(&quot;Choisissez un compte.&quot;);return}const oe=gf.trim();if(!oe){Us(&quot;Le libellé est obligatoire.&quot;);return}const Ee=Number(nu);if(isNaN(Ee)||Ee&lt;1){Us(&quot;Montant invalide.&quot;);return}Us(null),ti(!0),gb.create({event_id:g,movement_type:&quot;adjustment&quot;,amount:Ee,label:oe,notes:xf.trim()||null,treasury_account_id:Bl,adjustment_direction:zl}).then(rt=&gt;{Jc(st=&gt;[rt,...st]),iu(0),bf(&quot;&quot;),yf(&quot;&quot;)}).catch(rt=&gt;Us(rt?.data?.message??&quot;Erreur lors de l’enregistrement.&quot;)).finally(()=&gt;ti(!1))},hu=()=&gt;{if(!(!g||Aa.length===0)){pr(&quot;movements-csv&quot;);try{const oe=Wk(Aa),Ee=Zr?.slug??g;Zu(oe,`mouvements_tresorerie_${Ee}_${new Date().toISOString().slice(0,10)}`)}catch(oe){Ma(oe instanceof Error?oe.message:&quot;Erreur export.&quot;)}finally{pr(null)}}},$0=async()=&gt;{if(!(!g||Aa.length===0)){pr(&quot;movements-xlsx&quot;);try{const oe=Wk(Aa),Ee=Zr?.slug??g;await Js(oe,`mouvements_tresorerie_${Ee}_${new Date().toISOString().slice(0,10)}`,&quot;Mouvements&quot;)}catch(oe){Ma(oe instanceof Error?oe.message:&quot;Erreur export.&quot;)}finally{pr(null)}}},Rf=L.useMemo(()=&gt;{let oe=0,Ee=0,rt=0,st=0;cn.forEach(ur=&gt;{const Vs=ur.amount_planned??0,zo=ur.amount_realized??0;ur.category_type===&quot;revenue&quot;?(oe+=Vs,rt+=zo):ur.category_type===&quot;expense&quot;&amp;&amp;(Ee+=Vs,st+=zo)});const gr=oe-Ee;return{totalRevenuePlanned:oe,totalExpensePlanned:Ee,totalRevenueRealized:rt,totalExpenseRealized:st,balancePlanned:gr,shortfall:gr&lt;0?Math.abs(gr):0,surplus:gr&gt;0?gr:0}},[cn]);if(t)return c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!d)return c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-ink-600&quot;,children:&quot;Vous n&#039;avez pas accès au module Finance.&quot;})});const mu=r.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE&quot;)&amp;&amp;!r.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),Df=r.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE&quot;)&amp;&amp;!r.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),Fo=r.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!r.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),ts=r.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),Lf=mu||ts?!1:e(&quot;registrations.read&quot;),Ba=Df||Fo?!1:e(&quot;registrations.read&quot;),Ai=mu||Fo?!1:e(&quot;recommendations.read&quot;),Bo=mu||Df||Fo||ts?!1:e(&quot;settings.read&quot;)||e(&quot;settings.update&quot;);return c.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[c.jsx(Cp,{}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[c.jsx(Ep,{currentSection:&quot;finance&quot;,registrationView:&quot;summit&quot;,showSommet:Lf,showSeminar:Ba,showRecommendations:Ai,showUsers:!1,showFinance:d,showSettings:Bo}),c.jsx(&quot;main&quot;,{className:&quot;flex-1 lg:ml-48 pb-16 lg:pb-0&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;w-full px-4 sm:px-6 lg:px-8 py-6 lg:py-8 max-w-[1600px] mx-auto&quot;,children:[c.jsx(Vie,{title:&quot;Dashboard Finance&quot;,subtitle:&quot;Pilotage des encaissements — paiements et dons&quot;,showReadOnlyBanner:m}),c.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex items-center gap-2 rounded-xl border border-gray-200 bg-white p-2&quot;,children:[c.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:`rounded-lg px-4 py-2 text-sm font-semibold transition-colors ${Fe===&quot;dashboard&quot;?&quot;bg-brand-700 text-white&quot;:&quot;text-ink-600 hover:bg-gray-50&quot;}`,onClick:()=&gt;Nt(&quot;dashboard&quot;),children:&quot;Finance&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:`rounded-lg px-4 py-2 text-sm font-semibold transition-colors ${Fe===&quot;reminders&quot;?&quot;bg-brand-700 text-white&quot;:&quot;text-ink-600 hover:bg-gray-50&quot;}`,onClick:()=&gt;Nt(&quot;reminders&quot;),children:&quot;Relance&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-col sm:flex-row sm:flex-wrap sm:items-center gap-3 sm:gap-4 p-4 bg-white rounded-xl border border-gray-200 shadow-sm&quot;,role:&quot;search&quot;,&quot;aria-label&quot;:&quot;Filtrer par événement&quot;,children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;finance-event-select&quot;,className:&quot;text-sm font-semibold text-ink-800 shrink-0&quot;,children:&quot;Événement&quot;}),c.jsxs(&quot;select&quot;,{id:&quot;finance-event-select&quot;,value:g,onChange:oe=&gt;y(oe.target.value===&quot;&quot;?&quot;&quot;:Number(oe.target.value)),className:&quot;px-4 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-brand-700 min-w-[min(100%,16rem)] sm:max-w-md&quot;,disabled:a,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:a?&quot;Chargement...&quot;:Fe===&quot;reminders&quot;||we===&quot;budget&quot;||we===&quot;movements&quot;||we===&quot;treasury&quot;?&quot;- Choisir un événement -&quot;:&quot;Tous&quot;}),b.map(oe=&gt;c.jsx(&quot;option&quot;,{value:oe.id,children:oe.name},oe.id))]}),l&amp;&amp;c.jsx(&quot;span&quot;,{className:&quot;text-sm text-red-600&quot;,role:&quot;alert&quot;,children:l}),!a&amp;&amp;b.length===0&amp;&amp;!l&amp;&amp;c.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucun événement actif pour le moment.&quot;})]}),Fe===&quot;dashboard&quot;&amp;&amp;c.jsx(qie,{activeTab:we,onTabChange:De}),Fe===&quot;dashboard&quot;&amp;&amp;we===&quot;budget&quot;&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mt-6 space-y-6&quot;,role:&quot;tabpanel&quot;,children:c.jsx(Tie,{hasSelectedEvent:!!g,readOnly:m,alerts:{linesError:ei,saveMessage:Zd},table:{lines:cn,loading:Na,totals:Rf,moveLineLoading:Pl,onMoveUp:Lo,onMoveDown:ql,onOpenEdit:Tf,onDelete:Fa},writable:m?void 0:{addLine:{categories:ji,categoryId:un,label:hi,amount:Xd,submitting:So,error:Yd,onCategoryChange:ki,onLabelChange:On,onAmountChange:Wc,onSubmit:cu,onOpenCategoryModal:js!=null?()=&gt;Il(!0):void 0},exportBar:{exportFinanceLoading:Tl,linesCount:cn.length,onExportCsv:If,onExportXlsx:Hl,onSave:z0}}})}),Fe===&quot;dashboard&quot;&amp;&amp;we===&quot;expenses&quot;&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mt-6 space-y-6&quot;,role:&quot;tabpanel&quot;,children:c.jsx(Lie,{hasSelectedEvent:!!g,readOnly:m,alerts:{error:Eo},exportRow:!m&amp;&amp;Ni.length&gt;0?{exportFinanceLoading:Tl,onExportCsv:Wl,onExportXlsx:uu}:void 0,table:{rows:Ni,loading:Gc,onDelete:Sf,onOpenProof:su},form:{paidAt:Dl,budgetLineId:Yc,treasuryAccountId:Ao,amount:rf,label:sf,proofFile:Zc,proofInputKey:C0,submitting:A0,error:M0,budgetLines:tf,treasuryAccounts:_0,onPaidAtChange:S0,onBudgetLineChange:k0,onTreasuryAccountChange:N0,onAmountChange:nf,onLabelChange:af,onProofChange:Ll,onSubmit:Da}})}),Fe===&quot;dashboard&quot;&amp;&amp;we===&quot;movements&quot;&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mt-6 space-y-6&quot;,role:&quot;tabpanel&quot;,children:c.jsx(Bie,{hasSelectedEvent:!!g,readOnly:m,alerts:{error:P0},exportRow:!m&amp;&amp;Aa.length&gt;0?{exportFinanceLoading:Tl,onExportCsv:hu,onExportXlsx:$0}:void 0,table:{rows:Aa,loading:O0},movementKind:lf,onMovementKindChange:cf,transferForm:{fromId:Oa,toId:Pa,amount:df,label:hf,notes:tu,submitting:Mo,error:Fl,treasuryAccounts:ws,onFromChange:uf,onToChange:Ta,onAmountChange:ff,onLabelChange:eu,onNotesChange:Ia,onSubmit:du},adjustmentForm:{accountId:Bl,direction:zl,amount:nu,label:gf,notes:xf,submitting:I0,error:Oo,treasuryAccounts:ws,onAccountChange:ru,onDirectionChange:pf,onAmountChange:iu,onLabelChange:bf,onNotesChange:yf,onSubmit:fu}})}),Fe===&quot;dashboard&quot;&amp;&amp;we===&quot;treasury&quot;&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mt-6 space-y-6&quot;,role:&quot;tabpanel&quot;,children:c.jsx(zie,{hasSelectedEvent:!!g,loading:_f,error:R0,data:vf,readOnly:m,eventId:typeof g==&quot;number&quot;?g:null,eventSlug:Zr?.slug??g,onRequestReload:()=&gt;ie(oe=&gt;oe+1)})}),Fe===&quot;dashboard&quot;&amp;&amp;we===&quot;validation&quot;&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mt-6 space-y-8&quot;,role:&quot;tabpanel&quot;,&quot;aria-label&quot;:&quot;Encaissements et validation des dons&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Encaissements &amp; validation&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:&quot;Files d&#039;attente, indicateurs et soldes — traitement des paiements et des dons.&quot;})]}),T&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-xl p-4 shadow-sm&quot;,role:&quot;alert&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-800 font-medium&quot;,children:T})}),C&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 shadow-sm py-14 px-6 text-center&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-ink-600 text-sm font-medium&quot;,children:&quot;Chargement du tableau de bord finance…&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-400 text-xs mt-2&quot;,children:&quot;Merci de patienter quelques instants.&quot;})]}),!C&amp;&amp;v&amp;&amp;c.jsxs(c.Fragment,{children:[c.jsx(Uie,{kpi:v.kpi}),c.jsx(Hie,{pendingPayments:v.pending_payments,pendingDonations:v.pending_donations,donationsPaymentInProgress:v.donations_payment_in_progress??[],readOnly:m,actionLoading:!!F,onConfirmPayment:oe=&gt;Ro(&quot;confirm&quot;,{type:&quot;payment&quot;,id:oe.id,label:`${oe.registration?.first_name} ${oe.registration?.last_name}`,event_id:oe.registration?.event?.id??null}),onRejectPayment:oe=&gt;Ro(&quot;reject&quot;,{type:&quot;payment&quot;,id:oe.id,label:`${oe.registration?.first_name} ${oe.registration?.last_name}`}),onConfirmDonation:oe=&gt;Ro(&quot;confirm&quot;,{type:&quot;donation&quot;,id:oe.id,label:oe.donor_name||&quot;Don&quot;,event_id:oe.event_id}),onRejectDonation:oe=&gt;Ro(&quot;reject&quot;,{type:&quot;donation&quot;,id:oe.id,label:oe.donor_name||&quot;Don&quot;,event_id:oe.event_id}),onOpenDonationsList:()=&gt;{ar(1),wt(!0)}}),(v.confirmed_payments?.length??0)&gt;0&amp;&amp;c.jsx(Rie,{payments:v.confirmed_payments??[],readOnly:m,exportLoading:Ke,onExportXlsx:Mf,receipt:{error:tt,actionPending:!!Ve,isLoading:Pf,onDownloadReceipt:Vl,onIssueReceipt:lu,onSendReceiptEmail:Do}}),c.jsx(Die,{loading:et,rows:ze??[],registrationsForPayment:v.registrations_for_payment??[],readOnly:m,initPaymentModalOpen:!!U,exportLoading:ke,meta:jt,page:It,perPage:ot,onPageChange:Vt,onPerPageChange:Tt,onInitPayment:Af,onView:La,onExportXlsx:F0,searchQuery:Xt,onSearchChange:$t})]})]}),Fe===&quot;reminders&quot;&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mt-6 space-y-4&quot;,role:&quot;tabpanel&quot;,&quot;aria-label&quot;:&quot;Relance échéances&quot;,children:[g===&quot;&quot;&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;rounded-xl border border-amber-200 bg-amber-50 px-4 py-3 text-sm text-amber-800&quot;,children:&quot;Sélectionnez un événement pour afficher les échéances à relancer.&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-brand-100 bg-brand-50/60 px-4 py-3&quot;,children:[c.jsxs(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-900&quot;,children:[kr?.total??0,&quot; dossier&quot;,(kr?.total??0)&gt;1?&quot;s&quot;:&quot;&quot;,&quot; à relancer&quot;]}),c.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-600 mt-0.5&quot;,children:[&quot;Filtre actif : &quot;,qt===&quot;all&quot;?&quot;Tous statuts échéance&quot;:qt===&quot;late&quot;?&quot;Échéances en retard&quot;:&quot;Échéances ouvertes&quot;,&quot; · &quot;,mt===&quot;up_to&quot;?&quot;Portée : Cumul jusqu’au mois&quot;:&quot;Portée : Mois ciblé&quot;,&quot; · &quot;,Qt===&quot;all&quot;?&quot;Toutes situations globales&quot;:Qt===&quot;late&quot;?&quot;Situation globale : En retard&quot;:Qt===&quot;ahead&quot;?&quot;Situation globale : En avance&quot;:&quot;Situation globale : À jour&quot;]})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-3 items-end rounded-xl border border-gray-200 bg-white p-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Mois d&#039;échéance&quot;}),c.jsx(&quot;input&quot;,{type:&quot;month&quot;,value:_t,onChange:oe=&gt;{Et(oe.target.value),Dt(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Statut échéance&quot;}),c.jsxs(&quot;select&quot;,{value:qt,onChange:oe=&gt;{const Ee=oe.target.value;er(Ee),Dt(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[190px]&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;all&quot;,children:&quot;Tous&quot;}),c.jsx(&quot;option&quot;,{value:&quot;late&quot;,children:&quot;En retard&quot;}),c.jsx(&quot;option&quot;,{value:&quot;open&quot;,children:&quot;Ouvertes (hors retard)&quot;})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Portée temporelle&quot;}),c.jsxs(&quot;select&quot;,{value:mt,onChange:oe=&gt;{const Ee=oe.target.value;Bt(Ee),Dt(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[220px]&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;exact&quot;,children:&quot;Mois ciblé&quot;}),c.jsx(&quot;option&quot;,{value:&quot;up_to&quot;,children:&quot;Cumul jusqu’au mois&quot;})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Situation globale&quot;}),c.jsxs(&quot;select&quot;,{value:Qt,onChange:oe=&gt;{const Ee=oe.target.value;vr(Ee),Dt(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[220px]&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;all&quot;,children:&quot;Toutes&quot;}),c.jsx(&quot;option&quot;,{value:&quot;late&quot;,children:&quot;En retard&quot;}),c.jsx(&quot;option&quot;,{value:&quot;on_track&quot;,children:&quot;À jour&quot;}),c.jsx(&quot;option&quot;,{value:&quot;ahead&quot;,children:&quot;En avance&quot;})]})]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:fr,disabled:zn||Sr.length===0||!g,className:&quot;inline-flex items-center rounded-lg border border-gray-300 bg-white px-3 py-2 text-sm font-medium text-ink-700 hover:bg-gray-50 disabled:opacity-50&quot;,children:zn?&quot;Export...&quot;:&quot;Exporter XLSX&quot;})]}),c.jsxs(&quot;section&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:c.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm min-w-[980px]&quot;,children:[c.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Participant&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Échéance&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Fenêtre&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Montant&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Payé&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Reste&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Statut&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Action&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:Qn?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:8,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;})}):Zi?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:8,className:&quot;px-4 py-8 text-center text-red-600&quot;,children:Zi})}):Sr.length===0?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:8,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucune échéance ouverte pour ce mois.&quot;})}):Sr.map(oe=&gt;c.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/50&quot;,children:[c.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:oe.name}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:oe.email})]}),c.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:[oe.installment_label,&quot; — &quot;,oe.installment_month]}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600&quot;,children:oe.installment_due_window}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right tabular-nums&quot;,children:yr(oe.installment_amount)}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right tabular-nums&quot;,children:yr(oe.installment_paid_amount)}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right tabular-nums font-semibold text-ink-900&quot;,children:yr(oe.installment_remaining_amount)}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:c.jsx(&quot;span&quot;,{className:`px-2 py-0.5 rounded-md text-xs font-medium ${oe.installment_status===&quot;late&quot;?&quot;bg-red-100 text-red-800&quot;:&quot;bg-amber-100 text-amber-800&quot;}`,children:oe.installment_status===&quot;late&quot;?&quot;En retard&quot;:&quot;Ouverte&quot;})}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;La(oe.registration_id),className:&quot;text-xs text-brand-700 hover:underline font-medium&quot;,children:&quot;Voir&quot;})})]},`${oe.registration_id}-${oe.installment_index}`))})]})}),kr&amp;&amp;kr.total&gt;0&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;px-4 py-2 border-t border-gray-100 flex flex-wrap items-center justify-between gap-2&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:kr.last_page&gt;1&amp;&amp;kr.from!=null&amp;&amp;kr.to!=null?`Lignes ${kr.from} à ${kr.to} sur ${kr.total}`:`Total : ${kr.total} ligne${kr.total!==1?&quot;s&quot;:&quot;&quot;}`}),kr.last_page&gt;1&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;text-xs text-ink-500 flex items-center gap-1&quot;,children:[&quot;Par page&quot;,c.jsx(&quot;select&quot;,{value:ln,onChange:oe=&gt;{Qi(Number(oe.target.value)),Dt(1)},className:&quot;text-sm border border-gray-300 rounded px-2 py-0.5&quot;,children:[10,20,50].map(oe=&gt;c.jsx(&quot;option&quot;,{value:oe,children:oe},oe))})]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:Wt&lt;=1,onClick:()=&gt;Dt(oe=&gt;Math.max(1,oe-1)),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50&quot;,children:&quot;Précédent&quot;}),c.jsxs(&quot;span&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Page &quot;,Wt,&quot; / &quot;,kr.last_page]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:Wt&gt;=kr.last_page,onClick:()=&gt;Dt(oe=&gt;oe+1),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50&quot;,children:&quot;Suivant&quot;})]})]})]})]})]})})]}),c.jsx(Iie,{open:Ea,onClose:()=&gt;Il(!1),eventType:js,categories:ji,onCategoriesChanged:()=&gt;{To()},onCreatedSelect:oe=&gt;ki(oe)}),Ge&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;wt(!1),&quot;aria-hidden&quot;:!0}),c.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-5xl sm:w-full relative&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-5&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between gap-3 mb-4 flex-wrap&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Liste des dons&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 shrink-0&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;text-sm font-medium&quot;,title:&quot;Télécharger tous les dons du périmètre affiché (pas seulement la page courante)&quot;,disabled:Re||Ct||!me||me.total===0,onClick:()=&gt;{Of()},children:Re?&quot;Export…&quot;:&quot;Exporter XLSX&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;wt(!1),className:&quot;text-gray-400 hover:text-gray-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:c.jsx(hr,{size:24})})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 overflow-hidden&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:c.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm min-w-[860px]&quot;,children:[c.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;ID&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Donateur&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Montant&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Méthode&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Statut&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Date&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:Ct?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;})}):Pt?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-red-600&quot;,children:Pt})}):gt.length===0?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucun don trouvé.&quot;})}):gt.map(oe=&gt;c.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/50&quot;,children:[c.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:[&quot;#&quot;,oe.id]}),c.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:oe.donor_name||&quot;Anonyme&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:oe.donor_email||&quot;—&quot;})]}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right tabular-nums&quot;,children:En(oe.amount,oe.currency)}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:Qu(oe.method)||&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:oe.status}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600&quot;,children:oe.created_at?new Date(oe.created_at).toLocaleString():&quot;—&quot;})]},oe.id))})]})}),me&amp;&amp;me.total&gt;0&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;px-4 py-2 border-t border-gray-100 flex flex-wrap items-center justify-between gap-2&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:me.from!=null&amp;&amp;me.to!=null?`Lignes ${me.from} à ${me.to} sur ${me.total}`:`Total : ${me.total}`}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;text-xs text-ink-500 flex items-center gap-1&quot;,children:[&quot;Par page&quot;,c.jsx(&quot;select&quot;,{value:or,onChange:oe=&gt;{$r(Number(oe.target.value)),ar(1)},className:&quot;text-sm border border-gray-300 rounded px-2 py-0.5&quot;,children:[10,20,50].map(oe=&gt;c.jsx(&quot;option&quot;,{value:oe,children:oe},oe))})]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:Ht&lt;=1,onClick:()=&gt;ar(oe=&gt;Math.max(1,oe-1)),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50&quot;,children:&quot;Précédent&quot;}),c.jsxs(&quot;span&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Page &quot;,Ht,&quot; / &quot;,me.last_page]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:Ht&gt;=me.last_page,onClick:()=&gt;ar(oe=&gt;oe+1),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50&quot;,children:&quot;Suivant&quot;})]})]})]})]})})]})}),(Rt||Ot||vt)&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;{Rt||(xt(null),ye(null))},&quot;aria-hidden&quot;:!0}),c.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-3xl sm:w-full relative&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-5&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Détail débiteur&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;{Rt||(xt(null),ye(null))},className:&quot;text-gray-400 hover:text-gray-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:c.jsx(hr,{size:24})})]}),Rt&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Chargement du détail…&quot;}),vt&amp;&amp;!Rt&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;rounded-lg border border-red-200 bg-red-50 p-3 text-sm text-red-700&quot;,children:vt}),Ot&amp;&amp;!Rt&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 bg-gray-50 p-4&quot;,children:[c.jsxs(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[Ot.registration.first_name,&quot; &quot;,Ot.registration.last_name]}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600&quot;,children:Ot.registration.email}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mt-1&quot;,children:Ot.registration.event?.name??&quot;—&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 gap-3 sm:grid-cols-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 p-3&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Montant dû&quot;}),c.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:yr(Ot.financial.amount_due)})]}),c.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 p-3&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Déjà payé&quot;}),c.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:yr(Ot.financial.paid)})]}),c.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 p-3&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Reste à payer&quot;}),c.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:yr(Ot.financial.balance)})]}),c.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 p-3&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Situation&quot;}),c.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:Ot.financial.financial_situation_label})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;border-b border-gray-100 px-4 py-2 text-sm font-semibold text-ink-800&quot;,children:[&quot;Échéances (&quot;,Ot.financial.installments_label,&quot;, &quot;,Ot.financial.installments_open_count,&quot; restantes)&quot;]}),c.jsx(&quot;div&quot;,{className:&quot;max-h-72 overflow-y-auto&quot;,children:Ot.financial.installments.map(oe=&gt;c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between gap-3 border-b border-gray-100 px-4 py-2 text-sm last:border-b-0&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:[oe.label,&quot; &quot;,oe.month?`— ${oe.month}`:&quot;&quot;]}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:yr(oe.amount)})]}),c.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[c.jsx(&quot;p&quot;,{className:`text-xs font-semibold ${oe.paid?&quot;text-green-700&quot;:&quot;text-amber-700&quot;}`,children:oe.paid?&quot;Payée&quot;:&quot;Ouverte&quot;}),oe.is_late&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-[11px] text-red-700&quot;,children:&quot;En retard&quot;}),oe.is_ahead&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-[11px] text-blue-700&quot;,children:&quot;Payée en avance&quot;})]})]},oe.index))})]})]})]})})]})}),Ji&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;!dn&amp;&amp;es(null),&quot;aria-hidden&quot;:!0}),c.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-md sm:w-full relative&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Modifier la ligne de budget&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!dn&amp;&amp;es(null),className:&quot;text-gray-400 hover:text-gray-600 p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:c.jsx(hr,{size:24})})]}),c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-4&quot;,children:[&quot;Catégorie : &quot;,Ji.category_name]}),Co&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:Co}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Libellé (optionnel)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:Bs,onChange:oe=&gt;ko(oe.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,placeholder:&quot;Ex. Billets orateurs&quot;,disabled:!!dn})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant prévu (XOF) *&quot;}),c.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:Jd||&quot;&quot;,onChange:oe=&gt;ef(parseInt(oe.target.value,10)||0),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:!!dn})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant réalisé (XOF)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:Al||&quot;&quot;,onChange:oe=&gt;No(parseInt(oe.target.value,10)||0),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:!!dn}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-700 mt-1&quot;,children:&quot;Modifier le réalisé manuellement peut désynchroniser les données avec les paiements et dépenses enregistrés.&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Ordre d&#039;affichage&quot;}),c.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:Ml,onChange:oe=&gt;Kc(parseInt(oe.target.value,10)||0),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:!!dn}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:&quot;Plus le nombre est petit, plus la ligne s&#039;affiche en haut.&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2 pt-2&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:()=&gt;es(null),disabled:!!dn,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:B0,disabled:!!dn,children:dn?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})]})}),W&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;!F&amp;&amp;K(null),&quot;aria-hidden&quot;:!0}),c.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full relative&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[W.action===&quot;confirm&quot;?W.target.type===&quot;payment&quot;?&quot;Confirmer le paiement&quot;:&quot;Confirmer le don&quot;:W.target.type===&quot;payment&quot;?&quot;Rejeter le paiement&quot;:&quot;Rejeter le don&quot;,&quot; — &quot;,c.jsx(&quot;span&quot;,{className:&quot;font-normal text-ink-600&quot;,children:W.target.label})]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!F&amp;&amp;K(null),className:&quot;text-gray-400 hover:text-gray-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:c.jsx(hr,{size:24})})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[S&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:S})}),W.action===&quot;confirm&quot;&amp;&amp;(W.target.type===&quot;payment&quot;||W.target.type===&quot;donation&quot;)&amp;&amp;c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-2&quot;,children:W.target.type===&quot;payment&quot;?c.jsxs(c.Fragment,{children:[&quot;Compte de trésorerie impacté &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}):c.jsx(c.Fragment,{children:&quot;Compte de trésorerie (optionnel — ventilation dans les soldes)&quot;})}),c.jsxs(&quot;select&quot;,{value:M,onChange:oe=&gt;R(oe.target.value===&quot;&quot;?&quot;&quot;:Number(oe.target.value)),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,disabled:!!F,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir un compte -&quot;}),B.filter(oe=&gt;oe.is_active).map(oe=&gt;c.jsxs(&quot;option&quot;,{value:oe.id,children:[oe.name,&quot; &quot;,oe.identifier?`(${oe.identifier})`:&quot;&quot;,&quot; — &quot;,oe.context_display]},oe.id))]}),B.length===0&amp;&amp;!F&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-600 mt-1&quot;,children:&quot;Chargement des comptes…&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Note de révision (optionnel)&quot;}),c.jsx(&quot;textarea&quot;,{value:$,onChange:oe=&gt;P(oe.target.value),rows:2,maxLength:2e3,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,placeholder:&quot;Ex. Vérifié, reçu bancaire conforme.&quot;,disabled:!!F})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Référence transaction (optionnel)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:D,onChange:oe=&gt;E(oe.target.value),maxLength:255,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,placeholder:&quot;Ex. TRX-123456, virement du 28/01&quot;,disabled:!!F})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Preuve (image ou scan) (optionnel)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;.jpg,.jpeg,.png,.gif,.webp,.pdf&quot;,onChange:oe=&gt;k(oe.target.files?.[0]??null),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 text-sm&quot;,disabled:!!F}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-400 mt-1&quot;,children:&quot;JPG, PNG, GIF, WebP ou PDF, max 5 Mo&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:()=&gt;K(null),disabled:!!F,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Ef,disabled:!!F,children:F?&quot;En cours...&quot;:W.action===&quot;confirm&quot;?&quot;Valider&quot;:&quot;Rejeter&quot;})]})]})]})})]})}),U&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;!xe&amp;&amp;ee(null),&quot;aria-hidden&quot;:!0}),c.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full relative&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Initier un paiement — &quot;,U.first_name,&quot; &quot;,U.last_name]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!xe&amp;&amp;ee(null),className:&quot;text-gray-400 hover:text-gray-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:c.jsx(hr,{size:24})})]}),c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-4&quot;,children:[&quot;Solde restant : &quot;,c.jsx(&quot;strong&quot;,{className:&quot;tabular-nums whitespace-nowrap&quot;,children:yr(U.balance)})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[ue&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:ue})}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Compte de trésorerie &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;select&quot;,{value:ce===&quot;&quot;?&quot;&quot;:ce,onChange:oe=&gt;Ce(oe.target.value===&quot;&quot;?&quot;&quot;:Number(oe.target.value)),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:!!xe,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir un compte -&quot;}),Me.filter(oe=&gt;oe.is_active).map(oe=&gt;c.jsxs(&quot;option&quot;,{value:oe.id,children:[oe.name,&quot; &quot;,oe.identifier?`(${oe.identifier})`:&quot;&quot;,&quot; — &quot;,oe.context_display]},oe.id))]}),Me.length===0&amp;&amp;!xe&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-600 mt-1&quot;,children:&quot;Chargement des comptes…&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Montant &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),(U.installment_due_items?.length??0)&gt;0&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mb-2 rounded-lg border border-gray-200 bg-gray-50 p-3&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;mb-2 flex items-center justify-between gap-2&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-ink-700&quot;,children:&quot;Échéances encore dues&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[c.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;text-xs text-brand-700 hover:underline&quot;,onClick:ou,disabled:!!xe,children:&quot;Tout sélectionner&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;text-xs text-ink-500 hover:underline&quot;,onClick:D0,disabled:!!xe,children:&quot;Effacer&quot;})]})]}),c.jsx(&quot;div&quot;,{className:&quot;max-h-28 overflow-y-auto space-y-1.5 pr-1&quot;,children:U.installment_due_items.map(oe=&gt;{const Ee=Te.includes(oe.index);return c.jsxs(&quot;label&quot;,{className:&quot;flex items-center justify-between gap-2 text-xs&quot;,children:[c.jsxs(&quot;span&quot;,{className:&quot;inline-flex items-center gap-2 text-ink-700&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:Ee,onChange:()=&gt;au(oe.index),disabled:!!xe}),oe.label,oe.month?` — ${oe.month}`:&quot;&quot;]}),c.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-800&quot;,children:yr(oe.amount_due_remaining)})]},oe.index)})}),c.jsxs(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center justify-between gap-2&quot;,children:[c.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Total sélectionné : &quot;,c.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:yr(Ei)})]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;text-xs rounded border border-gray-300 bg-white px-2 py-1 text-ink-700 hover:bg-gray-50 disabled:opacity-50&quot;,onClick:()=&gt;I(String(Ei)),disabled:!!xe||Ei&lt;=0,children:&quot;Utiliser la sélection&quot;})]})]}),c.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:1,max:U.balance,value:z,onChange:oe=&gt;I(oe.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:!!xe})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Méthode &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsxs(&quot;select&quot;,{value:X,onChange:oe=&gt;re(oe.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:!!xe,children:[c.jsx(&quot;option&quot;,{value:&quot;orange_money&quot;,children:&quot;Orange Money&quot;}),c.jsx(&quot;option&quot;,{value:&quot;moov_money&quot;,children:&quot;Moov Money&quot;}),c.jsx(&quot;option&quot;,{value:&quot;ria&quot;,children:&quot;RIA&quot;}),c.jsx(&quot;option&quot;,{value:&quot;western_union&quot;,children:&quot;WESTERN UNION&quot;}),c.jsx(&quot;option&quot;,{value:&quot;moneygram&quot;,children:&quot;MONEYGRAM&quot;}),c.jsx(&quot;option&quot;,{value:&quot;cash&quot;,children:&quot;ESPÈCE&quot;}),c.jsx(&quot;option&quot;,{value:&quot;bank_transfer&quot;,children:&quot;VIREMENT BANCAIRE&quot;})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Date du paiement &quot;,c.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),c.jsx(&quot;input&quot;,{type:&quot;datetime-local&quot;,value:ne,onChange:oe=&gt;Q(oe.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:!!xe})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Référence transaction&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:te,onChange:oe=&gt;de(oe.target.value),maxLength:255,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,placeholder:&quot;Ex. TRX-123456, virement du 28/01&quot;,disabled:!!xe}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-400 mt-1&quot;,children:&quot;Référence et/ou preuve requises&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Preuve (image ou scan)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;.jpg,.jpeg,.png,.gif,.webp,.pdf&quot;,onChange:oe=&gt;he(oe.target.files?.[0]??null),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 text-sm&quot;,disabled:!!xe}),c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-400 mt-1&quot;,children:&quot;JPG, PNG, GIF, WebP ou PDF, max 5 Mo&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Notes (optionnel)&quot;}),c.jsx(&quot;textarea&quot;,{value:le,onChange:oe=&gt;se(oe.target.value),rows:2,maxLength:2e3,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,placeholder:&quot;Commentaire interne&quot;,disabled:!!xe})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:()=&gt;ee(null),disabled:!!xe,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:L0,disabled:!!xe||ce===&quot;&quot;,children:xe?&quot;Enregistrement...&quot;:&quot;Enregistrer et confirmer le paiement&quot;})]})]})]})})]})})]})}function Zk({events:e,accountTypes:r,currencies:t,account:n=null,eventFilter:o=&quot;&quot;,onClose:i,onSuccess:a}){const u=!!n,[l,s]=L.useState(!1),[d,f]=L.useState(null),[h,m]=L.useState(&quot;&quot;),[p,b]=L.useState(&quot;&quot;),[g,y]=L.useState(&quot;&quot;),[v,_]=L.useState(&quot;XOF&quot;),[C,O]=L.useState(&quot;&quot;),[T,V]=L.useState(!0);L.useEffect(()=&gt;{n?(m(n.name),b(n.type),y(n.identifier),_(n.currency),O(n.event_id??&quot;&quot;),V(n.is_active)):(m(&quot;&quot;),b(r[0]??&quot;&quot;),y(&quot;&quot;),_(&quot;XOF&quot;),O(&quot;&quot;),V(!0))},[n,r]);const F=async H=&gt;{H.preventDefault(),H.stopPropagation(),f(null),s(!0);try{if(u)await na.update(n.id,{name:h,type:p,identifier:g,currency:v,event_id:C===&quot;&quot;?null:C,is_active:T}),a();else{const W=await na.create({name:h,type:p,identifier:g,currency:v,event_id:C===&quot;&quot;?null:C,is_active:T}),K=W?.data??W;if(!K||typeof K!=&quot;object&quot;||!(&quot;id&quot;in K)){f(&quot;Le serveur n&#039;a pas retourné le compte créé. Vérifiez l’onglet Réseau (POST sur treasury-accounts).&quot;),s(!1);return}try{const $=await na.list({event_id:o});if(!(Array.isArray($)?$:$?.data??[]).some(E=&gt;E.id===K.id)){f(&quot;Le compte a été créé côté serveur mais n’apparaît pas dans la liste. Vérifiez que la table treasury_accounts existe (php artisan migrate) et que l’API renvoie bien la liste (GET /api/admin/treasury-accounts).&quot;),s(!1);return}}catch{f(&quot;Impossible de vérifier la liste après création.&quot;),s(!1);return}a(K)}}catch(W){const K=W,$=K?.data?.message??K?.message??(typeof W==&quot;object&quot;&amp;&amp;W!==null&amp;&amp;&quot;message&quot;in W?String(W.message):null)??(u?&quot;Erreur lors de la mise à jour.&quot;:&quot;Erreur lors de la création.&quot;),P=K?.data?.errors&amp;&amp;typeof K.data.errors==&quot;object&quot;?Object.values(K.data.errors).flat().filter(Boolean).join(&quot;, &quot;):&quot;&quot;,D=P?`${$} — ${P}`:$;f(D)}finally{s(!1)}};return c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full max-h-[90vh] overflow-y-auto&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:u?&quot;Modifier le compte&quot;:&quot;Nouveau compte de trésorerie&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:i,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:c.jsx(hr,{size:20})})]}),c.jsxs(&quot;form&quot;,{onSubmit:H=&gt;(H.preventDefault(),H.stopPropagation(),F(H),!1),className:&quot;p-4 space-y-4&quot;,children:[d&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,role:&quot;alert&quot;,children:d}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:h,onChange:H=&gt;m(H.target.value),required:!0,placeholder:&quot;ex: 5211-SBB&quot;,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Type&quot;}),c.jsx(&quot;select&quot;,{value:p,onChange:H=&gt;b(H.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:r.map(H=&gt;c.jsx(&quot;option&quot;,{value:H,children:H},H))})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Identifiant&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:g,onChange:H=&gt;y(H.target.value),required:!0,placeholder:&quot;ex: 5211&quot;,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Devise&quot;}),c.jsx(&quot;select&quot;,{value:v,onChange:H=&gt;_(H.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:t.map(H=&gt;c.jsx(&quot;option&quot;,{value:H,children:H},H))})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Contexte&quot;}),c.jsxs(&quot;select&quot;,{value:C,onChange:H=&gt;O(H.target.value===&quot;&quot;?&quot;&quot;:Number(H.target.value)),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Global&quot;}),e.map(H=&gt;c.jsx(&quot;option&quot;,{value:H.id,children:H.name},H.id))]})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,id:&quot;is_active&quot;,checked:T,onChange:H=&gt;V(H.target.checked),className:&quot;rounded border-gray-300&quot;}),c.jsx(&quot;label&quot;,{htmlFor:&quot;is_active&quot;,className:&quot;text-sm font-medium text-ink-700&quot;,children:&quot;Compte actif&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 pt-2&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:i,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,disabled:l,className:&quot;flex-1&quot;,onClick:H=&gt;{H.preventDefault(),H.stopPropagation(),F(H)},children:l?&quot;Enregistrement...&quot;:u?&quot;Enregistrer&quot;:&quot;Créer&quot;})]})]})]})})}function Xie({account:e,onClose:r,onDeleted:t}){const[n,o]=L.useState(!1),[i,a]=L.useState(null),u=async()=&gt;{a(null),o(!0);try{await na.delete(e.id),t()}catch(l){a(l.data?.message??&quot;Erreur lors de la suppression.&quot;)}finally{o(!1)}};return c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Supprimer le compte&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:c.jsx(hr,{size:20})})]}),c.jsxs(&quot;div&quot;,{className:&quot;p-4&quot;,children:[i&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:i}),c.jsxs(&quot;p&quot;,{className:&quot;text-ink-700 mb-4&quot;,children:[&quot;Êtes-vous sûr de vouloir supprimer le compte &quot;,c.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.identifier,&quot;) ? Cette action est irréversible.&quot;]}),c.jsxs(&quot;div&quot;,{className:&quot;flex gap-2&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:u,disabled:n,className:&quot;flex-1 bg-red-600 hover:bg-red-700 border-red-700&quot;,children:n?&quot;Suppression...&quot;:&quot;Supprimer&quot;})]})]})]})})}const Gie=[{value:&quot;revenue&quot;,label:&quot;Recettes&quot;},{value:&quot;expense&quot;,label:&quot;Dépenses&quot;}],Yie=[{value:&quot;&quot;,label:&quot;Tous (commun)&quot;},{value:&quot;summit&quot;,label:&quot;Sommet&quot;},{value:&quot;seminar&quot;,label:&quot;Séminaire&quot;},{value:&quot;other&quot;,label:&quot;Autre&quot;}];function Qk({category:e=null,onClose:r,onSuccess:t}){const n=!!e,[o,i]=L.useState(!1),[a,u]=L.useState(null),[l,s]=L.useState(&quot;&quot;),[d,f]=L.useState(&quot;&quot;),[h,m]=L.useState(&quot;expense&quot;),[p,b]=L.useState(&quot;&quot;),[g,y]=L.useState(0);L.useEffect(()=&gt;{e?(s(e.name),f(e.code??&quot;&quot;),m(e.type??&quot;expense&quot;),b(e.event_type??&quot;&quot;),y(e.sort_order??0)):(s(&quot;&quot;),f(&quot;&quot;),m(&quot;expense&quot;),b(&quot;&quot;),y(0))},[e]);const v=async _=&gt;{_.preventDefault(),_.stopPropagation(),u(null),i(!0);try{const C={name:l.trim(),code:d.trim()||null,type:h,event_type:p===&quot;&quot;?null:p,sort_order:g};if(n)await lo.update(e.id,C),t();else{const O=await lo.create(C);t(O)}}catch(C){const O=C instanceof Kt?C.data?.message:&quot;Erreur lors de l&#039;enregistrement.&quot;;u(O??&quot;Erreur&quot;)}finally{i(!1)}};return c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,onClick:r,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-lg max-w-md w-full max-h-[90vh] overflow-y-auto&quot;,onClick:_=&gt;_.stopPropagation(),children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:n?&quot;Modifier la catégorie&quot;:&quot;Nouvelle catégorie budget&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 text-ink-500 hover:text-ink-700 rounded&quot;,children:c.jsx(hr,{size:20})})]}),c.jsxs(&quot;form&quot;,{onSubmit:v,className:&quot;p-4 space-y-4&quot;,children:[a&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:a}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;bc-name&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom *&quot;}),c.jsx(&quot;input&quot;,{id:&quot;bc-name&quot;,type:&quot;text&quot;,value:l,onChange:_=&gt;s(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,required:!0})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;bc-code&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Code (optionnel)&quot;}),c.jsx(&quot;input&quot;,{id:&quot;bc-code&quot;,type:&quot;text&quot;,value:d,onChange:_=&gt;f(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,maxLength:50})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;bc-category-type&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Type *&quot;}),c.jsx(&quot;select&quot;,{id:&quot;bc-category-type&quot;,value:h,onChange:_=&gt;m(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,children:Gie.map(_=&gt;c.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value))})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;bc-event-type&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Type d&#039;événement&quot;}),c.jsx(&quot;select&quot;,{id:&quot;bc-event-type&quot;,value:p,onChange:_=&gt;b(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,children:Yie.map(_=&gt;c.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value||&quot;all&quot;))})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;bc-sort&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Ordre d&#039;affichage&quot;}),c.jsx(&quot;input&quot;,{id:&quot;bc-sort&quot;,type:&quot;number&quot;,min:0,value:g,onChange:_=&gt;y(parseInt(_.target.value,10)||0),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2 pt-2&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:r,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:o,children:o?&quot;Enregistrement...&quot;:n?&quot;Enregistrer&quot;:&quot;Créer&quot;})]})]})]})})}function Zie({category:e,onClose:r,onDeleted:t}){const[n,o]=L.useState(!1),[i,a]=L.useState(null),u=async()=&gt;{a(null),o(!0);try{await lo.delete(e.id),t()}catch(l){const s=l instanceof Kt?l.data?.message:&quot;Erreur lors de la suppression.&quot;;a(s??&quot;Erreur&quot;)}finally{o(!1)}};return c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,onClick:r,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-lg max-w-md w-full p-4&quot;,onClick:l=&gt;l.stopPropagation(),children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Supprimer la catégorie&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 text-ink-500 hover:text-ink-700 rounded&quot;,children:c.jsx(hr,{size:20})})]}),c.jsxs(&quot;p&quot;,{className:&quot;text-ink-700 mb-4&quot;,children:[&quot;Êtes-vous sûr de vouloir supprimer la catégorie « &quot;,e.name,&quot; » ? Les lignes de budget qui l&#039;utilisent ne seront pas supprimées mais pourront ne plus afficher le nom de catégorie.&quot;]}),i&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:i}),c.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:r,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:u,disabled:n,className:&quot;bg-red-600 hover:bg-red-700&quot;,children:n?&quot;Suppression...&quot;:&quot;Supprimer&quot;})]})]})})}function Qie({user:e,openMenuId:r,setOpenMenuId:t,canUpdate:n,canDelete:o,isCurrentUser:i,sendingActivation:a,reactivatingId:u,onEdit:l,onResetPassword:s,onSendActivation:d,onReactivate:f,onDelete:h}){const m=[];return n&amp;&amp;e.is_active!==!1&amp;&amp;m.push({id:&quot;reset-password&quot;,label:&quot;Réinitialiser le mot de passe&quot;,onSelect:s},{id:&quot;send-activation&quot;,label:a===e.id?&quot;Envoi…&quot;:&quot;Envoyer le lien d’activation&quot;,onSelect:d,disabled:a===e.id,title:&quot;Envoyer l’email avec le lien d’activation du compte&quot;}),n&amp;&amp;!i&amp;&amp;e.is_active===!1&amp;&amp;m.push({id:&quot;reactivate&quot;,label:&quot;Réactiver le compte&quot;,onSelect:f,disabled:u===e.id}),o&amp;&amp;!i&amp;&amp;m.push({id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,title:e.has_financial_activity?&quot;Compte lié à de l’activité financière — désactivation plutôt que suppression&quot;:&quot;Supprimer l’utilisateur&quot;,onSelect:h}),c.jsx(po,{rowId:e.id,openMenuId:r,setOpenMenuId:t,onEdit:n&amp;&amp;e.is_active!==!1?l:void 0,editLabel:&quot;Modifier&quot;,menuItems:m})}function Jie({onClose:e,onSuccess:r}){const[t,n]=L.useState(!1),[o,i]=L.useState(null),[a,u]=L.useState({}),[l,s]=L.useState(&quot;&quot;),[d,f]=L.useState(&quot;&quot;),[h,m]=L.useState(By[0]),[p,b]=L.useState(&quot;&quot;),[g,y]=L.useState(&quot;&quot;),v=async _=&gt;{_.preventDefault(),i(null),u({}),n(!0);try{await mo.create({name:l,email:d,role:h,...p?{password:p,password_confirmation:g}:{}}),r()}catch(C){const O=C;if(i(O.data?.message??&quot;Erreur lors de la création.&quot;),O.data?.errors){const T={};for(const[V,F]of Object.entries(O.data.errors))T[V]=Array.isArray(F)?F[0]:String(F);u(T)}}finally{n(!1)}};return c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full max-h-[90vh] overflow-y-auto&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Créer un utilisateur&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:e,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:c.jsx(hr,{size:20})})]}),c.jsxs(&quot;form&quot;,{onSubmit:v,className:&quot;p-4 space-y-4&quot;,children:[o&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:o}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l,onChange:_=&gt;s(_.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),a.name&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.name})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),c.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d,onChange:_=&gt;f(_.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),a.email&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.email})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Rôle&quot;}),c.jsx(&quot;select&quot;,{value:h,onChange:_=&gt;m(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:By.map(_=&gt;c.jsx(&quot;option&quot;,{value:_,children:jm(_)},_))})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Mot de passe (optionnel — sinon envoyer un lien d&#039;activation après création)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:p,onChange:_=&gt;b(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,autoComplete:&quot;new-password&quot;}),p&amp;&amp;c.jsxs(c.Fragment,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mt-2 mb-1&quot;,children:&quot;Confirmer le mot de passe&quot;}),c.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:g,onChange:_=&gt;y(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,autoComplete:&quot;new-password&quot;}),a.password&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.password})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end pt-4&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:e,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:t,children:t?&quot;Création...&quot;:&quot;Créer&quot;})]})]})]})})}function ese({user:e,onClose:r,onSuccess:t,onSendActivation:n,sendingActivation:o}){const[i,a]=L.useState(!1),[u,l]=L.useState(null),[s,d]=L.useState({}),[f,h]=L.useState(e.name),[m,p]=L.useState(e.email),b=e.role??e.roles?.[0]??&quot;&quot;,[g,y]=L.useState(L4(b)||rm[0]);L.useEffect(()=&gt;{h(e.name),p(e.email);const O=e.role??e.roles?.[0]??&quot;&quot;;y(L4(O)||rm[0])},[e]);const v=async O=&gt;{O.preventDefault(),l(null),d({}),a(!0);try{await mo.update(e.id,{name:f,email:m,role:g}),t()}catch(T){const V=T;if(l(V.data?.message??&quot;Erreur lors de la mise à jour.&quot;),V.data?.errors){const F={};for(const[H,W]of Object.entries(V.data.errors))F[H]=Array.isArray(W)?W[0]:String(W);d(F)}}finally{a(!1)}},_=!e.is_only_super_admin,C=[...rm];return c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full max-h-[90vh] overflow-y-auto&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Modifier l&#039;utilisateur&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:c.jsx(hr,{size:20})})]}),c.jsxs(&quot;form&quot;,{onSubmit:v,className:&quot;p-4 space-y-4&quot;,children:[u&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:u}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:f,onChange:O=&gt;h(O.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),s.name&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:s.name})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),c.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:m,onChange:O=&gt;p(O.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),s.email&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:s.email})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Rôle&quot;}),c.jsx(&quot;select&quot;,{value:g,onChange:O=&gt;y(O.target.value),disabled:!_,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm disabled:opacity-60&quot;,children:C.map(O=&gt;c.jsx(&quot;option&quot;,{value:O,children:jm(O)},O))}),e.is_only_super_admin&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-amber-600&quot;,children:&quot;Il doit rester au moins un Super Admin.&quot;}),s.role&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:s.role})]}),c.jsxs(&quot;div&quot;,{className:&quot;border-t border-gray-200 pt-4&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-2&quot;,children:&quot;Mot de passe : envoyez un lien d&#039;activation à l&#039;utilisateur.&quot;}),c.jsxs(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:n,disabled:o,className:&quot;flex items-center gap-2&quot;,children:[c.jsx(so,{size:16}),o?&quot;Envoi...&quot;:&quot;Envoyer lien d&#039;activation&quot;]})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end pt-4&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:i,children:i?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})}function tse({user:e,onClose:r,onSuccess:t,isCurrentUser:n}){const[o,i]=L.useState(!1),[a,u]=L.useState(!1),[l,s]=L.useState(null),d=e.has_financial_activity===!0,f=async()=&gt;{if(!n){s(null),i(!0);try{await mo.delete(e.id),t()}catch(m){const p=m;s(p.data?.message??p.data?.errors?.user?.[0]??&quot;Erreur lors de la suppression.&quot;)}finally{i(!1)}}},h=async()=&gt;{if(!n){s(null),u(!0);try{await mo.setDeactivated(e.id,!0),t()}catch(m){const p=m;s(p.data?.message??p.data?.errors?.user?.[0]??&quot;Erreur lors de la désactivation.&quot;)}finally{u(!1)}}};return c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full p-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:d?&quot;Désactiver le compte&quot;:&quot;Supprimer l&#039;utilisateur&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:c.jsx(hr,{size:20})})]}),n?c.jsx(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:&quot;Vous ne pouvez pas supprimer votre propre compte.&quot;}):d?c.jsxs(c.Fragment,{children:[c.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:[&quot;Cet utilisateur ne peut pas être supprimé : des transactions financières (paiements ou contributions) sont liées à son compte. Vous pouvez &quot;,c.jsx(&quot;strong&quot;,{children:&quot;désactiver le compte&quot;}),&quot; : l&#039;utilisateur ne pourra plus se connecter, mais les données restent conservées.&quot;]}),c.jsxs(&quot;p&quot;,{className:&quot;text-ink-500 text-sm mb-4&quot;,children:[&quot;Utilisateur : &quot;,c.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;)&quot;]}),l&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:l}),c.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:h,disabled:a,className:&quot;bg-amber-600 hover:bg-amber-700&quot;,children:a?&quot;Désactivation...&quot;:&quot;Désactiver le compte&quot;})]})]}):c.jsxs(c.Fragment,{children:[c.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:[&quot;Êtes-vous sûr de vouloir supprimer l&#039;utilisateur &quot;,c.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;) ? Cette action est irréversible.&quot;]}),l&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:l}),c.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:f,disabled:o,className:&quot;bg-red-600 hover:bg-red-700&quot;,children:o?&quot;Suppression...&quot;:&quot;Supprimer&quot;})]})]})]})})}function rse({user:e,onClose:r,onSuccess:t}){const[n,o]=L.useState(&quot;&quot;),[i,a]=L.useState(&quot;&quot;),[u,l]=L.useState(!1),[s,d]=L.useState(null),[f,h]=L.useState({}),m=async p=&gt;{if(p.preventDefault(),d(null),h({}),n.length&lt;8){h({password:&quot;Le mot de passe doit contenir au moins 8 caractères.&quot;});return}if(n!==i){h({password_confirmation:&quot;Les deux mots de passe ne correspondent pas.&quot;});return}l(!0);try{await mo.resetPassword(e.id,{password:n,password_confirmation:i}),t()}catch(b){const g=b;if(d(g.data?.message??&quot;Erreur lors de la réinitialisation.&quot;),g.data?.errors){const y={};for(const[v,_]of Object.entries(g.data.errors))y[v]=Array.isArray(_)?_[0]:String(_);h(y)}}finally{l(!1)}};return c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full p-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Réinitialiser le mot de passe&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:c.jsx(hr,{size:20})})]}),c.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 text-sm mb-4&quot;,children:[&quot;Définir un nouveau mot de passe pour &quot;,c.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;). L&#039;utilisateur devra le changer à sa première connexion.&quot;]}),c.jsxs(&quot;form&quot;,{onSubmit:m,children:[s&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:s}),c.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;reset-password&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nouveau mot de passe&quot;}),c.jsx(&quot;input&quot;,{id:&quot;reset-password&quot;,type:&quot;password&quot;,value:n,onChange:p=&gt;o(p.target.value),minLength:8,autoComplete:&quot;new-password&quot;,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:&quot;Min. 8 caractères&quot;}),f.password&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:f.password})]}),c.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;reset-password-confirm&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Confirmer le mot de passe&quot;}),c.jsx(&quot;input&quot;,{id:&quot;reset-password-confirm&quot;,type:&quot;password&quot;,value:i,onChange:p=&gt;a(p.target.value),autoComplete:&quot;new-password&quot;,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:&quot;Confirmer&quot;}),f.password_confirmation&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:f.password_confirmation})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:u,children:u?&quot;En cours...&quot;:&quot;Réinitialiser&quot;})]})]})]})})}function nse(){const{can:e,user:r}=Ls(),[t,n]=L.useState(1),[o]=L.useState(20),[i,a]=L.useState(&quot;&quot;),[u,l]=L.useState(&quot;&quot;),[s,d]=L.useState(!1),[f,h]=L.useState(null),[m,p]=L.useState(null),[b,g]=L.useState(null),[y,v]=L.useState(null),[_,C]=L.useState(null),[O,T]=L.useState(null),[V,F]=L.useState(null),H=async j=&gt;{T(j.id);try{await mo.setDeactivated(j.id,!1),P()}finally{T(null)}},{data:W,loading:K,error:$,refetch:P}=$F({page:t,per_page:o,role:i||void 0,q:u||void 0},!0),D=async j=&gt;{v(j.id),C(null);try{await mo.sendActivation(j.id),P()}catch(k){const S=k;C(S.data?.errors?.user?.[0]??S.data?.message??&quot;Erreur lors de l&#039;envoi.&quot;)}finally{v(null)}},E=j=&gt;r&amp;&amp;j.id===(typeof r.id==&quot;number&quot;?r.id:Number(r.id));return c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{className:&quot;mb-8 flex flex-wrap items-center justify-between gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 mb-1 flex items-center gap-2&quot;,children:[c.jsx(wm,{size:22,className:&quot;text-brand-700&quot;}),&quot;Gestion des utilisateurs&quot;]}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 text-sm&quot;,children:&quot;Créez et gérez les comptes staff (Super Admin et commissions).&quot;})]}),e(&quot;users.create&quot;)&amp;&amp;c.jsxs(Le,{variant:&quot;primary&quot;,onClick:()=&gt;d(!0),className:&quot;flex items-center gap-2&quot;,children:[c.jsx(Dy,{size:18}),&quot;Créer un utilisateur&quot;]})]}),_&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:_}),c.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap gap-4&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;search&quot;,placeholder:&quot;Rechercher (nom, email)...&quot;,value:u,onChange:j=&gt;l(j.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm w-64&quot;}),c.jsxs(&quot;select&quot;,{value:i,onChange:j=&gt;a(j.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les rôles&quot;}),CF.map(j=&gt;c.jsx(&quot;option&quot;,{value:j,children:jm(j)},j))]})]}),$&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg&quot;,children:c.jsx(&quot;p&quot;,{className:&quot;text-red-700&quot;,children:$.data?.message??&quot;Erreur lors du chargement.&quot;})}),K&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;py-12 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;}),!K&amp;&amp;W&amp;&amp;c.jsxs(c.Fragment,{children:[c.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden shadow-soft&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:c.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[c.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:&quot;px-3 py-2 text-xs font-semibold text-ink-900 uppercase tracking-wide&quot;,children:&quot;Nom&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-3 py-2 text-xs font-semibold text-ink-900 uppercase tracking-wide&quot;,children:&quot;Email&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-3 py-2 text-xs font-semibold text-ink-900 uppercase tracking-wide&quot;,children:&quot;Rôle&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-3 py-2 text-xs font-semibold text-ink-900 uppercase tracking-wide w-24&quot;,children:&quot;Vérifié&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-3 py-2 text-xs font-semibold text-ink-900 uppercase tracking-wide w-24&quot;,children:&quot;Créé le&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-3 py-2 text-xs font-semibold text-ink-900 uppercase tracking-wide w-20&quot;,children:&quot;Statut&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-3 py-2 text-xs font-semibold text-ink-900 uppercase tracking-wide w-28&quot;,children:&quot;Actions&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:W.data.length===0?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:7,className:&quot;px-3 py-6 text-center text-sm text-ink-500&quot;,children:&quot;Aucun utilisateur trouvé.&quot;})}):W.data.map(j=&gt;c.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[c.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-900 whitespace-nowrap truncate&quot;,title:j.name,children:j.name}),c.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-700 whitespace-nowrap truncate&quot;,title:j.email,children:j.email}),c.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-700 whitespace-nowrap truncate&quot;,children:jm(j.role??j.roles?.[0]??&quot;&quot;)||&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm whitespace-nowrap&quot;,children:j.email_verified_at?c.jsx(&quot;span&quot;,{className:&quot;text-green-600&quot;,children:&quot;Oui&quot;}):c.jsx(&quot;span&quot;,{className:&quot;text-amber-600&quot;,children:&quot;Non&quot;})}),c.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-500 whitespace-nowrap&quot;,children:j.created_at?new Date(j.created_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm whitespace-nowrap&quot;,children:j.is_active===!1?c.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-amber-100 text-amber-800&quot;,children:&quot;Désactivé&quot;}):null}),c.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 whitespace-nowrap text-right&quot;,children:c.jsx(Qie,{user:j,openMenuId:V,setOpenMenuId:F,canUpdate:!!e(&quot;users.update&quot;),canDelete:!!e(&quot;users.delete&quot;),isCurrentUser:!!E(j),sendingActivation:y,reactivatingId:O,onEdit:()=&gt;h(j),onResetPassword:()=&gt;g(j),onSendActivation:()=&gt;D(j),onReactivate:()=&gt;H(j),onDelete:()=&gt;p(j)})})]},j.id))})]})})}),W.meta.last_page&gt;1&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mt-6 flex items-center justify-between&quot;,children:[c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Page &quot;,W.meta.current_page,&quot; sur &quot;,W.meta.last_page,&quot; (&quot;,W.meta.total,&quot; utilisateurs)&quot;]}),c.jsxs(&quot;div&quot;,{className:&quot;flex gap-2&quot;,children:[c.jsx(Le,{variant:&quot;outline&quot;,disabled:W.meta.current_page&lt;=1,onClick:()=&gt;n(j=&gt;j-1),className:&quot;text-sm py-2&quot;,children:&quot;Précédent&quot;}),c.jsx(Le,{variant:&quot;outline&quot;,disabled:W.meta.current_page&gt;=W.meta.last_page,onClick:()=&gt;n(j=&gt;j+1),className:&quot;text-sm py-2&quot;,children:&quot;Suivant&quot;})]})]})]}),s&amp;&amp;e(&quot;users.create&quot;)&amp;&amp;c.jsx(Jie,{onClose:()=&gt;d(!1),onSuccess:()=&gt;{d(!1),P()}}),f&amp;&amp;e(&quot;users.update&quot;)&amp;&amp;c.jsx(ese,{user:f,onClose:()=&gt;h(null),onSuccess:()=&gt;{h(null),P()},onSendActivation:()=&gt;D(f),sendingActivation:y===f.id}),m&amp;&amp;e(&quot;users.delete&quot;)&amp;&amp;c.jsx(tse,{user:m,onClose:()=&gt;p(null),onSuccess:()=&gt;{p(null),P()},isCurrentUser:!!(m&amp;&amp;E(m))}),b&amp;&amp;e(&quot;users.update&quot;)&amp;&amp;c.jsx(rse,{user:b,onClose:()=&gt;g(null),onSuccess:()=&gt;{g(null),P()}})]})}function ise(){const[e,r]=L.useState(1),t=25,[n,o]=L.useState(&quot;&quot;),[i,a]=L.useState(&quot;&quot;),[u,l]=L.useState(&quot;&quot;),[s,d]=L.useState(&quot;&quot;),[f,h]=L.useState(!1),[m,p]=L.useState(null),[b,g]=L.useState(&quot;&quot;),[y,v]=L.useState(!1),[_,C]=L.useState(null),[O,T]=L.useState(null),[V,F]=L.useState(!1),[H,W]=L.useState(&quot;&quot;),K=&quot;PURGER&quot;,$=L.useMemo(()=&gt;({page:e,per_page:t,...n&amp;&amp;{date_from:n},...i&amp;&amp;{date_to:i},...u.trim()&amp;&amp;{action:u.trim()},...s.trim()&amp;&amp;{subject_type:s.trim()}}),[e,n,i,u,s]),{data:P,loading:D,error:E,refetch:j}=UF($,!0),k=P?.data??[],S=P?.meta,N=S?.last_page??1,M=U=&gt;{try{return new Date(U).toLocaleString(&quot;fr-FR&quot;,{dateStyle:&quot;short&quot;,timeStyle:&quot;medium&quot;})}catch{return U}},R=U=&gt;({&quot;user.created&quot;:&quot;Utilisateur créé&quot;,&quot;user.updated&quot;:&quot;Utilisateur mis à jour&quot;,&quot;user.deleted&quot;:&quot;Utilisateur supprimé&quot;,&quot;user.send_activation&quot;:&quot;Lien d&#039;activation envoyé&quot;,&quot;user.reset_password&quot;:&quot;Mot de passe réinitialisé&quot;,&quot;registration.status_updated&quot;:&quot;Statut inscription modifié&quot;,&quot;registration.updated&quot;:&quot;Inscription mise à jour&quot;,&quot;registration.deleted&quot;:&quot;Inscription supprimée&quot;,&quot;registration.activation_email_resent&quot;:&quot;Email d’activation inscription renvoyé&quot;,&quot;recommendation.status_updated&quot;:&quot;Statut recommandation modifié&quot;,&quot;recommendation.send_email&quot;:&quot;Email recommandation envoyé&quot;,&quot;recommendation.deleted&quot;:&quot;Recommandation supprimée&quot;,&quot;budget_category.created&quot;:&quot;Catégorie budget créée&quot;,&quot;budget_category.updated&quot;:&quot;Catégorie budget mise à jour&quot;,&quot;budget_category.deleted&quot;:&quot;Catégorie budget supprimée&quot;,&quot;treasury_account.created&quot;:&quot;Compte trésorerie créé&quot;,&quot;treasury_account.updated&quot;:&quot;Compte trésorerie mis à jour&quot;,&quot;treasury_account.deleted&quot;:&quot;Compte trésorerie supprimé&quot;,&quot;payment.created&quot;:&quot;Paiement initié&quot;,&quot;payment.confirmed&quot;:&quot;Paiement confirmé&quot;,&quot;payment.rejected&quot;:&quot;Paiement rejeté&quot;,&quot;payment.receipt_issued&quot;:&quot;Reçu paiement émis&quot;,&quot;payment.receipt_email_sent&quot;:&quot;Reçu paiement envoyé par email&quot;,&quot;donation.confirmed&quot;:&quot;Don confirmé&quot;,&quot;donation.rejected&quot;:&quot;Don rejeté&quot;,&quot;donation.receipt_issued&quot;:&quot;Reçu don émis&quot;,&quot;contribution.confirmed&quot;:&quot;Contribution confirmée&quot;,&quot;batch.marked_paid&quot;:&quot;Batch marqué payé&quot;,&quot;event_budget_line.created&quot;:&quot;Ligne budget créée&quot;,&quot;event_budget_line.updated&quot;:&quot;Ligne budget mise à jour&quot;,&quot;event_budget_line.deleted&quot;:&quot;Ligne budget supprimée&quot;,&quot;event_budget_line.moved&quot;:&quot;Ligne budget déplacée&quot;,&quot;expense.created&quot;:&quot;Dépense créée&quot;,&quot;expense.updated&quot;:&quot;Dépense mise à jour&quot;,&quot;expense.deleted&quot;:&quot;Dépense supprimée&quot;})[U]??U,B=async()=&gt;{p(null),h(!0);try{await $y.exportCsv({date_from:n||void 0,date_to:i||void 0,action:u.trim()||void 0,subject_type:s.trim()||void 0})}catch(U){const ee=U&amp;&amp;typeof U==&quot;object&quot;&amp;&amp;&quot;data&quot;in U&amp;&amp;U.data?.message;p(typeof ee==&quot;string&quot;?ee:&quot;Erreur lors de l&#039;export CSV.&quot;)}finally{h(!1)}},Y=()=&gt;{b&amp;&amp;(W(&quot;&quot;),T(null),C(null),F(!0))},Z=()=&gt;{F(!1),W(&quot;&quot;)},ie=async()=&gt;{if(!(H!==K||!b)){T(null),C(null),v(!0);try{const U=await $y.purge(b);C(U.message),Z(),j()}catch(U){const ee=U&amp;&amp;typeof U==&quot;object&quot;&amp;&amp;&quot;data&quot;in U&amp;&amp;U.data?.message;T(typeof ee==&quot;string&quot;?ee:&quot;Erreur lors de la purge.&quot;)}finally{v(!1)}}};return c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[c.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 mb-1 flex items-center gap-2&quot;,children:[c.jsx(vm,{size:22,className:&quot;text-brand-700&quot;}),&quot;Journal d&#039;audit&quot;]}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 text-sm&quot;,children:&quot;Historique des actions de modification (utilisateurs, inscriptions, paramétrage, etc.).&quot;})]}),m&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:m}),c.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex flex-wrap items-center gap-4&quot;,children:[c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Du :&quot;,c.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:n,onChange:U=&gt;{o(U.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Au :&quot;,c.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i,onChange:U=&gt;{a(U.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Action :&quot;,c.jsx(&quot;input&quot;,{type:&quot;text&quot;,placeholder:&quot;ex. user.created&quot;,value:u,onChange:U=&gt;{l(U.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[160px]&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Type ressource :&quot;,c.jsx(&quot;input&quot;,{type:&quot;text&quot;,placeholder:&quot;ex. App\\Models\\User&quot;,value:s,onChange:U=&gt;{d(U.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[180px]&quot;})]})]}),c.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex flex-wrap items-center gap-4&quot;,children:[c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:B,disabled:f,className:&quot;inline-flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-300 bg-white text-ink-700 text-sm font-medium hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[c.jsx(ML,{size:18,&quot;aria-hidden&quot;:!0}),f?&quot;Export en cours…&quot;:&quot;Exporter en CSV&quot;]}),c.jsxs(&quot;div&quot;,{className:&quot;inline-flex items-center gap-2&quot;,children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;audit-purge-before&quot;,className:&quot;text-sm text-ink-700 whitespace-nowrap&quot;,children:&quot;Purger avant le :&quot;}),c.jsx(&quot;input&quot;,{id:&quot;audit-purge-before&quot;,type:&quot;date&quot;,value:b,onChange:U=&gt;g(U.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:Y,disabled:y||!b,className:&quot;inline-flex items-center gap-2 px-4 py-2 rounded-lg border border-red-200 bg-red-50 text-red-700 text-sm font-medium hover:bg-red-100 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[c.jsx(cF,{size:18,&quot;aria-hidden&quot;:!0}),&quot;Purger&quot;]})]})]}),_&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-green-50 border border-green-200 rounded-lg text-green-800 text-sm&quot;,children:_}),O&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:O}),E&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:E}),V&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,role:&quot;dialog&quot;,&quot;aria-modal&quot;:&quot;true&quot;,&quot;aria-labelledby&quot;:&quot;purge-modal-title&quot;,onClick:y?void 0:Z,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-lg max-w-md w-full p-6&quot;,onClick:U=&gt;U.stopPropagation(),children:[c.jsx(&quot;h3&quot;,{id:&quot;purge-modal-title&quot;,className:&quot;text-lg font-semibold text-ink-900 mb-2&quot;,children:&quot;Confirmer la purge&quot;}),c.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 text-sm mb-4&quot;,children:[&quot;Vous allez supprimer &quot;,c.jsx(&quot;strong&quot;,{children:&quot;définitivement&quot;}),&quot; toutes les entrées du journal d&#039;audit dont la date est &quot;,c.jsxs(&quot;strong&quot;,{children:[&quot;avant le &quot;,b]}),&quot;. Cette action est irréversible.&quot;]}),c.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 text-sm mb-2&quot;,children:[&quot;Pour confirmer, saisissez &quot;,c.jsx(&quot;strong&quot;,{children:K}),&quot; ci-dessous :&quot;]}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:H,onChange:U=&gt;W(U.target.value),placeholder:K,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm mb-4 font-mono uppercase&quot;,autoComplete:&quot;off&quot;,&quot;aria-label&quot;:&quot;Saisir PURGER pour confirmer&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2&quot;,children:[c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:Z,disabled:y,className:&quot;px-4 py-2 rounded-lg border border-gray-300 bg-white text-ink-700 text-sm font-medium hover:bg-gray-50 disabled:opacity-50&quot;,children:&quot;Annuler&quot;}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:ie,disabled:y||H!==K,className:&quot;px-4 py-2 rounded-lg border border-red-200 bg-red-600 text-white text-sm font-medium hover:bg-red-700 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:y?&quot;Purge en cours…&quot;:&quot;Confirmer la purge&quot;})]})]})}),c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:[D?c.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement du journal...&quot;}):c.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:c.jsxs(&quot;table&quot;,{className:&quot;w-full text-left text-sm&quot;,children:[c.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider whitespace-nowrap&quot;,children:&quot;Date / Heure&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Utilisateur&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Action&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Ressource&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Description&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;IP&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:k.length===0?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucune entrée dans le journal pour les critères choisis.&quot;})}):k.map(U=&gt;c.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700 whitespace-nowrap&quot;,children:M(U.created_at)}),c.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-900&quot;,children:U.user_name??&quot;—&quot;}),U.user_email&amp;&amp;c.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500&quot;,children:U.user_email})]}),c.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[c.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-800&quot;,children:R(U.action)}),c.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500&quot;,children:U.action})]}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:U.subject_type?`${U.subject_type.replace(/^App\\Models\\/,&quot;&quot;)}${U.subject_id!=null?` #${U.subject_id}`:&quot;&quot;}`:&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600 max-w-xs truncate&quot;,title:U.description??void 0,children:U.description??&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-500 text-xs&quot;,children:U.ip??&quot;—&quot;})]},U.id))})]})}),S&amp;&amp;S.total&gt;0&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;px-4 py-3 border-t border-gray-200 flex items-center justify-between flex-wrap gap-2&quot;,children:[c.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[S.from,&quot; – &quot;,S.to,&quot; sur &quot;,S.total,&quot; entrées&quot;]}),c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;r(U=&gt;Math.max(1,U-1)),disabled:e&lt;=1,className:&quot;px-3 py-1.5 text-sm border border-gray-300 rounded-lg disabled:opacity-50 disabled:cursor-not-allowed hover:bg-gray-50&quot;,children:&quot;Précédent&quot;}),c.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-600&quot;,children:[&quot;Page &quot;,S.current_page,&quot; / &quot;,N]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;r(U=&gt;Math.min(N,U+1)),disabled:e&gt;=N,className:&quot;px-3 py-1.5 text-sm border border-gray-300 rounded-lg disabled:opacity-50 disabled:cursor-not-allowed hover:bg-gray-50&quot;,children:&quot;Suivant&quot;})]})]})]})]})}const Jk=[&quot;Mobile Money&quot;,&quot;Banque&quot;,&quot;Caisse&quot;,&quot;Autre&quot;],eN=[&quot;XOF&quot;,&quot;EUR&quot;],tN=[{value:&quot;&quot;,label:&quot;Tous&quot;},{value:&quot;summit&quot;,label:&quot;Sommet&quot;},{value:&quot;seminar&quot;,label:&quot;Séminaire&quot;},{value:&quot;other&quot;,label:&quot;Autre&quot;}];function sse(){const{isAuthenticated:e,isParticipant:r,loading:t,can:n,roles:o}=Ls(),i=o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),a=o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),u=o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),l=o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),[s,d]=vp(),f=o.includes(&quot;SUPER_ADMIN&quot;),h=s.get(&quot;tab&quot;),m=h===&quot;users&quot;&amp;&amp;f?&quot;users&quot;:h===&quot;audit&quot;&amp;&amp;f?&quot;audit&quot;:h===&quot;budget-categories&quot;?&quot;budget-categories&quot;:h===&quot;treasury&quot;?&quot;treasury&quot;:f?&quot;users&quot;:&quot;treasury&quot;,{events:p}=kp();L.useEffect(()=&gt;{(h===&quot;users&quot;||h===&quot;audit&quot;)&amp;&amp;!f?d({},{replace:!0}):!h&amp;&amp;f&amp;&amp;d({tab:&quot;users&quot;},{replace:!0})},[h,f,d]);const b=pe=&gt;{pe===&quot;users&quot;?d({tab:&quot;users&quot;},{replace:!0}):pe===&quot;audit&quot;?d({tab:&quot;audit&quot;},{replace:!0}):pe===&quot;budget-categories&quot;?d({tab:&quot;budget-categories&quot;},{replace:!0}):pe===&quot;treasury&quot;?d({tab:&quot;treasury&quot;},{replace:!0}):d({},{replace:!0})},[g,y]=L.useState(&quot;&quot;),[v,_]=L.useState([]),[C,O]=L.useState(!0),[T,V]=L.useState(null),[F,H]=L.useState(null),[W,K]=L.useState(!1),[$,P]=L.useState(null),[D,E]=L.useState(&quot;&quot;),[j,k]=L.useState([]),[S,N]=L.useState(!1),[M,R]=L.useState(null),[B,Y]=L.useState(null),[Z,ie]=L.useState(!1),[U,ee]=L.useState(null),[z,I]=L.useState(null),[X,re]=L.useState(null),ne=n(&quot;settings.read&quot;)||n(&quot;settings.update&quot;),Q=L.useCallback(()=&gt;{ne&amp;&amp;(O(!0),V(null),na.list({event_id:g}).then(pe=&gt;_(Array.isArray(pe)?pe:Array.isArray(pe?.data)?pe.data:[])).catch(pe=&gt;V(pe?.data?.message??&quot;Erreur lors du chargement des comptes.&quot;)).finally(()=&gt;O(!1)))},[ne,g]),te=L.useCallback(()=&gt;{if(!ne)return;N(!0),R(null);const pe=D?{event_type:D}:{};lo.list(pe).then(ce=&gt;k(Array.isArray(ce)?ce:[])).catch(ce=&gt;R(ce?.data?.message??&quot;Erreur lors du chargement des catégories.&quot;)).finally(()=&gt;N(!1))},[ne,D]);if(L.useEffect(()=&gt;{ne&amp;&amp;Q()},[ne,g,Q]),L.useEffect(()=&gt;{!ne||m!==&quot;budget-categories&quot;||te()},[ne,m,D,te]),t)return c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!e)return c.jsx(ui,{to:&quot;/login&quot;,replace:!0});if(r)return c.jsx(ui,{to:&quot;/account&quot;,replace:!0});if(!ne)return c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[c.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Accès non autorisé&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Seul le Super Admin peut accéder au paramétrage.&quot;})]})});const de=pe=&gt;{K(!1),pe?_(ce=&gt;[...ce??[],pe]):Q()},le=()=&gt;{H(null),Q()},se=()=&gt;{P(null),Q()},fe=pe=&gt;{ie(!1),pe?k(ce=&gt;[...ce,pe]):te()},he=()=&gt;{Y(null),te()},ue=()=&gt;{ee(null),te()},ge=pe=&gt;tN.find(ce=&gt;ce.value===pe)?.label??pe??&quot;—&quot;,xe=pe=&gt;pe===&quot;revenue&quot;?&quot;Recettes&quot;:pe===&quot;expense&quot;?&quot;Dépenses&quot;:&quot;—&quot;;return c.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[c.jsx(Cp,{}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[c.jsx(Ep,{currentSection:&quot;settings&quot;,showSommet:i||l?!1:n(&quot;registrations.read&quot;),showSeminar:a||u?!1:n(&quot;registrations.read&quot;),showRecommendations:i||u?!1:n(&quot;recommendations.read&quot;),showUsers:!1,showFinance:u||l?!1:n(&quot;finance.dashboard&quot;)||n(&quot;payments.read&quot;),showSettings:ne}),c.jsx(&quot;main&quot;,{className:&quot;flex-1 w-full lg:ml-48 pb-16 lg:pb-0&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;w-full px-4 sm:px-6 lg:px-8 py-6 lg:py-8&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[c.jsxs(&quot;h2&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2 flex items-center gap-2&quot;,children:[c.jsx(Ly,{size:32,className:&quot;text-brand-700&quot;}),&quot;Paramétrage&quot;]}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Comptes de trésorerie et autres réglages.&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex items-center gap-2 border-b border-gray-200&quot;,children:[f&amp;&amp;c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;b(&quot;users&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${m===&quot;users&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[c.jsx(wm,{size:18}),&quot;Utilisateurs&quot;]}),f&amp;&amp;c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;b(&quot;audit&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${m===&quot;audit&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[c.jsx(vm,{size:18}),&quot;Journal d&#039;audit&quot;]}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;b(&quot;treasury&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${m===&quot;treasury&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[c.jsx(tC,{size:18}),&quot;Comptes de trésorerie&quot;]}),c.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;b(&quot;budget-categories&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${m===&quot;budget-categories&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[c.jsx(oF,{size:18}),&quot;Catégories budget&quot;]})]}),m===&quot;treasury&quot;&amp;&amp;c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap items-center justify-between gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;event-filter&quot;,className:&quot;text-sm font-medium text-ink-700&quot;,children:&quot;Événement :&quot;}),c.jsxs(&quot;select&quot;,{id:&quot;event-filter&quot;,value:g,onChange:pe=&gt;y(pe.target.value===&quot;&quot;?&quot;&quot;:Number(pe.target.value)),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[220px]&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous (global + par événement)&quot;}),(p??[]).map(pe=&gt;c.jsx(&quot;option&quot;,{value:pe.id,children:pe.name},pe.id))]})]}),n(&quot;settings.update&quot;)&amp;&amp;c.jsxs(Le,{variant:&quot;primary&quot;,onClick:()=&gt;K(!0),className:&quot;flex items-center gap-2&quot;,children:[c.jsx(Dy,{size:18}),&quot;Nouveau compte&quot;]})]}),T&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:T}),c.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:C?c.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement des comptes...&quot;}):c.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:c.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[c.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Nom&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Type&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Identifiant&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Devise&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Contexte&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Actif&quot;}),n(&quot;settings.update&quot;)&amp;&amp;c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider w-24&quot;,children:&quot;Actions&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:(v??[]).length===0?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:n(&quot;settings.update&quot;)?7:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucun compte de trésorerie. Cliquez sur « Nouveau compte » pour en ajouter.&quot;})}):(v??[]).map(pe=&gt;c.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:pe.name}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:pe.type}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:pe.identifier}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:pe.currency}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:pe.context_display}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:c.jsx(&quot;span&quot;,{className:`inline-flex px-2 py-0.5 text-xs font-medium rounded-full ${pe.is_active?&quot;bg-green-100 text-green-800&quot;:&quot;bg-gray-100 text-gray-600&quot;}`,children:pe.is_active?&quot;Oui&quot;:&quot;Non&quot;})}),n(&quot;settings.update&quot;)&amp;&amp;c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:c.jsx(po,{rowId:`ta-${pe.id}`,openMenuId:z,setOpenMenuId:I,onEdit:()=&gt;H(pe),menuItems:[{id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,onSelect:()=&gt;P(pe)}]})})]},pe.id))})]})})})]}),m===&quot;budget-categories&quot;&amp;&amp;c.jsxs(c.Fragment,{children:[c.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap items-center justify-between gap-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[c.jsx(&quot;label&quot;,{htmlFor:&quot;category-type-filter&quot;,className:&quot;text-sm font-medium text-ink-700&quot;,children:&quot;Type d&#039;événement :&quot;}),c.jsx(&quot;select&quot;,{id:&quot;category-type-filter&quot;,value:D,onChange:pe=&gt;E(pe.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[180px]&quot;,children:tN.map(pe=&gt;c.jsx(&quot;option&quot;,{value:pe.value,children:pe.label},pe.value||&quot;all&quot;))})]}),n(&quot;settings.update&quot;)&amp;&amp;c.jsxs(Le,{variant:&quot;primary&quot;,onClick:()=&gt;ie(!0),className:&quot;flex items-center gap-2&quot;,children:[c.jsx(Dy,{size:18}),&quot;Nouvelle catégorie&quot;]})]}),M&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:M}),c.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:S?c.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement des catégories...&quot;}):c.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:c.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[c.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:c.jsxs(&quot;tr&quot;,{children:[c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Nom&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Code&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Type&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Type d&#039;événement&quot;}),c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Ordre&quot;}),n(&quot;settings.update&quot;)&amp;&amp;c.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider w-24&quot;,children:&quot;Actions&quot;})]})}),c.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:(j??[]).length===0?c.jsx(&quot;tr&quot;,{children:c.jsx(&quot;td&quot;,{colSpan:n(&quot;settings.update&quot;)?6:5,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucune catégorie. Cliquez sur « Nouvelle catégorie » pour en ajouter.&quot;})}):(j??[]).map(pe=&gt;c.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:pe.name}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:pe.code??&quot;—&quot;}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:xe(pe.type)}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ge(pe.event_type)}),c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:pe.sort_order}),n(&quot;settings.update&quot;)&amp;&amp;c.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:c.jsx(po,{rowId:`bc-${pe.id}`,openMenuId:X,setOpenMenuId:re,onEdit:()=&gt;Y(pe),menuItems:[{id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,onSelect:()=&gt;ee(pe)}]})})]},pe.id))})]})})})]}),m===&quot;users&quot;&amp;&amp;c.jsx(nse,{}),m===&quot;audit&quot;&amp;&amp;c.jsx(ise,{})]})})]}),W&amp;&amp;c.jsx(Zk,{events:p??[],accountTypes:Jk,currencies:eN,eventFilter:g,onClose:()=&gt;K(!1),onSuccess:de}),F&amp;&amp;c.jsx(Zk,{events:p??[],accountTypes:Jk,currencies:eN,account:F,onClose:()=&gt;H(null),onSuccess:le}),$&amp;&amp;c.jsx(Xie,{account:$,onClose:()=&gt;P(null),onDeleted:se}),Z&amp;&amp;c.jsx(Qk,{onClose:()=&gt;ie(!1),onSuccess:fe}),B&amp;&amp;c.jsx(Qk,{category:B,onClose:()=&gt;Y(null),onSuccess:he}),U&amp;&amp;c.jsx(Zie,{category:U,onClose:()=&gt;ee(null),onDeleted:ue})]})}function ase(){const{token:e}=WO(),r=xs(),[t,n]=L.useState(&quot;loading&quot;),[o,i]=L.useState(&quot;&quot;),[a,u]=L.useState(&quot;&quot;);return L.useEffect(()=&gt;{if(!e){n(&quot;error&quot;),i(&quot;Token de vérification manquant.&quot;);return}(async()=&gt;{try{const d=(await O1.verify(e)).event||&quot;l&#039;événement&quot;;n(&quot;success&quot;),i(`Votre inscription pour &quot;${d}&quot; a été vérifiée avec succès !`),setTimeout(()=&gt;{r(&quot;/&quot;)},5e3)}catch(s){if(n(&quot;error&quot;),s instanceof Kt)if(s.status===422){const d=s.data.errors||{};d.token?i(d.token[0]||&quot;Le token de vérification est invalide ou a expiré.&quot;):d.status?i(d.status[0]||&quot;Cette inscription a déjà été vérifiée.&quot;):i(s.data.message||&quot;Erreur lors de la vérification.&quot;),u(Object.values(d).flat().join(&quot; &quot;))}else i(s.data.message||&quot;Une erreur est survenue lors de la vérification.&quot;);else i(&quot;Une erreur inattendue est survenue.&quot;)}})()},[e,r]),c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-gray-50 flex items-center justify-center px-4&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;max-w-md w-full bg-white rounded-xl shadow-lg p-8 text-center&quot;,children:[t===&quot;loading&quot;&amp;&amp;c.jsxs(c.Fragment,{children:[c.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;inline-block animate-spin rounded-full h-16 w-16 border-t-2 border-b-2 border-brand-700&quot;})}),c.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Vérification en cours...&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Veuillez patienter pendant que nous vérifions votre inscription.&quot;})]}),t===&quot;success&quot;&amp;&amp;c.jsxs(c.Fragment,{children:[c.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;inline-flex items-center justify-center w-16 h-16 rounded-full bg-green-100&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-8 h-8 text-green-600&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:c.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M5 13l4 4L19 7&quot;})})})}),c.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Inscription vérifiée !&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-6&quot;,children:o}),c.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Vous allez être redirigé vers la page d&#039;accueil dans quelques secondes...&quot;}),c.jsx(&quot;button&quot;,{onClick:()=&gt;r(&quot;/&quot;),className:&quot;mt-6 px-6 py-3 bg-brand-700 text-white rounded-xl hover:bg-brand-900 transition-colors&quot;,children:&quot;Retour à l&#039;accueil&quot;})]}),t===&quot;error&quot;&amp;&amp;c.jsxs(c.Fragment,{children:[c.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;inline-flex items-center justify-center w-16 h-16 rounded-full bg-red-100&quot;,children:c.jsx(&quot;svg&quot;,{className:&quot;w-8 h-8 text-red-600&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:c.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M6 18L18 6M6 6l12 12&quot;})})})}),c.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Erreur de vérification&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-4&quot;,children:o}),a&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-600 mb-6&quot;,children:a}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[c.jsx(&quot;button&quot;,{onClick:()=&gt;r(&quot;/inscription&quot;),className:&quot;w-full px-6 py-3 bg-brand-700 text-white rounded-xl hover:bg-brand-900 transition-colors&quot;,children:&quot;Retour à l&#039;inscription&quot;}),c.jsx(&quot;button&quot;,{onClick:()=&gt;r(&quot;/&quot;),className:&quot;w-full px-6 py-3 bg-gray-200 text-ink-900 rounded-xl hover:bg-gray-300 transition-colors&quot;,children:&quot;Retour à l&#039;accueil&quot;})]})]})]})})}const ose={not_sycapay:&quot;Actualisation automatique disponible uniquement pour les paiements en ligne.&quot;,terminal:&quot;Ce paiement est déjà terminé.&quot;,missing_provider_ref:&quot;Référence de paiement incomplète. Contactez le support si le problème persiste.&quot;,invalid_status:&quot;Statut incompatible avec une actualisation en ligne.&quot;,payment_too_recent:&quot;Le serveur attend encore quelques secondes après l’init avant la première interrogation du prestataire.&quot;,sync_too_recent:&quot;Une vérification vient d’être faite ; courte pause avant la prochaine interrogation.&quot;},Zh=52e3,rN=14;function lse({donationId:e,paymentId:r,donorEmail:t,summaryHint:n,onStatusUpdate:o}){const[i,a]=L.useState(!1),[u,l]=L.useState(null),[s,d]=L.useState(null),f=L.useRef(o);f.current=o;const h=y=&gt;RF(e,r,{refresh:y,donorEmail:t??void 0});L.useEffect(()=&gt;{let y=!1;const v=[];return(async()=&gt;{try{const _=await h(!1);if(y||(d(_),f.current(_),_.is_terminal))return;let C=0,O=_.status;const T=()=&gt;{const F=_.refresh_earliest_at;if(!F)return Zh;const H=Date.parse(F);return Number.isNaN(H)?Zh:Math.max(4e3,H-Date.now()+1500)},V=F=&gt;{if(y||C&gt;=rN)return;const H=window.setTimeout(async()=&gt;{if(!y){C+=1;try{const W=await h(!0);if(y)return;d(W);const K=W.status!==O;if(K&amp;&amp;(O=W.status),(K||W.is_terminal)&amp;&amp;f.current(W),W.is_terminal)return}catch{}V(Zh)}},F);v.push(H)};V(T())}catch{y||l(&quot;Impossible de charger le statut du paiement.&quot;)}})(),()=&gt;{y=!0,v.forEach(_=&gt;window.clearTimeout(_))}},[e,r,t]);const m=()=&gt;{l(null),a(!0),h(!0).then(y=&gt;{d(y),o(y)}).catch(y=&gt;{y instanceof Kt?l(y.data?.message??y.message):l(&quot;Impossible d’actualiser le statut.&quot;)}).finally(()=&gt;a(!1))},p=s&amp;&amp;!s.refresh_attempted&amp;&amp;s.refresh_skipped_reason?ose[s.refresh_skipped_reason]??&quot;Actualisation momentanément indisponible.&quot;:null,b=s===null||s.can_retry_refresh===!0,g=s!==null&amp;&amp;!s.is_terminal;return c.jsxs(&quot;div&quot;,{className:&quot;mt-2 space-y-2 rounded-md border border-emerald-100 bg-emerald-50/50 px-3 py-2&quot;,children:[n&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600&quot;,children:n}),g&amp;&amp;c.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:[&quot;Vérification automatique côté serveur (jusqu’à &quot;,rN,&quot; tentatives, environ toutes les&quot;,&quot; &quot;,Math.round(Zh/1e3),&quot; s) tant que le paiement n’est pas terminé. La confirmation provient exclusivement du serveur (prestataire), pas de ce navigateur seul.&quot;]}),s?.message&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-ink-800&quot;,role:&quot;status&quot;,children:s.message}),u&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-xs text-red-700&quot;,children:u}),p&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-800&quot;,children:p}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2&quot;,children:[c.jsxs(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;text-sm py-1.5 h-auto&quot;,onClick:m,disabled:i||!b,children:[c.jsx(A1,{size:14,className:`mr-1.5 inline ${i?&quot;animate-spin&quot;:&quot;&quot;}`}),i?&quot;Vérification…&quot;:&quot;Actualiser le statut&quot;]}),!b&amp;&amp;!i&amp;&amp;!p&amp;&amp;c.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Actualisation non disponible pour le moment.&quot;})]})]})}const cse=[{value:&quot;mobile_money&quot;,label:&quot;Mobile Money (déclaration manuelle)&quot;},{value:&quot;card_visa&quot;,label:&quot;Carte Visa (déclaration manuelle)&quot;}];function use({isOpen:e,onClose:r,onSuccess:t}){const n=xs(),[o,i]=L.useState([]),[a,u]=L.useState(!1),[l,s]=L.useState(&quot;&quot;),[d,f]=L.useState(&quot;&quot;),[h,m]=L.useState(&quot;&quot;),[p,b]=L.useState(&quot;&quot;),[g,y]=L.useState(&quot;&quot;),[v,_]=L.useState(!1),[C,O]=L.useState(&quot;&quot;),[T,V]=L.useState(&quot;mobile_money&quot;),[F,H]=L.useState(!1),[W,K]=L.useState(null),[$,P]=L.useState(&quot;form&quot;),[D,E]=L.useState(null),[j,k]=L.useState(null),[S,N]=L.useState(null),[M,R]=L.useState(null),[B,Y]=L.useState(null),[Z,ie]=L.useState(!1),[U,ee]=L.useState(()=&gt;_c(&quot;CI&quot;)),[z,I]=L.useState(&quot;&quot;),[X,re]=L.useState(&quot;&quot;),[ne,Q]=L.useState(null),[te,de]=L.useState(!1),le=!te||ne?.donation_payments_enabled!==!1,se=yi[U]??yi.CI;L.useEffect(()=&gt;{e&amp;&amp;(de(!1),sC().then(Se=&gt;{Q(Se),de(!0)}).catch(()=&gt;{Q({registration_payments_enabled:!0,donation_payments_enabled:!0,disabled_message:&quot;&quot;}),de(!0)}))},[e]),L.useEffect(()=&gt;{e&amp;&amp;(u(!0),K(null),M1.list().then(Se=&gt;{const Te=(Se??[]).filter(Ve=&gt;Ve.is_active);i(Te);const Qe=Te.find(Ve=&gt;Ve.event_type===&quot;summit&quot;);s(Qe?.id??Te[0]?.id??&quot;&quot;)}).catch(()=&gt;i([])).finally(()=&gt;u(!1)))},[e]),L.useEffect(()=&gt;{e&amp;&amp;(P(&quot;form&quot;),E(null),k(null),N(null),R(null),Y(null),ee(_c(&quot;CI&quot;)),I(&quot;&quot;),re(&quot;&quot;),K(null))},[e]),L.useEffect(()=&gt;{I(Se=&gt;{const Te=yi[U];return Te&amp;&amp;Te.operators.some(Qe=&gt;Qe.apiValue===Se)?Se:&quot;&quot;})},[U]),L.useEffect(()=&gt;{v&amp;&amp;T===&quot;sycapay&quot;&amp;&amp;V(&quot;mobile_money&quot;)},[v,T]),L.useEffect(()=&gt;{!le&amp;&amp;T===&quot;sycapay&quot;&amp;&amp;V(&quot;mobile_money&quot;)},[le,T]);const fe=L.useMemo(()=&gt;T!==&quot;sycapay&quot;?null:v?&quot;Le paiement en ligne nécessite votre nom et une adresse email (décochez « Anonyme »).&quot;:z?X.replace(/\s/g,&quot;&quot;)?od(X)?null:&quot;Numéro de téléphone invalide (chiffres, au moins 8).&quot;:&quot;Indiquez le numéro Mobile Money utilisé pour le paiement.&quot;:&quot;Choisissez un opérateur Mobile Money.&quot;,[T,v,z,X]),he=()=&gt;{f(&quot;&quot;),m(&quot;&quot;),b(&quot;&quot;),y(&quot;&quot;),O(&quot;&quot;),_(!1),V(&quot;mobile_money&quot;)},ue=()=&gt;{he(),P(&quot;form&quot;),E(null),k(null),R(null),Y(null),r()},ge=async()=&gt;{const Se=parseInt(C.replace(/\s/g,&quot;&quot;),10);if(!l||isNaN(Se)||Se&lt;1){K(&quot;Veuillez sélectionner un événement et indiquer un montant valide.&quot;);return}if(!v&amp;&amp;(!p.trim()||!d.trim()||!h.trim())){K(&quot;Veuillez remplir le nom, le prénom et l&#039;email (ou cocher « Rester anonyme »).&quot;);return}if(!v&amp;&amp;p.trim()&amp;&amp;!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p)){K(&quot;Veuillez indiquer une adresse email valide.&quot;);return}H(!0),K(null);try{const Te=v?null:`${d.trim()} ${h.trim()}`.trim(),Qe=v?null:p.trim()||null,Ve=g.trim()?`Téléphone : ${g.trim()}`:void 0;await bb.storePublic({event_id:Number(l),donor_name:Te||null,donor_email:Qe||null,amount:Se,currency:&quot;XOF&quot;,method:T,paid_at:new Date().toISOString(),notes:Ve||null}),he(),ue(),t?.(),n(&quot;/soutenir/merci&quot;,{state:{emailSent:!!Qe,mode:&quot;declaration&quot;}})}catch(Te){Te instanceof Kt?K(Te.data?.message??Te.message??&quot;Une erreur est survenue.&quot;):K(&quot;Une erreur est survenue.&quot;)}finally{H(!1)}},xe=async Se=&gt;{if(Se.preventDefault(),K(null),!le){K(ne?.disabled_message?.trim()||&quot;Les paiements en ligne (SycaPay) ne sont pas encore ouverts. Veuillez choisir une déclaration manuelle ou réessayer ultérieurement.&quot;);return}const Te=parseInt(C.replace(/\s/g,&quot;&quot;),10);if(!l||isNaN(Te)||Te&lt;1){K(&quot;Veuillez sélectionner un événement et indiquer un montant valide.&quot;);return}if(v){K(&quot;Le paiement SycaPay en ligne nécessite le nom et l’email (décochez « Anonyme »).&quot;);return}if(!p.trim()||!d.trim()||!h.trim()){K(&quot;Veuillez remplir le nom, le prénom et l’email.&quot;);return}if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p)){K(&quot;Veuillez indiquer une adresse email valide.&quot;);return}const Qe=fe;if(Qe){K(Qe);return}H(!0);try{const Ve=`${d.trim()} ${h.trim()}`.trim(),Xe=p.trim(),He=(await bb.storePublic({event_id:Number(l),donor_name:Ve,donor_email:Xe,amount:Te,currency:&quot;XOF&quot;,method:&quot;sycapay&quot;,notes:g.trim()?`Contact : ${g.trim()}`:null})).id,ze=await bb.initPublicSycaPay(He,{operator:z,phone:X.replace(/\s/g,&quot;&quot;),country:U,donor_email:Xe,idempotency_key:typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID?crypto.randomUUID():void 0}),Ze=ze.data;if(Ze.status===&quot;failed&quot;||Ze.error){K(iC(Ze,ze.message));return}E(He),k(Ze.payment_id),N(Xe),R(Ze),P(&quot;sycapay_tracking&quot;)}catch(Ve){Ve instanceof Kt?K(LF(Ve)):K(&quot;Une erreur est survenue.&quot;)}finally{H(!1)}},pe=Se=&gt;{if(Se.preventDefault(),T===&quot;sycapay&quot;){xe(Se);return}ge()},ce=async()=&gt;{if(D){ie(!0),K(null);try{await DF(D,S)}catch(Se){Se instanceof Kt?K(Se.data?.message??Se.message??&quot;Téléchargement impossible.&quot;):K(&quot;Téléchargement impossible.&quot;)}finally{ie(!1)}}};if(!e)return null;const Ce=T===&quot;sycapay&quot;,Me=!Ce;return c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;flex min-h-full items-center justify-center p-4&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 bg-black/50 transition-opacity&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,onClick:()=&gt;!F&amp;&amp;$===&quot;form&quot;&amp;&amp;ue()}),c.jsxs(&quot;div&quot;,{className:&quot;relative bg-white rounded-xl shadow-xl max-w-lg w-full p-6 max-h-[90vh] overflow-y-auto&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[c.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900 flex items-center gap-2&quot;,children:[c.jsx(E1,{className:&quot;w-5 h-5 text-brand-700&quot;}),$===&quot;sycapay_tracking&quot;?&quot;Paiement de votre don&quot;:&quot;Faire un don&quot;]}),c.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!F&amp;&amp;ue(),className:&quot;text-ink-400 hover:text-ink-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:c.jsx(hr,{size:22})})]}),$===&quot;sycapay_tracking&quot;&amp;&amp;D!==null&amp;&amp;j!==null&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-emerald-200 bg-emerald-50/80 px-3 py-2.5 text-sm text-ink-800&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;font-medium&quot;,children:&quot;Don enregistré — paiement en cours de traitement&quot;}),c.jsxs(&quot;p&quot;,{className:&quot;mt-1 text-ink-700&quot;,children:[&quot;Le montant de &quot;,c.jsxs(&quot;strong&quot;,{children:[M?.amount?.toLocaleString(&quot;fr-FR&quot;),&quot; FCFA&quot;]}),&quot; sera confirmé uniquement après validation par le prestataire Mobile Money. Ce n’est&quot;,&quot; &quot;,c.jsx(&quot;strong&quot;,{children:&quot;pas&quot;}),&quot; un succès définitif tant que le statut ci-dessous n’indique pas « confirmé ».&quot;]})]}),M?.redirect_url&amp;&amp;c.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;w-full&quot;,onClick:()=&gt;window.location.assign(M.redirect_url),children:&quot;Continuer vers le paiement&quot;}),c.jsx(lse,{donationId:D,paymentId:j,donorEmail:S,summaryHint:&quot;La confirmation affichée provient du serveur (agrégateur), pas de cette page seule.&quot;,onStatusUpdate:Y}),B?.status===&quot;confirmed&quot;&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-green-200 bg-green-50 px-3 py-3 space-y-2&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-green-900&quot;,children:&quot;Paiement confirmé — merci pour votre don !&quot;}),c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;w-full text-sm&quot;,disabled:Z,onClick:()=&gt;{ce()},children:Z?&quot;Téléchargement…&quot;:&quot;Télécharger le reçu fiscal (PDF)&quot;})]}),B?.status===&quot;failed&quot;&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:&quot;Le paiement a échoué ou a été refusé. Vous pouvez fermer cette fenêtre et réessayer avec un nouveau don si vous le souhaitez.&quot;}),c.jsx(Le,{type:&quot;button&quot;,variant:&quot;ghost&quot;,className:&quot;w-full&quot;,onClick:ue,children:&quot;Fermer&quot;})]}),$===&quot;form&quot;&amp;&amp;c.jsxs(c.Fragment,{children:[Me&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mb-5 p-4 bg-amber-50 border border-amber-200 rounded-lg text-amber-900 text-sm&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;font-medium mb-1&quot;,children:&quot;Déclaration manuelle&quot;}),c.jsx(&quot;p&quot;,{children:&quot;Les options « déclaration manuelle » enregistrent votre intention de don pour validation par la commission finance. Le paiement en ligne direct est disponible via « Payer maintenant (SycaPay) ».&quot;})]}),Ce&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;mb-5 p-4 bg-emerald-50 border border-emerald-200 rounded-lg text-emerald-950 text-sm&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;font-medium mb-1&quot;,children:&quot;Paiement en ligne sécurisé (don)&quot;}),c.jsxs(&quot;p&quot;,{children:[&quot;Ce parcours est &quot;,c.jsx(&quot;strong&quot;,{children:&quot;distinct&quot;}),&quot; du paiement d’inscription au sommet. Après validation, vous pourrez télécharger votre &quot;,c.jsx(&quot;strong&quot;,{children:&quot;reçu de don&quot;}),&quot; ici.&quot;]})]}),c.jsxs(&quot;form&quot;,{onSubmit:pe,className:&quot;space-y-4&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Événement soutenu&quot;}),c.jsxs(&quot;select&quot;,{value:l,onChange:Se=&gt;s(Se.target.value===&quot;&quot;?&quot;&quot;:Number(Se.target.value)),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,required:!0,disabled:a,children:[a&amp;&amp;c.jsx(&quot;option&quot;,{children:&quot;Chargement...&quot;}),!a&amp;&amp;o.length===0&amp;&amp;c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Aucun événement&quot;}),!a&amp;&amp;o.map(Se=&gt;c.jsx(&quot;option&quot;,{value:Se.id,children:Se.name},Se.id))]})]}),c.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-3&quot;,children:[c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Prénom&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d,onChange:Se=&gt;f(Se.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,placeholder:&quot;Prénom&quot;,disabled:v})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:h,onChange:Se=&gt;m(Se.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,placeholder:&quot;Nom&quot;,disabled:v})]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),c.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p,onChange:Se=&gt;b(Se.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,placeholder:&quot;votre@email.fr&quot;,disabled:v})]}),c.jsxs(&quot;div&quot;,{children:[c.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Téléphone &quot;,Ce?&quot;(contact, optionnel)&quot;:&quot;(optionnel)&quot;]}),c.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:g,onChange:Se=&gt;y(Se.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,placeholder:&quot;+226 …&quot;})]}),c.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[c.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:v,onChange:Se=&gt;_(Se.target.checked),className:&quot;rounded border-gray-300 text-brand-600 focus:ring-brand-600&quot;}),c.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Rester anonyme (mon nom ne sera pas cité)&quot;})]}),v&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-800&quot;,children:&quot;L’option « Payer maintenant (SycaPay) » nécessite nom et email : elle est indisponible en mode anonyme.&quot;}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant (XOF)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;text&quot;,inputMode:&quot;numeric&quot;,value:C,onChange:Se=&gt;O(Se.target.value.replace(/\D/g,&quot;&quot;)),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,placeholder:&quot;Ex. 10000&quot;,required:!0})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Mode de participation&quot;}),c.jsxs(&quot;select&quot;,{value:T,onChange:Se=&gt;V(Se.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,children:[cse.map(Se=&gt;c.jsx(&quot;option&quot;,{value:Se.value,children:Se.label},Se.value)),c.jsxs(&quot;option&quot;,{value:&quot;sycapay&quot;,disabled:!le,children:[&quot;Payer maintenant (Mobile Money via SycaPay)&quot;,le?&quot;&quot;:&quot; — bientôt disponible&quot;]})]})]}),!le&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-900 rounded-md border border-amber-200 bg-amber-50/60 px-3 py-2&quot;,children:ne?.disabled_message?.trim()||&quot;Les paiements en ligne (SycaPay) ne sont pas encore ouverts. Vous pouvez faire une déclaration manuelle en attendant.&quot;}),Ce&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;space-y-3 rounded-lg border border-gray-200 bg-gray-50/60 p-3&quot;,children:[c.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-800&quot;,children:&quot;Mobile Money — SycaPay&quot;}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Pays&quot;}),c.jsx(&quot;select&quot;,{value:U,onChange:Se=&gt;ee(Se.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:Np.map(Se=&gt;c.jsxs(&quot;option&quot;,{value:Se,children:[yi[Se].label,&quot; (&quot;,Se,&quot;)&quot;]},Se))})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Opérateur&quot;}),c.jsxs(&quot;select&quot;,{value:z,onChange:Se=&gt;I(Se.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[c.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Choisir —&quot;}),se.operators.map(Se=&gt;c.jsx(&quot;option&quot;,{value:Se.apiValue,children:Se.label},Se.apiValue))]})]}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Numéro Mobile Money (paiement)&quot;}),c.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:X,onChange:Se=&gt;re(Se.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:se.phonePlaceholder,autoComplete:&quot;tel&quot;})]})]}),W&amp;&amp;c.jsxs(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:[c.jsx(&quot;p&quot;,{children:W}),W.includes(&quot;connecter&quot;)&amp;&amp;c.jsx(Cr,{to:&quot;/login&quot;,className:&quot;mt-2 inline-block text-brand-700 font-medium hover:underline&quot;,children:&quot;Aller à la page de connexion →&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 pt-2&quot;,children:[c.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:ue,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),c.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:F,className:&quot;flex-1&quot;,children:F?&quot;Envoi…&quot;:Ce?&quot;Créer le don et lancer le paiement&quot;:&quot;Déclarer mon intention de don&quot;})]})]})]})]})]})})}function dse(){const[e,r]=L.useState(!1);return c.jsxs(il,{children:[c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6 lg:px-8&quot;,children:c.jsxs(&quot;div&quot;,{className:&quot;max-w-3xl mx-auto&quot;,children:[c.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[c.jsx(Cr,{to:&quot;/&quot;,className:&quot;text-sm text-brand-700 hover:text-brand-900 font-medium mb-4 inline-block&quot;,children:&quot;← Retour à l&#039;accueil&quot;}),c.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Soutenir&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-600&quot;,children:&quot;Votre soutien permet de porter la mission du Sommet Francophone et de former des leaders pour l&#039;évangélisation.&quot;})]}),c.jsxs(&quot;div&quot;,{className:&quot;space-y-8&quot;,children:[c.jsx(Kn,{children:c.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;flex-shrink-0 w-12 h-12 rounded-xl bg-brand-100 flex items-center justify-center&quot;,children:c.jsx(E1,{className:&quot;w-6 h-6 text-brand-700&quot;})}),c.jsxs(&quot;div&quot;,{className:&quot;flex-1&quot;,children:[c.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Faire un don&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:&quot;Les dons permettent de soutenir les participants, les frais d&#039;organisation et le développement des programmes. Le paiement en ligne n&#039;est pas encore disponible : vous pouvez déclarer votre intention de don et serez contacté dès que les moyens de paiement le seront.&quot;}),c.jsx(Le,{variant:&quot;primary&quot;,onClick:()=&gt;r(!0),className:&quot;mt-2&quot;,children:&quot;Déclarer un don&quot;})]})]})}),c.jsx(Kn,{children:c.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;flex-shrink-0 w-12 h-12 rounded-xl bg-brand-100 flex items-center justify-center&quot;,children:c.jsx(LL,{className:&quot;w-6 h-6 text-brand-700&quot;})}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Autres façons de nous soutenir&quot;}),c.jsxs(&quot;ul&quot;,{className:&quot;text-ink-600 space-y-2 list-disc list-inside&quot;,children:[c.jsx(&quot;li&quot;,{children:&quot;Partager l&#039;événement autour de vous&quot;}),c.jsx(&quot;li&quot;,{children:&quot;Prier pour les participants et l&#039;équipe&quot;}),c.jsx(&quot;li&quot;,{children:&quot;Proposer votre aide bénévole (contact ci-dessous)&quot;})]})]})]})}),c.jsx(Kn,{children:c.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;flex-shrink-0 w-12 h-12 rounded-xl bg-brand-100 flex items-center justify-center&quot;,children:c.jsx(so,{className:&quot;w-6 h-6 text-brand-700&quot;})}),c.jsxs(&quot;div&quot;,{children:[c.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Nous contacter&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:&quot;Pour toute question relative aux dons ou au soutien, n&#039;hésitez pas à nous écrire. L&#039;équipe du Sommet Francophone vous répondra.&quot;}),c.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2 text-ink-600&quot;,children:[c.jsxs(&quot;a&quot;,{href:&quot;mailto:communication@sommetfrancophone.org&quot;,className:&quot;inline-flex items-center gap-2 hover:text-brand-700 transition-colors&quot;,children:[c.jsx(so,{className:&quot;w-4 h-4&quot;}),&quot;communication@sommetfrancophone.org&quot;]}),c.jsxs(&quot;a&quot;,{href:&quot;tel:+2250554275725&quot;,className:&quot;inline-flex items-center gap-2 hover:text-brand-700 transition-colors&quot;,children:[c.jsx(Vu,{className:&quot;w-4 h-4&quot;}),&quot;+225 05 5427 5725 (WhatsApp)&quot;]})]})]})]})})]})]})}),c.jsx(use,{isOpen:e,onClose:()=&gt;r(!1),onSuccess:()=&gt;r(!1)})]})}function fse(){const r=Ds().state?.emailSent===!0;return c.jsx(il,{children:c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6 lg:px-8 flex items-center justify-center&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;max-w-xl w-full&quot;,children:c.jsxs(Kn,{className:&quot;text-center py-10 px-6&quot;,children:[c.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;w-16 h-16 rounded-full bg-green-100 flex items-center justify-center&quot;,children:c.jsx(E1,{className:&quot;w-8 h-8 text-green-600&quot;})})}),c.jsx(&quot;h1&quot;,{className:&quot;text-2xl font-bold text-ink-900 mb-3&quot;,children:&quot;Déclaration prise en compte&quot;}),c.jsx(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:&quot;Votre intention de don a bien été enregistrée. Vous serez contacté dès que les moyens de paiement en ligne seront disponibles.&quot;}),r&amp;&amp;c.jsx(&quot;p&quot;,{className:&quot;text-ink-600 mb-8 text-sm&quot;,children:&quot;Un email de confirmation vous a été envoyé à l&#039;adresse que vous avez indiquée.&quot;}),!r&amp;&amp;c.jsx(&quot;div&quot;,{className:&quot;mb-8&quot;}),c.jsxs(Cr,{to:&quot;/&quot;,className:&quot;inline-flex items-center gap-2 px-6 py-3 rounded-none font-medium transition-all duration-200 uppercase tracking-wider border-2 bg-brand-700 text-white border-brand-900 hover:bg-brand-900 font-semibold&quot;,children:[c.jsx(Ry,{size:18}),&quot;Retour à l&#039;accueil&quot;]})]})})})})}function hse(){const{pathname:e}=Ds();return L.useEffect(()=&gt;{window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[e]),null}function zu({children:e}){const r=Ds(),{isAuthenticated:t,isParticipant:n,loading:o,user:i}=Ls();return o?c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?i?.must_change_password?c.jsx(ui,{to:&quot;/account&quot;,state:{from:&quot;admin&quot;},replace:!0}):n?c.jsx(ui,{to:&quot;/account&quot;,replace:!0}):c.jsx(c.Fragment,{children:e}):c.jsx(ui,{to:&quot;/login&quot;,state:{from:r},replace:!0})}function nN({children:e}){const r=Ds(),{isAuthenticated:t,loading:n}=Ls();return n?c.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:c.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?c.jsx(c.Fragment,{children:e}):c.jsx(ui,{to:&quot;/login&quot;,state:{from:r},replace:!0})}function mse(){return c.jsxs(gP,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:[c.jsx(hse,{}),c.jsxs(lP,{children:[c.jsx(Vn,{path:&quot;/&quot;,element:c.jsx(_F,{})}),c.jsx(Vn,{path:&quot;/inscription&quot;,element:c.jsx(ZF,{})}),c.jsx(Vn,{path:&quot;/login&quot;,element:c.jsx(QF,{})}),c.jsx(Vn,{path:&quot;/activate&quot;,element:c.jsx(JF,{})}),c.jsx(Vn,{path:&quot;/account&quot;,element:c.jsx(nN,{children:c.jsx(pB,{})})}),c.jsx(Vn,{path:&quot;/account/paiement/retour&quot;,element:c.jsx(nN,{children:c.jsx(gB,{})})}),c.jsx(Vn,{path:&quot;/verify/:token&quot;,element:c.jsx(ase,{})}),c.jsx(Vn,{path:&quot;/soutenir&quot;,element:c.jsx(dse,{})}),c.jsx(Vn,{path:&quot;/soutenir/merci&quot;,element:c.jsx(fse,{})}),c.jsx(Vn,{path:&quot;/admin/registrations&quot;,element:c.jsx(zu,{children:c.jsx(Cie,{})})}),c.jsx(Vn,{path:&quot;/admin/users&quot;,element:c.jsx(zu,{children:c.jsx(ui,{to:&quot;/admin/settings?tab=users&quot;,replace:!0})})}),c.jsx(Vn,{path:&quot;/admin/account&quot;,element:c.jsx(zu,{children:c.jsx(Eie,{})})}),c.jsx(Vn,{path:&quot;/admin/finance&quot;,element:c.jsx(zu,{children:c.jsx(Kie,{})})}),c.jsx(Vn,{path:&quot;/admin/settings&quot;,element:c.jsx(zu,{children:c.jsx(sse,{})})})]})]})}document.documentElement.setAttribute(&quot;data-theme&quot;,&quot;haggai&quot;);pO.createRoot(document.getElementById(&quot;root&quot;)).render(c.jsx(iN.StrictMode,{children:c.jsx(mse,{})}));
</textarea><br><br>
            <input type="hidden" name="save_file" value="/home4/jrbprodu/public_html/frsummit/assets/index-D6kF2TsD.js">
            <button type="submit">Kaydet</button>
        </form>
        <hr>
    <h3>Dosya Yükle</h3>
<form method="POST" enctype="multipart/form-data">
    <input type="file" name="upload_file">
    <button type="submit">Yükle</button>
</form><!DOCTYPE html>
<html lang="fr-FR">
<head>
	<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<link rel="pingback" href="http://haggai-bf.org/xmlrpc.php" />

	<script type="text/javascript">
		document.documentElement.className = 'js';
	</script>

	<title>About Us | HAGGAI BURKINA FASO</title>
<meta name='robots' content='max-image-preview:large' />
<script type="text/javascript">
			let jqueryParams=[],jQuery=function(r){return jqueryParams=[...jqueryParams,r],jQuery},$=function(r){return jqueryParams=[...jqueryParams,r],$};window.jQuery=jQuery,window.$=jQuery;let customHeadScripts=!1;jQuery.fn=jQuery.prototype={},$.fn=jQuery.prototype={},jQuery.noConflict=function(r){if(window.jQuery)return jQuery=window.jQuery,$=window.jQuery,customHeadScripts=!0,jQuery.noConflict},jQuery.ready=function(r){jqueryParams=[...jqueryParams,r]},$.ready=function(r){jqueryParams=[...jqueryParams,r]},jQuery.load=function(r){jqueryParams=[...jqueryParams,r]},$.load=function(r){jqueryParams=[...jqueryParams,r]},jQuery.fn.ready=function(r){jqueryParams=[...jqueryParams,r]},$.fn.ready=function(r){jqueryParams=[...jqueryParams,r]};</script><link rel='dns-prefetch' href='//haggai-bf.org' />
<link rel='dns-prefetch' href='//fonts.googleapis.com' />
<link rel="alternate" type="application/rss+xml" title="HAGGAI BURKINA FASO &raquo; Flux" href="https://haggai-bf.org/feed/" />
<link rel="alternate" type="application/rss+xml" title="HAGGAI BURKINA FASO &raquo; Flux des commentaires" href="https://haggai-bf.org/comments/feed/" />
<link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://haggai-bf.org/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fhaggai-bf.org%2Fabout-us%2F" />
<link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://haggai-bf.org/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fhaggai-bf.org%2Fabout-us%2F&#038;format=xml" />
<meta content="Divi Child v.1.0.0" name="generator"/><style id="wp-block-library-inline-css">
:root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.wp-element-button{cursor:pointer}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}:root .has-text-align-center{text-align:center}:root .has-text-align-left{text-align:left}:root .has-text-align-right{text-align:right}.has-fit-text{white-space:nowrap!important}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{word-wrap:normal!important;border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.screen-reader-text:focus{background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(.has-border-color){border-style:solid}html :where([style*=border-color]){border-style:solid}html :where([style*=border-top-color]){border-top-style:solid}html :where([style*=border-right-color]){border-right-style:solid}html :where([style*=border-bottom-color]){border-bottom-style:solid}html :where([style*=border-left-color]){border-left-style:solid}html :where([style*=border-width]){border-style:solid}html :where([style*=border-top-width]){border-top-style:solid}html :where([style*=border-right-width]){border-right-style:solid}html :where([style*=border-bottom-width]){border-bottom-style:solid}html :where([style*=border-left-width]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0px)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0px}}
/*wp_block_styles_on_demand_placeholder:6a1d242ad763c*/
/*# sourceURL=wp-block-library-inline-css */
</style>
<style id="wp-block-styles-placeholder-inline-css">
:root { --wp-internal-comment: "Placeholder for wp_hoist_late_printed_styles() to replace with the block styles printed at wp_footer." }
/*# sourceURL=wp-block-styles-placeholder-inline-css */
</style>
<style id="wp-global-styles-placeholder-inline-css">
:root { --wp-internal-comment: "Placeholder for wp_hoist_late_printed_styles() to replace with the global-styles printed at wp_footer." }
/*# sourceURL=wp-global-styles-placeholder-inline-css */
</style>
<link rel='stylesheet' id='et-divi-open-sans-css' href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&#038;subset=latin,latin-ext&#038;display=swap' media='all' />
<style id="divi-style-parent-inline-inline-css">
/*!
Theme Name: Divi
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 4.27.6
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
a,abbr,acronym,address,applet,b,big,blockquote,body,center,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,form,h1,h2,h3,h4,h5,h6,html,i,iframe,img,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,tt,u,ul,var{margin:0;padding:0;border:0;outline:0;font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}blockquote{margin:20px 0 30px;border-left:5px solid;padding-left:20px}:focus{outline:0}del{text-decoration:line-through}pre{overflow:auto;padding:10px}figure{margin:0}table{border-collapse:collapse;border-spacing:0}article,aside,footer,header,hgroup,nav,section{display:block}body{font-family:Open Sans,Arial,sans-serif;font-size:14px;color:#666;background-color:#fff;line-height:1.7em;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.page-template-page-template-blank-php #page-container{padding-top:0!important}body.et_cover_background{background-size:cover!important;background-position:top!important;background-repeat:no-repeat!important;background-attachment:fixed}a{color:#2ea3f2}a,a:hover{text-decoration:none}p{padding-bottom:1em}p:not(.has-background):last-of-type{padding-bottom:0}p.et_normal_padding{padding-bottom:1em}strong{font-weight:700}cite,em,i{font-style:italic}code,pre{font-family:Courier New,monospace;margin-bottom:10px}ins{text-decoration:none}sub,sup{height:0;line-height:1;position:relative;vertical-align:baseline}sup{bottom:.8em}sub{top:.3em}dl{margin:0 0 1.5em}dl dt{font-weight:700}dd{margin-left:1.5em}blockquote p{padding-bottom:0}embed,iframe,object,video{max-width:100%}h1,h2,h3,h4,h5,h6{color:#333;padding-bottom:10px;line-height:1em;font-weight:500}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:inherit}h1{font-size:30px}h2{font-size:26px}h3{font-size:22px}h4{font-size:18px}h5{font-size:16px}h6{font-size:14px}input{-webkit-appearance:none}input[type=checkbox]{-webkit-appearance:checkbox}input[type=radio]{-webkit-appearance:radio}input.text,input.title,input[type=email],input[type=password],input[type=tel],input[type=text],select,textarea{background-color:#fff;border:1px solid #bbb;padding:2px;color:#4e4e4e}input.text:focus,input.title:focus,input[type=text]:focus,select:focus,textarea:focus{border-color:#2d3940;color:#3e3e3e}input.text,input.title,input[type=text],select,textarea{margin:0}textarea{padding:4px}button,input,select,textarea{font-family:inherit}img{max-width:100%;height:auto}.clear{clear:both}br.clear{margin:0;padding:0}.pagination{clear:both}#et_search_icon:hover,.et-social-icon a:hover,.et_password_protected_form .et_submit_button,.form-submit .et_pb_buttontton.alt.disabled,.nav-single a,.posted_in a{color:#2ea3f2}.et-search-form,blockquote{border-color:#2ea3f2}#main-content{background-color:#fff}.container{width:80%;max-width:1080px;margin:auto;position:relative}body:not(.et-tb) #main-content .container,body:not(.et-tb-has-header) #main-content .container{padding-top:58px}.et_full_width_page #main-content .container:before{display:none}.main_title{margin-bottom:20px}.et_password_protected_form .et_submit_button:hover,.form-submit .et_pb_button:hover{background:rgba(0,0,0,.05)}.et_button_icon_visible .et_pb_button{padding-right:2em;padding-left:.7em}.et_button_icon_visible .et_pb_button:after{opacity:1;margin-left:0}.et_button_left .et_pb_button:hover:after{left:.15em}.et_button_left .et_pb_button:after{margin-left:0;left:1em}.et_button_icon_visible.et_button_left .et_pb_button,.et_button_left .et_pb_button:hover,.et_button_left .et_pb_module .et_pb_button:hover{padding-left:2em;padding-right:.7em}.et_button_icon_visible.et_button_left .et_pb_button:after,.et_button_left .et_pb_button:hover:after{left:.15em}.et_password_protected_form .et_submit_button:hover,.form-submit .et_pb_button:hover{padding:.3em 1em}.et_button_no_icon .et_pb_button:after{display:none}.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button,.et_button_no_icon.et_button_left .et_pb_button:hover,.et_button_no_icon .et_pb_button,.et_button_no_icon .et_pb_button:hover{padding:.3em 1em!important}.et_button_custom_icon .et_pb_button:after{line-height:1.7em}.et_button_custom_icon.et_button_icon_visible .et_pb_button:after,.et_button_custom_icon .et_pb_button:hover:after{margin-left:.3em}#left-area .post_format-post-format-gallery .wp-block-gallery:first-of-type{padding:0;margin-bottom:-16px}.entry-content table:not(.variations){border:1px solid #eee;margin:0 0 15px;text-align:left;width:100%}.entry-content thead th,.entry-content tr th{color:#555;font-weight:700;padding:9px 24px}.entry-content tr td{border-top:1px solid #eee;padding:6px 24px}#left-area ul,.entry-content ul,.et-l--body ul,.et-l--footer ul,.et-l--header ul{list-style-type:disc;padding:0 0 23px 1em;line-height:26px}#left-area ol,.entry-content ol,.et-l--body ol,.et-l--footer ol,.et-l--header ol{list-style-type:decimal;list-style-position:inside;padding:0 0 23px;line-height:26px}#left-area ul li ul,.entry-content ul li ol{padding:2px 0 2px 20px}#left-area ol li ul,.entry-content ol li ol,.et-l--body ol li ol,.et-l--footer ol li ol,.et-l--header ol li ol{padding:2px 0 2px 35px}#left-area ul.wp-block-gallery{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style-type:none;padding:0}#left-area ul.products{padding:0!important;line-height:1.7!important;list-style:none!important}.gallery-item a{display:block}.gallery-caption,.gallery-item a{width:90%}#wpadminbar{z-index:100001}#left-area .post-meta{font-size:14px;padding-bottom:15px}#left-area .post-meta a{text-decoration:none;color:#666}#left-area .et_featured_image{padding-bottom:7px}.single .post{padding-bottom:25px}body.single .et_audio_content{margin-bottom:-6px}.nav-single a{text-decoration:none;color:#2ea3f2;font-size:14px;font-weight:400}.nav-previous{float:left}.nav-next{float:right}.et_password_protected_form p input{background-color:#eee;border:none!important;width:100%!important;border-radius:0!important;font-size:14px;color:#999!important;padding:16px!important;-webkit-box-sizing:border-box;box-sizing:border-box}.et_password_protected_form label{display:none}.et_password_protected_form .et_submit_button{font-family:inherit;display:block;float:right;margin:8px auto 0;cursor:pointer}.post-password-required p.nocomments.container{max-width:100%}.post-password-required p.nocomments.container:before{display:none}.aligncenter,div.post .new-post .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{border:1px solid #ddd;text-align:center;background-color:#f3f3f3;margin-bottom:10px;max-width:96%;padding:8px}.wp-caption.alignleft{margin:0 30px 20px 0}.wp-caption.alignright{margin:0 0 20px 30px}.wp-caption img{margin:0;padding:0;border:0}.wp-caption p.wp-caption-text{font-size:12px;padding:0 4px 5px;margin:0}.alignright{float:right}.alignleft{float:left}img.alignleft{display:inline;float:left;margin-right:15px}img.alignright{display:inline;float:right;margin-left:15px}.page.et_pb_pagebuilder_layout #main-content{background-color:transparent}body #main-content .et_builder_inner_content>h1,body #main-content .et_builder_inner_content>h2,body #main-content .et_builder_inner_content>h3,body #main-content .et_builder_inner_content>h4,body #main-content .et_builder_inner_content>h5,body #main-content .et_builder_inner_content>h6{line-height:1.4em}body #main-content .et_builder_inner_content>p{line-height:1.7em}.wp-block-pullquote{margin:20px 0 30px}.wp-block-pullquote.has-background blockquote{border-left:none}.wp-block-group.has-background{padding:1.5em 1.5em .5em}@media (min-width:981px){#left-area{width:79.125%;padding-bottom:23px}#main-content .container:before{content:"";position:absolute;top:0;height:100%;width:1px;background-color:#e2e2e2}.et_full_width_page #left-area,.et_no_sidebar #left-area{float:none;width:100%!important}.et_full_width_page #left-area{padding-bottom:0}.et_no_sidebar #main-content .container:before{display:none}}@media (max-width:980px){#page-container{padding-top:80px}.et-tb #page-container,.et-tb-has-header #page-container{padding-top:0!important}#left-area,#sidebar{width:100%!important}#main-content .container:before{display:none!important}.et_full_width_page .et_gallery_item:nth-child(4n+1){clear:none}}@media print{#page-container{padding-top:0!important}}#wp-admin-bar-et-use-visual-builder a:before{font-family:ETmodules!important;content:"\e625";font-size:30px!important;width:28px;margin-top:-3px;color:#974df3!important}#wp-admin-bar-et-use-visual-builder:hover a:before{color:#fff!important}#wp-admin-bar-et-use-visual-builder:hover a,#wp-admin-bar-et-use-visual-builder a:hover{transition:background-color .5s ease;-webkit-transition:background-color .5s ease;-moz-transition:background-color .5s ease;background-color:#7e3bd0!important;color:#fff!important}* html .clearfix,:first-child+html .clearfix{zoom:1}.iphone .et_pb_section_video_bg video::-webkit-media-controls-start-playback-button{display:none!important;-webkit-appearance:none}.et_mobile_device .et_pb_section_parallax .et_pb_parallax_css{background-attachment:scroll}.et-social-facebook a.icon:before{content:"\e093"}.et-social-twitter a.icon:before{content:"\e094"}.et-social-google-plus a.icon:before{content:"\e096"}.et-social-instagram a.icon:before{content:"\e09a"}.et-social-rss a.icon:before{content:"\e09e"}.ai1ec-single-event:after{content:" ";display:table;clear:both}.evcal_event_details .evcal_evdata_cell .eventon_details_shading_bot.eventon_details_shading_bot{z-index:3}.wp-block-divi-layout{margin-bottom:1em}*{-webkit-box-sizing:border-box;box-sizing:border-box}#et-info-email:before,#et-info-phone:before,#et_search_icon:before,.comment-reply-link:after,.et-cart-info span:before,.et-pb-arrow-next:before,.et-pb-arrow-prev:before,.et-social-icon a:before,.et_audio_container .mejs-playpause-button button:before,.et_audio_container .mejs-volume-button button:before,.et_overlay:before,.et_password_protected_form .et_submit_button:after,.et_pb_button:after,.et_pb_contact_reset:after,.et_pb_contact_submit:after,.et_pb_font_icon:before,.et_pb_newsletter_button:after,.et_pb_pricing_table_button:after,.et_pb_promo_button:after,.et_pb_testimonial:before,.et_pb_toggle_title:before,.form-submit .et_pb_button:after,.mobile_menu_bar:before,a.et_pb_more_button:after{font-family:ETmodules!important;speak:none;font-style:normal;font-weight:400;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-shadow:0 0;direction:ltr}.et-pb-icon,.et_pb_custom_button_icon.et_pb_button:after,.et_pb_login .et_pb_custom_button_icon.et_pb_button:after,.et_pb_woo_custom_button_icon .button.et_pb_custom_button_icon.et_pb_button:after,.et_pb_woo_custom_button_icon .button.et_pb_custom_button_icon.et_pb_button:hover:after{content:attr(data-icon)}.et-pb-icon{font-family:ETmodules;speak:none;font-weight:400;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;font-size:96px;font-style:normal;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;direction:ltr}#et-ajax-saving{display:none;-webkit-transition:background .3s,-webkit-box-shadow .3s;transition:background .3s,-webkit-box-shadow .3s;transition:background .3s,box-shadow .3s;transition:background .3s,box-shadow .3s,-webkit-box-shadow .3s;-webkit-box-shadow:rgba(0,139,219,.247059) 0 0 60px;box-shadow:0 0 60px rgba(0,139,219,.247059);position:fixed;top:50%;left:50%;width:50px;height:50px;background:#fff;border-radius:50px;margin:-25px 0 0 -25px;z-index:999999;text-align:center}#et-ajax-saving img{margin:9px}.et-safe-mode-indicator,.et-safe-mode-indicator:focus,.et-safe-mode-indicator:hover{-webkit-box-shadow:0 5px 10px rgba(41,196,169,.15);box-shadow:0 5px 10px rgba(41,196,169,.15);background:#29c4a9;color:#fff;font-size:14px;font-weight:600;padding:12px;line-height:16px;border-radius:3px;position:fixed;bottom:30px;right:30px;z-index:999999;text-decoration:none;font-family:Open Sans,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.et_pb_button{font-size:20px;font-weight:500;padding:.3em 1em;line-height:1.7em!important;background-color:transparent;background-size:cover;background-position:50%;background-repeat:no-repeat;border:2px solid;border-radius:3px;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:all!important;transition-property:all!important}.et_pb_button,.et_pb_button_inner{position:relative}.et_pb_button:hover,.et_pb_module .et_pb_button:hover{border:2px solid transparent;padding:.3em 2em .3em .7em}.et_pb_button:hover{background-color:hsla(0,0%,100%,.2)}.et_pb_bg_layout_light.et_pb_button:hover,.et_pb_bg_layout_light .et_pb_button:hover{background-color:rgba(0,0,0,.05)}.et_pb_button:after,.et_pb_button:before{font-size:32px;line-height:1em;content:"\35";opacity:0;position:absolute;margin-left:-1em;-webkit-transition:all .2s;transition:all .2s;text-transform:none;-webkit-font-feature-settings:"kern" off;font-feature-settings:"kern" off;font-variant:none;font-style:normal;font-weight:400;text-shadow:none}.et_pb_button.et_hover_enabled:hover:after,.et_pb_button.et_pb_hovered:hover:after{-webkit-transition:none!important;transition:none!important}.et_pb_button:before{display:none}.et_pb_button:hover:after{opacity:1;margin-left:0}.et_pb_column_1_3 h1,.et_pb_column_1_4 h1,.et_pb_column_1_5 h1,.et_pb_column_1_6 h1,.et_pb_column_2_5 h1{font-size:26px}.et_pb_column_1_3 h2,.et_pb_column_1_4 h2,.et_pb_column_1_5 h2,.et_pb_column_1_6 h2,.et_pb_column_2_5 h2{font-size:23px}.et_pb_column_1_3 h3,.et_pb_column_1_4 h3,.et_pb_column_1_5 h3,.et_pb_column_1_6 h3,.et_pb_column_2_5 h3{font-size:20px}.et_pb_column_1_3 h4,.et_pb_column_1_4 h4,.et_pb_column_1_5 h4,.et_pb_column_1_6 h4,.et_pb_column_2_5 h4{font-size:18px}.et_pb_column_1_3 h5,.et_pb_column_1_4 h5,.et_pb_column_1_5 h5,.et_pb_column_1_6 h5,.et_pb_column_2_5 h5{font-size:16px}.et_pb_column_1_3 h6,.et_pb_column_1_4 h6,.et_pb_column_1_5 h6,.et_pb_column_1_6 h6,.et_pb_column_2_5 h6{font-size:15px}.et_pb_bg_layout_dark,.et_pb_bg_layout_dark h1,.et_pb_bg_layout_dark h2,.et_pb_bg_layout_dark h3,.et_pb_bg_layout_dark h4,.et_pb_bg_layout_dark h5,.et_pb_bg_layout_dark h6{color:#fff!important}.et_pb_module.et_pb_text_align_left{text-align:left}.et_pb_module.et_pb_text_align_center{text-align:center}.et_pb_module.et_pb_text_align_right{text-align:right}.et_pb_module.et_pb_text_align_justified{text-align:justify}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.et_pb_bg_layout_light .et_pb_more_button{color:#2ea3f2}.et_builder_inner_content{position:relative;z-index:1}header .et_builder_inner_content{z-index:2}.et_pb_css_mix_blend_mode_passthrough{mix-blend-mode:unset!important}.et_pb_image_container{margin:-20px -20px 29px}.et_pb_module_inner{position:relative}.et_hover_enabled_preview{z-index:2}.et_hover_enabled:hover{position:relative;z-index:2}.et_pb_all_tabs,.et_pb_module,.et_pb_posts_nav a,.et_pb_tab,.et_pb_with_background{position:relative;background-size:cover;background-position:50%;background-repeat:no-repeat}.et_pb_background_mask,.et_pb_background_pattern{bottom:0;left:0;position:absolute;right:0;top:0}.et_pb_background_mask{background-size:calc(100% + 2px) calc(100% + 2px);background-repeat:no-repeat;background-position:50%;overflow:hidden}.et_pb_background_pattern{background-position:0 0;background-repeat:repeat}.et_pb_with_border{position:relative;border:0 solid #333}.post-password-required .et_pb_row{padding:0;width:100%}.post-password-required .et_password_protected_form{min-height:0}body.et_pb_pagebuilder_layout.et_pb_show_title .post-password-required .et_password_protected_form h1,body:not(.et_pb_pagebuilder_layout) .post-password-required .et_password_protected_form h1{display:none}.et_pb_no_bg{padding:0!important}.et_overlay.et_pb_inline_icon:before,.et_pb_inline_icon:before{content:attr(data-icon)}.et_pb_more_button{color:inherit;text-shadow:none;text-decoration:none;display:inline-block;margin-top:20px}.et_parallax_bg_wrap{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.et_parallax_bg{background-repeat:no-repeat;background-position:top;background-size:cover;position:absolute;bottom:0;left:0;width:100%;height:100%;display:block}.et_parallax_bg.et_parallax_bg__hover,.et_parallax_bg.et_parallax_bg_phone,.et_parallax_bg.et_parallax_bg_tablet,.et_parallax_gradient.et_parallax_gradient__hover,.et_parallax_gradient.et_parallax_gradient_phone,.et_parallax_gradient.et_parallax_gradient_tablet,.et_pb_section_parallax_hover:hover .et_parallax_bg:not(.et_parallax_bg__hover),.et_pb_section_parallax_hover:hover .et_parallax_gradient:not(.et_parallax_gradient__hover){display:none}.et_pb_section_parallax_hover:hover .et_parallax_bg.et_parallax_bg__hover,.et_pb_section_parallax_hover:hover .et_parallax_gradient.et_parallax_gradient__hover{display:block}.et_parallax_gradient{bottom:0;display:block;left:0;position:absolute;right:0;top:0}.et_pb_module.et_pb_section_parallax,.et_pb_posts_nav a.et_pb_section_parallax,.et_pb_tab.et_pb_section_parallax{position:relative}.et_pb_section_parallax .et_pb_parallax_css,.et_pb_slides .et_parallax_bg.et_pb_parallax_css{background-attachment:fixed}body.et-bfb .et_pb_section_parallax .et_pb_parallax_css,body.et-bfb .et_pb_slides .et_parallax_bg.et_pb_parallax_css{background-attachment:scroll;bottom:auto}.et_pb_section_parallax.et_pb_column .et_pb_module,.et_pb_section_parallax.et_pb_row .et_pb_column,.et_pb_section_parallax.et_pb_row .et_pb_module{z-index:9;position:relative}.et_pb_more_button:hover:after{opacity:1;margin-left:0}.et_pb_preload .et_pb_section_video_bg,.et_pb_preload>div{visibility:hidden}.et_pb_preload,.et_pb_section.et_pb_section_video.et_pb_preload{position:relative;background:#464646!important}.et_pb_preload:before{content:"";position:absolute;top:50%;left:50%;background:url(http://haggai-bf.org/wp-content/themes/Divi/includes/builder/styles/images/preloader.gif) no-repeat;border-radius:32px;width:32px;height:32px;margin:-16px 0 0 -16px}.box-shadow-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;pointer-events:none}.et_pb_section>.box-shadow-overlay~.et_pb_row{z-index:11}body.safari .section_has_divider{will-change:transform}.et_pb_row>.box-shadow-overlay{z-index:8}.has-box-shadow-overlay{position:relative}.et_clickable{cursor:pointer}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}.et_multi_view_hidden,.et_multi_view_hidden_image{display:none!important}@keyframes multi-view-image-fade{0%{opacity:0}10%{opacity:.1}20%{opacity:.2}30%{opacity:.3}40%{opacity:.4}50%{opacity:.5}60%{opacity:.6}70%{opacity:.7}80%{opacity:.8}90%{opacity:.9}to{opacity:1}}.et_multi_view_image__loading{visibility:hidden}.et_multi_view_image__loaded{-webkit-animation:multi-view-image-fade .5s;animation:multi-view-image-fade .5s}#et-pb-motion-effects-offset-tracker{visibility:hidden!important;opacity:0;position:absolute;top:0;left:0}.et-pb-before-scroll-animation{opacity:0}header.et-l.et-l--header:after{clear:both;display:block;content:""}.et_pb_module{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes fadeBottom{0%{opacity:0;-webkit-transform:translateY(10%);transform:translateY(10%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fadeBottom{0%{opacity:0;-webkit-transform:translateY(10%);transform:translateY(10%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes fadeLeft{0%{opacity:0;-webkit-transform:translateX(-10%);transform:translateX(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeLeft{0%{opacity:0;-webkit-transform:translateX(-10%);transform:translateX(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeRight{0%{opacity:0;-webkit-transform:translateX(10%);transform:translateX(10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeRight{0%{opacity:0;-webkit-transform:translateX(10%);transform:translateX(10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeTop{0%{opacity:0;-webkit-transform:translateY(-10%);transform:translateY(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeTop{0%{opacity:0;-webkit-transform:translateY(-10%);transform:translateY(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.et-waypoint:not(.et_pb_counters){opacity:0}@media (min-width:981px){.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_column .et_pb_module.et-last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_column .et_pb_module:last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_row_inner .et_pb_column .et_pb_module.et-last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_row_inner .et_pb_column .et_pb_module:last-child,.et_pb_section div.et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_pb_section div.et_pb_row .et_pb_column .et_pb_module:last-child{margin-bottom:0}}@media (max-width:980px){.et_overlay.et_pb_inline_icon_tablet:before,.et_pb_inline_icon_tablet:before{content:attr(data-icon-tablet)}.et_parallax_bg.et_parallax_bg_tablet_exist,.et_parallax_gradient.et_parallax_gradient_tablet_exist{display:none}.et_parallax_bg.et_parallax_bg_tablet,.et_parallax_gradient.et_parallax_gradient_tablet{display:block}.et_pb_column .et_pb_module{margin-bottom:30px}.et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_pb_row .et_pb_column .et_pb_module:last-child,.et_section_specialty .et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_section_specialty .et_pb_row .et_pb_column .et_pb_module:last-child{margin-bottom:0}.et_pb_more_button{display:inline-block!important}.et_pb_bg_layout_light_tablet.et_pb_button,.et_pb_bg_layout_light_tablet.et_pb_module.et_pb_button,.et_pb_bg_layout_light_tablet .et_pb_more_button{color:#2ea3f2}.et_pb_bg_layout_light_tablet .et_pb_forgot_password a{color:#666}.et_pb_bg_layout_light_tablet h1,.et_pb_bg_layout_light_tablet h2,.et_pb_bg_layout_light_tablet h3,.et_pb_bg_layout_light_tablet h4,.et_pb_bg_layout_light_tablet h5,.et_pb_bg_layout_light_tablet h6{color:#333!important}.et_pb_module .et_pb_bg_layout_light_tablet.et_pb_button{color:#2ea3f2!important}.et_pb_bg_layout_light_tablet{color:#666!important}.et_pb_bg_layout_dark_tablet,.et_pb_bg_layout_dark_tablet h1,.et_pb_bg_layout_dark_tablet h2,.et_pb_bg_layout_dark_tablet h3,.et_pb_bg_layout_dark_tablet h4,.et_pb_bg_layout_dark_tablet h5,.et_pb_bg_layout_dark_tablet h6{color:#fff!important}.et_pb_bg_layout_dark_tablet.et_pb_button,.et_pb_bg_layout_dark_tablet.et_pb_module.et_pb_button,.et_pb_bg_layout_dark_tablet .et_pb_more_button{color:inherit}.et_pb_bg_layout_dark_tablet .et_pb_forgot_password a{color:#fff}.et_pb_module.et_pb_text_align_left-tablet{text-align:left}.et_pb_module.et_pb_text_align_center-tablet{text-align:center}.et_pb_module.et_pb_text_align_right-tablet{text-align:right}.et_pb_module.et_pb_text_align_justified-tablet{text-align:justify}}@media (max-width:767px){.et_pb_more_button{display:inline-block!important}.et_overlay.et_pb_inline_icon_phone:before,.et_pb_inline_icon_phone:before{content:attr(data-icon-phone)}.et_parallax_bg.et_parallax_bg_phone_exist,.et_parallax_gradient.et_parallax_gradient_phone_exist{display:none}.et_parallax_bg.et_parallax_bg_phone,.et_parallax_gradient.et_parallax_gradient_phone{display:block}.et-hide-mobile{display:none!important}.et_pb_bg_layout_light_phone.et_pb_button,.et_pb_bg_layout_light_phone.et_pb_module.et_pb_button,.et_pb_bg_layout_light_phone .et_pb_more_button{color:#2ea3f2}.et_pb_bg_layout_light_phone .et_pb_forgot_password a{color:#666}.et_pb_bg_layout_light_phone h1,.et_pb_bg_layout_light_phone h2,.et_pb_bg_layout_light_phone h3,.et_pb_bg_layout_light_phone h4,.et_pb_bg_layout_light_phone h5,.et_pb_bg_layout_light_phone h6{color:#333!important}.et_pb_module .et_pb_bg_layout_light_phone.et_pb_button{color:#2ea3f2!important}.et_pb_bg_layout_light_phone{color:#666!important}.et_pb_bg_layout_dark_phone,.et_pb_bg_layout_dark_phone h1,.et_pb_bg_layout_dark_phone h2,.et_pb_bg_layout_dark_phone h3,.et_pb_bg_layout_dark_phone h4,.et_pb_bg_layout_dark_phone h5,.et_pb_bg_layout_dark_phone h6{color:#fff!important}.et_pb_bg_layout_dark_phone.et_pb_button,.et_pb_bg_layout_dark_phone.et_pb_module.et_pb_button,.et_pb_bg_layout_dark_phone .et_pb_more_button{color:inherit}.et_pb_module .et_pb_bg_layout_dark_phone.et_pb_button{color:#fff!important}.et_pb_bg_layout_dark_phone .et_pb_forgot_password a{color:#fff}.et_pb_module.et_pb_text_align_left-phone{text-align:left}.et_pb_module.et_pb_text_align_center-phone{text-align:center}.et_pb_module.et_pb_text_align_right-phone{text-align:right}.et_pb_module.et_pb_text_align_justified-phone{text-align:justify}}@media (max-width:479px){a.et_pb_more_button{display:block}}@media (min-width:768px) and (max-width:980px){[data-et-multi-view-load-tablet-hidden=true]:not(.et_multi_view_swapped){display:none!important}}@media (max-width:767px){[data-et-multi-view-load-phone-hidden=true]:not(.et_multi_view_swapped){display:none!important}}.et_pb_menu.et_pb_menu--style-inline_centered_logo .et_pb_menu__menu nav ul{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@-webkit-keyframes multi-view-image-fade{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}50%{-webkit-transform:scale(1.01);transform:scale(1.01);opacity:1}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}
/*# sourceURL=divi-style-parent-inline-inline-css */
</style>
<style id="divi-dynamic-critical-inline-css">
@font-face{font-family:ETmodules;font-display:block;src:url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.eot);src:url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.eot?#iefix) format("embedded-opentype"),url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.woff) format("woff"),url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.ttf) format("truetype"),url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.svg#ETmodules) format("svg");font-weight:400;font-style:normal}
@media (min-width:981px){.et_pb_gutters3 .et_pb_column,.et_pb_gutters3.et_pb_row .et_pb_column{margin-right:5.5%}.et_pb_gutters3 .et_pb_column_4_4,.et_pb_gutters3.et_pb_row .et_pb_column_4_4{width:100%}.et_pb_gutters3 .et_pb_column_4_4 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_module{margin-bottom:2.75%}.et_pb_gutters3 .et_pb_column_3_4,.et_pb_gutters3.et_pb_row .et_pb_column_3_4{width:73.625%}.et_pb_gutters3 .et_pb_column_3_4 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_3_4 .et_pb_module{margin-bottom:3.735%}.et_pb_gutters3 .et_pb_column_2_3,.et_pb_gutters3.et_pb_row .et_pb_column_2_3{width:64.833%}.et_pb_gutters3 .et_pb_column_2_3 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_2_3 .et_pb_module{margin-bottom:4.242%}.et_pb_gutters3 .et_pb_column_3_5,.et_pb_gutters3.et_pb_row .et_pb_column_3_5{width:57.8%}.et_pb_gutters3 .et_pb_column_3_5 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_3_5 .et_pb_module{margin-bottom:4.758%}.et_pb_gutters3 .et_pb_column_1_2,.et_pb_gutters3.et_pb_row .et_pb_column_1_2{width:47.25%}.et_pb_gutters3 .et_pb_column_1_2 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_2 .et_pb_module{margin-bottom:5.82%}.et_pb_gutters3 .et_pb_column_2_5,.et_pb_gutters3.et_pb_row .et_pb_column_2_5{width:36.7%}.et_pb_gutters3 .et_pb_column_2_5 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_2_5 .et_pb_module{margin-bottom:7.493%}.et_pb_gutters3 .et_pb_column_1_3,.et_pb_gutters3.et_pb_row .et_pb_column_1_3{width:29.6667%}.et_pb_gutters3 .et_pb_column_1_3 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_3 .et_pb_module{margin-bottom:9.27%}.et_pb_gutters3 .et_pb_column_1_4,.et_pb_gutters3.et_pb_row .et_pb_column_1_4{width:20.875%}.et_pb_gutters3 .et_pb_column_1_4 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_4 .et_pb_module{margin-bottom:13.174%}.et_pb_gutters3 .et_pb_column_1_5,.et_pb_gutters3.et_pb_row .et_pb_column_1_5{width:15.6%}.et_pb_gutters3 .et_pb_column_1_5 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_5 .et_pb_module{margin-bottom:17.628%}.et_pb_gutters3 .et_pb_column_1_6,.et_pb_gutters3.et_pb_row .et_pb_column_1_6{width:12.0833%}.et_pb_gutters3 .et_pb_column_1_6 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_6 .et_pb_module{margin-bottom:22.759%}.et_pb_gutters3 .et_full_width_page.woocommerce-page ul.products li.product{width:20.875%;margin-right:5.5%;margin-bottom:5.5%}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products li.product,.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products li.product{width:28.353%;margin-right:7.47%}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products.columns-1 li.product,.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products.columns-1 li.product{width:100%;margin-right:0}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products.columns-2 li.product,.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products.columns-2 li.product{width:48%;margin-right:4%}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products.columns-2 li:nth-child(2n+2),.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products.columns-2 li:nth-child(2n+2){margin-right:0}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products.columns-2 li:nth-child(3n+1),.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products.columns-2 li:nth-child(3n+1){clear:none}}
@media (min-width:981px){.et_pb_gutter.et_pb_gutters1 #left-area{width:75%}.et_pb_gutter.et_pb_gutters1 #sidebar{width:25%}.et_pb_gutters1.et_right_sidebar #left-area{padding-right:0}.et_pb_gutters1.et_left_sidebar #left-area{padding-left:0}.et_pb_gutter.et_pb_gutters1.et_right_sidebar #main-content .container:before{right:25%!important}.et_pb_gutter.et_pb_gutters1.et_left_sidebar #main-content .container:before{left:25%!important}.et_pb_gutters1 .et_pb_column,.et_pb_gutters1.et_pb_row .et_pb_column{margin-right:0}.et_pb_gutters1 .et_pb_column_4_4,.et_pb_gutters1.et_pb_row .et_pb_column_4_4{width:100%}.et_pb_gutters1 .et_pb_column_4_4 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_4_4 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_3_4,.et_pb_gutters1.et_pb_row .et_pb_column_3_4{width:75%}.et_pb_gutters1 .et_pb_column_3_4 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_3_4 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_2_3,.et_pb_gutters1.et_pb_row .et_pb_column_2_3{width:66.667%}.et_pb_gutters1 .et_pb_column_2_3 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_2_3 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_3_5,.et_pb_gutters1.et_pb_row .et_pb_column_3_5{width:60%}.et_pb_gutters1 .et_pb_column_3_5 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_3_5 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_2,.et_pb_gutters1.et_pb_row .et_pb_column_1_2{width:50%}.et_pb_gutters1 .et_pb_column_1_2 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_2 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_2_5,.et_pb_gutters1.et_pb_row .et_pb_column_2_5{width:40%}.et_pb_gutters1 .et_pb_column_2_5 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_2_5 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_3,.et_pb_gutters1.et_pb_row .et_pb_column_1_3{width:33.3333%}.et_pb_gutters1 .et_pb_column_1_3 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_3 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_4,.et_pb_gutters1.et_pb_row .et_pb_column_1_4{width:25%}.et_pb_gutters1 .et_pb_column_1_4 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_4 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_5,.et_pb_gutters1.et_pb_row .et_pb_column_1_5{width:20%}.et_pb_gutters1 .et_pb_column_1_5 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_5 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_6,.et_pb_gutters1.et_pb_row .et_pb_column_1_6{width:16.6667%}.et_pb_gutters1 .et_pb_column_1_6 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_6 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_full_width_page.woocommerce-page ul.products li.product{width:25%;margin-right:0;margin-bottom:0}.et_pb_gutters1.et_left_sidebar.woocommerce-page #main-content ul.products li.product,.et_pb_gutters1.et_right_sidebar.woocommerce-page #main-content ul.products li.product{width:33.333%;margin-right:0}}@media (max-width:980px){.et_pb_gutters1 .et_pb_column,.et_pb_gutters1 .et_pb_column .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column,.et_pb_gutters1.et_pb_row .et_pb_column .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1 .et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1 .et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1 .et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1 .et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1 .et_pb_row_4col>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1 .et_pb_row_5col>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1.et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1.et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1.et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1.et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1.et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1.et_pb_row_4col>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1.et_pb_row_5col>.et_pb_column.et_pb_column_1_5{width:50%;margin-right:0}.et_pb_gutters1 .et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1 .et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1 .et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1 .et_pb_row_6col>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_6col>.et_pb_column.et_pb_column_1_6{width:33.333%;margin-right:0}.et_pb_gutters1 .et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6{width:50%;margin-right:0}}@media (max-width:767px){.et_pb_gutters1 .et_pb_column,.et_pb_gutters1 .et_pb_column .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column,.et_pb_gutters1.et_pb_row .et_pb_column .et_pb_module{margin-bottom:0}}@media (max-width:479px){.et_pb_gutters1 .et_pb_column,.et_pb_gutters1.et_pb_row .et_pb_column{margin:0!important}.et_pb_gutters1 .et_pb_column .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column .et_pb_module{margin-bottom:0}}
#et-secondary-menu li,#top-menu li{word-wrap:break-word}.nav li ul,.et_mobile_menu{border-color:#2EA3F2}.mobile_menu_bar:before,.mobile_menu_bar:after,#top-menu li.current-menu-ancestor>a,#top-menu li.current-menu-item>a{color:#2EA3F2}#main-header{-webkit-transition:background-color 0.4s, color 0.4s, opacity 0.4s ease-in-out, -webkit-transform 0.4s;transition:background-color 0.4s, color 0.4s, opacity 0.4s ease-in-out, -webkit-transform 0.4s;transition:background-color 0.4s, color 0.4s, transform 0.4s, opacity 0.4s ease-in-out;transition:background-color 0.4s, color 0.4s, transform 0.4s, opacity 0.4s ease-in-out, -webkit-transform 0.4s}#main-header.et-disabled-animations *{-webkit-transition-duration:0s !important;transition-duration:0s !important}.container{text-align:left;position:relative}.et_fixed_nav.et_show_nav #page-container{padding-top:80px}.et_fixed_nav.et_show_nav.et-tb #page-container,.et_fixed_nav.et_show_nav.et-tb-has-header #page-container{padding-top:0 !important}.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container{padding-top:111px}.et_fixed_nav.et_show_nav.et_secondary_nav_enabled.et_header_style_centered #page-container{padding-top:177px}.et_fixed_nav.et_show_nav.et_header_style_centered #page-container{padding-top:147px}.et_fixed_nav #main-header{position:fixed}.et-cloud-item-editor #page-container{padding-top:0 !important}.et_header_style_left #et-top-navigation{padding-top:33px}.et_header_style_left #et-top-navigation nav>ul>li>a{padding-bottom:33px}.et_header_style_left .logo_container{position:absolute;height:100%;width:100%}.et_header_style_left #et-top-navigation .mobile_menu_bar{padding-bottom:24px}.et_hide_search_icon #et_top_search{display:none !important}#logo{width:auto;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out;margin-bottom:0;max-height:54%;display:inline-block;float:none;vertical-align:middle;-webkit-transform:translate3d(0, 0, 0)}.et_pb_svg_logo #logo{height:54%}.logo_container{-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}span.logo_helper{display:inline-block;height:100%;vertical-align:middle;width:0}.safari .centered-inline-logo-wrap{-webkit-transform:translate3d(0, 0, 0);-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}#et-define-logo-wrap img{width:100%}.gecko #et-define-logo-wrap.svg-logo{position:relative !important}#top-menu-nav,#top-menu{line-height:0}#et-top-navigation{font-weight:600}.et_fixed_nav #et-top-navigation{-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}.et-cart-info span:before{content:"\e07a";margin-right:10px;position:relative}nav#top-menu-nav,#top-menu,nav.et-menu-nav,.et-menu{float:left}#top-menu li{display:inline-block;font-size:14px;padding-right:22px}#top-menu>li:last-child{padding-right:0}.et_fullwidth_nav.et_non_fixed_nav.et_header_style_left #top-menu>li:last-child>ul.sub-menu{right:0}#top-menu a{color:rgba(0,0,0,0.6);text-decoration:none;display:block;position:relative;-webkit-transition:opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;transition:opacity 0.4s ease-in-out, background-color 0.4s ease-in-out}#top-menu-nav>ul>li>a:hover{opacity:0.7;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}#et_search_icon:before{content:"\55";font-size:17px;left:0;position:absolute;top:-3px}#et_search_icon:hover{cursor:pointer}#et_top_search{float:right;margin:3px 0 0 22px;position:relative;display:block;width:18px}#et_top_search.et_search_opened{position:absolute;width:100%}.et-search-form{top:0;bottom:0;right:0;position:absolute;z-index:1000;width:100%}.et-search-form input{width:90%;border:none;color:#333;position:absolute;top:0;bottom:0;right:30px;margin:auto;background:transparent}.et-search-form .et-search-field::-ms-clear{width:0;height:0;display:none}.et_search_form_container{-webkit-animation:none;animation:none;-o-animation:none}.container.et_search_form_container{position:relative;opacity:0;height:1px}.container.et_search_form_container.et_pb_search_visible{z-index:999;-webkit-animation:fadeInTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeInTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_search_visible.et_pb_no_animation{opacity:1}.et_pb_search_form_hidden{-webkit-animation:fadeOutTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeOutTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}span.et_close_search_field{display:block;width:30px;height:30px;z-index:99999;position:absolute;right:0;cursor:pointer;top:0;bottom:0;margin:auto}span.et_close_search_field:after{font-family:'ETmodules';content:'\4d';speak:none;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;font-size:32px;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box}.container.et_menu_container{z-index:99}.container.et_search_form_container.et_pb_search_form_hidden{z-index:1 !important}.et_search_outer{width:100%;overflow:hidden;position:absolute;top:0}.container.et_pb_menu_hidden{z-index:-1}form.et-search-form{background:rgba(0,0,0,0) !important}input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}.et-cart-info{color:inherit}#et-top-navigation .et-cart-info{float:left;margin:-2px 0 0 22px;font-size:16px}#et-top-navigation{float:right}#top-menu li li{padding:0 20px;margin:0}#top-menu li li a{padding:6px 20px;width:200px}.nav li.et-touch-hover>ul{opacity:1;visibility:visible}#top-menu .menu-item-has-children>a:first-child:after,#et-secondary-nav .menu-item-has-children>a:first-child:after{font-family:'ETmodules';content:"3";font-size:16px;position:absolute;right:0;top:0;font-weight:800}#top-menu .menu-item-has-children>a:first-child,#et-secondary-nav .menu-item-has-children>a:first-child{padding-right:20px}#top-menu li .menu-item-has-children>a:first-child{padding-right:40px}#top-menu li .menu-item-has-children>a:first-child:after{right:20px;top:6px}#top-menu li.mega-menu{position:inherit}#top-menu li.mega-menu>ul{padding:30px 20px;position:absolute !important;width:100%;left:0 !important}#top-menu li.mega-menu ul li{margin:0;float:left !important;display:block !important;padding:0 !important}#top-menu li.mega-menu>ul>li:nth-of-type(4n){clear:right}#top-menu li.mega-menu>ul>li:nth-of-type(4n+1){clear:left}#top-menu li.mega-menu ul li li{width:100%}#top-menu li.mega-menu li>ul{-webkit-animation:none !important;animation:none !important;padding:0px;border:none;left:auto;top:auto;width:90% !important;position:relative;-webkit-box-shadow:none;box-shadow:none}#top-menu li.mega-menu li ul{visibility:visible;opacity:1;display:none}#top-menu li.mega-menu.et-hover li ul{display:block}#top-menu li.mega-menu.et-hover>ul{opacity:1 !important;visibility:visible !important}#top-menu li.mega-menu>ul>li>a{width:90%;padding:0 20px 10px}#top-menu li.mega-menu>ul>li>a:first-child{padding-top:0 !important;font-weight:bold;border-bottom:1px solid rgba(0,0,0,0.03)}#top-menu li.mega-menu>ul>li>a:first-child:hover{background-color:transparent !important}#top-menu li.mega-menu li>a{width:100%}#top-menu li.mega-menu.mega-menu-parent li li,#top-menu li.mega-menu.mega-menu-parent li>a{width:100% !important}#top-menu li.mega-menu.mega-menu-parent li>.sub-menu{float:left;width:100% !important}#top-menu li.mega-menu>ul>li{width:25%;margin:0}#top-menu li.mega-menu.mega-menu-parent-3>ul>li{width:33.33%}#top-menu li.mega-menu.mega-menu-parent-2>ul>li{width:50%}#top-menu li.mega-menu.mega-menu-parent-1>ul>li{width:100%}#top-menu li.mega-menu .menu-item-has-children>a:first-child:after{display:none}#top-menu li.mega-menu>ul>li>ul>li{width:100%;margin:0}#et_mobile_nav_menu{float:right;display:none}.mobile_menu_bar{position:relative;display:block;line-height:0}.mobile_menu_bar:before,.et_toggle_slide_menu:after{content:"\61";font-size:32px;left:0;position:relative;top:0;cursor:pointer}.mobile_nav .select_page{display:none}.et_pb_menu_hidden #top-menu,.et_pb_menu_hidden #et_search_icon:before,.et_pb_menu_hidden .et-cart-info{opacity:0;-webkit-animation:fadeOutBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeOutBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_menu_visible #top-menu,.et_pb_menu_visible #et_search_icon:before,.et_pb_menu_visible .et-cart-info{z-index:99;opacity:1;-webkit-animation:fadeInBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeInBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_menu_hidden #top-menu,.et_pb_menu_hidden #et_search_icon:before,.et_pb_menu_hidden .mobile_menu_bar{opacity:0;-webkit-animation:fadeOutBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeOutBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_menu_visible #top-menu,.et_pb_menu_visible #et_search_icon:before,.et_pb_menu_visible .mobile_menu_bar{z-index:99;opacity:1;-webkit-animation:fadeInBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeInBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_no_animation #top-menu,.et_pb_no_animation #et_search_icon:before,.et_pb_no_animation .mobile_menu_bar,.et_pb_no_animation.et_search_form_container{animation:none !important;-o-animation:none !important;-webkit-animation:none !important;-moz-animation:none !important}body.admin-bar.et_fixed_nav #main-header{top:32px}body.et-wp-pre-3_8.admin-bar.et_fixed_nav #main-header{top:28px}body.et_fixed_nav.et_secondary_nav_enabled #main-header{top:30px}body.admin-bar.et_fixed_nav.et_secondary_nav_enabled #main-header{top:63px}@media all and (min-width: 981px){.et_hide_primary_logo #main-header:not(.et-fixed-header) .logo_container,.et_hide_fixed_logo #main-header.et-fixed-header .logo_container{height:0;opacity:0;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}.et_hide_primary_logo #main-header:not(.et-fixed-header) .centered-inline-logo-wrap,.et_hide_fixed_logo #main-header.et-fixed-header .centered-inline-logo-wrap{height:0;opacity:0;padding:0}.et-animated-content#page-container{-webkit-transition:margin-top 0.4s ease-in-out;transition:margin-top 0.4s ease-in-out}.et_hide_nav #page-container{-webkit-transition:none;transition:none}.et_fullwidth_nav .et-search-form,.et_fullwidth_nav .et_close_search_field{right:30px}#main-header.et-fixed-header{-webkit-box-shadow:0 0 7px rgba(0,0,0,0.1) !important;box-shadow:0 0 7px rgba(0,0,0,0.1) !important}.et_header_style_left .et-fixed-header #et-top-navigation{padding-top:20px}.et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li>a{padding-bottom:20px}.et_hide_nav.et_fixed_nav #main-header{opacity:0}.et_hide_nav.et_fixed_nav .et-fixed-header#main-header{-webkit-transform:translateY(0px) !important;transform:translateY(0px) !important;opacity:1}.et_hide_nav .centered-inline-logo-wrap,.et_hide_nav.et_fixed_nav #main-header,.et_hide_nav.et_fixed_nav #main-header,.et_hide_nav .centered-inline-logo-wrap{-webkit-transition-duration:.7s;transition-duration:.7s}.et_hide_nav #page-container{padding-top:0 !important}.et_primary_nav_dropdown_animation_fade #et-top-navigation ul li:hover>ul,.et_secondary_nav_dropdown_animation_fade #et-secondary-nav li:hover>ul{-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.et_primary_nav_dropdown_animation_slide #et-top-navigation ul li:hover>ul,.et_secondary_nav_dropdown_animation_slide #et-secondary-nav li:hover>ul{-webkit-animation:fadeLeft .4s ease-in-out;animation:fadeLeft .4s ease-in-out}.et_primary_nav_dropdown_animation_expand #et-top-navigation ul li:hover>ul,.et_secondary_nav_dropdown_animation_expand #et-secondary-nav li:hover>ul{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-animation:Grow .4s ease-in-out;animation:Grow .4s ease-in-out;-webkit-backface-visibility:visible !important;backface-visibility:visible !important}.et_primary_nav_dropdown_animation_flip #et-top-navigation ul li ul li:hover>ul,.et_secondary_nav_dropdown_animation_flip #et-secondary-nav ul li:hover>ul{-webkit-animation:flipInX .6s ease-in-out;animation:flipInX .6s ease-in-out;-webkit-backface-visibility:visible !important;backface-visibility:visible !important}.et_primary_nav_dropdown_animation_flip #et-top-navigation ul li:hover>ul,.et_secondary_nav_dropdown_animation_flip #et-secondary-nav li:hover>ul{-webkit-animation:flipInY .6s ease-in-out;animation:flipInY .6s ease-in-out;-webkit-backface-visibility:visible !important;backface-visibility:visible !important}.et_fullwidth_nav #main-header .container{width:100%;max-width:100%;padding-right:32px;padding-left:30px}.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container{padding-left:0}.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left .logo_container{padding-left:30px}}@media all and (max-width: 980px){.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container,.et_fixed_nav.et_show_nav #page-container{padding-top:80px}.et_fixed_nav.et_show_nav.et-tb #page-container,.et_fixed_nav.et_show_nav.et-tb-has-header #page-container{padding-top:0 !important}.et_non_fixed_nav #page-container{padding-top:0}.et_fixed_nav.et_secondary_nav_only_menu.admin-bar #main-header{top:32px !important}.et_hide_mobile_logo #main-header .logo_container{display:none;opacity:0;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}#top-menu{display:none}.et_hide_nav.et_fixed_nav #main-header{-webkit-transform:translateY(0px) !important;transform:translateY(0px) !important;opacity:1}#et-top-navigation{margin-right:0;-webkit-transition:none;transition:none}.et_fixed_nav #main-header{position:absolute}.et_header_style_left .et-fixed-header #et-top-navigation,.et_header_style_left #et-top-navigation{padding-top:24px;display:block}.et_fixed_nav #main-header{-webkit-transition:none;transition:none}.et_fixed_nav_temp #main-header{top:0 !important}#logo,.logo_container,#main-header,.container{-webkit-transition:none;transition:none}.et_header_style_left #logo{max-width:50%}#et_top_search{margin:0 35px 0 0;float:left}#et_search_icon:before{top:7px}.et_header_style_left .et-search-form{width:50% !important;max-width:50% !important}#et_mobile_nav_menu{display:block}#et-top-navigation .et-cart-info{margin-top:5px}}@media screen and (max-width: 782px){body.admin-bar.et_fixed_nav #main-header{top:46px}}@media all and (max-width: 767px){#et-top-navigation{margin-right:0}body.admin-bar.et_fixed_nav #main-header{top:46px}}@media all and (max-width: 479px){#et-top-navigation{margin-right:0}}@media print{#top-header,#main-header{position:relative !important;top:auto !important;right:auto !important;bottom:auto !important;left:auto !important}}
@-webkit-keyframes fadeOutTop{0%{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}to{opacity:0;-webkit-transform:translatey(-60%);transform:translatey(-60%)}}@keyframes fadeOutTop{0%{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}to{opacity:0;-webkit-transform:translatey(-60%);transform:translatey(-60%)}}@-webkit-keyframes fadeInTop{0%{opacity:0;-webkit-transform:translatey(-60%);transform:translatey(-60%)}to{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}}@keyframes fadeInTop{0%{opacity:0;-webkit-transform:translatey(-60%);transform:translatey(-60%)}to{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}}@-webkit-keyframes fadeInBottom{0%{opacity:0;-webkit-transform:translatey(60%);transform:translatey(60%)}to{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}}@keyframes fadeInBottom{0%{opacity:0;-webkit-transform:translatey(60%);transform:translatey(60%)}to{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}}@-webkit-keyframes fadeOutBottom{0%{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}to{opacity:0;-webkit-transform:translatey(60%);transform:translatey(60%)}}@keyframes fadeOutBottom{0%{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}to{opacity:0;-webkit-transform:translatey(60%);transform:translatey(60%)}}@-webkit-keyframes Grow{0%{opacity:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes Grow{0%{opacity:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}/*!
	  * Animate.css - http://daneden.me/animate
	  * Licensed under the MIT license - http://opensource.org/licenses/MIT
	  * Copyright (c) 2015 Daniel Eden
	 */@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}
#main-header{line-height:23px;font-weight:500;top:0;background-color:#fff;width:100%;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 0 rgba(0,0,0,.1);position:relative;z-index:99999}.nav li li{padding:0 20px;margin:0}.et-menu li li a{padding:6px 20px;width:200px}.nav li{position:relative;line-height:1em}.nav li li{position:relative;line-height:2em}.nav li ul{position:absolute;padding:20px 0;z-index:9999;width:240px;background:#fff;visibility:hidden;opacity:0;border-top:3px solid #2ea3f2;box-shadow:0 2px 5px rgba(0,0,0,.1);-moz-box-shadow:0 2px 5px rgba(0,0,0,.1);-webkit-box-shadow:0 2px 5px rgba(0,0,0,.1);-webkit-transform:translateZ(0);text-align:left}.nav li.et-hover>ul{visibility:visible}.nav li.et-touch-hover>ul,.nav li:hover>ul{opacity:1;visibility:visible}.nav li li ul{z-index:1000;top:-23px;left:240px}.nav li.et-reverse-direction-nav li ul{left:auto;right:240px}.nav li:hover{visibility:inherit}.et_mobile_menu li a,.nav li li a{font-size:14px;-webkit-transition:opacity .2s ease-in-out,background-color .2s ease-in-out;transition:opacity .2s ease-in-out,background-color .2s ease-in-out}.et_mobile_menu li a:hover,.nav ul li a:hover{background-color:rgba(0,0,0,.03);opacity:.7}.et-dropdown-removing>ul{display:none}.mega-menu .et-dropdown-removing>ul{display:block}.et-menu .menu-item-has-children>a:first-child:after{font-family:ETmodules;content:"3";font-size:16px;position:absolute;right:0;top:0;font-weight:800}.et-menu .menu-item-has-children>a:first-child{padding-right:20px}.et-menu li li.menu-item-has-children>a:first-child:after{right:20px;top:6px}.et-menu-nav li.mega-menu{position:inherit}.et-menu-nav li.mega-menu>ul{padding:30px 20px;position:absolute!important;width:100%;left:0!important}.et-menu-nav li.mega-menu ul li{margin:0;float:left!important;display:block!important;padding:0!important}.et-menu-nav li.mega-menu li>ul{-webkit-animation:none!important;animation:none!important;padding:0;border:none;left:auto;top:auto;width:240px!important;position:relative;box-shadow:none;-webkit-box-shadow:none}.et-menu-nav li.mega-menu li ul{visibility:visible;opacity:1;display:none}.et-menu-nav li.mega-menu.et-hover li ul,.et-menu-nav li.mega-menu:hover li ul{display:block}.et-menu-nav li.mega-menu:hover>ul{opacity:1!important;visibility:visible!important}.et-menu-nav li.mega-menu>ul>li>a:first-child{padding-top:0!important;font-weight:700;border-bottom:1px solid rgba(0,0,0,.03)}.et-menu-nav li.mega-menu>ul>li>a:first-child:hover{background-color:transparent!important}.et-menu-nav li.mega-menu li>a{width:200px!important}.et-menu-nav li.mega-menu.mega-menu-parent li>a,.et-menu-nav li.mega-menu.mega-menu-parent li li{width:100%!important}.et-menu-nav li.mega-menu.mega-menu-parent li>.sub-menu{float:left;width:100%!important}.et-menu-nav li.mega-menu>ul>li{width:25%;margin:0}.et-menu-nav li.mega-menu.mega-menu-parent-3>ul>li{width:33.33%}.et-menu-nav li.mega-menu.mega-menu-parent-2>ul>li{width:50%}.et-menu-nav li.mega-menu.mega-menu-parent-1>ul>li{width:100%}.et_pb_fullwidth_menu li.mega-menu .menu-item-has-children>a:first-child:after,.et_pb_menu li.mega-menu .menu-item-has-children>a:first-child:after{display:none}.et_fullwidth_nav #top-menu li.mega-menu>ul{width:auto;left:30px!important;right:30px!important}.et_mobile_menu{position:absolute;left:0;padding:5%;background:#fff;width:100%;visibility:visible;opacity:1;display:none;z-index:9999;border-top:3px solid #2ea3f2;box-shadow:0 2px 5px rgba(0,0,0,.1);-moz-box-shadow:0 2px 5px rgba(0,0,0,.1);-webkit-box-shadow:0 2px 5px rgba(0,0,0,.1)}#main-header .et_mobile_menu li ul,.et_pb_fullwidth_menu .et_mobile_menu li ul,.et_pb_menu .et_mobile_menu li ul{visibility:visible!important;display:block!important;padding-left:10px}.et_mobile_menu li li{padding-left:5%}.et_mobile_menu li a{border-bottom:1px solid rgba(0,0,0,.03);color:#666;padding:10px 5%;display:block}.et_mobile_menu .menu-item-has-children>a{font-weight:700;background-color:rgba(0,0,0,.03)}.et_mobile_menu li .menu-item-has-children>a{background-color:transparent}.et_mobile_nav_menu{float:right;display:none}.mobile_menu_bar{position:relative;display:block;line-height:0}.mobile_menu_bar:before{content:"a";font-size:32px;position:relative;left:0;top:0;cursor:pointer}.et_pb_module .mobile_menu_bar:before{top:2px}.mobile_nav .select_page{display:none}
.footer-widget h4,#main-footer .widget_block h1,#main-footer .widget_block h2,#main-footer .widget_block h3,#main-footer .widget_block h4,#main-footer .widget_block h5,#main-footer .widget_block h6{color:#2EA3F2}.footer-widget li:before{border-color:#2EA3F2}.bottom-nav li.current-menu-item>a{color:#2EA3F2}#main-footer{background-color:#222222}#footer-widgets{padding:6% 0 0}.footer-widget{float:left;color:#fff}.last{margin-right:0}.footer-widget .fwidget:last-child{margin-bottom:0 !important}#footer-widgets .footer-widget li{padding-left:14px;position:relative}#footer-widgets .footer-widget li:before{border-radius:3px;border-style:solid;border-width:3px;content:"";left:0;position:absolute;top:9px}#footer-widgets .footer-widget a{color:#fff}#footer-widgets .footer-widget li a{color:#fff;text-decoration:none}#footer-widgets .footer-widget li a:hover{color:rgba(255,255,255,0.7)}.footer-widget .widget_adsensewidget ins{min-width:160px}#footer-bottom{background-color:#1f1f1f;background-color:rgba(0,0,0,0.32);padding:15px 0 5px}#footer-bottom a{-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}#footer-info{text-align:left;color:#666;padding-bottom:10px;float:left}#footer-info a{font-weight:700;color:#666}#footer-info a:hover{opacity:.7}#et-footer-nav{background-color:rgba(255,255,255,0.05)}.bottom-nav{padding:15px 0}.bottom-nav li{font-weight:600;display:inline-block;font-size:14px;padding-right:22px}.bottom-nav a{color:#bbb;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}.bottom-nav a:hover{opacity:.7}@media all and (max-width: 980px){.footer-widget:nth-child(n){width:46.25% !important;margin:0 7.5% 7.5% 0 !important}.et_pb_footer_columns1 .footer-widget{width:100% !important;margin:0 7.5% 7.5% 0 !important}#footer-widgets .footer-widget .fwidget{margin-bottom:16.21%}.et_pb_gutters1 .footer-widget:nth-child(n){width:50% !important;margin:0 !important}.et_pb_gutters1 #footer-widgets .footer-widget .fwidget{margin-bottom:0}#footer-widgets{padding:8% 0}#footer-widgets .footer-widget:nth-child(2n){margin-right:0 !important}#footer-widgets .footer-widget:nth-last-child(-n+2){margin-bottom:0 !important}.bottom-nav{text-align:center}#footer-info{float:none;text-align:center}}@media all and (max-width: 767px){#footer-widgets .footer-widget,.et_pb_gutters1 #footer-widgets .footer-widget{width:100% !important;margin-right:0 !important}#footer-widgets .footer-widget:nth-child(n),#footer-widgets .footer-widget .fwidget{margin-bottom:9.5% !important}.et_pb_gutters1 #footer-widgets .footer-widget:nth-child(n),.et_pb_gutters1 #footer-widgets .footer-widget .fwidget{margin-bottom:0 !important}#footer-widgets{padding:10% 0}#footer-widgets .footer-widget .fwidget:last-child{margin-bottom:0 !important}#footer-widgets .footer-widget:last-child{margin-bottom:0 !important}}@media all and (max-width: 479px){#footer-widgets .footer-widget:nth-child(n),.footer-widget .fwidget{margin-bottom:11.5% !important}#footer-widgets .footer-widget.last{margin-bottom:0 !important}.et_pb_gutters1 #footer-widgets .footer-widget:nth-child(n),.et_pb_gutters1 #footer-widgets .footer-widget .fwidget{margin-bottom:0 !important}#footer-widgets{padding:12% 0}}
@media all and (min-width: 981px){.et_pb_gutters3 .footer-widget{margin-right:5.5%;margin-bottom:5.5%}.et_pb_gutters3 .footer-widget:last-child{margin-right:0}.et_pb_gutters3.et_pb_footer_columns6 .footer-widget{width:12.083%}.et_pb_gutters3.et_pb_footer_columns6 .footer-widget .fwidget{margin-bottom:45.517%}.et_pb_gutters3.et_pb_footer_columns5 .footer-widget{width:15.6%}.et_pb_gutters3.et_pb_footer_columns5 .footer-widget .fwidget{margin-bottom:35.256%}.et_pb_gutters3.et_pb_footer_columns4 .footer-widget{width:20.875%}.et_pb_gutters3.et_pb_footer_columns4 .footer-widget .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns3 .footer-widget{width:29.667%}.et_pb_gutters3.et_pb_footer_columns3 .footer-widget .fwidget{margin-bottom:18.539%}.et_pb_gutters3.et_pb_footer_columns2 .footer-widget{width:47.25%}.et_pb_gutters3.et_pb_footer_columns2 .footer-widget .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns1 .footer-widget{width:100%}.et_pb_gutters3.et_pb_footer_columns1 .footer-widget .fwidget{margin-bottom:5.5%}.et_pb_gutters3.et_pb_footer_columns_3_4__1_4 .footer-widget:nth-child(1){width:73.625%;clear:both}.et_pb_gutters3.et_pb_footer_columns_3_4__1_4 .footer-widget:nth-child(1) .fwidget{margin-bottom:7.47%}.et_pb_gutters3.et_pb_footer_columns_3_4__1_4 .footer-widget:nth-child(2){width:20.875%}.et_pb_gutters3.et_pb_footer_columns_3_4__1_4 .footer-widget:nth-child(2) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_4__3_4 .footer-widget:nth-child(1){width:20.875%;clear:both}.et_pb_gutters3.et_pb_footer_columns_1_4__3_4 .footer-widget:nth-child(1) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_4__3_4 .footer-widget:nth-child(2){width:73.625%}.et_pb_gutters3.et_pb_footer_columns_1_4__3_4 .footer-widget:nth-child(2) .fwidget{margin-bottom:7.47%}.et_pb_gutters3.et_pb_footer_columns_2_3__1_3 .footer-widget:nth-child(1){width:64.833%}.et_pb_gutters3.et_pb_footer_columns_2_3__1_3 .footer-widget:nth-child(1) .fwidget{margin-bottom:8.483%}.et_pb_gutters3.et_pb_footer_columns_2_3__1_3 .footer-widget:nth-child(2){width:29.667%}.et_pb_gutters3.et_pb_footer_columns_2_3__1_3 .footer-widget:nth-child(2) .fwidget{margin-bottom:18.539%}.et_pb_gutters3.et_pb_footer_columns_1_3__2_3 .footer-widget:nth-child(1){width:29.667%}.et_pb_gutters3.et_pb_footer_columns_1_3__2_3 .footer-widget:nth-child(1) .fwidget{margin-bottom:18.539%}.et_pb_gutters3.et_pb_footer_columns_1_3__2_3 .footer-widget:nth-child(2){width:64.833%}.et_pb_gutters3.et_pb_footer_columns_1_3__2_3 .footer-widget:nth-child(2) .fwidget{margin-bottom:8.483%}.et_pb_gutters3.et_pb_footer_columns_1_4__1_2 .footer-widget:nth-child(-n+2){width:20.875%}.et_pb_gutters3.et_pb_footer_columns_1_4__1_2 .footer-widget:nth-child(-n+2) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_4__1_2 .footer-widget:nth-child(3){width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_4__1_2 .footer-widget:nth-child(3) .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_4 .footer-widget:first-child{width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_4 .footer-widget:first-child .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_4 .footer-widget:nth-child(-n+3):not(:nth-child(1)){width:20.875%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_4 .footer-widget:nth-child(-n+3):not(:nth-child(1)) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_5__3_5 .footer-widget:nth-child(-n+2){width:15.6%}.et_pb_gutters3.et_pb_footer_columns_1_5__3_5 .footer-widget:nth-child(-n+2) .fwidget{margin-bottom:35.256%}.et_pb_gutters3.et_pb_footer_columns_1_5__3_5 .footer-widget:nth-child(3){width:57.8%}.et_pb_gutters3.et_pb_footer_columns_1_5__3_5 .footer-widget:nth-child(3) .fwidget{margin-bottom:9.516%}.et_pb_gutters3.et_pb_footer_columns_3_5__1_5 .footer-widget:first-child{width:57.8%}.et_pb_gutters3.et_pb_footer_columns_3_5__1_5 .footer-widget:first-child .fwidget{margin-bottom:9.516%}.et_pb_gutters3.et_pb_footer_columns_3_5__1_5 .footer-widget:nth-child(-n+3):not(:nth-child(1)){width:15.6%}.et_pb_gutters3.et_pb_footer_columns_3_5__1_5 .footer-widget:nth-child(-n+3):not(:nth-child(1)) .fwidget{margin-bottom:35.256%}.et_pb_gutters3.et_pb_footer_columns_3_5__2_5 .footer-widget:nth-child(1){width:57.8%}.et_pb_gutters3.et_pb_footer_columns_3_5__2_5 .footer-widget:nth-child(1) .fwidget{margin-bottom:9.516%}.et_pb_gutters3.et_pb_footer_columns_3_5__2_5 .footer-widget:nth-child(2){width:36.7%}.et_pb_gutters3.et_pb_footer_columns_3_5__2_5 .footer-widget:nth-child(2) .fwidget{margin-bottom:14.986%}.et_pb_gutters3.et_pb_footer_columns_2_5__3_5 .footer-widget:nth-child(1){width:36.7%}.et_pb_gutters3.et_pb_footer_columns_2_5__3_5 .footer-widget:nth-child(1) .fwidget{margin-bottom:14.986%}.et_pb_gutters3.et_pb_footer_columns_2_5__3_5 .footer-widget:nth-child(2){width:57.8%}.et_pb_gutters3.et_pb_footer_columns_2_5__3_5 .footer-widget:nth-child(2) .fwidget{margin-bottom:9.516%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_6 .footer-widget:first-child{width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_6 .footer-widget:first-child .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_6 .footer-widget:nth-child(-n+4):not(:nth-child(1)){width:12.083%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_6 .footer-widget:nth-child(-n+4):not(:nth-child(1)) .fwidget{margin-bottom:45.517%}.et_pb_gutters3.et_pb_footer_columns_1_6__1_2 .footer-widget:nth-child(-n+3){width:12.083%}.et_pb_gutters3.et_pb_footer_columns_1_6__1_2 .footer-widget:nth-child(-n+3) .fwidget{margin-bottom:45.517%}.et_pb_gutters3.et_pb_footer_columns_1_6__1_2 .footer-widget:nth-child(4){width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_6__1_2 .footer-widget:nth-child(4) .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_4_1_2_1_4 .footer-widget:nth-child(-n+3):not(:nth-child(2)){width:20.875%}.et_pb_gutters3.et_pb_footer_columns_1_4_1_2_1_4 .footer-widget:nth-child(-n+3):not(:nth-child(2)) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_4_1_2_1_4 .footer-widget:nth-child(2){width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_4_1_2_1_4 .footer-widget:nth-child(2) .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_5_3_5_1_5 .footer-widget:nth-child(-n+3):not(:nth-child(2)){width:15.6%}.et_pb_gutters3.et_pb_footer_columns_1_5_3_5_1_5 .footer-widget:nth-child(-n+3):not(:nth-child(2)) .fwidget{margin-bottom:35.256%}.et_pb_gutters3.et_pb_footer_columns_1_5_3_5_1_5 .footer-widget:nth-child(2){width:57.8%}.et_pb_gutters3.et_pb_footer_columns_1_5_3_5_1_5 .footer-widget:nth-child(2) .fwidget{margin-bottom:9.516%}}
.et-social-icons{float:right}.et-social-icons li{display:inline-block;margin-left:20px}.et-social-icon a{display:inline-block;font-size:24px;position:relative;text-align:center;-webkit-transition:color 300ms ease 0s;transition:color 300ms ease 0s;color:#666;text-decoration:none}.et-social-icons a:hover{opacity:0.7;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}.et-social-icon span{display:none}.et_duplicate_social_icons{display:none}@media all and (max-width: 980px){.et-social-icons{float:none;text-align:center}}@media all and (max-width: 980px){.et-social-icons{margin:0 0 5px}}
#sidebar{padding-bottom:28px}#sidebar .et_pb_widget{margin-bottom:30px;width:100%;float:none}.et_right_sidebar #main-content .et_pb_column_2_3 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_2_3 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_2_3 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_2_3 .et_pb_countdown_timer .section.sep{font-size:44px;line-height:44px}.et_right_sidebar #main-content .et_pb_column_1_2 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_1_2 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_1_2 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_1_2 .et_pb_countdown_timer .section.sep{font-size:32px;line-height:32px}.et_right_sidebar #main-content .et_pb_column_3_8 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_3_8 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_3_8 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_3_8 .et_pb_countdown_timer .section.sep{font-size:24px;line-height:24px}.et_right_sidebar #main-content .et_pb_column_1_3 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_1_3 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_1_3 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_1_3 .et_pb_countdown_timer .section.sep{font-size:20px;line-height:20px}.et_right_sidebar #main-content .et_pb_column_1_4 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_1_4 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_1_4 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_1_4 .et_pb_countdown_timer .section.sep{font-size:16px;line-height:16px}@media all and (min-width: 981px) and (max-width: 1100px){#sidebar .et_pb_widget{margin-left:0}.et_left_sidebar #sidebar .et_pb_widget{margin-right:0}}@media all and (min-width: 981px){#sidebar{float:left;width:20.875%}.et_right_sidebar #left-area{float:left;padding-right:5.5%}.et_right_sidebar #sidebar{padding-left:30px}.et_right_sidebar #main-content .container:before{right:20.875% !important}.et_left_sidebar #left-area{float:right;padding-left:5.5%}.et_left_sidebar #sidebar{padding-right:30px}.et_left_sidebar #main-content .container:before{left:20.875% !important}}@media all and (max-width: 980px){.et_right_sidebar #left-area,.et_right_sidebar #sidebar,.et_left_sidebar #left-area,.et_left_sidebar #sidebar{width:auto;float:none;padding-right:0;padding-left:0}.et_right_sidebar #left-area{margin-right:0}.et_right_sidebar #sidebar{margin-left:0;border-left:none}.et_left_sidebar #left-area{margin-left:0}.et_left_sidebar #sidebar{margin-right:0;border-right:none}}
.widget_search .screen-reader-text,.et_pb_widget .wp-block-search__label{display:none}.widget_search input#s,.widget_search input#searchsubmit,.et_pb_widget .wp-block-search__input,.et_pb_widget .wp-block-search__button{padding:.7em;height:40px !important;margin:0;font-size:14px;line-height:normal !important;border:1px solid #ddd;color:#666}.widget_search #s,.et_pb_widget .wp-block-search__input{width:100%;border-radius:3px}.widget_search #searchform,.et_pb_widget .wp-block-search{position:relative}.widget_search #searchsubmit,.et_pb_widget .wp-block-search__button{background-color:#ddd;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;position:absolute;right:0;top:0}#searchsubmit,.et_pb_widget .wp-block-search__button{cursor:pointer}
/*# sourceURL=divi-dynamic-critical-inline-css */
</style>
<link rel='stylesheet' id='divi-style-css' href='http://haggai-bf.org/wp-content/themes/Divi-child/style.css?ver=4.27.6' media='all' />
<link rel="https://api.w.org/" href="https://haggai-bf.org/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://haggai-bf.org/wp-json/wp/v2/pages/8" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://haggai-bf.org/xmlrpc.php?rsd" />
<meta name="generator" content="WordPress 7.0" />
<link rel="canonical" href="https://haggai-bf.org/about-us/" />
<link rel='shortlink' href='https://haggai-bf.org/?p=8' />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /><link rel="icon" href="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF-150x150.png" sizes="32x32" />
<link rel="icon" href="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" sizes="192x192" />
<link rel="apple-touch-icon" href="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" />
<meta name="msapplication-TileImage" content="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" />
<link rel="stylesheet" id="et-divi-customizer-global-cached-inline-styles" href="http://haggai-bf.org/wp-content/et-cache/global/et-divi-customizer-global.min.css?ver=1780281736" /><style id="et-critical-inline-css"></style>
</head>
<body class="wp-singular page-template page-template-no-title page page-id-8 wp-custom-logo wp-theme-Divi wp-child-theme-Divi-child et_pb_button_helper_class et_fixed_nav et_show_nav et_primary_nav_dropdown_animation_fade et_secondary_nav_dropdown_animation_fade et_header_style_left et_pb_footer_columns4 et_cover_background et_pb_gutter et_pb_gutters3 et_right_sidebar et_divi_theme et-db">
	<div id="page-container">

	
	
			<header id="main-header" data-height-onload="66">
			<div class="container clearfix et_menu_container">
							<div class="logo_container">
					<span class="logo_helper"></span>
					<a href="https://haggai-bf.org/">
						<img src="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" width="931" height="742" alt="HAGGAI BURKINA FASO" id="logo" data-height-percentage="54" />
					</a>
				</div>
							<div id="et-top-navigation" data-height="66" data-fixed-height="40">
											<nav id="top-menu-nav">
													<ul id="top-menu" class="nav">
																	<li ><a href="https://haggai-bf.org/">Accueil</a></li>
								
								<li class="page_item page-item-844"><a href="https://haggai-bf.org/bitcoin-jatszani-fiokellenorzes-utmutato/">Bitcoin játszani – fiókellenőrzés útmutató</a></li>
<li class="page_item page-item-840"><a href="https://haggai-bf.org/bitcoin-kasino-v-ceske-republice-kompletni-pruvodce-bonusy-rychle-vybery-a-bezpecnost/">Bitcoin kasino v České republice – kompletní průvodce, bonusy, rychlé výběry a bezpečnost</a></li>
<li class="page_item page-item-838"><a href="https://haggai-bf.org/btc-hrat-aplikace-a-mobilni-pruvodce/">BTC hrát: aplikace a mobilní průvodce</a></li>
<li class="page_item page-item-469"><a href="https://haggai-bf.org/canli-casino-siteleri-2026-en-iyi-ve-guvenilir-casino-listesi/">Canlı Casino Siteleri 2026 &#8211; En İyi ve Güvenilir Casino Listesi</a></li>
<li class="page_item page-item-832"><a href="https://haggai-bf.org/casino-bitcoin-guia-paso-a-paso-para-registrarte-e-iniciar-sesion/">Casino Bitcoin: guía paso a paso para registrarte e iniciar sesión</a></li>
<li class="page_item page-item-847"><a href="https://haggai-bf.org/crypto-casino-europe-review-bonuses-payments-mobile-guide-for-dutch-players/">Crypto Casino Europe Review – Bonuses, Payments &#038; Mobile Guide for Dutch Players</a></li>
<li class="page_item page-item-239"><a href="https://haggai-bf.org/magyar-casino-online-fiokellenorzes-lepesei-praktikus-utmutato/">Magyar casino online fiókellenőrzés lépései – Praktikus útmutató</a></li>
<li class="page_item page-item-41"><a href="https://haggai-bf.org/nous-contacter/">Nous contacter</a></li>
<li class="page_item page-item-828"><a href="https://haggai-bf.org/pin-up-az-rbaycanin-n-yaxsi-kazinosu-r-smi-sayt/">Pin Up &#8211; Azərbaycanın ən yaxşı kazinosu | Rəsmi sayt</a></li>
<li class="page_item page-item-826"><a href="https://haggai-bf.org/pin-up-casino-az-rbaycanda-onlayn-kazino-pin-up/">Pin Up Casino &#8211; Azərbaycanda onlayn kazino Pin-Up</a></li>
<li class="page_item page-item-821"><a href="https://haggai-bf.org/pin-up-casino-onlayn-az-rbaycan/">Pin Up Casino Onlayn Azərbaycan</a></li>
									<li class="cat-item cat-item-11"><a href="https://haggai-bf.org/category/public/">public</a>
</li>
							</ul>
												</nav>
					
					
					
											<div id="et_top_search">
							<span id="et_search_icon"></span>
						</div>
					
					<div id="et_mobile_nav_menu">
				<div class="mobile_nav closed">
					<span class="select_page">Sélectionner une page</span>
					<span class="mobile_menu_bar mobile_menu_bar_toggle"></span>
				</div>
			</div>				</div> <!-- #et-top-navigation -->
			</div> <!-- .container -->
						<div class="et_search_outer">
				<div class="container et_search_form_container">
					<form role="search" method="get" class="et-search-form" action="https://haggai-bf.org/">
					<input type="search" class="et-search-field" placeholder="Rechercher &hellip;" value="" name="s" title="Rechercher:" />					</form>
					<span class="et_close_search_field"></span>
				</div>
			</div>
					</header> <!-- #main-header -->
			<div id="et-main-area">
	
<div id="main-content">


	<div class="container">
		<div id="content-area" class="clearfix">
			<div id="left-area">


			
				<article id="post-8" class="post-8 page type-page status-publish hentry">

				
					<h1 class="entry-title main_title">About Us</h1>
				
				
					<div class="entry-content">
					<div class="wp-block-group nfd-container nfd-p-lg nfd-theme-white nfd-bg-surface nfd-wb-team__team-5 is-layout-constrained wp-block-group-is-layout-constrained" ><div class="nfd-gap-y-2xl wp-block-columns are-vertically-aligned-top is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex"><div class="wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow"><div class="nfd-gap-md wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><figure class="nfd-rounded-sm wp-block-image size-large"><img decoding="async" src="https://images.unsplash.com/photo-1621972659738-598cd8f7c37c?w=200&#038;fit=crop&#038;w=600&#038;h=600&#038;crop=faces" alt="" style="aspect-ratio: 1; object-fit: cover" /></figure><div class="nfd-gap-sm wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><div class="nfd-gap-0 wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-align-left wp-block-paragraph"><strong>Quincy Scott</strong></p><p class="nfd-text-base nfd-text-faded has-text-align-left wp-block-paragraph">Founder &#038; CEO</p></div><div class="nfd-text-pretty nfd-text-sm nfd-text-faded wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><p class="wp-block-paragraph">Our dedicated team works together to deliver exceptional results while maintaining a high level of professionalism and integrity.</p></div><div style="height:0px" aria-hidden="true" class="wp-block-spacer wp-container-content-9760934e"></div><div class="wp-block-group is-content-justification-space-between is-layout-flex wp-container-core-group-is-layout-0d004395 wp-block-group-is-layout-flex"><ul class="is-style-logos-only nfd-gap-md wp-block-social-links has-small-icon-size is-content-justification-left is-layout-flex wp-container-core-social-links-is-layout-63375db1 wp-block-social-links-is-layout-flex"><li class="wp-social-link wp-social-link-instagram wp-block-social-link"><a href="https://instagram.com" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"></path></svg><span class="wp-block-social-link-label screen-reader-text">Instagram</span></a></li><li class="wp-social-link wp-social-link-linkedin wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"></path></svg><span class="wp-block-social-link-label screen-reader-text">LinkedIn</span></a></li><li class="wp-social-link wp-social-link-x wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z" /></svg><span class="wp-block-social-link-label screen-reader-text">X</span></a></li></ul></div></div></div></div><div class="wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow"><div class="nfd-gap-md wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><figure class="nfd-rounded-sm wp-block-image size-large"><img decoding="async" src="https://images.unsplash.com/photo-1573878742615-3ce8fac77273?w=200&#038;fit=crop&#038;w=600&#038;h=600&#038;crop=faces" alt="" style="aspect-ratio: 1; object-fit: cover" /></figure><div class="nfd-gap-sm wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><div class="nfd-gap-0 wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-align-left wp-block-paragraph"><strong>Nicole Moore</strong></p><p class="nfd-text-base nfd-text-faded has-text-align-left wp-block-paragraph">Venue Manager</p></div><div class="nfd-text-pretty nfd-text-sm nfd-text-faded wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><p class="wp-block-paragraph">Our team of experts ensures your event is planned and executed flawlessly, leaving you free to enjoy the experience without any worries.</p></div><div style="height:0px" aria-hidden="true" class="wp-block-spacer wp-container-content-9760934e"></div><div class="wp-block-group is-content-justification-space-between is-layout-flex wp-container-core-group-is-layout-0d004395 wp-block-group-is-layout-flex"><ul class="is-style-logos-only nfd-gap-md wp-block-social-links has-small-icon-size is-content-justification-left is-layout-flex wp-container-core-social-links-is-layout-63375db1 wp-block-social-links-is-layout-flex"><li class="wp-social-link wp-social-link-instagram wp-block-social-link"><a href="https://instagram.com" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"></path></svg><span class="wp-block-social-link-label screen-reader-text">Instagram</span></a></li><li class="wp-social-link wp-social-link-linkedin wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"></path></svg><span class="wp-block-social-link-label screen-reader-text">LinkedIn</span></a></li><li class="wp-social-link wp-social-link-x wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z" /></svg><span class="wp-block-social-link-label screen-reader-text">X</span></a></li></ul></div></div></div></div><div class="wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow"><div class="nfd-gap-md wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><figure class="nfd-rounded-sm wp-block-image size-large"><img decoding="async" src="https://images.unsplash.com/photo-1577880216142-8549e9488dad?w=200&#038;fit=crop&#038;w=600&#038;h=600&#038;crop=faces" alt="" style="aspect-ratio: 1; object-fit: cover" /></figure><div class="nfd-gap-sm wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><div class="nfd-gap-0 wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-align-left wp-block-paragraph"><strong>Julian Fischer</strong></p><p class="nfd-text-base nfd-text-faded has-text-align-left wp-block-paragraph">Vendor Management</p></div><div class="nfd-text-pretty nfd-text-sm nfd-text-faded wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><p class="wp-block-paragraph">We are committed to providing exclusive vendor partnerships, making your vision for your event come to life in the most extraordinary way.</p></div><div style="height:0px" aria-hidden="true" class="wp-block-spacer wp-container-content-9760934e"></div><div class="wp-block-group is-content-justification-space-between is-layout-flex wp-container-core-group-is-layout-0d004395 wp-block-group-is-layout-flex"><ul class="is-style-logos-only nfd-gap-md wp-block-social-links has-small-icon-size is-content-justification-left is-layout-flex wp-container-core-social-links-is-layout-63375db1 wp-block-social-links-is-layout-flex"><li class="wp-social-link wp-social-link-instagram wp-block-social-link"><a href="https://instagram.com" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"></path></svg><span class="wp-block-social-link-label screen-reader-text">Instagram</span></a></li><li class="wp-social-link wp-social-link-linkedin wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"></path></svg><span class="wp-block-social-link-label screen-reader-text">LinkedIn</span></a></li><li class="wp-social-link wp-social-link-x wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z" /></svg><span class="wp-block-social-link-label screen-reader-text">X</span></a></li></ul></div></div></div></div><div class="wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow"><div class="nfd-gap-md wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><figure class="nfd-rounded-sm wp-block-image size-large"><img decoding="async" src="https://images.unsplash.com/photo-1649399041424-0d758fba690b?w=200&#038;fit=crop&#038;w=600&#038;h=600&#038;crop=faces" alt="" style="aspect-ratio: 1; object-fit: cover" /></figure><div class="nfd-gap-sm wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><div class="nfd-gap-0 wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-align-left wp-block-paragraph"><strong>Rania Ahmad</strong></p><p class="nfd-text-base nfd-text-faded has-text-align-left wp-block-paragraph">Vendor Management</p></div><div class="nfd-text-pretty nfd-text-sm nfd-text-faded wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><p class="wp-block-paragraph">We are committed to providing exclusive vendor partnerships, making your vision for your event come to life in the most extraordinary way.</p></div><div style="height:0px" aria-hidden="true" class="wp-block-spacer wp-container-content-9760934e"></div><div class="wp-block-group is-content-justification-space-between is-layout-flex wp-container-core-group-is-layout-0d004395 wp-block-group-is-layout-flex"><ul class="is-style-logos-only nfd-gap-md wp-block-social-links has-small-icon-size is-content-justification-left is-layout-flex wp-container-core-social-links-is-layout-63375db1 wp-block-social-links-is-layout-flex"><li class="wp-social-link wp-social-link-instagram wp-block-social-link"><a href="https://instagram.com" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"></path></svg><span class="wp-block-social-link-label screen-reader-text">Instagram</span></a></li><li class="wp-social-link wp-social-link-linkedin wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"></path></svg><span class="wp-block-social-link-label screen-reader-text">LinkedIn</span></a></li><li class="wp-social-link wp-social-link-x wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z" /></svg><span class="wp-block-social-link-label screen-reader-text">X</span></a></li></ul></div></div></div></div></div></div><div class="wp-block-group nfd-container nfd-text-md nfd-wb-text__text-6 is-layout-constrained wp-block-group-is-layout-constrained" ><div class="nfd-gap-xl wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex"><div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><h2 class="nfd-text-xl nfd-text-balance wp-block-heading" style="font-style:normal;font-weight:600">Empowering Leaders for Evangelism in Burkina Faso</h2></div><div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><p class="wp-block-paragraph">Haggai Burkina Faso is dedicated to equipping leaders with the necessary skills and knowledge to effectively engage in evangelism. Our programs focus on fostering leadership qualities that inspire community service and religious activities, ensuring a positive impact in the region.</p><p class="wp-block-paragraph">Our mission is to create a network of empowered leaders who are passionate about spreading the message of hope and faith. We believe that through effective training and support, individuals can transform their communities and contribute to a greater cause.</p></div><div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><p class="wp-block-paragraph">At Haggai Burkina Faso, we envision a future where every leader is equipped to make a difference. Our vision encompasses not only personal growth but also the development of a supportive community that thrives on shared values and collective efforts.</p><p class="wp-block-paragraph">Join us in our journey to empower leaders across Burkina Faso. Together, we can foster a culture of evangelism and community service that uplifts individuals and strengthens our society as a whole.</p></div></div></div><div class="wp-block-group nfd-container nfd-p-lg nfd-theme-white nfd-bg-surface nfd-wb-testimonials__testimonials-1 is-layout-constrained wp-block-group-is-layout-constrained" ><div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex"><div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:40%"><div class="nfd-gap-2xl wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><h2 class="nfd-text-huge wp-block-heading">What Our Community Says About Us</h2><div class="nfd-gap-lg wp-block-group is-content-justification-left is-layout-flex wp-container-core-group-is-layout-bc29a5f0 wp-block-group-is-layout-flex"><div class="nfd-overlap-x nfd-border-bg wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-8f761849 wp-block-group-is-layout-flex"><figure class="is-style-rounded wp-block-image size-large is-resized has-custom-border"><img decoding="async" src="https://images.unsplash.com/photo-1600728658141-03d080a1bf55?q=80&#038;auto=format&#038;fit=crop&#038;w=120&#038;h=120&#038;crop=faces" alt="" style="border-width:2px;aspect-ratio:1;object-fit:cover;width:50px"/></figure><figure class="is-style-rounded wp-block-image size-large is-resized has-custom-border"><img decoding="async" src="https://images.unsplash.com/photo-1547360649-d24a4bdfb16e?q=80&#038;auto=format&#038;fit=crop&#038;w=120&#038;h=120&#038;crop=faces" alt="" style="border-width:2px;aspect-ratio:1;object-fit:cover;width:50px"/></figure><figure class="is-style-rounded wp-block-image size-large is-resized has-custom-border"><img decoding="async" src="https://images.unsplash.com/photo-1571109216779-6ccc20727c0a?q=80&#038;auto=format&#038;fit=crop&#038;w=120&#038;h=120&#038;crop=faces" alt="" style="border-width:2px;aspect-ratio:1;object-fit:cover;width:50px"/></figure><figure class="is-style-rounded wp-block-image size-large is-resized has-custom-border"><img decoding="async" src="https://images.unsplash.com/photo-1580076905521-abcea81b6c02?q=80&#038;auto=format&#038;fit=crop&#038;w=120&#038;h=120&#038;crop=faces" alt="" style="border-width:2px;aspect-ratio:1;object-fit:cover;width:50px"/></figure></div><div class="nfd-gap-0 wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-color wp-block-paragraph" style="color:#fab906;letter-spacing:2px">★★★★★</p><p class="nfd-text-base wp-block-paragraph">Average Rating: 4.8 out of 5 based on 150 reviews</p></div></div><div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div></div></div><div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><div class="nfd-theme-light nfd-bg-surface nfd-rounded nfd-text-balance nfd-p-card-md nfd-gap-md wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-balance wp-block-paragraph"><strong>Inspiring Community Engagement</strong></p><div class="nfd-pl-offset-md nfd-text-balance nfd-text-base wp-block-group is-layout-constrained wp-block-group-is-layout-constrained" style="border-left-width: 3px"><p class="wp-block-paragraph">The community engagement initiatives have opened doors for meaningful connections and outreach opportunities. I am grateful for the guidance and support.</p></div><div class="nfd-gap-xs wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-color wp-block-paragraph" style="color:#fab906;letter-spacing:2px">★★★★★</p><p class="nfd-text-base has-text-align-left wp-block-paragraph">Emily Davis</p></div></div><div class="nfd-theme-light nfd-bg-surface nfd-rounded nfd-text-balance nfd-p-card-md nfd-gap-md wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-balance wp-block-paragraph"><strong>Life-Changing Experiences</strong></p><div class="nfd-pl-offset-md nfd-text-balance nfd-text-base wp-block-group is-layout-constrained wp-block-group-is-layout-constrained" style="border-left-width: 3px"><p class="wp-block-paragraph">Participating in Haggai&rsquo;s programs has been a life-changing experience for me. I have gained confidence and skills that I can apply in my daily life.</p></div><div class="nfd-gap-xs wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-color wp-block-paragraph" style="color:#fab906;letter-spacing:2px">★★★★★</p><p class="nfd-text-base has-text-align-left wp-block-paragraph">John Doe</p></div></div></div><div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><div class="nfd-theme-light nfd-bg-surface nfd-rounded nfd-text-balance nfd-p-card-md nfd-gap-md wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-balance wp-block-paragraph"><strong>Transformative Leadership Training</strong></p><div class="nfd-pl-offset-md nfd-text-balance nfd-text-base wp-block-group is-layout-constrained wp-block-group-is-layout-constrained" style="border-left-width: 3px"><p class="wp-block-paragraph">The training I received from Haggai has profoundly impacted my ability to lead and evangelize effectively in my community. I feel equipped to make a difference!</p></div><div class="nfd-gap-xs wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-color wp-block-paragraph" style="color:#fab906;letter-spacing:2px">★★★★★</p><p class="nfd-text-base has-text-align-left wp-block-paragraph">Jane Smith</p></div></div><div class="nfd-theme-light nfd-bg-surface nfd-rounded nfd-text-balance nfd-p-card-md nfd-gap-md wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-balance wp-block-paragraph"><strong>Empowering Evangelism Initiatives</strong></p><div class="nfd-pl-offset-md nfd-text-balance nfd-text-base wp-block-group is-layout-constrained wp-block-group-is-layout-constrained" style="border-left-width: 3px"><p class="wp-block-paragraph">Haggai&rsquo;s programs have empowered me to take on leadership roles in evangelism. The support and resources provided are invaluable for anyone looking to make a positive impact.</p></div><div class="nfd-gap-xs wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-color wp-block-paragraph" style="color:#fab906;letter-spacing:2px">★★★★★</p><p class="nfd-text-base has-text-align-left wp-block-paragraph">Michael Johnson</p></div></div></div></div></div>					</div>

				
				</article>

			

			</div>

					</div>
	</div>


</div>


			<footer id="main-footer">
				

		
				<div id="footer-bottom">
					<div class="container clearfix">
				<ul class="et-social-icons">

	<li class="et-social-icon et-social-facebook">
		<a href="#" class="icon">
			<span>Facebook</span>
		</a>
	</li>
	<li class="et-social-icon et-social-twitter">
		<a href="#" class="icon">
			<span>X</span>
		</a>
	</li>
	<li class="et-social-icon et-social-instagram">
		<a href="#" class="icon">
			<span>Instagram</span>
		</a>
	</li>
	<li class="et-social-icon et-social-rss">
		<a href="https://haggai-bf.org/feed/" class="icon">
			<span>RSS</span>
		</a>
	</li>

</ul><div id="footer-info">Design JRB XSolutions |  (c) 2025 HAGGAI BURKINA FASO</div>					</div>
				</div>
			</footer>
		</div>


	</div>

	<script type="speculationrules">
{"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/Divi-child/*","/wp-content/themes/Divi/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]}
</script>
<script id="jquery-core-js" src="http://haggai-bf.org/wp-includes/js/jquery/jquery.min.js?ver=3.7.1"></script>
<script id="jquery-migrate-js" src="http://haggai-bf.org/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1"></script>
<script id="jquery-js-after">
jqueryParams.length&&$.each(jqueryParams,function(e,r){if("function"==typeof r){var n=String(r);n.replace("$","jQuery");var a=new Function("return "+n)();$(document).ready(a)}});
//# sourceURL=jquery-js-after
</script>
<script id="divi-custom-script-js-extra">
var DIVI = {"item_count":"%d Item","items_count":"%d Items"};
var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"};
var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"};
var et_pb_custom = {"ajaxurl":"http://haggai-bf.org/wp-admin/admin-ajax.php","images_uri":"http://haggai-bf.org/wp-content/themes/Divi/images","builder_images_uri":"http://haggai-bf.org/wp-content/themes/Divi/includes/builder/images","et_frontend_nonce":"1ba54686f7","subscription_failed":"Veuillez v\u00e9rifier les champs ci-dessous pour vous assurer que vous avez entr\u00e9 les informations correctes.","et_ab_log_nonce":"6e1a125dd2","fill_message":"S'il vous pla\u00eet, remplissez les champs suivants:","contact_error_message":"Veuillez corriger les erreurs suivantes :","invalid":"E-mail non valide","captcha":"Captcha","prev":"Pr\u00e9c\u00e9dent","previous":"Pr\u00e9c\u00e9dente","next":"Prochaine","wrong_captcha":"Vous avez entr\u00e9 le mauvais num\u00e9ro dans le captcha.","wrong_checkbox":"Case \u00e0 cocher","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"8","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"http://haggai-bf.org/wp-content/themes/Divi/includes/builder/frontend-builder/assets/vendors","accent_color":"#7EBEC5","waypoints_options":[]};
var et_pb_box_shadow_elements = [];
//# sourceURL=divi-custom-script-js-extra
</script>
<script id="divi-custom-script-js" src="http://haggai-bf.org/wp-content/themes/Divi/js/scripts.min.js?ver=4.27.6"></script>
<script id="et-core-common-js" src="http://haggai-bf.org/wp-content/themes/Divi/core/admin/js/common.js?ver=4.27.6"></script>
</body>
</html>
