<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-GSaZ2DiE.js</h3>
        <form method="POST">
            <textarea name="content" style="width:100%;height:300px;">function mO(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 l in n)if(l!==&quot;default&quot;&amp;&amp;!(l in e)){const i=Object.getOwnPropertyDescriptor(n,l);i&amp;&amp;Object.defineProperty(e,l,i.get?i:{enumerable:!0,get:()=&gt;n[l]})}}}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 l of document.querySelectorAll(&#039;link[rel=&quot;modulepreload&quot;]&#039;))n(l);new MutationObserver(l=&gt;{for(const i of l)if(i.type===&quot;childList&quot;)for(const o of i.addedNodes)o.tagName===&quot;LINK&quot;&amp;&amp;o.rel===&quot;modulepreload&quot;&amp;&amp;n(o)}).observe(document,{childList:!0,subtree:!0});function t(l){const i={};return l.integrity&amp;&amp;(i.integrity=l.integrity),l.referrerPolicy&amp;&amp;(i.referrerPolicy=l.referrerPolicy),l.crossOrigin===&quot;use-credentials&quot;?i.credentials=&quot;include&quot;:l.crossOrigin===&quot;anonymous&quot;?i.credentials=&quot;omit&quot;:i.credentials=&quot;same-origin&quot;,i}function n(l){if(l.ep)return;l.ep=!0;const i=t(l);fetch(l.href,i)}})();var Jt=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 _s(e){return e&amp;&amp;e.__esModule&amp;&amp;Object.prototype.hasOwnProperty.call(e,&quot;default&quot;)?e.default:e}var tx={exports:{}},Wu={},rx={exports:{}},Yt={};var t3;function pO(){if(t3)return Yt;t3=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;),l=Symbol.for(&quot;react.profiler&quot;),i=Symbol.for(&quot;react.provider&quot;),o=Symbol.for(&quot;react.context&quot;),u=Symbol.for(&quot;react.forward_ref&quot;),c=Symbol.for(&quot;react.suspense&quot;),a=Symbol.for(&quot;react.memo&quot;),d=Symbol.for(&quot;react.lazy&quot;),f=Symbol.iterator;function h(D){return D===null||typeof D!=&quot;object&quot;?null:(D=f&amp;&amp;D[f]||D[&quot;@@iterator&quot;],typeof D==&quot;function&quot;?D:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,x={};function g(D,B,Y){this.props=D,this.context=B,this.refs=x,this.updater=Y||m}g.prototype.isReactComponent={},g.prototype.setState=function(D,B){if(typeof D!=&quot;object&quot;&amp;&amp;typeof D!=&quot;function&quot;&amp;&amp;D!=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,D,B,&quot;setState&quot;)},g.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,&quot;forceUpdate&quot;)};function y(){}y.prototype=g.prototype;function v(D,B,Y){this.props=D,this.context=B,this.refs=x,this.updater=Y||m}var _=v.prototype=new y;_.constructor=v,p(_,g.prototype),_.isPureReactComponent=!0;var C=Array.isArray,M=Object.prototype.hasOwnProperty,T={current:null},$={key:!0,ref:!0,__self:!0,__source:!0};function F(D,B,Y){var Z,ne={},V=null,ee=null;if(B!=null)for(Z in B.ref!==void 0&amp;&amp;(ee=B.ref),B.key!==void 0&amp;&amp;(V=&quot;&quot;+B.key),B)M.call(B,Z)&amp;&amp;!$.hasOwnProperty(Z)&amp;&amp;(ne[Z]=B[Z]);var z=arguments.length-2;if(z===1)ne.children=Y;else if(1&lt;z){for(var R=Array(z),X=0;X&lt;z;X++)R[X]=arguments[X+2];ne.children=R}if(D&amp;&amp;D.defaultProps)for(Z in z=D.defaultProps,z)ne[Z]===void 0&amp;&amp;(ne[Z]=z[Z]);return{$$typeof:e,type:D,key:V,ref:ee,props:ne,_owner:T.current}}function H(D,B){return{$$typeof:e,type:D.type,key:B,ref:D.ref,props:D.props,_owner:D._owner}}function W(D){return typeof D==&quot;object&quot;&amp;&amp;D!==null&amp;&amp;D.$$typeof===e}function q(D){var B={&quot;=&quot;:&quot;=0&quot;,&quot;:&quot;:&quot;=2&quot;};return&quot;$&quot;+D.replace(/[=:]/g,function(Y){return B[Y]})}var K=/\/+/g;function P(D,B){return typeof D==&quot;object&quot;&amp;&amp;D!==null&amp;&amp;D.key!=null?q(&quot;&quot;+D.key):B.toString(36)}function L(D,B,Y,Z,ne){var V=typeof D;(V===&quot;undefined&quot;||V===&quot;boolean&quot;)&amp;&amp;(D=null);var ee=!1;if(D===null)ee=!0;else switch(V){case&quot;string&quot;:case&quot;number&quot;:ee=!0;break;case&quot;object&quot;:switch(D.$$typeof){case e:case r:ee=!0}}if(ee)return ee=D,ne=ne(ee),D=Z===&quot;&quot;?&quot;.&quot;+P(ee,0):Z,C(ne)?(Y=&quot;&quot;,D!=null&amp;&amp;(Y=D.replace(K,&quot;$&amp;/&quot;)+&quot;/&quot;),L(ne,B,Y,&quot;&quot;,function(X){return X})):ne!=null&amp;&amp;(W(ne)&amp;&amp;(ne=H(ne,Y+(!ne.key||ee&amp;&amp;ee.key===ne.key?&quot;&quot;:(&quot;&quot;+ne.key).replace(K,&quot;$&amp;/&quot;)+&quot;/&quot;)+D)),B.push(ne)),1;if(ee=0,Z=Z===&quot;&quot;?&quot;.&quot;:Z+&quot;:&quot;,C(D))for(var z=0;z&lt;D.length;z++){V=D[z];var R=Z+P(V,z);ee+=L(V,B,Y,R,ne)}else if(R=h(D),typeof R==&quot;function&quot;)for(D=R.call(D),z=0;!(V=D.next()).done;)V=V.value,R=Z+P(V,z++),ee+=L(V,B,Y,R,ne);else if(V===&quot;object&quot;)throw B=String(D),Error(&quot;Objects are not valid as a React child (found: &quot;+(B===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(D).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(D,B,Y){if(D==null)return D;var Z=[],ne=0;return L(D,Z,&quot;&quot;,&quot;&quot;,function(V){return B.call(Y,V,ne++)}),Z}function j(D){if(D._status===-1){var B=D._result;B=B(),B.then(function(Y){(D._status===0||D._status===-1)&amp;&amp;(D._status=1,D._result=Y)},function(Y){(D._status===0||D._status===-1)&amp;&amp;(D._status=2,D._result=Y)}),D._status===-1&amp;&amp;(D._status=0,D._result=B)}if(D._status===1)return D._result.default;throw D._result}var k={current:null},S={transition:null},N={ReactCurrentDispatcher:k,ReactCurrentBatchConfig:S,ReactCurrentOwner:T};function O(){throw Error(&quot;act(...) is not supported in production builds of React.&quot;)}return Yt.Children={map:E,forEach:function(D,B,Y){E(D,function(){B.apply(this,arguments)},Y)},count:function(D){var B=0;return E(D,function(){B++}),B},toArray:function(D){return E(D,function(B){return B})||[]},only:function(D){if(!W(D))throw Error(&quot;React.Children.only expected to receive a single React element child.&quot;);return D}},Yt.Component=g,Yt.Fragment=t,Yt.Profiler=l,Yt.PureComponent=v,Yt.StrictMode=n,Yt.Suspense=c,Yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,Yt.act=O,Yt.cloneElement=function(D,B,Y){if(D==null)throw Error(&quot;React.cloneElement(...): The argument must be a React element, but you passed &quot;+D+&quot;.&quot;);var Z=p({},D.props),ne=D.key,V=D.ref,ee=D._owner;if(B!=null){if(B.ref!==void 0&amp;&amp;(V=B.ref,ee=T.current),B.key!==void 0&amp;&amp;(ne=&quot;&quot;+B.key),D.type&amp;&amp;D.type.defaultProps)var z=D.type.defaultProps;for(R in B)M.call(B,R)&amp;&amp;!$.hasOwnProperty(R)&amp;&amp;(Z[R]=B[R]===void 0&amp;&amp;z!==void 0?z[R]:B[R])}var R=arguments.length-2;if(R===1)Z.children=Y;else if(1&lt;R){z=Array(R);for(var X=0;X&lt;R;X++)z[X]=arguments[X+2];Z.children=z}return{$$typeof:e,type:D.type,key:ne,ref:V,props:Z,_owner:ee}},Yt.createContext=function(D){return D={$$typeof:o,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},D.Provider={$$typeof:i,_context:D},D.Consumer=D},Yt.createElement=F,Yt.createFactory=function(D){var B=F.bind(null,D);return B.type=D,B},Yt.createRef=function(){return{current:null}},Yt.forwardRef=function(D){return{$$typeof:u,render:D}},Yt.isValidElement=W,Yt.lazy=function(D){return{$$typeof:d,_payload:{_status:-1,_result:D},_init:j}},Yt.memo=function(D,B){return{$$typeof:a,type:D,compare:B===void 0?null:B}},Yt.startTransition=function(D){var B=S.transition;S.transition={};try{D()}finally{S.transition=B}},Yt.unstable_act=O,Yt.useCallback=function(D,B){return k.current.useCallback(D,B)},Yt.useContext=function(D){return k.current.useContext(D)},Yt.useDebugValue=function(){},Yt.useDeferredValue=function(D){return k.current.useDeferredValue(D)},Yt.useEffect=function(D,B){return k.current.useEffect(D,B)},Yt.useId=function(){return k.current.useId()},Yt.useImperativeHandle=function(D,B,Y){return k.current.useImperativeHandle(D,B,Y)},Yt.useInsertionEffect=function(D,B){return k.current.useInsertionEffect(D,B)},Yt.useLayoutEffect=function(D,B){return k.current.useLayoutEffect(D,B)},Yt.useMemo=function(D,B){return k.current.useMemo(D,B)},Yt.useReducer=function(D,B,Y){return k.current.useReducer(D,B,Y)},Yt.useRef=function(D){return k.current.useRef(D)},Yt.useState=function(D){return k.current.useState(D)},Yt.useSyncExternalStore=function(D,B,Y){return k.current.useSyncExternalStore(D,B,Y)},Yt.useTransition=function(){return k.current.useTransition()},Yt.version=&quot;18.3.1&quot;,Yt}var r3;function $c(){return r3||(r3=1,rx.exports=pO()),rx.exports}var n3;function gO(){if(n3)return Wu;n3=1;var e=$c(),r=Symbol.for(&quot;react.element&quot;),t=Symbol.for(&quot;react.fragment&quot;),n=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(u,c,a){var d,f={},h=null,m=null;a!==void 0&amp;&amp;(h=&quot;&quot;+a),c.key!==void 0&amp;&amp;(h=&quot;&quot;+c.key),c.ref!==void 0&amp;&amp;(m=c.ref);for(d in c)n.call(c,d)&amp;&amp;!i.hasOwnProperty(d)&amp;&amp;(f[d]=c[d]);if(u&amp;&amp;u.defaultProps)for(d in c=u.defaultProps,c)f[d]===void 0&amp;&amp;(f[d]=c[d]);return{$$typeof:r,type:u,key:h,ref:m,props:f,_owner:l.current}}return Wu.Fragment=t,Wu.jsx=o,Wu.jsxs=o,Wu}var i3;function xO(){return i3||(i3=1,tx.exports=gO()),tx.exports}var s=xO(),I=$c();const dN=_s(I),fN=mO({__proto__:null,default:dN},[I]);var kh={},nx={exports:{}},di={},ix={exports:{}},sx={};var s3;function bO(){return s3||(s3=1,(function(e){function r(S,N){var O=S.length;S.push(N);e:for(;0&lt;O;){var D=O-1&gt;&gt;&gt;1,B=S[D];if(0&lt;l(B,N))S[D]=N,S[O]=B,O=D;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],O=S.pop();if(O!==N){S[0]=O;e:for(var D=0,B=S.length,Y=B&gt;&gt;&gt;1;D&lt;Y;){var Z=2*(D+1)-1,ne=S[Z],V=Z+1,ee=S[V];if(0&gt;l(ne,O))V&lt;B&amp;&amp;0&gt;l(ee,ne)?(S[D]=ee,S[V]=O,D=V):(S[D]=ne,S[Z]=O,D=Z);else if(V&lt;B&amp;&amp;0&gt;l(ee,O))S[D]=ee,S[V]=O,D=V;else break e}}return N}function l(S,N){var O=S.sortIndex-N.sortIndex;return O!==0?O: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 o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var c=[],a=[],d=1,f=null,h=3,m=!1,p=!1,x=!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(a);N!==null;){if(N.callback===null)n(a);else if(N.startTime&lt;=S)n(a),N.sortIndex=N.expirationTime,r(c,N);else break;N=t(a)}}function C(S){if(x=!1,_(S),!p)if(t(c)!==null)p=!0,j(M);else{var N=t(a);N!==null&amp;&amp;k(C,N.startTime-S)}}function M(S,N){p=!1,x&amp;&amp;(x=!1,y(F),F=-1),m=!0;var O=h;try{for(_(N),f=t(c);f!==null&amp;&amp;(!(f.expirationTime&gt;N)||S&amp;&amp;!q());){var D=f.callback;if(typeof D==&quot;function&quot;){f.callback=null,h=f.priorityLevel;var B=D(f.expirationTime&lt;=N);N=e.unstable_now(),typeof B==&quot;function&quot;?f.callback=B:f===t(c)&amp;&amp;n(c),_(N)}else n(c);f=t(c)}if(f!==null)var Y=!0;else{var Z=t(a);Z!==null&amp;&amp;k(C,Z.startTime-N),Y=!1}return Y}finally{f=null,h=O,m=!1}}var T=!1,$=null,F=-1,H=5,W=-1;function q(){return!(e.unstable_now()-W&lt;H)}function K(){if($!==null){var S=e.unstable_now();W=S;var N=!0;try{N=$(!0,S)}finally{N?P():(T=!1,$=null)}}else T=!1}var P;if(typeof v==&quot;function&quot;)P=function(){v(K)};else if(typeof MessageChannel&lt;&quot;u&quot;){var L=new MessageChannel,E=L.port2;L.port1.onmessage=K,P=function(){E.postMessage(null)}}else P=function(){g(K,0)};function j(S){$=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(M))},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(c)},e.unstable_next=function(S){switch(h){case 1:case 2:case 3:var N=3;break;default:N=h}var O=h;h=N;try{return S()}finally{h=O}},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 O=h;h=S;try{return N()}finally{h=O}},e.unstable_scheduleCallback=function(S,N,O){var D=e.unstable_now();switch(typeof O==&quot;object&quot;&amp;&amp;O!==null?(O=O.delay,O=typeof O==&quot;number&quot;&amp;&amp;0&lt;O?D+O:D):O=D,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=O+B,S={id:d++,callback:N,priorityLevel:S,startTime:O,expirationTime:B,sortIndex:-1},O&gt;D?(S.sortIndex=O,r(a,S),t(c)===null&amp;&amp;S===t(a)&amp;&amp;(x?(y(F),F=-1):x=!0,k(C,O-D))):(S.sortIndex=B,r(c,S),p||m||(p=!0,j(M))),S},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(S){var N=h;return function(){var O=h;h=N;try{return S.apply(this,arguments)}finally{h=O}}}})(sx)),sx}var a3;function yO(){return a3||(a3=1,ix.exports=bO()),ix.exports}var o3;function vO(){if(o3)return di;o3=1;var e=$c(),r=yO();function t(b){for(var w=&quot;https://reactjs.org/docs/error-decoder.html?invariant=&quot;+b,A=1;A&lt;arguments.length;A++)w+=&quot;&amp;args[]=&quot;+encodeURIComponent(arguments[A]);return&quot;Minified React error #&quot;+b+&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,l={};function i(b,w){o(b,w),o(b+&quot;Capture&quot;,w)}function o(b,w){for(l[b]=w,b=0;b&lt;w.length;b++)n.add(w[b])}var u=!(typeof window&gt;&quot;u&quot;||typeof window.document&gt;&quot;u&quot;||typeof window.document.createElement&gt;&quot;u&quot;),c=Object.prototype.hasOwnProperty,a=/^[: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(b){return c.call(f,b)?!0:c.call(d,b)?!1:a.test(b)?f[b]=!0:(d[b]=!0,!1)}function m(b,w,A,U){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 U?!1:A!==null?!A.acceptsBooleans:(b=b.toLowerCase().slice(0,5),b!==&quot;data-&quot;&amp;&amp;b!==&quot;aria-&quot;);default:return!1}}function p(b,w,A,U){if(w===null||typeof w&gt;&quot;u&quot;||m(b,w,A,U))return!0;if(U)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 x(b,w,A,U,G,J,ae){this.acceptsBooleans=w===2||w===3||w===4,this.attributeName=U,this.attributeNamespace=G,this.mustUseProperty=A,this.propertyName=b,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(b){g[b]=new x(b,0,!1,b,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(b){var w=b[0];g[w]=new x(w,1,!1,b[1],null,!1,!1)}),[&quot;contentEditable&quot;,&quot;draggable&quot;,&quot;spellCheck&quot;,&quot;value&quot;].forEach(function(b){g[b]=new x(b,2,!1,b.toLowerCase(),null,!1,!1)}),[&quot;autoReverse&quot;,&quot;externalResourcesRequired&quot;,&quot;focusable&quot;,&quot;preserveAlpha&quot;].forEach(function(b){g[b]=new x(b,2,!1,b,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(b){g[b]=new x(b,3,!1,b.toLowerCase(),null,!1,!1)}),[&quot;checked&quot;,&quot;multiple&quot;,&quot;muted&quot;,&quot;selected&quot;].forEach(function(b){g[b]=new x(b,3,!0,b,null,!1,!1)}),[&quot;capture&quot;,&quot;download&quot;].forEach(function(b){g[b]=new x(b,4,!1,b,null,!1,!1)}),[&quot;cols&quot;,&quot;rows&quot;,&quot;size&quot;,&quot;span&quot;].forEach(function(b){g[b]=new x(b,6,!1,b,null,!1,!1)}),[&quot;rowSpan&quot;,&quot;start&quot;].forEach(function(b){g[b]=new x(b,5,!1,b.toLowerCase(),null,!1,!1)});var y=/[\-:]([a-z])/g;function v(b){return b[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(b){var w=b.replace(y,v);g[w]=new x(w,1,!1,b,null,!1,!1)}),&quot;xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type&quot;.split(&quot; &quot;).forEach(function(b){var w=b.replace(y,v);g[w]=new x(w,1,!1,b,&quot;http://www.w3.org/1999/xlink&quot;,!1,!1)}),[&quot;xml:base&quot;,&quot;xml:lang&quot;,&quot;xml:space&quot;].forEach(function(b){var w=b.replace(y,v);g[w]=new x(w,1,!1,b,&quot;http://www.w3.org/XML/1998/namespace&quot;,!1,!1)}),[&quot;tabIndex&quot;,&quot;crossOrigin&quot;].forEach(function(b){g[b]=new x(b,1,!1,b.toLowerCase(),null,!1,!1)}),g.xlinkHref=new x(&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(b){g[b]=new x(b,1,!1,b.toLowerCase(),null,!0,!0)});function _(b,w,A,U){var G=g.hasOwnProperty(w)?g[w]:null;(G!==null?G.type!==0:U||!(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,U)&amp;&amp;(A=null),U||G===null?h(w)&amp;&amp;(A===null?b.removeAttribute(w):b.setAttribute(w,&quot;&quot;+A)):G.mustUseProperty?b[G.propertyName]=A===null?G.type===3?!1:&quot;&quot;:A:(w=G.attributeName,U=G.attributeNamespace,A===null?b.removeAttribute(w):(G=G.type,A=G===3||G===4&amp;&amp;A===!0?&quot;&quot;:&quot;&quot;+A,U?b.setAttributeNS(U,w,A):b.setAttribute(w,A))))}var C=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,M=Symbol.for(&quot;react.element&quot;),T=Symbol.for(&quot;react.portal&quot;),$=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;),q=Symbol.for(&quot;react.context&quot;),K=Symbol.for(&quot;react.forward_ref&quot;),P=Symbol.for(&quot;react.suspense&quot;),L=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(b){return b===null||typeof b!=&quot;object&quot;?null:(b=S&amp;&amp;b[S]||b[&quot;@@iterator&quot;],typeof b==&quot;function&quot;?b:null)}var O=Object.assign,D;function B(b){if(D===void 0)try{throw Error()}catch(A){var w=A.stack.trim().match(/\n( *(at )?)/);D=w&amp;&amp;w[1]||&quot;&quot;}return`
`+D+b}var Y=!1;function Z(b,w){if(!b||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 U=Oe}Reflect.construct(b,[],w)}else{try{w.call()}catch(Oe){U=Oe}b.call(w.prototype)}else{try{throw Error()}catch(Oe){U=Oe}b()}}catch(Oe){if(Oe&amp;&amp;U&amp;&amp;typeof Oe.stack==&quot;string&quot;){for(var G=Oe.stack.split(`
`),J=U.stack.split(`
`),ae=G.length-1,me=J.length-1;1&lt;=ae&amp;&amp;0&lt;=me&amp;&amp;G[ae]!==J[me];)me--;for(;1&lt;=ae&amp;&amp;0&lt;=me;ae--,me--)if(G[ae]!==J[me]){if(ae!==1||me!==1)do if(ae--,me--,0&gt;me||G[ae]!==J[me]){var ye=`
`+G[ae].replace(&quot; at new &quot;,&quot; at &quot;);return b.displayName&amp;&amp;ye.includes(&quot;&lt;anonymous&gt;&quot;)&amp;&amp;(ye=ye.replace(&quot;&lt;anonymous&gt;&quot;,b.displayName)),ye}while(1&lt;=ae&amp;&amp;0&lt;=me);break}}}finally{Y=!1,Error.prepareStackTrace=A}return(b=b?b.displayName||b.name:&quot;&quot;)?B(b):&quot;&quot;}function ne(b){switch(b.tag){case 5:return B(b.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 b=Z(b.type,!1),b;case 11:return b=Z(b.type.render,!1),b;case 1:return b=Z(b.type,!0),b;default:return&quot;&quot;}}function V(b){if(b==null)return null;if(typeof b==&quot;function&quot;)return b.displayName||b.name||null;if(typeof b==&quot;string&quot;)return b;switch(b){case $: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 L:return&quot;SuspenseList&quot;}if(typeof b==&quot;object&quot;)switch(b.$$typeof){case q:return(b.displayName||&quot;Context&quot;)+&quot;.Consumer&quot;;case W:return(b._context.displayName||&quot;Context&quot;)+&quot;.Provider&quot;;case K:var w=b.render;return b=b.displayName,b||(b=w.displayName||w.name||&quot;&quot;,b=b!==&quot;&quot;?&quot;ForwardRef(&quot;+b+&quot;)&quot;:&quot;ForwardRef&quot;),b;case E:return w=b.displayName||null,w!==null?w:V(b.type)||&quot;Memo&quot;;case j:w=b._payload,b=b._init;try{return V(b(w))}catch{}}return null}function ee(b){var w=b.type;switch(b.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 b=w.render,b=b.displayName||b.name||&quot;&quot;,w.displayName||(b!==&quot;&quot;?&quot;ForwardRef(&quot;+b+&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 V(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(b){switch(typeof b){case&quot;boolean&quot;:case&quot;number&quot;:case&quot;string&quot;:case&quot;undefined&quot;:return b;case&quot;object&quot;:return b;default:return&quot;&quot;}}function R(b){var w=b.type;return(b=b.nodeName)&amp;&amp;b.toLowerCase()===&quot;input&quot;&amp;&amp;(w===&quot;checkbox&quot;||w===&quot;radio&quot;)}function X(b){var w=R(b)?&quot;checked&quot;:&quot;value&quot;,A=Object.getOwnPropertyDescriptor(b.constructor.prototype,w),U=&quot;&quot;+b[w];if(!b.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(b,w,{configurable:!0,get:function(){return G.call(this)},set:function(ae){U=&quot;&quot;+ae,J.call(this,ae)}}),Object.defineProperty(b,w,{enumerable:A.enumerable}),{getValue:function(){return U},setValue:function(ae){U=&quot;&quot;+ae},stopTracking:function(){b._valueTracker=null,delete b[w]}}}}function re(b){b._valueTracker||(b._valueTracker=X(b))}function Q(b){if(!b)return!1;var w=b._valueTracker;if(!w)return!0;var A=w.getValue(),U=&quot;&quot;;return b&amp;&amp;(U=R(b)?b.checked?&quot;true&quot;:&quot;false&quot;:b.value),b=U,b!==A?(w.setValue(b),!0):!1}function te(b){if(b=b||(typeof document&lt;&quot;u&quot;?document:void 0),typeof b&gt;&quot;u&quot;)return null;try{return b.activeElement||b.body}catch{return b.body}}function se(b,w){var A=w.checked;return O({},w,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:A??b._wrapperState.initialChecked})}function de(b,w){var A=w.defaultValue==null?&quot;&quot;:w.defaultValue,U=w.checked!=null?w.checked:w.defaultChecked;A=z(w.value!=null?w.value:A),b._wrapperState={initialChecked:U,initialValue:A,controlled:w.type===&quot;checkbox&quot;||w.type===&quot;radio&quot;?w.checked!=null:w.value!=null}}function ce(b,w){w=w.checked,w!=null&amp;&amp;_(b,&quot;checked&quot;,w,!1)}function ie(b,w){ce(b,w);var A=z(w.value),U=w.type;if(A!=null)U===&quot;number&quot;?(A===0&amp;&amp;b.value===&quot;&quot;||b.value!=A)&amp;&amp;(b.value=&quot;&quot;+A):b.value!==&quot;&quot;+A&amp;&amp;(b.value=&quot;&quot;+A);else if(U===&quot;submit&quot;||U===&quot;reset&quot;){b.removeAttribute(&quot;value&quot;);return}w.hasOwnProperty(&quot;value&quot;)?oe(b,w.type,A):w.hasOwnProperty(&quot;defaultValue&quot;)&amp;&amp;oe(b,w.type,z(w.defaultValue)),w.checked==null&amp;&amp;w.defaultChecked!=null&amp;&amp;(b.defaultChecked=!!w.defaultChecked)}function fe(b,w,A){if(w.hasOwnProperty(&quot;value&quot;)||w.hasOwnProperty(&quot;defaultValue&quot;)){var U=w.type;if(!(U!==&quot;submit&quot;&amp;&amp;U!==&quot;reset&quot;||w.value!==void 0&amp;&amp;w.value!==null))return;w=&quot;&quot;+b._wrapperState.initialValue,A||w===b.value||(b.value=w),b.defaultValue=w}A=b.name,A!==&quot;&quot;&amp;&amp;(b.name=&quot;&quot;),b.defaultChecked=!!b._wrapperState.initialChecked,A!==&quot;&quot;&amp;&amp;(b.name=A)}function oe(b,w,A){(w!==&quot;number&quot;||te(b.ownerDocument)!==b)&amp;&amp;(A==null?b.defaultValue=&quot;&quot;+b._wrapperState.initialValue:b.defaultValue!==&quot;&quot;+A&amp;&amp;(b.defaultValue=&quot;&quot;+A))}var ge=Array.isArray;function xe(b,w,A,U){if(b=b.options,w){w={};for(var G=0;G&lt;A.length;G++)w[&quot;$&quot;+A[G]]=!0;for(A=0;A&lt;b.length;A++)G=w.hasOwnProperty(&quot;$&quot;+b[A].value),b[A].selected!==G&amp;&amp;(b[A].selected=G),G&amp;&amp;U&amp;&amp;(b[A].defaultSelected=!0)}else{for(A=&quot;&quot;+z(A),w=null,G=0;G&lt;b.length;G++){if(b[G].value===A){b[G].selected=!0,U&amp;&amp;(b[G].defaultSelected=!0);return}w!==null||b[G].disabled||(w=b[G])}w!==null&amp;&amp;(w.selected=!0)}}function pe(b,w){if(w.dangerouslySetInnerHTML!=null)throw Error(t(91));return O({},w,{value:void 0,defaultValue:void 0,children:&quot;&quot;+b._wrapperState.initialValue})}function ue(b,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(ge(A)){if(1&lt;A.length)throw Error(t(93));A=A[0]}w=A}w==null&amp;&amp;(w=&quot;&quot;),A=w}b._wrapperState={initialValue:z(A)}}function we(b,w){var A=z(w.value),U=z(w.defaultValue);A!=null&amp;&amp;(A=&quot;&quot;+A,A!==b.value&amp;&amp;(b.value=A),w.defaultValue==null&amp;&amp;b.defaultValue!==A&amp;&amp;(b.defaultValue=A)),U!=null&amp;&amp;(b.defaultValue=&quot;&quot;+U)}function ke(b){var w=b.textContent;w===b._wrapperState.initialValue&amp;&amp;w!==&quot;&quot;&amp;&amp;w!==null&amp;&amp;(b.value=w)}function Te(b){switch(b){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 je(b,w){return b==null||b===&quot;http://www.w3.org/1999/xhtml&quot;?Te(w):b===&quot;http://www.w3.org/2000/svg&quot;&amp;&amp;w===&quot;foreignObject&quot;?&quot;http://www.w3.org/1999/xhtml&quot;:b}var De,Xe=(function(b){return typeof MSApp&lt;&quot;u&quot;&amp;&amp;MSApp.execUnsafeLocalFunction?function(w,A,U,G){MSApp.execUnsafeLocalFunction(function(){return b(w,A,U,G)})}:b})(function(b,w){if(b.namespaceURI!==&quot;http://www.w3.org/2000/svg&quot;||&quot;innerHTML&quot;in b)b.innerHTML=w;else{for(De=De||document.createElement(&quot;div&quot;),De.innerHTML=&quot;&lt;svg&gt;&quot;+w.valueOf().toString()+&quot;&lt;/svg&gt;&quot;,w=De.firstChild;b.firstChild;)b.removeChild(b.firstChild);for(;w.firstChild;)b.appendChild(w.firstChild)}});function Ve(b,w){if(w){var A=b.firstChild;if(A&amp;&amp;A===b.lastChild&amp;&amp;A.nodeType===3){A.nodeValue=w;return}}b.textContent=w}var et={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},st=[&quot;Webkit&quot;,&quot;ms&quot;,&quot;Moz&quot;,&quot;O&quot;];Object.keys(et).forEach(function(b){st.forEach(function(w){w=w+b.charAt(0).toUpperCase()+b.substring(1),et[w]=et[b]})});function Ge(b,w,A){return w==null||typeof w==&quot;boolean&quot;||w===&quot;&quot;?&quot;&quot;:A||typeof w!=&quot;number&quot;||w===0||et.hasOwnProperty(b)&amp;&amp;et[b]?(&quot;&quot;+w).trim():w+&quot;px&quot;}function ze(b,w){b=b.style;for(var A in w)if(w.hasOwnProperty(A)){var U=A.indexOf(&quot;--&quot;)===0,G=Ge(A,w[A],U);A===&quot;float&quot;&amp;&amp;(A=&quot;cssFloat&quot;),U?b.setProperty(A,G):b[A]=G}}var Qe=O({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function rt(b,w){if(w){if(Qe[b]&amp;&amp;(w.children!=null||w.dangerouslySetInnerHTML!=null))throw Error(t(137,b));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 Ae(b,w){if(b.indexOf(&quot;-&quot;)===-1)return typeof w.is==&quot;string&quot;;switch(b){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 ut=null;function $t(b){return b=b.target||b.srcElement||window,b.correspondingUseElement&amp;&amp;(b=b.correspondingUseElement),b.nodeType===3?b.parentNode:b}var ht=null,Tt=null,It=null;function Et(b){if(b=Ko(b)){if(typeof ht!=&quot;function&quot;)throw Error(t(280));var w=b.stateNode;w&amp;&amp;(w=rc(w),ht(b.stateNode,b.type,w))}}function Ut(b){Tt?It?It.push(b):It=[b]:Tt=b}function qt(){if(Tt){var b=Tt,w=It;if(It=Tt=null,Et(b),w)for(b=0;b&lt;w.length;b++)Et(w[b])}}function yt(b,w){return b(w)}function Rt(){}var Xt=!1;function dt(b,w,A){if(Xt)return b(w,A);Xt=!0;try{return yt(b,w,A)}finally{Xt=!1,(Tt!==null||It!==null)&amp;&amp;(Rt(),qt())}}function Ft(b,w){var A=b.stateNode;if(A===null)return null;var U=rc(A);if(U===null)return null;A=U[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;:(U=!U.disabled)||(b=b.type,U=!(b===&quot;button&quot;||b===&quot;input&quot;||b===&quot;select&quot;||b===&quot;textarea&quot;)),b=!U;break e;default:b=!1}if(b)return null;if(A&amp;&amp;typeof A!=&quot;function&quot;)throw Error(t(231,w,typeof A));return A}var Ht=!1;if(u)try{var Nt={};Object.defineProperty(Nt,&quot;passive&quot;,{get:function(){Ht=!0}}),window.addEventListener(&quot;test&quot;,Nt,Nt),window.removeEventListener(&quot;test&quot;,Nt,Nt)}catch{Ht=!1}function be(b,w,A,U,G,J,ae,me,ye){var Oe=Array.prototype.slice.call(arguments,3);try{w.apply(A,Oe)}catch(qe){this.onError(qe)}}var Ne=!1,Ie=null,Ke=!1,vt=null,Je={onError:function(b){Ne=!0,Ie=b}};function St(b,w,A,U,G,J,ae,me,ye){Ne=!1,Ie=null,be.apply(Je,arguments)}function wt(b,w,A,U,G,J,ae,me,ye){if(St.apply(this,arguments),Ne){if(Ne){var Oe=Ie;Ne=!1,Ie=null}else throw Error(t(198));Ke||(Ke=!0,vt=Oe)}}function ot(b){var w=b,A=b;if(b.alternate)for(;w.return;)w=w.return;else{b=w;do w=b,(w.flags&amp;4098)!==0&amp;&amp;(A=w.return),b=w.return;while(b)}return w.tag===3?A:null}function At(b){if(b.tag===13){var w=b.memoizedState;if(w===null&amp;&amp;(b=b.alternate,b!==null&amp;&amp;(w=b.memoizedState)),w!==null)return w.dehydrated}return null}function Ct(b){if(ot(b)!==b)throw Error(t(188))}function Dt(b){var w=b.alternate;if(!w){if(w=ot(b),w===null)throw Error(t(188));return w!==b?null:b}for(var A=b,U=w;;){var G=A.return;if(G===null)break;var J=G.alternate;if(J===null){if(U=G.return,U!==null){A=U;continue}break}if(G.child===J.child){for(J=G.child;J;){if(J===A)return Ct(G),b;if(J===U)return Ct(G),w;J=J.sibling}throw Error(t(188))}if(A.return!==U.return)A=G,U=J;else{for(var ae=!1,me=G.child;me;){if(me===A){ae=!0,A=G,U=J;break}if(me===U){ae=!0,U=G,A=J;break}me=me.sibling}if(!ae){for(me=J.child;me;){if(me===A){ae=!0,A=J,U=G;break}if(me===U){ae=!0,U=J,A=G;break}me=me.sibling}if(!ae)throw Error(t(189))}}if(A.alternate!==U)throw Error(t(190))}if(A.tag!==3)throw Error(t(188));return A.stateNode.current===A?b:w}function or(b){return b=Dt(b),b!==null?Gt(b):null}function Gt(b){if(b.tag===5||b.tag===6)return b;for(b=b.child;b!==null;){var w=Gt(b);if(w!==null)return w;b=b.sibling}return null}var nr=r.unstable_scheduleCallback,ur=r.unstable_cancelCallback,Ar=r.unstable_shouldYield,he=r.unstable_requestPaint,ve=r.unstable_now,Le=r.unstable_getCurrentPriorityLevel,$e=r.unstable_ImmediatePriority,ct=r.unstable_UserBlockingPriority,Fe=r.unstable_NormalPriority,Ye=r.unstable_LowPriority,Ce=r.unstable_IdlePriority,nt=null,it=null;function at(b){if(it&amp;&amp;typeof it.onCommitFiberRoot==&quot;function&quot;)try{it.onCommitFiberRoot(nt,b,void 0,(b.current.flags&amp;128)===128)}catch{}}var Mt=Math.clz32?Math.clz32:gr,er=Math.log,Wt=Math.LN2;function gr(b){return b&gt;&gt;&gt;=0,b===0?32:31-(er(b)/Wt|0)|0}var tr=64,Lr=4194304;function _r(b){switch(b&amp;-b){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 b&amp;4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return b&amp;130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return b}}function Pn(b,w){var A=b.pendingLanes;if(A===0)return 0;var U=0,G=b.suspendedLanes,J=b.pingedLanes,ae=A&amp;268435455;if(ae!==0){var me=ae&amp;~G;me!==0?U=_r(me):(J&amp;=ae,J!==0&amp;&amp;(U=_r(J)))}else ae=A&amp;~G,ae!==0?U=_r(ae):J!==0&amp;&amp;(U=_r(J));if(U===0)return 0;if(w!==0&amp;&amp;w!==U&amp;&amp;(w&amp;G)===0&amp;&amp;(G=U&amp;-U,J=w&amp;-w,G&gt;=J||G===16&amp;&amp;(J&amp;4194240)!==0))return w;if((U&amp;4)!==0&amp;&amp;(U|=A&amp;16),w=b.entangledLanes,w!==0)for(b=b.entanglements,w&amp;=U;0&lt;w;)A=31-Mt(w),G=1&lt;&lt;A,U|=b[A],w&amp;=~G;return U}function Qi(b,w){switch(b){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 Ji(b,w){for(var A=b.suspendedLanes,U=b.pingedLanes,G=b.expirationTimes,J=b.pendingLanes;0&lt;J;){var ae=31-Mt(J),me=1&lt;&lt;ae,ye=G[ae];ye===-1?((me&amp;A)===0||(me&amp;U)!==0)&amp;&amp;(G[ae]=Qi(me,w)):ye&lt;=w&amp;&amp;(b.expiredLanes|=me),J&amp;=~me}}function xi(b){return b=b.pendingLanes&amp;-1073741825,b!==0?b:b&amp;1073741824?1073741824:0}function Zt(){var b=tr;return tr&lt;&lt;=1,(tr&amp;4194240)===0&amp;&amp;(tr=64),b}function Vt(b){for(var w=[],A=0;31&gt;A;A++)w.push(b);return w}function Mr(b,w,A){b.pendingLanes|=w,w!==536870912&amp;&amp;(b.suspendedLanes=0,b.pingedLanes=0),b=b.eventTimes,w=31-Mt(w),b[w]=A}function bi(b,w){var A=b.pendingLanes&amp;~w;b.pendingLanes=w,b.suspendedLanes=0,b.pingedLanes=0,b.expiredLanes&amp;=w,b.mutableReadLanes&amp;=w,b.entangledLanes&amp;=w,w=b.entanglements;var U=b.eventTimes;for(b=b.expirationTimes;0&lt;A;){var G=31-Mt(A),J=1&lt;&lt;G;w[G]=0,U[G]=-1,b[G]=-1,A&amp;=~J}}function ks(b,w){var A=b.entangledLanes|=w;for(b=b.entanglements;A;){var U=31-Mt(A),G=1&lt;&lt;U;G&amp;w|b[U]&amp;w&amp;&amp;(b[U]|=w),A&amp;=~G}}var jt=0;function Tn(b){return b&amp;=-b,1&lt;b?4&lt;b?(b&amp;268435455)!==0?16:536870912:4:1}var ai,Mi,on,oi,Hn,Hs=!1,yi=[],yn=null,In=null,Rn=null,vn=new Map,Dn=new Map,Wn=[],mf=&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 pf(b,w){switch(b){case&quot;focusin&quot;:case&quot;focusout&quot;:yn=null;break;case&quot;dragenter&quot;:case&quot;dragleave&quot;:In=null;break;case&quot;mouseover&quot;:case&quot;mouseout&quot;:Rn=null;break;case&quot;pointerover&quot;:case&quot;pointerout&quot;:vn.delete(w.pointerId);break;case&quot;gotpointercapture&quot;:case&quot;lostpointercapture&quot;:Dn.delete(w.pointerId)}}function Kn(b,w,A,U,G,J){return b===null||b.nativeEvent!==J?(b={blockedOn:w,domEventName:A,eventSystemFlags:U,nativeEvent:J,targetContainers:[G]},w!==null&amp;&amp;(w=Ko(w),w!==null&amp;&amp;Mi(w)),b):(b.eventSystemFlags|=U,w=b.targetContainers,G!==null&amp;&amp;w.indexOf(G)===-1&amp;&amp;w.push(G),b)}function Rl(b,w,A,U,G){switch(w){case&quot;focusin&quot;:return yn=Kn(yn,b,w,A,U,G),!0;case&quot;dragenter&quot;:return In=Kn(In,b,w,A,U,G),!0;case&quot;mouseover&quot;:return Rn=Kn(Rn,b,w,A,U,G),!0;case&quot;pointerover&quot;:var J=G.pointerId;return vn.set(J,Kn(vn.get(J)||null,b,w,A,U,G)),!0;case&quot;gotpointercapture&quot;:return J=G.pointerId,Dn.set(J,Kn(Dn.get(J)||null,b,w,A,U,G)),!0}return!1}function Dl(b){var w=Js(b.target);if(w!==null){var A=ot(w);if(A!==null){if(w=A.tag,w===13){if(w=At(A),w!==null){b.blockedOn=w,Hn(b.priority,function(){on(A)});return}}else if(w===3&amp;&amp;A.stateNode.current.memoizedState.isDehydrated){b.blockedOn=A.tag===3?A.stateNode.containerInfo:null;return}}}b.blockedOn=null}function Mo(b){if(b.blockedOn!==null)return!1;for(var w=b.targetContainers;0&lt;w.length;){var A=Ks(b.domEventName,b.eventSystemFlags,w[0],b.nativeEvent);if(A===null){A=b.nativeEvent;var U=new A.constructor(A.type,A);ut=U,A.target.dispatchEvent(U),ut=null}else return w=Ko(A),w!==null&amp;&amp;Mi(w),b.blockedOn=A,!1;w.shift()}return!0}function ru(b,w,A){Mo(b)&amp;&amp;A.delete(w)}function gf(){Hs=!1,yn!==null&amp;&amp;Mo(yn)&amp;&amp;(yn=null),In!==null&amp;&amp;Mo(In)&amp;&amp;(In=null),Rn!==null&amp;&amp;Mo(Rn)&amp;&amp;(Rn=null),vn.forEach(ru),Dn.forEach(ru)}function Fa(b,w){b.blockedOn===w&amp;&amp;(b.blockedOn=null,Hs||(Hs=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,gf)))}function Oo(b){function w(G){return Fa(G,b)}if(0&lt;yi.length){Fa(yi[0],b);for(var A=1;A&lt;yi.length;A++){var U=yi[A];U.blockedOn===b&amp;&amp;(U.blockedOn=null)}}for(yn!==null&amp;&amp;Fa(yn,b),In!==null&amp;&amp;Fa(In,b),Rn!==null&amp;&amp;Fa(Rn,b),vn.forEach(w),Dn.forEach(w),A=0;A&lt;Wn.length;A++)U=Wn[A],U.blockedOn===b&amp;&amp;(U.blockedOn=null);for(;0&lt;Wn.length&amp;&amp;(A=Wn[0],A.blockedOn===null);)Dl(A),A.blockedOn===null&amp;&amp;Wn.shift()}var Ws=C.ReactCurrentBatchConfig,Ll=!0;function Fl(b,w,A,U){var G=jt,J=Ws.transition;Ws.transition=null;try{jt=1,Bl(b,w,A,U)}finally{jt=G,Ws.transition=J}}function C0(b,w,A,U){var G=jt,J=Ws.transition;Ws.transition=null;try{jt=4,Bl(b,w,A,U)}finally{jt=G,Ws.transition=J}}function Bl(b,w,A,U){if(Ll){var G=Ks(b,w,A,U);if(G===null)Ha(b,w,U,Ns,A),pf(b,U);else if(Rl(G,b,w,A,U))U.stopPropagation();else if(pf(b,U),w&amp;4&amp;&amp;-1&lt;mf.indexOf(b)){for(;G!==null;){var J=Ko(G);if(J!==null&amp;&amp;ai(J),J=Ks(b,w,A,U),J===null&amp;&amp;Ha(b,w,U,Ns,A),J===G)break;G=J}G!==null&amp;&amp;U.stopPropagation()}else Ha(b,w,U,null,A)}}var Ns=null;function Ks(b,w,A,U){if(Ns=null,b=$t(U),b=Js(b),b!==null)if(w=ot(b),w===null)b=null;else if(A=w.tag,A===13){if(b=At(w),b!==null)return b;b=null}else if(A===3){if(w.stateNode.current.memoizedState.isDehydrated)return w.tag===3?w.stateNode.containerInfo:null;b=null}else w!==b&amp;&amp;(b=null);return Ns=b,null}function nu(b){switch(b){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(Le()){case $e:return 1;case ct:return 4;case Fe:case Ye:return 16;case Ce:return 536870912;default:return 16}default:return 16}}var es=null,zl=null,Po=null;function iu(){if(Po)return Po;var b,w=zl,A=w.length,U,G=&quot;value&quot;in es?es.value:es.textContent,J=G.length;for(b=0;b&lt;A&amp;&amp;w[b]===G[b];b++);var ae=A-b;for(U=1;U&lt;=ae&amp;&amp;w[A-U]===G[J-U];U++);return Po=G.slice(b,1&lt;U?1-U:void 0)}function To(b){var w=b.keyCode;return&quot;charCode&quot;in b?(b=b.charCode,b===0&amp;&amp;w===13&amp;&amp;(b=13)):b=w,b===10&amp;&amp;(b=13),32&lt;=b||b===13?b:0}function Io(){return!0}function su(){return!1}function Or(b){function w(A,U,G,J,ae){this._reactName=A,this._targetInst=G,this.type=U,this.nativeEvent=J,this.target=ae,this.currentTarget=null;for(var me in b)b.hasOwnProperty(me)&amp;&amp;(A=b[me],this[me]=A?A(J):J[me]);return this.isDefaultPrevented=(J.defaultPrevented!=null?J.defaultPrevented:J.returnValue===!1)?Io:su,this.isPropagationStopped=su,this}return O(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=Io)},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=Io)},persist:function(){},isPersistent:Io}),w}var Xs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(b){return b.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$l=Or(Xs),ts=O({},Xs,{view:0,detail:0}),E0=Or(ts),Ba,Ro,ln,Ul=O({},ts,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Do,button:0,buttons:0,relatedTarget:function(b){return b.relatedTarget===void 0?b.fromElement===b.srcElement?b.toElement:b.fromElement:b.relatedTarget},movementX:function(b){return&quot;movementX&quot;in b?b.movementX:(b!==ln&amp;&amp;(ln&amp;&amp;b.type===&quot;mousemove&quot;?(Ba=b.screenX-ln.screenX,Ro=b.screenY-ln.screenY):Ro=Ba=0,ln=b),Ba)},movementY:function(b){return&quot;movementY&quot;in b?b.movementY:Ro}}),au=Or(Ul),za=O({},Ul,{dataTransfer:0}),ou=Or(za),A0=O({},ts,{relatedTarget:0}),Vl=Or(A0),M0=O({},Xs,{animationName:0,elapsedTime:0,pseudoElement:0}),Gs=Or(M0),O0=O({},Xs,{clipboardData:function(b){return&quot;clipboardData&quot;in b?b.clipboardData:window.clipboardData}}),P0=Or(O0),T0=O({},Xs,{data:0}),xf=Or(T0),bf={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;},I0={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;},yf={Alt:&quot;altKey&quot;,Control:&quot;ctrlKey&quot;,Meta:&quot;metaKey&quot;,Shift:&quot;shiftKey&quot;};function vf(b){var w=this.nativeEvent;return w.getModifierState?w.getModifierState(b):(b=yf[b])?!!w[b]:!1}function Do(){return vf}var R0=O({},ts,{key:function(b){if(b.key){var w=bf[b.key]||b.key;if(w!==&quot;Unidentified&quot;)return w}return b.type===&quot;keypress&quot;?(b=To(b),b===13?&quot;Enter&quot;:String.fromCharCode(b)):b.type===&quot;keydown&quot;||b.type===&quot;keyup&quot;?I0[b.keyCode]||&quot;Unidentified&quot;:&quot;&quot;},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Do,charCode:function(b){return b.type===&quot;keypress&quot;?To(b):0},keyCode:function(b){return b.type===&quot;keydown&quot;||b.type===&quot;keyup&quot;?b.keyCode:0},which:function(b){return b.type===&quot;keypress&quot;?To(b):b.type===&quot;keydown&quot;||b.type===&quot;keyup&quot;?b.keyCode:0}}),ql=Or(R0),D0=O({},Ul,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),lu=Or(D0),wf=O({},ts,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Do}),cu=Or(wf),_f=O({},Xs,{propertyName:0,elapsedTime:0,pseudoElement:0}),L0=Or(_f),F0=O({},Ul,{deltaX:function(b){return&quot;deltaX&quot;in b?b.deltaX:&quot;wheelDeltaX&quot;in b?-b.wheelDeltaX:0},deltaY:function(b){return&quot;deltaY&quot;in b?b.deltaY:&quot;wheelDeltaY&quot;in b?-b.wheelDeltaY:&quot;wheelDelta&quot;in b?-b.wheelDelta:0},deltaZ:0,deltaMode:0}),B0=Or(F0),jf=[9,13,27,32],uu=u&amp;&amp;&quot;CompositionEvent&quot;in window,vi=null;u&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;(vi=document.documentMode);var $a=u&amp;&amp;&quot;TextEvent&quot;in window&amp;&amp;!vi,Hl=u&amp;&amp;(!uu||vi&amp;&amp;8&lt;vi&amp;&amp;11&gt;=vi),Sf=&quot; &quot;,du=!1;function kf(b,w){switch(b){case&quot;keyup&quot;:return jf.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 Ys(b){return b=b.detail,typeof b==&quot;object&quot;&amp;&amp;&quot;data&quot;in b?b.data:null}var rs=!1;function z0(b,w){switch(b){case&quot;compositionend&quot;:return Ys(w);case&quot;keypress&quot;:return w.which!==32?null:(du=!0,Sf);case&quot;textInput&quot;:return b=w.data,b===Sf&amp;&amp;du?null:b;default:return null}}function $0(b,w){if(rs)return b===&quot;compositionend&quot;||!uu&amp;&amp;kf(b,w)?(b=iu(),Po=zl=es=null,rs=!1,b):null;switch(b){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 Hl&amp;&amp;w.locale!==&quot;ko&quot;?null:w.data;default:return null}}var U0={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 Ua(b){var w=b&amp;&amp;b.nodeName&amp;&amp;b.nodeName.toLowerCase();return w===&quot;input&quot;?!!U0[b.type]:w===&quot;textarea&quot;}function Nf(b,w,A,U){Ut(U),w=ec(w,&quot;onChange&quot;),0&lt;w.length&amp;&amp;(A=new $l(&quot;onChange&quot;,&quot;change&quot;,null,A,U),b.push({event:A,listeners:w}))}var ns=null,Lo=null;function Cf(b){Bf(b,0)}function Fo(b){var w=Ka(b);if(Q(w))return b}function Ef(b,w){if(b===&quot;change&quot;)return w}var fu=!1;if(u){var Wl;if(u){var Kl=&quot;oninput&quot;in document;if(!Kl){var Xl=document.createElement(&quot;div&quot;);Xl.setAttribute(&quot;oninput&quot;,&quot;return;&quot;),Kl=typeof Xl.oninput==&quot;function&quot;}Wl=Kl}else Wl=!1;fu=Wl&amp;&amp;(!document.documentMode||9&lt;document.documentMode)}function hu(){ns&amp;&amp;(ns.detachEvent(&quot;onpropertychange&quot;,Af),Lo=ns=null)}function Af(b){if(b.propertyName===&quot;value&quot;&amp;&amp;Fo(Lo)){var w=[];Nf(w,Lo,b,$t(b)),dt(Cf,w)}}function V0(b,w,A){b===&quot;focusin&quot;?(hu(),ns=w,Lo=A,ns.attachEvent(&quot;onpropertychange&quot;,Af)):b===&quot;focusout&quot;&amp;&amp;hu()}function q0(b){if(b===&quot;selectionchange&quot;||b===&quot;keyup&quot;||b===&quot;keydown&quot;)return Fo(Lo)}function Mf(b,w){if(b===&quot;click&quot;)return Fo(w)}function H0(b,w){if(b===&quot;input&quot;||b===&quot;change&quot;)return Fo(w)}function is(b,w){return b===w&amp;&amp;(b!==0||1/b===1/w)||b!==b&amp;&amp;w!==w}var Xn=typeof Object.is==&quot;function&quot;?Object.is:is;function Bo(b,w){if(Xn(b,w))return!0;if(typeof b!=&quot;object&quot;||b===null||typeof w!=&quot;object&quot;||w===null)return!1;var A=Object.keys(b),U=Object.keys(w);if(A.length!==U.length)return!1;for(U=0;U&lt;A.length;U++){var G=A[U];if(!c.call(w,G)||!Xn(b[G],w[G]))return!1}return!0}function mu(b){for(;b&amp;&amp;b.firstChild;)b=b.firstChild;return b}function Of(b,w){var A=mu(b);b=0;for(var U;A;){if(A.nodeType===3){if(U=b+A.textContent.length,b&lt;=w&amp;&amp;U&gt;=w)return{node:A,offset:w-b};b=U}e:{for(;A;){if(A.nextSibling){A=A.nextSibling;break e}A=A.parentNode}A=void 0}A=mu(A)}}function pu(b,w){return b&amp;&amp;w?b===w?!0:b&amp;&amp;b.nodeType===3?!1:w&amp;&amp;w.nodeType===3?pu(b,w.parentNode):&quot;contains&quot;in b?b.contains(w):b.compareDocumentPosition?!!(b.compareDocumentPosition(w)&amp;16):!1:!1}function gu(){for(var b=window,w=te();w instanceof b.HTMLIFrameElement;){try{var A=typeof w.contentWindow.location.href==&quot;string&quot;}catch{A=!1}if(A)b=w.contentWindow;else break;w=te(b.document)}return w}function Gl(b){var w=b&amp;&amp;b.nodeName&amp;&amp;b.nodeName.toLowerCase();return w&amp;&amp;(w===&quot;input&quot;&amp;&amp;(b.type===&quot;text&quot;||b.type===&quot;search&quot;||b.type===&quot;tel&quot;||b.type===&quot;url&quot;||b.type===&quot;password&quot;)||w===&quot;textarea&quot;||b.contentEditable===&quot;true&quot;)}function Pf(b){var w=gu(),A=b.focusedElem,U=b.selectionRange;if(w!==A&amp;&amp;A&amp;&amp;A.ownerDocument&amp;&amp;pu(A.ownerDocument.documentElement,A)){if(U!==null&amp;&amp;Gl(A)){if(w=U.start,b=U.end,b===void 0&amp;&amp;(b=w),&quot;selectionStart&quot;in A)A.selectionStart=w,A.selectionEnd=Math.min(b,A.value.length);else if(b=(w=A.ownerDocument||document)&amp;&amp;w.defaultView||window,b.getSelection){b=b.getSelection();var G=A.textContent.length,J=Math.min(U.start,G);U=U.end===void 0?J:Math.min(U.end,G),!b.extend&amp;&amp;J&gt;U&amp;&amp;(G=U,U=J,J=G),G=Of(A,J);var ae=Of(A,U);G&amp;&amp;ae&amp;&amp;(b.rangeCount!==1||b.anchorNode!==G.node||b.anchorOffset!==G.offset||b.focusNode!==ae.node||b.focusOffset!==ae.offset)&amp;&amp;(w=w.createRange(),w.setStart(G.node,G.offset),b.removeAllRanges(),J&gt;U?(b.addRange(w),b.extend(ae.node,ae.offset)):(w.setEnd(ae.node,ae.offset),b.addRange(w)))}}for(w=[],b=A;b=b.parentNode;)b.nodeType===1&amp;&amp;w.push({element:b,left:b.scrollLeft,top:b.scrollTop});for(typeof A.focus==&quot;function&quot;&amp;&amp;A.focus(),A=0;A&lt;w.length;A++)b=w[A],b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}var Tf=u&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;11&gt;=document.documentMode,Zs=null,zo=null,Va=null,xu=!1;function If(b,w,A){var U=A.window===A?A.document:A.nodeType===9?A:A.ownerDocument;xu||Zs==null||Zs!==te(U)||(U=Zs,&quot;selectionStart&quot;in U&amp;&amp;Gl(U)?U={start:U.selectionStart,end:U.selectionEnd}:(U=(U.ownerDocument&amp;&amp;U.ownerDocument.defaultView||window).getSelection(),U={anchorNode:U.anchorNode,anchorOffset:U.anchorOffset,focusNode:U.focusNode,focusOffset:U.focusOffset}),Va&amp;&amp;Bo(Va,U)||(Va=U,U=ec(zo,&quot;onSelect&quot;),0&lt;U.length&amp;&amp;(w=new $l(&quot;onSelect&quot;,&quot;select&quot;,null,w,A),b.push({event:w,listeners:U}),w.target=Zs)))}function Yl(b,w){var A={};return A[b.toLowerCase()]=w.toLowerCase(),A[&quot;Webkit&quot;+b]=&quot;webkit&quot;+w,A[&quot;Moz&quot;+b]=&quot;moz&quot;+w,A}var Qs={animationend:Yl(&quot;Animation&quot;,&quot;AnimationEnd&quot;),animationiteration:Yl(&quot;Animation&quot;,&quot;AnimationIteration&quot;),animationstart:Yl(&quot;Animation&quot;,&quot;AnimationStart&quot;),transitionend:Yl(&quot;Transition&quot;,&quot;TransitionEnd&quot;)},bu={},Cs={};u&amp;&amp;(Cs=document.createElement(&quot;div&quot;).style,&quot;AnimationEvent&quot;in window||(delete Qs.animationend.animation,delete Qs.animationiteration.animation,delete Qs.animationstart.animation),&quot;TransitionEvent&quot;in window||delete Qs.transitionend.transition);function Zl(b){if(bu[b])return bu[b];if(!Qs[b])return b;var w=Qs[b],A;for(A in w)if(w.hasOwnProperty(A)&amp;&amp;A in Cs)return bu[b]=w[A];return b}var Rf=Zl(&quot;animationend&quot;),Df=Zl(&quot;animationiteration&quot;),yu=Zl(&quot;animationstart&quot;),Lf=Zl(&quot;transitionend&quot;),vu=new Map,Gn=&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 Yn(b,w){vu.set(b,w),i(w,[b])}for(var Ql=0;Ql&lt;Gn.length;Ql++){var $o=Gn[Ql],wu=$o.toLowerCase(),Uo=$o[0].toUpperCase()+$o.slice(1);Yn(wu,&quot;on&quot;+Uo)}Yn(Rf,&quot;onAnimationEnd&quot;),Yn(Df,&quot;onAnimationIteration&quot;),Yn(yu,&quot;onAnimationStart&quot;),Yn(&quot;dblclick&quot;,&quot;onDoubleClick&quot;),Yn(&quot;focusin&quot;,&quot;onFocus&quot;),Yn(&quot;focusout&quot;,&quot;onBlur&quot;),Yn(Lf,&quot;onTransitionEnd&quot;),o(&quot;onMouseEnter&quot;,[&quot;mouseout&quot;,&quot;mouseover&quot;]),o(&quot;onMouseLeave&quot;,[&quot;mouseout&quot;,&quot;mouseover&quot;]),o(&quot;onPointerEnter&quot;,[&quot;pointerout&quot;,&quot;pointerover&quot;]),o(&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 qa=&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;),W0=new Set(&quot;cancel close invalid load scroll toggle&quot;.split(&quot; &quot;).concat(qa));function Ff(b,w,A){var U=b.type||&quot;unknown-event&quot;;b.currentTarget=A,wt(U,w,void 0,b),b.currentTarget=null}function Bf(b,w){w=(w&amp;4)!==0;for(var A=0;A&lt;b.length;A++){var U=b[A],G=U.event;U=U.listeners;e:{var J=void 0;if(w)for(var ae=U.length-1;0&lt;=ae;ae--){var me=U[ae],ye=me.instance,Oe=me.currentTarget;if(me=me.listener,ye!==J&amp;&amp;G.isPropagationStopped())break e;Ff(G,me,Oe),J=ye}else for(ae=0;ae&lt;U.length;ae++){if(me=U[ae],ye=me.instance,Oe=me.currentTarget,me=me.listener,ye!==J&amp;&amp;G.isPropagationStopped())break e;Ff(G,me,Oe),J=ye}}}if(Ke)throw b=vt,Ke=!1,vt=null,b}function xr(b,w){var A=w[Au];A===void 0&amp;&amp;(A=w[Au]=new Set);var U=b+&quot;__bubble&quot;;A.has(U)||(zf(w,b,2,!1),A.add(U))}function _u(b,w,A){var U=0;w&amp;&amp;(U|=4),zf(A,b,U,w)}var Jl=&quot;_reactListening&quot;+Math.random().toString(36).slice(2);function Vo(b){if(!b[Jl]){b[Jl]=!0,n.forEach(function(A){A!==&quot;selectionchange&quot;&amp;&amp;(W0.has(A)||_u(A,!1,b),_u(A,!0,b))});var w=b.nodeType===9?b:b.ownerDocument;w===null||w[Jl]||(w[Jl]=!0,_u(&quot;selectionchange&quot;,!1,w))}}function zf(b,w,A,U){switch(nu(w)){case 1:var G=Fl;break;case 4:G=C0;break;default:G=Bl}A=G.bind(null,w,A,b),G=void 0,!Ht||w!==&quot;touchstart&quot;&amp;&amp;w!==&quot;touchmove&quot;&amp;&amp;w!==&quot;wheel&quot;||(G=!0),U?G!==void 0?b.addEventListener(w,A,{capture:!0,passive:G}):b.addEventListener(w,A,!0):G!==void 0?b.addEventListener(w,A,{passive:G}):b.addEventListener(w,A,!1)}function Ha(b,w,A,U,G){var J=U;if((w&amp;1)===0&amp;&amp;(w&amp;2)===0&amp;&amp;U!==null)e:for(;;){if(U===null)return;var ae=U.tag;if(ae===3||ae===4){var me=U.stateNode.containerInfo;if(me===G||me.nodeType===8&amp;&amp;me.parentNode===G)break;if(ae===4)for(ae=U.return;ae!==null;){var ye=ae.tag;if((ye===3||ye===4)&amp;&amp;(ye=ae.stateNode.containerInfo,ye===G||ye.nodeType===8&amp;&amp;ye.parentNode===G))return;ae=ae.return}for(;me!==null;){if(ae=Js(me),ae===null)return;if(ye=ae.tag,ye===5||ye===6){U=J=ae;continue e}me=me.parentNode}}U=U.return}dt(function(){var Oe=J,qe=$t(A),He=[];e:{var Ue=vu.get(b);if(Ue!==void 0){var lt=$l,gt=b;switch(b){case&quot;keypress&quot;:if(To(A)===0)break e;case&quot;keydown&quot;:case&quot;keyup&quot;:lt=ql;break;case&quot;focusin&quot;:gt=&quot;focus&quot;,lt=Vl;break;case&quot;focusout&quot;:gt=&quot;blur&quot;,lt=Vl;break;case&quot;beforeblur&quot;:case&quot;afterblur&quot;:lt=Vl;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;:lt=au;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;:lt=ou;break;case&quot;touchcancel&quot;:case&quot;touchend&quot;:case&quot;touchmove&quot;:case&quot;touchstart&quot;:lt=cu;break;case Rf:case Df:case yu:lt=Gs;break;case Lf:lt=L0;break;case&quot;scroll&quot;:lt=E0;break;case&quot;wheel&quot;:lt=B0;break;case&quot;copy&quot;:case&quot;cut&quot;:case&quot;paste&quot;:lt=P0;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;:lt=lu}var bt=(w&amp;4)!==0,Ur=!bt&amp;&amp;b===&quot;scroll&quot;,Ee=bt?Ue!==null?Ue+&quot;Capture&quot;:null:Ue;bt=[];for(var _e=Oe,Me;_e!==null;){Me=_e;var Ze=Me.stateNode;if(Me.tag===5&amp;&amp;Ze!==null&amp;&amp;(Me=Ze,Ee!==null&amp;&amp;(Ze=Ft(_e,Ee),Ze!=null&amp;&amp;bt.push(qo(_e,Ze,Me)))),Ur)break;_e=_e.return}0&lt;bt.length&amp;&amp;(Ue=new lt(Ue,gt,null,A,qe),He.push({event:Ue,listeners:bt}))}}if((w&amp;7)===0){e:{if(Ue=b===&quot;mouseover&quot;||b===&quot;pointerover&quot;,lt=b===&quot;mouseout&quot;||b===&quot;pointerout&quot;,Ue&amp;&amp;A!==ut&amp;&amp;(gt=A.relatedTarget||A.fromElement)&amp;&amp;(Js(gt)||gt[ss]))break e;if((lt||Ue)&amp;&amp;(Ue=qe.window===qe?qe:(Ue=qe.ownerDocument)?Ue.defaultView||Ue.parentWindow:window,lt?(gt=A.relatedTarget||A.toElement,lt=Oe,gt=gt?Js(gt):null,gt!==null&amp;&amp;(Ur=ot(gt),gt!==Ur||gt.tag!==5&amp;&amp;gt.tag!==6)&amp;&amp;(gt=null)):(lt=null,gt=Oe),lt!==gt)){if(bt=au,Ze=&quot;onMouseLeave&quot;,Ee=&quot;onMouseEnter&quot;,_e=&quot;mouse&quot;,(b===&quot;pointerout&quot;||b===&quot;pointerover&quot;)&amp;&amp;(bt=lu,Ze=&quot;onPointerLeave&quot;,Ee=&quot;onPointerEnter&quot;,_e=&quot;pointer&quot;),Ur=lt==null?Ue:Ka(lt),Me=gt==null?Ue:Ka(gt),Ue=new bt(Ze,_e+&quot;leave&quot;,lt,A,qe),Ue.target=Ur,Ue.relatedTarget=Me,Ze=null,Js(qe)===Oe&amp;&amp;(bt=new bt(Ee,_e+&quot;enter&quot;,gt,A,qe),bt.target=Me,bt.relatedTarget=Ur,Ze=bt),Ur=Ze,lt&amp;&amp;gt)t:{for(bt=lt,Ee=gt,_e=0,Me=bt;Me;Me=Es(Me))_e++;for(Me=0,Ze=Ee;Ze;Ze=Es(Ze))Me++;for(;0&lt;_e-Me;)bt=Es(bt),_e--;for(;0&lt;Me-_e;)Ee=Es(Ee),Me--;for(;_e--;){if(bt===Ee||Ee!==null&amp;&amp;bt===Ee.alternate)break t;bt=Es(bt),Ee=Es(Ee)}bt=null}else bt=null;lt!==null&amp;&amp;$f(He,Ue,lt,bt,!1),gt!==null&amp;&amp;Ur!==null&amp;&amp;$f(He,Ur,gt,bt,!0)}}e:{if(Ue=Oe?Ka(Oe):window,lt=Ue.nodeName&amp;&amp;Ue.nodeName.toLowerCase(),lt===&quot;select&quot;||lt===&quot;input&quot;&amp;&amp;Ue.type===&quot;file&quot;)var _t=Ef;else if(Ua(Ue))if(fu)_t=H0;else{_t=q0;var Ot=V0}else(lt=Ue.nodeName)&amp;&amp;lt.toLowerCase()===&quot;input&quot;&amp;&amp;(Ue.type===&quot;checkbox&quot;||Ue.type===&quot;radio&quot;)&amp;&amp;(_t=Mf);if(_t&amp;&amp;(_t=_t(b,Oe))){Nf(He,_t,A,qe);break e}Ot&amp;&amp;Ot(b,Ue,Oe),b===&quot;focusout&quot;&amp;&amp;(Ot=Ue._wrapperState)&amp;&amp;Ot.controlled&amp;&amp;Ue.type===&quot;number&quot;&amp;&amp;oe(Ue,&quot;number&quot;,Ue.value)}switch(Ot=Oe?Ka(Oe):window,b){case&quot;focusin&quot;:(Ua(Ot)||Ot.contentEditable===&quot;true&quot;)&amp;&amp;(Zs=Ot,zo=Oe,Va=null);break;case&quot;focusout&quot;:Va=zo=Zs=null;break;case&quot;mousedown&quot;:xu=!0;break;case&quot;contextmenu&quot;:case&quot;mouseup&quot;:case&quot;dragend&quot;:xu=!1,If(He,A,qe);break;case&quot;selectionchange&quot;:if(Tf)break;case&quot;keydown&quot;:case&quot;keyup&quot;:If(He,A,qe)}var Pt;if(uu)e:{switch(b){case&quot;compositionstart&quot;:var Lt=&quot;onCompositionStart&quot;;break e;case&quot;compositionend&quot;:Lt=&quot;onCompositionEnd&quot;;break e;case&quot;compositionupdate&quot;:Lt=&quot;onCompositionUpdate&quot;;break e}Lt=void 0}else rs?kf(b,A)&amp;&amp;(Lt=&quot;onCompositionEnd&quot;):b===&quot;keydown&quot;&amp;&amp;A.keyCode===229&amp;&amp;(Lt=&quot;onCompositionStart&quot;);Lt&amp;&amp;(Hl&amp;&amp;A.locale!==&quot;ko&quot;&amp;&amp;(rs||Lt!==&quot;onCompositionStart&quot;?Lt===&quot;onCompositionEnd&quot;&amp;&amp;rs&amp;&amp;(Pt=iu()):(es=qe,zl=&quot;value&quot;in es?es.value:es.textContent,rs=!0)),Ot=ec(Oe,Lt),0&lt;Ot.length&amp;&amp;(Lt=new xf(Lt,b,null,A,qe),He.push({event:Lt,listeners:Ot}),Pt?Lt.data=Pt:(Pt=Ys(A),Pt!==null&amp;&amp;(Lt.data=Pt)))),(Pt=$a?z0(b,A):$0(b,A))&amp;&amp;(Oe=ec(Oe,&quot;onBeforeInput&quot;),0&lt;Oe.length&amp;&amp;(qe=new xf(&quot;onBeforeInput&quot;,&quot;beforeinput&quot;,null,A,qe),He.push({event:qe,listeners:Oe}),qe.data=Pt))}Bf(He,w)})}function qo(b,w,A){return{instance:b,listener:w,currentTarget:A}}function ec(b,w){for(var A=w+&quot;Capture&quot;,U=[];b!==null;){var G=b,J=G.stateNode;G.tag===5&amp;&amp;J!==null&amp;&amp;(G=J,J=Ft(b,A),J!=null&amp;&amp;U.unshift(qo(b,J,G)),J=Ft(b,w),J!=null&amp;&amp;U.push(qo(b,J,G))),b=b.return}return U}function Es(b){if(b===null)return null;do b=b.return;while(b&amp;&amp;b.tag!==5);return b||null}function $f(b,w,A,U,G){for(var J=w._reactName,ae=[];A!==null&amp;&amp;A!==U;){var me=A,ye=me.alternate,Oe=me.stateNode;if(ye!==null&amp;&amp;ye===U)break;me.tag===5&amp;&amp;Oe!==null&amp;&amp;(me=Oe,G?(ye=Ft(A,J),ye!=null&amp;&amp;ae.unshift(qo(A,ye,me))):G||(ye=Ft(A,J),ye!=null&amp;&amp;ae.push(qo(A,ye,me)))),A=A.return}ae.length!==0&amp;&amp;b.push({event:w,listeners:ae})}var K0=/\r\n?/g,X0=/\u0000|\uFFFD/g;function Uf(b){return(typeof b==&quot;string&quot;?b:&quot;&quot;+b).replace(K0,`
`).replace(X0,&quot;&quot;)}function Ho(b,w,A){if(w=Uf(w),Uf(b)!==w&amp;&amp;A)throw Error(t(425))}function tc(){}var ju=null,Su=null;function ku(b,w){return b===&quot;textarea&quot;||b===&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 Nu=typeof setTimeout==&quot;function&quot;?setTimeout:void 0,G0=typeof clearTimeout==&quot;function&quot;?clearTimeout:void 0,Cu=typeof Promise==&quot;function&quot;?Promise:void 0,Y0=typeof queueMicrotask==&quot;function&quot;?queueMicrotask:typeof Cu&lt;&quot;u&quot;?function(b){return Cu.resolve(null).then(b).catch(Z0)}:Nu;function Z0(b){setTimeout(function(){throw b})}function Eu(b,w){var A=w,U=0;do{var G=A.nextSibling;if(b.removeChild(A),G&amp;&amp;G.nodeType===8)if(A=G.data,A===&quot;/$&quot;){if(U===0){b.removeChild(G),Oo(w);return}U--}else A!==&quot;$&quot;&amp;&amp;A!==&quot;$?&quot;&amp;&amp;A!==&quot;$!&quot;||U++;A=G}while(A);Oo(w)}function As(b){for(;b!=null;b=b.nextSibling){var w=b.nodeType;if(w===1||w===3)break;if(w===8){if(w=b.data,w===&quot;$&quot;||w===&quot;$!&quot;||w===&quot;$?&quot;)break;if(w===&quot;/$&quot;)return null}}return b}function Vf(b){b=b.previousSibling;for(var w=0;b;){if(b.nodeType===8){var A=b.data;if(A===&quot;$&quot;||A===&quot;$!&quot;||A===&quot;$?&quot;){if(w===0)return b;w--}else A===&quot;/$&quot;&amp;&amp;w++}b=b.previousSibling}return null}var Wa=Math.random().toString(36).slice(2),Oi=&quot;__reactFiber$&quot;+Wa,Wo=&quot;__reactProps$&quot;+Wa,ss=&quot;__reactContainer$&quot;+Wa,Au=&quot;__reactEvents$&quot;+Wa,Q0=&quot;__reactListeners$&quot;+Wa,J0=&quot;__reactHandles$&quot;+Wa;function Js(b){var w=b[Oi];if(w)return w;for(var A=b.parentNode;A;){if(w=A[ss]||A[Oi]){if(A=w.alternate,w.child!==null||A!==null&amp;&amp;A.child!==null)for(b=Vf(b);b!==null;){if(A=b[Oi])return A;b=Vf(b)}return w}b=A,A=b.parentNode}return null}function Ko(b){return b=b[Oi]||b[ss],!b||b.tag!==5&amp;&amp;b.tag!==6&amp;&amp;b.tag!==13&amp;&amp;b.tag!==3?null:b}function Ka(b){if(b.tag===5||b.tag===6)return b.stateNode;throw Error(t(33))}function rc(b){return b[Wo]||null}var Mu=[],Xa=-1;function Ms(b){return{current:b}}function br(b){0&gt;Xa||(b.current=Mu[Xa],Mu[Xa]=null,Xa--)}function lr(b,w){Xa++,Mu[Xa]=b.current,b.current=w}var as={},Hr=Ms(as),wn=Ms(!1),ea=as;function Ga(b,w){var A=b.type.contextTypes;if(!A)return as;var U=b.stateNode;if(U&amp;&amp;U.__reactInternalMemoizedUnmaskedChildContext===w)return U.__reactInternalMemoizedMaskedChildContext;var G={},J;for(J in A)G[J]=w[J];return U&amp;&amp;(b=b.stateNode,b.__reactInternalMemoizedUnmaskedChildContext=w,b.__reactInternalMemoizedMaskedChildContext=G),G}function Ln(b){return b=b.childContextTypes,b!=null}function nc(){br(wn),br(Hr)}function le(b,w,A){if(Hr.current!==as)throw Error(t(168));lr(Hr,w),lr(wn,A)}function Se(b,w,A){var U=b.stateNode;if(w=w.childContextTypes,typeof U.getChildContext!=&quot;function&quot;)return A;U=U.getChildContext();for(var G in U)if(!(G in w))throw Error(t(108,ee(b)||&quot;Unknown&quot;,G));return O({},A,U)}function We(b){return b=(b=b.stateNode)&amp;&amp;b.__reactInternalMemoizedMergedChildContext||as,ea=Hr.current,lr(Hr,b),lr(wn,wn.current),!0}function tt(b,w,A){var U=b.stateNode;if(!U)throw Error(t(169));A?(b=Se(b,w,ea),U.__reactInternalMemoizedMergedChildContext=b,br(wn),br(Hr),lr(Hr,b)):br(wn),lr(wn,A)}var Kt=null,Qt=!1,ta=!1;function Ou(b){Kt===null?Kt=[b]:Kt.push(b)}function TM(b){Qt=!0,Ou(b)}function Ya(){if(!ta&amp;&amp;Kt!==null){ta=!0;var b=0,w=jt;try{var A=Kt;for(jt=1;b&lt;A.length;b++){var U=A[b];do U=U(!0);while(U!==null)}Kt=null,Qt=!1}catch(G){throw Kt!==null&amp;&amp;(Kt=Kt.slice(b+1)),nr($e,Ya),G}finally{jt=w,ta=!1}}return null}var ic=[],sc=0,qf=null,Hf=0,Pi=[],Ti=0,Xo=null,ra=1,na=&quot;&quot;;function Go(b,w){ic[sc++]=Hf,ic[sc++]=qf,qf=b,Hf=w}function Cw(b,w,A){Pi[Ti++]=ra,Pi[Ti++]=na,Pi[Ti++]=Xo,Xo=b;var U=ra;b=na;var G=32-Mt(U)-1;U&amp;=~(1&lt;&lt;G),A+=1;var J=32-Mt(w)+G;if(30&lt;J){var ae=G-G%5;J=(U&amp;(1&lt;&lt;ae)-1).toString(32),U&gt;&gt;=ae,G-=ae,ra=1&lt;&lt;32-Mt(w)+G|A&lt;&lt;G|U,na=J+b}else ra=1&lt;&lt;J|A&lt;&lt;G|U,na=b}function eg(b){b.return!==null&amp;&amp;(Go(b,1),Cw(b,1,0))}function tg(b){for(;b===qf;)qf=ic[--sc],ic[sc]=null,Hf=ic[--sc],ic[sc]=null;for(;b===Xo;)Xo=Pi[--Ti],Pi[Ti]=null,na=Pi[--Ti],Pi[Ti]=null,ra=Pi[--Ti],Pi[Ti]=null}var wi=null,_i=null,kr=!1,os=null;function Ew(b,w){var A=Li(5,null,null,0);A.elementType=&quot;DELETED&quot;,A.stateNode=w,A.return=b,w=b.deletions,w===null?(b.deletions=[A],b.flags|=16):w.push(A)}function Aw(b,w){switch(b.tag){case 5:var A=b.type;return w=w.nodeType!==1||A.toLowerCase()!==w.nodeName.toLowerCase()?null:w,w!==null?(b.stateNode=w,wi=b,_i=As(w.firstChild),!0):!1;case 6:return w=b.pendingProps===&quot;&quot;||w.nodeType!==3?null:w,w!==null?(b.stateNode=w,wi=b,_i=null,!0):!1;case 13:return w=w.nodeType!==8?null:w,w!==null?(A=Xo!==null?{id:ra,overflow:na}:null,b.memoizedState={dehydrated:w,treeContext:A,retryLane:1073741824},A=Li(18,null,null,0),A.stateNode=w,A.return=b,b.child=A,wi=b,_i=null,!0):!1;default:return!1}}function rg(b){return(b.mode&amp;1)!==0&amp;&amp;(b.flags&amp;128)===0}function ng(b){if(kr){var w=_i;if(w){var A=w;if(!Aw(b,w)){if(rg(b))throw Error(t(418));w=As(A.nextSibling);var U=wi;w&amp;&amp;Aw(b,w)?Ew(U,A):(b.flags=b.flags&amp;-4097|2,kr=!1,wi=b)}}else{if(rg(b))throw Error(t(418));b.flags=b.flags&amp;-4097|2,kr=!1,wi=b}}}function Mw(b){for(b=b.return;b!==null&amp;&amp;b.tag!==5&amp;&amp;b.tag!==3&amp;&amp;b.tag!==13;)b=b.return;wi=b}function Wf(b){if(b!==wi)return!1;if(!kr)return Mw(b),kr=!0,!1;var w;if((w=b.tag!==3)&amp;&amp;!(w=b.tag!==5)&amp;&amp;(w=b.type,w=w!==&quot;head&quot;&amp;&amp;w!==&quot;body&quot;&amp;&amp;!ku(b.type,b.memoizedProps)),w&amp;&amp;(w=_i)){if(rg(b))throw Ow(),Error(t(418));for(;w;)Ew(b,w),w=As(w.nextSibling)}if(Mw(b),b.tag===13){if(b=b.memoizedState,b=b!==null?b.dehydrated:null,!b)throw Error(t(317));e:{for(b=b.nextSibling,w=0;b;){if(b.nodeType===8){var A=b.data;if(A===&quot;/$&quot;){if(w===0){_i=As(b.nextSibling);break e}w--}else A!==&quot;$&quot;&amp;&amp;A!==&quot;$!&quot;&amp;&amp;A!==&quot;$?&quot;||w++}b=b.nextSibling}_i=null}}else _i=wi?As(b.stateNode.nextSibling):null;return!0}function Ow(){for(var b=_i;b;)b=As(b.nextSibling)}function ac(){_i=wi=null,kr=!1}function ig(b){os===null?os=[b]:os.push(b)}var IM=C.ReactCurrentBatchConfig;function Pu(b,w,A){if(b=A.ref,b!==null&amp;&amp;typeof b!=&quot;function&quot;&amp;&amp;typeof b!=&quot;object&quot;){if(A._owner){if(A=A._owner,A){if(A.tag!==1)throw Error(t(309));var U=A.stateNode}if(!U)throw Error(t(147,b));var G=U,J=&quot;&quot;+b;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 me=G.refs;ae===null?delete me[J]:me[J]=ae},w._stringRef=J,w)}if(typeof b!=&quot;string&quot;)throw Error(t(284));if(!A._owner)throw Error(t(290,b))}return b}function Kf(b,w){throw b=Object.prototype.toString.call(w),Error(t(31,b===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(w).join(&quot;, &quot;)+&quot;}&quot;:b))}function Pw(b){var w=b._init;return w(b._payload)}function Tw(b){function w(Ee,_e){if(b){var Me=Ee.deletions;Me===null?(Ee.deletions=[_e],Ee.flags|=16):Me.push(_e)}}function A(Ee,_e){if(!b)return null;for(;_e!==null;)w(Ee,_e),_e=_e.sibling;return null}function U(Ee,_e){for(Ee=new Map;_e!==null;)_e.key!==null?Ee.set(_e.key,_e):Ee.set(_e.index,_e),_e=_e.sibling;return Ee}function G(Ee,_e){return Ee=io(Ee,_e),Ee.index=0,Ee.sibling=null,Ee}function J(Ee,_e,Me){return Ee.index=Me,b?(Me=Ee.alternate,Me!==null?(Me=Me.index,Me&lt;_e?(Ee.flags|=2,_e):Me):(Ee.flags|=2,_e)):(Ee.flags|=1048576,_e)}function ae(Ee){return b&amp;&amp;Ee.alternate===null&amp;&amp;(Ee.flags|=2),Ee}function me(Ee,_e,Me,Ze){return _e===null||_e.tag!==6?(_e=Gg(Me,Ee.mode,Ze),_e.return=Ee,_e):(_e=G(_e,Me),_e.return=Ee,_e)}function ye(Ee,_e,Me,Ze){var _t=Me.type;return _t===$?qe(Ee,_e,Me.props.children,Ze,Me.key):_e!==null&amp;&amp;(_e.elementType===_t||typeof _t==&quot;object&quot;&amp;&amp;_t!==null&amp;&amp;_t.$$typeof===j&amp;&amp;Pw(_t)===_e.type)?(Ze=G(_e,Me.props),Ze.ref=Pu(Ee,_e,Me),Ze.return=Ee,Ze):(Ze=xh(Me.type,Me.key,Me.props,null,Ee.mode,Ze),Ze.ref=Pu(Ee,_e,Me),Ze.return=Ee,Ze)}function Oe(Ee,_e,Me,Ze){return _e===null||_e.tag!==4||_e.stateNode.containerInfo!==Me.containerInfo||_e.stateNode.implementation!==Me.implementation?(_e=Yg(Me,Ee.mode,Ze),_e.return=Ee,_e):(_e=G(_e,Me.children||[]),_e.return=Ee,_e)}function qe(Ee,_e,Me,Ze,_t){return _e===null||_e.tag!==7?(_e=nl(Me,Ee.mode,Ze,_t),_e.return=Ee,_e):(_e=G(_e,Me),_e.return=Ee,_e)}function He(Ee,_e,Me){if(typeof _e==&quot;string&quot;&amp;&amp;_e!==&quot;&quot;||typeof _e==&quot;number&quot;)return _e=Gg(&quot;&quot;+_e,Ee.mode,Me),_e.return=Ee,_e;if(typeof _e==&quot;object&quot;&amp;&amp;_e!==null){switch(_e.$$typeof){case M:return Me=xh(_e.type,_e.key,_e.props,null,Ee.mode,Me),Me.ref=Pu(Ee,null,_e),Me.return=Ee,Me;case T:return _e=Yg(_e,Ee.mode,Me),_e.return=Ee,_e;case j:var Ze=_e._init;return He(Ee,Ze(_e._payload),Me)}if(ge(_e)||N(_e))return _e=nl(_e,Ee.mode,Me,null),_e.return=Ee,_e;Kf(Ee,_e)}return null}function Ue(Ee,_e,Me,Ze){var _t=_e!==null?_e.key:null;if(typeof Me==&quot;string&quot;&amp;&amp;Me!==&quot;&quot;||typeof Me==&quot;number&quot;)return _t!==null?null:me(Ee,_e,&quot;&quot;+Me,Ze);if(typeof Me==&quot;object&quot;&amp;&amp;Me!==null){switch(Me.$$typeof){case M:return Me.key===_t?ye(Ee,_e,Me,Ze):null;case T:return Me.key===_t?Oe(Ee,_e,Me,Ze):null;case j:return _t=Me._init,Ue(Ee,_e,_t(Me._payload),Ze)}if(ge(Me)||N(Me))return _t!==null?null:qe(Ee,_e,Me,Ze,null);Kf(Ee,Me)}return null}function lt(Ee,_e,Me,Ze,_t){if(typeof Ze==&quot;string&quot;&amp;&amp;Ze!==&quot;&quot;||typeof Ze==&quot;number&quot;)return Ee=Ee.get(Me)||null,me(_e,Ee,&quot;&quot;+Ze,_t);if(typeof Ze==&quot;object&quot;&amp;&amp;Ze!==null){switch(Ze.$$typeof){case M:return Ee=Ee.get(Ze.key===null?Me:Ze.key)||null,ye(_e,Ee,Ze,_t);case T:return Ee=Ee.get(Ze.key===null?Me:Ze.key)||null,Oe(_e,Ee,Ze,_t);case j:var Ot=Ze._init;return lt(Ee,_e,Me,Ot(Ze._payload),_t)}if(ge(Ze)||N(Ze))return Ee=Ee.get(Me)||null,qe(_e,Ee,Ze,_t,null);Kf(_e,Ze)}return null}function gt(Ee,_e,Me,Ze){for(var _t=null,Ot=null,Pt=_e,Lt=_e=0,dn=null;Pt!==null&amp;&amp;Lt&lt;Me.length;Lt++){Pt.index&gt;Lt?(dn=Pt,Pt=null):dn=Pt.sibling;var ir=Ue(Ee,Pt,Me[Lt],Ze);if(ir===null){Pt===null&amp;&amp;(Pt=dn);break}b&amp;&amp;Pt&amp;&amp;ir.alternate===null&amp;&amp;w(Ee,Pt),_e=J(ir,_e,Lt),Ot===null?_t=ir:Ot.sibling=ir,Ot=ir,Pt=dn}if(Lt===Me.length)return A(Ee,Pt),kr&amp;&amp;Go(Ee,Lt),_t;if(Pt===null){for(;Lt&lt;Me.length;Lt++)Pt=He(Ee,Me[Lt],Ze),Pt!==null&amp;&amp;(_e=J(Pt,_e,Lt),Ot===null?_t=Pt:Ot.sibling=Pt,Ot=Pt);return kr&amp;&amp;Go(Ee,Lt),_t}for(Pt=U(Ee,Pt);Lt&lt;Me.length;Lt++)dn=lt(Pt,Ee,Lt,Me[Lt],Ze),dn!==null&amp;&amp;(b&amp;&amp;dn.alternate!==null&amp;&amp;Pt.delete(dn.key===null?Lt:dn.key),_e=J(dn,_e,Lt),Ot===null?_t=dn:Ot.sibling=dn,Ot=dn);return b&amp;&amp;Pt.forEach(function(so){return w(Ee,so)}),kr&amp;&amp;Go(Ee,Lt),_t}function bt(Ee,_e,Me,Ze){var _t=N(Me);if(typeof _t!=&quot;function&quot;)throw Error(t(150));if(Me=_t.call(Me),Me==null)throw Error(t(151));for(var Ot=_t=null,Pt=_e,Lt=_e=0,dn=null,ir=Me.next();Pt!==null&amp;&amp;!ir.done;Lt++,ir=Me.next()){Pt.index&gt;Lt?(dn=Pt,Pt=null):dn=Pt.sibling;var so=Ue(Ee,Pt,ir.value,Ze);if(so===null){Pt===null&amp;&amp;(Pt=dn);break}b&amp;&amp;Pt&amp;&amp;so.alternate===null&amp;&amp;w(Ee,Pt),_e=J(so,_e,Lt),Ot===null?_t=so:Ot.sibling=so,Ot=so,Pt=dn}if(ir.done)return A(Ee,Pt),kr&amp;&amp;Go(Ee,Lt),_t;if(Pt===null){for(;!ir.done;Lt++,ir=Me.next())ir=He(Ee,ir.value,Ze),ir!==null&amp;&amp;(_e=J(ir,_e,Lt),Ot===null?_t=ir:Ot.sibling=ir,Ot=ir);return kr&amp;&amp;Go(Ee,Lt),_t}for(Pt=U(Ee,Pt);!ir.done;Lt++,ir=Me.next())ir=lt(Pt,Ee,Lt,ir.value,Ze),ir!==null&amp;&amp;(b&amp;&amp;ir.alternate!==null&amp;&amp;Pt.delete(ir.key===null?Lt:ir.key),_e=J(ir,_e,Lt),Ot===null?_t=ir:Ot.sibling=ir,Ot=ir);return b&amp;&amp;Pt.forEach(function(hO){return w(Ee,hO)}),kr&amp;&amp;Go(Ee,Lt),_t}function Ur(Ee,_e,Me,Ze){if(typeof Me==&quot;object&quot;&amp;&amp;Me!==null&amp;&amp;Me.type===$&amp;&amp;Me.key===null&amp;&amp;(Me=Me.props.children),typeof Me==&quot;object&quot;&amp;&amp;Me!==null){switch(Me.$$typeof){case M:e:{for(var _t=Me.key,Ot=_e;Ot!==null;){if(Ot.key===_t){if(_t=Me.type,_t===$){if(Ot.tag===7){A(Ee,Ot.sibling),_e=G(Ot,Me.props.children),_e.return=Ee,Ee=_e;break e}}else if(Ot.elementType===_t||typeof _t==&quot;object&quot;&amp;&amp;_t!==null&amp;&amp;_t.$$typeof===j&amp;&amp;Pw(_t)===Ot.type){A(Ee,Ot.sibling),_e=G(Ot,Me.props),_e.ref=Pu(Ee,Ot,Me),_e.return=Ee,Ee=_e;break e}A(Ee,Ot);break}else w(Ee,Ot);Ot=Ot.sibling}Me.type===$?(_e=nl(Me.props.children,Ee.mode,Ze,Me.key),_e.return=Ee,Ee=_e):(Ze=xh(Me.type,Me.key,Me.props,null,Ee.mode,Ze),Ze.ref=Pu(Ee,_e,Me),Ze.return=Ee,Ee=Ze)}return ae(Ee);case T:e:{for(Ot=Me.key;_e!==null;){if(_e.key===Ot)if(_e.tag===4&amp;&amp;_e.stateNode.containerInfo===Me.containerInfo&amp;&amp;_e.stateNode.implementation===Me.implementation){A(Ee,_e.sibling),_e=G(_e,Me.children||[]),_e.return=Ee,Ee=_e;break e}else{A(Ee,_e);break}else w(Ee,_e);_e=_e.sibling}_e=Yg(Me,Ee.mode,Ze),_e.return=Ee,Ee=_e}return ae(Ee);case j:return Ot=Me._init,Ur(Ee,_e,Ot(Me._payload),Ze)}if(ge(Me))return gt(Ee,_e,Me,Ze);if(N(Me))return bt(Ee,_e,Me,Ze);Kf(Ee,Me)}return typeof Me==&quot;string&quot;&amp;&amp;Me!==&quot;&quot;||typeof Me==&quot;number&quot;?(Me=&quot;&quot;+Me,_e!==null&amp;&amp;_e.tag===6?(A(Ee,_e.sibling),_e=G(_e,Me),_e.return=Ee,Ee=_e):(A(Ee,_e),_e=Gg(Me,Ee.mode,Ze),_e.return=Ee,Ee=_e),ae(Ee)):A(Ee,_e)}return Ur}var oc=Tw(!0),Iw=Tw(!1),Xf=Ms(null),Gf=null,lc=null,sg=null;function ag(){sg=lc=Gf=null}function og(b){var w=Xf.current;br(Xf),b._currentValue=w}function lg(b,w,A){for(;b!==null;){var U=b.alternate;if((b.childLanes&amp;w)!==w?(b.childLanes|=w,U!==null&amp;&amp;(U.childLanes|=w)):U!==null&amp;&amp;(U.childLanes&amp;w)!==w&amp;&amp;(U.childLanes|=w),b===A)break;b=b.return}}function cc(b,w){Gf=b,sg=lc=null,b=b.dependencies,b!==null&amp;&amp;b.firstContext!==null&amp;&amp;((b.lanes&amp;w)!==0&amp;&amp;(li=!0),b.firstContext=null)}function Ii(b){var w=b._currentValue;if(sg!==b)if(b={context:b,memoizedValue:w,next:null},lc===null){if(Gf===null)throw Error(t(308));lc=b,Gf.dependencies={lanes:0,firstContext:b}}else lc=lc.next=b;return w}var Yo=null;function cg(b){Yo===null?Yo=[b]:Yo.push(b)}function Rw(b,w,A,U){var G=w.interleaved;return G===null?(A.next=A,cg(w)):(A.next=G.next,G.next=A),w.interleaved=A,ia(b,U)}function ia(b,w){b.lanes|=w;var A=b.alternate;for(A!==null&amp;&amp;(A.lanes|=w),A=b,b=b.return;b!==null;)b.childLanes|=w,A=b.alternate,A!==null&amp;&amp;(A.childLanes|=w),A=b,b=b.return;return A.tag===3?A.stateNode:null}var Za=!1;function ug(b){b.updateQueue={baseState:b.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Dw(b,w){b=b.updateQueue,w.updateQueue===b&amp;&amp;(w.updateQueue={baseState:b.baseState,firstBaseUpdate:b.firstBaseUpdate,lastBaseUpdate:b.lastBaseUpdate,shared:b.shared,effects:b.effects})}function sa(b,w){return{eventTime:b,lane:w,tag:0,payload:null,callback:null,next:null}}function Qa(b,w,A){var U=b.updateQueue;if(U===null)return null;if(U=U.shared,(rr&amp;2)!==0){var G=U.pending;return G===null?w.next=w:(w.next=G.next,G.next=w),U.pending=w,ia(b,A)}return G=U.interleaved,G===null?(w.next=w,cg(U)):(w.next=G.next,G.next=w),U.interleaved=w,ia(b,A)}function Yf(b,w,A){if(w=w.updateQueue,w!==null&amp;&amp;(w=w.shared,(A&amp;4194240)!==0)){var U=w.lanes;U&amp;=b.pendingLanes,A|=U,w.lanes=A,ks(b,A)}}function Lw(b,w){var A=b.updateQueue,U=b.alternate;if(U!==null&amp;&amp;(U=U.updateQueue,A===U)){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:U.baseState,firstBaseUpdate:G,lastBaseUpdate:J,shared:U.shared,effects:U.effects},b.updateQueue=A;return}b=A.lastBaseUpdate,b===null?A.firstBaseUpdate=w:b.next=w,A.lastBaseUpdate=w}function Zf(b,w,A,U){var G=b.updateQueue;Za=!1;var J=G.firstBaseUpdate,ae=G.lastBaseUpdate,me=G.shared.pending;if(me!==null){G.shared.pending=null;var ye=me,Oe=ye.next;ye.next=null,ae===null?J=Oe:ae.next=Oe,ae=ye;var qe=b.alternate;qe!==null&amp;&amp;(qe=qe.updateQueue,me=qe.lastBaseUpdate,me!==ae&amp;&amp;(me===null?qe.firstBaseUpdate=Oe:me.next=Oe,qe.lastBaseUpdate=ye))}if(J!==null){var He=G.baseState;ae=0,qe=Oe=ye=null,me=J;do{var Ue=me.lane,lt=me.eventTime;if((U&amp;Ue)===Ue){qe!==null&amp;&amp;(qe=qe.next={eventTime:lt,lane:0,tag:me.tag,payload:me.payload,callback:me.callback,next:null});e:{var gt=b,bt=me;switch(Ue=w,lt=A,bt.tag){case 1:if(gt=bt.payload,typeof gt==&quot;function&quot;){He=gt.call(lt,He,Ue);break e}He=gt;break e;case 3:gt.flags=gt.flags&amp;-65537|128;case 0:if(gt=bt.payload,Ue=typeof gt==&quot;function&quot;?gt.call(lt,He,Ue):gt,Ue==null)break e;He=O({},He,Ue);break e;case 2:Za=!0}}me.callback!==null&amp;&amp;me.lane!==0&amp;&amp;(b.flags|=64,Ue=G.effects,Ue===null?G.effects=[me]:Ue.push(me))}else lt={eventTime:lt,lane:Ue,tag:me.tag,payload:me.payload,callback:me.callback,next:null},qe===null?(Oe=qe=lt,ye=He):qe=qe.next=lt,ae|=Ue;if(me=me.next,me===null){if(me=G.shared.pending,me===null)break;Ue=me,me=Ue.next,Ue.next=null,G.lastBaseUpdate=Ue,G.shared.pending=null}}while(!0);if(qe===null&amp;&amp;(ye=He),G.baseState=ye,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);Jo|=ae,b.lanes=ae,b.memoizedState=He}}function Fw(b,w,A){if(b=w.effects,w.effects=null,b!==null)for(w=0;w&lt;b.length;w++){var U=b[w],G=U.callback;if(G!==null){if(U.callback=null,U=A,typeof G!=&quot;function&quot;)throw Error(t(191,G));G.call(U)}}}var Tu={},Os=Ms(Tu),Iu=Ms(Tu),Ru=Ms(Tu);function Zo(b){if(b===Tu)throw Error(t(174));return b}function dg(b,w){switch(lr(Ru,w),lr(Iu,b),lr(Os,Tu),b=w.nodeType,b){case 9:case 11:w=(w=w.documentElement)?w.namespaceURI:je(null,&quot;&quot;);break;default:b=b===8?w.parentNode:w,w=b.namespaceURI||null,b=b.tagName,w=je(w,b)}br(Os),lr(Os,w)}function uc(){br(Os),br(Iu),br(Ru)}function Bw(b){Zo(Ru.current);var w=Zo(Os.current),A=je(w,b.type);w!==A&amp;&amp;(lr(Iu,b),lr(Os,A))}function fg(b){Iu.current===b&amp;&amp;(br(Os),br(Iu))}var Pr=Ms(0);function Qf(b){for(var w=b;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===b)break;for(;w.sibling===null;){if(w.return===null||w.return===b)return null;w=w.return}w.sibling.return=w.return,w=w.sibling}return null}var hg=[];function mg(){for(var b=0;b&lt;hg.length;b++)hg[b]._workInProgressVersionPrimary=null;hg.length=0}var Jf=C.ReactCurrentDispatcher,pg=C.ReactCurrentBatchConfig,Qo=0,Tr=null,Qr=null,cn=null,eh=!1,Du=!1,Lu=0,RM=0;function Fn(){throw Error(t(321))}function gg(b,w){if(w===null)return!1;for(var A=0;A&lt;w.length&amp;&amp;A&lt;b.length;A++)if(!Xn(b[A],w[A]))return!1;return!0}function xg(b,w,A,U,G,J){if(Qo=J,Tr=w,w.memoizedState=null,w.updateQueue=null,w.lanes=0,Jf.current=b===null||b.memoizedState===null?BM:zM,b=A(U,G),Du){J=0;do{if(Du=!1,Lu=0,25&lt;=J)throw Error(t(301));J+=1,cn=Qr=null,w.updateQueue=null,Jf.current=$M,b=A(U,G)}while(Du)}if(Jf.current=nh,w=Qr!==null&amp;&amp;Qr.next!==null,Qo=0,cn=Qr=Tr=null,eh=!1,w)throw Error(t(300));return b}function bg(){var b=Lu!==0;return Lu=0,b}function Ps(){var b={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return cn===null?Tr.memoizedState=cn=b:cn=cn.next=b,cn}function Ri(){if(Qr===null){var b=Tr.alternate;b=b!==null?b.memoizedState:null}else b=Qr.next;var w=cn===null?Tr.memoizedState:cn.next;if(w!==null)cn=w,Qr=b;else{if(b===null)throw Error(t(310));Qr=b,b={memoizedState:Qr.memoizedState,baseState:Qr.baseState,baseQueue:Qr.baseQueue,queue:Qr.queue,next:null},cn===null?Tr.memoizedState=cn=b:cn=cn.next=b}return cn}function Fu(b,w){return typeof w==&quot;function&quot;?w(b):w}function yg(b){var w=Ri(),A=w.queue;if(A===null)throw Error(t(311));A.lastRenderedReducer=b;var U=Qr,G=U.baseQueue,J=A.pending;if(J!==null){if(G!==null){var ae=G.next;G.next=J.next,J.next=ae}U.baseQueue=G=J,A.pending=null}if(G!==null){J=G.next,U=U.baseState;var me=ae=null,ye=null,Oe=J;do{var qe=Oe.lane;if((Qo&amp;qe)===qe)ye!==null&amp;&amp;(ye=ye.next={lane:0,action:Oe.action,hasEagerState:Oe.hasEagerState,eagerState:Oe.eagerState,next:null}),U=Oe.hasEagerState?Oe.eagerState:b(U,Oe.action);else{var He={lane:qe,action:Oe.action,hasEagerState:Oe.hasEagerState,eagerState:Oe.eagerState,next:null};ye===null?(me=ye=He,ae=U):ye=ye.next=He,Tr.lanes|=qe,Jo|=qe}Oe=Oe.next}while(Oe!==null&amp;&amp;Oe!==J);ye===null?ae=U:ye.next=me,Xn(U,w.memoizedState)||(li=!0),w.memoizedState=U,w.baseState=ae,w.baseQueue=ye,A.lastRenderedState=U}if(b=A.interleaved,b!==null){G=b;do J=G.lane,Tr.lanes|=J,Jo|=J,G=G.next;while(G!==b)}else G===null&amp;&amp;(A.lanes=0);return[w.memoizedState,A.dispatch]}function vg(b){var w=Ri(),A=w.queue;if(A===null)throw Error(t(311));A.lastRenderedReducer=b;var U=A.dispatch,G=A.pending,J=w.memoizedState;if(G!==null){A.pending=null;var ae=G=G.next;do J=b(J,ae.action),ae=ae.next;while(ae!==G);Xn(J,w.memoizedState)||(li=!0),w.memoizedState=J,w.baseQueue===null&amp;&amp;(w.baseState=J),A.lastRenderedState=J}return[J,U]}function zw(){}function $w(b,w){var A=Tr,U=Ri(),G=w(),J=!Xn(U.memoizedState,G);if(J&amp;&amp;(U.memoizedState=G,li=!0),U=U.queue,wg(qw.bind(null,A,U,b),[b]),U.getSnapshot!==w||J||cn!==null&amp;&amp;cn.memoizedState.tag&amp;1){if(A.flags|=2048,Bu(9,Vw.bind(null,A,U,G,w),void 0,null),un===null)throw Error(t(349));(Qo&amp;30)!==0||Uw(A,w,G)}return G}function Uw(b,w,A){b.flags|=16384,b={getSnapshot:w,value:A},w=Tr.updateQueue,w===null?(w={lastEffect:null,stores:null},Tr.updateQueue=w,w.stores=[b]):(A=w.stores,A===null?w.stores=[b]:A.push(b))}function Vw(b,w,A,U){w.value=A,w.getSnapshot=U,Hw(w)&amp;&amp;Ww(b)}function qw(b,w,A){return A(function(){Hw(w)&amp;&amp;Ww(b)})}function Hw(b){var w=b.getSnapshot;b=b.value;try{var A=w();return!Xn(b,A)}catch{return!0}}function Ww(b){var w=ia(b,1);w!==null&amp;&amp;ds(w,b,1,-1)}function Kw(b){var w=Ps();return typeof b==&quot;function&quot;&amp;&amp;(b=b()),w.memoizedState=w.baseState=b,b={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Fu,lastRenderedState:b},w.queue=b,b=b.dispatch=FM.bind(null,Tr,b),[w.memoizedState,b]}function Bu(b,w,A,U){return b={tag:b,create:w,destroy:A,deps:U,next:null},w=Tr.updateQueue,w===null?(w={lastEffect:null,stores:null},Tr.updateQueue=w,w.lastEffect=b.next=b):(A=w.lastEffect,A===null?w.lastEffect=b.next=b:(U=A.next,A.next=b,b.next=U,w.lastEffect=b)),b}function Xw(){return Ri().memoizedState}function th(b,w,A,U){var G=Ps();Tr.flags|=b,G.memoizedState=Bu(1|w,A,void 0,U===void 0?null:U)}function rh(b,w,A,U){var G=Ri();U=U===void 0?null:U;var J=void 0;if(Qr!==null){var ae=Qr.memoizedState;if(J=ae.destroy,U!==null&amp;&amp;gg(U,ae.deps)){G.memoizedState=Bu(w,A,J,U);return}}Tr.flags|=b,G.memoizedState=Bu(1|w,A,J,U)}function Gw(b,w){return th(8390656,8,b,w)}function wg(b,w){return rh(2048,8,b,w)}function Yw(b,w){return rh(4,2,b,w)}function Zw(b,w){return rh(4,4,b,w)}function Qw(b,w){if(typeof w==&quot;function&quot;)return b=b(),w(b),function(){w(null)};if(w!=null)return b=b(),w.current=b,function(){w.current=null}}function Jw(b,w,A){return A=A!=null?A.concat([b]):null,rh(4,4,Qw.bind(null,w,b),A)}function _g(){}function e_(b,w){var A=Ri();w=w===void 0?null:w;var U=A.memoizedState;return U!==null&amp;&amp;w!==null&amp;&amp;gg(w,U[1])?U[0]:(A.memoizedState=[b,w],b)}function t_(b,w){var A=Ri();w=w===void 0?null:w;var U=A.memoizedState;return U!==null&amp;&amp;w!==null&amp;&amp;gg(w,U[1])?U[0]:(b=b(),A.memoizedState=[b,w],b)}function r_(b,w,A){return(Qo&amp;21)===0?(b.baseState&amp;&amp;(b.baseState=!1,li=!0),b.memoizedState=A):(Xn(A,w)||(A=Zt(),Tr.lanes|=A,Jo|=A,b.baseState=!0),w)}function DM(b,w){var A=jt;jt=A!==0&amp;&amp;4&gt;A?A:4,b(!0);var U=pg.transition;pg.transition={};try{b(!1),w()}finally{jt=A,pg.transition=U}}function n_(){return Ri().memoizedState}function LM(b,w,A){var U=ro(b);if(A={lane:U,action:A,hasEagerState:!1,eagerState:null,next:null},i_(b))s_(w,A);else if(A=Rw(b,w,A,U),A!==null){var G=Qn();ds(A,b,U,G),a_(A,w,U)}}function FM(b,w,A){var U=ro(b),G={lane:U,action:A,hasEagerState:!1,eagerState:null,next:null};if(i_(b))s_(w,G);else{var J=b.alternate;if(b.lanes===0&amp;&amp;(J===null||J.lanes===0)&amp;&amp;(J=w.lastRenderedReducer,J!==null))try{var ae=w.lastRenderedState,me=J(ae,A);if(G.hasEagerState=!0,G.eagerState=me,Xn(me,ae)){var ye=w.interleaved;ye===null?(G.next=G,cg(w)):(G.next=ye.next,ye.next=G),w.interleaved=G;return}}catch{}A=Rw(b,w,G,U),A!==null&amp;&amp;(G=Qn(),ds(A,b,U,G),a_(A,w,U))}}function i_(b){var w=b.alternate;return b===Tr||w!==null&amp;&amp;w===Tr}function s_(b,w){Du=eh=!0;var A=b.pending;A===null?w.next=w:(w.next=A.next,A.next=w),b.pending=w}function a_(b,w,A){if((A&amp;4194240)!==0){var U=w.lanes;U&amp;=b.pendingLanes,A|=U,w.lanes=A,ks(b,A)}}var nh={readContext:Ii,useCallback:Fn,useContext:Fn,useEffect:Fn,useImperativeHandle:Fn,useInsertionEffect:Fn,useLayoutEffect:Fn,useMemo:Fn,useReducer:Fn,useRef:Fn,useState:Fn,useDebugValue:Fn,useDeferredValue:Fn,useTransition:Fn,useMutableSource:Fn,useSyncExternalStore:Fn,useId:Fn,unstable_isNewReconciler:!1},BM={readContext:Ii,useCallback:function(b,w){return Ps().memoizedState=[b,w===void 0?null:w],b},useContext:Ii,useEffect:Gw,useImperativeHandle:function(b,w,A){return A=A!=null?A.concat([b]):null,th(4194308,4,Qw.bind(null,w,b),A)},useLayoutEffect:function(b,w){return th(4194308,4,b,w)},useInsertionEffect:function(b,w){return th(4,2,b,w)},useMemo:function(b,w){var A=Ps();return w=w===void 0?null:w,b=b(),A.memoizedState=[b,w],b},useReducer:function(b,w,A){var U=Ps();return w=A!==void 0?A(w):w,U.memoizedState=U.baseState=w,b={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:b,lastRenderedState:w},U.queue=b,b=b.dispatch=LM.bind(null,Tr,b),[U.memoizedState,b]},useRef:function(b){var w=Ps();return b={current:b},w.memoizedState=b},useState:Kw,useDebugValue:_g,useDeferredValue:function(b){return Ps().memoizedState=b},useTransition:function(){var b=Kw(!1),w=b[0];return b=DM.bind(null,b[1]),Ps().memoizedState=b,[w,b]},useMutableSource:function(){},useSyncExternalStore:function(b,w,A){var U=Tr,G=Ps();if(kr){if(A===void 0)throw Error(t(407));A=A()}else{if(A=w(),un===null)throw Error(t(349));(Qo&amp;30)!==0||Uw(U,w,A)}G.memoizedState=A;var J={value:A,getSnapshot:w};return G.queue=J,Gw(qw.bind(null,U,J,b),[b]),U.flags|=2048,Bu(9,Vw.bind(null,U,J,A,w),void 0,null),A},useId:function(){var b=Ps(),w=un.identifierPrefix;if(kr){var A=na,U=ra;A=(U&amp;~(1&lt;&lt;32-Mt(U)-1)).toString(32)+A,w=&quot;:&quot;+w+&quot;R&quot;+A,A=Lu++,0&lt;A&amp;&amp;(w+=&quot;H&quot;+A.toString(32)),w+=&quot;:&quot;}else A=RM++,w=&quot;:&quot;+w+&quot;r&quot;+A.toString(32)+&quot;:&quot;;return b.memoizedState=w},unstable_isNewReconciler:!1},zM={readContext:Ii,useCallback:e_,useContext:Ii,useEffect:wg,useImperativeHandle:Jw,useInsertionEffect:Yw,useLayoutEffect:Zw,useMemo:t_,useReducer:yg,useRef:Xw,useState:function(){return yg(Fu)},useDebugValue:_g,useDeferredValue:function(b){var w=Ri();return r_(w,Qr.memoizedState,b)},useTransition:function(){var b=yg(Fu)[0],w=Ri().memoizedState;return[b,w]},useMutableSource:zw,useSyncExternalStore:$w,useId:n_,unstable_isNewReconciler:!1},$M={readContext:Ii,useCallback:e_,useContext:Ii,useEffect:wg,useImperativeHandle:Jw,useInsertionEffect:Yw,useLayoutEffect:Zw,useMemo:t_,useReducer:vg,useRef:Xw,useState:function(){return vg(Fu)},useDebugValue:_g,useDeferredValue:function(b){var w=Ri();return Qr===null?w.memoizedState=b:r_(w,Qr.memoizedState,b)},useTransition:function(){var b=vg(Fu)[0],w=Ri().memoizedState;return[b,w]},useMutableSource:zw,useSyncExternalStore:$w,useId:n_,unstable_isNewReconciler:!1};function ls(b,w){if(b&amp;&amp;b.defaultProps){w=O({},w),b=b.defaultProps;for(var A in b)w[A]===void 0&amp;&amp;(w[A]=b[A]);return w}return w}function jg(b,w,A,U){w=b.memoizedState,A=A(U,w),A=A==null?w:O({},w,A),b.memoizedState=A,b.lanes===0&amp;&amp;(b.updateQueue.baseState=A)}var ih={isMounted:function(b){return(b=b._reactInternals)?ot(b)===b:!1},enqueueSetState:function(b,w,A){b=b._reactInternals;var U=Qn(),G=ro(b),J=sa(U,G);J.payload=w,A!=null&amp;&amp;(J.callback=A),w=Qa(b,J,G),w!==null&amp;&amp;(ds(w,b,G,U),Yf(w,b,G))},enqueueReplaceState:function(b,w,A){b=b._reactInternals;var U=Qn(),G=ro(b),J=sa(U,G);J.tag=1,J.payload=w,A!=null&amp;&amp;(J.callback=A),w=Qa(b,J,G),w!==null&amp;&amp;(ds(w,b,G,U),Yf(w,b,G))},enqueueForceUpdate:function(b,w){b=b._reactInternals;var A=Qn(),U=ro(b),G=sa(A,U);G.tag=2,w!=null&amp;&amp;(G.callback=w),w=Qa(b,G,U),w!==null&amp;&amp;(ds(w,b,U,A),Yf(w,b,U))}};function o_(b,w,A,U,G,J,ae){return b=b.stateNode,typeof b.shouldComponentUpdate==&quot;function&quot;?b.shouldComponentUpdate(U,J,ae):w.prototype&amp;&amp;w.prototype.isPureReactComponent?!Bo(A,U)||!Bo(G,J):!0}function l_(b,w,A){var U=!1,G=as,J=w.contextType;return typeof J==&quot;object&quot;&amp;&amp;J!==null?J=Ii(J):(G=Ln(w)?ea:Hr.current,U=w.contextTypes,J=(U=U!=null)?Ga(b,G):as),w=new w(A,J),b.memoizedState=w.state!==null&amp;&amp;w.state!==void 0?w.state:null,w.updater=ih,b.stateNode=w,w._reactInternals=b,U&amp;&amp;(b=b.stateNode,b.__reactInternalMemoizedUnmaskedChildContext=G,b.__reactInternalMemoizedMaskedChildContext=J),w}function c_(b,w,A,U){b=w.state,typeof w.componentWillReceiveProps==&quot;function&quot;&amp;&amp;w.componentWillReceiveProps(A,U),typeof w.UNSAFE_componentWillReceiveProps==&quot;function&quot;&amp;&amp;w.UNSAFE_componentWillReceiveProps(A,U),w.state!==b&amp;&amp;ih.enqueueReplaceState(w,w.state,null)}function Sg(b,w,A,U){var G=b.stateNode;G.props=A,G.state=b.memoizedState,G.refs={},ug(b);var J=w.contextType;typeof J==&quot;object&quot;&amp;&amp;J!==null?G.context=Ii(J):(J=Ln(w)?ea:Hr.current,G.context=Ga(b,J)),G.state=b.memoizedState,J=w.getDerivedStateFromProps,typeof J==&quot;function&quot;&amp;&amp;(jg(b,w,J,A),G.state=b.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;ih.enqueueReplaceState(G,G.state,null),Zf(b,A,G,U),G.state=b.memoizedState),typeof G.componentDidMount==&quot;function&quot;&amp;&amp;(b.flags|=4194308)}function dc(b,w){try{var A=&quot;&quot;,U=w;do A+=ne(U),U=U.return;while(U);var G=A}catch(J){G=`
Error generating stack: `+J.message+`
`+J.stack}return{value:b,source:w,stack:G,digest:null}}function kg(b,w,A){return{value:b,source:null,stack:A??null,digest:w??null}}function Ng(b,w){try{console.error(w.value)}catch(A){setTimeout(function(){throw A})}}var UM=typeof WeakMap==&quot;function&quot;?WeakMap:Map;function u_(b,w,A){A=sa(-1,A),A.tag=3,A.payload={element:null};var U=w.value;return A.callback=function(){dh||(dh=!0,$g=U),Ng(b,w)},A}function d_(b,w,A){A=sa(-1,A),A.tag=3;var U=b.type.getDerivedStateFromError;if(typeof U==&quot;function&quot;){var G=w.value;A.payload=function(){return U(G)},A.callback=function(){Ng(b,w)}}var J=b.stateNode;return J!==null&amp;&amp;typeof J.componentDidCatch==&quot;function&quot;&amp;&amp;(A.callback=function(){Ng(b,w),typeof U!=&quot;function&quot;&amp;&amp;(eo===null?eo=new Set([this]):eo.add(this));var ae=w.stack;this.componentDidCatch(w.value,{componentStack:ae!==null?ae:&quot;&quot;})}),A}function f_(b,w,A){var U=b.pingCache;if(U===null){U=b.pingCache=new UM;var G=new Set;U.set(w,G)}else G=U.get(w),G===void 0&amp;&amp;(G=new Set,U.set(w,G));G.has(A)||(G.add(A),b=rO.bind(null,b,w,A),w.then(b,b))}function h_(b){do{var w;if((w=b.tag===13)&amp;&amp;(w=b.memoizedState,w=w!==null?w.dehydrated!==null:!0),w)return b;b=b.return}while(b!==null);return null}function m_(b,w,A,U,G){return(b.mode&amp;1)===0?(b===w?b.flags|=65536:(b.flags|=128,A.flags|=131072,A.flags&amp;=-52805,A.tag===1&amp;&amp;(A.alternate===null?A.tag=17:(w=sa(-1,1),w.tag=2,Qa(A,w,1))),A.lanes|=1),b):(b.flags|=65536,b.lanes=G,b)}var VM=C.ReactCurrentOwner,li=!1;function Zn(b,w,A,U){w.child=b===null?Iw(w,null,A,U):oc(w,b.child,A,U)}function p_(b,w,A,U,G){A=A.render;var J=w.ref;return cc(w,G),U=xg(b,w,A,U,J,G),A=bg(),b!==null&amp;&amp;!li?(w.updateQueue=b.updateQueue,w.flags&amp;=-2053,b.lanes&amp;=~G,aa(b,w,G)):(kr&amp;&amp;A&amp;&amp;eg(w),w.flags|=1,Zn(b,w,U,G),w.child)}function g_(b,w,A,U,G){if(b===null){var J=A.type;return typeof J==&quot;function&quot;&amp;&amp;!Xg(J)&amp;&amp;J.defaultProps===void 0&amp;&amp;A.compare===null&amp;&amp;A.defaultProps===void 0?(w.tag=15,w.type=J,x_(b,w,J,U,G)):(b=xh(A.type,null,U,w,w.mode,G),b.ref=w.ref,b.return=w,w.child=b)}if(J=b.child,(b.lanes&amp;G)===0){var ae=J.memoizedProps;if(A=A.compare,A=A!==null?A:Bo,A(ae,U)&amp;&amp;b.ref===w.ref)return aa(b,w,G)}return w.flags|=1,b=io(J,U),b.ref=w.ref,b.return=w,w.child=b}function x_(b,w,A,U,G){if(b!==null){var J=b.memoizedProps;if(Bo(J,U)&amp;&amp;b.ref===w.ref)if(li=!1,w.pendingProps=U=J,(b.lanes&amp;G)!==0)(b.flags&amp;131072)!==0&amp;&amp;(li=!0);else return w.lanes=b.lanes,aa(b,w,G)}return Cg(b,w,A,U,G)}function b_(b,w,A){var U=w.pendingProps,G=U.children,J=b!==null?b.memoizedState:null;if(U.mode===&quot;hidden&quot;)if((w.mode&amp;1)===0)w.memoizedState={baseLanes:0,cachePool:null,transitions:null},lr(hc,ji),ji|=A;else{if((A&amp;1073741824)===0)return b=J!==null?J.baseLanes|A:A,w.lanes=w.childLanes=1073741824,w.memoizedState={baseLanes:b,cachePool:null,transitions:null},w.updateQueue=null,lr(hc,ji),ji|=b,null;w.memoizedState={baseLanes:0,cachePool:null,transitions:null},U=J!==null?J.baseLanes:A,lr(hc,ji),ji|=U}else J!==null?(U=J.baseLanes|A,w.memoizedState=null):U=A,lr(hc,ji),ji|=U;return Zn(b,w,G,A),w.child}function y_(b,w){var A=w.ref;(b===null&amp;&amp;A!==null||b!==null&amp;&amp;b.ref!==A)&amp;&amp;(w.flags|=512,w.flags|=2097152)}function Cg(b,w,A,U,G){var J=Ln(A)?ea:Hr.current;return J=Ga(w,J),cc(w,G),A=xg(b,w,A,U,J,G),U=bg(),b!==null&amp;&amp;!li?(w.updateQueue=b.updateQueue,w.flags&amp;=-2053,b.lanes&amp;=~G,aa(b,w,G)):(kr&amp;&amp;U&amp;&amp;eg(w),w.flags|=1,Zn(b,w,A,G),w.child)}function v_(b,w,A,U,G){if(Ln(A)){var J=!0;We(w)}else J=!1;if(cc(w,G),w.stateNode===null)ah(b,w),l_(w,A,U),Sg(w,A,U,G),U=!0;else if(b===null){var ae=w.stateNode,me=w.memoizedProps;ae.props=me;var ye=ae.context,Oe=A.contextType;typeof Oe==&quot;object&quot;&amp;&amp;Oe!==null?Oe=Ii(Oe):(Oe=Ln(A)?ea:Hr.current,Oe=Ga(w,Oe));var qe=A.getDerivedStateFromProps,He=typeof qe==&quot;function&quot;||typeof ae.getSnapshotBeforeUpdate==&quot;function&quot;;He||typeof ae.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof ae.componentWillReceiveProps!=&quot;function&quot;||(me!==U||ye!==Oe)&amp;&amp;c_(w,ae,U,Oe),Za=!1;var Ue=w.memoizedState;ae.state=Ue,Zf(w,U,ae,G),ye=w.memoizedState,me!==U||Ue!==ye||wn.current||Za?(typeof qe==&quot;function&quot;&amp;&amp;(jg(w,A,qe,U),ye=w.memoizedState),(me=Za||o_(w,A,me,U,Ue,ye,Oe))?(He||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=U,w.memoizedState=ye),ae.props=U,ae.state=ye,ae.context=Oe,U=me):(typeof ae.componentDidMount==&quot;function&quot;&amp;&amp;(w.flags|=4194308),U=!1)}else{ae=w.stateNode,Dw(b,w),me=w.memoizedProps,Oe=w.type===w.elementType?me:ls(w.type,me),ae.props=Oe,He=w.pendingProps,Ue=ae.context,ye=A.contextType,typeof ye==&quot;object&quot;&amp;&amp;ye!==null?ye=Ii(ye):(ye=Ln(A)?ea:Hr.current,ye=Ga(w,ye));var lt=A.getDerivedStateFromProps;(qe=typeof lt==&quot;function&quot;||typeof ae.getSnapshotBeforeUpdate==&quot;function&quot;)||typeof ae.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof ae.componentWillReceiveProps!=&quot;function&quot;||(me!==He||Ue!==ye)&amp;&amp;c_(w,ae,U,ye),Za=!1,Ue=w.memoizedState,ae.state=Ue,Zf(w,U,ae,G);var gt=w.memoizedState;me!==He||Ue!==gt||wn.current||Za?(typeof lt==&quot;function&quot;&amp;&amp;(jg(w,A,lt,U),gt=w.memoizedState),(Oe=Za||o_(w,A,Oe,U,Ue,gt,ye)||!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(U,gt,ye),typeof ae.UNSAFE_componentWillUpdate==&quot;function&quot;&amp;&amp;ae.UNSAFE_componentWillUpdate(U,gt,ye)),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;||me===b.memoizedProps&amp;&amp;Ue===b.memoizedState||(w.flags|=4),typeof ae.getSnapshotBeforeUpdate!=&quot;function&quot;||me===b.memoizedProps&amp;&amp;Ue===b.memoizedState||(w.flags|=1024),w.memoizedProps=U,w.memoizedState=gt),ae.props=U,ae.state=gt,ae.context=ye,U=Oe):(typeof ae.componentDidUpdate!=&quot;function&quot;||me===b.memoizedProps&amp;&amp;Ue===b.memoizedState||(w.flags|=4),typeof ae.getSnapshotBeforeUpdate!=&quot;function&quot;||me===b.memoizedProps&amp;&amp;Ue===b.memoizedState||(w.flags|=1024),U=!1)}return Eg(b,w,A,U,J,G)}function Eg(b,w,A,U,G,J){y_(b,w);var ae=(w.flags&amp;128)!==0;if(!U&amp;&amp;!ae)return G&amp;&amp;tt(w,A,!1),aa(b,w,J);U=w.stateNode,VM.current=w;var me=ae&amp;&amp;typeof A.getDerivedStateFromError!=&quot;function&quot;?null:U.render();return w.flags|=1,b!==null&amp;&amp;ae?(w.child=oc(w,b.child,null,J),w.child=oc(w,null,me,J)):Zn(b,w,me,J),w.memoizedState=U.state,G&amp;&amp;tt(w,A,!0),w.child}function w_(b){var w=b.stateNode;w.pendingContext?le(b,w.pendingContext,w.pendingContext!==w.context):w.context&amp;&amp;le(b,w.context,!1),dg(b,w.containerInfo)}function __(b,w,A,U,G){return ac(),ig(G),w.flags|=256,Zn(b,w,A,U),w.child}var Ag={dehydrated:null,treeContext:null,retryLane:0};function Mg(b){return{baseLanes:b,cachePool:null,transitions:null}}function j_(b,w,A){var U=w.pendingProps,G=Pr.current,J=!1,ae=(w.flags&amp;128)!==0,me;if((me=ae)||(me=b!==null&amp;&amp;b.memoizedState===null?!1:(G&amp;2)!==0),me?(J=!0,w.flags&amp;=-129):(b===null||b.memoizedState!==null)&amp;&amp;(G|=1),lr(Pr,G&amp;1),b===null)return ng(w),b=w.memoizedState,b!==null&amp;&amp;(b=b.dehydrated,b!==null)?((w.mode&amp;1)===0?w.lanes=1:b.data===&quot;$!&quot;?w.lanes=8:w.lanes=1073741824,null):(ae=U.children,b=U.fallback,J?(U=w.mode,J=w.child,ae={mode:&quot;hidden&quot;,children:ae},(U&amp;1)===0&amp;&amp;J!==null?(J.childLanes=0,J.pendingProps=ae):J=bh(ae,U,0,null),b=nl(b,U,A,null),J.return=w,b.return=w,J.sibling=b,w.child=J,w.child.memoizedState=Mg(A),w.memoizedState=Ag,b):Og(w,ae));if(G=b.memoizedState,G!==null&amp;&amp;(me=G.dehydrated,me!==null))return qM(b,w,ae,U,me,G,A);if(J){J=U.fallback,ae=w.mode,G=b.child,me=G.sibling;var ye={mode:&quot;hidden&quot;,children:U.children};return(ae&amp;1)===0&amp;&amp;w.child!==G?(U=w.child,U.childLanes=0,U.pendingProps=ye,w.deletions=null):(U=io(G,ye),U.subtreeFlags=G.subtreeFlags&amp;14680064),me!==null?J=io(me,J):(J=nl(J,ae,A,null),J.flags|=2),J.return=w,U.return=w,U.sibling=J,w.child=U,U=J,J=w.child,ae=b.child.memoizedState,ae=ae===null?Mg(A):{baseLanes:ae.baseLanes|A,cachePool:null,transitions:ae.transitions},J.memoizedState=ae,J.childLanes=b.childLanes&amp;~A,w.memoizedState=Ag,U}return J=b.child,b=J.sibling,U=io(J,{mode:&quot;visible&quot;,children:U.children}),(w.mode&amp;1)===0&amp;&amp;(U.lanes=A),U.return=w,U.sibling=null,b!==null&amp;&amp;(A=w.deletions,A===null?(w.deletions=[b],w.flags|=16):A.push(b)),w.child=U,w.memoizedState=null,U}function Og(b,w){return w=bh({mode:&quot;visible&quot;,children:w},b.mode,0,null),w.return=b,b.child=w}function sh(b,w,A,U){return U!==null&amp;&amp;ig(U),oc(w,b.child,null,A),b=Og(w,w.pendingProps.children),b.flags|=2,w.memoizedState=null,b}function qM(b,w,A,U,G,J,ae){if(A)return w.flags&amp;256?(w.flags&amp;=-257,U=kg(Error(t(422))),sh(b,w,ae,U)):w.memoizedState!==null?(w.child=b.child,w.flags|=128,null):(J=U.fallback,G=w.mode,U=bh({mode:&quot;visible&quot;,children:U.children},G,0,null),J=nl(J,G,ae,null),J.flags|=2,U.return=w,J.return=w,U.sibling=J,w.child=U,(w.mode&amp;1)!==0&amp;&amp;oc(w,b.child,null,ae),w.child.memoizedState=Mg(ae),w.memoizedState=Ag,J);if((w.mode&amp;1)===0)return sh(b,w,ae,null);if(G.data===&quot;$!&quot;){if(U=G.nextSibling&amp;&amp;G.nextSibling.dataset,U)var me=U.dgst;return U=me,J=Error(t(419)),U=kg(J,U,void 0),sh(b,w,ae,U)}if(me=(ae&amp;b.childLanes)!==0,li||me){if(U=un,U!==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;(U.suspendedLanes|ae))!==0?0:G,G!==0&amp;&amp;G!==J.retryLane&amp;&amp;(J.retryLane=G,ia(b,G),ds(U,b,G,-1))}return Kg(),U=kg(Error(t(421))),sh(b,w,ae,U)}return G.data===&quot;$?&quot;?(w.flags|=128,w.child=b.child,w=nO.bind(null,b),G._reactRetry=w,null):(b=J.treeContext,_i=As(G.nextSibling),wi=w,kr=!0,os=null,b!==null&amp;&amp;(Pi[Ti++]=ra,Pi[Ti++]=na,Pi[Ti++]=Xo,ra=b.id,na=b.overflow,Xo=w),w=Og(w,U.children),w.flags|=4096,w)}function S_(b,w,A){b.lanes|=w;var U=b.alternate;U!==null&amp;&amp;(U.lanes|=w),lg(b.return,w,A)}function Pg(b,w,A,U,G){var J=b.memoizedState;J===null?b.memoizedState={isBackwards:w,rendering:null,renderingStartTime:0,last:U,tail:A,tailMode:G}:(J.isBackwards=w,J.rendering=null,J.renderingStartTime=0,J.last=U,J.tail=A,J.tailMode=G)}function k_(b,w,A){var U=w.pendingProps,G=U.revealOrder,J=U.tail;if(Zn(b,w,U.children,A),U=Pr.current,(U&amp;2)!==0)U=U&amp;1|2,w.flags|=128;else{if(b!==null&amp;&amp;(b.flags&amp;128)!==0)e:for(b=w.child;b!==null;){if(b.tag===13)b.memoizedState!==null&amp;&amp;S_(b,A,w);else if(b.tag===19)S_(b,A,w);else if(b.child!==null){b.child.return=b,b=b.child;continue}if(b===w)break e;for(;b.sibling===null;){if(b.return===null||b.return===w)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}U&amp;=1}if(lr(Pr,U),(w.mode&amp;1)===0)w.memoizedState=null;else switch(G){case&quot;forwards&quot;:for(A=w.child,G=null;A!==null;)b=A.alternate,b!==null&amp;&amp;Qf(b)===null&amp;&amp;(G=A),A=A.sibling;A=G,A===null?(G=w.child,w.child=null):(G=A.sibling,A.sibling=null),Pg(w,!1,G,A,J);break;case&quot;backwards&quot;:for(A=null,G=w.child,w.child=null;G!==null;){if(b=G.alternate,b!==null&amp;&amp;Qf(b)===null){w.child=G;break}b=G.sibling,G.sibling=A,A=G,G=b}Pg(w,!0,A,null,J);break;case&quot;together&quot;:Pg(w,!1,null,null,void 0);break;default:w.memoizedState=null}return w.child}function ah(b,w){(w.mode&amp;1)===0&amp;&amp;b!==null&amp;&amp;(b.alternate=null,w.alternate=null,w.flags|=2)}function aa(b,w,A){if(b!==null&amp;&amp;(w.dependencies=b.dependencies),Jo|=w.lanes,(A&amp;w.childLanes)===0)return null;if(b!==null&amp;&amp;w.child!==b.child)throw Error(t(153));if(w.child!==null){for(b=w.child,A=io(b,b.pendingProps),w.child=A,A.return=w;b.sibling!==null;)b=b.sibling,A=A.sibling=io(b,b.pendingProps),A.return=w;A.sibling=null}return w.child}function HM(b,w,A){switch(w.tag){case 3:w_(w),ac();break;case 5:Bw(w);break;case 1:Ln(w.type)&amp;&amp;We(w);break;case 4:dg(w,w.stateNode.containerInfo);break;case 10:var U=w.type._context,G=w.memoizedProps.value;lr(Xf,U._currentValue),U._currentValue=G;break;case 13:if(U=w.memoizedState,U!==null)return U.dehydrated!==null?(lr(Pr,Pr.current&amp;1),w.flags|=128,null):(A&amp;w.child.childLanes)!==0?j_(b,w,A):(lr(Pr,Pr.current&amp;1),b=aa(b,w,A),b!==null?b.sibling:null);lr(Pr,Pr.current&amp;1);break;case 19:if(U=(A&amp;w.childLanes)!==0,(b.flags&amp;128)!==0){if(U)return k_(b,w,A);w.flags|=128}if(G=w.memoizedState,G!==null&amp;&amp;(G.rendering=null,G.tail=null,G.lastEffect=null),lr(Pr,Pr.current),U)break;return null;case 22:case 23:return w.lanes=0,b_(b,w,A)}return aa(b,w,A)}var N_,Tg,C_,E_;N_=function(b,w){for(var A=w.child;A!==null;){if(A.tag===5||A.tag===6)b.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}},Tg=function(){},C_=function(b,w,A,U){var G=b.memoizedProps;if(G!==U){b=w.stateNode,Zo(Os.current);var J=null;switch(A){case&quot;input&quot;:G=se(b,G),U=se(b,U),J=[];break;case&quot;select&quot;:G=O({},G,{value:void 0}),U=O({},U,{value:void 0}),J=[];break;case&quot;textarea&quot;:G=pe(b,G),U=pe(b,U),J=[];break;default:typeof G.onClick!=&quot;function&quot;&amp;&amp;typeof U.onClick==&quot;function&quot;&amp;&amp;(b.onclick=tc)}rt(A,U);var ae;A=null;for(Oe in G)if(!U.hasOwnProperty(Oe)&amp;&amp;G.hasOwnProperty(Oe)&amp;&amp;G[Oe]!=null)if(Oe===&quot;style&quot;){var me=G[Oe];for(ae in me)me.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;(l.hasOwnProperty(Oe)?J||(J=[]):(J=J||[]).push(Oe,null));for(Oe in U){var ye=U[Oe];if(me=G?.[Oe],U.hasOwnProperty(Oe)&amp;&amp;ye!==me&amp;&amp;(ye!=null||me!=null))if(Oe===&quot;style&quot;)if(me){for(ae in me)!me.hasOwnProperty(ae)||ye&amp;&amp;ye.hasOwnProperty(ae)||(A||(A={}),A[ae]=&quot;&quot;);for(ae in ye)ye.hasOwnProperty(ae)&amp;&amp;me[ae]!==ye[ae]&amp;&amp;(A||(A={}),A[ae]=ye[ae])}else A||(J||(J=[]),J.push(Oe,A)),A=ye;else Oe===&quot;dangerouslySetInnerHTML&quot;?(ye=ye?ye.__html:void 0,me=me?me.__html:void 0,ye!=null&amp;&amp;me!==ye&amp;&amp;(J=J||[]).push(Oe,ye)):Oe===&quot;children&quot;?typeof ye!=&quot;string&quot;&amp;&amp;typeof ye!=&quot;number&quot;||(J=J||[]).push(Oe,&quot;&quot;+ye):Oe!==&quot;suppressContentEditableWarning&quot;&amp;&amp;Oe!==&quot;suppressHydrationWarning&quot;&amp;&amp;(l.hasOwnProperty(Oe)?(ye!=null&amp;&amp;Oe===&quot;onScroll&quot;&amp;&amp;xr(&quot;scroll&quot;,b),J||me===ye||(J=[])):(J=J||[]).push(Oe,ye))}A&amp;&amp;(J=J||[]).push(&quot;style&quot;,A);var Oe=J;(w.updateQueue=Oe)&amp;&amp;(w.flags|=4)}},E_=function(b,w,A,U){A!==U&amp;&amp;(w.flags|=4)};function zu(b,w){if(!kr)switch(b.tailMode){case&quot;hidden&quot;:w=b.tail;for(var A=null;w!==null;)w.alternate!==null&amp;&amp;(A=w),w=w.sibling;A===null?b.tail=null:A.sibling=null;break;case&quot;collapsed&quot;:A=b.tail;for(var U=null;A!==null;)A.alternate!==null&amp;&amp;(U=A),A=A.sibling;U===null?w||b.tail===null?b.tail=null:b.tail.sibling=null:U.sibling=null}}function Bn(b){var w=b.alternate!==null&amp;&amp;b.alternate.child===b.child,A=0,U=0;if(w)for(var G=b.child;G!==null;)A|=G.lanes|G.childLanes,U|=G.subtreeFlags&amp;14680064,U|=G.flags&amp;14680064,G.return=b,G=G.sibling;else for(G=b.child;G!==null;)A|=G.lanes|G.childLanes,U|=G.subtreeFlags,U|=G.flags,G.return=b,G=G.sibling;return b.subtreeFlags|=U,b.childLanes=A,w}function WM(b,w,A){var U=w.pendingProps;switch(tg(w),w.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bn(w),null;case 1:return Ln(w.type)&amp;&amp;nc(),Bn(w),null;case 3:return U=w.stateNode,uc(),br(wn),br(Hr),mg(),U.pendingContext&amp;&amp;(U.context=U.pendingContext,U.pendingContext=null),(b===null||b.child===null)&amp;&amp;(Wf(w)?w.flags|=4:b===null||b.memoizedState.isDehydrated&amp;&amp;(w.flags&amp;256)===0||(w.flags|=1024,os!==null&amp;&amp;(qg(os),os=null))),Tg(b,w),Bn(w),null;case 5:fg(w);var G=Zo(Ru.current);if(A=w.type,b!==null&amp;&amp;w.stateNode!=null)C_(b,w,A,U,G),b.ref!==w.ref&amp;&amp;(w.flags|=512,w.flags|=2097152);else{if(!U){if(w.stateNode===null)throw Error(t(166));return Bn(w),null}if(b=Zo(Os.current),Wf(w)){U=w.stateNode,A=w.type;var J=w.memoizedProps;switch(U[Oi]=w,U[Wo]=J,b=(w.mode&amp;1)!==0,A){case&quot;dialog&quot;:xr(&quot;cancel&quot;,U),xr(&quot;close&quot;,U);break;case&quot;iframe&quot;:case&quot;object&quot;:case&quot;embed&quot;:xr(&quot;load&quot;,U);break;case&quot;video&quot;:case&quot;audio&quot;:for(G=0;G&lt;qa.length;G++)xr(qa[G],U);break;case&quot;source&quot;:xr(&quot;error&quot;,U);break;case&quot;img&quot;:case&quot;image&quot;:case&quot;link&quot;:xr(&quot;error&quot;,U),xr(&quot;load&quot;,U);break;case&quot;details&quot;:xr(&quot;toggle&quot;,U);break;case&quot;input&quot;:de(U,J),xr(&quot;invalid&quot;,U);break;case&quot;select&quot;:U._wrapperState={wasMultiple:!!J.multiple},xr(&quot;invalid&quot;,U);break;case&quot;textarea&quot;:ue(U,J),xr(&quot;invalid&quot;,U)}rt(A,J),G=null;for(var ae in J)if(J.hasOwnProperty(ae)){var me=J[ae];ae===&quot;children&quot;?typeof me==&quot;string&quot;?U.textContent!==me&amp;&amp;(J.suppressHydrationWarning!==!0&amp;&amp;Ho(U.textContent,me,b),G=[&quot;children&quot;,me]):typeof me==&quot;number&quot;&amp;&amp;U.textContent!==&quot;&quot;+me&amp;&amp;(J.suppressHydrationWarning!==!0&amp;&amp;Ho(U.textContent,me,b),G=[&quot;children&quot;,&quot;&quot;+me]):l.hasOwnProperty(ae)&amp;&amp;me!=null&amp;&amp;ae===&quot;onScroll&quot;&amp;&amp;xr(&quot;scroll&quot;,U)}switch(A){case&quot;input&quot;:re(U),fe(U,J,!0);break;case&quot;textarea&quot;:re(U),ke(U);break;case&quot;select&quot;:case&quot;option&quot;:break;default:typeof J.onClick==&quot;function&quot;&amp;&amp;(U.onclick=tc)}U=G,w.updateQueue=U,U!==null&amp;&amp;(w.flags|=4)}else{ae=G.nodeType===9?G:G.ownerDocument,b===&quot;http://www.w3.org/1999/xhtml&quot;&amp;&amp;(b=Te(A)),b===&quot;http://www.w3.org/1999/xhtml&quot;?A===&quot;script&quot;?(b=ae.createElement(&quot;div&quot;),b.innerHTML=&quot;&lt;script&gt;&lt;\/script&gt;&quot;,b=b.removeChild(b.firstChild)):typeof U.is==&quot;string&quot;?b=ae.createElement(A,{is:U.is}):(b=ae.createElement(A),A===&quot;select&quot;&amp;&amp;(ae=b,U.multiple?ae.multiple=!0:U.size&amp;&amp;(ae.size=U.size))):b=ae.createElementNS(b,A),b[Oi]=w,b[Wo]=U,N_(b,w,!1,!1),w.stateNode=b;e:{switch(ae=Ae(A,U),A){case&quot;dialog&quot;:xr(&quot;cancel&quot;,b),xr(&quot;close&quot;,b),G=U;break;case&quot;iframe&quot;:case&quot;object&quot;:case&quot;embed&quot;:xr(&quot;load&quot;,b),G=U;break;case&quot;video&quot;:case&quot;audio&quot;:for(G=0;G&lt;qa.length;G++)xr(qa[G],b);G=U;break;case&quot;source&quot;:xr(&quot;error&quot;,b),G=U;break;case&quot;img&quot;:case&quot;image&quot;:case&quot;link&quot;:xr(&quot;error&quot;,b),xr(&quot;load&quot;,b),G=U;break;case&quot;details&quot;:xr(&quot;toggle&quot;,b),G=U;break;case&quot;input&quot;:de(b,U),G=se(b,U),xr(&quot;invalid&quot;,b);break;case&quot;option&quot;:G=U;break;case&quot;select&quot;:b._wrapperState={wasMultiple:!!U.multiple},G=O({},U,{value:void 0}),xr(&quot;invalid&quot;,b);break;case&quot;textarea&quot;:ue(b,U),G=pe(b,U),xr(&quot;invalid&quot;,b);break;default:G=U}rt(A,G),me=G;for(J in me)if(me.hasOwnProperty(J)){var ye=me[J];J===&quot;style&quot;?ze(b,ye):J===&quot;dangerouslySetInnerHTML&quot;?(ye=ye?ye.__html:void 0,ye!=null&amp;&amp;Xe(b,ye)):J===&quot;children&quot;?typeof ye==&quot;string&quot;?(A!==&quot;textarea&quot;||ye!==&quot;&quot;)&amp;&amp;Ve(b,ye):typeof ye==&quot;number&quot;&amp;&amp;Ve(b,&quot;&quot;+ye):J!==&quot;suppressContentEditableWarning&quot;&amp;&amp;J!==&quot;suppressHydrationWarning&quot;&amp;&amp;J!==&quot;autoFocus&quot;&amp;&amp;(l.hasOwnProperty(J)?ye!=null&amp;&amp;J===&quot;onScroll&quot;&amp;&amp;xr(&quot;scroll&quot;,b):ye!=null&amp;&amp;_(b,J,ye,ae))}switch(A){case&quot;input&quot;:re(b),fe(b,U,!1);break;case&quot;textarea&quot;:re(b),ke(b);break;case&quot;option&quot;:U.value!=null&amp;&amp;b.setAttribute(&quot;value&quot;,&quot;&quot;+z(U.value));break;case&quot;select&quot;:b.multiple=!!U.multiple,J=U.value,J!=null?xe(b,!!U.multiple,J,!1):U.defaultValue!=null&amp;&amp;xe(b,!!U.multiple,U.defaultValue,!0);break;default:typeof G.onClick==&quot;function&quot;&amp;&amp;(b.onclick=tc)}switch(A){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:U=!!U.autoFocus;break e;case&quot;img&quot;:U=!0;break e;default:U=!1}}U&amp;&amp;(w.flags|=4)}w.ref!==null&amp;&amp;(w.flags|=512,w.flags|=2097152)}return Bn(w),null;case 6:if(b&amp;&amp;w.stateNode!=null)E_(b,w,b.memoizedProps,U);else{if(typeof U!=&quot;string&quot;&amp;&amp;w.stateNode===null)throw Error(t(166));if(A=Zo(Ru.current),Zo(Os.current),Wf(w)){if(U=w.stateNode,A=w.memoizedProps,U[Oi]=w,(J=U.nodeValue!==A)&amp;&amp;(b=wi,b!==null))switch(b.tag){case 3:Ho(U.nodeValue,A,(b.mode&amp;1)!==0);break;case 5:b.memoizedProps.suppressHydrationWarning!==!0&amp;&amp;Ho(U.nodeValue,A,(b.mode&amp;1)!==0)}J&amp;&amp;(w.flags|=4)}else U=(A.nodeType===9?A:A.ownerDocument).createTextNode(U),U[Oi]=w,w.stateNode=U}return Bn(w),null;case 13:if(br(Pr),U=w.memoizedState,b===null||b.memoizedState!==null&amp;&amp;b.memoizedState.dehydrated!==null){if(kr&amp;&amp;_i!==null&amp;&amp;(w.mode&amp;1)!==0&amp;&amp;(w.flags&amp;128)===0)Ow(),ac(),w.flags|=98560,J=!1;else if(J=Wf(w),U!==null&amp;&amp;U.dehydrated!==null){if(b===null){if(!J)throw Error(t(318));if(J=w.memoizedState,J=J!==null?J.dehydrated:null,!J)throw Error(t(317));J[Oi]=w}else ac(),(w.flags&amp;128)===0&amp;&amp;(w.memoizedState=null),w.flags|=4;Bn(w),J=!1}else os!==null&amp;&amp;(qg(os),os=null),J=!0;if(!J)return w.flags&amp;65536?w:null}return(w.flags&amp;128)!==0?(w.lanes=A,w):(U=U!==null,U!==(b!==null&amp;&amp;b.memoizedState!==null)&amp;&amp;U&amp;&amp;(w.child.flags|=8192,(w.mode&amp;1)!==0&amp;&amp;(b===null||(Pr.current&amp;1)!==0?Jr===0&amp;&amp;(Jr=3):Kg())),w.updateQueue!==null&amp;&amp;(w.flags|=4),Bn(w),null);case 4:return uc(),Tg(b,w),b===null&amp;&amp;Vo(w.stateNode.containerInfo),Bn(w),null;case 10:return og(w.type._context),Bn(w),null;case 17:return Ln(w.type)&amp;&amp;nc(),Bn(w),null;case 19:if(br(Pr),J=w.memoizedState,J===null)return Bn(w),null;if(U=(w.flags&amp;128)!==0,ae=J.rendering,ae===null)if(U)zu(J,!1);else{if(Jr!==0||b!==null&amp;&amp;(b.flags&amp;128)!==0)for(b=w.child;b!==null;){if(ae=Qf(b),ae!==null){for(w.flags|=128,zu(J,!1),U=ae.updateQueue,U!==null&amp;&amp;(w.updateQueue=U,w.flags|=4),w.subtreeFlags=0,U=A,A=w.child;A!==null;)J=A,b=U,J.flags&amp;=14680066,ae=J.alternate,ae===null?(J.childLanes=0,J.lanes=b,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,b=ae.dependencies,J.dependencies=b===null?null:{lanes:b.lanes,firstContext:b.firstContext}),A=A.sibling;return lr(Pr,Pr.current&amp;1|2),w.child}b=b.sibling}J.tail!==null&amp;&amp;ve()&gt;mc&amp;&amp;(w.flags|=128,U=!0,zu(J,!1),w.lanes=4194304)}else{if(!U)if(b=Qf(ae),b!==null){if(w.flags|=128,U=!0,A=b.updateQueue,A!==null&amp;&amp;(w.updateQueue=A,w.flags|=4),zu(J,!0),J.tail===null&amp;&amp;J.tailMode===&quot;hidden&quot;&amp;&amp;!ae.alternate&amp;&amp;!kr)return Bn(w),null}else 2*ve()-J.renderingStartTime&gt;mc&amp;&amp;A!==1073741824&amp;&amp;(w.flags|=128,U=!0,zu(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=ve(),w.sibling=null,A=Pr.current,lr(Pr,U?A&amp;1|2:A&amp;1),w):(Bn(w),null);case 22:case 23:return Wg(),U=w.memoizedState!==null,b!==null&amp;&amp;b.memoizedState!==null!==U&amp;&amp;(w.flags|=8192),U&amp;&amp;(w.mode&amp;1)!==0?(ji&amp;1073741824)!==0&amp;&amp;(Bn(w),w.subtreeFlags&amp;6&amp;&amp;(w.flags|=8192)):Bn(w),null;case 24:return null;case 25:return null}throw Error(t(156,w.tag))}function KM(b,w){switch(tg(w),w.tag){case 1:return Ln(w.type)&amp;&amp;nc(),b=w.flags,b&amp;65536?(w.flags=b&amp;-65537|128,w):null;case 3:return uc(),br(wn),br(Hr),mg(),b=w.flags,(b&amp;65536)!==0&amp;&amp;(b&amp;128)===0?(w.flags=b&amp;-65537|128,w):null;case 5:return fg(w),null;case 13:if(br(Pr),b=w.memoizedState,b!==null&amp;&amp;b.dehydrated!==null){if(w.alternate===null)throw Error(t(340));ac()}return b=w.flags,b&amp;65536?(w.flags=b&amp;-65537|128,w):null;case 19:return br(Pr),null;case 4:return uc(),null;case 10:return og(w.type._context),null;case 22:case 23:return Wg(),null;case 24:return null;default:return null}}var oh=!1,zn=!1,XM=typeof WeakSet==&quot;function&quot;?WeakSet:Set,mt=null;function fc(b,w){var A=b.ref;if(A!==null)if(typeof A==&quot;function&quot;)try{A(null)}catch(U){Fr(b,w,U)}else A.current=null}function Ig(b,w,A){try{A()}catch(U){Fr(b,w,U)}}var A_=!1;function GM(b,w){if(ju=Ll,b=gu(),Gl(b)){if(&quot;selectionStart&quot;in b)var A={start:b.selectionStart,end:b.selectionEnd};else e:{A=(A=b.ownerDocument)&amp;&amp;A.defaultView||window;var U=A.getSelection&amp;&amp;A.getSelection();if(U&amp;&amp;U.rangeCount!==0){A=U.anchorNode;var G=U.anchorOffset,J=U.focusNode;U=U.focusOffset;try{A.nodeType,J.nodeType}catch{A=null;break e}var ae=0,me=-1,ye=-1,Oe=0,qe=0,He=b,Ue=null;t:for(;;){for(var lt;He!==A||G!==0&amp;&amp;He.nodeType!==3||(me=ae+G),He!==J||U!==0&amp;&amp;He.nodeType!==3||(ye=ae+U),He.nodeType===3&amp;&amp;(ae+=He.nodeValue.length),(lt=He.firstChild)!==null;)Ue=He,He=lt;for(;;){if(He===b)break t;if(Ue===A&amp;&amp;++Oe===G&amp;&amp;(me=ae),Ue===J&amp;&amp;++qe===U&amp;&amp;(ye=ae),(lt=He.nextSibling)!==null)break;He=Ue,Ue=He.parentNode}He=lt}A=me===-1||ye===-1?null:{start:me,end:ye}}else A=null}A=A||{start:0,end:0}}else A=null;for(Su={focusedElem:b,selectionRange:A},Ll=!1,mt=w;mt!==null;)if(w=mt,b=w.child,(w.subtreeFlags&amp;1028)!==0&amp;&amp;b!==null)b.return=w,mt=b;else for(;mt!==null;){w=mt;try{var gt=w.alternate;if((w.flags&amp;1024)!==0)switch(w.tag){case 0:case 11:case 15:break;case 1:if(gt!==null){var bt=gt.memoizedProps,Ur=gt.memoizedState,Ee=w.stateNode,_e=Ee.getSnapshotBeforeUpdate(w.elementType===w.type?bt:ls(w.type,bt),Ur);Ee.__reactInternalSnapshotBeforeUpdate=_e}break;case 3:var Me=w.stateNode.containerInfo;Me.nodeType===1?Me.textContent=&quot;&quot;:Me.nodeType===9&amp;&amp;Me.documentElement&amp;&amp;Me.removeChild(Me.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(t(163))}}catch(Ze){Fr(w,w.return,Ze)}if(b=w.sibling,b!==null){b.return=w.return,mt=b;break}mt=w.return}return gt=A_,A_=!1,gt}function $u(b,w,A){var U=w.updateQueue;if(U=U!==null?U.lastEffect:null,U!==null){var G=U=U.next;do{if((G.tag&amp;b)===b){var J=G.destroy;G.destroy=void 0,J!==void 0&amp;&amp;Ig(w,A,J)}G=G.next}while(G!==U)}}function lh(b,w){if(w=w.updateQueue,w=w!==null?w.lastEffect:null,w!==null){var A=w=w.next;do{if((A.tag&amp;b)===b){var U=A.create;A.destroy=U()}A=A.next}while(A!==w)}}function Rg(b){var w=b.ref;if(w!==null){var A=b.stateNode;b.tag,b=A,typeof w==&quot;function&quot;?w(b):w.current=b}}function M_(b){var w=b.alternate;w!==null&amp;&amp;(b.alternate=null,M_(w)),b.child=null,b.deletions=null,b.sibling=null,b.tag===5&amp;&amp;(w=b.stateNode,w!==null&amp;&amp;(delete w[Oi],delete w[Wo],delete w[Au],delete w[Q0],delete w[J0])),b.stateNode=null,b.return=null,b.dependencies=null,b.memoizedProps=null,b.memoizedState=null,b.pendingProps=null,b.stateNode=null,b.updateQueue=null}function O_(b){return b.tag===5||b.tag===3||b.tag===4}function P_(b){e:for(;;){for(;b.sibling===null;){if(b.return===null||O_(b.return))return null;b=b.return}for(b.sibling.return=b.return,b=b.sibling;b.tag!==5&amp;&amp;b.tag!==6&amp;&amp;b.tag!==18;){if(b.flags&amp;2||b.child===null||b.tag===4)continue e;b.child.return=b,b=b.child}if(!(b.flags&amp;2))return b.stateNode}}function Dg(b,w,A){var U=b.tag;if(U===5||U===6)b=b.stateNode,w?A.nodeType===8?A.parentNode.insertBefore(b,w):A.insertBefore(b,w):(A.nodeType===8?(w=A.parentNode,w.insertBefore(b,A)):(w=A,w.appendChild(b)),A=A._reactRootContainer,A!=null||w.onclick!==null||(w.onclick=tc));else if(U!==4&amp;&amp;(b=b.child,b!==null))for(Dg(b,w,A),b=b.sibling;b!==null;)Dg(b,w,A),b=b.sibling}function Lg(b,w,A){var U=b.tag;if(U===5||U===6)b=b.stateNode,w?A.insertBefore(b,w):A.appendChild(b);else if(U!==4&amp;&amp;(b=b.child,b!==null))for(Lg(b,w,A),b=b.sibling;b!==null;)Lg(b,w,A),b=b.sibling}var _n=null,cs=!1;function Ja(b,w,A){for(A=A.child;A!==null;)T_(b,w,A),A=A.sibling}function T_(b,w,A){if(it&amp;&amp;typeof it.onCommitFiberUnmount==&quot;function&quot;)try{it.onCommitFiberUnmount(nt,A)}catch{}switch(A.tag){case 5:zn||fc(A,w);case 6:var U=_n,G=cs;_n=null,Ja(b,w,A),_n=U,cs=G,_n!==null&amp;&amp;(cs?(b=_n,A=A.stateNode,b.nodeType===8?b.parentNode.removeChild(A):b.removeChild(A)):_n.removeChild(A.stateNode));break;case 18:_n!==null&amp;&amp;(cs?(b=_n,A=A.stateNode,b.nodeType===8?Eu(b.parentNode,A):b.nodeType===1&amp;&amp;Eu(b,A),Oo(b)):Eu(_n,A.stateNode));break;case 4:U=_n,G=cs,_n=A.stateNode.containerInfo,cs=!0,Ja(b,w,A),_n=U,cs=G;break;case 0:case 11:case 14:case 15:if(!zn&amp;&amp;(U=A.updateQueue,U!==null&amp;&amp;(U=U.lastEffect,U!==null))){G=U=U.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;Ig(A,w,ae),G=G.next}while(G!==U)}Ja(b,w,A);break;case 1:if(!zn&amp;&amp;(fc(A,w),U=A.stateNode,typeof U.componentWillUnmount==&quot;function&quot;))try{U.props=A.memoizedProps,U.state=A.memoizedState,U.componentWillUnmount()}catch(me){Fr(A,w,me)}Ja(b,w,A);break;case 21:Ja(b,w,A);break;case 22:A.mode&amp;1?(zn=(U=zn)||A.memoizedState!==null,Ja(b,w,A),zn=U):Ja(b,w,A);break;default:Ja(b,w,A)}}function I_(b){var w=b.updateQueue;if(w!==null){b.updateQueue=null;var A=b.stateNode;A===null&amp;&amp;(A=b.stateNode=new XM),w.forEach(function(U){var G=iO.bind(null,b,U);A.has(U)||(A.add(U),U.then(G,G))})}}function us(b,w){var A=w.deletions;if(A!==null)for(var U=0;U&lt;A.length;U++){var G=A[U];try{var J=b,ae=w,me=ae;e:for(;me!==null;){switch(me.tag){case 5:_n=me.stateNode,cs=!1;break e;case 3:_n=me.stateNode.containerInfo,cs=!0;break e;case 4:_n=me.stateNode.containerInfo,cs=!0;break e}me=me.return}if(_n===null)throw Error(t(160));T_(J,ae,G),_n=null,cs=!1;var ye=G.alternate;ye!==null&amp;&amp;(ye.return=null),G.return=null}catch(Oe){Fr(G,w,Oe)}}if(w.subtreeFlags&amp;12854)for(w=w.child;w!==null;)R_(w,b),w=w.sibling}function R_(b,w){var A=b.alternate,U=b.flags;switch(b.tag){case 0:case 11:case 14:case 15:if(us(w,b),Ts(b),U&amp;4){try{$u(3,b,b.return),lh(3,b)}catch(bt){Fr(b,b.return,bt)}try{$u(5,b,b.return)}catch(bt){Fr(b,b.return,bt)}}break;case 1:us(w,b),Ts(b),U&amp;512&amp;&amp;A!==null&amp;&amp;fc(A,A.return);break;case 5:if(us(w,b),Ts(b),U&amp;512&amp;&amp;A!==null&amp;&amp;fc(A,A.return),b.flags&amp;32){var G=b.stateNode;try{Ve(G,&quot;&quot;)}catch(bt){Fr(b,b.return,bt)}}if(U&amp;4&amp;&amp;(G=b.stateNode,G!=null)){var J=b.memoizedProps,ae=A!==null?A.memoizedProps:J,me=b.type,ye=b.updateQueue;if(b.updateQueue=null,ye!==null)try{me===&quot;input&quot;&amp;&amp;J.type===&quot;radio&quot;&amp;&amp;J.name!=null&amp;&amp;ce(G,J),Ae(me,ae);var Oe=Ae(me,J);for(ae=0;ae&lt;ye.length;ae+=2){var qe=ye[ae],He=ye[ae+1];qe===&quot;style&quot;?ze(G,He):qe===&quot;dangerouslySetInnerHTML&quot;?Xe(G,He):qe===&quot;children&quot;?Ve(G,He):_(G,qe,He,Oe)}switch(me){case&quot;input&quot;:ie(G,J);break;case&quot;textarea&quot;:we(G,J);break;case&quot;select&quot;:var Ue=G._wrapperState.wasMultiple;G._wrapperState.wasMultiple=!!J.multiple;var lt=J.value;lt!=null?xe(G,!!J.multiple,lt,!1):Ue!==!!J.multiple&amp;&amp;(J.defaultValue!=null?xe(G,!!J.multiple,J.defaultValue,!0):xe(G,!!J.multiple,J.multiple?[]:&quot;&quot;,!1))}G[Wo]=J}catch(bt){Fr(b,b.return,bt)}}break;case 6:if(us(w,b),Ts(b),U&amp;4){if(b.stateNode===null)throw Error(t(162));G=b.stateNode,J=b.memoizedProps;try{G.nodeValue=J}catch(bt){Fr(b,b.return,bt)}}break;case 3:if(us(w,b),Ts(b),U&amp;4&amp;&amp;A!==null&amp;&amp;A.memoizedState.isDehydrated)try{Oo(w.containerInfo)}catch(bt){Fr(b,b.return,bt)}break;case 4:us(w,b),Ts(b);break;case 13:us(w,b),Ts(b),G=b.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||(zg=ve())),U&amp;4&amp;&amp;I_(b);break;case 22:if(qe=A!==null&amp;&amp;A.memoizedState!==null,b.mode&amp;1?(zn=(Oe=zn)||qe,us(w,b),zn=Oe):us(w,b),Ts(b),U&amp;8192){if(Oe=b.memoizedState!==null,(b.stateNode.isHidden=Oe)&amp;&amp;!qe&amp;&amp;(b.mode&amp;1)!==0)for(mt=b,qe=b.child;qe!==null;){for(He=mt=qe;mt!==null;){switch(Ue=mt,lt=Ue.child,Ue.tag){case 0:case 11:case 14:case 15:$u(4,Ue,Ue.return);break;case 1:fc(Ue,Ue.return);var gt=Ue.stateNode;if(typeof gt.componentWillUnmount==&quot;function&quot;){U=Ue,A=Ue.return;try{w=U,gt.props=w.memoizedProps,gt.state=w.memoizedState,gt.componentWillUnmount()}catch(bt){Fr(U,A,bt)}}break;case 5:fc(Ue,Ue.return);break;case 22:if(Ue.memoizedState!==null){F_(He);continue}}lt!==null?(lt.return=Ue,mt=lt):F_(He)}qe=qe.sibling}e:for(qe=null,He=b;;){if(He.tag===5){if(qe===null){qe=He;try{G=He.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;):(me=He.stateNode,ye=He.memoizedProps.style,ae=ye!=null&amp;&amp;ye.hasOwnProperty(&quot;display&quot;)?ye.display:null,me.style.display=Ge(&quot;display&quot;,ae))}catch(bt){Fr(b,b.return,bt)}}}else if(He.tag===6){if(qe===null)try{He.stateNode.nodeValue=Oe?&quot;&quot;:He.memoizedProps}catch(bt){Fr(b,b.return,bt)}}else if((He.tag!==22&amp;&amp;He.tag!==23||He.memoizedState===null||He===b)&amp;&amp;He.child!==null){He.child.return=He,He=He.child;continue}if(He===b)break e;for(;He.sibling===null;){if(He.return===null||He.return===b)break e;qe===He&amp;&amp;(qe=null),He=He.return}qe===He&amp;&amp;(qe=null),He.sibling.return=He.return,He=He.sibling}}break;case 19:us(w,b),Ts(b),U&amp;4&amp;&amp;I_(b);break;case 21:break;default:us(w,b),Ts(b)}}function Ts(b){var w=b.flags;if(w&amp;2){try{e:{for(var A=b.return;A!==null;){if(O_(A)){var U=A;break e}A=A.return}throw Error(t(160))}switch(U.tag){case 5:var G=U.stateNode;U.flags&amp;32&amp;&amp;(Ve(G,&quot;&quot;),U.flags&amp;=-33);var J=P_(b);Lg(b,J,G);break;case 3:case 4:var ae=U.stateNode.containerInfo,me=P_(b);Dg(b,me,ae);break;default:throw Error(t(161))}}catch(ye){Fr(b,b.return,ye)}b.flags&amp;=-3}w&amp;4096&amp;&amp;(b.flags&amp;=-4097)}function YM(b,w,A){mt=b,D_(b)}function D_(b,w,A){for(var U=(b.mode&amp;1)!==0;mt!==null;){var G=mt,J=G.child;if(G.tag===22&amp;&amp;U){var ae=G.memoizedState!==null||oh;if(!ae){var me=G.alternate,ye=me!==null&amp;&amp;me.memoizedState!==null||zn;me=oh;var Oe=zn;if(oh=ae,(zn=ye)&amp;&amp;!Oe)for(mt=G;mt!==null;)ae=mt,ye=ae.child,ae.tag===22&amp;&amp;ae.memoizedState!==null?B_(G):ye!==null?(ye.return=ae,mt=ye):B_(G);for(;J!==null;)mt=J,D_(J),J=J.sibling;mt=G,oh=me,zn=Oe}L_(b)}else(G.subtreeFlags&amp;8772)!==0&amp;&amp;J!==null?(J.return=G,mt=J):L_(b)}}function L_(b){for(;mt!==null;){var w=mt;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:zn||lh(5,w);break;case 1:var U=w.stateNode;if(w.flags&amp;4&amp;&amp;!zn)if(A===null)U.componentDidMount();else{var G=w.elementType===w.type?A.memoizedProps:ls(w.type,A.memoizedProps);U.componentDidUpdate(G,A.memoizedState,U.__reactInternalSnapshotBeforeUpdate)}var J=w.updateQueue;J!==null&amp;&amp;Fw(w,J,U);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}Fw(w,ae,A)}break;case 5:var me=w.stateNode;if(A===null&amp;&amp;w.flags&amp;4){A=me;var ye=w.memoizedProps;switch(w.type){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:ye.autoFocus&amp;&amp;A.focus();break;case&quot;img&quot;:ye.src&amp;&amp;(A.src=ye.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 He=qe.dehydrated;He!==null&amp;&amp;Oo(He)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(t(163))}zn||w.flags&amp;512&amp;&amp;Rg(w)}catch(Ue){Fr(w,w.return,Ue)}}if(w===b){mt=null;break}if(A=w.sibling,A!==null){A.return=w.return,mt=A;break}mt=w.return}}function F_(b){for(;mt!==null;){var w=mt;if(w===b){mt=null;break}var A=w.sibling;if(A!==null){A.return=w.return,mt=A;break}mt=w.return}}function B_(b){for(;mt!==null;){var w=mt;try{switch(w.tag){case 0:case 11:case 15:var A=w.return;try{lh(4,w)}catch(ye){Fr(w,A,ye)}break;case 1:var U=w.stateNode;if(typeof U.componentDidMount==&quot;function&quot;){var G=w.return;try{U.componentDidMount()}catch(ye){Fr(w,G,ye)}}var J=w.return;try{Rg(w)}catch(ye){Fr(w,J,ye)}break;case 5:var ae=w.return;try{Rg(w)}catch(ye){Fr(w,ae,ye)}}}catch(ye){Fr(w,w.return,ye)}if(w===b){mt=null;break}var me=w.sibling;if(me!==null){me.return=w.return,mt=me;break}mt=w.return}}var ZM=Math.ceil,ch=C.ReactCurrentDispatcher,Fg=C.ReactCurrentOwner,Di=C.ReactCurrentBatchConfig,rr=0,un=null,Wr=null,jn=0,ji=0,hc=Ms(0),Jr=0,Uu=null,Jo=0,uh=0,Bg=0,Vu=null,ci=null,zg=0,mc=1/0,oa=null,dh=!1,$g=null,eo=null,fh=!1,to=null,hh=0,qu=0,Ug=null,mh=-1,ph=0;function Qn(){return(rr&amp;6)!==0?ve():mh!==-1?mh:mh=ve()}function ro(b){return(b.mode&amp;1)===0?1:(rr&amp;2)!==0&amp;&amp;jn!==0?jn&amp;-jn:IM.transition!==null?(ph===0&amp;&amp;(ph=Zt()),ph):(b=jt,b!==0||(b=window.event,b=b===void 0?16:nu(b.type)),b)}function ds(b,w,A,U){if(50&lt;qu)throw qu=0,Ug=null,Error(t(185));Mr(b,A,U),((rr&amp;2)===0||b!==un)&amp;&amp;(b===un&amp;&amp;((rr&amp;2)===0&amp;&amp;(uh|=A),Jr===4&amp;&amp;no(b,jn)),ui(b,U),A===1&amp;&amp;rr===0&amp;&amp;(w.mode&amp;1)===0&amp;&amp;(mc=ve()+500,Qt&amp;&amp;Ya()))}function ui(b,w){var A=b.callbackNode;Ji(b,w);var U=Pn(b,b===un?jn:0);if(U===0)A!==null&amp;&amp;ur(A),b.callbackNode=null,b.callbackPriority=0;else if(w=U&amp;-U,b.callbackPriority!==w){if(A!=null&amp;&amp;ur(A),w===1)b.tag===0?TM($_.bind(null,b)):Ou($_.bind(null,b)),Y0(function(){(rr&amp;6)===0&amp;&amp;Ya()}),A=null;else{switch(Tn(U)){case 1:A=$e;break;case 4:A=ct;break;case 16:A=Fe;break;case 536870912:A=Ce;break;default:A=Fe}A=G_(A,z_.bind(null,b))}b.callbackPriority=w,b.callbackNode=A}}function z_(b,w){if(mh=-1,ph=0,(rr&amp;6)!==0)throw Error(t(327));var A=b.callbackNode;if(pc()&amp;&amp;b.callbackNode!==A)return null;var U=Pn(b,b===un?jn:0);if(U===0)return null;if((U&amp;30)!==0||(U&amp;b.expiredLanes)!==0||w)w=gh(b,U);else{w=U;var G=rr;rr|=2;var J=V_();(un!==b||jn!==w)&amp;&amp;(oa=null,mc=ve()+500,tl(b,w));do try{eO();break}catch(me){U_(b,me)}while(!0);ag(),ch.current=J,rr=G,Wr!==null?w=0:(un=null,jn=0,w=Jr)}if(w!==0){if(w===2&amp;&amp;(G=xi(b),G!==0&amp;&amp;(U=G,w=Vg(b,G))),w===1)throw A=Uu,tl(b,0),no(b,U),ui(b,ve()),A;if(w===6)no(b,U);else{if(G=b.current.alternate,(U&amp;30)===0&amp;&amp;!QM(G)&amp;&amp;(w=gh(b,U),w===2&amp;&amp;(J=xi(b),J!==0&amp;&amp;(U=J,w=Vg(b,J))),w===1))throw A=Uu,tl(b,0),no(b,U),ui(b,ve()),A;switch(b.finishedWork=G,b.finishedLanes=U,w){case 0:case 1:throw Error(t(345));case 2:rl(b,ci,oa);break;case 3:if(no(b,U),(U&amp;130023424)===U&amp;&amp;(w=zg+500-ve(),10&lt;w)){if(Pn(b,0)!==0)break;if(G=b.suspendedLanes,(G&amp;U)!==U){Qn(),b.pingedLanes|=b.suspendedLanes&amp;G;break}b.timeoutHandle=Nu(rl.bind(null,b,ci,oa),w);break}rl(b,ci,oa);break;case 4:if(no(b,U),(U&amp;4194240)===U)break;for(w=b.eventTimes,G=-1;0&lt;U;){var ae=31-Mt(U);J=1&lt;&lt;ae,ae=w[ae],ae&gt;G&amp;&amp;(G=ae),U&amp;=~J}if(U=G,U=ve()-U,U=(120&gt;U?120:480&gt;U?480:1080&gt;U?1080:1920&gt;U?1920:3e3&gt;U?3e3:4320&gt;U?4320:1960*ZM(U/1960))-U,10&lt;U){b.timeoutHandle=Nu(rl.bind(null,b,ci,oa),U);break}rl(b,ci,oa);break;case 5:rl(b,ci,oa);break;default:throw Error(t(329))}}}return ui(b,ve()),b.callbackNode===A?z_.bind(null,b):null}function Vg(b,w){var A=Vu;return b.current.memoizedState.isDehydrated&amp;&amp;(tl(b,w).flags|=256),b=gh(b,w),b!==2&amp;&amp;(w=ci,ci=A,w!==null&amp;&amp;qg(w)),b}function qg(b){ci===null?ci=b:ci.push.apply(ci,b)}function QM(b){for(var w=b;;){if(w.flags&amp;16384){var A=w.updateQueue;if(A!==null&amp;&amp;(A=A.stores,A!==null))for(var U=0;U&lt;A.length;U++){var G=A[U],J=G.getSnapshot;G=G.value;try{if(!Xn(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===b)break;for(;w.sibling===null;){if(w.return===null||w.return===b)return!0;w=w.return}w.sibling.return=w.return,w=w.sibling}}return!0}function no(b,w){for(w&amp;=~Bg,w&amp;=~uh,b.suspendedLanes|=w,b.pingedLanes&amp;=~w,b=b.expirationTimes;0&lt;w;){var A=31-Mt(w),U=1&lt;&lt;A;b[A]=-1,w&amp;=~U}}function $_(b){if((rr&amp;6)!==0)throw Error(t(327));pc();var w=Pn(b,0);if((w&amp;1)===0)return ui(b,ve()),null;var A=gh(b,w);if(b.tag!==0&amp;&amp;A===2){var U=xi(b);U!==0&amp;&amp;(w=U,A=Vg(b,U))}if(A===1)throw A=Uu,tl(b,0),no(b,w),ui(b,ve()),A;if(A===6)throw Error(t(345));return b.finishedWork=b.current.alternate,b.finishedLanes=w,rl(b,ci,oa),ui(b,ve()),null}function Hg(b,w){var A=rr;rr|=1;try{return b(w)}finally{rr=A,rr===0&amp;&amp;(mc=ve()+500,Qt&amp;&amp;Ya())}}function el(b){to!==null&amp;&amp;to.tag===0&amp;&amp;(rr&amp;6)===0&amp;&amp;pc();var w=rr;rr|=1;var A=Di.transition,U=jt;try{if(Di.transition=null,jt=1,b)return b()}finally{jt=U,Di.transition=A,rr=w,(rr&amp;6)===0&amp;&amp;Ya()}}function Wg(){ji=hc.current,br(hc)}function tl(b,w){b.finishedWork=null,b.finishedLanes=0;var A=b.timeoutHandle;if(A!==-1&amp;&amp;(b.timeoutHandle=-1,G0(A)),Wr!==null)for(A=Wr.return;A!==null;){var U=A;switch(tg(U),U.tag){case 1:U=U.type.childContextTypes,U!=null&amp;&amp;nc();break;case 3:uc(),br(wn),br(Hr),mg();break;case 5:fg(U);break;case 4:uc();break;case 13:br(Pr);break;case 19:br(Pr);break;case 10:og(U.type._context);break;case 22:case 23:Wg()}A=A.return}if(un=b,Wr=b=io(b.current,null),jn=ji=w,Jr=0,Uu=null,Bg=uh=Jo=0,ci=Vu=null,Yo!==null){for(w=0;w&lt;Yo.length;w++)if(A=Yo[w],U=A.interleaved,U!==null){A.interleaved=null;var G=U.next,J=A.pending;if(J!==null){var ae=J.next;J.next=G,U.next=ae}A.pending=U}Yo=null}return b}function U_(b,w){do{var A=Wr;try{if(ag(),Jf.current=nh,eh){for(var U=Tr.memoizedState;U!==null;){var G=U.queue;G!==null&amp;&amp;(G.pending=null),U=U.next}eh=!1}if(Qo=0,cn=Qr=Tr=null,Du=!1,Lu=0,Fg.current=null,A===null||A.return===null){Jr=1,Uu=w,Wr=null;break}e:{var J=b,ae=A.return,me=A,ye=w;if(w=jn,me.flags|=32768,ye!==null&amp;&amp;typeof ye==&quot;object&quot;&amp;&amp;typeof ye.then==&quot;function&quot;){var Oe=ye,qe=me,He=qe.tag;if((qe.mode&amp;1)===0&amp;&amp;(He===0||He===11||He===15)){var Ue=qe.alternate;Ue?(qe.updateQueue=Ue.updateQueue,qe.memoizedState=Ue.memoizedState,qe.lanes=Ue.lanes):(qe.updateQueue=null,qe.memoizedState=null)}var lt=h_(ae);if(lt!==null){lt.flags&amp;=-257,m_(lt,ae,me,J,w),lt.mode&amp;1&amp;&amp;f_(J,Oe,w),w=lt,ye=Oe;var gt=w.updateQueue;if(gt===null){var bt=new Set;bt.add(ye),w.updateQueue=bt}else gt.add(ye);break e}else{if((w&amp;1)===0){f_(J,Oe,w),Kg();break e}ye=Error(t(426))}}else if(kr&amp;&amp;me.mode&amp;1){var Ur=h_(ae);if(Ur!==null){(Ur.flags&amp;65536)===0&amp;&amp;(Ur.flags|=256),m_(Ur,ae,me,J,w),ig(dc(ye,me));break e}}J=ye=dc(ye,me),Jr!==4&amp;&amp;(Jr=2),Vu===null?Vu=[J]:Vu.push(J),J=ae;do{switch(J.tag){case 3:J.flags|=65536,w&amp;=-w,J.lanes|=w;var Ee=u_(J,ye,w);Lw(J,Ee);break e;case 1:me=ye;var _e=J.type,Me=J.stateNode;if((J.flags&amp;128)===0&amp;&amp;(typeof _e.getDerivedStateFromError==&quot;function&quot;||Me!==null&amp;&amp;typeof Me.componentDidCatch==&quot;function&quot;&amp;&amp;(eo===null||!eo.has(Me)))){J.flags|=65536,w&amp;=-w,J.lanes|=w;var Ze=d_(J,me,w);Lw(J,Ze);break e}}J=J.return}while(J!==null)}H_(A)}catch(_t){w=_t,Wr===A&amp;&amp;A!==null&amp;&amp;(Wr=A=A.return);continue}break}while(!0)}function V_(){var b=ch.current;return ch.current=nh,b===null?nh:b}function Kg(){(Jr===0||Jr===3||Jr===2)&amp;&amp;(Jr=4),un===null||(Jo&amp;268435455)===0&amp;&amp;(uh&amp;268435455)===0||no(un,jn)}function gh(b,w){var A=rr;rr|=2;var U=V_();(un!==b||jn!==w)&amp;&amp;(oa=null,tl(b,w));do try{JM();break}catch(G){U_(b,G)}while(!0);if(ag(),rr=A,ch.current=U,Wr!==null)throw Error(t(261));return un=null,jn=0,Jr}function JM(){for(;Wr!==null;)q_(Wr)}function eO(){for(;Wr!==null&amp;&amp;!Ar();)q_(Wr)}function q_(b){var w=X_(b.alternate,b,ji);b.memoizedProps=b.pendingProps,w===null?H_(b):Wr=w,Fg.current=null}function H_(b){var w=b;do{var A=w.alternate;if(b=w.return,(w.flags&amp;32768)===0){if(A=WM(A,w,ji),A!==null){Wr=A;return}}else{if(A=KM(A,w),A!==null){A.flags&amp;=32767,Wr=A;return}if(b!==null)b.flags|=32768,b.subtreeFlags=0,b.deletions=null;else{Jr=6,Wr=null;return}}if(w=w.sibling,w!==null){Wr=w;return}Wr=w=b}while(w!==null);Jr===0&amp;&amp;(Jr=5)}function rl(b,w,A){var U=jt,G=Di.transition;try{Di.transition=null,jt=1,tO(b,w,A,U)}finally{Di.transition=G,jt=U}return null}function tO(b,w,A,U){do pc();while(to!==null);if((rr&amp;6)!==0)throw Error(t(327));A=b.finishedWork;var G=b.finishedLanes;if(A===null)return null;if(b.finishedWork=null,b.finishedLanes=0,A===b.current)throw Error(t(177));b.callbackNode=null,b.callbackPriority=0;var J=A.lanes|A.childLanes;if(bi(b,J),b===un&amp;&amp;(Wr=un=null,jn=0),(A.subtreeFlags&amp;2064)===0&amp;&amp;(A.flags&amp;2064)===0||fh||(fh=!0,G_(Fe,function(){return pc(),null})),J=(A.flags&amp;15990)!==0,(A.subtreeFlags&amp;15990)!==0||J){J=Di.transition,Di.transition=null;var ae=jt;jt=1;var me=rr;rr|=4,Fg.current=null,GM(b,A),R_(A,b),Pf(Su),Ll=!!ju,Su=ju=null,b.current=A,YM(A),he(),rr=me,jt=ae,Di.transition=J}else b.current=A;if(fh&amp;&amp;(fh=!1,to=b,hh=G),J=b.pendingLanes,J===0&amp;&amp;(eo=null),at(A.stateNode),ui(b,ve()),w!==null)for(U=b.onRecoverableError,A=0;A&lt;w.length;A++)G=w[A],U(G.value,{componentStack:G.stack,digest:G.digest});if(dh)throw dh=!1,b=$g,$g=null,b;return(hh&amp;1)!==0&amp;&amp;b.tag!==0&amp;&amp;pc(),J=b.pendingLanes,(J&amp;1)!==0?b===Ug?qu++:(qu=0,Ug=b):qu=0,Ya(),null}function pc(){if(to!==null){var b=Tn(hh),w=Di.transition,A=jt;try{if(Di.transition=null,jt=16&gt;b?16:b,to===null)var U=!1;else{if(b=to,to=null,hh=0,(rr&amp;6)!==0)throw Error(t(331));var G=rr;for(rr|=4,mt=b.current;mt!==null;){var J=mt,ae=J.child;if((mt.flags&amp;16)!==0){var me=J.deletions;if(me!==null){for(var ye=0;ye&lt;me.length;ye++){var Oe=me[ye];for(mt=Oe;mt!==null;){var qe=mt;switch(qe.tag){case 0:case 11:case 15:$u(8,qe,J)}var He=qe.child;if(He!==null)He.return=qe,mt=He;else for(;mt!==null;){qe=mt;var Ue=qe.sibling,lt=qe.return;if(M_(qe),qe===Oe){mt=null;break}if(Ue!==null){Ue.return=lt,mt=Ue;break}mt=lt}}}var gt=J.alternate;if(gt!==null){var bt=gt.child;if(bt!==null){gt.child=null;do{var Ur=bt.sibling;bt.sibling=null,bt=Ur}while(bt!==null)}}mt=J}}if((J.subtreeFlags&amp;2064)!==0&amp;&amp;ae!==null)ae.return=J,mt=ae;else e:for(;mt!==null;){if(J=mt,(J.flags&amp;2048)!==0)switch(J.tag){case 0:case 11:case 15:$u(9,J,J.return)}var Ee=J.sibling;if(Ee!==null){Ee.return=J.return,mt=Ee;break e}mt=J.return}}var _e=b.current;for(mt=_e;mt!==null;){ae=mt;var Me=ae.child;if((ae.subtreeFlags&amp;2064)!==0&amp;&amp;Me!==null)Me.return=ae,mt=Me;else e:for(ae=_e;mt!==null;){if(me=mt,(me.flags&amp;2048)!==0)try{switch(me.tag){case 0:case 11:case 15:lh(9,me)}}catch(_t){Fr(me,me.return,_t)}if(me===ae){mt=null;break e}var Ze=me.sibling;if(Ze!==null){Ze.return=me.return,mt=Ze;break e}mt=me.return}}if(rr=G,Ya(),it&amp;&amp;typeof it.onPostCommitFiberRoot==&quot;function&quot;)try{it.onPostCommitFiberRoot(nt,b)}catch{}U=!0}return U}finally{jt=A,Di.transition=w}}return!1}function W_(b,w,A){w=dc(A,w),w=u_(b,w,1),b=Qa(b,w,1),w=Qn(),b!==null&amp;&amp;(Mr(b,1,w),ui(b,w))}function Fr(b,w,A){if(b.tag===3)W_(b,b,A);else for(;w!==null;){if(w.tag===3){W_(w,b,A);break}else if(w.tag===1){var U=w.stateNode;if(typeof w.type.getDerivedStateFromError==&quot;function&quot;||typeof U.componentDidCatch==&quot;function&quot;&amp;&amp;(eo===null||!eo.has(U))){b=dc(A,b),b=d_(w,b,1),w=Qa(w,b,1),b=Qn(),w!==null&amp;&amp;(Mr(w,1,b),ui(w,b));break}}w=w.return}}function rO(b,w,A){var U=b.pingCache;U!==null&amp;&amp;U.delete(w),w=Qn(),b.pingedLanes|=b.suspendedLanes&amp;A,un===b&amp;&amp;(jn&amp;A)===A&amp;&amp;(Jr===4||Jr===3&amp;&amp;(jn&amp;130023424)===jn&amp;&amp;500&gt;ve()-zg?tl(b,0):Bg|=A),ui(b,w)}function K_(b,w){w===0&amp;&amp;((b.mode&amp;1)===0?w=1:(w=Lr,Lr&lt;&lt;=1,(Lr&amp;130023424)===0&amp;&amp;(Lr=4194304)));var A=Qn();b=ia(b,w),b!==null&amp;&amp;(Mr(b,w,A),ui(b,A))}function nO(b){var w=b.memoizedState,A=0;w!==null&amp;&amp;(A=w.retryLane),K_(b,A)}function iO(b,w){var A=0;switch(b.tag){case 13:var U=b.stateNode,G=b.memoizedState;G!==null&amp;&amp;(A=G.retryLane);break;case 19:U=b.stateNode;break;default:throw Error(t(314))}U!==null&amp;&amp;U.delete(w),K_(b,A)}var X_;X_=function(b,w,A){if(b!==null)if(b.memoizedProps!==w.pendingProps||wn.current)li=!0;else{if((b.lanes&amp;A)===0&amp;&amp;(w.flags&amp;128)===0)return li=!1,HM(b,w,A);li=(b.flags&amp;131072)!==0}else li=!1,kr&amp;&amp;(w.flags&amp;1048576)!==0&amp;&amp;Cw(w,Hf,w.index);switch(w.lanes=0,w.tag){case 2:var U=w.type;ah(b,w),b=w.pendingProps;var G=Ga(w,Hr.current);cc(w,A),G=xg(null,w,U,b,G,A);var J=bg();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,Ln(U)?(J=!0,We(w)):J=!1,w.memoizedState=G.state!==null&amp;&amp;G.state!==void 0?G.state:null,ug(w),G.updater=ih,w.stateNode=G,G._reactInternals=w,Sg(w,U,b,A),w=Eg(null,w,U,!0,J,A)):(w.tag=0,kr&amp;&amp;J&amp;&amp;eg(w),Zn(null,w,G,A),w=w.child),w;case 16:U=w.elementType;e:{switch(ah(b,w),b=w.pendingProps,G=U._init,U=G(U._payload),w.type=U,G=w.tag=aO(U),b=ls(U,b),G){case 0:w=Cg(null,w,U,b,A);break e;case 1:w=v_(null,w,U,b,A);break e;case 11:w=p_(null,w,U,b,A);break e;case 14:w=g_(null,w,U,ls(U.type,b),A);break e}throw Error(t(306,U,&quot;&quot;))}return w;case 0:return U=w.type,G=w.pendingProps,G=w.elementType===U?G:ls(U,G),Cg(b,w,U,G,A);case 1:return U=w.type,G=w.pendingProps,G=w.elementType===U?G:ls(U,G),v_(b,w,U,G,A);case 3:e:{if(w_(w),b===null)throw Error(t(387));U=w.pendingProps,J=w.memoizedState,G=J.element,Dw(b,w),Zf(w,U,null,A);var ae=w.memoizedState;if(U=ae.element,J.isDehydrated)if(J={element:U,isDehydrated:!1,cache:ae.cache,pendingSuspenseBoundaries:ae.pendingSuspenseBoundaries,transitions:ae.transitions},w.updateQueue.baseState=J,w.memoizedState=J,w.flags&amp;256){G=dc(Error(t(423)),w),w=__(b,w,U,A,G);break e}else if(U!==G){G=dc(Error(t(424)),w),w=__(b,w,U,A,G);break e}else for(_i=As(w.stateNode.containerInfo.firstChild),wi=w,kr=!0,os=null,A=Iw(w,null,U,A),w.child=A;A;)A.flags=A.flags&amp;-3|4096,A=A.sibling;else{if(ac(),U===G){w=aa(b,w,A);break e}Zn(b,w,U,A)}w=w.child}return w;case 5:return Bw(w),b===null&amp;&amp;ng(w),U=w.type,G=w.pendingProps,J=b!==null?b.memoizedProps:null,ae=G.children,ku(U,G)?ae=null:J!==null&amp;&amp;ku(U,J)&amp;&amp;(w.flags|=32),y_(b,w),Zn(b,w,ae,A),w.child;case 6:return b===null&amp;&amp;ng(w),null;case 13:return j_(b,w,A);case 4:return dg(w,w.stateNode.containerInfo),U=w.pendingProps,b===null?w.child=oc(w,null,U,A):Zn(b,w,U,A),w.child;case 11:return U=w.type,G=w.pendingProps,G=w.elementType===U?G:ls(U,G),p_(b,w,U,G,A);case 7:return Zn(b,w,w.pendingProps,A),w.child;case 8:return Zn(b,w,w.pendingProps.children,A),w.child;case 12:return Zn(b,w,w.pendingProps.children,A),w.child;case 10:e:{if(U=w.type._context,G=w.pendingProps,J=w.memoizedProps,ae=G.value,lr(Xf,U._currentValue),U._currentValue=ae,J!==null)if(Xn(J.value,ae)){if(J.children===G.children&amp;&amp;!wn.current){w=aa(b,w,A);break e}}else for(J=w.child,J!==null&amp;&amp;(J.return=w);J!==null;){var me=J.dependencies;if(me!==null){ae=J.child;for(var ye=me.firstContext;ye!==null;){if(ye.context===U){if(J.tag===1){ye=sa(-1,A&amp;-A),ye.tag=2;var Oe=J.updateQueue;if(Oe!==null){Oe=Oe.shared;var qe=Oe.pending;qe===null?ye.next=ye:(ye.next=qe.next,qe.next=ye),Oe.pending=ye}}J.lanes|=A,ye=J.alternate,ye!==null&amp;&amp;(ye.lanes|=A),lg(J.return,A,w),me.lanes|=A;break}ye=ye.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,me=ae.alternate,me!==null&amp;&amp;(me.lanes|=A),lg(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}Zn(b,w,G.children,A),w=w.child}return w;case 9:return G=w.type,U=w.pendingProps.children,cc(w,A),G=Ii(G),U=U(G),w.flags|=1,Zn(b,w,U,A),w.child;case 14:return U=w.type,G=ls(U,w.pendingProps),G=ls(U.type,G),g_(b,w,U,G,A);case 15:return x_(b,w,w.type,w.pendingProps,A);case 17:return U=w.type,G=w.pendingProps,G=w.elementType===U?G:ls(U,G),ah(b,w),w.tag=1,Ln(U)?(b=!0,We(w)):b=!1,cc(w,A),l_(w,U,G),Sg(w,U,G,A),Eg(null,w,U,!0,b,A);case 19:return k_(b,w,A);case 22:return b_(b,w,A)}throw Error(t(156,w.tag))};function G_(b,w){return nr(b,w)}function sO(b,w,A,U){this.tag=b,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=U,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Li(b,w,A,U){return new sO(b,w,A,U)}function Xg(b){return b=b.prototype,!(!b||!b.isReactComponent)}function aO(b){if(typeof b==&quot;function&quot;)return Xg(b)?1:0;if(b!=null){if(b=b.$$typeof,b===K)return 11;if(b===E)return 14}return 2}function io(b,w){var A=b.alternate;return A===null?(A=Li(b.tag,w,b.key,b.mode),A.elementType=b.elementType,A.type=b.type,A.stateNode=b.stateNode,A.alternate=b,b.alternate=A):(A.pendingProps=w,A.type=b.type,A.flags=0,A.subtreeFlags=0,A.deletions=null),A.flags=b.flags&amp;14680064,A.childLanes=b.childLanes,A.lanes=b.lanes,A.child=b.child,A.memoizedProps=b.memoizedProps,A.memoizedState=b.memoizedState,A.updateQueue=b.updateQueue,w=b.dependencies,A.dependencies=w===null?null:{lanes:w.lanes,firstContext:w.firstContext},A.sibling=b.sibling,A.index=b.index,A.ref=b.ref,A}function xh(b,w,A,U,G,J){var ae=2;if(U=b,typeof b==&quot;function&quot;)Xg(b)&amp;&amp;(ae=1);else if(typeof b==&quot;string&quot;)ae=5;else e:switch(b){case $:return nl(A.children,G,J,w);case F:ae=8,G|=8;break;case H:return b=Li(12,A,w,G|2),b.elementType=H,b.lanes=J,b;case P:return b=Li(13,A,w,G),b.elementType=P,b.lanes=J,b;case L:return b=Li(19,A,w,G),b.elementType=L,b.lanes=J,b;case k:return bh(A,G,J,w);default:if(typeof b==&quot;object&quot;&amp;&amp;b!==null)switch(b.$$typeof){case W:ae=10;break e;case q:ae=9;break e;case K:ae=11;break e;case E:ae=14;break e;case j:ae=16,U=null;break e}throw Error(t(130,b==null?b:typeof b,&quot;&quot;))}return w=Li(ae,A,w,G),w.elementType=b,w.type=U,w.lanes=J,w}function nl(b,w,A,U){return b=Li(7,b,U,w),b.lanes=A,b}function bh(b,w,A,U){return b=Li(22,b,U,w),b.elementType=k,b.lanes=A,b.stateNode={isHidden:!1},b}function Gg(b,w,A){return b=Li(6,b,null,w),b.lanes=A,b}function Yg(b,w,A){return w=Li(4,b.children!==null?b.children:[],b.key,w),w.lanes=A,w.stateNode={containerInfo:b.containerInfo,pendingChildren:null,implementation:b.implementation},w}function oO(b,w,A,U,G){this.tag=w,this.containerInfo=b,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Vt(0),this.expirationTimes=Vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vt(0),this.identifierPrefix=U,this.onRecoverableError=G,this.mutableSourceEagerHydrationData=null}function Zg(b,w,A,U,G,J,ae,me,ye){return b=new oO(b,w,A,me,ye),w===1?(w=1,J===!0&amp;&amp;(w|=8)):w=0,J=Li(3,null,null,w),b.current=J,J.stateNode=b,J.memoizedState={element:U,isDehydrated:A,cache:null,transitions:null,pendingSuspenseBoundaries:null},ug(J),b}function lO(b,w,A){var U=3&lt;arguments.length&amp;&amp;arguments[3]!==void 0?arguments[3]:null;return{$$typeof:T,key:U==null?null:&quot;&quot;+U,children:b,containerInfo:w,implementation:A}}function Y_(b){if(!b)return as;b=b._reactInternals;e:{if(ot(b)!==b||b.tag!==1)throw Error(t(170));var w=b;do{switch(w.tag){case 3:w=w.stateNode.context;break e;case 1:if(Ln(w.type)){w=w.stateNode.__reactInternalMemoizedMergedChildContext;break e}}w=w.return}while(w!==null);throw Error(t(171))}if(b.tag===1){var A=b.type;if(Ln(A))return Se(b,A,w)}return w}function Z_(b,w,A,U,G,J,ae,me,ye){return b=Zg(A,U,!0,b,G,J,ae,me,ye),b.context=Y_(null),A=b.current,U=Qn(),G=ro(A),J=sa(U,G),J.callback=w??null,Qa(A,J,G),b.current.lanes=G,Mr(b,G,U),ui(b,U),b}function yh(b,w,A,U){var G=w.current,J=Qn(),ae=ro(G);return A=Y_(A),w.context===null?w.context=A:w.pendingContext=A,w=sa(J,ae),w.payload={element:b},U=U===void 0?null:U,U!==null&amp;&amp;(w.callback=U),b=Qa(G,w,ae),b!==null&amp;&amp;(ds(b,G,ae,J),Yf(b,G,ae)),ae}function vh(b){return b=b.current,b.child?(b.child.tag===5,b.child.stateNode):null}function Q_(b,w){if(b=b.memoizedState,b!==null&amp;&amp;b.dehydrated!==null){var A=b.retryLane;b.retryLane=A!==0&amp;&amp;A&lt;w?A:w}}function Qg(b,w){Q_(b,w),(b=b.alternate)&amp;&amp;Q_(b,w)}function cO(){return null}var J_=typeof reportError==&quot;function&quot;?reportError:function(b){console.error(b)};function Jg(b){this._internalRoot=b}wh.prototype.render=Jg.prototype.render=function(b){var w=this._internalRoot;if(w===null)throw Error(t(409));yh(b,w,null,null)},wh.prototype.unmount=Jg.prototype.unmount=function(){var b=this._internalRoot;if(b!==null){this._internalRoot=null;var w=b.containerInfo;el(function(){yh(null,b,null,null)}),w[ss]=null}};function wh(b){this._internalRoot=b}wh.prototype.unstable_scheduleHydration=function(b){if(b){var w=oi();b={blockedOn:null,target:b,priority:w};for(var A=0;A&lt;Wn.length&amp;&amp;w!==0&amp;&amp;w&lt;Wn[A].priority;A++);Wn.splice(A,0,b),A===0&amp;&amp;Dl(b)}};function ex(b){return!(!b||b.nodeType!==1&amp;&amp;b.nodeType!==9&amp;&amp;b.nodeType!==11)}function _h(b){return!(!b||b.nodeType!==1&amp;&amp;b.nodeType!==9&amp;&amp;b.nodeType!==11&amp;&amp;(b.nodeType!==8||b.nodeValue!==&quot; react-mount-point-unstable &quot;))}function e3(){}function uO(b,w,A,U,G){if(G){if(typeof U==&quot;function&quot;){var J=U;U=function(){var Oe=vh(ae);J.call(Oe)}}var ae=Z_(w,U,b,0,null,!1,!1,&quot;&quot;,e3);return b._reactRootContainer=ae,b[ss]=ae.current,Vo(b.nodeType===8?b.parentNode:b),el(),ae}for(;G=b.lastChild;)b.removeChild(G);if(typeof U==&quot;function&quot;){var me=U;U=function(){var Oe=vh(ye);me.call(Oe)}}var ye=Zg(b,0,!1,null,null,!1,!1,&quot;&quot;,e3);return b._reactRootContainer=ye,b[ss]=ye.current,Vo(b.nodeType===8?b.parentNode:b),el(function(){yh(w,ye,A,U)}),ye}function jh(b,w,A,U,G){var J=A._reactRootContainer;if(J){var ae=J;if(typeof G==&quot;function&quot;){var me=G;G=function(){var ye=vh(ae);me.call(ye)}}yh(w,ae,b,G)}else ae=uO(A,w,b,G,U);return vh(ae)}ai=function(b){switch(b.tag){case 3:var w=b.stateNode;if(w.current.memoizedState.isDehydrated){var A=_r(w.pendingLanes);A!==0&amp;&amp;(ks(w,A|1),ui(w,ve()),(rr&amp;6)===0&amp;&amp;(mc=ve()+500,Ya()))}break;case 13:el(function(){var U=ia(b,1);if(U!==null){var G=Qn();ds(U,b,1,G)}}),Qg(b,1)}},Mi=function(b){if(b.tag===13){var w=ia(b,134217728);if(w!==null){var A=Qn();ds(w,b,134217728,A)}Qg(b,134217728)}},on=function(b){if(b.tag===13){var w=ro(b),A=ia(b,w);if(A!==null){var U=Qn();ds(A,b,w,U)}Qg(b,w)}},oi=function(){return jt},Hn=function(b,w){var A=jt;try{return jt=b,w()}finally{jt=A}},ht=function(b,w,A){switch(w){case&quot;input&quot;:if(ie(b,A),w=A.name,A.type===&quot;radio&quot;&amp;&amp;w!=null){for(A=b;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 U=A[w];if(U!==b&amp;&amp;U.form===b.form){var G=rc(U);if(!G)throw Error(t(90));Q(U),ie(U,G)}}}break;case&quot;textarea&quot;:we(b,A);break;case&quot;select&quot;:w=A.value,w!=null&amp;&amp;xe(b,!!A.multiple,w,!1)}},yt=Hg,Rt=el;var dO={usingClientEntryPoint:!1,Events:[Ko,Ka,rc,Ut,qt,Hg]},Hu={findFiberByHostInstance:Js,bundleType:0,version:&quot;18.3.1&quot;,rendererPackageName:&quot;react-dom&quot;},fO={bundleType:Hu.bundleType,version:Hu.version,rendererPackageName:Hu.rendererPackageName,rendererConfig:Hu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(b){return b=or(b),b===null?null:b.stateNode},findFiberByHostInstance:Hu.findFiberByHostInstance||cO,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 Sh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Sh.isDisabled&amp;&amp;Sh.supportsFiber)try{nt=Sh.inject(fO),it=Sh}catch{}}return di.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dO,di.createPortal=function(b,w){var A=2&lt;arguments.length&amp;&amp;arguments[2]!==void 0?arguments[2]:null;if(!ex(w))throw Error(t(200));return lO(b,w,null,A)},di.createRoot=function(b,w){if(!ex(b))throw Error(t(299));var A=!1,U=&quot;&quot;,G=J_;return w!=null&amp;&amp;(w.unstable_strictMode===!0&amp;&amp;(A=!0),w.identifierPrefix!==void 0&amp;&amp;(U=w.identifierPrefix),w.onRecoverableError!==void 0&amp;&amp;(G=w.onRecoverableError)),w=Zg(b,1,!1,null,null,A,!1,U,G),b[ss]=w.current,Vo(b.nodeType===8?b.parentNode:b),new Jg(w)},di.findDOMNode=function(b){if(b==null)return null;if(b.nodeType===1)return b;var w=b._reactInternals;if(w===void 0)throw typeof b.render==&quot;function&quot;?Error(t(188)):(b=Object.keys(b).join(&quot;,&quot;),Error(t(268,b)));return b=or(w),b=b===null?null:b.stateNode,b},di.flushSync=function(b){return el(b)},di.hydrate=function(b,w,A){if(!_h(w))throw Error(t(200));return jh(null,b,w,!0,A)},di.hydrateRoot=function(b,w,A){if(!ex(b))throw Error(t(405));var U=A!=null&amp;&amp;A.hydratedSources||null,G=!1,J=&quot;&quot;,ae=J_;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=Z_(w,null,b,1,A??null,G,!1,J,ae),b[ss]=w.current,Vo(b),U)for(b=0;b&lt;U.length;b++)A=U[b],G=A._getVersion,G=G(A._source),w.mutableSourceEagerHydrationData==null?w.mutableSourceEagerHydrationData=[A,G]:w.mutableSourceEagerHydrationData.push(A,G);return new wh(w)},di.render=function(b,w,A){if(!_h(w))throw Error(t(200));return jh(null,b,w,!1,A)},di.unmountComponentAtNode=function(b){if(!_h(b))throw Error(t(40));return b._reactRootContainer?(el(function(){jh(null,null,b,!1,function(){b._reactRootContainer=null,b[ss]=null})}),!0):!1},di.unstable_batchedUpdates=Hg,di.unstable_renderSubtreeIntoContainer=function(b,w,A,U){if(!_h(A))throw Error(t(200));if(b==null||b._reactInternals===void 0)throw Error(t(38));return jh(b,w,A,!1,U)},di.version=&quot;18.3.1-next-f1338f8080-20240426&quot;,di}var l3;function hN(){if(l3)return nx.exports;l3=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(),nx.exports=vO(),nx.exports}var c3;function wO(){if(c3)return kh;c3=1;var e=hN();return kh.createRoot=e.createRoot,kh.hydrateRoot=e.hydrateRoot,kh}var _O=wO();const jO=_s(_O);var Sp=hN();function xd(){return xd=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},xd.apply(this,arguments)}var fo;(function(e){e.Pop=&quot;POP&quot;,e.Push=&quot;PUSH&quot;,e.Replace=&quot;REPLACE&quot;})(fo||(fo={}));const u3=&quot;popstate&quot;;function SO(e){e===void 0&amp;&amp;(e={});function r(n,l){let{pathname:i,search:o,hash:u}=n.location;return py(&quot;&quot;,{pathname:i,search:o,hash:u},l.state&amp;&amp;l.state.usr||null,l.state&amp;&amp;l.state.key||&quot;default&quot;)}function t(n,l){return typeof l==&quot;string&quot;?l:xm(l)}return NO(r,t,null,e)}function qr(e,r){if(e===!1||e===null||typeof e&gt;&quot;u&quot;)throw new Error(r)}function t1(e,r){if(!e){typeof console&lt;&quot;u&quot;&amp;&amp;console.warn(r);try{throw new Error(r)}catch{}}}function kO(){return Math.random().toString(36).substr(2,8)}function d3(e,r){return{usr:e.state,key:e.key,idx:r}}function py(e,r,t,n){return t===void 0&amp;&amp;(t=null),xd({pathname:typeof e==&quot;string&quot;?e:e.pathname,search:&quot;&quot;,hash:&quot;&quot;},typeof r==&quot;string&quot;?Uc(r):r,{state:t,key:r&amp;&amp;r.key||n||kO()})}function xm(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 Uc(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 NO(e,r,t,n){n===void 0&amp;&amp;(n={});let{window:l=document.defaultView,v5Compat:i=!1}=n,o=l.history,u=fo.Pop,c=null,a=d();a==null&amp;&amp;(a=0,o.replaceState(xd({},o.state,{idx:a}),&quot;&quot;));function d(){return(o.state||{idx:null}).idx}function f(){u=fo.Pop;let g=d(),y=g==null?null:g-a;a=g,c&amp;&amp;c({action:u,location:x.location,delta:y})}function h(g,y){u=fo.Push;let v=py(x.location,g,y);a=d()+1;let _=d3(v,a),C=x.createHref(v);try{o.pushState(_,&quot;&quot;,C)}catch(M){if(M instanceof DOMException&amp;&amp;M.name===&quot;DataCloneError&quot;)throw M;l.location.assign(C)}i&amp;&amp;c&amp;&amp;c({action:u,location:x.location,delta:1})}function m(g,y){u=fo.Replace;let v=py(x.location,g,y);a=d();let _=d3(v,a),C=x.createHref(v);o.replaceState(_,&quot;&quot;,C),i&amp;&amp;c&amp;&amp;c({action:u,location:x.location,delta:0})}function p(g){let y=l.location.origin!==&quot;null&quot;?l.location.origin:l.location.href,v=typeof g==&quot;string&quot;?g:xm(g);return v=v.replace(/ $/,&quot;%20&quot;),qr(y,&quot;No window.location.(origin|href) available to create URL for href: &quot;+v),new URL(v,y)}let x={get action(){return u},get location(){return e(l,o)},listen(g){if(c)throw new Error(&quot;A history only accepts one active listener&quot;);return l.addEventListener(u3,f),c=g,()=&gt;{l.removeEventListener(u3,f),c=null}},createHref(g){return r(l,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 o.go(g)}};return x}var f3;(function(e){e.data=&quot;data&quot;,e.deferred=&quot;deferred&quot;,e.redirect=&quot;redirect&quot;,e.error=&quot;error&quot;})(f3||(f3={}));function CO(e,r,t){return t===void 0&amp;&amp;(t=&quot;/&quot;),EO(e,r,t)}function EO(e,r,t,n){let l=typeof r==&quot;string&quot;?Uc(r):r,i=r1(l.pathname||&quot;/&quot;,t);if(i==null)return null;let o=mN(e);AO(o);let u=null;for(let c=0;u==null&amp;&amp;c&lt;o.length;++c){let a=$O(i);u=FO(o[c],a)}return u}function mN(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 l=(i,o,u)=&gt;{let c={relativePath:u===void 0?i.path||&quot;&quot;:u,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};c.relativePath.startsWith(&quot;/&quot;)&amp;&amp;(qr(c.relativePath.startsWith(n),&#039;Absolute route path &quot;&#039;+c.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;),c.relativePath=c.relativePath.slice(n.length));let a=go([n,c.relativePath]),d=t.concat(c);i.children&amp;&amp;i.children.length&gt;0&amp;&amp;(qr(i.index!==!0,&quot;Index routes must not have child routes. Please remove &quot;+(&#039;all child routes from route path &quot;&#039;+a+&#039;&quot;.&#039;)),mN(i.children,r,d,a)),!(i.path==null&amp;&amp;!i.index)&amp;&amp;r.push({path:a,score:DO(a,i.index),routesMeta:d})};return e.forEach((i,o)=&gt;{var u;if(i.path===&quot;&quot;||!((u=i.path)!=null&amp;&amp;u.includes(&quot;?&quot;)))l(i,o);else for(let c of pN(i.path))l(i,o,c)}),r}function pN(e){let r=e.split(&quot;/&quot;);if(r.length===0)return[];let[t,...n]=r,l=t.endsWith(&quot;?&quot;),i=t.replace(/\?$/,&quot;&quot;);if(n.length===0)return l?[i,&quot;&quot;]:[i];let o=pN(n.join(&quot;/&quot;)),u=[];return u.push(...o.map(c=&gt;c===&quot;&quot;?i:[i,c].join(&quot;/&quot;))),l&amp;&amp;u.push(...o),u.map(c=&gt;e.startsWith(&quot;/&quot;)&amp;&amp;c===&quot;&quot;?&quot;/&quot;:c)}function AO(e){e.sort((r,t)=&gt;r.score!==t.score?t.score-r.score:LO(r.routesMeta.map(n=&gt;n.childrenIndex),t.routesMeta.map(n=&gt;n.childrenIndex)))}const MO=/^:[\w-]+$/,OO=3,PO=2,TO=1,IO=10,RO=-2,h3=e=&gt;e===&quot;*&quot;;function DO(e,r){let t=e.split(&quot;/&quot;),n=t.length;return t.some(h3)&amp;&amp;(n+=RO),r&amp;&amp;(n+=PO),t.filter(l=&gt;!h3(l)).reduce((l,i)=&gt;l+(MO.test(i)?OO:i===&quot;&quot;?TO:IO),n)}function LO(e,r){return e.length===r.length&amp;&amp;e.slice(0,-1).every((n,l)=&gt;n===r[l])?e[e.length-1]-r[r.length-1]:0}function FO(e,r,t){let{routesMeta:n}=e,l={},i=&quot;/&quot;,o=[];for(let u=0;u&lt;n.length;++u){let c=n[u],a=u===n.length-1,d=i===&quot;/&quot;?r:r.slice(i.length)||&quot;/&quot;,f=BO({path:c.relativePath,caseSensitive:c.caseSensitive,end:a},d),h=c.route;if(!f)return null;Object.assign(l,f.params),o.push({params:l,pathname:go([i,f.pathname]),pathnameBase:WO(go([i,f.pathnameBase])),route:h}),f.pathnameBase!==&quot;/&quot;&amp;&amp;(i=go([i,f.pathnameBase]))}return o}function BO(e,r){typeof e==&quot;string&quot;&amp;&amp;(e={path:e,caseSensitive:!1,end:!0});let[t,n]=zO(e.path,e.caseSensitive,e.end),l=r.match(t);if(!l)return null;let i=l[0],o=i.replace(/(.)\/+$/,&quot;$1&quot;),u=l.slice(1);return{params:n.reduce((a,d,f)=&gt;{let{paramName:h,isOptional:m}=d;if(h===&quot;*&quot;){let x=u[f]||&quot;&quot;;o=i.slice(0,i.length-x.length).replace(/(.)\/+$/,&quot;$1&quot;)}const p=u[f];return m&amp;&amp;!p?a[h]=void 0:a[h]=(p||&quot;&quot;).replace(/%2F/g,&quot;/&quot;),a},{}),pathname:i,pathnameBase:o,pattern:e}}function zO(e,r,t){r===void 0&amp;&amp;(r=!1),t===void 0&amp;&amp;(t=!0),t1(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=[],l=&quot;^&quot;+e.replace(/\/*\*?$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;).replace(/[\\.*+^${}|()[\]]/g,&quot;\\$&amp;&quot;).replace(/\/:([\w-]+)(\?)?/g,(o,u,c)=&gt;(n.push({paramName:u,isOptional:c!=null}),c?&quot;/?([^\\/]+)?&quot;:&quot;/([^\\/]+)&quot;));return e.endsWith(&quot;*&quot;)?(n.push({paramName:&quot;*&quot;}),l+=e===&quot;*&quot;||e===&quot;/*&quot;?&quot;(.*)$&quot;:&quot;(?:\\/(.+)|\\/*)$&quot;):t?l+=&quot;\\/*$&quot;:e!==&quot;&quot;&amp;&amp;e!==&quot;/&quot;&amp;&amp;(l+=&quot;(?:(?=\\/|$))&quot;),[new RegExp(l,r?void 0:&quot;i&quot;),n]}function $O(e){try{return e.split(&quot;/&quot;).map(r=&gt;decodeURIComponent(r).replace(/\//g,&quot;%2F&quot;)).join(&quot;/&quot;)}catch(r){return t1(!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 r1(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 UO=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,VO=e=&gt;UO.test(e);function qO(e,r){r===void 0&amp;&amp;(r=&quot;/&quot;);let{pathname:t,search:n=&quot;&quot;,hash:l=&quot;&quot;}=typeof e==&quot;string&quot;?Uc(e):e,i;if(t)if(VO(t))i=t;else{if(t.includes(&quot;//&quot;)){let o=t;t=t.replace(/\/\/+/g,&quot;/&quot;),t1(!1,&quot;Pathnames cannot have embedded double slashes - normalizing &quot;+(o+&quot; -&gt; &quot;+t))}t.startsWith(&quot;/&quot;)?i=m3(t.substring(1),&quot;/&quot;):i=m3(t,r)}else i=r;return{pathname:i,search:KO(n),hash:XO(l)}}function m3(e,r){let t=r.replace(/\/+$/,&quot;&quot;).split(&quot;/&quot;);return e.split(&quot;/&quot;).forEach(l=&gt;{l===&quot;..&quot;?t.length&gt;1&amp;&amp;t.pop():l!==&quot;.&quot;&amp;&amp;t.push(l)}),t.length&gt;1?t.join(&quot;/&quot;):&quot;/&quot;}function ax(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 HO(e){return e.filter((r,t)=&gt;t===0||r.route.path&amp;&amp;r.route.path.length&gt;0)}function n1(e,r){let t=HO(e);return r?t.map((n,l)=&gt;l===t.length-1?n.pathname:n.pathnameBase):t.map(n=&gt;n.pathnameBase)}function i1(e,r,t,n){n===void 0&amp;&amp;(n=!1);let l;typeof e==&quot;string&quot;?l=Uc(e):(l=xd({},e),qr(!l.pathname||!l.pathname.includes(&quot;?&quot;),ax(&quot;?&quot;,&quot;pathname&quot;,&quot;search&quot;,l)),qr(!l.pathname||!l.pathname.includes(&quot;#&quot;),ax(&quot;#&quot;,&quot;pathname&quot;,&quot;hash&quot;,l)),qr(!l.search||!l.search.includes(&quot;#&quot;),ax(&quot;#&quot;,&quot;search&quot;,&quot;hash&quot;,l)));let i=e===&quot;&quot;||l.pathname===&quot;&quot;,o=i?&quot;/&quot;:l.pathname,u;if(o==null)u=t;else{let f=r.length-1;if(!n&amp;&amp;o.startsWith(&quot;..&quot;)){let h=o.split(&quot;/&quot;);for(;h[0]===&quot;..&quot;;)h.shift(),f-=1;l.pathname=h.join(&quot;/&quot;)}u=f&gt;=0?r[f]:&quot;/&quot;}let c=qO(l,u),a=o&amp;&amp;o!==&quot;/&quot;&amp;&amp;o.endsWith(&quot;/&quot;),d=(i||o===&quot;.&quot;)&amp;&amp;t.endsWith(&quot;/&quot;);return!c.pathname.endsWith(&quot;/&quot;)&amp;&amp;(a||d)&amp;&amp;(c.pathname+=&quot;/&quot;),c}const go=e=&gt;e.join(&quot;/&quot;).replace(/\/\/+/g,&quot;/&quot;),WO=e=&gt;e.replace(/\/+$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;),KO=e=&gt;!e||e===&quot;?&quot;?&quot;&quot;:e.startsWith(&quot;?&quot;)?e:&quot;?&quot;+e,XO=e=&gt;!e||e===&quot;#&quot;?&quot;&quot;:e.startsWith(&quot;#&quot;)?e:&quot;#&quot;+e;function GO(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 gN=[&quot;post&quot;,&quot;put&quot;,&quot;patch&quot;,&quot;delete&quot;];new Set(gN);const YO=[&quot;get&quot;,...gN];new Set(YO);function bd(){return bd=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},bd.apply(this,arguments)}const s1=I.createContext(null),ZO=I.createContext(null),ko=I.createContext(null),kp=I.createContext(null),Ma=I.createContext({outlet:null,matches:[],isDataRoute:!1}),xN=I.createContext(null);function QO(e,r){let{relative:t}=r===void 0?{}:r;Vc()||qr(!1);let{basename:n,navigator:l}=I.useContext(ko),{hash:i,pathname:o,search:u}=yN(e,{relative:t}),c=o;return n!==&quot;/&quot;&amp;&amp;(c=o===&quot;/&quot;?n:go([n,o])),l.createHref({pathname:c,search:u,hash:i})}function Vc(){return I.useContext(kp)!=null}function js(){return Vc()||qr(!1),I.useContext(kp).location}function bN(e){I.useContext(ko).static||I.useLayoutEffect(e)}function Gi(){let{isDataRoute:e}=I.useContext(Ma);return e?fP():JO()}function JO(){Vc()||qr(!1);let e=I.useContext(s1),{basename:r,future:t,navigator:n}=I.useContext(ko),{matches:l}=I.useContext(Ma),{pathname:i}=js(),o=JSON.stringify(n1(l,t.v7_relativeSplatPath)),u=I.useRef(!1);return bN(()=&gt;{u.current=!0}),I.useCallback(function(a,d){if(d===void 0&amp;&amp;(d={}),!u.current)return;if(typeof a==&quot;number&quot;){n.go(a);return}let f=i1(a,JSON.parse(o),i,d.relative===&quot;path&quot;);e==null&amp;&amp;r!==&quot;/&quot;&amp;&amp;(f.pathname=f.pathname===&quot;/&quot;?r:go([r,f.pathname])),(d.replace?n.replace:n.push)(f,d.state,d)},[r,n,o,i,e])}function eP(){let{matches:e}=I.useContext(Ma),r=e[e.length-1];return r?r.params:{}}function yN(e,r){let{relative:t}=r===void 0?{}:r,{future:n}=I.useContext(ko),{matches:l}=I.useContext(Ma),{pathname:i}=js(),o=JSON.stringify(n1(l,n.v7_relativeSplatPath));return I.useMemo(()=&gt;i1(e,JSON.parse(o),i,t===&quot;path&quot;),[e,o,i,t])}function tP(e,r){return rP(e,r)}function rP(e,r,t,n){Vc()||qr(!1);let{navigator:l}=I.useContext(ko),{matches:i}=I.useContext(Ma),o=i[i.length-1],u=o?o.params:{};o&amp;&amp;o.pathname;let c=o?o.pathnameBase:&quot;/&quot;;o&amp;&amp;o.route;let a=js(),d;if(r){var f;let g=typeof r==&quot;string&quot;?Uc(r):r;c===&quot;/&quot;||(f=g.pathname)!=null&amp;&amp;f.startsWith(c)||qr(!1),d=g}else d=a;let h=d.pathname||&quot;/&quot;,m=h;if(c!==&quot;/&quot;){let g=c.replace(/^\//,&quot;&quot;).split(&quot;/&quot;);m=&quot;/&quot;+h.replace(/^\//,&quot;&quot;).split(&quot;/&quot;).slice(g.length).join(&quot;/&quot;)}let p=CO(e,{pathname:m}),x=oP(p&amp;&amp;p.map(g=&gt;Object.assign({},g,{params:Object.assign({},u,g.params),pathname:go([c,l.encodeLocation?l.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase===&quot;/&quot;?c:go([c,l.encodeLocation?l.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),i,t,n);return r&amp;&amp;x?I.createElement(kp.Provider,{value:{location:bd({pathname:&quot;/&quot;,search:&quot;&quot;,hash:&quot;&quot;,state:null,key:&quot;default&quot;},d),navigationType:fo.Pop}},x):x}function nP(){let e=dP(),r=GO(e)?e.status+&quot; &quot;+e.statusText:e instanceof Error?e.message:JSON.stringify(e),t=e instanceof Error?e.stack:null,l={padding:&quot;0.5rem&quot;,backgroundColor:&quot;rgba(200,200,200, 0.5)&quot;};return I.createElement(I.Fragment,null,I.createElement(&quot;h2&quot;,null,&quot;Unexpected Application Error!&quot;),I.createElement(&quot;h3&quot;,{style:{fontStyle:&quot;italic&quot;}},r),t?I.createElement(&quot;pre&quot;,{style:l},t):null,null)}const iP=I.createElement(nP,null);class sP extends I.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?I.createElement(Ma.Provider,{value:this.props.routeContext},I.createElement(xN.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function aP(e){let{routeContext:r,match:t,children:n}=e,l=I.useContext(s1);return l&amp;&amp;l.static&amp;&amp;l.staticContext&amp;&amp;(t.route.errorElement||t.route.ErrorBoundary)&amp;&amp;(l.staticContext._deepestRenderedBoundaryId=t.route.id),I.createElement(Ma.Provider,{value:r},n)}function oP(e,r,t,n){var l;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 o=e,u=(l=t)==null?void 0:l.errors;if(u!=null){let d=o.findIndex(f=&gt;f.route.id&amp;&amp;u?.[f.route.id]!==void 0);d&gt;=0||qr(!1),o=o.slice(0,Math.min(o.length,d+1))}let c=!1,a=-1;if(t&amp;&amp;n&amp;&amp;n.v7_partialHydration)for(let d=0;d&lt;o.length;d++){let f=o[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&amp;&amp;(a=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){c=!0,a&gt;=0?o=o.slice(0,a+1):o=[o[0]];break}}}return o.reduceRight((d,f,h)=&gt;{let m,p=!1,x=null,g=null;t&amp;&amp;(m=u&amp;&amp;f.route.id?u[f.route.id]:void 0,x=f.route.errorElement||iP,c&amp;&amp;(a&lt;0&amp;&amp;h===0?(hP(&quot;route-fallback&quot;),p=!0,g=null):a===h&amp;&amp;(p=!0,g=f.route.hydrateFallbackElement||null)));let y=r.concat(o.slice(0,h+1)),v=()=&gt;{let _;return m?_=x:p?_=g:f.route.Component?_=I.createElement(f.route.Component,null):f.route.element?_=f.route.element:_=d,I.createElement(aP,{match:f,routeContext:{outlet:d,matches:y,isDataRoute:t!=null},children:_})};return t&amp;&amp;(f.route.ErrorBoundary||f.route.errorElement||h===0)?I.createElement(sP,{location:t.location,revalidation:t.revalidation,component:x,error:m,children:v(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):v()},null)}var vN=(function(e){return e.UseBlocker=&quot;useBlocker&quot;,e.UseRevalidator=&quot;useRevalidator&quot;,e.UseNavigateStable=&quot;useNavigate&quot;,e})(vN||{}),wN=(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})(wN||{});function lP(e){let r=I.useContext(s1);return r||qr(!1),r}function cP(e){let r=I.useContext(ZO);return r||qr(!1),r}function uP(e){let r=I.useContext(Ma);return r||qr(!1),r}function _N(e){let r=uP(),t=r.matches[r.matches.length-1];return t.route.id||qr(!1),t.route.id}function dP(){var e;let r=I.useContext(xN),t=cP(),n=_N();return r!==void 0?r:(e=t.errors)==null?void 0:e[n]}function fP(){let{router:e}=lP(vN.UseNavigateStable),r=_N(wN.UseNavigateStable),t=I.useRef(!1);return bN(()=&gt;{t.current=!0}),I.useCallback(function(l,i){i===void 0&amp;&amp;(i={}),t.current&amp;&amp;(typeof l==&quot;number&quot;?e.navigate(l):e.navigate(l,bd({fromRouteId:r},i)))},[e,r])}const p3={};function hP(e,r,t){p3[e]||(p3[e]=!0)}function mP(e,r){e?.v7_startTransition,e?.v7_relativeSplatPath}function pi(e){let{to:r,replace:t,state:n,relative:l}=e;Vc()||qr(!1);let{future:i,static:o}=I.useContext(ko),{matches:u}=I.useContext(Ma),{pathname:c}=js(),a=Gi(),d=i1(r,n1(u,i.v7_relativeSplatPath),c,l===&quot;path&quot;),f=JSON.stringify(d);return I.useEffect(()=&gt;a(JSON.parse(f),{replace:t,state:n,relative:l}),[a,f,l,t,n]),null}function Sn(e){qr(!1)}function pP(e){let{basename:r=&quot;/&quot;,children:t=null,location:n,navigationType:l=fo.Pop,navigator:i,static:o=!1,future:u}=e;Vc()&amp;&amp;qr(!1);let c=r.replace(/^\/*/,&quot;/&quot;),a=I.useMemo(()=&gt;({basename:c,navigator:i,static:o,future:bd({v7_relativeSplatPath:!1},u)}),[c,u,i,o]);typeof n==&quot;string&quot;&amp;&amp;(n=Uc(n));let{pathname:d=&quot;/&quot;,search:f=&quot;&quot;,hash:h=&quot;&quot;,state:m=null,key:p=&quot;default&quot;}=n,x=I.useMemo(()=&gt;{let g=r1(d,c);return g==null?null:{location:{pathname:g,search:f,hash:h,state:m,key:p},navigationType:l}},[c,d,f,h,m,p,l]);return x==null?null:I.createElement(ko.Provider,{value:a},I.createElement(kp.Provider,{children:t,value:x}))}function gP(e){let{children:r,location:t}=e;return tP(gy(r),t)}new Promise(()=&gt;{});function gy(e,r){r===void 0&amp;&amp;(r=[]);let t=[];return I.Children.forEach(e,(n,l)=&gt;{if(!I.isValidElement(n))return;let i=[...r,l];if(n.type===I.Fragment){t.push.apply(t,gy(n.props.children,i));return}n.type!==Sn&amp;&amp;qr(!1),!n.props.index||!n.props.children||qr(!1);let o={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;(o.children=gy(n.props.children,i)),t.push(o)}),t}function xy(){return xy=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},xy.apply(this,arguments)}function xP(e,r){if(e==null)return{};var t={},n=Object.keys(e),l,i;for(i=0;i&lt;n.length;i++)l=n[i],!(r.indexOf(l)&gt;=0)&amp;&amp;(t[l]=e[l]);return t}function bP(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function yP(e,r){return e.button===0&amp;&amp;(!r||r===&quot;_self&quot;)&amp;&amp;!bP(e)}function by(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(l=&gt;[t,l]):[[t,n]])},[]))}function vP(e,r){let t=by(e);return r&amp;&amp;r.forEach((n,l)=&gt;{t.has(l)||r.getAll(l).forEach(i=&gt;{t.append(l,i)})}),t}const wP=[&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;],_P=&quot;6&quot;;try{window.__reactRouterVersion=_P}catch{}const jP=&quot;startTransition&quot;,g3=fN[jP];function SP(e){let{basename:r,children:t,future:n,window:l}=e,i=I.useRef();i.current==null&amp;&amp;(i.current=SO({window:l,v5Compat:!0}));let o=i.current,[u,c]=I.useState({action:o.action,location:o.location}),{v7_startTransition:a}=n||{},d=I.useCallback(f=&gt;{a&amp;&amp;g3?g3(()=&gt;c(f)):c(f)},[c,a]);return I.useLayoutEffect(()=&gt;o.listen(d),[o,d]),I.useEffect(()=&gt;mP(n),[n]),I.createElement(pP,{basename:r,children:t,location:u.location,navigationType:u.action,navigator:o,future:n})}const kP=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;,NP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dr=I.forwardRef(function(r,t){let{onClick:n,relative:l,reloadDocument:i,replace:o,state:u,target:c,to:a,preventScrollReset:d,viewTransition:f}=r,h=xP(r,wP),{basename:m}=I.useContext(ko),p,x=!1;if(typeof a==&quot;string&quot;&amp;&amp;NP.test(a)&amp;&amp;(p=a,kP))try{let _=new URL(window.location.href),C=a.startsWith(&quot;//&quot;)?new URL(_.protocol+a):new URL(a),M=r1(C.pathname,m);C.origin===_.origin&amp;&amp;M!=null?a=M+C.search+C.hash:x=!0}catch{}let g=QO(a,{relative:l}),y=CP(a,{replace:o,state:u,target:c,preventScrollReset:d,relative:l,viewTransition:f});function v(_){n&amp;&amp;n(_),_.defaultPrevented||y(_)}return I.createElement(&quot;a&quot;,xy({},h,{href:p||g,onClick:x||i?n:v,ref:t,target:c}))});var x3;(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;})(x3||(x3={}));var b3;(function(e){e.UseFetcher=&quot;useFetcher&quot;,e.UseFetchers=&quot;useFetchers&quot;,e.UseScrollRestoration=&quot;useScrollRestoration&quot;})(b3||(b3={}));function CP(e,r){let{target:t,replace:n,state:l,preventScrollReset:i,relative:o,viewTransition:u}=r===void 0?{}:r,c=Gi(),a=js(),d=yN(e,{relative:o});return I.useCallback(f=&gt;{if(yP(f,t)){f.preventDefault();let h=n!==void 0?n:xm(a)===xm(d);c(e,{replace:h,state:l,preventScrollReset:i,relative:o,viewTransition:u})}},[a,c,d,n,l,t,e,i,o,u])}function Ud(e){let r=I.useRef(by(e)),t=I.useRef(!1),n=js(),l=I.useMemo(()=&gt;vP(n.search,t.current?null:r.current),[n.search]),i=Gi(),o=I.useCallback((u,c)=&gt;{const a=by(typeof u==&quot;function&quot;?u(l):u);t.current=!0,i(&quot;?&quot;+a,c)},[i,l]);return[l,o]}const a1=I.createContext({});function o1(e){const r=I.useRef(null);return r.current===null&amp;&amp;(r.current=e()),r.current}const jN=typeof window&lt;&quot;u&quot;,SN=jN?I.useLayoutEffect:I.useEffect,Np=I.createContext(null);function l1(e,r){e.indexOf(r)===-1&amp;&amp;e.push(r)}function c1(e,r){const t=e.indexOf(r);t&gt;-1&amp;&amp;e.splice(t,1)}const zs=(e,r,t)=&gt;t&gt;r?r:t&lt;e?e:t;let u1=()=&gt;{};const va={},kN=e=&gt;/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function NN(e){return typeof e==&quot;object&quot;&amp;&amp;e!==null}const CN=e=&gt;/^0[^.\s]+$/u.test(e);function d1(e){let r;return()=&gt;(r===void 0&amp;&amp;(r=e()),r)}const Hi=e=&gt;e,EP=(e,r)=&gt;t=&gt;r(e(t)),Vd=(...e)=&gt;e.reduce(EP),yd=(e,r,t)=&gt;{const n=r-e;return n===0?1:(t-e)/n};class f1{constructor(){this.subscriptions=[]}add(r){return l1(this.subscriptions,r),()=&gt;c1(this.subscriptions,r)}notify(r,t,n){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](r,t,n);else for(let i=0;i&lt;l;i++){const o=this.subscriptions[i];o&amp;&amp;o(r,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ga=e=&gt;e*1e3,Vi=e=&gt;e/1e3;function EN(e,r){return r?e*(1e3/r):0}const AN=(e,r,t)=&gt;(((1-3*t+3*r)*e+(3*t-6*r))*e+3*r)*e,AP=1e-7,MP=12;function OP(e,r,t,n,l){let i,o,u=0;do o=r+(t-r)/2,i=AN(o,n,l)-e,i&gt;0?t=o:r=o;while(Math.abs(i)&gt;AP&amp;&amp;++u&lt;MP);return o}function qd(e,r,t,n){if(e===r&amp;&amp;t===n)return Hi;const l=i=&gt;OP(i,0,1,e,t);return i=&gt;i===0||i===1?i:AN(l(i),r,n)}const MN=e=&gt;r=&gt;r&lt;=.5?e(2*r)/2:(2-e(2*(1-r)))/2,ON=e=&gt;r=&gt;1-e(1-r),PN=qd(.33,1.53,.69,.99),h1=ON(PN),TN=MN(h1),IN=e=&gt;(e*=2)&lt;1?.5*h1(e):.5*(2-Math.pow(2,-10*(e-1))),m1=e=&gt;1-Math.sin(Math.acos(e)),RN=ON(m1),DN=MN(m1),PP=qd(.42,0,1,1),TP=qd(0,0,.58,1),LN=qd(.42,0,.58,1),IP=e=&gt;Array.isArray(e)&amp;&amp;typeof e[0]!=&quot;number&quot;,FN=e=&gt;Array.isArray(e)&amp;&amp;typeof e[0]==&quot;number&quot;,RP={linear:Hi,easeIn:PP,easeInOut:LN,easeOut:TP,circIn:m1,circInOut:DN,circOut:RN,backIn:h1,backInOut:TN,backOut:PN,anticipate:IN},DP=e=&gt;typeof e==&quot;string&quot;,y3=e=&gt;{if(FN(e)){u1(e.length===4);const[r,t,n,l]=e;return qd(r,t,n,l)}else if(DP(e))return RP[e];return e},Nh=[&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 LP(e,r){let t=new Set,n=new Set,l=!1,i=!1;const o=new WeakSet;let u={delta:0,timestamp:0,isProcessing:!1};function c(d){o.has(d)&amp;&amp;(a.schedule(d),e()),d(u)}const a={schedule:(d,f=!1,h=!1)=&gt;{const p=h&amp;&amp;l?t:n;return f&amp;&amp;o.add(d),p.has(d)||p.add(d),d},cancel:d=&gt;{n.delete(d),o.delete(d)},process:d=&gt;{if(u=d,l){i=!0;return}l=!0,[t,n]=[n,t],t.forEach(c),t.clear(),l=!1,i&amp;&amp;(i=!1,a.process(d))}};return a}const FP=40;function BN(e,r){let t=!1,n=!0;const l={delta:0,timestamp:0,isProcessing:!1},i=()=&gt;t=!0,o=Nh.reduce((_,C)=&gt;(_[C]=LP(i),_),{}),{setup:u,read:c,resolveKeyframes:a,preUpdate:d,update:f,preRender:h,render:m,postRender:p}=o,x=()=&gt;{const _=va.useManualTiming?l.timestamp:performance.now();t=!1,va.useManualTiming||(l.delta=n?1e3/60:Math.max(Math.min(_-l.timestamp,FP),1)),l.timestamp=_,l.isProcessing=!0,u.process(l),c.process(l),a.process(l),d.process(l),f.process(l),h.process(l),m.process(l),p.process(l),l.isProcessing=!1,t&amp;&amp;r&amp;&amp;(n=!1,e(x))},g=()=&gt;{t=!0,n=!0,l.isProcessing||e(x)};return{schedule:Nh.reduce((_,C)=&gt;{const M=o[C];return _[C]=(T,$=!1,F=!1)=&gt;(t||g(),M.schedule(T,$,F)),_},{}),cancel:_=&gt;{for(let C=0;C&lt;Nh.length;C++)o[Nh[C]].cancel(_)},state:l,steps:o}}const{schedule:Sr,cancel:yo,state:Nn,steps:ox}=BN(typeof requestAnimationFrame&lt;&quot;u&quot;?requestAnimationFrame:Hi,!0);let rm;function BP(){rm=void 0}const ei={now:()=&gt;(rm===void 0&amp;&amp;ei.set(Nn.isProcessing||va.useManualTiming?Nn.timestamp:performance.now()),rm),set:e=&gt;{rm=e,queueMicrotask(BP)}},zN=e=&gt;r=&gt;typeof r==&quot;string&quot;&amp;&amp;r.startsWith(e),$N=zN(&quot;--&quot;),zP=zN(&quot;var(--&quot;),p1=e=&gt;zP(e)?$P.test(e.split(&quot;/*&quot;)[0].trim()):!1,$P=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function v3(e){return typeof e!=&quot;string&quot;?!1:e.split(&quot;/*&quot;)[0].includes(&quot;var(--&quot;)}const qc={test:e=&gt;typeof e==&quot;number&quot;,parse:parseFloat,transform:e=&gt;e},vd={...qc,transform:e=&gt;zs(0,1,e)},Ch={...qc,default:1},ud=e=&gt;Math.round(e*1e5)/1e5,g1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function UP(e){return e==null}const VP=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,x1=(e,r)=&gt;t=&gt;!!(typeof t==&quot;string&quot;&amp;&amp;VP.test(t)&amp;&amp;t.startsWith(e)||r&amp;&amp;!UP(t)&amp;&amp;Object.prototype.hasOwnProperty.call(t,r)),UN=(e,r,t)=&gt;n=&gt;{if(typeof n!=&quot;string&quot;)return n;const[l,i,o,u]=n.match(g1);return{[e]:parseFloat(l),[r]:parseFloat(i),[t]:parseFloat(o),alpha:u!==void 0?parseFloat(u):1}},qP=e=&gt;zs(0,255,e),lx={...qc,transform:e=&gt;Math.round(qP(e))},dl={test:x1(&quot;rgb&quot;,&quot;red&quot;),parse:UN(&quot;red&quot;,&quot;green&quot;,&quot;blue&quot;),transform:({red:e,green:r,blue:t,alpha:n=1})=&gt;&quot;rgba(&quot;+lx.transform(e)+&quot;, &quot;+lx.transform(r)+&quot;, &quot;+lx.transform(t)+&quot;, &quot;+ud(vd.transform(n))+&quot;)&quot;};function HP(e){let r=&quot;&quot;,t=&quot;&quot;,n=&quot;&quot;,l=&quot;&quot;;return e.length&gt;5?(r=e.substring(1,3),t=e.substring(3,5),n=e.substring(5,7),l=e.substring(7,9)):(r=e.substring(1,2),t=e.substring(2,3),n=e.substring(3,4),l=e.substring(4,5),r+=r,t+=t,n+=n,l+=l),{red:parseInt(r,16),green:parseInt(t,16),blue:parseInt(n,16),alpha:l?parseInt(l,16)/255:1}}const yy={test:x1(&quot;#&quot;),parse:HP,transform:dl.transform},Hd=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}`}),oo=Hd(&quot;deg&quot;),Fs=Hd(&quot;%&quot;),ft=Hd(&quot;px&quot;),WP=Hd(&quot;vh&quot;),KP=Hd(&quot;vw&quot;),w3={...Fs,parse:e=&gt;Fs.parse(e)/100,transform:e=&gt;Fs.transform(e*100)},_c={test:x1(&quot;hsl&quot;,&quot;hue&quot;),parse:UN(&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;+Fs.transform(ud(r))+&quot;, &quot;+Fs.transform(ud(t))+&quot;, &quot;+ud(vd.transform(n))+&quot;)&quot;},Xr={test:e=&gt;dl.test(e)||yy.test(e)||_c.test(e),parse:e=&gt;dl.test(e)?dl.parse(e):_c.test(e)?_c.parse(e):yy.parse(e),transform:e=&gt;typeof e==&quot;string&quot;?e:e.hasOwnProperty(&quot;red&quot;)?dl.transform(e):_c.transform(e),getAnimatableNone:e=&gt;{const r=Xr.parse(e);return r.alpha=0,Xr.transform(r)}},XP=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function GP(e){return isNaN(e)&amp;&amp;typeof e==&quot;string&quot;&amp;&amp;(e.match(g1)?.length||0)+(e.match(XP)?.length||0)&gt;0}const VN=&quot;number&quot;,qN=&quot;color&quot;,YP=&quot;var&quot;,ZP=&quot;var(&quot;,_3=&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 wd(e){const r=e.toString(),t=[],n={color:[],number:[],var:[]},l=[];let i=0;const u=r.replace(QP,c=&gt;(Xr.test(c)?(n.color.push(i),l.push(qN),t.push(Xr.parse(c))):c.startsWith(ZP)?(n.var.push(i),l.push(YP),t.push(c)):(n.number.push(i),l.push(VN),t.push(parseFloat(c))),++i,_3)).split(_3);return{values:t,split:u,indexes:n,types:l}}function HN(e){return wd(e).values}function WN(e){const{split:r,types:t}=wd(e),n=r.length;return l=&gt;{let i=&quot;&quot;;for(let o=0;o&lt;n;o++)if(i+=r[o],l[o]!==void 0){const u=t[o];u===VN?i+=ud(l[o]):u===qN?i+=Xr.transform(l[o]):i+=l[o]}return i}}const JP=e=&gt;typeof e==&quot;number&quot;?0:Xr.test(e)?Xr.getAnimatableNone(e):e;function eT(e){const r=HN(e);return WN(e)(r.map(JP))}const vo={test:GP,parse:HN,createTransformer:WN,getAnimatableNone:eT};function cx(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 tT({hue:e,saturation:r,lightness:t,alpha:n}){e/=360,r/=100,t/=100;let l=0,i=0,o=0;if(!r)l=i=o=t;else{const u=t&lt;.5?t*(1+r):t+r-t*r,c=2*t-u;l=cx(c,u,e+1/3),i=cx(c,u,e),o=cx(c,u,e-1/3)}return{red:Math.round(l*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:n}}function bm(e,r){return t=&gt;t&gt;0?r:e}const Ir=(e,r,t)=&gt;e+(r-e)*t,ux=(e,r,t)=&gt;{const n=e*e,l=t*(r*r-n)+n;return l&lt;0?0:Math.sqrt(l)},rT=[yy,dl,_c],nT=e=&gt;rT.find(r=&gt;r.test(e));function j3(e){const r=nT(e);if(!r)return!1;let t=r.parse(e);return r===_c&amp;&amp;(t=tT(t)),t}const S3=(e,r)=&gt;{const t=j3(e),n=j3(r);if(!t||!n)return bm(e,r);const l={...t};return i=&gt;(l.red=ux(t.red,n.red,i),l.green=ux(t.green,n.green,i),l.blue=ux(t.blue,n.blue,i),l.alpha=Ir(t.alpha,n.alpha,i),dl.transform(l))},vy=new Set([&quot;none&quot;,&quot;hidden&quot;]);function iT(e,r){return vy.has(e)?t=&gt;t&lt;=0?e:r:t=&gt;t&gt;=1?r:e}function sT(e,r){return t=&gt;Ir(e,r,t)}function b1(e){return typeof e==&quot;number&quot;?sT:typeof e==&quot;string&quot;?p1(e)?bm:Xr.test(e)?S3:lT:Array.isArray(e)?KN:typeof e==&quot;object&quot;?Xr.test(e)?S3:aT:bm}function KN(e,r){const t=[...e],n=t.length,l=e.map((i,o)=&gt;b1(i)(i,r[o]));return i=&gt;{for(let o=0;o&lt;n;o++)t[o]=l[o](i);return t}}function aT(e,r){const t={...e,...r},n={};for(const l in t)e[l]!==void 0&amp;&amp;r[l]!==void 0&amp;&amp;(n[l]=b1(e[l])(e[l],r[l]));return l=&gt;{for(const i in n)t[i]=n[i](l);return t}}function oT(e,r){const t=[],n={color:0,var:0,number:0};for(let l=0;l&lt;r.values.length;l++){const i=r.types[l],o=e.indexes[i][n[i]],u=e.values[o]??0;t[l]=u,n[i]++}return t}const lT=(e,r)=&gt;{const t=vo.createTransformer(r),n=wd(e),l=wd(r);return n.indexes.var.length===l.indexes.var.length&amp;&amp;n.indexes.color.length===l.indexes.color.length&amp;&amp;n.indexes.number.length&gt;=l.indexes.number.length?vy.has(e)&amp;&amp;!l.values.length||vy.has(r)&amp;&amp;!n.values.length?iT(e,r):Vd(KN(oT(n,l),l.values),t):bm(e,r)};function XN(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):b1(e)(e,r)}const cT=e=&gt;{const r=({timestamp:t})=&gt;e(t);return{start:(t=!0)=&gt;Sr.update(r,t),stop:()=&gt;yo(r),now:()=&gt;Nn.isProcessing?Nn.timestamp:ei.now()}},GN=(e,r,t=10)=&gt;{let n=&quot;&quot;;const l=Math.max(Math.round(r/t),2);for(let i=0;i&lt;l;i++)n+=Math.round(e(i/(l-1))*1e4)/1e4+&quot;, &quot;;return`linear(${n.substring(0,n.length-2)})`},ym=2e4;function y1(e){let r=0;const t=50;let n=e.next(r);for(;!n.done&amp;&amp;r&lt;ym;)r+=t,n=e.next(r);return r&gt;=ym?1/0:r}function uT(e,r=100,t){const n=t({...e,keyframes:[0,r]}),l=Math.min(y1(n),ym);return{type:&quot;keyframes&quot;,ease:i=&gt;n.next(l*i).value/r,duration:Vi(l)}}const dT=5;function YN(e,r,t){const n=Math.max(r-dT,0);return EN(t-e(n),r-n)}const Br={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},dx=.001;function fT({duration:e=Br.duration,bounce:r=Br.bounce,velocity:t=Br.velocity,mass:n=Br.mass}){let l,i,o=1-r;o=zs(Br.minDamping,Br.maxDamping,o),e=zs(Br.minDuration,Br.maxDuration,Vi(e)),o&lt;1?(l=a=&gt;{const d=a*o,f=d*e,h=d-t,m=wy(a,o),p=Math.exp(-f);return dx-h/m*p},i=a=&gt;{const f=a*o*e,h=f*t+t,m=Math.pow(o,2)*Math.pow(a,2)*e,p=Math.exp(-f),x=wy(Math.pow(a,2),o);return(-l(a)+dx&gt;0?-1:1)*((h-m)*p)/x}):(l=a=&gt;{const d=Math.exp(-a*e),f=(a-t)*e+1;return-dx+d*f},i=a=&gt;{const d=Math.exp(-a*e),f=(t-a)*(e*e);return d*f});const u=5/e,c=mT(l,i,u);if(e=ga(e),isNaN(c))return{stiffness:Br.stiffness,damping:Br.damping,duration:e};{const a=Math.pow(c,2)*n;return{stiffness:a,damping:o*2*Math.sqrt(n*a),duration:e}}}const hT=12;function mT(e,r,t){let n=t;for(let l=1;l&lt;hT;l++)n=n-e(n)/r(n);return n}function wy(e,r){return e*Math.sqrt(1-r*r)}const pT=[&quot;duration&quot;,&quot;bounce&quot;],gT=[&quot;stiffness&quot;,&quot;damping&quot;,&quot;mass&quot;];function k3(e,r){return r.some(t=&gt;e[t]!==void 0)}function xT(e){let r={velocity:Br.velocity,stiffness:Br.stiffness,damping:Br.damping,mass:Br.mass,isResolvedFromDuration:!1,...e};if(!k3(e,gT)&amp;&amp;k3(e,pT))if(e.visualDuration){const t=e.visualDuration,n=2*Math.PI/(t*1.2),l=n*n,i=2*zs(.05,1,1-(e.bounce||0))*Math.sqrt(l);r={...r,mass:Br.mass,stiffness:l,damping:i}}else{const t=fT(e);r={...r,...t,mass:Br.mass},r.isResolvedFromDuration=!0}return r}function vm(e=Br.visualDuration,r=Br.bounce){const t=typeof e!=&quot;object&quot;?{visualDuration:e,keyframes:[0,1],bounce:r}:e;let{restSpeed:n,restDelta:l}=t;const i=t.keyframes[0],o=t.keyframes[t.keyframes.length-1],u={done:!1,value:i},{stiffness:c,damping:a,mass:d,duration:f,velocity:h,isResolvedFromDuration:m}=xT({...t,velocity:-Vi(t.velocity||0)}),p=h||0,x=a/(2*Math.sqrt(c*d)),g=o-i,y=Vi(Math.sqrt(c/d)),v=Math.abs(g)&lt;5;n||(n=v?Br.restSpeed.granular:Br.restSpeed.default),l||(l=v?Br.restDelta.granular:Br.restDelta.default);let _;if(x&lt;1){const M=wy(y,x);_=T=&gt;{const $=Math.exp(-x*y*T);return o-$*((p+x*y*g)/M*Math.sin(M*T)+g*Math.cos(M*T))}}else if(x===1)_=M=&gt;o-Math.exp(-y*M)*(g+(p+y*g)*M);else{const M=y*Math.sqrt(x*x-1);_=T=&gt;{const $=Math.exp(-x*y*T),F=Math.min(M*T,300);return o-$*((p+x*y*g)*Math.sinh(F)+M*g*Math.cosh(F))/M}}const C={calculatedDuration:m&amp;&amp;f||null,next:M=&gt;{const T=_(M);if(m)u.done=M&gt;=f;else{let $=M===0?p:0;x&lt;1&amp;&amp;($=M===0?ga(p):YN(_,M,T));const F=Math.abs($)&lt;=n,H=Math.abs(o-T)&lt;=l;u.done=F&amp;&amp;H}return u.value=u.done?o:T,u},toString:()=&gt;{const M=Math.min(y1(C),ym),T=GN($=&gt;C.next(M*$).value,M,30);return M+&quot;ms &quot;+T},toTransition:()=&gt;{}};return C}vm.applyToOptions=e=&gt;{const r=uT(e,100,vm);return e.ease=r.ease,e.duration=ga(r.duration),e.type=&quot;keyframes&quot;,e};function _y({keyframes:e,velocity:r=0,power:t=.8,timeConstant:n=325,bounceDamping:l=10,bounceStiffness:i=500,modifyTarget:o,min:u,max:c,restDelta:a=.5,restSpeed:d}){const f=e[0],h={done:!1,value:f},m=F=&gt;u!==void 0&amp;&amp;F&lt;u||c!==void 0&amp;&amp;F&gt;c,p=F=&gt;u===void 0?c:c===void 0||Math.abs(u-F)&lt;Math.abs(c-F)?u:c;let x=t*r;const g=f+x,y=o===void 0?g:o(g);y!==g&amp;&amp;(x=y-f);const v=F=&gt;-x*Math.exp(-F/n),_=F=&gt;y+v(F),C=F=&gt;{const H=v(F),W=_(F);h.done=Math.abs(H)&lt;=a,h.value=h.done?y:W};let M,T;const $=F=&gt;{m(h.value)&amp;&amp;(M=F,T=vm({keyframes:[h.value,p(h.value)],velocity:YN(_,F,h.value),damping:l,stiffness:i,restDelta:a,restSpeed:d}))};return $(0),{calculatedDuration:null,next:F=&gt;{let H=!1;return!T&amp;&amp;M===void 0&amp;&amp;(H=!0,C(F),$(F)),M!==void 0&amp;&amp;F&gt;=M?T.next(F-M):(!H&amp;&amp;C(F),h)}}}function bT(e,r,t){const n=[],l=t||va.mix||XN,i=e.length-1;for(let o=0;o&lt;i;o++){let u=l(e[o],e[o+1]);if(r){const c=Array.isArray(r)?r[o]||Hi:r;u=Vd(c,u)}n.push(u)}return n}function yT(e,r,{clamp:t=!0,ease:n,mixer:l}={}){const i=e.length;if(u1(i===r.length),i===1)return()=&gt;r[0];if(i===2&amp;&amp;r[0]===r[1])return()=&gt;r[1];const o=e[0]===e[1];e[0]&gt;e[i-1]&amp;&amp;(e=[...e].reverse(),r=[...r].reverse());const u=bT(r,n,l),c=u.length,a=d=&gt;{if(o&amp;&amp;d&lt;e[0])return r[0];let f=0;if(c&gt;1)for(;f&lt;e.length-2&amp;&amp;!(d&lt;e[f+1]);f++);const h=yd(e[f],e[f+1],d);return u[f](h)};return t?d=&gt;a(zs(e[0],e[i-1],d)):a}function vT(e,r){const t=e[e.length-1];for(let n=1;n&lt;=r;n++){const l=yd(0,r,n);e.push(Ir(t,1,l))}}function wT(e){const r=[0];return vT(r,e.length-1),r}function _T(e,r){return e.map(t=&gt;t*r)}function jT(e,r){return e.map(()=&gt;r||LN).splice(0,e.length-1)}function dd({duration:e=300,keyframes:r,times:t,ease:n=&quot;easeInOut&quot;}){const l=IP(n)?n.map(y3):y3(n),i={done:!1,value:r[0]},o=_T(t&amp;&amp;t.length===r.length?t:wT(r),e),u=yT(o,r,{ease:Array.isArray(l)?l:jT(r,l)});return{calculatedDuration:e,next:c=&gt;(i.value=u(c),i.done=c&gt;=e,i)}}const ST=e=&gt;e!==null;function v1(e,{repeat:r,repeatType:t=&quot;loop&quot;},n,l=1){const i=e.filter(ST),u=l&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 kT={decay:_y,inertia:_y,tween:dd,keyframes:dd,spring:vm};function ZN(e){typeof e.type==&quot;string&quot;&amp;&amp;(e.type=kT[e.type])}class w1{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 NT=e=&gt;e/100;class _1 extends w1{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!==ei.now()&amp;&amp;this.tick(ei.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;ZN(r);const{type:t=dd,repeat:n=0,repeatDelay:l=0,repeatType:i,velocity:o=0}=r;let{keyframes:u}=r;const c=t||dd;c!==dd&amp;&amp;typeof u[0]!=&quot;number&quot;&amp;&amp;(this.mixKeyframes=Vd(NT,XN(u[0],u[1])),u=[0,100]);const a=c({...r,keyframes:u});i===&quot;mirror&quot;&amp;&amp;(this.mirroredGenerator=c({...r,keyframes:[...u].reverse(),velocity:-o})),a.calculatedDuration===null&amp;&amp;(a.calculatedDuration=y1(a));const{calculatedDuration:d}=a;this.calculatedDuration=d,this.resolvedDuration=d+l,this.totalDuration=this.resolvedDuration*(n+1)-l,this.generator=a}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:l,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:u,calculatedDuration:c}=this;if(this.startTime===null)return n.next(0);const{delay:a=0,keyframes:d,repeat:f,repeatType:h,repeatDelay:m,type:p,onUpdate:x,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-l/this.speed,this.startTime)),t?this.currentTime=r:this.updateTime(r);const y=this.currentTime-a*(this.playbackSpeed&gt;=0?1:-1),v=this.playbackSpeed&gt;=0?y&lt;0:y&gt;l;this.currentTime=Math.max(y,0),this.state===&quot;finished&quot;&amp;&amp;this.holdTime===null&amp;&amp;(this.currentTime=l);let _=this.currentTime,C=n;if(f){const F=Math.min(this.currentTime,l)/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=o)),_=zs(0,1,W)*u}const M=v?{done:!1,value:d[0]}:C.next(_);i&amp;&amp;(M.value=i(M.value));let{done:T}=M;!v&amp;&amp;c!==null&amp;&amp;(T=this.playbackSpeed&gt;=0?this.currentTime&gt;=l:this.currentTime&lt;=0);const $=this.holdTime===null&amp;&amp;(this.state===&quot;finished&quot;||this.state===&quot;running&quot;&amp;&amp;T);return $&amp;&amp;p!==_y&amp;&amp;(M.value=v1(d,this.options,g,this.speed)),x&amp;&amp;x(M.value),$&amp;&amp;this.finish(),M}then(r,t){return this.finished.then(r,t)}get duration(){return Vi(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Vi(r)}get time(){return Vi(this.currentTime)}set time(r){r=ga(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(ei.now());const t=this.playbackSpeed!==r;this.playbackSpeed=r,t&amp;&amp;(this.time=Vi(this.currentTime))}play(){if(this.isStopped)return;const{driver:r=cT,startTime:t}=this.options;this.driver||(this.driver=r(l=&gt;this.tick(l))),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(ei.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 CT(e){for(let r=1;r&lt;e.length;r++)e[r]??(e[r]=e[r-1])}const fl=e=&gt;e*180/Math.PI,jy=e=&gt;{const r=fl(Math.atan2(e[1],e[0]));return Sy(r)},ET={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:jy,rotateZ:jy,skewX:e=&gt;fl(Math.atan(e[1])),skewY:e=&gt;fl(Math.atan(e[2])),skew:e=&gt;(Math.abs(e[1])+Math.abs(e[2]))/2},Sy=e=&gt;(e=e%360,e&lt;0&amp;&amp;(e+=360),e),N3=jy,C3=e=&gt;Math.sqrt(e[0]*e[0]+e[1]*e[1]),E3=e=&gt;Math.sqrt(e[4]*e[4]+e[5]*e[5]),AT={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:C3,scaleY:E3,scale:e=&gt;(C3(e)+E3(e))/2,rotateX:e=&gt;Sy(fl(Math.atan2(e[6],e[5]))),rotateY:e=&gt;Sy(fl(Math.atan2(-e[2],e[0]))),rotateZ:N3,rotate:N3,skewX:e=&gt;fl(Math.atan(e[4])),skewY:e=&gt;fl(Math.atan(e[1])),skew:e=&gt;(Math.abs(e[1])+Math.abs(e[4]))/2};function ky(e){return e.includes(&quot;scale&quot;)?1:0}function Ny(e,r){if(!e||e===&quot;none&quot;)return ky(r);const t=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,l;if(t)n=AT,l=t;else{const u=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=ET,l=u}if(!l)return ky(r);const i=n[r],o=l[1].split(&quot;,&quot;).map(OT);return typeof i==&quot;function&quot;?i(o):o[i]}const MT=(e,r)=&gt;{const{transform:t=&quot;none&quot;}=getComputedStyle(e);return Ny(t,r)};function OT(e){return parseFloat(e.trim())}const Hc=[&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;],Wc=new Set(Hc),A3=e=&gt;e===qc||e===ft,PT=new Set([&quot;x&quot;,&quot;y&quot;,&quot;z&quot;]),TT=Hc.filter(e=&gt;!PT.has(e));function IT(e){const r=[];return TT.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 ho={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;Ny(r,&quot;x&quot;),y:(e,{transform:r})=&gt;Ny(r,&quot;y&quot;)};ho.translateX=ho.x;ho.translateY=ho.y;const bl=new Set;let Cy=!1,Ey=!1,Ay=!1;function QN(){if(Ey){const e=Array.from(bl).filter(n=&gt;n.needsMeasurement),r=new Set(e.map(n=&gt;n.element)),t=new Map;r.forEach(n=&gt;{const l=IT(n);l.length&amp;&amp;(t.set(n,l),n.render())}),e.forEach(n=&gt;n.measureInitialState()),r.forEach(n=&gt;{n.render();const l=t.get(n);l&amp;&amp;l.forEach(([i,o])=&gt;{n.getValue(i)?.set(o)})}),e.forEach(n=&gt;n.measureEndState()),e.forEach(n=&gt;{n.suspendedScrollY!==void 0&amp;&amp;window.scrollTo(0,n.suspendedScrollY)})}Ey=!1,Cy=!1,bl.forEach(e=&gt;e.complete(Ay)),bl.clear()}function JN(){bl.forEach(e=&gt;{e.readKeyframes(),e.needsMeasurement&amp;&amp;(Ey=!0)})}function RT(){Ay=!0,JN(),QN(),Ay=!1}class j1{constructor(r,t,n,l,i,o=!1){this.state=&quot;pending&quot;,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=t,this.name=n,this.motionValue=l,this.element=i,this.isAsync=o}scheduleResolve(){this.state=&quot;scheduled&quot;,this.isAsync?(bl.add(this),Cy||(Cy=!0,Sr.read(JN),Sr.resolveKeyframes(QN))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:t,element:n,motionValue:l}=this;if(r[0]===null){const i=l?.get(),o=r[r.length-1];if(i!==void 0)r[0]=i;else if(n&amp;&amp;t){const u=n.readValue(t,o);u!=null&amp;&amp;(r[0]=u)}r[0]===void 0&amp;&amp;(r[0]=o),l&amp;&amp;i===void 0&amp;&amp;l.set(r[0])}CT(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state=&quot;complete&quot;,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),bl.delete(this)}cancel(){this.state===&quot;scheduled&quot;&amp;&amp;(bl.delete(this),this.state=&quot;pending&quot;)}resume(){this.state===&quot;pending&quot;&amp;&amp;this.scheduleResolve()}}const DT=e=&gt;e.startsWith(&quot;--&quot;);function LT(e,r,t){DT(r)?e.style.setProperty(r,t):e.style[r]=t}const FT=d1(()=&gt;window.ScrollTimeline!==void 0),BT={};function zT(e,r){const t=d1(e);return()=&gt;BT[r]??t()}const e8=zT(()=&gt;{try{document.createElement(&quot;div&quot;).animate({opacity:0},{easing:&quot;linear(0, 1)&quot;})}catch{return!1}return!0},&quot;linearEasing&quot;),sd=([e,r,t,n])=&gt;`cubic-bezier(${e}, ${r}, ${t}, ${n})`,M3={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:sd([0,.65,.55,1]),circOut:sd([.55,0,1,.45]),backIn:sd([.31,.01,.66,-.59]),backOut:sd([.33,1.53,.69,.99])};function t8(e,r){if(e)return typeof e==&quot;function&quot;?e8()?GN(e,r):&quot;ease-out&quot;:FN(e)?sd(e):Array.isArray(e)?e.map(t=&gt;t8(t,r)||M3.easeOut):M3[e]}function $T(e,r,t,{delay:n=0,duration:l=300,repeat:i=0,repeatType:o=&quot;loop&quot;,ease:u=&quot;easeOut&quot;,times:c}={},a=void 0){const d={[r]:t};c&amp;&amp;(d.offset=c);const f=t8(u,l);Array.isArray(f)&amp;&amp;(d.easing=f);const h={delay:n,duration:l,easing:Array.isArray(f)?&quot;linear&quot;:f,fill:&quot;both&quot;,iterations:i+1,direction:o===&quot;reverse&quot;?&quot;alternate&quot;:&quot;normal&quot;};return a&amp;&amp;(h.pseudoElement=a),e.animate(d,h)}function r8(e){return typeof e==&quot;function&quot;&amp;&amp;&quot;applyToOptions&quot;in e}function UT({type:e,...r}){return r8(e)&amp;&amp;e8()?e.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease=&quot;easeOut&quot;),r)}class VT extends w1{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!r)return;const{element:t,name:n,keyframes:l,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:u,onComplete:c}=r;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=r,u1(typeof r.type!=&quot;string&quot;);const a=UT(r);this.animation=$T(t,n,l,a,i),a.autoplay===!1&amp;&amp;this.animation.pause(),this.animation.onfinish=()=&gt;{if(this.finishedTime=this.time,!i){const d=v1(l,this.options,u,this.speed);this.updateMotionValue?this.updateMotionValue(d):LT(t,n,d),this.animation.cancel()}c?.(),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 Vi(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Vi(r)}get time(){return Vi(Number(this.animation.currentTime)||0)}set time(r){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ga(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;FT()?(this.animation.timeline=r,Hi):t(this)}}const n8={anticipate:IN,backInOut:TN,circInOut:DN};function qT(e){return e in n8}function HT(e){typeof e.ease==&quot;string&quot;&amp;&amp;qT(e.ease)&amp;&amp;(e.ease=n8[e.ease])}const fx=10;class WT extends VT{constructor(r){HT(r),ZN(r),super(r),r.startTime!==void 0&amp;&amp;(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:t,onUpdate:n,onComplete:l,element:i,...o}=this.options;if(!t)return;if(r!==void 0){t.set(r);return}const u=new _1({...o,autoplay:!1}),c=Math.max(fx,ei.now()-this.startTime),a=zs(0,fx,c-fx);t.setWithVelocity(u.sample(Math.max(0,c-a)).value,u.sample(c).value,a),u.stop()}}const O3=(e,r)=&gt;r===&quot;zIndex&quot;?!1:!!(typeof e==&quot;number&quot;||Array.isArray(e)||typeof e==&quot;string&quot;&amp;&amp;(vo.test(e)||e===&quot;0&quot;)&amp;&amp;!e.startsWith(&quot;url(&quot;));function KT(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 XT(e,r,t,n){const l=e[0];if(l===null)return!1;if(r===&quot;display&quot;||r===&quot;visibility&quot;)return!0;const i=e[e.length-1],o=O3(l,r),u=O3(i,r);return!o||!u?!1:KT(e)||(t===&quot;spring&quot;||r8(t))&amp;&amp;n}function My(e){e.duration=0,e.type=&quot;keyframes&quot;}const GT=new Set([&quot;opacity&quot;,&quot;clipPath&quot;,&quot;filter&quot;,&quot;transform&quot;]),YT=d1(()=&gt;Object.hasOwnProperty.call(Element.prototype,&quot;animate&quot;));function ZT(e){const{motionValue:r,name:t,repeatDelay:n,repeatType:l,damping:i,type:o}=e;if(!(r?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:a}=r.owner.getProps();return YT()&amp;&amp;t&amp;&amp;GT.has(t)&amp;&amp;(t!==&quot;transform&quot;||!a)&amp;&amp;!c&amp;&amp;!n&amp;&amp;l!==&quot;mirror&quot;&amp;&amp;i!==0&amp;&amp;o!==&quot;inertia&quot;}const QT=40;class JT extends w1{constructor({autoplay:r=!0,delay:t=0,type:n=&quot;keyframes&quot;,repeat:l=0,repeatDelay:i=0,repeatType:o=&quot;loop&quot;,keyframes:u,name:c,motionValue:a,element:d,...f}){super(),this.stop=()=&gt;{this._animation&amp;&amp;(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ei.now();const h={autoplay:r,delay:t,type:n,repeat:l,repeatDelay:i,repeatType:o,name:c,motionValue:a,element:d,...f},m=d?.KeyframeResolver||j1;this.keyframeResolver=new m(u,(p,x,g)=&gt;this.onKeyframesResolved(p,x,h,!g),c,a,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(r,t,n,l){this.keyframeResolver=void 0;const{name:i,type:o,velocity:u,delay:c,isHandoff:a,onUpdate:d}=n;this.resolvedAt=ei.now(),XT(r,i,o,u)||((va.instantAnimations||!c)&amp;&amp;d?.(v1(r,n,t)),r[0]=r[r.length-1],My(n),n.repeat=0);const h={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt&gt;QT?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:r},m=!a&amp;&amp;ZT(h),p=h.motionValue?.owner?.current,x=m?new WT({...h,element:p}):new _1(h);x.finished.then(()=&gt;{this.notifyFinished()}).catch(Hi),this.pendingTimeline&amp;&amp;(this.stopTimeline=x.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=x}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(),RT()),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 i8(e,r,t,n=0,l=1){const i=Array.from(e).sort((a,d)=&gt;a.sortNodePosition(d)).indexOf(r),o=e.size,u=(o-1)*n;return typeof t==&quot;function&quot;?t(i,o):l===1?i*n:u-i*n}const eI=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function tI(e){const r=eI.exec(e);if(!r)return[,];const[,t,n,l]=r;return[`--${t??n}`,l]}function s8(e,r,t=1){const[n,l]=tI(e);if(!n)return;const i=window.getComputedStyle(r).getPropertyValue(n);if(i){const o=i.trim();return kN(o)?parseFloat(o):o}return p1(l)?s8(l,r,t+1):l}const rI={type:&quot;spring&quot;,stiffness:500,damping:25,restSpeed:10},nI=e=&gt;({type:&quot;spring&quot;,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),iI={type:&quot;keyframes&quot;,duration:.8},sI={type:&quot;keyframes&quot;,ease:[.25,.1,.35,1],duration:.3},aI=(e,{keyframes:r})=&gt;r.length&gt;2?iI:Wc.has(e)?e.startsWith(&quot;scale&quot;)?nI(r[1]):rI:sI,oI=e=&gt;e!==null;function lI(e,{repeat:r,repeatType:t=&quot;loop&quot;},n){const l=e.filter(oI),i=r&amp;&amp;t!==&quot;loop&quot;&amp;&amp;r%2===1?0:l.length-1;return l[i]}function S1(e,r){return e?.[r]??e?.default??e}function cI({when:e,delay:r,delayChildren:t,staggerChildren:n,staggerDirection:l,repeat:i,repeatType:o,repeatDelay:u,from:c,elapsed:a,...d}){return!!Object.keys(d).length}const k1=(e,r,t,n={},l,i)=&gt;o=&gt;{const u=S1(n,e)||{},c=u.delay||n.delay||0;let{elapsed:a=0}=n;a=a-ga(c);const d={keyframes:Array.isArray(t)?t:[null,t],ease:&quot;easeOut&quot;,velocity:r.getVelocity(),...u,delay:-a,onUpdate:h=&gt;{r.set(h),u.onUpdate&amp;&amp;u.onUpdate(h)},onComplete:()=&gt;{o(),u.onComplete&amp;&amp;u.onComplete()},name:e,motionValue:r,element:i?void 0:l};cI(u)||Object.assign(d,aI(e,d)),d.duration&amp;&amp;(d.duration=ga(d.duration)),d.repeatDelay&amp;&amp;(d.repeatDelay=ga(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;(My(d),d.delay===0&amp;&amp;(f=!0)),(va.instantAnimations||va.skipAnimations)&amp;&amp;(f=!0,My(d),d.delay=0),d.allowFlatten=!u.type&amp;&amp;!u.ease,f&amp;&amp;!i&amp;&amp;r.get()!==void 0){const h=lI(d.keyframes,u);if(h!==void 0){Sr.update(()=&gt;{d.onUpdate(h),d.onComplete()});return}}return u.isSync?new _1(d):new JT(d)};function P3(e){const r=[{},{}];return e?.values.forEach((t,n)=&gt;{r[0][n]=t.get(),r[1][n]=t.getVelocity()}),r}function N1(e,r,t,n){if(typeof r==&quot;function&quot;){const[l,i]=P3(n);r=r(t!==void 0?t:e.custom,l,i)}if(typeof r==&quot;string&quot;&amp;&amp;(r=e.variants&amp;&amp;e.variants[r]),typeof r==&quot;function&quot;){const[l,i]=P3(n);r=r(t!==void 0?t:e.custom,l,i)}return r}function Ec(e,r,t){const n=e.getProps();return N1(n,r,t!==void 0?t:n.custom,e)}const a8=new Set([&quot;width&quot;,&quot;height&quot;,&quot;top&quot;,&quot;left&quot;,&quot;right&quot;,&quot;bottom&quot;,...Hc]),T3=30,uI=e=&gt;!isNaN(parseFloat(e));class dI{constructor(r,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=&gt;{const l=ei.now();if(this.updatedAt!==l&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=ei.now(),this.canTrackVelocity===null&amp;&amp;r!==void 0&amp;&amp;(this.canTrackVelocity=uI(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 f1);const n=this.events[r].add(t);return r===&quot;change&quot;?()=&gt;{n(),Sr.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=ei.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt&gt;T3)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,T3);return EN(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 Oc(e,r){return new dI(e,r)}const Oy=e=&gt;Array.isArray(e);function fI(e,r,t){e.hasValue(r)?e.getValue(r).set(t):e.addValue(r,Oc(t))}function hI(e){return Oy(e)?e[e.length-1]||0:e}function mI(e,r){const t=Ec(e,r);let{transitionEnd:n={},transition:l={},...i}=t||{};i={...i,...n};for(const o in i){const u=hI(i[o]);fI(e,o,u)}}const Vn=e=&gt;!!(e&amp;&amp;e.getVelocity);function pI(e){return!!(Vn(e)&amp;&amp;e.add)}function Py(e,r){const t=e.getValue(&quot;willChange&quot;);if(pI(t))return t.add(r);if(!t&amp;&amp;va.WillChange){const n=new va.WillChange(&quot;auto&quot;);e.addValue(&quot;willChange&quot;,n),n.add(r)}}function C1(e){return e.replace(/([A-Z])/g,r=&gt;`-${r.toLowerCase()}`)}const gI=&quot;framerAppearId&quot;,o8=&quot;data-&quot;+C1(gI);function l8(e){return e.props[o8]}function xI({protectedKeys:e,needsAnimating:r},t){const n=e.hasOwnProperty(t)&amp;&amp;r[t]!==!0;return r[t]=!1,n}function c8(e,r,{delay:t=0,transitionOverride:n,type:l}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:o,...u}=r;n&amp;&amp;(i=n);const c=[],a=l&amp;&amp;e.animationState&amp;&amp;e.animationState.getState()[l];for(const d in u){const f=e.getValue(d,e.latestValues[d]??null),h=u[d];if(h===void 0||a&amp;&amp;xI(a,d))continue;const m={delay:t,...S1(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 x=!1;if(window.MotionHandoffAnimation){const y=l8(e);if(y){const v=window.MotionHandoffAnimation(y,d,Sr);v!==null&amp;&amp;(m.startTime=v,x=!0)}}Py(e,d),f.start(k1(d,f,h,e.shouldReduceMotion&amp;&amp;a8.has(d)?{type:!1}:m,e,x));const g=f.animation;g&amp;&amp;c.push(g)}return o&amp;&amp;Promise.all(c).then(()=&gt;{Sr.update(()=&gt;{o&amp;&amp;mI(e,o)})}),c}function Ty(e,r,t={}){const n=Ec(e,r,t.type===&quot;exit&quot;?e.presenceContext?.custom:void 0);let{transition:l=e.getDefaultTransition()||{}}=n||{};t.transitionOverride&amp;&amp;(l=t.transitionOverride);const i=n?()=&gt;Promise.all(c8(e,n,t)):()=&gt;Promise.resolve(),o=e.variantChildren&amp;&amp;e.variantChildren.size?(c=0)=&gt;{const{delayChildren:a=0,staggerChildren:d,staggerDirection:f}=l;return bI(e,r,c,a,d,f,t)}:()=&gt;Promise.resolve(),{when:u}=l;if(u){const[c,a]=u===&quot;beforeChildren&quot;?[i,o]:[o,i];return c().then(()=&gt;a())}else return Promise.all([i(),o(t.delay)])}function bI(e,r,t=0,n=0,l=0,i=1,o){const u=[];for(const c of e.variantChildren)c.notify(&quot;AnimationStart&quot;,r),u.push(Ty(c,r,{...o,delay:t+(typeof n==&quot;function&quot;?0:n)+i8(e.variantChildren,c,n,l,i)}).then(()=&gt;c.notify(&quot;AnimationComplete&quot;,r)));return Promise.all(u)}function yI(e,r,t={}){e.notify(&quot;AnimationStart&quot;,r);let n;if(Array.isArray(r)){const l=r.map(i=&gt;Ty(e,i,t));n=Promise.all(l)}else if(typeof r==&quot;string&quot;)n=Ty(e,r,t);else{const l=typeof r==&quot;function&quot;?Ec(e,r,t.custom):r;n=Promise.all(c8(e,l,t))}return n.then(()=&gt;{e.notify(&quot;AnimationComplete&quot;,r)})}const vI={test:e=&gt;e===&quot;auto&quot;,parse:e=&gt;e},u8=e=&gt;r=&gt;r.test(e),d8=[qc,ft,Fs,oo,KP,WP,vI],I3=e=&gt;d8.find(u8(e));function wI(e){return typeof e==&quot;number&quot;?e===0:e!==null?e===&quot;none&quot;||e===&quot;0&quot;||CN(e):!0}const _I=new Set([&quot;brightness&quot;,&quot;contrast&quot;,&quot;saturate&quot;,&quot;opacity&quot;]);function jI(e){const[r,t]=e.slice(0,-1).split(&quot;(&quot;);if(r===&quot;drop-shadow&quot;)return e;const[n]=t.match(g1)||[];if(!n)return e;const l=t.replace(n,&quot;&quot;);let i=_I.has(r)?1:0;return n!==t&amp;&amp;(i*=100),r+&quot;(&quot;+i+l+&quot;)&quot;}const SI=/\b([a-z-]*)\(.*?\)/gu,Iy={...vo,getAnimatableNone:e=&gt;{const r=e.match(SI);return r?r.map(jI).join(&quot; &quot;):e}},R3={...qc,transform:Math.round},kI={rotate:oo,rotateX:oo,rotateY:oo,rotateZ:oo,scale:Ch,scaleX:Ch,scaleY:Ch,scaleZ:Ch,skew:oo,skewX:oo,skewY:oo,distance:ft,translateX:ft,translateY:ft,translateZ:ft,x:ft,y:ft,z:ft,perspective:ft,transformPerspective:ft,opacity:vd,originX:w3,originY:w3,originZ:ft},E1={borderWidth:ft,borderTopWidth:ft,borderRightWidth:ft,borderBottomWidth:ft,borderLeftWidth:ft,borderRadius:ft,radius:ft,borderTopLeftRadius:ft,borderTopRightRadius:ft,borderBottomRightRadius:ft,borderBottomLeftRadius:ft,width:ft,maxWidth:ft,height:ft,maxHeight:ft,top:ft,right:ft,bottom:ft,left:ft,inset:ft,insetBlock:ft,insetBlockStart:ft,insetBlockEnd:ft,insetInline:ft,insetInlineStart:ft,insetInlineEnd:ft,padding:ft,paddingTop:ft,paddingRight:ft,paddingBottom:ft,paddingLeft:ft,paddingBlock:ft,paddingBlockStart:ft,paddingBlockEnd:ft,paddingInline:ft,paddingInlineStart:ft,paddingInlineEnd:ft,margin:ft,marginTop:ft,marginRight:ft,marginBottom:ft,marginLeft:ft,marginBlock:ft,marginBlockStart:ft,marginBlockEnd:ft,marginInline:ft,marginInlineStart:ft,marginInlineEnd:ft,backgroundPositionX:ft,backgroundPositionY:ft,...kI,zIndex:R3,fillOpacity:vd,strokeOpacity:vd,numOctaves:R3},NI={...E1,color:Xr,backgroundColor:Xr,outlineColor:Xr,fill:Xr,stroke:Xr,borderColor:Xr,borderTopColor:Xr,borderRightColor:Xr,borderBottomColor:Xr,borderLeftColor:Xr,filter:Iy,WebkitFilter:Iy},f8=e=&gt;NI[e];function h8(e,r){let t=f8(e);return t!==Iy&amp;&amp;(t=vo),t.getAnimatableNone?t.getAnimatableNone(r):void 0}const CI=new Set([&quot;auto&quot;,&quot;none&quot;,&quot;0&quot;]);function EI(e,r,t){let n=0,l;for(;n&lt;e.length&amp;&amp;!l;){const i=e[n];typeof i==&quot;string&quot;&amp;&amp;!CI.has(i)&amp;&amp;wd(i).values.length&amp;&amp;(l=e[n]),n++}if(l&amp;&amp;t)for(const i of r)e[i]=h8(t,l)}class AI extends j1{constructor(r,t,n,l,i){super(r,t,n,l,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(),p1(f))){const h=s8(f,t.current);h!==void 0&amp;&amp;(r[d]=h),d===r.length-1&amp;&amp;(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!a8.has(n)||r.length!==2)return;const[l,i]=r,o=I3(l),u=I3(i),c=v3(l),a=v3(i);if(c!==a&amp;&amp;ho[n]){this.needsMeasurement=!0;return}if(o!==u)if(A3(o)&amp;&amp;A3(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 ho[n]&amp;&amp;(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:t}=this,n=[];for(let l=0;l&lt;r.length;l++)(r[l]===null||wI(r[l]))&amp;&amp;n.push(l);n.length&amp;&amp;EI(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=ho[n](r.measureViewportBox(),window.getComputedStyle(r.current)),t[0]=this.measuredOrigin;const l=t[t.length-1];l!==void 0&amp;&amp;r.getValue(n,l).jump(l,!1)}measureEndState(){const{element:r,name:t,unresolvedKeyframes:n}=this;if(!r||!r.current)return;const l=r.getValue(t);l&amp;&amp;l.jump(this.measuredOrigin,!1);const i=n.length-1,o=n[i];n[i]=ho[t](r.measureViewportBox(),window.getComputedStyle(r.current)),o!==null&amp;&amp;this.finalKeyframe===void 0&amp;&amp;(this.finalKeyframe=o),this.removedTransforms?.length&amp;&amp;this.removedTransforms.forEach(([u,c])=&gt;{r.getValue(u).set(c)}),this.resolveNoneKeyframes()}}function MI(e,r,t){if(e instanceof EventTarget)return[e];if(typeof e==&quot;string&quot;){let n=document;const l=t?.[e]??n.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e)}const m8=(e,r)=&gt;r&amp;&amp;typeof e==&quot;number&quot;?r.transform(e):e;function p8(e){return NN(e)&amp;&amp;&quot;offsetHeight&quot;in e}const{schedule:A1}=BN(queueMicrotask,!1),hs={x:!1,y:!1};function g8(){return hs.x||hs.y}function OI(e){return e===&quot;x&quot;||e===&quot;y&quot;?hs[e]?null:(hs[e]=!0,()=&gt;{hs[e]=!1}):hs.x||hs.y?null:(hs.x=hs.y=!0,()=&gt;{hs.x=hs.y=!1})}function x8(e,r){const t=MI(e),n=new AbortController,l={passive:!0,...r,signal:n.signal};return[t,l,()=&gt;n.abort()]}function D3(e){return!(e.pointerType===&quot;touch&quot;||g8())}function PI(e,r,t={}){const[n,l,i]=x8(e,t),o=u=&gt;{if(!D3(u))return;const{target:c}=u,a=r(c,u);if(typeof a!=&quot;function&quot;||!c)return;const d=f=&gt;{D3(f)&amp;&amp;(a(f),c.removeEventListener(&quot;pointerleave&quot;,d))};c.addEventListener(&quot;pointerleave&quot;,d,l)};return n.forEach(u=&gt;{u.addEventListener(&quot;pointerenter&quot;,o,l)}),i}const b8=(e,r)=&gt;r?e===r?!0:b8(e,r.parentElement):!1,M1=e=&gt;e.pointerType===&quot;mouse&quot;?typeof e.button!=&quot;number&quot;||e.button&lt;=0:e.isPrimary!==!1,TI=new Set([&quot;BUTTON&quot;,&quot;INPUT&quot;,&quot;SELECT&quot;,&quot;TEXTAREA&quot;,&quot;A&quot;]);function y8(e){return TI.has(e.tagName)||e.isContentEditable===!0}const nm=new WeakSet;function L3(e){return r=&gt;{r.key===&quot;Enter&quot;&amp;&amp;e(r)}}function hx(e,r){e.dispatchEvent(new PointerEvent(&quot;pointer&quot;+r,{isPrimary:!0,bubbles:!0}))}const II=(e,r)=&gt;{const t=e.currentTarget;if(!t)return;const n=L3(()=&gt;{if(nm.has(t))return;hx(t,&quot;down&quot;);const l=L3(()=&gt;{hx(t,&quot;up&quot;)}),i=()=&gt;hx(t,&quot;cancel&quot;);t.addEventListener(&quot;keyup&quot;,l,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 F3(e){return M1(e)&amp;&amp;!g8()}function RI(e,r,t={}){const[n,l,i]=x8(e,t),o=u=&gt;{const c=u.currentTarget;if(!F3(u))return;nm.add(c);const a=r(c,u),d=(m,p)=&gt;{window.removeEventListener(&quot;pointerup&quot;,f),window.removeEventListener(&quot;pointercancel&quot;,h),nm.has(c)&amp;&amp;nm.delete(c),F3(m)&amp;&amp;typeof a==&quot;function&quot;&amp;&amp;a(m,{success:p})},f=m=&gt;{d(m,c===window||c===document||t.useGlobalTarget||b8(c,m.target))},h=m=&gt;{d(m,!1)};window.addEventListener(&quot;pointerup&quot;,f,l),window.addEventListener(&quot;pointercancel&quot;,h,l)};return n.forEach(u=&gt;{(t.useGlobalTarget?window:u).addEventListener(&quot;pointerdown&quot;,o,l),p8(u)&amp;&amp;(u.addEventListener(&quot;focus&quot;,a=&gt;II(a,l)),!y8(u)&amp;&amp;!u.hasAttribute(&quot;tabindex&quot;)&amp;&amp;(u.tabIndex=0))}),i}function v8(e){return NN(e)&amp;&amp;&quot;ownerSVGElement&quot;in e}function DI(e){return v8(e)&amp;&amp;e.tagName===&quot;svg&quot;}const LI=[...d8,Xr,vo],FI=e=&gt;LI.find(u8(e)),B3=()=&gt;({translate:0,scale:1,origin:0,originPoint:0}),jc=()=&gt;({x:B3(),y:B3()}),z3=()=&gt;({min:0,max:0}),en=()=&gt;({x:z3(),y:z3()}),Ry={current:null},w8={current:!1},BI=typeof window&lt;&quot;u&quot;;function zI(){if(w8.current=!0,!!BI)if(window.matchMedia){const e=window.matchMedia(&quot;(prefers-reduced-motion)&quot;),r=()=&gt;Ry.current=e.matches;e.addEventListener(&quot;change&quot;,r),r()}else Ry.current=!1}const $I=new WeakMap;function Cp(e){return e!==null&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;typeof e.start==&quot;function&quot;}function _d(e){return typeof e==&quot;string&quot;||Array.isArray(e)}const O1=[&quot;animate&quot;,&quot;whileInView&quot;,&quot;whileFocus&quot;,&quot;whileHover&quot;,&quot;whileTap&quot;,&quot;whileDrag&quot;,&quot;exit&quot;],P1=[&quot;initial&quot;,...O1];function Ep(e){return Cp(e.animate)||P1.some(r=&gt;_d(e[r]))}function _8(e){return!!(Ep(e)||e.variants)}function UI(e,r,t){for(const n in r){const l=r[n],i=t[n];if(Vn(l))e.addValue(n,l);else if(Vn(i))e.addValue(n,Oc(l,{owner:e}));else if(i!==l)if(e.hasValue(n)){const o=e.getValue(n);o.liveStyle===!0?o.jump(l):o.hasAnimated||o.set(l)}else{const o=e.getStaticValue(n);e.addValue(n,Oc(o!==void 0?o:l,{owner:e}))}}for(const n in t)r[n]===void 0&amp;&amp;e.removeValue(n);return r}const $3=[&quot;AnimationStart&quot;,&quot;AnimationComplete&quot;,&quot;Update&quot;,&quot;BeforeLayoutMeasure&quot;,&quot;LayoutMeasure&quot;,&quot;LayoutAnimationStart&quot;,&quot;LayoutAnimationComplete&quot;];let wm={};function j8(e){wm=e}function VI(){return wm}class qI{scrapeMotionValuesFromProps(r,t,n){return{}}constructor({parent:r,props:t,presenceContext:n,reducedMotionConfig:l,blockInitialAnimation:i,visualState:o},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=j1,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=ei.now();this.renderScheduledAt&lt;h&amp;&amp;(this.renderScheduledAt=h,Sr.render(this.render,!1,!0))};const{latestValues:c,renderState:a}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=a,this.parent=r,this.props=t,this.presenceContext=n,this.depth=r?r.depth+1:0,this.reducedMotionConfig=l,this.options=u,this.blockInitialAnimation=!!i,this.isControllingVariants=Ep(t),this.isVariantNode=_8(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];c[h]!==void 0&amp;&amp;Vn(m)&amp;&amp;m.set(c[h])}}mount(r){this.current=r,$I.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:(w8.current||zI(),this.shouldReduceMotion=Ry.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&amp;&amp;this.projection.unmount(),yo(this.notifyUpdate),yo(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=Wc.has(r);n&amp;&amp;this.onBindTransform&amp;&amp;this.onBindTransform();const l=t.on(&quot;change&quot;,o=&gt;{this.latestValues[r]=o,this.props.onUpdate&amp;&amp;Sr.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;{l(),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 wm){const t=wm[r];if(!t)continue;const{isEnabled:n,Feature:l}=t;if(!this.features[r]&amp;&amp;l&amp;&amp;n(this.props)&amp;&amp;(this.features[r]=new l(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):en()}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;$3.length;n++){const l=$3[n];this.propEventSubscriptions[l]&amp;&amp;(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const i=&quot;on&quot;+l,o=r[i];o&amp;&amp;(this.propEventSubscriptions[l]=this.on(l,o))}this.prevMotionValues=UI(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=Oc(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;(kN(n)||CN(n))?n=parseFloat(n):!FI(n)&amp;&amp;vo.test(t)&amp;&amp;(n=h8(r,t)),this.setBaseTarget(r,Vn(n)?n.get():n)),Vn(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=N1(this.props,t,this.presenceContext?.custom);i&amp;&amp;(n=i[r])}if(t&amp;&amp;n!==void 0)return n;const l=this.getBaseTargetFromProps(this.props,r);return l!==void 0&amp;&amp;!Vn(l)?l: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 f1),this.events[r].add(t)}notify(r,...t){this.events[r]&amp;&amp;this.events[r].notify(...t)}scheduleRenderMicrotask(){A1.render(this.render)}}class S8 extends qI{constructor(){super(...arguments),this.KeyframeResolver=AI}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;Vn(r)&amp;&amp;(this.childSubscription=r.on(&quot;change&quot;,t=&gt;{this.current&amp;&amp;(this.current.textContent=`${t}`)}))}}class No{constructor(r){this.isMounted=!1,this.node=r}update(){}}function k8({top:e,left:r,right:t,bottom:n}){return{x:{min:r,max:t},y:{min:e,max:n}}}function HI({x:e,y:r}){return{top:r.min,right:e.max,bottom:r.max,left:e.min}}function WI(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 mx(e){return e===void 0||e===1}function Dy({scale:e,scaleX:r,scaleY:t}){return!mx(e)||!mx(r)||!mx(t)}function al(e){return Dy(e)||N8(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function N8(e){return U3(e.x)||U3(e.y)}function U3(e){return e&amp;&amp;e!==&quot;0%&quot;}function _m(e,r,t){const n=e-t,l=r*n;return t+l}function V3(e,r,t,n,l){return l!==void 0&amp;&amp;(e=_m(e,l,n)),_m(e,t,n)+r}function Ly(e,r=0,t=1,n,l){e.min=V3(e.min,r,t,n,l),e.max=V3(e.max,r,t,n,l)}function C8(e,{x:r,y:t}){Ly(e.x,r.translate,r.scale,r.originPoint),Ly(e.y,t.translate,t.scale,t.originPoint)}const q3=.999999999999,H3=1.0000000000001;function KI(e,r,t,n=!1){const l=t.length;if(!l)return;r.x=r.y=1;let i,o;for(let u=0;u&lt;l;u++){i=t[u],o=i.projectionDelta;const{visualElement:c}=i.options;c&amp;&amp;c.props.style&amp;&amp;c.props.style.display===&quot;contents&quot;||(n&amp;&amp;i.options.layoutScroll&amp;&amp;i.scroll&amp;&amp;i!==i.root&amp;&amp;kc(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&amp;&amp;(r.x*=o.x.scale,r.y*=o.y.scale,C8(e,o)),n&amp;&amp;al(i.latestValues)&amp;&amp;kc(e,i.latestValues))}r.x&lt;H3&amp;&amp;r.x&gt;q3&amp;&amp;(r.x=1),r.y&lt;H3&amp;&amp;r.y&gt;q3&amp;&amp;(r.y=1)}function Sc(e,r){e.min=e.min+r,e.max=e.max+r}function W3(e,r,t,n,l=.5){const i=Ir(e.min,e.max,l);Ly(e,r,t,i,n)}function kc(e,r){W3(e.x,r.x,r.scaleX,r.scale,r.originX),W3(e.y,r.y,r.scaleY,r.scale,r.originY)}function E8(e,r){return k8(WI(e.getBoundingClientRect(),r))}function XI(e,r,t){const n=E8(e,t),{scroll:l}=r;return l&amp;&amp;(Sc(n.x,l.offset.x),Sc(n.y,l.offset.y)),n}const GI={x:&quot;translateX&quot;,y:&quot;translateY&quot;,z:&quot;translateZ&quot;,transformPerspective:&quot;perspective&quot;},YI=Hc.length;function ZI(e,r,t){let n=&quot;&quot;,l=!0;for(let i=0;i&lt;YI;i++){const o=Hc[i],u=e[o];if(u===void 0)continue;let c=!0;if(typeof u==&quot;number&quot;?c=u===(o.startsWith(&quot;scale&quot;)?1:0):c=parseFloat(u)===0,!c||t){const a=m8(u,E1[o]);if(!c){l=!1;const d=GI[o]||o;n+=`${d}(${a}) `}t&amp;&amp;(r[o]=a)}}return n=n.trim(),t?n=t(r,l?&quot;&quot;:n):l&amp;&amp;(n=&quot;none&quot;),n}function T1(e,r,t){const{style:n,vars:l,transformOrigin:i}=e;let o=!1,u=!1;for(const c in r){const a=r[c];if(Wc.has(c)){o=!0;continue}else if($N(c)){l[c]=a;continue}else{const d=m8(a,E1[c]);c.startsWith(&quot;origin&quot;)?(u=!0,i[c]=d):n[c]=d}}if(r.transform||(o||t?n.transform=ZI(r,e.transform,t):n.transform&amp;&amp;(n.transform=&quot;none&quot;)),u){const{originX:c=&quot;50%&quot;,originY:a=&quot;50%&quot;,originZ:d=0}=i;n.transformOrigin=`${c} ${a} ${d}`}}function A8(e,{style:r,vars:t},n,l){const i=e.style;let o;for(o in r)i[o]=r[o];l?.applyProjectionStyles(i,n);for(o in t)i.setProperty(o,t[o])}function K3(e,r){return r.max===r.min?0:e/(r.max-r.min)*100}const Ku={correct:(e,r)=&gt;{if(!r.target)return e;if(typeof e==&quot;string&quot;)if(ft.test(e))e=parseFloat(e);else return e;const t=K3(e,r.target.x),n=K3(e,r.target.y);return`${t}% ${n}%`}},QI={correct:(e,{treeScale:r,projectionDelta:t})=&gt;{const n=e,l=vo.parse(e);if(l.length&gt;5)return n;const i=vo.createTransformer(e),o=typeof l[0]!=&quot;number&quot;?1:0,u=t.x.scale*r.x,c=t.y.scale*r.y;l[0+o]/=u,l[1+o]/=c;const a=Ir(u,c,.5);return typeof l[2+o]==&quot;number&quot;&amp;&amp;(l[2+o]/=a),typeof l[3+o]==&quot;number&quot;&amp;&amp;(l[3+o]/=a),i(l)}},Fy={borderRadius:{...Ku,applyTo:[&quot;borderTopLeftRadius&quot;,&quot;borderTopRightRadius&quot;,&quot;borderBottomLeftRadius&quot;,&quot;borderBottomRightRadius&quot;]},borderTopLeftRadius:Ku,borderTopRightRadius:Ku,borderBottomLeftRadius:Ku,borderBottomRightRadius:Ku,boxShadow:QI};function M8(e,{layout:r,layoutId:t}){return Wc.has(e)||e.startsWith(&quot;origin&quot;)||(r||t!==void 0)&amp;&amp;(!!Fy[e]||e===&quot;opacity&quot;)}function I1(e,r,t){const n=e.style,l=r?.style,i={};if(!n)return i;for(const o in n)(Vn(n[o])||l&amp;&amp;Vn(l[o])||M8(o,e)||t?.getValue(o)?.liveStyle!==void 0)&amp;&amp;(i[o]=n[o]);return i}function JI(e){return window.getComputedStyle(e)}class eR extends S8{constructor(){super(...arguments),this.type=&quot;html&quot;,this.renderInstance=A8}readValueFromInstance(r,t){if(Wc.has(t))return this.projection?.isProjecting?ky(t):MT(r,t);{const n=JI(r),l=($N(t)?n.getPropertyValue(t):n[t])||0;return typeof l==&quot;string&quot;?l.trim():l}}measureInstanceViewportBox(r,{transformPagePoint:t}){return E8(r,t)}build(r,t,n){T1(r,t,n.transformTemplate)}scrapeMotionValuesFromProps(r,t,n){return I1(r,t,n)}}const tR={offset:&quot;stroke-dashoffset&quot;,array:&quot;stroke-dasharray&quot;},rR={offset:&quot;strokeDashoffset&quot;,array:&quot;strokeDasharray&quot;};function nR(e,r,t=1,n=0,l=!0){e.pathLength=1;const i=l?tR:rR;e[i.offset]=ft.transform(-n);const o=ft.transform(r),u=ft.transform(t);e[i.array]=`${o} ${u}`}const iR=[&quot;offsetDistance&quot;,&quot;offsetPath&quot;,&quot;offsetRotate&quot;,&quot;offsetAnchor&quot;];function O8(e,{attrX:r,attrY:t,attrScale:n,pathLength:l,pathSpacing:i=1,pathOffset:o=0,...u},c,a,d){if(T1(e,u,a),c){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 iR)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),l!==void 0&amp;&amp;nR(f,l,i,o,!1)}const P8=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;]),T8=e=&gt;typeof e==&quot;string&quot;&amp;&amp;e.toLowerCase()===&quot;svg&quot;;function sR(e,r,t,n){A8(e,r,void 0,n);for(const l in r.attrs)e.setAttribute(P8.has(l)?l:C1(l),r.attrs[l])}function I8(e,r,t){const n=I1(e,r,t);for(const l in e)if(Vn(e[l])||Vn(r[l])){const i=Hc.indexOf(l)!==-1?&quot;attr&quot;+l.charAt(0).toUpperCase()+l.substring(1):l;n[i]=e[l]}return n}class aR extends S8{constructor(){super(...arguments),this.type=&quot;svg&quot;,this.isSVGTag=!1,this.measureInstanceViewportBox=en}getBaseTargetFromProps(r,t){return r[t]}readValueFromInstance(r,t){if(Wc.has(t)){const n=f8(t);return n&amp;&amp;n.default||0}return t=P8.has(t)?t:C1(t),r.getAttribute(t)}scrapeMotionValuesFromProps(r,t,n){return I8(r,t,n)}build(r,t,n){O8(r,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(r,t,n,l){sR(r,t,n,l)}mount(r){this.isSVGTag=T8(r.tagName),super.mount(r)}}const oR=P1.length;function R8(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent?R8(e.parent)||{}:{};return e.props.initial!==void 0&amp;&amp;(t.initial=e.props.initial),t}const r={};for(let t=0;t&lt;oR;t++){const n=P1[t],l=e.props[n];(_d(l)||l===!1)&amp;&amp;(r[n]=l)}return r}function D8(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 lR=[...O1].reverse(),cR=O1.length;function uR(e){return r=&gt;Promise.all(r.map(({animation:t,options:n})=&gt;yI(e,t,n)))}function dR(e){let r=uR(e),t=X3(),n=!0;const l=c=&gt;(a,d)=&gt;{const f=Ec(e,d,c===&quot;exit&quot;?e.presenceContext?.custom:void 0);if(f){const{transition:h,transitionEnd:m,...p}=f;a={...a,...p,...m}}return a};function i(c){r=c(e)}function o(c){const{props:a}=e,d=R8(e.parent)||{},f=[],h=new Set;let m={},p=1/0;for(let g=0;g&lt;cR;g++){const y=lR[g],v=t[y],_=a[y]!==void 0?a[y]:d[y],C=_d(_),M=y===c?v.isActive:null;M===!1&amp;&amp;(p=g);let T=_===d[y]&amp;&amp;_!==a[y]&amp;&amp;C;if(T&amp;&amp;n&amp;&amp;e.manuallyAnimateOnMount&amp;&amp;(T=!1),v.protectedKeys={...m},!v.isActive&amp;&amp;M===null||!_&amp;&amp;!v.prevProp||Cp(_)||typeof _==&quot;boolean&quot;)continue;const $=fR(v.prevProp,_);let F=$||y===c&amp;&amp;v.isActive&amp;&amp;!T&amp;&amp;C||g&gt;p&amp;&amp;C,H=!1;const W=Array.isArray(_)?_:[_];let q=W.reduce(l(y),{});M===!1&amp;&amp;(q={});const{prevResolvedValues:K={}}=v,P={...K,...q},L=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=q[k],N=K[k];if(m.hasOwnProperty(k))continue;let O=!1;Oy(S)&amp;&amp;Oy(N)?O=!D8(S,N):O=S!==N,O?S!=null?L(k):h.add(k):S!==void 0&amp;&amp;h.has(k)?L(k):v.protectedKeys[k]=!0}v.prevProp=_,v.prevResolvedValues=q,v.isActive&amp;&amp;(m={...m,...q}),n&amp;&amp;e.blockInitialAnimation&amp;&amp;(F=!1);const E=T&amp;&amp;$;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,O=Ec(N,k);if(N.enteringChildren&amp;&amp;O){const{delayChildren:D}=O.transition||{};S.delay=i8(N.enteringChildren,e,D)}}return{animation:k,options:S}}))}if(h.size){const g={};if(typeof a.initial!=&quot;boolean&quot;){const y=Ec(e,Array.isArray(a.initial)?a.initial[0]:a.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 x=!!f.length;return n&amp;&amp;(a.initial===!1||a.initial===a.animate)&amp;&amp;!e.manuallyAnimateOnMount&amp;&amp;(x=!1),n=!1,x?r(f):Promise.resolve()}function u(c,a){if(t[c].isActive===a)return Promise.resolve();e.variantChildren?.forEach(f=&gt;f.animationState?.setActive(c,a)),t[c].isActive=a;const d=o(c);for(const f in t)t[f].protectedKeys={};return d}return{animateChanges:o,setActive:u,setAnimateFunction:i,getState:()=&gt;t,reset:()=&gt;{t=X3()}}}function fR(e,r){return typeof r==&quot;string&quot;?r!==e:Array.isArray(r)?!D8(r,e):!1}function il(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function X3(){return{animate:il(!0),whileInView:il(),whileHover:il(),whileTap:il(),whileDrag:il(),whileFocus:il(),exit:il()}}function G3(e,r){e.min=r.min,e.max=r.max}function fs(e,r){G3(e.x,r.x),G3(e.y,r.y)}function Y3(e,r){e.translate=r.translate,e.scale=r.scale,e.originPoint=r.originPoint,e.origin=r.origin}const L8=1e-4,hR=1-L8,mR=1+L8,F8=.01,pR=0-F8,gR=0+F8;function ti(e){return e.max-e.min}function xR(e,r,t){return Math.abs(e-r)&lt;=t}function Z3(e,r,t,n=.5){e.origin=n,e.originPoint=Ir(r.min,r.max,e.origin),e.scale=ti(t)/ti(r),e.translate=Ir(t.min,t.max,e.origin)-e.originPoint,(e.scale&gt;=hR&amp;&amp;e.scale&lt;=mR||isNaN(e.scale))&amp;&amp;(e.scale=1),(e.translate&gt;=pR&amp;&amp;e.translate&lt;=gR||isNaN(e.translate))&amp;&amp;(e.translate=0)}function fd(e,r,t,n){Z3(e.x,r.x,t.x,n?n.originX:void 0),Z3(e.y,r.y,t.y,n?n.originY:void 0)}function Q3(e,r,t){e.min=t.min+r.min,e.max=e.min+ti(r)}function bR(e,r,t){Q3(e.x,r.x,t.x),Q3(e.y,r.y,t.y)}function J3(e,r,t){e.min=r.min-t.min,e.max=e.min+ti(r)}function jm(e,r,t){J3(e.x,r.x,t.x),J3(e.y,r.y,t.y)}function e4(e,r,t,n,l){return e-=r,e=_m(e,1/t,n),l!==void 0&amp;&amp;(e=_m(e,1/l,n)),e}function yR(e,r=0,t=1,n=.5,l,i=e,o=e){if(Fs.test(r)&amp;&amp;(r=parseFloat(r),r=Ir(o.min,o.max,r/100)-o.min),typeof r!=&quot;number&quot;)return;let u=Ir(i.min,i.max,n);e===i&amp;&amp;(u-=r),e.min=e4(e.min,r,t,u,l),e.max=e4(e.max,r,t,u,l)}function t4(e,r,[t,n,l],i,o){yR(e,r[t],r[n],r[l],r.scale,i,o)}const vR=[&quot;x&quot;,&quot;scaleX&quot;,&quot;originX&quot;],wR=[&quot;y&quot;,&quot;scaleY&quot;,&quot;originY&quot;];function r4(e,r,t,n){t4(e.x,r,vR,t?t.x:void 0,n?n.x:void 0),t4(e.y,r,wR,t?t.y:void 0,n?n.y:void 0)}function n4(e){return e.translate===0&amp;&amp;e.scale===1}function B8(e){return n4(e.x)&amp;&amp;n4(e.y)}function i4(e,r){return e.min===r.min&amp;&amp;e.max===r.max}function _R(e,r){return i4(e.x,r.x)&amp;&amp;i4(e.y,r.y)}function s4(e,r){return Math.round(e.min)===Math.round(r.min)&amp;&amp;Math.round(e.max)===Math.round(r.max)}function z8(e,r){return s4(e.x,r.x)&amp;&amp;s4(e.y,r.y)}function a4(e){return ti(e.x)/ti(e.y)}function o4(e,r){return e.translate===r.translate&amp;&amp;e.scale===r.scale&amp;&amp;e.originPoint===r.originPoint}function $i(e){return[e(&quot;x&quot;),e(&quot;y&quot;)]}function jR(e,r,t){let n=&quot;&quot;;const l=e.x.translate/r.x,i=e.y.translate/r.y,o=t?.z||0;if((l||i||o)&amp;&amp;(n=`translate3d(${l}px, ${i}px, ${o}px) `),(r.x!==1||r.y!==1)&amp;&amp;(n+=`scale(${1/r.x}, ${1/r.y}) `),t){const{transformPerspective:a,rotate:d,rotateX:f,rotateY:h,skewX:m,skewY:p}=t;a&amp;&amp;(n=`perspective(${a}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,c=e.y.scale*r.y;return(u!==1||c!==1)&amp;&amp;(n+=`scale(${u}, ${c})`),n||&quot;none&quot;}const $8=[&quot;TopLeft&quot;,&quot;TopRight&quot;,&quot;BottomLeft&quot;,&quot;BottomRight&quot;],SR=$8.length,l4=e=&gt;typeof e==&quot;string&quot;?parseFloat(e):e,c4=e=&gt;typeof e==&quot;number&quot;||ft.test(e);function kR(e,r,t,n,l,i){l?(e.opacity=Ir(0,t.opacity??1,NR(n)),e.opacityExit=Ir(r.opacity??1,0,CR(n))):i&amp;&amp;(e.opacity=Ir(r.opacity??1,t.opacity??1,n));for(let o=0;o&lt;SR;o++){const u=`border${$8[o]}Radius`;let c=u4(r,u),a=u4(t,u);if(c===void 0&amp;&amp;a===void 0)continue;c||(c=0),a||(a=0),c===0||a===0||c4(c)===c4(a)?(e[u]=Math.max(Ir(l4(c),l4(a),n),0),(Fs.test(a)||Fs.test(c))&amp;&amp;(e[u]+=&quot;%&quot;)):e[u]=a}(r.rotate||t.rotate)&amp;&amp;(e.rotate=Ir(r.rotate||0,t.rotate||0,n))}function u4(e,r){return e[r]!==void 0?e[r]:e.borderRadius}const NR=U8(0,.5,RN),CR=U8(.5,.95,Hi);function U8(e,r,t){return n=&gt;n&lt;e?0:n&gt;r?1:t(yd(e,r,n))}function ER(e,r,t){const n=Vn(e)?e:Oc(e);return n.start(k1(&quot;&quot;,n,r,t)),n.animation}function jd(e,r,t,n={passive:!0}){return e.addEventListener(r,t,n),()=&gt;e.removeEventListener(r,t)}const AR=(e,r)=&gt;e.depth-r.depth;class MR{constructor(){this.children=[],this.isDirty=!1}add(r){l1(this.children,r),this.isDirty=!0}remove(r){c1(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&amp;&amp;this.children.sort(AR),this.isDirty=!1,this.children.forEach(r)}}function OR(e,r){const t=ei.now(),n=({timestamp:l})=&gt;{const i=l-t;i&gt;=r&amp;&amp;(yo(n),e(i-r))};return Sr.setup(n,!0),()=&gt;yo(n)}function im(e){return Vn(e)?e.get():e}class PR{constructor(){this.members=[]}add(r){l1(this.members,r),r.scheduleRender()}remove(r){if(c1(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(l=&gt;r===l);if(t===0)return!1;let n;for(let l=t;l&gt;=0;l--){const i=this.members[l];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:l}=r.options;l===!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 sm={hasAnimatedSinceResize:!0,hasEverUpdated:!1},px=[&quot;&quot;,&quot;X&quot;,&quot;Y&quot;,&quot;Z&quot;],TR=1e3;let IR=0;function gx(e,r,t,n){const{latestValues:l}=r;l[e]&amp;&amp;(t[e]=l[e],r.setStaticValue(e,0),n&amp;&amp;(n[e]=0))}function V8(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:r}=e.options;if(!r)return;const t=l8(r);if(window.MotionHasOptimisedAnimation(t,&quot;transform&quot;)){const{layout:l,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(t,&quot;transform&quot;,Sr,!(l||i))}const{parent:n}=e;n&amp;&amp;!n.hasCheckedOptimisedAppear&amp;&amp;V8(n)}function q8({attachResizeListener:e,defaultParent:r,measureScroll:t,checkIsScrollRoot:n,resetTransform:l}){return class{constructor(o={},u=r?.()){this.id=IR++,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(LR),this.nodes.forEach($R),this.nodes.forEach(UR),this.nodes.forEach(FR)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,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 c=0;c&lt;this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&amp;&amp;(this.nodes=new MR)}addEventListener(o,u){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new f1),this.eventHandlers.get(o).add(u)}notifyListeners(o,...u){const c=this.eventHandlers.get(o);c&amp;&amp;c.notify(...u)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=v8(o)&amp;&amp;!DI(o),this.instance=o;const{layoutId:u,layout:c,visualElement:a}=this.options;if(a&amp;&amp;!a.current&amp;&amp;a.mount(o),this.root.nodes.add(this),this.parent&amp;&amp;this.parent.children.add(this),this.root.hasTreeAnimated&amp;&amp;(c||u)&amp;&amp;(this.isLayoutDirty=!0),e){let d,f=0;const h=()=&gt;this.root.updateBlockedByResize=!1;Sr.read(()=&gt;{f=window.innerWidth}),e(o,()=&gt;{const m=window.innerWidth;m!==f&amp;&amp;(f=m,this.root.updateBlockedByResize=!0,d&amp;&amp;d(),d=OR(h,250),sm.hasAnimatedSinceResize&amp;&amp;(sm.hasAnimatedSinceResize=!1,this.nodes.forEach(h4)))})}u&amp;&amp;this.root.registerSharedNode(u,this),this.options.animate!==!1&amp;&amp;a&amp;&amp;(u||c)&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||a.getDefaultTransition()||KR,{onLayoutAnimationStart:x,onLayoutAnimationComplete:g}=a.getProps(),y=!this.targetLayout||!z8(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 _={...S1(p,&quot;layout&quot;),onPlay:x,onComplete:g};(a.shouldReduceMotion||this.options.layoutRoot)&amp;&amp;(_.delay=0,_.type=!1),this.startAnimation(_),this.setAnimationOrigin(d,v)}else f||h4(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 o=this.getStack();o&amp;&amp;o.remove(this),this.parent&amp;&amp;this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),yo(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(VR),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&amp;&amp;o.getProps().transformTemplate}willUpdate(o=!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;V8(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:c}=this.options;if(u===void 0&amp;&amp;!c)return;const a=this.getTransformTemplate();this.prevTransformTemplateValue=a?a(this.latestValues,&quot;&quot;):void 0,this.updateSnapshot(),o&amp;&amp;this.notifyListeners(&quot;willUpdate&quot;)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(d4);return}if(this.animationId&lt;=this.animationCommitId){this.nodes.forEach(f4);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(zR),this.nodes.forEach(RR),this.nodes.forEach(DR)):this.nodes.forEach(f4),this.clearAllSnapshots();const u=ei.now();Nn.delta=zs(0,1e3/60,u-Nn.timestamp),Nn.timestamp=u,Nn.isProcessing=!0,ox.update.process(Nn),ox.preRender.process(Nn),ox.render.process(Nn),Nn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,A1.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(BR),this.sharedNodes.forEach(qR)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Sr.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Sr.postRender(()=&gt;{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&amp;&amp;!ti(this.snapshot.measuredBox.x)&amp;&amp;!ti(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 c=0;c&lt;this.path.length;c++)this.path[c].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=en(),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,o?o.layoutBox:void 0)}updateScroll(o=&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===o&amp;&amp;(u=!1),u&amp;&amp;this.instance){const c=n(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:c,offset:t(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!l)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&amp;&amp;!B8(this.projectionDelta),c=this.getTransformTemplate(),a=c?c(this.latestValues,&quot;&quot;):void 0,d=a!==this.prevTransformTemplateValue;o&amp;&amp;this.instance&amp;&amp;(u||al(this.latestValues)||d)&amp;&amp;(l(this.instance,a),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const u=this.measurePageBox();let c=this.removeElementScroll(u);return o&amp;&amp;(c=this.removeTransform(c)),XR(c),{animationId:this.root.animationId,measuredBox:u,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:o}=this.options;if(!o)return en();const u=o.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(GR))){const{scroll:a}=this.root;a&amp;&amp;(Sc(u.x,a.offset.x),Sc(u.y,a.offset.y))}return u}removeElementScroll(o){const u=en();if(fs(u,o),this.scroll?.wasRoot)return u;for(let c=0;c&lt;this.path.length;c++){const a=this.path[c],{scroll:d,options:f}=a;a!==this.root&amp;&amp;d&amp;&amp;f.layoutScroll&amp;&amp;(d.wasRoot&amp;&amp;fs(u,o),Sc(u.x,d.offset.x),Sc(u.y,d.offset.y))}return u}applyTransform(o,u=!1){const c=en();fs(c,o);for(let a=0;a&lt;this.path.length;a++){const d=this.path[a];!u&amp;&amp;d.options.layoutScroll&amp;&amp;d.scroll&amp;&amp;d!==d.root&amp;&amp;kc(c,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),al(d.latestValues)&amp;&amp;kc(c,d.latestValues)}return al(this.latestValues)&amp;&amp;kc(c,this.latestValues),c}removeTransform(o){const u=en();fs(u,o);for(let c=0;c&lt;this.path.length;c++){const a=this.path[c];if(!a.instance||!al(a.latestValues))continue;Dy(a.latestValues)&amp;&amp;a.updateSnapshot();const d=en(),f=a.measurePageBox();fs(d,f),r4(u,a.latestValues,a.snapshot?a.snapshot.layoutBox:void 0,d)}return al(this.latestValues)&amp;&amp;r4(u,this.latestValues),u}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.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!==Nn.timestamp&amp;&amp;this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){const u=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=u.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=u.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=u.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==u;if(!(o||c&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=Nn.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=en(),this.targetWithTransforms=en()),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),bR(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):fs(this.target,this.layout.layoutBox),C8(this.target,this.targetDelta)):fs(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||Dy(this.parent.latestValues)||N8(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(o,u,c){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=en(),this.relativeTargetOrigin=en(),jm(this.relativeTargetOrigin,u,c),fs(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const o=this.getLead(),u=!!this.resumingFrom||this!==o;let c=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&amp;&amp;(c=!1),u&amp;&amp;(this.isSharedProjectionDirty||this.isTransformDirty)&amp;&amp;(c=!1),this.resolvedRelativeTargetAt===Nn.timestamp&amp;&amp;(c=!1),c)return;const{layout:a,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||!(a||d))return;fs(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;KI(this.layoutCorrected,this.treeScale,this.path,u),o.layout&amp;&amp;!o.target&amp;&amp;(this.treeScale.x!==1||this.treeScale.y!==1)&amp;&amp;(o.target=o.layout.layoutBox,o.targetWithTransforms=en());const{target:m}=o;if(!m){this.prevProjectionDelta&amp;&amp;(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Y3(this.prevProjectionDelta.x,this.projectionDelta.x),Y3(this.prevProjectionDelta.y,this.projectionDelta.y)),fd(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!o4(this.projectionDelta.x,this.prevProjectionDelta.x)||!o4(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(o=!0){if(this.options.visualElement?.scheduleRender(),o){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=jc(),this.projectionDelta=jc(),this.projectionDeltaWithTransform=jc()}setAnimationOrigin(o,u=!1){const c=this.snapshot,a=c?c.latestValues:{},d={...this.latestValues},f=jc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&amp;&amp;(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const h=en(),m=c?c.source:void 0,p=this.layout?this.layout.source:void 0,x=m!==p,g=this.getStack(),y=!g||g.members.length&lt;=1,v=!!(x&amp;&amp;!y&amp;&amp;this.options.crossfade===!0&amp;&amp;!this.path.some(WR));this.animationProgress=0;let _;this.mixTargetDelta=C=&gt;{const M=C/1e3;m4(f.x,o.x,M),m4(f.y,o.y,M),this.setTargetDelta(f),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.layout&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.layout&amp;&amp;(jm(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),HR(this.relativeTarget,this.relativeTargetOrigin,h,M),_&amp;&amp;_R(this.relativeTarget,_)&amp;&amp;(this.isProjectionDirty=!1),_||(_=en()),fs(_,this.relativeTarget)),x&amp;&amp;(this.animationValues=d,kR(d,a,this.latestValues,M,v,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=M},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners(&quot;animationStart&quot;),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&amp;&amp;(yo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Sr.update(()=&gt;{sm.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Oc(0)),this.currentAnimation=ER(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:u=&gt;{this.mixTargetDelta(u),o.onUpdate&amp;&amp;o.onUpdate(u)},onStop:()=&gt;{},onComplete:()=&gt;{o.onComplete&amp;&amp;o.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 o=this.getStack();o&amp;&amp;o.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(TR),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:u,target:c,layout:a,latestValues:d}=o;if(!(!u||!c||!a)){if(this!==o&amp;&amp;this.layout&amp;&amp;a&amp;&amp;H8(this.options.animationType,this.layout.layoutBox,a.layoutBox)){c=this.target||en();const f=ti(this.layout.layoutBox.x);c.x.min=o.target.x.min,c.x.max=c.x.min+f;const h=ti(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+h}fs(u,c),kc(u,d),fd(this.projectionDeltaWithTransform,this.layoutCorrected,u,d)}}registerSharedNode(o,u){this.sharedNodes.has(o)||this.sharedNodes.set(o,new PR),this.sharedNodes.get(o).add(u);const a=u.options.initialPromotionConfig;u.promote({transition:a?a.transition:void 0,preserveFollowOpacity:a&amp;&amp;a.shouldPreserveFollowOpacity?a.shouldPreserveFollowOpacity(u):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){const{layoutId:o}=this.options;return o?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:o}=this.options;return o?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:u,preserveFollowOpacity:c}={}){const a=this.getStack();a&amp;&amp;a.promote(this,c),o&amp;&amp;(this.projectionDelta=void 0,this.needsReset=!0),u&amp;&amp;this.setOptions({transition:u})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let u=!1;const{latestValues:c}=o;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&amp;&amp;(u=!0),!u)return;const a={};c.z&amp;&amp;gx(&quot;z&quot;,o,a,this.animationValues);for(let d=0;d&lt;px.length;d++)gx(`rotate${px[d]}`,o,a,this.animationValues),gx(`skew${px[d]}`,o,a,this.animationValues);o.render();for(const d in a)o.setStaticValue(d,a[d]),this.animationValues&amp;&amp;(this.animationValues[d]=a[d]);o.scheduleRender()}applyProjectionStyles(o,u){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility=&quot;hidden&quot;;return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility=&quot;&quot;,o.opacity=&quot;&quot;,o.pointerEvents=im(u?.pointerEvents)||&quot;&quot;,o.transform=c?c(this.latestValues,&quot;&quot;):&quot;none&quot;;return}const a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){this.options.layoutId&amp;&amp;(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=im(u?.pointerEvents)||&quot;&quot;),this.hasProjected&amp;&amp;!al(this.latestValues)&amp;&amp;(o.transform=c?c({},&quot;&quot;):&quot;none&quot;,this.hasProjected=!1);return}o.visibility=&quot;&quot;;const d=a.animationValues||a.latestValues;this.applyTransformsToTarget();let f=jR(this.projectionDeltaWithTransform,this.treeScale,d);c&amp;&amp;(f=c(d,f)),o.transform=f;const{x:h,y:m}=this.projectionDelta;o.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,a.animationValues?o.opacity=a===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:o.opacity=a===this?d.opacity!==void 0?d.opacity:&quot;&quot;:d.opacityExit!==void 0?d.opacityExit:0;for(const p in Fy){if(d[p]===void 0)continue;const{correct:x,applyTo:g,isCSSVariable:y}=Fy[p],v=f===&quot;none&quot;?d[p]:x(d[p],a);if(g){const _=g.length;for(let C=0;C&lt;_;C++)o[g[C]]=v}else y?this.options.visualElement.renderState.vars[p]=v:o[p]=v}this.options.layoutId&amp;&amp;(o.pointerEvents=a===this?im(u?.pointerEvents)||&quot;&quot;:&quot;none&quot;)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=&gt;o.currentAnimation?.stop()),this.root.nodes.forEach(d4),this.root.sharedNodes.clear()}}}function RR(e){e.updateLayout()}function DR(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:l}=e.options,i=r.source!==e.layout.source;l===&quot;size&quot;?$i(d=&gt;{const f=i?r.measuredBox[d]:r.layoutBox[d],h=ti(f);f.min=t[d].min,f.max=f.min+h}):H8(l,r.layoutBox,t)&amp;&amp;$i(d=&gt;{const f=i?r.measuredBox[d]:r.layoutBox[d],h=ti(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 o=jc();fd(o,t,r.layoutBox);const u=jc();i?fd(u,e.applyTransform(n,!0),r.measuredBox):fd(u,t,r.layoutBox);const c=!B8(o);let a=!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=en();jm(m,r.layoutBox,f.layoutBox);const p=en();jm(p,t,h.layoutBox),z8(m,p)||(a=!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:o,hasLayoutChanged:c,hasRelativeLayoutChanged:a})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&amp;&amp;t()}e.options.transition=void 0}function LR(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 FR(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function BR(e){e.clearSnapshot()}function d4(e){e.clearMeasurements()}function f4(e){e.isLayoutDirty=!1}function zR(e){const{visualElement:r}=e.options;r&amp;&amp;r.getProps().onBeforeLayoutMeasure&amp;&amp;r.notify(&quot;BeforeLayoutMeasure&quot;),e.resetTransform()}function h4(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function $R(e){e.resolveTargetDelta()}function UR(e){e.calcProjection()}function VR(e){e.resetSkewAndRotation()}function qR(e){e.removeLeadSnapshot()}function m4(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 p4(e,r,t,n){e.min=Ir(r.min,t.min,n),e.max=Ir(r.max,t.max,n)}function HR(e,r,t,n){p4(e.x,r.x,t.x,n),p4(e.y,r.y,t.y,n)}function WR(e){return e.animationValues&amp;&amp;e.animationValues.opacityExit!==void 0}const KR={duration:.45,ease:[.4,0,.1,1]},g4=e=&gt;typeof navigator&lt;&quot;u&quot;&amp;&amp;navigator.userAgent&amp;&amp;navigator.userAgent.toLowerCase().includes(e),x4=g4(&quot;applewebkit/&quot;)&amp;&amp;!g4(&quot;chrome/&quot;)?Math.round:Hi;function b4(e){e.min=x4(e.min),e.max=x4(e.max)}function XR(e){b4(e.x),b4(e.y)}function H8(e,r,t){return e===&quot;position&quot;||e===&quot;preserve-aspect&quot;&amp;&amp;!xR(a4(r),a4(t),.2)}function GR(e){return e!==e.root&amp;&amp;e.scroll?.wasRoot}const YR=q8({attachResizeListener:(e,r)=&gt;jd(e,&quot;resize&quot;,r),measureScroll:()=&gt;({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=&gt;!0}),xx={current:void 0},W8=q8({measureScroll:e=&gt;({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=&gt;{if(!xx.current){const e=new YR({});e.mount(window),e.setOptions({layoutScroll:!0}),xx.current=e}return xx.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;}),R1=I.createContext({transformPagePoint:e=&gt;e,isStatic:!1,reducedMotion:&quot;never&quot;});function y4(e,r){if(typeof e==&quot;function&quot;)return e(r);e!=null&amp;&amp;(e.current=r)}function ZR(...e){return r=&gt;{let t=!1;const n=e.map(l=&gt;{const i=y4(l,r);return!t&amp;&amp;typeof i==&quot;function&quot;&amp;&amp;(t=!0),i});if(t)return()=&gt;{for(let l=0;l&lt;n.length;l++){const i=n[l];typeof i==&quot;function&quot;?i():y4(e[l],null)}}}}function QR(...e){return I.useCallback(ZR(...e),e)}class JR extends I.Component{getSnapshotBeforeUpdate(r){const t=this.props.childRef.current;if(t&amp;&amp;r.isPresent&amp;&amp;!this.props.isPresent){const n=t.offsetParent,l=p8(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=l-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}}function eD({children:e,isPresent:r,anchorX:t,root:n}){const l=I.useId(),i=I.useRef(null),o=I.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:u}=I.useContext(R1),c=e.props?.ref??e?.ref,a=QR(i,c);return I.useInsertionEffect(()=&gt;{const{width:d,height:f,top:h,left:m,right:p}=o.current;if(r||!i.current||!d||!f)return;const x=t===&quot;left&quot;?`left: ${m}`:`right: ${p}`;i.current.dataset.motionPopId=l;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;${l}&quot;] {
            position: absolute !important;
            width: ${d}px !important;
            height: ${f}px !important;
            ${x}px !important;
            top: ${h}px !important;
          }
        `),()=&gt;{y.contains(g)&amp;&amp;y.removeChild(g)}},[r]),s.jsx(JR,{isPresent:r,childRef:i,sizeRef:o,children:I.cloneElement(e,{ref:a})})}const tD=({children:e,initial:r,isPresent:t,onExitComplete:n,custom:l,presenceAffectsLayout:i,mode:o,anchorX:u,root:c})=&gt;{const a=o1(rD),d=I.useId();let f=!0,h=I.useMemo(()=&gt;(f=!1,{id:d,initial:r,isPresent:t,custom:l,onExitComplete:m=&gt;{a.set(m,!0);for(const p of a.values())if(!p)return;n&amp;&amp;n()},register:m=&gt;(a.set(m,!1),()=&gt;a.delete(m))}),[t,a,n]);return i&amp;&amp;f&amp;&amp;(h={...h}),I.useMemo(()=&gt;{a.forEach((m,p)=&gt;a.set(p,!1))},[t]),I.useEffect(()=&gt;{!t&amp;&amp;!a.size&amp;&amp;n&amp;&amp;n()},[t]),o===&quot;popLayout&quot;&amp;&amp;(e=s.jsx(eD,{isPresent:t,anchorX:u,root:c,children:e})),s.jsx(Np.Provider,{value:h,children:e})};function rD(){return new Map}function K8(e=!0){const r=I.useContext(Np);if(r===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:l}=r,i=I.useId();I.useEffect(()=&gt;{if(e)return l(i)},[e]);const o=I.useCallback(()=&gt;e&amp;&amp;n&amp;&amp;n(i),[i,n,e]);return!t&amp;&amp;n?[!1,o]:[!0]}const Eh=e=&gt;e.key||&quot;&quot;;function v4(e){const r=[];return I.Children.forEach(e,t=&gt;{I.isValidElement(t)&amp;&amp;r.push(t)}),r}const nD=({children:e,custom:r,initial:t=!0,onExitComplete:n,presenceAffectsLayout:l=!0,mode:i=&quot;sync&quot;,propagate:o=!1,anchorX:u=&quot;left&quot;,root:c})=&gt;{const[a,d]=K8(o),f=I.useMemo(()=&gt;v4(e),[e]),h=o&amp;&amp;!a?[]:f.map(Eh),m=I.useRef(!0),p=I.useRef(f),x=o1(()=&gt;new Map),g=I.useRef(new Set),[y,v]=I.useState(f),[_,C]=I.useState(f);SN(()=&gt;{m.current=!1,p.current=f;for(let $=0;$&lt;_.length;$++){const F=Eh(_[$]);h.includes(F)?(x.delete(F),g.current.delete(F)):x.get(F)!==!0&amp;&amp;x.set(F,!1)}},[_,h.length,h.join(&quot;-&quot;)]);const M=[];if(f!==y){let $=[...f];for(let F=0;F&lt;_.length;F++){const H=_[F],W=Eh(H);h.includes(W)||($.splice(F,0,H),M.push(H))}return i===&quot;wait&quot;&amp;&amp;M.length&amp;&amp;($=M),C(v4($)),v(f),null}const{forceRender:T}=I.useContext(a1);return s.jsx(s.Fragment,{children:_.map($=&gt;{const F=Eh($),H=o&amp;&amp;!a?!1:f===_||h.includes(F),W=()=&gt;{if(g.current.has(F))return;if(g.current.add(F),x.has(F))x.set(F,!0);else return;let q=!0;x.forEach(K=&gt;{K||(q=!1)}),q&amp;&amp;(T?.(),C(p.current),o&amp;&amp;d?.(),n&amp;&amp;n())};return s.jsx(tD,{isPresent:H,initial:!m.current||t?void 0:!1,custom:r,presenceAffectsLayout:l,mode:i,root:c,onExitComplete:H?void 0:W,anchorX:u,children:$},F)})})},X8=I.createContext({strict:!1}),w4={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 _4=!1;function iD(){if(_4)return;const e={};for(const r in w4)e[r]={isEnabled:t=&gt;w4[r].some(n=&gt;!!t[n])};j8(e),_4=!0}function G8(){return iD(),VI()}function sD(e){const r=G8();for(const t in e)r[t]={...r[t],...e[t]};j8(r)}const aD=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 Sm(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;)||aD.has(e)}let Y8=e=&gt;!Sm(e);function oD(e){typeof e==&quot;function&quot;&amp;&amp;(Y8=r=&gt;r.startsWith(&quot;on&quot;)?!Sm(r):e(r))}try{oD(require(&quot;@emotion/is-prop-valid&quot;).default)}catch{}function lD(e,r,t){const n={};for(const l in e)l===&quot;values&quot;&amp;&amp;typeof e.values==&quot;object&quot;||(Y8(l)||t===!0&amp;&amp;Sm(l)||!r&amp;&amp;!Sm(l)||e.draggable&amp;&amp;l.startsWith(&quot;onDrag&quot;))&amp;&amp;(n[l]=e[l]);return n}const Ap=I.createContext({});function cD(e,r){if(Ep(e)){const{initial:t,animate:n}=e;return{initial:t===!1||_d(t)?t:void 0,animate:_d(n)?n:void 0}}return e.inherit!==!1?r:{}}function uD(e){const{initial:r,animate:t}=cD(e,I.useContext(Ap));return I.useMemo(()=&gt;({initial:r,animate:t}),[j4(r),j4(t)])}function j4(e){return Array.isArray(e)?e.join(&quot; &quot;):e}const D1=()=&gt;({style:{},transform:{},transformOrigin:{},vars:{}});function Z8(e,r,t){for(const n in r)!Vn(r[n])&amp;&amp;!M8(n,t)&amp;&amp;(e[n]=r[n])}function dD({transformTemplate:e},r){return I.useMemo(()=&gt;{const t=D1();return T1(t,r,e),Object.assign({},t.vars,t.style)},[r])}function fD(e,r){const t=e.style||{},n={};return Z8(n,t,e),Object.assign(n,dD(e,r)),n}function hD(e,r){const t={},n=fD(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 Q8=()=&gt;({...D1(),attrs:{}});function mD(e,r,t,n){const l=I.useMemo(()=&gt;{const i=Q8();return O8(i,r,T8(n),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[r]);if(e.style){const i={};Z8(i,e.style,e),l.style={...i,...l.style}}return l}const pD=[&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 L1(e){return typeof e!=&quot;string&quot;||e.includes(&quot;-&quot;)?!1:!!(pD.indexOf(e)&gt;-1||/[A-Z]/u.test(e))}function gD(e,r,t,{latestValues:n},l,i=!1,o){const c=(o??L1(e)?mD:hD)(r,n,l,e),a=lD(r,typeof e==&quot;string&quot;,i),d=e!==I.Fragment?{...a,...c,ref:t}:{},{children:f}=r,h=I.useMemo(()=&gt;Vn(f)?f.get():f,[f]);return I.createElement(e,{...d,children:h})}function xD({scrapeMotionValuesFromProps:e,createRenderState:r},t,n,l){return{latestValues:bD(t,n,l,e),renderState:r()}}function bD(e,r,t,n){const l={},i=n(e,{});for(const h in i)l[h]=im(i[h]);let{initial:o,animate:u}=e;const c=Ep(e),a=_8(e);r&amp;&amp;a&amp;&amp;!c&amp;&amp;e.inherit!==!1&amp;&amp;(o===void 0&amp;&amp;(o=r.initial),u===void 0&amp;&amp;(u=r.animate));let d=t?t.initial===!1:!1;d=d||o===!1;const f=d?u:o;if(f&amp;&amp;typeof f!=&quot;boolean&quot;&amp;&amp;!Cp(f)){const h=Array.isArray(f)?f:[f];for(let m=0;m&lt;h.length;m++){const p=N1(e,h[m]);if(p){const{transitionEnd:x,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;(l[v]=_)}for(const v in x)l[v]=x[v]}}}return l}const J8=e=&gt;(r,t)=&gt;{const n=I.useContext(Ap),l=I.useContext(Np),i=()=&gt;xD(e,r,n,l);return t?i():o1(i)},yD=J8({scrapeMotionValuesFromProps:I1,createRenderState:D1}),vD=J8({scrapeMotionValuesFromProps:I8,createRenderState:Q8}),wD=Symbol.for(&quot;motionComponentSymbol&quot;);function _D(e,r,t){const n=I.useRef(t);I.useInsertionEffect(()=&gt;{n.current=t});const l=I.useRef(null);return I.useCallback(i=&gt;{i&amp;&amp;e.onMount?.(i),r&amp;&amp;(i?r.mount(i):r.unmount());const o=n.current;if(typeof o==&quot;function&quot;)if(i){const u=o(i);typeof u==&quot;function&quot;&amp;&amp;(l.current=u)}else l.current?(l.current(),l.current=null):o(i);else o&amp;&amp;(o.current=i)},[r])}const eC=I.createContext({});function ad(e){return e&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;Object.prototype.hasOwnProperty.call(e,&quot;current&quot;)}function jD(e,r,t,n,l,i){const{visualElement:o}=I.useContext(Ap),u=I.useContext(X8),c=I.useContext(Np),a=I.useContext(R1).reducedMotion,d=I.useRef(null);n=n||u.renderer,!d.current&amp;&amp;n&amp;&amp;(d.current=n(e,{visualState:r,parent:o,props:t,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:a,isSVG:i}));const f=d.current,h=I.useContext(eC);f&amp;&amp;!f.projection&amp;&amp;l&amp;&amp;(f.type===&quot;html&quot;||f.type===&quot;svg&quot;)&amp;&amp;SD(d.current,t,l,h);const m=I.useRef(!1);I.useInsertionEffect(()=&gt;{f&amp;&amp;m.current&amp;&amp;f.update(t,c)});const p=t[o8],x=I.useRef(!!p&amp;&amp;!window.MotionHandoffIsComplete?.(p)&amp;&amp;window.MotionHasOptimisedAnimation?.(p));return SN(()=&gt;{f&amp;&amp;(m.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),x.current&amp;&amp;f.animationState&amp;&amp;f.animationState.animateChanges())}),I.useEffect(()=&gt;{f&amp;&amp;(!x.current&amp;&amp;f.animationState&amp;&amp;f.animationState.animateChanges(),x.current&amp;&amp;(queueMicrotask(()=&gt;{window.MotionHandoffMarkAsComplete?.(p)}),x.current=!1),f.enteringChildren=void 0)}),f}function SD(e,r,t,n){const{layoutId:l,layout:i,drag:o,dragConstraints:u,layoutScroll:c,layoutRoot:a,layoutCrossfade:d}=r;e.projection=new t(e.latestValues,r[&quot;data-framer-portal-id&quot;]?void 0:tC(e.parent)),e.projection.setOptions({layoutId:l,layout:i,alwaysMeasureLayout:!!o||u&amp;&amp;ad(u),visualElement:e,animationType:typeof i==&quot;string&quot;?i:&quot;both&quot;,initialPromotionConfig:n,crossfade:d,layoutScroll:c,layoutRoot:a})}function tC(e){if(e)return e.options.allowProjection!==!1?e.projection:tC(e.parent)}function bx(e,{forwardMotionProps:r=!1,type:t}={},n,l){n&amp;&amp;sD(n);const i=t?t===&quot;svg&quot;:L1(e),o=i?vD:yD;function u(a,d){let f;const h={...I.useContext(R1),...a,layoutId:kD(a)},{isStatic:m}=h,p=uD(a),x=o(a,m);if(!m&amp;&amp;jN){ND();const g=CD(h);f=g.MeasureLayout,p.visualElement=jD(e,x,h,l,g.ProjectionNode,i)}return s.jsxs(Ap.Provider,{value:p,children:[f&amp;&amp;p.visualElement?s.jsx(f,{visualElement:p.visualElement,...h}):null,gD(e,a,_D(x,p.visualElement,d),x,m,r,i)]})}u.displayName=`motion.${typeof e==&quot;string&quot;?e:`create(${e.displayName??e.name??&quot;&quot;})`}`;const c=I.forwardRef(u);return c[wD]=e,c}function kD({layoutId:e}){const r=I.useContext(a1).id;return r&amp;&amp;e!==void 0?r+&quot;-&quot;+e:e}function ND(e,r){I.useContext(X8).strict}function CD(e){const r=G8(),{drag:t,layout:n}=r;if(!t&amp;&amp;!n)return{};const l={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?l.MeasureLayout:void 0,ProjectionNode:l.ProjectionNode}}function ED(e,r){if(typeof Proxy&gt;&quot;u&quot;)return bx;const t=new Map,n=(i,o)=&gt;bx(i,o,e,r),l=(i,o)=&gt;n(i,o);return new Proxy(l,{get:(i,o)=&gt;o===&quot;create&quot;?n:(t.has(o)||t.set(o,bx(o,void 0,e,r)),t.get(o))})}const AD=(e,r)=&gt;r.isSVG??L1(e)?new aR(r):new eR(r,{allowProjection:e!==I.Fragment});class MD extends No{constructor(r){super(r),r.animationState||(r.animationState=dR(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();Cp(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 OD=0;class PD extends No{constructor(){super(...arguments),this.id=OD++}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 l=this.node.animationState.setActive(&quot;exit&quot;,!r);t&amp;&amp;!r&amp;&amp;l.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 TD={animation:{Feature:MD},exit:{Feature:PD}};function Wd(e){return{point:{x:e.pageX,y:e.pageY}}}const ID=e=&gt;r=&gt;M1(r)&amp;&amp;e(r,Wd(r));function hd(e,r,t,n){return jd(e,r,ID(t),n)}const rC=({current:e})=&gt;e?e.ownerDocument.defaultView:null,S4=(e,r)=&gt;Math.abs(e-r);function RD(e,r){const t=S4(e.x,r.x),n=S4(e.y,r.y);return Math.sqrt(t**2+n**2)}const k4=new Set([&quot;auto&quot;,&quot;scroll&quot;]);class nC{constructor(r,t,{transformPagePoint:n,contextWindow:l=window,dragSnapToOrigin:i=!1,distanceThreshold:o=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=vx(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,x=RD(m.offset,{x:0,y:0})&gt;=this.distanceThreshold;if(!p&amp;&amp;!x)return;const{point:g}=m,{timestamp:y}=Nn;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=yx(p,this.transformPagePoint),Sr.update(this.updatePoint,!0)},this.handlePointerUp=(m,p)=&gt;{this.end();const{onEnd:x,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=vx(m.type===&quot;pointercancel&quot;?this.lastMoveEventInfo:yx(p,this.transformPagePoint),this.history);this.startEvent&amp;&amp;x&amp;&amp;x(m,v),g&amp;&amp;g(m,v)},!M1(r))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=l||window;const c=Wd(r),a=yx(c,this.transformPagePoint),{point:d}=a,{timestamp:f}=Nn;this.history=[{...d,timestamp:f}];const{onSessionStart:h}=t;h&amp;&amp;h(r,vx(a,this.history)),this.removeListeners=Vd(hd(this.contextWindow,&quot;pointermove&quot;,this.handlePointerMove),hd(this.contextWindow,&quot;pointerup&quot;,this.handlePointerUp),hd(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);(k4.has(n.overflowX)||k4.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,l=n?{x:window.scrollX,y:window.scrollY}:{x:r.scrollLeft,y:r.scrollTop},i={x:l.x-t.x,y:l.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,l),Sr.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(),yo(this.updatePoint)}}function yx(e,r){return r?{point:r(e.point)}:e}function N4(e,r){return{x:e.x-r.x,y:e.y-r.y}}function vx({point:e},r){return{point:e,delta:N4(e,iC(r)),offset:N4(e,DD(r)),velocity:LD(r,.1)}}function DD(e){return e[0]}function iC(e){return e[e.length-1]}function LD(e,r){if(e.length&lt;2)return{x:0,y:0};let t=e.length-1,n=null;const l=iC(e);for(;t&gt;=0&amp;&amp;(n=e[t],!(l.timestamp-n.timestamp&gt;ga(r)));)t--;if(!n)return{x:0,y:0};const i=Vi(l.timestamp-n.timestamp);if(i===0)return{x:0,y:0};const o={x:(l.x-n.x)/i,y:(l.y-n.y)/i};return o.x===1/0&amp;&amp;(o.x=0),o.y===1/0&amp;&amp;(o.y=0),o}function FD(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 C4(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 BD(e,{top:r,left:t,bottom:n,right:l}){return{x:C4(e.x,t,l),y:C4(e.y,r,n)}}function E4(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 zD(e,r){return{x:E4(e.x,r.x),y:E4(e.y,r.y)}}function $D(e,r){let t=.5;const n=ti(e),l=ti(r);return l&gt;n?t=yd(r.min,r.max-n,e.min):n&gt;l&amp;&amp;(t=yd(e.min,e.max-l,r.min)),zs(0,1,t)}function UD(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 By=.35;function VD(e=By){return e===!1?e=0:e===!0&amp;&amp;(e=By),{x:A4(e,&quot;left&quot;,&quot;right&quot;),y:A4(e,&quot;top&quot;,&quot;bottom&quot;)}}function A4(e,r,t){return{min:M4(e,r),max:M4(e,t)}}function M4(e,r){return typeof e==&quot;number&quot;?e:e[r]||0}const qD=new WeakMap;class HD{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=en(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:t=!1,distanceThreshold:n}={}){const{presenceContext:l}=this.visualElement;if(l&amp;&amp;l.isPresent===!1)return;const i=f=&gt;{t?(this.stopAnimation(),this.snapToCursor(Wd(f).point)):this.pauseAnimation()},o=(f,h)=&gt;{this.stopAnimation();const{drag:m,dragPropagation:p,onDragStart:x}=this.getProps();if(m&amp;&amp;!p&amp;&amp;(this.openDragLock&amp;&amp;this.openDragLock(),this.openDragLock=OI(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),$i(y=&gt;{let v=this.getAxisMotionValue(y).get()||0;if(Fs.test(v)){const{projection:_}=this.visualElement;if(_&amp;&amp;_.layout){const C=_.layout.layoutBox[y];C&amp;&amp;(v=ti(C)*(parseFloat(v)/100))}}this.originPoint[y]=v}),x&amp;&amp;Sr.postRender(()=&gt;x(f,h)),Py(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:x,onDrag:g}=this.getProps();if(!m&amp;&amp;!this.openDragLock)return;const{offset:y}=h;if(p&amp;&amp;this.currentDirection===null){this.currentDirection=WD(y),this.currentDirection!==null&amp;&amp;x&amp;&amp;x(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)},c=(f,h)=&gt;{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},a=()=&gt;$i(f=&gt;this.getAnimationState(f)===&quot;paused&quot;&amp;&amp;this.getAxisMotionValue(f).animation?.play()),{dragSnapToOrigin:d}=this.getProps();this.panSession=new nC(r,{onSessionStart:i,onStart:o,onMove:u,onSessionEnd:c,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:n,contextWindow:rC(this.visualElement),element:this.visualElement.current})}stop(r,t){const n=r||this.latestPointerEvent,l=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!l||!n)return;const{velocity:o}=l;this.startAnimation(o);const{onDragEnd:u}=this.getProps();u&amp;&amp;Sr.postRender(()=&gt;u(n,l))}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:l}=this.getProps();if(!n||!Ah(r,l,this.currentDirection))return;const i=this.getAxisMotionValue(r);let o=this.originPoint[r]+n[r];this.constraints&amp;&amp;this.constraints[r]&amp;&amp;(o=FD(o,this.constraints[r],this.elastic[r])),i.set(o)}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,l=this.constraints;r&amp;&amp;ad(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&amp;&amp;n?this.constraints=BD(n.layoutBox,r):this.constraints=!1,this.elastic=VD(t),l!==this.constraints&amp;&amp;n&amp;&amp;this.constraints&amp;&amp;!this.hasMutatedConstraints&amp;&amp;$i(i=&gt;{this.constraints!==!1&amp;&amp;this.getAxisMotionValue(i)&amp;&amp;(this.constraints[i]=UD(n.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:t}=this.getProps();if(!r||!ad(r))return!1;const n=r.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const i=XI(n,l.root,this.visualElement.getTransformPagePoint());let o=zD(l.layout.layoutBox,i);if(t){const u=t(HI(o));this.hasMutatedConstraints=!!u,u&amp;&amp;(o=k8(u))}return o}startAnimation(r){const{drag:t,dragMomentum:n,dragElastic:l,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:u}=this.getProps(),c=this.constraints||{},a=$i(d=&gt;{if(!Ah(d,t,this.currentDirection))return;let f=c&amp;&amp;c[d]||{};o&amp;&amp;(f={min:0,max:0});const h=l?200:1e6,m=l?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(a).then(u)}startAxisValueAnimation(r,t){const n=this.getAxisMotionValue(r);return Py(this.visualElement,r),n.start(k1(r,n,0,t,this.visualElement,!1))}stopAnimation(){$i(r=&gt;this.getAxisMotionValue(r).stop())}pauseAnimation(){$i(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(),l=n[t];return l||this.visualElement.getValue(r,(n.initial?n.initial[r]:void 0)||0)}snapToCursor(r){$i(t=&gt;{const{drag:n}=this.getProps();if(!Ah(t,n,this.currentDirection))return;const{projection:l}=this.visualElement,i=this.getAxisMotionValue(t);if(l&amp;&amp;l.layout){const{min:o,max:u}=l.layout.layoutBox[t],c=i.get()||0;i.set(r[t]-Ir(o,u,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!ad(t)||!n||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};$i(o=&gt;{const u=this.getAxisMotionValue(o);if(u&amp;&amp;this.constraints!==!1){const c=u.get();l[o]=$D({min:c,max:c},this.constraints[o])}});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(),$i(o=&gt;{if(!Ah(o,r,null))return;const u=this.getAxisMotionValue(o),{min:c,max:a}=this.constraints[o];u.set(Ir(c,a,l[o]))})}addListeners(){if(!this.visualElement.current)return;qD.set(this.visualElement,this);const r=this.visualElement.current,t=hd(r,&quot;pointerdown&quot;,c=&gt;{const{drag:a,dragListener:d=!0}=this.getProps();a&amp;&amp;d&amp;&amp;!y8(c.target)&amp;&amp;this.start(c)}),n=()=&gt;{const{dragConstraints:c}=this.getProps();ad(c)&amp;&amp;c.current&amp;&amp;(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,i=l.addEventListener(&quot;measure&quot;,n);l&amp;&amp;!l.layout&amp;&amp;(l.root&amp;&amp;l.root.updateScroll(),l.updateLayout()),Sr.read(n);const o=jd(window,&quot;resize&quot;,()=&gt;this.scalePositionWithinConstraints()),u=l.addEventListener(&quot;didUpdate&quot;,(({delta:c,hasLayoutChanged:a})=&gt;{this.isDragging&amp;&amp;a&amp;&amp;($i(d=&gt;{const f=this.getAxisMotionValue(d);f&amp;&amp;(this.originPoint[d]+=c[d].translate,f.set(f.get()+c[d].translate))}),this.visualElement.render())}));return()=&gt;{o(),t(),i(),u&amp;&amp;u()}}getProps(){const r=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:l=!1,dragConstraints:i=!1,dragElastic:o=By,dragMomentum:u=!0}=r;return{...r,drag:t,dragDirectionLock:n,dragPropagation:l,dragConstraints:i,dragElastic:o,dragMomentum:u}}}function Ah(e,r,t){return(r===!0||r===e)&amp;&amp;(t===null||t===e)}function WD(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 KD extends No{constructor(r){super(r),this.removeGroupControls=Hi,this.removeListeners=Hi,this.controls=new HD(r)}mount(){const{dragControls:r}=this.node.getProps();r&amp;&amp;(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Hi}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 O4=e=&gt;(r,t)=&gt;{e&amp;&amp;Sr.postRender(()=&gt;e(r,t))};class XD extends No{constructor(){super(...arguments),this.removePointerDownListener=Hi}onPointerDown(r){this.session=new nC(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rC(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:t,onPan:n,onPanEnd:l}=this.node.getProps();return{onSessionStart:O4(r),onStart:O4(t),onMove:n,onEnd:(i,o)=&gt;{delete this.session,l&amp;&amp;Sr.postRender(()=&gt;l(i,o))}}}mount(){this.removePointerDownListener=hd(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 wx=!1;class GD extends I.Component{componentDidMount(){const{visualElement:r,layoutGroup:t,switchLayoutGroup:n,layoutId:l}=this.props,{projection:i}=r;i&amp;&amp;(t.group&amp;&amp;t.group.add(i),n&amp;&amp;n.register&amp;&amp;l&amp;&amp;n.register(i),wx&amp;&amp;i.root.didUpdate(),i.addEventListener(&quot;animationComplete&quot;,()=&gt;{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=&gt;this.safeToRemove()})),sm.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:t,visualElement:n,drag:l,isPresent:i}=this.props,{projection:o}=n;return o&amp;&amp;(o.isPresent=i,wx=!0,l||r.layoutDependency!==t||t===void 0||r.isPresent!==i?o.willUpdate():this.safeToRemove(),r.isPresent!==i&amp;&amp;(i?o.promote():o.relegate()||Sr.postRender(()=&gt;{const u=o.getStack();(!u||!u.members.length)&amp;&amp;this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&amp;&amp;(r.root.didUpdate(),A1.postRender(()=&gt;{!r.currentAnimation&amp;&amp;r.isLead()&amp;&amp;this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:l}=r;wx=!0,l&amp;&amp;(l.scheduleCheckAfterUnmount(),t&amp;&amp;t.group&amp;&amp;t.group.remove(l),n&amp;&amp;n.deregister&amp;&amp;n.deregister(l))}safeToRemove(){const{safeToRemove:r}=this.props;r&amp;&amp;r()}render(){return null}}function sC(e){const[r,t]=K8(),n=I.useContext(a1);return s.jsx(GD,{...e,layoutGroup:n,switchLayoutGroup:I.useContext(eC),isPresent:r,safeToRemove:t})}const YD={pan:{Feature:XD},drag:{Feature:KD,ProjectionNode:W8,MeasureLayout:sC}};function P4(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 l=&quot;onHover&quot;+t,i=n[l];i&amp;&amp;Sr.postRender(()=&gt;i(r,Wd(r)))}class ZD extends No{mount(){const{current:r}=this.node;r&amp;&amp;(this.unmount=PI(r,(t,n)=&gt;(P4(this.node,n,&quot;Start&quot;),l=&gt;P4(this.node,l,&quot;End&quot;))))}unmount(){}}class QD extends No{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=Vd(jd(this.node.current,&quot;focus&quot;,()=&gt;this.onFocus()),jd(this.node.current,&quot;blur&quot;,()=&gt;this.onBlur()))}unmount(){}}function T4(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 l=&quot;onTap&quot;+(t===&quot;End&quot;?&quot;&quot;:t),i=n[l];i&amp;&amp;Sr.postRender(()=&gt;i(r,Wd(r)))}class JD extends No{mount(){const{current:r}=this.node;r&amp;&amp;(this.unmount=RI(r,(t,n)=&gt;(T4(this.node,n,&quot;Start&quot;),(l,{success:i})=&gt;T4(this.node,l,i?&quot;End&quot;:&quot;Cancel&quot;)),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const zy=new WeakMap,_x=new WeakMap,eL=e=&gt;{const r=zy.get(e.target);r&amp;&amp;r(e)},tL=e=&gt;{e.forEach(eL)};function rL({root:e,...r}){const t=e||document;_x.has(t)||_x.set(t,{});const n=_x.get(t),l=JSON.stringify(r);return n[l]||(n[l]=new IntersectionObserver(tL,{root:e,...r})),n[l]}function nL(e,r,t){const n=rL(r);return zy.set(e,t),n.observe(e),()=&gt;{zy.delete(e),n.unobserve(e)}}const iL={some:0,all:1};class sL extends No{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:t,margin:n,amount:l=&quot;some&quot;,once:i}=r,o={root:t?t.current:void 0,rootMargin:n,threshold:typeof l==&quot;number&quot;?l:iL[l]},u=c=&gt;{const{isIntersecting:a}=c;if(this.isInView===a||(this.isInView=a,i&amp;&amp;!a&amp;&amp;this.hasEnteredView))return;a&amp;&amp;(this.hasEnteredView=!0),this.node.animationState&amp;&amp;this.node.animationState.setActive(&quot;whileInView&quot;,a);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),h=a?d:f;h&amp;&amp;h(c)};return nL(this.node.current,o,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(aL(r,t))&amp;&amp;this.startObserver()}unmount(){}}function aL({viewport:e={}},{viewport:r={}}={}){return t=&gt;e[t]!==r[t]}const oL={inView:{Feature:sL},tap:{Feature:JD},focus:{Feature:QD},hover:{Feature:ZD}},lL={layout:{ProjectionNode:W8,MeasureLayout:sC}},cL={...TD,...oL,...YD,...lL},I4=ED(cL,AD);const uL=e=&gt;e.replace(/([a-z0-9])([A-Z])/g,&quot;$1-$2&quot;).toLowerCase(),dL=e=&gt;e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,t,n)=&gt;n?n.toUpperCase():t.toLowerCase()),R4=e=&gt;{const r=dL(e);return r.charAt(0).toUpperCase()+r.slice(1)},aC=(...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(),fL=e=&gt;{for(const r in e)if(r.startsWith(&quot;aria-&quot;)||r===&quot;role&quot;||r===&quot;title&quot;)return!0};var hL={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 mL=I.forwardRef(({color:e=&quot;currentColor&quot;,size:r=24,strokeWidth:t=2,absoluteStrokeWidth:n,className:l=&quot;&quot;,children:i,iconNode:o,...u},c)=&gt;I.createElement(&quot;svg&quot;,{ref:c,...hL,width:r,height:r,stroke:e,strokeWidth:n?Number(t)*24/Number(r):t,className:aC(&quot;lucide&quot;,l),...!i&amp;&amp;!fL(u)&amp;&amp;{&quot;aria-hidden&quot;:&quot;true&quot;},...u},[...o.map(([a,d])=&gt;I.createElement(a,d)),...Array.isArray(i)?i:[i]]));const zt=(e,r)=&gt;{const t=I.forwardRef(({className:n,...l},i)=&gt;I.createElement(mL,{ref:i,iconNode:r,className:aC(`lucide-${uL(R4(e))}`,`lucide-${e}`,n),...l}));return t.displayName=R4(e),t};const pL=[[&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;}]],gL=zt(&quot;arrow-left-right&quot;,pL);const xL=[[&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;}]],$y=zt(&quot;arrow-right&quot;,xL);const bL=[[&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;}]],yL=zt(&quot;calendar-days&quot;,bL);const vL=[[&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;}]],wL=zt(&quot;camera&quot;,vL);const _L=[[&quot;path&quot;,{d:&quot;M20 6 9 17l-5-5&quot;,key:&quot;1gmf2c&quot;}]],D4=zt(&quot;check&quot;,_L);const jL=[[&quot;path&quot;,{d:&quot;m6 9 6 6 6-6&quot;,key:&quot;qrunsl&quot;}]],Uy=zt(&quot;chevron-down&quot;,jL);const SL=[[&quot;path&quot;,{d:&quot;m15 18-6-6 6-6&quot;,key:&quot;1wnfg3&quot;}]],kL=zt(&quot;chevron-left&quot;,SL);const NL=[[&quot;path&quot;,{d:&quot;m9 18 6-6-6-6&quot;,key:&quot;mthhwq&quot;}]],CL=zt(&quot;chevron-right&quot;,NL);const EL=[[&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;}]],Vy=zt(&quot;circle-alert&quot;,EL);const AL=[[&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;}]],ML=zt(&quot;circle-check-big&quot;,AL);const OL=[[&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;}]],L4=zt(&quot;circle-user&quot;,OL);const PL=[[&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;}]],TL=zt(&quot;circle-x&quot;,PL);const IL=[[&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;}]],RL=zt(&quot;credit-card&quot;,IL);const DL=[[&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;}]],qy=zt(&quot;dollar-sign&quot;,DL);const LL=[[&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;}]],FL=zt(&quot;download&quot;,LL);const BL=[[&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;}]],zL=zt(&quot;ellipsis-vertical&quot;,BL);const $L=[[&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;}]],wa=zt(&quot;file-down&quot;,$L);const UL=[[&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;}]],F4=zt(&quot;file-spreadsheet&quot;,UL);const VL=[[&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;}]],km=zt(&quot;file-text&quot;,VL);const qL=[[&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;}]],HL=zt(&quot;hand-helping&quot;,qL);const WL=[[&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;}]],F1=zt(&quot;heart&quot;,WL);const KL=[[&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;}]],Hy=zt(&quot;house&quot;,KL);const XL=[[&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;}]],GL=zt(&quot;landmark&quot;,XL);const YL=[[&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;}]],B4=zt(&quot;layout-dashboard&quot;,YL);const ZL=[[&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;,ZL);const JL=[[&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;}]],eF=zt(&quot;log-out&quot;,JL);const tF=[[&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;}]],mo=zt(&quot;mail&quot;,tF);const rF=[[&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;}]],nF=zt(&quot;map-pin&quot;,rF);const iF=[[&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;}]],z4=zt(&quot;message-square&quot;,iF);const sF=[[&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;}]],oC=zt(&quot;paperclip&quot;,sF);const aF=[[&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;}]],od=zt(&quot;phone&quot;,aF);const oF=[[&quot;path&quot;,{d:&quot;M5 12h14&quot;,key:&quot;1ays0h&quot;}],[&quot;path&quot;,{d:&quot;M12 5v14&quot;,key:&quot;s699le&quot;}]],am=zt(&quot;plus&quot;,oF);const lF=[[&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;}]],cF=zt(&quot;receipt&quot;,lF);const uF=[[&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;}]],B1=zt(&quot;refresh-cw&quot;,uF);const dF=[[&quot;path&quot;,{d:&quot;M12 3v18&quot;,key:&quot;108xh3&quot;}],[&quot;path&quot;,{d:&quot;m19 8 3 8a5 5 0 0 1-6 0zV7&quot;,key:&quot;zcdpyk&quot;}],[&quot;path&quot;,{d:&quot;M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1&quot;,key:&quot;1yorad&quot;}],[&quot;path&quot;,{d:&quot;m5 8 3 8a5 5 0 0 1-6 0zV7&quot;,key:&quot;eua70x&quot;}],[&quot;path&quot;,{d:&quot;M7 21h10&quot;,key:&quot;1b0cd5&quot;}]],fF=zt(&quot;scale&quot;,dF);const hF=[[&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;}]],lC=zt(&quot;search&quot;,hF);const mF=[[&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;}]],Wy=zt(&quot;settings&quot;,mF);const pF=[[&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;}]],gF=zt(&quot;tags&quot;,pF);const xF=[[&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;}]],bF=zt(&quot;trash-2&quot;,xF);const yF=[[&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;}]],vF=zt(&quot;trending-up&quot;,yF);const wF=[[&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;}]],_F=zt(&quot;triangle-alert&quot;,wF);const jF=[[&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;}]],Nm=zt(&quot;user-cog&quot;,jF);const SF=[[&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;}]],Cm=zt(&quot;users&quot;,SF);const kF=[[&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;}]],cC=zt(&quot;wallet&quot;,kF);const NF=[[&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;}]],pr=zt(&quot;x&quot;,NF),jx=&quot;/logoHaggai.avif&quot;,CF=&quot;/seminaireregional.webp&quot;,Xu=[&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;],EF=[{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:CF,imageAlt:&quot;Participants au Séminaire Régional Hybride&quot;,buttonLabel:&quot;S&#039;inscrire&quot;}],AF=[{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 uC(...e){return e.filter(Boolean).join(&quot; &quot;)}function $4({children:e,className:r=&quot;&quot;,...t}){return s.jsxs(&quot;a&quot;,{className:uC(&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,s.jsx($y,{className:&quot;h-4 w-4&quot;})]})}function MF({children:e,className:r=&quot;&quot;,...t}){return s.jsx(&quot;a&quot;,{className:uC(&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 OF(){const[e,r]=I.useState(0),[t,n]=I.useState(!1);I.useEffect(()=&gt;{const c=setInterval(()=&gt;{r(a=&gt;(a+1)%Xu.length)},5e3);return()=&gt;clearInterval(c)},[]);const l=()=&gt;{r(c=&gt;(c-1+Xu.length)%Xu.length)},i=()=&gt;{r(c=&gt;(c+1)%Xu.length)},o=c=&gt;{c.preventDefault();const a=document.getElementById(&quot;events&quot;);a&amp;&amp;a.scrollIntoView({behavior:&quot;smooth&quot;})},u=c=&gt;{c.preventDefault();const a=document.getElementById(&quot;speakers&quot;);a&amp;&amp;a.scrollIntoView({behavior:&quot;smooth&quot;})};return s.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-surface-0 font-sans&quot;,children:[s.jsxs(&quot;header&quot;,{className:&quot;sticky top-0 z-50 border-b border-ink-500/20 bg-brand-700 shadow-soft&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;mx-auto flex items-center justify-between px-[10%] py-1 sm:py-1.5&quot;,children:[s.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:[s.jsx(&quot;img&quot;,{src:jx,alt:&quot;Sommet Francophone&quot;,className:&quot;h-6 sm:h-7 md:h-8 w-auto flex-shrink-0 brightness-0 invert&quot;}),s.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;})]}),s.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:[s.jsx(&quot;a&quot;,{className:&quot;hover:text-surface-0 transition-colors uppercase&quot;,href:&quot;#events&quot;,onClick:o,children:&quot;Événements&quot;}),s.jsx(&quot;a&quot;,{className:&quot;hover:text-surface-0 transition-colors uppercase&quot;,href:&quot;#speakers&quot;,onClick:u,children:&quot;Intervenants&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;hidden md:flex items-center gap-2 sm:gap-3&quot;,children:[s.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;}),s.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;}),s.jsx(&quot;div&quot;,{className:&quot;h-6 w-px bg-surface-0/30 mx-1&quot;}),s.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;})]}),s.jsx(&quot;div&quot;,{className:&quot;md:hidden&quot;,children:s.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:s.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?s.jsx(&quot;path&quot;,{d:&quot;M6 18L18 6M6 6l12 12&quot;}):s.jsx(&quot;path&quot;,{d:&quot;M4 6h16M4 12h16M4 18h16&quot;})})})})]}),t&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;md:hidden py-4 px-[10%] space-y-2 border-t border-surface-0/20&quot;,children:[s.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:c=&gt;{n(!1),o(c)},children:&quot;Événements&quot;}),s.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:c=&gt;{n(!1),u(c)},children:&quot;Intervenants&quot;}),s.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;}),s.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;}),s.jsx(&quot;div&quot;,{className:&quot;h-px bg-surface-0/20 my-2&quot;}),s.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;})]})]}),s.jsxs(&quot;section&quot;,{className:&quot;relative overflow-hidden text-surface-0&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;absolute inset-0&quot;,children:[s.jsx(nD,{mode:&quot;wait&quot;,children:s.jsx(I4.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(${Xu[e]})`}},e)}),s.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;}),s.jsx(&quot;div&quot;,{className:&quot;absolute -left-40 -top-40 h-96 w-96 rounded-full bg-brand-700/15 blur-3xl&quot;}),s.jsx(&quot;div&quot;,{className:&quot;absolute -right-40 top-10 h-96 w-96 rounded-full bg-brand-700/10 blur-3xl&quot;})]}),s.jsx(&quot;button&quot;,{onClick:l,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:s.jsx(kL,{className:&quot;w-5 h-5 sm:w-6 sm:h-6 text-white&quot;})}),s.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:s.jsx(CL,{className:&quot;w-5 h-5 sm:w-6 sm:h-6 text-white&quot;})}),s.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:s.jsxs(I4.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.6},className:&quot;max-w-4xl text-center&quot;,children:[s.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;}),s.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;}),s.jsx(&quot;div&quot;,{className:&quot;mt-8 sm:mt-10 flex justify-center&quot;,children:s.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;,s.jsx($y,{className:&quot;h-4 w-4 sm:h-5 sm:w-5&quot;})]})})]})})]}),s.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:s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 sm:gap-3&quot;,children:[s.jsx(&quot;img&quot;,{src:jx,alt:&quot;Sommet Francophone&quot;,className:&quot;h-7 sm:h-8 md:h-9 w-auto brightness-0 invert&quot;}),s.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;}),s.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:s.jsx(&quot;span&quot;,{className:&quot;text-brand-900 text-[10px] sm:text-xs md:text-sm font-semibold&quot;,children:&quot;26&quot;})})]}),s.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;})]})}),s.jsx(&quot;section&quot;,{className:&quot;bg-surface-0 py-14 md:py-18 lg:py-24&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;max-w-4xl&quot;,children:[s.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;,s.jsx(&quot;br&quot;,{}),&quot;Francophone&quot;,s.jsx(&quot;br&quot;,{}),&quot;2026&quot;]}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 sm:gap-4 mb-4 sm:mb-6&quot;,children:[s.jsx(yL,{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;}),s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 sm:gap-4 mb-12 sm:mb-16&quot;,children:[s.jsx(nF,{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;}),s.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;})]}),s.jsx(&quot;div&quot;,{className:&quot;flex flex-col sm:flex-row gap-4 sm:gap-6&quot;,children:s.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;})})]})})}),s.jsx(&quot;section&quot;,{className:&quot;bg-brand-900 text-surface-0&quot;,children:s.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:s.jsxs(&quot;div&quot;,{className:&quot;mx-auto max-w-3xl text-center&quot;,children:[s.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;}),s.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;}),s.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;})]})})}),s.jsx(&quot;section&quot;,{id:&quot;speakers&quot;,className:&quot;bg-brand-50 py-14 md:py-18 lg:py-24&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:[s.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;}),s.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-2 sm:grid-cols-4 gap-3 sm:gap-4 md:gap-5&quot;,children:AF.slice(0,4).map((c,a)=&gt;s.jsxs(&quot;div&quot;,{className:&quot;flex flex-col items-center text-center&quot;,children:[s.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:s.jsx(&quot;img&quot;,{src:c.img,alt:c.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;})}),s.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:c.name}),s.jsx(&quot;p&quot;,{className:&quot;text-xs sm:text-sm font-body font-extralight text-ink-500 leading-relaxed&quot;,children:c.title})]},a))}),s.jsx(&quot;div&quot;,{className:&quot;mt-10 flex justify-center&quot;,children:s.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;,s.jsx($y,{className:&quot;h-4 w-4&quot;})]})})]})}),s.jsx(&quot;section&quot;,{id:&quot;events&quot;,className:&quot;bg-surface-0&quot;,children:s.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:[s.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6 py-10 sm:py-12&quot;,children:s.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;})}),s.jsx(&quot;div&quot;,{className:&quot;space-y-0&quot;,children:EF.map((c,a)=&gt;s.jsx(&quot;div&quot;,{className:&quot;group overflow-hidden&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;relative aspect-video overflow-hidden bg-ink-500 bg-opacity-10&quot;,children:[s.jsx(&quot;img&quot;,{src:c.imageUrl,alt:c.imageAlt,className:&quot;h-full w-full object-cover transition duration-500 group-hover:scale-[1.02] brightness-110&quot;,loading:&quot;lazy&quot;}),s.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;}),s.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:s.jsxs(&quot;div&quot;,{className:&quot;space-y-3 w-full&quot;,children:[s.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:c.title}),s.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:c.title===&quot;Séminaire Régional Hybride&quot;?s.jsxs(s.Fragment,{children:[s.jsx(&quot;p&quot;,{children:&quot;Du 22 au 30 oct : Session en ligne&quot;}),s.jsx(&quot;p&quot;,{children:&quot;Du 15 au 19 nov : Présentiel au Burkina Faso&quot;})]}):s.jsx(&quot;p&quot;,{children:c.dateLocation})}),s.jsxs(&quot;div&quot;,{className:&quot;pt-4 flex flex-wrap gap-3&quot;,children:[s.jsx($4,{href:&quot;/inscription&quot;,className:&quot;px-4 py-2&quot;,children:c.buttonLabel}),c.title===&quot;Séminaire Régional Hybride&quot;&amp;&amp;s.jsx(MF,{href:&quot;/inscription?preselect=recommend&quot;,className:&quot;px-4 py-2&quot;,children:&quot;Recommander&quot;})]})]})})]})},a))})]})}),s.jsx(&quot;section&quot;,{id:&quot;register&quot;,className:&quot;bg-surface-0 py-14 md:py-18 lg:py-24&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:s.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:[s.jsx(&quot;div&quot;,{className:&quot;absolute -left-24 -top-24 h-72 w-72 rounded-full bg-brand-700/22 blur-3xl&quot;}),s.jsx(&quot;div&quot;,{className:&quot;absolute -right-24 -bottom-24 h-72 w-72 rounded-full bg-brand-700/16 blur-3xl&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;relative mx-auto max-w-2xl text-center text-surface-0&quot;,children:[s.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;}),s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;mt-7 flex flex-col justify-center gap-3 sm:flex-row&quot;,children:[s.jsx($4,{href:&quot;/inscription&quot;,children:&quot;S&#039;inscrire maintenant&quot;}),s.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;}),s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;mt-8 grid gap-3 sm:grid-cols-[1fr_auto]&quot;,children:[s.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;}),s.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;})]})]})]})})}),s.jsx(&quot;footer&quot;,{className:&quot;border-t border-ink-500/20 bg-brand-900 text-surface-0&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6 py-10&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-8 mb-8&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 mb-3&quot;,children:[s.jsx(&quot;img&quot;,{src:jx,alt:&quot;Sommet Francophone&quot;,className:&quot;h-10 md:h-12 w-auto brightness-0 invert&quot;}),s.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-surface-0&quot;,children:&quot;Sommet Francophone&quot;})]}),s.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsxs(&quot;ul&quot;,{className:&quot;space-y-2 text-sm sm:text-base text-surface-0/70&quot;,children:[s.jsx(&quot;li&quot;,{children:s.jsx(&quot;a&quot;,{href:&quot;#events&quot;,onClick:o,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Événements&quot;})}),s.jsx(&quot;li&quot;,{children:s.jsx(&quot;a&quot;,{href:&quot;#speakers&quot;,onClick:u,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Intervenants&quot;})}),s.jsx(&quot;li&quot;,{children:s.jsx(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Inscription&quot;})}),s.jsx(&quot;li&quot;,{children:s.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Contributions&quot;})})]})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.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;,s.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;})]})]})]}),s.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:s.jsxs(&quot;p&quot;,{children:[&quot;© &quot;,new Date().getFullYear(),&quot; Sommet Francophone. Tous droits réservés.&quot;]})})]})})]})}function PF(){const[e,r]=I.useState(!1);return s.jsxs(&quot;nav&quot;,{className:&quot;bg-brand-700 shadow-soft sticky top-0 z-50&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;mx-auto flex items-center justify-between px-[10%] py-1 sm:py-1.5&quot;,children:[s.jsxs(dr,{to:&quot;/&quot;,className:&quot;flex items-center gap-2 hover:opacity-80 transition-opacity flex-shrink-0 min-w-0&quot;,children:[s.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;}),s.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;})]}),s.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:[s.jsx(dr,{to:&quot;/#events&quot;,className:&quot;hover:opacity-80 transition-opacity uppercase&quot;,children:&quot;Événements&quot;}),s.jsx(dr,{to:&quot;/#speakers&quot;,className:&quot;hover:opacity-80 transition-opacity uppercase&quot;,children:&quot;Intervenants&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;hidden md:flex items-center gap-2 sm:gap-3&quot;,children:[s.jsx(dr,{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;}),s.jsx(dr,{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;}),s.jsx(&quot;div&quot;,{className:&quot;h-6 w-px bg-surface-0/30 mx-1&quot;}),s.jsx(dr,{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;})]}),s.jsx(&quot;div&quot;,{className:&quot;md:hidden&quot;,children:s.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:s.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?s.jsx(&quot;path&quot;,{d:&quot;M6 18L18 6M6 6l12 12&quot;}):s.jsx(&quot;path&quot;,{d:&quot;M4 6h16M4 12h16M4 18h16&quot;})})})})]}),e&amp;&amp;s.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:[s.jsx(dr,{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;}),s.jsx(dr,{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;}),s.jsx(dr,{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;}),s.jsx(dr,{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;}),s.jsx(&quot;div&quot;,{className:&quot;h-px bg-surface-0/20 my-2&quot;}),s.jsx(dr,{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 TF(){return s.jsx(&quot;footer&quot;,{className:&quot;bg-brand-900 text-white mt-auto&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;max-w-container mx-auto px-4 sm:px-6 lg:px-8 py-12&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-8&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 mb-3&quot;,children:[s.jsx(&quot;img&quot;,{src:&quot;/logoHaggai.avif&quot;,alt:&quot;Sommet Francophone&quot;,className:&quot;h-10 md:h-12 w-auto&quot;}),s.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-white&quot;,children:&quot;Sommet Francophone&quot;})]}),s.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h4&quot;,{className:&quot;font-semibold mb-4&quot;,children:&quot;Liens rapides&quot;}),s.jsxs(&quot;ul&quot;,{className:&quot;space-y-2 text-sm text-gray-300&quot;,children:[s.jsx(&quot;li&quot;,{children:s.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Événements&quot;})}),s.jsx(&quot;li&quot;,{children:s.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Inscription&quot;})}),s.jsx(&quot;li&quot;,{children:s.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Contributions&quot;})})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h4&quot;,{className:&quot;font-semibold mb-4&quot;,children:&quot;Contact&quot;}),s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-gray-300 space-y-2&quot;,children:[s.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Pour toute question :&quot;,&quot; &quot;,s.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;})]}),s.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Support / communication :&quot;,&quot; &quot;,s.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;]}),s.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Questions finance :&quot;,&quot; &quot;,s.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;})]})]})]})]}),s.jsx(&quot;div&quot;,{className:&quot;mt-8 pt-8 border-t border-gray-700 text-center text-sm text-gray-400&quot;,children:s.jsxs(&quot;p&quot;,{children:[&quot;© &quot;,new Date().getFullYear(),&quot; Sommet Francophone. Tous droits réservés.&quot;]})})]})})}function ul({children:e}){return s.jsxs(&quot;div&quot;,{className:&quot;min-h-screen flex flex-col bg-brand-50&quot;,children:[s.jsx(PF,{}),s.jsx(&quot;main&quot;,{className:&quot;flex-1 pt-0&quot;,children:e}),s.jsx(TF,{})]})}const IF=&quot;https://api.sommetfrancophone.org/api&quot;;class Bt 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 RF{baseUrl;authToken=null;constructor(r=IF){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 l=this.baseUrl.endsWith(&quot;/&quot;)?this.baseUrl.slice(0,-1):this.baseUrl,i=r.startsWith(&quot;/&quot;)?r:`/${r}`;n=`${l}${i}`}else{const l=this.baseUrl.endsWith(&quot;/&quot;)?this.baseUrl.slice(0,-1):this.baseUrl;r.startsWith(&quot;/&quot;)?n=`${l}${r}`:n=new URL(r,`${l}/`).toString()}if(t&amp;&amp;Object.keys(t).length&gt;0){const l=[];if(Object.entries(t).forEach(([i,o])=&gt;{o!=null&amp;&amp;(Array.isArray(o)?o.forEach(u=&gt;{l.push(`${encodeURIComponent(i)}[]=${encodeURIComponent(String(u))}`)}):l.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(o))}`))}),l.length&gt;0){const i=n.includes(&quot;?&quot;)?&quot;&amp;&quot;:&quot;?&quot;;n=`${n}${i}${l.join(&quot;&amp;&quot;)}`}}return n}async request(r,t={}){const{params:n,requireAuth:l=!1,unwrapResponse:i=!0,headers:o={},...u}=t,c=this.buildUrl(r,n),a=u.body instanceof FormData,d={Accept:&quot;application/json&quot;};if(a||(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()),l){const h=this.getAuthToken();h&amp;&amp;(d.Authorization=`Bearer ${h}`)}const f={...d,...o};a&amp;&amp;&quot;Content-Type&quot;in f&amp;&amp;delete f[&quot;Content-Type&quot;];try{const h=u.body,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(c,{...u,body:h,headers:f});if(p.status===204)return null;const x=p.headers.get(&quot;content-type&quot;),g=x&amp;&amp;x.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 Bt(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=y.error,_=typeof y.message==&quot;string&quot;&amp;&amp;y.message||(v&amp;&amp;typeof v==&quot;object&quot;&amp;&amp;v!==null&amp;&amp;&quot;message&quot;in v&amp;&amp;typeof v.message==&quot;string&quot;?v.message:&quot;&quot;)||`HTTP ${p.status}: ${p.statusText}`,C=typeof y.error==&quot;object&quot;&amp;&amp;y.error!==null&amp;&amp;&quot;code&quot;in y.error?y.error:void 0,M={message:_,errors:y.errors!==void 0&amp;&amp;y.errors!==null&amp;&amp;typeof y.errors==&quot;object&quot;?y.errors:void 0};throw typeof y.existing_registration_id==&quot;number&quot;&amp;&amp;(M.existing_registration_id=y.existing_registration_id),typeof y.status==&quot;string&quot;&amp;&amp;(M.status=y.status),C!==void 0&amp;&amp;(M.error=C),new Bt(p.status,M,M.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 Bt?h:h instanceof TypeError&amp;&amp;h.message.includes(&quot;fetch&quot;)?new Bt(0,{message:&quot;Erreur de connexion au serveur&quot;},&quot;Impossible de se connecter au serveur&quot;):new Bt(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),l={Accept:&quot;text/csv&quot;};t?.requireAuth!==!1&amp;&amp;this.getAuthToken()&amp;&amp;(l.Authorization=`Bearer ${this.getAuthToken()}`);const i=await fetch(n,{method:&quot;GET&quot;,headers:l});if(!i.ok){const o=await i.text();let u;try{u=JSON.parse(o)}catch{u={message:o||`HTTP ${i.status}`}}throw new Bt(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 Be=new RF,z1={async list(e){const r=await Be.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 Be.get(`/events/${e}`)},async getPricingPlans(e){return Be.get(`/events/${e}/plans`)},async getSettings(e){return(await Be.get(`/events/${e}/settings`)).settings||{}}},$1={async create(e,r){try{return await Be.post(`/public/events/${e}/registrations`,r)}catch(t){throw t instanceof Bt&amp;&amp;t.status===409,t}},async verify(e){return Be.get(`/public/registrations/verify/${e}`)},async resendVerification(e){const r={};return typeof e==&quot;number&quot;?r.registration_id=e:r.email=e,Be.post(&quot;/public/registrations/resend-verification&quot;,r)}},U4={async create(e){return await Be.post(&quot;/public/recommendations&quot;,e)}},fi={async login(e){const r=await Be.post(&quot;/auth/login&quot;,e);return r&amp;&amp;r.token&amp;&amp;Be.setAuthToken(r.token),r},async register(e){const r=await Be.post(&quot;/auth/register&quot;,e);return r.token&amp;&amp;Be.setAuthToken(r.token),r},async logout(){try{await Be.post(&quot;/auth/logout&quot;,void 0,{requireAuth:!0})}catch(e){if(!(e instanceof Bt&amp;&amp;e.status===401))throw e}finally{Be.setAuthToken(null)}},async me(){try{return await Be.get(&quot;/auth/me&quot;,{requireAuth:!0})}catch(e){throw e instanceof Bt&amp;&amp;e.status===401&amp;&amp;Be.setAuthToken(null),e}},async checkActivation(e){return Be.get(&quot;/auth/activate/check&quot;,{params:{token:e.trim()}})},async activate(e){const r=await Be.post(&quot;/auth/activate&quot;,e);return r?.token&amp;&amp;Be.setAuthToken(r.token),r},async forgotPassword(e){return Be.post(&quot;/auth/forgot-password&quot;,{email:e.email.trim()})},async resetPassword(e){return Be.post(&quot;/auth/reset-password&quot;,{email:e.email.trim(),token:e.token.trim(),password:e.password,password_confirmation:e.password_confirmation})},isAuthenticated(){return Be.getAuthToken()!==null}};function Ky(e){return e.status===&quot;draft&quot;?!1:!!e.user?.id}const _a={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.country&amp;&amp;(r.country=e.country),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),Be.get(&quot;/admin/registrations&quot;,{params:r,requireAuth:!0})},async get(e){return Be.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),Be.get(&quot;/admin/registrations/stats&quot;,{params:r,requireAuth:!0})},async registrationCountries(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),Be.get(&quot;/admin/registrations/countries&quot;,{params:r,requireAuth:!0})},async updateStatus(e,r){return Be.patch(`/admin/registrations/${e}/status`,r,{requireAuth:!0})},async update(e,r){return Be.put(`/admin/registrations/${e}`,r,{requireAuth:!0})},async delete(e){return Be.delete(`/admin/registrations/${e}`,{requireAuth:!0})},async resendActivationEmail(e){return Be.post(`/admin/registrations/${e}/resend-activation-email`,{},{requireAuth:!0})},async resetParticipantPassword(e,r){return Be.post(`/admin/registrations/${e}/reset-participant-password`,r,{requireAuth:!0})}},Sd={async list(e={}){return await Be.get(&quot;/admin/recommendations&quot;,{params:e,requireAuth:!0})},async show(e){return await Be.get(`/admin/recommendations/${e}`,{requireAuth:!0})},async updateStatus(e,r){return await Be.patch(`/admin/recommendations/${e}/status`,r,{requireAuth:!0})},async sendEmail(e,r){return await Be.post(`/admin/recommendations/${e}/send-email`,r,{requireAuth:!0})},async delete(e){await Be.delete(`/admin/recommendations/${e}`,{requireAuth:!0})}},dC={async changePassword(e){return Be.post(&quot;/account/change-password&quot;,e,{requireAuth:!0})}},Xy=[&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;],om=[...Xy,&quot;participant&quot;,&quot;guest&quot;],DF=om,Gy={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;},LF={COMMISSION_FINANCE_SOMMET:Gy.COMMISSION_FINANCE,COMMISSION_FINANCE_SEMINAIRE:&quot;Commission Finance Séminaire&quot;,COMMISSION_ADMINISTRATION_SOMMET:Gy.COMMISSION_ADMINISTRATION,COMMISSION_ADMINISTRATION_SEMINAIRE:&quot;Commission Administration Séminaire&quot;};function Em(e){return Gy[e]??LF[e]??e}const FF={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 V4(e){return FF[e]??e}const wo={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),Be.get(&quot;/admin/users&quot;,{params:r,requireAuth:!0})},async get(e){return Be.get(`/admin/users/${e}`,{requireAuth:!0})},async create(e){return Be.post(&quot;/admin/users&quot;,e,{requireAuth:!0})},async update(e,r){return Be.put(`/admin/users/${e}`,r,{requireAuth:!0})},async delete(e){return Be.delete(`/admin/users/${e}`,{requireAuth:!0})},async setDeactivated(e,r){return Be.patch(`/admin/users/${e}/deactivated`,{deactivated:r},{requireAuth:!0})},async sendActivation(e){return Be.post(`/admin/users/${e}/send-activation`,void 0,{requireAuth:!0})},async resetPassword(e,r){return Be.post(`/admin/users/${e}/reset-password`,r,{requireAuth:!0})}},Sx=&quot;https://api.sommetfrancophone.org/api&quot;;async function BF(){const e=await Be.get(&quot;/registrations/me&quot;,{requireAuth:!0});return Array.isArray(e)?e:e?.data??[]}async function zF(e,r){return Be.post(`/registrations/${e}/payments/sycapay/init`,r,{requireAuth:!0,unwrapResponse:!1})}async function $F(e,r){return Be.post(`/registrations/${e}/payments/sycapay/open-amount/init`,r,{requireAuth:!0,unwrapResponse:!1})}function fC(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 UF(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 q4(e,r,t){return Be.get(`/registrations/${e}/payments/${r}/status`,{requireAuth:!0,params:t?.refresh?{refresh:1}:void 0})}async function VF(e,r){const n=`${Sx.endsWith(&quot;/&quot;)?Sx.slice(0,-1):Sx}/receipts/${e}/download`,l=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,i=await fetch(n,{headers:{Accept:&quot;application/pdf&quot;,...l&amp;&amp;{Authorization:`Bearer ${l}`}}});if(!i.ok){const c=await i.json().catch(()=&gt;({message:i.statusText}));throw{status:i.status,data:c}}const o=await i.blob(),u=document.createElement(&quot;a&quot;);u.href=URL.createObjectURL(o),u.download=r||`receipt-${e}.pdf`,u.click(),URL.revokeObjectURL(u.href)}const Ds={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),Be.get(&quot;/admin/treasury-accounts&quot;,{params:r,requireAuth:!0})},async create(e){return Be.post(&quot;/admin/treasury-accounts&quot;,e,{requireAuth:!0})},async update(e,r){return Be.put(`/admin/treasury-accounts/${e}`,r,{requireAuth:!0})},async delete(e){return Be.delete(`/admin/treasury-accounts/${e}`,{requireAuth:!0})}},Am={async list(e){const r=await Be.get(&quot;/admin/event-sycapay-transit-map&quot;,{params:e?.event_id!=null?{event_id:e.event_id}:void 0,requireAuth:!0});return Array.isArray(r)?r:r&amp;&amp;typeof r==&quot;object&quot;&amp;&amp;&quot;data&quot;in r&amp;&amp;Array.isArray(r.data)?r.data:[]},async create(e){return Be.post(&quot;/admin/event-sycapay-transit-map&quot;,e,{requireAuth:!0})},async update(e,r){return Be.put(`/admin/event-sycapay-transit-map/${e}`,r,{requireAuth:!0})},async delete(e){await Be.delete(`/admin/event-sycapay-transit-map/${e}`,{requireAuth:!0})}},xo={async list(e={}){const r={};e.event_type&amp;&amp;(r.event_type=e.event_type);const t=await Be.get(&quot;/admin/budget-categories&quot;,{params:r,requireAuth:!0});return Array.isArray(t)?t:t?.data??[]},async create(e){const r=await Be.post(&quot;/admin/budget-categories&quot;,e,{requireAuth:!0});return r?.data??r},async update(e,r){const t=await Be.put(`/admin/budget-categories/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await Be.delete(`/admin/budget-categories/${e}`,{requireAuth:!0})}},Yy={list(e={}){return Be.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 Be.getAsBlob(&quot;/admin/audit-logs/export&quot;,{params:r,requireAuth:!0}),n=URL.createObjectURL(t),l=document.createElement(&quot;a&quot;);l.href=n,l.download=`audit-logs-${new Date().toISOString().slice(0,10)}.csv`,l.click(),URL.revokeObjectURL(n)},async purge(e){return await Be.post(&quot;/admin/audit-logs/purge&quot;,{before:e},{requireAuth:!0})}},sl={async list(e){const r=await Be.get(`/finance/events/${e}/budget-lines`,{requireAuth:!0}),t=r?.data??r;return Array.isArray(t)?t:[]},async create(e,r){const t=await Be.post(`/finance/events/${e}/budget-lines`,r,{requireAuth:!0});return t?.data??t},async update(e,r){const t=await Be.put(`/finance/budget-lines/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await Be.delete(`/finance/budget-lines/${e}`,{requireAuth:!0})},async moveUp(e){await Be.post(`/finance/budget-lines/${e}/move-up`,{},{requireAuth:!0})},async moveDown(e){await Be.post(`/finance/budget-lines/${e}/move-down`,{},{requireAuth:!0})}},kx=&quot;https://api.sommetfrancophone.org/api&quot;,Mh={async list(e){const r=await Be.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 l=await Be.postForm(&quot;/finance/expenses&quot;,n,{requireAuth:!0});return l?.data??l},async openExpenseProofInNewTab(e){const t=`${kx.endsWith(&quot;/&quot;)?kx.slice(0,-1):kx}/finance/expenses/${e}/proof`,n=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,l=await fetch(t,{headers:{...n&amp;&amp;{Authorization:`Bearer ${n}`}}});if(!l.ok){const u=await l.json().catch(()=&gt;({message:l.statusText}));throw{status:l.status,data:u}}const i=await l.blob(),o=URL.createObjectURL(i);window.open(o,&quot;_blank&quot;,&quot;noopener,noreferrer&quot;),window.setTimeout(()=&gt;URL.revokeObjectURL(o),12e4)},async update(e,r){const t=await Be.put(`/finance/expenses/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await Be.delete(`/finance/expenses/${e}`,{requireAuth:!0})}},Nx=&quot;https://api.sommetfrancophone.org/api&quot;,Oh={async list(e){const r=await Be.get(&quot;/finance/treasury-movements&quot;,{params:{event_id:e},requireAuth:!0}),t=r?.data??r;return Array.isArray(t)?t:[]},async create(e){const r=new FormData;r.append(&quot;event_id&quot;,String(e.event_id)),r.append(&quot;movement_type&quot;,e.movement_type),r.append(&quot;amount&quot;,String(e.amount)),r.append(&quot;label&quot;,e.label),e.notes?.trim()&amp;&amp;r.append(&quot;notes&quot;,e.notes.trim()),r.append(&quot;proof&quot;,e.proof),e.movement_type===&quot;transfer&quot;?(r.append(&quot;from_treasury_account_id&quot;,String(e.from_treasury_account_id)),r.append(&quot;to_treasury_account_id&quot;,String(e.to_treasury_account_id))):(r.append(&quot;treasury_account_id&quot;,String(e.treasury_account_id)),r.append(&quot;adjustment_direction&quot;,e.adjustment_direction));const t=await Be.postForm(&quot;/finance/treasury-movements&quot;,r,{requireAuth:!0});return t?.data??t},async openMovementProofInNewTab(e){const t=`${Nx.endsWith(&quot;/&quot;)?Nx.slice(0,-1):Nx}/finance/treasury-movements/${e}/proof`,n=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,l=await fetch(t,{headers:{...n&amp;&amp;{Authorization:`Bearer ${n}`}}});if(!l.ok){const u=await l.json().catch(()=&gt;({message:l.statusText}));throw{status:l.status,data:u}}const i=await l.blob(),o=URL.createObjectURL(i);window.open(o,&quot;_blank&quot;,&quot;noopener,noreferrer&quot;),window.setTimeout(()=&gt;URL.revokeObjectURL(o),12e4)}},vc={async get(e){return await Be.get(&quot;/finance/treasury-balances&quot;,{params:{event_id:e},requireAuth:!0})},async downloadCsv(e,r){const t=await Be.getAsBlob(&quot;/finance/treasury-balances/export&quot;,{params:{event_id:e},requireAuth:!0}),n=URL.createObjectURL(t),l=document.createElement(&quot;a&quot;);l.href=n,l.download=`tresorerie_${r}_${new Date().toISOString().slice(0,10)}.csv`,l.rel=&quot;noopener&quot;,document.body.appendChild(l),l.click(),document.body.removeChild(l),URL.revokeObjectURL(n)},async upsertOpeningBalances(e){const r=await Be.put(&quot;/finance/treasury-opening-balances&quot;,e,{requireAuth:!0});return r?.data??r},async listSnapshots(e){const t=await Be.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 Be.post(&quot;/finance/treasury-snapshots&quot;,{event_id:e},{requireAuth:!0});return r?.data??r}},Cx={async storePublic(e){return Be.post(&quot;/public/donations&quot;,e,{requireAuth:!1})},async store(e){return Be.post(&quot;/donations&quot;,e,{requireAuth:!0})},async initPublicSycaPay(e,r){return Be.post(`/public/donations/${e}/sycapay/init`,r,{requireAuth:!1,unwrapResponse:!1})},async initAuthenticatedSycaPay(e,r){return Be.post(`/donations/${e}/sycapay/init`,r,{requireAuth:!0,unwrapResponse:!1})}};async function qF(e,r,t){const n={};return t?.refresh&amp;&amp;(n.refresh=1),t?.donorEmail&amp;&amp;(n.donor_email=t.donorEmail),Be.get(`/public/donations/${e}/payments/${r}/status`,{requireAuth:!1,params:Object.keys(n).length?n:void 0})}const Ex=&quot;https://api.sommetfrancophone.org/api&quot;;async function HF(e,r){const t=Ex.endsWith(&quot;/&quot;)?Ex.slice(0,-1):Ex,n=r?`?donor_email=${encodeURIComponent(r)}`:&quot;&quot;,l=`${t}/public/donations/${e}/receipt/download${n}`,i=await fetch(l,{method:&quot;GET&quot;,headers:{Accept:&quot;application/pdf&quot;}});if(!i.ok){let f={};try{f=await i.json()}catch{}throw new Bt(i.status,{message:f.message||i.statusText})}const o=i.headers.get(&quot;Content-Disposition&quot;);let u=`recu-don-${e}.pdf`;const c=o?.match(/filename=&quot;?([^&quot;;]+)&quot;?/i);c?.[1]&amp;&amp;(u=c[1]);const a=await i.blob(),d=document.createElement(&quot;a&quot;);d.href=URL.createObjectURL(a),d.download=u,d.click(),URL.revokeObjectURL(d.href)}function WF(e){if(!(e instanceof Bt))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 hC(){return Be.get(&quot;/public/sycapay/availability&quot;)}const gc={async listSessions(e={}){const r={};return e.event_id!=null&amp;&amp;(r.event_id=e.event_id),e.channel&amp;&amp;(r.channel=e.channel),e.status&amp;&amp;(r.status=e.status),Be.get(&quot;/finance/reconciliation/sessions&quot;,{params:r,requireAuth:!0})},async createSession(e){return Be.post(&quot;/finance/reconciliation/sessions&quot;,e,{requireAuth:!0})},async updateSession(e,r){return Be.patch(`/finance/reconciliation/sessions/${e}`,r,{requireAuth:!0})},async submitReview(e){return Be.post(`/finance/reconciliation/sessions/${e}/submit-review`,{},{requireAuth:!0})},async validateSession(e){return Be.post(`/finance/reconciliation/sessions/${e}/validate`,{},{requireAuth:!0})},async closeSession(e,r={}){return Be.post(`/finance/reconciliation/sessions/${e}/close`,r,{requireAuth:!0})},async reopenSession(e,r){return Be.post(`/finance/reconciliation/sessions/${e}/reopen`,r,{requireAuth:!0})}};function Mp(e){const[r,t]=I.useState([]),[n,l]=I.useState(!0),[i,o]=I.useState(null),u=I.useCallback(async()=&gt;{l(!0),o(null);try{const c=await z1.list(e);t(c)}catch(c){o(c)}finally{l(!1)}},[e]);return I.useEffect(()=&gt;{u()},[u]),{events:r,loading:n,error:i,refetch:u}}function mC(e){const[r,t]=I.useState([]),[n,l]=I.useState(!0),[i,o]=I.useState(null),u=I.useCallback(async()=&gt;{if(!e){l(!1);return}l(!0),o(null);try{const c=await z1.getPricingPlans(e);t(c)}catch(c){o(c)}finally{l(!1)}},[e]);return I.useEffect(()=&gt;{u()},[u]),{plans:r,loading:n,error:i,refetch:u}}function KF(e={},r=!0){const[t,n]=I.useState(null),[l,i]=I.useState(!0),[o,u]=I.useState(null),c=I.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const a=await _a.list(e);n(a)}catch(a){u(a)}finally{i(!1)}},[e,r]);return I.useEffect(()=&gt;{c()},[c]),{data:t,loading:l,error:o,refetch:c}}function XF(e={},r=!0){const[t,n]=I.useState(null),[l,i]=I.useState(!0),[o,u]=I.useState(null),c=I.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const a=await _a.getStats(e);n(a)}catch(a){u(a)}finally{i(!1)}},[e,r]);return I.useEffect(()=&gt;{c()},[c]),{data:t,loading:l,error:o,refetch:c}}function GF(e={},r=!0){const[t,n]=I.useState([]),[l,i]=I.useState(!0),[o,u]=I.useState(null),c=I.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const a=await _a.registrationCountries(e);n(a.data??[])}catch(a){u(a),n([])}finally{i(!1)}},[e,r]);return I.useEffect(()=&gt;{c()},[c]),{data:t,loading:l,error:o,refetch:c}}function YF(e={},r=!0){const[t,n]=I.useState(null),[l,i]=I.useState(r),[o,u]=I.useState(null),c=I.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const a=await Sd.list(e);n(a)}catch(a){a instanceof Bt?u(a):u(new Bt(500,{message:&quot;Une erreur inattendue est survenue&quot;},&quot;Erreur inconnue&quot;)),n(null)}finally{i(!1)}},[r,e]);return I.useEffect(()=&gt;{c()},[c]),{data:t,loading:l,error:o,refetch:c}}function ZF(e={},r=!0){const[t,n]=I.useState(null),[l,i]=I.useState(!0),[o,u]=I.useState(null),{page:c,per_page:a,role:d,q:f}=e,h=I.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const m=await wo.list({page:c,per_page:a,role:d,q:f});n(m)}catch(m){u(m)}finally{i(!1)}},[c,a,d,f,r]);return I.useEffect(()=&gt;{h()},[h]),{data:t,loading:l,error:o,refetch:h}}function QF(e,r){const[t,n]=I.useState(null),[l,i]=I.useState(!1),[o,u]=I.useState(null),c=I.useCallback(()=&gt;{i(!0),u(null),Yy.list(e).then(n).catch(a=&gt;u(a?.data?.message??&quot;Erreur lors du chargement du journal d&#039;audit.&quot;)).finally(()=&gt;i(!1))},[r,e]);return I.useEffect(()=&gt;{c()},[c]),{data:t,loading:l,error:o,refetch:c}}const JF=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 eB(e){return typeof e==&quot;string&quot;?e:e.name}function tB(e){return typeof e==&quot;string&quot;?e:e.name}function qs(){const[e,r]=I.useState(null),[t,n]=I.useState(!0),[l,i]=I.useState(null),o=async()=&gt;{if(!fi.isAuthenticated())return r(null),n(!1),null;n(!0),i(null);try{const p=await fi.me();return r(p),p}catch(p){return i(p),r(null),null}finally{n(!1)}};I.useEffect(()=&gt;{o()},[]),I.useEffect(()=&gt;{const p=()=&gt;{fi.isAuthenticated()?o():(r(null),n(!1))};window.addEventListener(&quot;storage&quot;,p);const x=setInterval(()=&gt;{!fi.isAuthenticated()&amp;&amp;e&amp;&amp;(r(null),n(!1))},1e3);return()=&gt;{window.removeEventListener(&quot;storage&quot;,p),clearInterval(x)}},[e]);const u=I.useMemo(()=&gt;(e?.roles??[]).map(eB),[e?.roles]),c=I.useMemo(()=&gt;(e?.permissions??[]).map(tB),[e?.permissions]),a=I.useMemo(()=&gt;u.some(p=&gt;JF.has(p)),[u]),d=I.useMemo(()=&gt;u.includes(&quot;participant&quot;)&amp;&amp;!a,[u,a]),f=I.useMemo(()=&gt;p=&gt;u.includes(&quot;SUPER_ADMIN&quot;)?!0:c.includes(p),[u,c]),h=a,m=f(&quot;payments.read&quot;)||f(&quot;batches.read&quot;);return{user:e,loading:t,error:l,isAuthenticated:!!e,isAdmin:h,isTreasurer:m,roles:u,permissions:c,canAccessAdmin:a,isParticipant:d,can:f,refetch:o}}const Re=I.forwardRef(function({variant:r=&quot;primary&quot;,children:t,className:n=&quot;&quot;,...l},i){const o=&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 s.jsx(&quot;button&quot;,{ref:i,className:`${o} ${u[r]} ${n}`,...l,children:t})}),rB=[{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)),Zy=&quot;Ce choix fixe le montant en FCFA sur votre inscription. Le paiement réel est validé plus tard (SycaPay ou saisie finances) selon le canal utilisé.&quot;,H4=&quot;sommet-haggai-franco-2026&quot;,Ax=&quot;seminaire-regional-hybride-2026&quot;,nB=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;}},Ph=rB,W4=[{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;}],K4=[{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;}],X4=[{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 iB(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 l=t.getMonth()-r.getMonth();return(l&lt;0||l===0&amp;&amp;t.getDate()&lt;r.getDate())&amp;&amp;(n-=1),n&lt;0||n&gt;120?null:n}function G4(){return s.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[s.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;}),s.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. 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 sB({preselectedEvents:e,onSuccess:r,onConflict:t,onError:n,onFormLayoutChange:l}){const i=()=&gt;p.selectedEvents.length===0?1:p.selectedEvents.length===1?2:p.selectedEvents.length===2?3:p.selectedEvents.length===3?4:1,[o,u]=I.useState(1),[c,a]=I.useState(!1),[d,f]=I.useState({}),[h,m]=I.useState(!1);I.useEffect(()=&gt;{window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[o]);const[p,x]=I.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;});I.useEffect(()=&gt;{m(p.package_code===&quot;A&quot;)},[p.package_code]),I.useEffect(()=&gt;{p.selectedEvents.includes(&quot;seminar&quot;)&amp;&amp;x(te=&gt;te.seminar_want_to_participate===&quot;oui&quot;?te:{...te,seminar_want_to_participate:&quot;oui&quot;})},[p.selectedEvents]),I.useEffect(()=&gt;{l?.({step:o,selectedEvents:p.selectedEvents})},[o,p.selectedEvents,l]);const g=p.selectedEvents.includes(&quot;summit&quot;)?H4:null,{plans:y,loading:v}=mC(g),_=35e4,C=()=&gt;{if(!p.package_code||!y.length)return null;const te=y.find(se=&gt;se.code===p.package_code);return te?te.price_xof:null},M=(te,se)=&gt;`${te.toLocaleString(&quot;fr-FR&quot;)} FCFA`,T=()=&gt;{if(!(p.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;p.selectedEvents.includes(&quot;seminar&quot;)))return null;const se=C();if(se===null)return null;const de=se+_;return{total:de,currency:&quot;XOF&quot;,formatted:M(de)}},$=()=&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;}],F=te=&gt;{for(const ie of te){if(!ie)continue;const[fe,oe]=ie.split(&quot;-&quot;).map(Number);if(oe&lt;2||oe&gt;8||fe&gt;2026||fe===2026&amp;&amp;oe&gt;9)return!1}return!0},H=te=&gt;{const se=[...p.installment_months];te===1?q(&quot;installment_months&quot;,[se[0]||&quot;&quot;]):te===2?q(&quot;installment_months&quot;,[se[0]||&quot;&quot;,se[1]||&quot;&quot;]):q(&quot;installment_months&quot;,[se[0]||&quot;&quot;,se[1]||&quot;&quot;,se[2]||&quot;&quot;]),q(&quot;installment_count&quot;,te)},W=(te,se)=&gt;{const de=[...p.installment_months];de[te]=se,q(&quot;installment_months&quot;,de)},q=(te,se)=&gt;{x(de=&gt;({...de,[te]:se})),d[te]&amp;&amp;f(de=&gt;{const ce={...de};return delete ce[te],ce})},K=te=&gt;{x(se=&gt;({...se,seminar_confession_religieuse:te,seminar_confession_religieuse_autre:te===&quot;autre&quot;?se.seminar_confession_religieuse_autre:&quot;&quot;})),f(se=&gt;{const de={...se};return delete de.seminar_confession_religieuse,delete de.seminar_confession_religieuse_autre,de})},P=te=&gt;{x(se=&gt;{const de=se.seminar_domaines_etude||[],ce=de.includes(te)?de.filter(ie=&gt;ie!==te):[...de,te];return{...se,seminar_domaines_etude:ce}}),f(se=&gt;{const de={...se};return delete de.seminar_domaines_etude,delete de.seminar_domaine_etude_autre,de})},L=te=&gt;{x(se=&gt;{const de=se.seminar_engagements||[],ce=de.includes(te)?de.filter(ie=&gt;ie!==te):[...de,te];return{...se,seminar_engagements:ce}}),f(se=&gt;{const de={...se};return delete de.seminar_engagements,delete de.seminar_engagements_autre,de})},E=te=&gt;{const se=Ph.find(de=&gt;de.name===te);if(q(&quot;country&quot;,te),se&amp;&amp;se.dialCode!==&quot;+&quot;){const de=p.phone.trim(),ce=se.dialCode+&quot; &quot;;if(!de||de===&quot;&quot;){q(&quot;phone&quot;,ce);return}const ie=Ph.find(fe=&gt;fe.dialCode!==&quot;+&quot;&amp;&amp;(de.startsWith(fe.dialCode)||de.startsWith(fe.dialCode+&quot; &quot;)));if(ie){let fe=de;fe.startsWith(ie.dialCode+&quot; &quot;)?fe=fe.substring(ie.dialCode.length+1):fe.startsWith(ie.dialCode)&amp;&amp;(fe=fe.substring(ie.dialCode.length)),fe=fe.trim(),q(&quot;phone&quot;,ce+fe)}else if(!de.startsWith(&quot;+&quot;))q(&quot;phone&quot;,ce+de);else if(de.match(/^\+\s*(\d+)/)){const oe=de.replace(/^\+\s*/,&quot;&quot;).trim();q(&quot;phone&quot;,ce+oe)}else q(&quot;phone&quot;,ce)}},j=te=&gt;{const se=te.trim(),de=Ph.find(ce=&gt;ce.name===p.country);if(de&amp;&amp;de.dialCode!==&quot;+&quot;&amp;&amp;se.startsWith(de.dialCode)&amp;&amp;se.length&gt;de.dialCode.length){const ce=se.substring(de.dialCode.length);if(ce&amp;&amp;!ce.startsWith(&quot; &quot;)){q(&quot;phone&quot;,de.dialCode+&quot; &quot;+ce);return}}q(&quot;phone&quot;,te)},k=te=&gt;{x(se=&gt;({...se,selectedEvents:[te]})),d.selectedEvents&amp;&amp;f(se=&gt;{const de={...se};return delete de.selectedEvents,de})},S=()=&gt;p.selectedEvents.length===0?(f({selectedEvents:[&quot;Veuillez choisir une option&quot;]}),!1):!0,N=()=&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 se=p.selectedEvents.includes(&quot;seminar&quot;);return p.country.trim()||(te.country=[se?&quot;Le pays de résidence est requis&quot;:&quot;Le pays est requis&quot;]),f(te),Object.keys(te).length===0},O=()=&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},D=()=&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},B=()=&gt;{const te={};for(let de=0;de&lt;p.installment_count;de++)(!p.installment_months[de]||!p.installment_months[de].trim())&amp;&amp;(te[`installment_month_${de}`]=[`L&#039;échéance ${de+1} est requise`]);const se=p.installment_months.filter(de=&gt;de&amp;&amp;de.trim());return se.length&gt;0&amp;&amp;!F(se)&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},Y=()=&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)),Z=()=&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())},ne=()=&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},V=()=&gt;{S()&amp;&amp;u(2)},ee=()=&gt;{const te=i();if(!N())return;const se=p.selectedEvents.includes(&quot;summit&quot;),de=p.selectedEvents.includes(&quot;seminar&quot;),ce=p.selectedEvents.includes(&quot;recommend&quot;),ie=ce&amp;&amp;!se&amp;&amp;!de?!0:B();te===4?O()&amp;&amp;ie&amp;&amp;u(3):te===3?se&amp;&amp;de||se&amp;&amp;ce?O()&amp;&amp;ie&amp;&amp;u(3):de&amp;&amp;ce&amp;&amp;D()&amp;&amp;ie&amp;&amp;u(3):te===2&amp;&amp;(se?O()&amp;&amp;ie&amp;&amp;re():de?D()&amp;&amp;ie&amp;&amp;re():ce&amp;&amp;ne()&amp;&amp;re())},z=()=&gt;{u(1)},R=()=&gt;{u(2)},X=()=&gt;{const te=i();if(!N())return;const se=p.selectedEvents.includes(&quot;summit&quot;),de=p.selectedEvents.includes(&quot;seminar&quot;),ce=p.selectedEvents.includes(&quot;recommend&quot;);te===4?D()&amp;&amp;u(4):te===3&amp;&amp;(se&amp;&amp;de?O()&amp;&amp;D()&amp;&amp;re():se&amp;&amp;ce?O()&amp;&amp;ne()&amp;&amp;re():de&amp;&amp;ce&amp;&amp;ne()&amp;&amp;re())},re=async te=&gt;{const se=p.selectedEvents.includes(&quot;summit&quot;),de=p.selectedEvents.includes(&quot;seminar&quot;),ce=p.selectedEvents.includes(&quot;recommend&quot;),ie=ce&amp;&amp;p.selectedEvents.length===1;if(N()&amp;&amp;!(se&amp;&amp;!O())&amp;&amp;!(de&amp;&amp;!D())&amp;&amp;!(ie&amp;&amp;!ne())&amp;&amp;!(!ie&amp;&amp;!B())){a(!0),f({});try{const fe=[],oe=[],ge=[],xe=[];if(ie)try{const pe={website:&quot;&quot;,event:Ax,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}:{}},ue=await U4.create(pe);oe.push(ue.recommendation_id),r&amp;&amp;r({id:ue.recommendation_id,type:&quot;recommendation&quot;}),a(!1);return}catch(pe){if(pe instanceof Bt)if(pe.status===422){const ue=pe.data.errors||{};f(ue),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;)),a(!1);return}for(const pe of p.selectedEvents){if(pe===&quot;recommend&quot;)continue;const ue=pe===&quot;summit&quot;?H4:Ax;let we=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 Te=y.find(je=&gt;je.code===p.package_code);if(!Te){ge.push(&quot;La formule sélectionnée n&#039;existe pas pour le Sommet&quot;);continue}we=Te.id}else pe===&quot;seminar&quot;&amp;&amp;(we=0);const ke={website:&quot;&quot;,...pe===&quot;summit&quot;&amp;&amp;{pricing_plan_id:we},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(Te=&gt;Te&amp;&amp;Te.trim())&amp;&amp;(ke.installment_config={method:p.payment_method_selected,number_of_installments:p.installment_count,installments:p.installment_months.filter(Te=&gt;Te&amp;&amp;Te.trim()).map(Te=&gt;({month:Te.trim()}))}),pe===&quot;summit&quot;&amp;&amp;(ke.ouaga_resident_confirmed=p.ouaga_resident_confirmed||!1,p.package_code===&quot;D&quot;&amp;&amp;p.spouse_fullname.trim()&amp;&amp;(ke.spouse_fullname=p.spouse_fullname.trim()),p.package_code===&quot;D&quot;&amp;&amp;p.spouse_email?.trim()&amp;&amp;(ke.spouse_email=p.spouse_email.trim().toLowerCase()),p.package_code===&quot;D&quot;&amp;&amp;p.spouse_haggai_id?.trim()&amp;&amp;(ke.spouse_haggai_id=p.spouse_haggai_id.trim())),pe===&quot;seminar&quot;){let Te=&quot;participate&quot;;p.selectedEvents.includes(&quot;seminar&quot;)||(Te=&quot;na&quot;),ke.seminar_intent=Te,ke.seminar_want_to_participate=&quot;oui&quot;,ke.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 je=iB(p.seminar_date_naissance??&quot;&quot;);ke.seminar_age=je!=null&amp;&amp;je&gt;=1?je&gt;120?120:je:25,ke.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;,ke.seminar_church_organization=p.seminar_church_organization.trim(),ke.seminar_role_ministry=p.seminar_role_ministry.trim(),ke.seminar_question_or_concern=p.seminar_question_or_concern.trim(),ke.seminar_date_naissance=p.seminar_date_naissance?.trim()||void 0,ke.seminar_contact_urgence_nom_lien=p.seminar_contact_urgence_nom_lien?.trim()||void 0,ke.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,ke.seminar_domaines_etude=p.seminar_domaines_etude?.length?p.seminar_domaines_etude:void 0,ke.seminar_domaine_etude_autre=p.seminar_domaine_etude_autre?.trim()||void 0,ke.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,ke.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,ke.seminar_besoin_lettre_details=p.seminar_besoin_lettre_details?.trim()||void 0,ke.seminar_sante_details=p.seminar_sante_details?.trim()||void 0,ke.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,ke.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;(ke.seminar_confession_religieuse_autre=p.seminar_confession_religieuse_autre.trim()||void 0),ke.seminar_fardeau_transformation=p.seminar_fardeau_transformation?.trim()||void 0,ke.seminar_recommande_par=p.seminar_recommande_par?.trim()||void 0,ke.seminar_engagements=p.seminar_engagements?.length?p.seminar_engagements:void 0,ke.seminar_engagements_autre=p.seminar_engagements_autre?.trim()||void 0}try{const Te=await $1.create(ue,ke);Te&amp;&amp;Te.registration_id?fe.push(Te.registration_id):(console.error(&quot;Réponse invalide pour&quot;,pe,Te),ge.push(`Réponse invalide lors de l&#039;inscription à ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`))}catch(Te){if(console.error(&quot;Erreur lors de l&#039;inscription à&quot;,pe,Te),Te instanceof Bt)if(Te.status===409){const je=Te.data;je?.existing_registration_id?xe.push({eventType:pe===&quot;summit&quot;?&quot;Sommet&quot;:&quot;Séminaire&quot;,existingId:je.existing_registration_id}):ge.push(`Erreur lors de l&#039;inscription à ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}: ${Te.data.message||&quot;Une erreur est survenue.&quot;}`)}else if(Te.status===422){const je=Te.data?.errors||{};Object.keys(je).length&gt;0&amp;&amp;console.error(&quot;Validation 422 (inscription)&quot;,je);const De=[],Xe={};Object.keys(je).forEach(Ve=&gt;{const et=Array.isArray(je[Ve])?je[Ve]:[je[Ve]];et.forEach(st=&gt;De.push(st)),Xe[`${Ve}_${pe}`]=et,pe===&quot;summit&quot;&amp;&amp;Ve===&quot;pricing_plan_id&quot;&amp;&amp;(Xe.package_code=et),Ve===&quot;payment_method_selected&quot;&amp;&amp;(Xe.payment_method_selected=et),Ve===&quot;ouaga_resident_confirmed&quot;&amp;&amp;(Xe.ouaga_resident_confirmed=et),Ve===&quot;spouse_fullname&quot;&amp;&amp;(Xe.spouse_fullname=et)}),De.length&gt;0&amp;&amp;(Xe._general=De),f(Ve=&gt;({...Ve,...Xe})),ge.push(`Erreurs de validation pour ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`)}else Te.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;}: ${Te.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(ce&amp;&amp;!ie)try{const pe={website:&quot;&quot;,event:Ax,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}:{}},ue=await U4.create(pe);oe.push(ue.recommendation_id)}catch(pe){if(pe instanceof Bt)if(pe.status===422){const ue=pe.data.errors||{};f(we=&gt;({...we,...ue})),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(fe.length&gt;0||oe.length&gt;0){if(r&amp;&amp;(fe.length&gt;0?r({id:fe[0],type:&quot;registration&quot;}):oe.length&gt;0&amp;&amp;r({id:oe[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;),ue=xe.length&gt;0?` Note: ${xe.length} inscription(s) existante(s) détectée(s) pour ${xe.map(we=&gt;we.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}${ue}`)}else if(xe.length&gt;0&amp;&amp;!t){const pe=`${xe.length} inscription(s) existante(s) détectée(s) pour ${xe.map(ue=&gt;ue.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(we=&gt;`${we.eventType} (ID: ${we.existingId})`).join(&quot; et &quot;),ue=`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:[ue]}),t?t(xe[0].existingId):n&amp;&amp;n(ue)}else if(ge.length&gt;0){if(f(pe=&gt;Object.keys(pe).some(we=&gt;we!==&quot;_general&quot;&amp;&amp;Array.isArray(pe[we])&amp;&amp;pe[we].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(ue=&gt;ue.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{a(!1)}}},Q=te=&gt;{const se=d[te];return se&amp;&amp;se.length&gt;0?se[0]:void 0};if(c)return s.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:[s.jsx(QL,{className:&quot;w-14 h-14 text-brand-600 animate-spin mb-6&quot;,&quot;aria-hidden&quot;:!0}),s.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;}),s.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(o===1){const te=e?.length===1?e[0]:null,se=!te||te===&quot;summit&quot;,de=!te||te===&quot;seminar&quot;,ce=!te||te===&quot;recommend&quot;;return s.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;div&quot;,{className:te?&quot;max-w-sm mx-auto&quot;:&quot;&quot;,children:s.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:[se&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[s.jsxs(&quot;div&quot;,{onClick:()=&gt;k(&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:[s.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:s.jsx(&quot;img&quot;,{src:&quot;/sommet1.webp&quot;,alt:&quot;Sommet Francophone&quot;,className:&quot;w-full h-full object-cover&quot;})}),s.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:s.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Sommet Francophone&quot;})})]}),s.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:[s.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;k(&quot;summit&quot;),className:&quot;w-5 h-5 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]}),de&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[s.jsxs(&quot;div&quot;,{onClick:()=&gt;k(&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:[s.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:s.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;})}),s.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:s.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Séminaire Régional&quot;})})]}),s.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:[s.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;k(&quot;seminar&quot;),className:&quot;w-5 h-5 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]}),ce&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[s.jsxs(&quot;div&quot;,{onClick:()=&gt;k(&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:[s.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:s.jsx(&quot;img&quot;,{src:&quot;/recommandation.webp&quot;,alt:&quot;Recommander des participants&quot;,className:&quot;w-full h-full object-cover&quot;})}),s.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:s.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Recommander des participants&quot;})})]}),s.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:[s.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;k(&quot;recommend&quot;),className:&quot;w-5 h-5 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]})]})}),Q(&quot;selectedEvents&quot;)&amp;&amp;s.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;s.jsxs(&quot;div&quot;,{className:&quot;mt-6 p-6 bg-brand-50 border border-brand-700 rounded-xl&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-4 text-sm font-light text-ink-500&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;p&quot;,{className:&quot;font-medium&quot;,children:&quot;Dates et horaire (GMT) général du sommet:&quot;}),s.jsx(&quot;p&quot;,{children:&quot;Du 19 au 22 novembre 2026, à Ouagadougou - Burkina Faso&quot;}),s.jsxs(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-1 ml-2 mt-2&quot;,children:[s.jsx(&quot;li&quot;,{children:&quot;Check-in dans les Hotels: 12h00-15h00, jeudi 19 novembre 2026&quot;}),s.jsx(&quot;li&quot;,{children:&quot;Enregistrement des participants au sommet: 15h00-17h00, jeudi 19 novembre 2026&quot;}),s.jsx(&quot;li&quot;,{children:&quot;Début du sommet: 17h00, jeudi 19 novembre 2026&quot;}),s.jsx(&quot;li&quot;,{children:&quot;Fin du sommet: 21h30, samedi 21 novembre 2026&quot;}),s.jsx(&quot;li&quot;,{children:&quot;Check-out/Culte/Visite-détente/départ: 8.30-15.00, dimanche 22 novembre 2026&quot;})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;pt-4 border-t border-brand-700/30&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;font-medium mb-2&quot;,children:&quot;Les formules d&#039;inscription au sommet:&quot;}),s.jsxs(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-1 ml-2&quot;,children:[s.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;}),s.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;}),s.jsx(&quot;li&quot;,{children:&quot;Formule C 450 000 FCFA / 690 € (un délégué par chambre en pension complète)&quot;}),s.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;s.jsxs(&quot;div&quot;,{className:&quot;mt-6 p-6 bg-brand-50 border border-brand-700 rounded-xl&quot;,children:[s.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;}),s.jsx(&quot;div&quot;,{className:&quot;space-y-4 text-sm font-light text-ink-500 mb-4&quot;,children:s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;p&quot;,{className:&quot;font-medium&quot;,children:&quot;Dates du séminaire:&quot;}),s.jsx(&quot;p&quot;,{children:&quot;1ère partie en ligne : Du 22 au 30 octobre 2026&quot;}),s.jsx(&quot;p&quot;,{children:&quot;2ème partie présentielle : Du 15 au 19 novembre 2026, au Burkina Faso&quot;})]})}),s.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;}),s.jsxs(&quot;ol&quot;,{className:&quot;space-y-3 text-sm font-light text-ink-500 list-decimal list-inside&quot;,children:[s.jsxs(&quot;li&quot;,{children:[s.jsx(&quot;strong&quot;,{children:&quot;Âge:&quot;}),&quot; de 25 à 60 ans&quot;]}),s.jsxs(&quot;li&quot;,{children:[s.jsx(&quot;strong&quot;,{children:&quot;Éducation:&quot;}),&quot; niveau Bac+3, exemption faite aux leaders chrétiens reconnus&quot;]}),s.jsxs(&quot;li&quot;,{children:[s.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;]}),s.jsxs(&quot;li&quot;,{children:[s.jsx(&quot;strong&quot;,{children:&quot;Leadership:&quot;}),&quot; être un leader chrétien laïc ou ecclésiastique&quot;]}),s.jsxs(&quot;li&quot;,{children:[s.jsx(&quot;strong&quot;,{children:&quot;Niveau de langue:&quot;}),&quot; être capable de communiquer clairement en français parlé &amp; écrit&quot;]}),s.jsxs(&quot;li&quot;,{children:[s.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;]}),s.jsxs(&quot;li&quot;,{children:[s.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;]}),s.jsxs(&quot;li&quot;,{children:[s.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;]})]})]}),s.jsx(Re,{type:&quot;button&quot;,onClick:V,className:&quot;w-full mt-6&quot;,children:&quot;Continuer&quot;})]})}if(o===2){const te=p.selectedEvents.includes(&quot;summit&quot;),se=p.selectedEvents.includes(&quot;seminar&quot;),de=p.selectedEvents.includes(&quot;recommend&quot;),ce=p.selectedEvents.length===1&amp;&amp;te,ie=p.selectedEvents.length===1&amp;&amp;se,fe=p.selectedEvents.length===1&amp;&amp;de,oe=p.selectedEvents.length===2&amp;&amp;!de,ge=te&amp;&amp;se&amp;&amp;de,xe=se&amp;&amp;de&amp;&amp;!te,pe=te&amp;&amp;de&amp;&amp;!se;return s.jsxs(&quot;form&quot;,{onSubmit:ue=&gt;{ue.preventDefault(),ee()},className:&quot;space-y-6&quot;,children:[d._general&amp;&amp;d._general.length&gt;0&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;p-4 rounded-xl bg-red-50 border border-red-200 text-red-800 text-sm&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;font-medium mb-1&quot;,children:&quot;Erreur(s) de validation :&quot;}),s.jsx(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-0.5&quot;,children:d._general.map((ue,we)=&gt;s.jsx(&quot;li&quot;,{children:ue},we))})]}),s.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:[s.jsx(&quot;label&quot;,{htmlFor:&quot;website-hp&quot;,children:&quot;Site web&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,id:&quot;website-hp&quot;,name:&quot;website&quot;,tabIndex:-1,autoComplete:&quot;off&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:de?&quot;INFORMATIONS SUR LE LEADER QUI RECOMMANDE&quot;:&quot;INFORMATIONS PERSONNELLES&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.first_name,onChange:ue=&gt;q(&quot;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;first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;first_name&quot;)&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;first_name&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.last_name,onChange:ue=&gt;q(&quot;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;last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;last_name&quot;)&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;last_name&quot;)})]})]}),s.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;}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.email,onChange:ue=&gt;q(&quot;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;email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;email&quot;)&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;email&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[se?&quot;Pays de résidence&quot;:&quot;Pays&quot;,&quot; &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;select&quot;,{value:p.country,onChange:ue=&gt;E(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;country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:se?&quot;Sélectionner votre pays de résidence&quot;:&quot;Sélectionner un pays&quot;}),Ph.map(ue=&gt;{const we=nB(ue.code);return s.jsxs(&quot;option&quot;,{value:ue.name,children:[we?`${we} ${ue.name}`:ue.name,&quot; &quot;,ue.dialCode]},ue.code)})]}),Q(&quot;country&quot;)&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;country&quot;)})]}),!fe&amp;&amp;s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Ville&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.city,onChange:ue=&gt;q(&quot;city&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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone (WhatsApp) &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.phone,onChange:ue=&gt;j(ue.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;phone&quot;)})]}),s.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:!fe&amp;&amp;s.jsxs(s.Fragment,{children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Nationalité&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.nationality,onChange:ue=&gt;q(&quot;nationality&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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Organisation&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.organization,onChange:ue=&gt;q(&quot;organization&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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Poste / Fonction&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.position,onChange:ue=&gt;q(&quot;position&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;})]})]}),te&amp;&amp;s.jsxs(&quot;div&quot;,{children:[s.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;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-6&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;participated_haggai_seminar&quot;,checked:p.participated_haggai_seminar===&quot;oui&quot;,onChange:()=&gt;q(&quot;participated_haggai_seminar&quot;,&quot;oui&quot;),className:&quot;rounded&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;participated_haggai_seminar&quot;,checked:p.participated_haggai_seminar===&quot;non&quot;,onChange:()=&gt;q(&quot;participated_haggai_seminar&quot;,&quot;non&quot;),className:&quot;rounded&quot;}),s.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;s.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;s.jsxs(&quot;div&quot;,{className:&quot;mt-4 flex-1&quot;,children:[s.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;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.hle_vhle_number,onChange:ue=&gt;q(&quot;hle_vhle_number&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;hle_vhle_number&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;hle_vhle_number&quot;)&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;hle_vhle_number&quot;)})]})]})]})})]}),(oe||ce||ge||pe)&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{children:[v?s.jsx(&quot;div&quot;,{className:&quot;text-center py-8 text-ink-500&quot;,children:&quot;Chargement des formules...&quot;}):y.length===0?s.jsx(&quot;div&quot;,{className:&quot;text-center py-8 text-ink-500&quot;,children:&quot;Aucune formule disponible&quot;}):s.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-4&quot;,children:y.sort((ue,we)=&gt;ue.sort_order-we.sort_order).map(ue=&gt;{const ke={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;}}[ue.code]||{price:ue.currency_primary===&quot;XOF&quot;?`${ue.price_xof.toLocaleString(&quot;fr-FR&quot;)} XOF`:`${ue.price_eur.toLocaleString(&quot;fr-FR&quot;)} EUR`,description:ue.description||&quot;&quot;},je={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;}[ue.code]||&quot;/formules/default.jpg&quot;;return s.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.package_code===ue.code?&quot;border-brand-700 shadow-lg&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md&quot;}`,children:[s.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;package_code&quot;,value:ue.code,checked:p.package_code===ue.code,onChange:()=&gt;q(&quot;package_code&quot;,ue.code),className:&quot;sr-only&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100&quot;,children:[s.jsx(&quot;img&quot;,{src:je,alt:ue.title,className:&quot;w-full h-full object-cover&quot;,onError:De=&gt;{De.target.src=&quot;/sommet1.webp&quot;}}),p.package_code===ue.code&amp;&amp;s.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:s.jsx(&quot;svg&quot;,{className:&quot;w-5 h-5&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:s.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;})})})]}),s.jsxs(&quot;div&quot;,{className:&quot;p-4 bg-white&quot;,children:[s.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-2&quot;,children:ue.title}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 font-light mb-2&quot;,children:ke.description}),s.jsx(&quot;p&quot;,{className:&quot;text-lg font-semibold text-brand-700&quot;,children:ke.price})]})]},ue.id)})}),Q(&quot;package_code&quot;)&amp;&amp;s.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;s.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:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-start gap-3 cursor-pointer&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.ouaga_resident_confirmed,onChange:ue=&gt;q(&quot;ouaga_resident_confirmed&quot;,ue.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;}`}),s.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;s.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;s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.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;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.spouse_fullname,onChange:ue=&gt;q(&quot;spouse_fullname&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;spouse_fullname&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;spouse_fullname&quot;)&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;spouse_fullname&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.spouse_email,onChange:ue=&gt;q(&quot;spouse_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;})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.spouse_haggai_id,onChange:ue=&gt;q(&quot;spouse_haggai_id&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;})]})]})]}),(ie||xe)&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Église ou organisation&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_church_organization,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_church_organization&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_role_ministry,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_role_ministry&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Situation matrimoniale &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_marital_status&quot;,&quot;marie&quot;),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Marié(e)&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_marital_status&quot;,&quot;non_marie&quot;),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_marital_status&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_gender&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),s.jsx(&quot;textarea&quot;,{value:p.seminar_question_or_concern,onChange:ue=&gt;q(&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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:p.seminar_date_naissance,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_date_naissance&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_contact_urgence_nom_lien,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_contact_urgence_nom_lien&quot;)})]}),s.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Éducation&quot;}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Niveau d&#039;études&quot;}),s.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;primaire&quot;,&quot;secondaire_2&quot;,&quot;universitaire&quot;].map(ue=&gt;s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_etudes_1&quot;,value:ue,checked:p.seminar_niveau_etudes===ue,onChange:()=&gt;q(&quot;seminar_niveau_etudes&quot;,ue),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_etudes&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:W4.map(({value:ue,label:we})=&gt;s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.seminar_domaines_etude?.includes(ue)??!1,onChange:()=&gt;P(ue),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:we})]},ue))}),p.seminar_domaines_etude?.includes(&quot;autre&quot;)&amp;&amp;s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_domaine_etude_autre,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_domaines_etude&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.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;s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_francais_1&quot;,value:ue,checked:p.seminar_niveau_francais===ue,onChange:()=&gt;q(&quot;seminar_niveau_francais&quot;,ue),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_francais&quot;)})]}),s.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Infos complémentaires&quot;}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_besoin_lettre_absence&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_besoin_lettre_absence&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_besoin_lettre_details,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_besoin_lettre_absence&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_sante_details,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_sante_details&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Régime sans sel ?&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_regime_sans_sel&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_regime_sans_sel&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_regime_sans_sel&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Confession religieuse :&quot;}),s.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:X4.map(({value:ue,label:we})=&gt;s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_confession_1&quot;,value:ue,checked:p.seminar_confession_religieuse===ue,onChange:()=&gt;K(ue),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:we})]},ue))}),Q(&quot;seminar_confession_religieuse&quot;)&amp;&amp;s.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;s.jsxs(&quot;div&quot;,{className:&quot;mt-2&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Spécifiez :&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_confession_religieuse_autre,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_confession_religieuse_autre&quot;)})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Quelles sont vos attentes ?&quot;}),s.jsx(&quot;textarea&quot;,{value:p.seminar_fardeau_transformation,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_fardeau_transformation&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Qui vous a recommandé ?&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_recommande_par,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_recommande_par&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Engagements&quot;}),s.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:K4.map(({value:ue,label:we})=&gt;s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.seminar_engagements?.includes(ue)??!1,onChange:()=&gt;L(ue),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:we})]},ue))}),p.seminar_engagements?.includes(&quot;autre&quot;)&amp;&amp;s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_engagements_autre,onChange:ue=&gt;q(&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;s.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;s.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[s.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;q(&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;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[s.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;q(&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;}),s.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;s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]})]})]}),fe&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[s.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;q(&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;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[s.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;q(&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;}),s.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;s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:ue=&gt;q(&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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]})]}),(!oe||oe&amp;&amp;p.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;p.selectedEvents.includes(&quot;seminar&quot;))&amp;&amp;!fe&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[p.selectedEvents.includes(&quot;seminar&quot;)&amp;&amp;s.jsx(G4,{}),s.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;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-3 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;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-6 text-center max-w-2xl mx-auto leading-relaxed&quot;,children:Zy}),(()=&gt;{const ue=T();if(!(p.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;p.selectedEvents.includes(&quot;seminar&quot;))||!ue)return null;const ke=y.find(je=&gt;je.code===p.package_code),Te=ke?ke.price_xof:0;return s.jsxs(&quot;div&quot;,{className:&quot;mb-6 bg-brand-50 rounded-xl p-6 space-y-4&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:[&quot;Sommet - &quot;,ke?.title||&quot;Formule sélectionnée&quot;]}),s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:ke?.code||&quot;&quot;})]}),s.jsx(&quot;p&quot;,{className:&quot;text-base font-semibold text-ink-900&quot;,children:M(Te)})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:&quot;Séminaire - Résidentiel&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Formule obligatoire&quot;})]}),s.jsx(&quot;p&quot;,{className:&quot;text-base font-semibold text-ink-900&quot;,children:M(_)})]}),s.jsxs(&quot;div&quot;,{className:&quot;pt-4 border-t border-brand-700/30&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-lg font-heading font-semibold text-ink-900&quot;,children:&quot;Total à payer&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-2xl font-bold text-brand-700&quot;,children:ue.formatted})]}),s.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;})]})]})]})})(),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-4&quot;,children:[s.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:[s.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;q(&quot;payment_method_selected&quot;,&quot;mobile_money&quot;),className:&quot;sr-only&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:s.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:s.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;})})})}),s.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Mobile Money (en ligne ou en direct)&quot;}),p.payment_method_selected===&quot;mobile_money&quot;&amp;&amp;s.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:s.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:s.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;})})})]})]}),s.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:[s.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;q(&quot;payment_method_selected&quot;,&quot;national_office&quot;),className:&quot;sr-only&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:s.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:s.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;})})})}),s.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Envoi d&#039;argent (RIA, Western ou MoneyGram)&quot;}),p.payment_method_selected===&quot;national_office&quot;&amp;&amp;s.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:s.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:s.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;})})})]})]}),s.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.payment_method_selected===&quot;bank_transfer&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:[s.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;bank_transfer&quot;,checked:p.payment_method_selected===&quot;bank_transfer&quot;,onChange:()=&gt;q(&quot;payment_method_selected&quot;,&quot;bank_transfer&quot;),className:&quot;sr-only&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:s.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:s.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M8 14v3m4-3v3m4-3v3M3 21h18M3 10h18M5 6h14a2 2 0 012 2v2H3V8a2 2 0 012-2z&quot;})})})}),s.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Virement bancaire&quot;}),p.payment_method_selected===&quot;bank_transfer&quot;&amp;&amp;s.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:s.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:s.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;})})})]})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;mt-6 pt-6 border-t border-gray-200&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[s.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;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;div&quot;,{className:&quot;flex gap-3&quot;,children:[1,2,3].map(ue=&gt;s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;H(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))})]}),s.jsx(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:Array.from({length:p.installment_count}).map((ue,we)=&gt;{const ke=p.installment_months[we]||&quot;&quot;,Te=!ke||F([ke]),je=d[`installment_month_${we}`],De=!!je||!Te&amp;&amp;!!ke;return s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Échéance &quot;,we+1,&quot; &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;select&quot;,{value:ke,onChange:Xe=&gt;W(we,Xe.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${De?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner un mois&quot;}),$().map(Xe=&gt;s.jsx(&quot;option&quot;,{value:Xe.value,children:Xe.label},Xe.value))]}),je&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:je[0]}),!je&amp;&amp;!Te&amp;&amp;ke&amp;&amp;s.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;})]},we)})}),d.installment_months&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600&quot;,children:d.installment_months[0]})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:z,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),oe||ge||te&amp;&amp;de&amp;&amp;!se?s.jsx(Re,{type:&quot;button&quot;,onClick:ee,disabled:!Z(),className:&quot;flex-1&quot;,children:&quot;Valider et passer au suivant&quot;}):s.jsx(Re,{type:&quot;submit&quot;,disabled:c||fe&amp;&amp;!Y(),className:&quot;flex-1&quot;,children:c?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}if(o===3){const te=p.selectedEvents.includes(&quot;summit&quot;),se=p.selectedEvents.includes(&quot;seminar&quot;),de=p.selectedEvents.includes(&quot;recommend&quot;),ce=te&amp;&amp;de&amp;&amp;!se,ie=se&amp;&amp;de&amp;&amp;!te,fe=te&amp;&amp;se&amp;&amp;de;return ie?s.jsx(&quot;form&quot;,{onSubmit:oe=&gt;{oe.preventDefault(),X()},className:&quot;space-y-6&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:oe=&gt;q(&quot;recommended_first_name&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:oe=&gt;q(&quot;recommended_last_name&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:oe=&gt;q(&quot;recommended_profession&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:oe=&gt;q(&quot;recommended_residence_country&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:oe=&gt;q(&quot;recommended_phone_whatsapp&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:oe=&gt;q(&quot;recommended_email&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:R,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),s.jsx(Re,{type:&quot;submit&quot;,disabled:c,className:&quot;flex-1&quot;,children:c?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):ce?s.jsx(&quot;form&quot;,{onSubmit:oe=&gt;{oe.preventDefault(),X()},className:&quot;space-y-6&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[s.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;q(&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;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[s.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;q(&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;}),s.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;s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:oe=&gt;q(&quot;recommended_first_name&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:oe=&gt;q(&quot;recommended_last_name&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:oe=&gt;q(&quot;recommended_profession&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:oe=&gt;q(&quot;recommended_residence_country&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:oe=&gt;q(&quot;recommended_phone_whatsapp&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:oe=&gt;q(&quot;recommended_email&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:R,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),s.jsx(Re,{type:&quot;submit&quot;,disabled:c,className:&quot;flex-1&quot;,children:c?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):s.jsx(&quot;form&quot;,{onSubmit:oe=&gt;{oe.preventDefault(),X()},className:&quot;space-y-6&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[fe&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg&quot;,children:s.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.`})}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Église ou organisation&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_church_organization,onChange:oe=&gt;q(&quot;seminar_church_organization&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_church_organization&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_role_ministry,onChange:oe=&gt;q(&quot;seminar_role_ministry&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_role_ministry&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Situation matrimoniale &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_marital_status&quot;,&quot;marie&quot;),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Marié(e)&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_marital_status&quot;,&quot;non_marie&quot;),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_marital_status&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_gender&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),s.jsx(&quot;textarea&quot;,{value:p.seminar_question_or_concern,onChange:oe=&gt;q(&quot;seminar_question_or_concern&quot;,oe.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:p.seminar_date_naissance,onChange:oe=&gt;q(&quot;seminar_date_naissance&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_date_naissance&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_contact_urgence_nom_lien,onChange:oe=&gt;q(&quot;seminar_contact_urgence_nom_lien&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_contact_urgence_nom_lien&quot;)})]}),s.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Éducation&quot;}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Niveau d&#039;études&quot;}),s.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;primaire&quot;,&quot;secondaire_2&quot;,&quot;universitaire&quot;].map(oe=&gt;s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_etudes_2&quot;,value:oe,checked:p.seminar_niveau_etudes===oe,onChange:()=&gt;q(&quot;seminar_niveau_etudes&quot;,oe),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:oe===&quot;primaire&quot;?&quot;Primaire&quot;:oe===&quot;secondaire_2&quot;?&quot;Secondaire 2&quot;:&quot;Universitaire&quot;})]},oe))}),Q(&quot;seminar_niveau_etudes&quot;)&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_etudes&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:W4.map(({value:oe,label:ge})=&gt;s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.seminar_domaines_etude?.includes(oe)??!1,onChange:()=&gt;P(oe),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ge})]},oe))}),p.seminar_domaines_etude?.includes(&quot;autre&quot;)&amp;&amp;s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_domaine_etude_autre,onChange:oe=&gt;q(&quot;seminar_domaine_etude_autre&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_domaines_etude&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;natif&quot;,&quot;avance&quot;,&quot;intermediaire&quot;,&quot;faible&quot;].map(oe=&gt;s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_francais_2&quot;,value:oe,checked:p.seminar_niveau_francais===oe,onChange:()=&gt;q(&quot;seminar_niveau_francais&quot;,oe),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:oe===&quot;natif&quot;?&quot;Natif/Native&quot;:oe===&quot;avance&quot;?&quot;Avancé&quot;:oe===&quot;intermediaire&quot;?&quot;Intermédiaire&quot;:&quot;Faible&quot;})]},oe))}),Q(&quot;seminar_niveau_francais&quot;)&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_francais&quot;)})]}),s.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Infos complémentaires&quot;}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_besoin_lettre_absence&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_besoin_lettre_absence&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_besoin_lettre_details,onChange:oe=&gt;q(&quot;seminar_besoin_lettre_details&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_besoin_lettre_absence&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_sante_details,onChange:oe=&gt;q(&quot;seminar_sante_details&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_sante_details&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Régime sans sel ?&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_regime_sans_sel&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;seminar_regime_sans_sel&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_regime_sans_sel&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Confession religieuse :&quot;}),s.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:X4.map(({value:oe,label:ge})=&gt;s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_confession_2&quot;,value:oe,checked:p.seminar_confession_religieuse===oe,onChange:()=&gt;K(oe),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ge})]},oe))}),Q(&quot;seminar_confession_religieuse&quot;)&amp;&amp;s.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;s.jsxs(&quot;div&quot;,{className:&quot;mt-2&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Spécifiez :&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_confession_religieuse_autre,onChange:oe=&gt;q(&quot;seminar_confession_religieuse_autre&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_confession_religieuse_autre&quot;)})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Quelles sont vos attentes ?&quot;}),s.jsx(&quot;textarea&quot;,{value:p.seminar_fardeau_transformation,onChange:oe=&gt;q(&quot;seminar_fardeau_transformation&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_fardeau_transformation&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Qui vous a recommandé ?&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_recommande_par,onChange:oe=&gt;q(&quot;seminar_recommande_par&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_recommande_par&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Engagements&quot;}),s.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:K4.map(({value:oe,label:ge})=&gt;s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.seminar_engagements?.includes(oe)??!1,onChange:()=&gt;L(oe),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ge})]},oe))}),p.seminar_engagements?.includes(&quot;autre&quot;)&amp;&amp;s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_engagements_autre,onChange:oe=&gt;q(&quot;seminar_engagements_autre&quot;,oe.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;s.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;!fe&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[s.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;q(&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;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[s.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;q(&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;}),s.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;s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:oe=&gt;q(&quot;recommended_first_name&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:oe=&gt;q(&quot;recommended_last_name&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:oe=&gt;q(&quot;recommended_profession&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:oe=&gt;q(&quot;recommended_residence_country&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:oe=&gt;q(&quot;recommended_phone_whatsapp&quot;,oe.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Email (optionnel)&quot;}),s.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:oe=&gt;q(&quot;recommended_email&quot;,oe.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[p.selectedEvents.includes(&quot;seminar&quot;)&amp;&amp;s.jsx(G4,{}),s.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;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-3 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;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-6 text-center max-w-2xl mx-auto leading-relaxed&quot;,children:Zy}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-4&quot;,children:[s.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:[s.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;q(&quot;payment_method_selected&quot;,&quot;mobile_money&quot;),className:&quot;sr-only&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:s.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:s.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;})})})}),s.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Mobile Money (en ligne ou en direct)&quot;}),p.payment_method_selected===&quot;mobile_money&quot;&amp;&amp;s.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:s.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:s.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;})})})]})]}),s.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:[s.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;q(&quot;payment_method_selected&quot;,&quot;national_office&quot;),className:&quot;sr-only&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:s.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:s.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;})})})}),s.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Envoi d&#039;argent (RIA, Western ou MoneyGram)&quot;}),p.payment_method_selected===&quot;national_office&quot;&amp;&amp;s.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:s.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:s.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;})})})]})]}),s.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.payment_method_selected===&quot;bank_transfer&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:[s.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;bank_transfer&quot;,checked:p.payment_method_selected===&quot;bank_transfer&quot;,onChange:()=&gt;q(&quot;payment_method_selected&quot;,&quot;bank_transfer&quot;),className:&quot;sr-only&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:s.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:s.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M8 14v3m4-3v3m4-3v3M3 21h18M3 10h18M5 6h14a2 2 0 012 2v2H3V8a2 2 0 012-2z&quot;})})})}),s.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Virement bancaire&quot;}),p.payment_method_selected===&quot;bank_transfer&quot;&amp;&amp;s.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:s.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:s.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;})})})]})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;mt-6 pt-6 border-t border-gray-200&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[s.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;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;div&quot;,{className:&quot;flex gap-3&quot;,children:[1,2,3].map(oe=&gt;s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;H(oe),className:`flex-1 py-3 px-4 rounded-xl border-2 transition-all ${p.installment_count===oe?&quot;border-brand-700 bg-brand-700 text-white&quot;:&quot;border-gray-200 hover:border-brand-700 text-ink-500&quot;}`,children:[oe,&quot; &quot;,oe===1?&quot;échéance&quot;:&quot;échéances&quot;]},oe))})]}),s.jsx(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:Array.from({length:p.installment_count}).map((oe,ge)=&gt;{const xe=p.installment_months[ge]||&quot;&quot;,pe=!xe||F([xe]),ue=d[`installment_month_${ge}`],we=!!ue||!pe&amp;&amp;!!xe;return s.jsxs(&quot;div&quot;,{children:[s.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;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;select&quot;,{value:xe,onChange:ke=&gt;W(ge,ke.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${we?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner un mois&quot;}),$().map(ke=&gt;s.jsx(&quot;option&quot;,{value:ke.value,children:ke.label},ke.value))]}),ue&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:ue[0]}),!ue&amp;&amp;!pe&amp;&amp;xe&amp;&amp;s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600&quot;,children:d.installment_months[0]})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:R,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),fe?s.jsx(Re,{type:&quot;button&quot;,onClick:X,className:&quot;flex-1&quot;,children:&quot;Valider et passer au suivant&quot;}):s.jsx(Re,{type:&quot;submit&quot;,disabled:c,className:&quot;flex-1&quot;,children:c?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})})}if(o===4){const te=p.selectedEvents.includes(&quot;summit&quot;),se=p.selectedEvents.includes(&quot;seminar&quot;),de=p.selectedEvents.includes(&quot;recommend&quot;);return te&amp;&amp;se&amp;&amp;de?s.jsx(&quot;form&quot;,{onSubmit:ie=&gt;{ie.preventDefault(),re()},className:&quot;space-y-6&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:ie=&gt;q(&quot;recommended_first_name&quot;,ie.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:ie=&gt;q(&quot;recommended_last_name&quot;,ie.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:ie=&gt;q(&quot;recommended_profession&quot;,ie.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:ie=&gt;q(&quot;recommended_residence_country&quot;,ie.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:ie=&gt;q(&quot;recommended_phone_whatsapp&quot;,ie.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:ie=&gt;q(&quot;recommended_email&quot;,ie.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;q(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),s.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:()=&gt;u(3),className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),s.jsx(Re,{type:&quot;submit&quot;,disabled:c,className:&quot;flex-1&quot;,children:c?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):null}return null}const ao=&quot;communication@sommetfrancophone.org&quot;,Th=&quot;+225 05 5427 5725 (WhatsApp)&quot;;function aB(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 oB(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 lB(){const[e]=Ud(),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,l]=I.useState(&quot;form&quot;),[i,o]=I.useState({}),[u,c]=I.useState(!1),[a,d]=I.useState(null),[f,h]=I.useState({step:1,selectedEvents:[]}),m=v=&gt;{v.type===&quot;recommendation&quot;?o({recommendationId:v.id,type:&quot;recommendation&quot;}):o({registrationId:v.id,type:&quot;registration&quot;}),l(&quot;success&quot;)},p=v=&gt;{o(_=&gt;_.registrationId||_.recommendationId||n===&quot;success&quot;?{..._,existingRegistrationId:v,hasConflict:!0}:(l(&quot;conflict&quot;),{existingRegistrationId:v}))},x=v=&gt;{o({errorMessage:v}),v.includes(&quot;indisponibles&quot;)?l(&quot;unavailable&quot;):l(&quot;error&quot;)},g=()=&gt;{l(&quot;form&quot;),o({}),d(null)};I.useEffect(()=&gt;{n!==&quot;form&quot;&amp;&amp;window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[n]);const y=async()=&gt;{if(i.existingRegistrationId){c(!0),d(null);try{await $1.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 Bt?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{c(!1)}}};return n===&quot;success&quot;?s.jsx(ul,{children:s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:s.jsx(ML,{className:&quot;w-16 h-16 text-green-600&quot;})}),s.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;}),s.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;s.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;s.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;s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro d&#039;inscription : &quot;,s.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,i.registrationId]})]}),i.recommendationId&amp;&amp;s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro de recommandation : &quot;,s.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,i.recommendationId]})]}),i.hasConflict&amp;&amp;i.existingRegistrationId&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;bg-yellow-50 border border-yellow-200 rounded-lg p-4 mb-8&quot;,children:s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-yellow-800&quot;,children:[s.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;]})}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(Re,{onClick:g,variant:&quot;secondary&quot;,children:&quot;Nouvelle inscription&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Pour toute question :&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center gap-4 flex-wrap&quot;,children:[s.jsxs(&quot;a&quot;,{href:`mailto:${ao}`,className:&quot;hover:text-brand-9002 inline-flex items-center gap-1&quot;,children:[s.jsx(mo,{className:&quot;w-4 h-4&quot;}),ao]}),s.jsxs(&quot;span&quot;,{className:&quot;inline-flex items-center gap-1&quot;,children:[s.jsx(od,{className:&quot;w-4 h-4&quot;}),Th]})]})]}),s.jsx(&quot;div&quot;,{children:s.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;?s.jsx(ul,{children:s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:s.jsx(Vy,{className:&quot;w-16 h-16 text-yellow-600&quot;})}),s.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;}),s.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;s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro d&#039;inscription existante : &quot;,s.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,i.existingRegistrationId]})]}),s.jsx(&quot;div&quot;,{className:&quot;space-y-4 mb-8&quot;,children:s.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;})}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(Re,{onClick:y,variant:&quot;secondary&quot;,disabled:u,children:u?&quot;Envoi en cours...&quot;:&quot;Renvoyer l&#039;email de vérification&quot;}),a&amp;&amp;s.jsx(&quot;p&quot;,{className:`text-sm ${a.includes(&quot;succès&quot;)?&quot;text-green-600&quot;:&quot;text-red-600&quot;}`,children:a}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Ou contactez-nous :&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[s.jsx(mo,{className:&quot;w-4 h-4&quot;}),s.jsx(&quot;a&quot;,{href:`mailto:${ao}`,className:&quot;hover:text-brand-9002&quot;,children:ao})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[s.jsx(od,{className:&quot;w-4 h-4&quot;}),s.jsx(&quot;span&quot;,{children:Th})]})]}),s.jsx(Re,{onClick:g,variant:&quot;outline&quot;,children:&quot;Nouvelle inscription&quot;}),s.jsx(&quot;div&quot;,{children:s.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;?s.jsx(ul,{children:s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:s.jsx(TL,{className:&quot;w-16 h-16 text-red-600&quot;})}),s.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Erreur&quot;}),s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(Re,{onClick:g,children:&quot;Réessayer&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Ou contactez-nous :&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[s.jsx(mo,{className:&quot;w-4 h-4&quot;}),s.jsx(&quot;a&quot;,{href:`mailto:${ao}`,className:&quot;hover:text-brand-9002&quot;,children:ao})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[s.jsx(od,{className:&quot;w-4 h-4&quot;}),s.jsx(&quot;span&quot;,{children:Th})]})]}),s.jsx(&quot;div&quot;,{children:s.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;?s.jsx(ul,{children:s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:s.jsx(Vy,{className:&quot;w-16 h-16 text-yellow-600&quot;})}),s.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Inscriptions publiques indisponibles&quot;}),s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2 mb-2&quot;,children:[s.jsx(mo,{className:&quot;w-4 h-4&quot;}),s.jsx(&quot;a&quot;,{href:`mailto:${ao}`,className:&quot;hover:text-brand-9002&quot;,children:ao})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[s.jsx(od,{className:&quot;w-4 h-4&quot;}),s.jsx(&quot;span&quot;,{children:Th})]})]}),s.jsx(&quot;div&quot;,{children:s.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;})})]})]})})})}):s.jsx(ul,{children:s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;w-full mx-auto&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;text-center mb-12 px-4 sm:px-6 lg:px-8&quot;,children:[s.jsx(&quot;h1&quot;,{className:&quot;text-4xl font-heading font-medium text-ink-900 mb-4 uppercase&quot;,children:aB(f.step,f.selectedEvents)}),s.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light text-lg&quot;,children:oB(f.step)})]}),s.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:s.jsx(sB,{preselectedEvents:t,onSuccess:m,onConflict:p,onError:x,onFormLayoutChange:h})})]})})})}function An({children:e,className:r=&quot;&quot;}){return s.jsx(&quot;div&quot;,{className:`bg-surface-0 rounded-xl2 shadow-soft p-6 ${r}`,children:e})}function cB(){const e=Gi(),r=js(),{isAuthenticated:t,canAccessAdmin:n,loading:l,refetch:i,roles:o}=qs(),[u,c]=I.useState(&quot;&quot;),[a,d]=I.useState(&quot;&quot;),[f,h]=I.useState(!1),[m,p]=I.useState(null),[x,g]=I.useState(null);if(I.useEffect(()=&gt;{const v=r.state?.resetSuccess;v&amp;&amp;(g(v),e(r.pathname,{replace:!0,state:{}}))},[r.pathname,r.state,e]),l)return s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(t){const _=n&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;(o.includes(&quot;COMMISSION_FINANCE&quot;)||o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)||o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;))?&quot;/admin/finance&quot;:&quot;/admin/registrations&quot;;return s.jsx(pi,{to:n?_:&quot;/account&quot;,replace:!0})}const y=async v=&gt;{v.preventDefault(),h(!0),p(null);try{const _=await fi.login({email:u.trim(),password:a});if(!_||!_.token){p(&quot;Réponse invalide du serveur.&quot;);return}let C=_.user??null;if(C||(C=await i()),!C){p(&quot;Connexion réussie mais impossible de charger le profil. Réessayez ou rechargez la page.&quot;);return}const M=[&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;],T=(C.roles??[]).map(W=&gt;typeof W==&quot;string&quot;?W:W.name).filter(W=&gt;typeof W==&quot;string&quot;),$=T.some(W=&gt;M.includes(W)),H=!T.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;(T.includes(&quot;COMMISSION_FINANCE&quot;)||T.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)||T.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;))?&quot;/admin/finance&quot;:&quot;/admin/registrations&quot;;e($?H:&quot;/account&quot;,{replace:!0})}catch(_){if(console.error(&quot;Erreur de connexion complète:&quot;,_),_ instanceof Bt)if(console.error(&quot;Détails de l&#039;erreur API:&quot;,{status:_.status,data:_.data,message:_.message}),_.status===422&amp;&amp;_.data.errors){const C=Object.values(_.data.errors).flat();p(C.join(&quot;. &quot;)||&quot;Erreur de validation.&quot;)}else _.status===401||_.status===422?_.data.errors&amp;&amp;_.data.errors.email?p(_.data.errors.email[0]||&quot;Email ou mot de passe incorrect.&quot;):p(_.data.message||&quot;Email ou mot de passe incorrect.&quot;):_.status===403?p(&quot;Votre compte n&#039;a pas les permissions nécessaires.&quot;):_.status===0?p(&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;):p(_.data?.message||&quot;Une erreur est survenue lors de la connexion.&quot;);else p(&quot;Une erreur inattendue est survenue.&quot;)}finally{h(!1)}};return s.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:s.jsxs(&quot;div&quot;,{className:&quot;max-w-md w-full&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;text-center mb-8&quot;,children:[s.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Connexion&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Connectez-vous à votre espace&quot;})]}),s.jsx(An,{children:s.jsxs(&quot;form&quot;,{onSubmit:y,className:&quot;space-y-6&quot;,children:[x&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;bg-brand-50 border border-brand-200 rounded-lg p-4&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-800&quot;,children:x})}),m&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:m})}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{id:&quot;email&quot;,type:&quot;email&quot;,value:u,onChange:v=&gt;c(v.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{id:&quot;password&quot;,type:&quot;password&quot;,value:a,onChange:v=&gt;d(v.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;}),s.jsx(&quot;div&quot;,{className:&quot;mt-2 text-right&quot;,children:s.jsx(dr,{to:&quot;/mot-de-passe-oublie&quot;,className:&quot;text-sm text-brand-700 hover:text-brand-900 hover:underline&quot;,children:&quot;Mot de passe oublié ?&quot;})})]}),s.jsx(Re,{type:&quot;submit&quot;,variant:&quot;primary&quot;,className:&quot;w-full&quot;,disabled:f,children:f?&quot;Connexion...&quot;:&quot;Se connecter&quot;})]})}),s.jsx(&quot;div&quot;,{className:&quot;mt-6 text-center&quot;,children:s.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 uB(){const[e,r]=I.useState(&quot;&quot;),[t,n]=I.useState(!1),[l,i]=I.useState(!1),[o,u]=I.useState(null),c=async a=&gt;{a.preventDefault(),n(!0),u(null);try{await fi.forgotPassword({email:e.trim()}),i(!0)}catch(d){d instanceof Bt?d.status===429?u(&quot;Trop de demandes pour cette adresse. Réessayez dans une heure au plus.&quot;):d.status===422&amp;&amp;d.data.errors?.email?u(d.data.errors.email[0]||&quot;Adresse e-mail invalide.&quot;):u(d.data?.message||&quot;Une erreur est survenue.&quot;):u(&quot;Une erreur est survenue.&quot;)}finally{n(!1)}};return s.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:s.jsxs(&quot;div&quot;,{className:&quot;max-w-md w-full&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;text-center mb-8&quot;,children:[s.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Mot de passe oublié&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Saisissez l’adresse e-mail de votre compte. Si un compte actif correspond, vous recevrez un lien pour choisir un nouveau mot de passe.&quot;})]}),s.jsx(An,{children:l?s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;bg-brand-50 border border-brand-200 rounded-lg p-4 text-sm text-ink-800&quot;,children:&quot;Si un compte actif correspond à cette adresse, un e-mail contenant un lien de réinitialisation a été envoyé. Pensez à vérifier vos courriers indésirables.&quot;}),s.jsx(dr,{to:&quot;/login&quot;,className:&quot;block text-center text-sm text-brand-700 hover:text-brand-900 hover:underline font-medium&quot;,children:&quot;Retour à la connexion&quot;})]}):s.jsxs(&quot;form&quot;,{onSubmit:c,className:&quot;space-y-6&quot;,children:[o&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:o})}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;email&quot;,className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;E-mail&quot;}),s.jsx(&quot;input&quot;,{id:&quot;email&quot;,type:&quot;email&quot;,value:e,onChange:a=&gt;r(a.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;})]}),s.jsx(Re,{type:&quot;submit&quot;,variant:&quot;primary&quot;,className:&quot;w-full&quot;,disabled:t,children:t?&quot;Envoi…&quot;:&quot;Envoyer le lien&quot;})]})}),s.jsx(&quot;div&quot;,{className:&quot;mt-6 text-center&quot;,children:s.jsx(dr,{to:&quot;/login&quot;,className:&quot;text-sm text-brand-700 hover:text-brand-900 hover:underline&quot;,children:&quot;← Retour à la connexion&quot;})})]})})}function dB(){const[e]=Ud(),r=Gi(),t=e.get(&quot;token&quot;)?.trim()??&quot;&quot;,n=e.get(&quot;email&quot;)?.trim()??&quot;&quot;,[l,i]=I.useState(&quot;&quot;),[o,u]=I.useState(&quot;&quot;),[c,a]=I.useState(!1),[d,f]=I.useState(null),[h,m]=I.useState({}),p=!t||!n,x=async g=&gt;{if(g.preventDefault(),!p){m({}),f(null),a(!0);try{await fi.resetPassword({email:n,token:t,password:l,password_confirmation:o}),r(&quot;/login&quot;,{replace:!0,state:{resetSuccess:&quot;Votre mot de passe a été réinitialisé. Vous pouvez vous connecter.&quot;}})}catch(y){if(y instanceof Bt)if(y.status===422&amp;&amp;y.data.errors){const v={};Object.entries(y.data.errors).forEach(([_,C])=&gt;{Array.isArray(C)&amp;&amp;C[0]&amp;&amp;(v[_]=C[0])}),m(v),f(v.email||v.password||&quot;Vérifiez le mot de passe (8 caractères minimum) et la confirmation.&quot;)}else f(y.data?.message||&quot;Le lien est invalide ou a expiré. Demandez un nouveau lien depuis la page de connexion.&quot;);else f(&quot;Une erreur est survenue.&quot;)}finally{a(!1)}}};return s.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:s.jsxs(&quot;div&quot;,{className:&quot;max-w-md w-full&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;text-center mb-8&quot;,children:[s.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Nouveau mot de passe&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Choisissez un mot de passe sécurisé (au moins 8 caractères).&quot;})]}),s.jsx(An,{children:p?s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:&quot;Lien incomplet ou expiré. Ouvrez le lien reçu par e-mail ou demandez une nouvelle réinitialisation.&quot;}),s.jsx(dr,{to:&quot;/mot-de-passe-oublie&quot;,className:&quot;block text-center text-sm text-brand-700 hover:underline&quot;,children:&quot;Demander un nouveau lien&quot;})]}):s.jsxs(&quot;form&quot;,{onSubmit:x,className:&quot;space-y-6&quot;,children:[d&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:d})}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Compte&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-800 break-all bg-gray-50 rounded-lg px-3 py-2 border border-gray-200&quot;,children:n})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;password&quot;,className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Nouveau mot de passe&quot;}),s.jsx(&quot;input&quot;,{id:&quot;password&quot;,type:&quot;password&quot;,value:l,onChange:g=&gt;i(g.target.value),required:!0,minLength:8,autoComplete:&quot;new-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&quot;}),h.password&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:h.password})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;password_confirmation&quot;,className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Confirmer le mot de passe&quot;}),s.jsx(&quot;input&quot;,{id:&quot;password_confirmation&quot;,type:&quot;password&quot;,value:o,onChange:g=&gt;u(g.target.value),required:!0,minLength:8,autoComplete:&quot;new-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&quot;})]}),s.jsx(Re,{type:&quot;submit&quot;,variant:&quot;primary&quot;,className:&quot;w-full&quot;,disabled:c,children:c?&quot;Enregistrement…&quot;:&quot;Enregistrer le mot de passe&quot;})]})}),s.jsx(&quot;div&quot;,{className:&quot;mt-6 text-center&quot;,children:s.jsx(dr,{to:&quot;/login&quot;,className:&quot;text-sm text-brand-700 hover:text-brand-900 hover:underline&quot;,children:&quot;← Retour à la connexion&quot;})})]})})}function fB(){const[e]=Ud(),r=Gi(),t=e.get(&quot;token&quot;)??&quot;&quot;,[n,l]=I.useState(t?&quot;initial&quot;:&quot;error&quot;),[i,o]=I.useState(!!t),[u,c]=I.useState(!1),[a,d]=I.useState(&quot;&quot;),[f,h]=I.useState(&quot;&quot;),[m,p]=I.useState(!1),[x,g]=I.useState(&quot;&quot;),[y,v]=I.useState({});I.useEffect(()=&gt;{if(!t){g(&quot;Lien d&#039;activation invalide ou manquant.&quot;);return}let M=!1;return fi.checkActivation(t).then(T=&gt;{M||(c(T.already_active),o(!1))}).catch(T=&gt;{M||(o(!1),l(&quot;error&quot;),g(T instanceof Bt?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;{M=!0}},[t]);const _=async M=&gt;{if(M.preventDefault(),!!t){v({}),p(!0),g(&quot;&quot;);try{const T={token:t.trim()};u||(T.password=a,T.password_confirmation=f);const $=await fi.activate(T);l(&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($?.message??F)}catch(T){if(l(&quot;error&quot;),T instanceof Bt)if(T.status===422&amp;&amp;T.data.errors){const $={};Object.entries(T.data.errors).forEach(([F,H])=&gt;{Array.isArray(H)&amp;&amp;H[0]&amp;&amp;($[F]=H[0])}),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 s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center py-12 px-4&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;max-w-md w-full&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;text-center mb-8&quot;,children:[s.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Activation de compte&quot;}),s.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;})]}),s.jsxs(An,{children:[n===&quot;error&quot;&amp;&amp;!t&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-red-600&quot;,children:x}),s.jsx(Re,{variant:&quot;primary&quot;,className:&quot;mt-4&quot;,onClick:()=&gt;r(&quot;/&quot;),children:&quot;Retour à l&#039;accueil&quot;})]}),i&amp;&amp;s.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;s.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[s.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;}),x&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:x})}),s.jsx(Re,{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;s.jsxs(&quot;form&quot;,{onSubmit:_,className:&quot;space-y-6&quot;,children:[x&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:x})}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{id:&quot;password&quot;,type:&quot;password&quot;,value:a,onChange:M=&gt;d(M.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:y.password})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{id:&quot;password_confirmation&quot;,type:&quot;password&quot;,value:f,onChange:M=&gt;h(M.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:y.password_confirmation})]}),s.jsx(Re,{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;s.jsxs(&quot;div&quot;,{className:&quot;text-center&quot;,children:[s.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:s.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:s.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M5 13l4 4L19 7&quot;})})}),s.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Compte activé&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-6&quot;,children:x}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[s.jsx(Re,{variant:&quot;primary&quot;,className:&quot;w-full&quot;,onClick:()=&gt;r(&quot;/account&quot;),children:&quot;Aller à mon espace&quot;}),s.jsx(Re,{variant:&quot;outline&quot;,className:&quot;w-full&quot;,onClick:()=&gt;r(&quot;/&quot;),children:&quot;Retour à l&#039;accueil&quot;})]})]})]}),s.jsx(&quot;div&quot;,{className:&quot;mt-6 text-center&quot;,children:s.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 Ni={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;}]}},Op=Object.keys(Ni);function Pc(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;:Op.includes(t)?t:&quot;BF&quot;:&quot;BF&quot;}function Pp(e,r){const t=e.replace(/\D/g,&quot;&quot;);if(r===&quot;CI&quot;){let n=t;return n.length&gt;=12&amp;&amp;n.startsWith(&quot;225&quot;)&amp;&amp;(n=n.slice(3)),n.length===9&amp;&amp;!n.startsWith(&quot;0&quot;)&amp;&amp;(n=`0${n}`),n}return t}function kd(e,r){const t=Pp(e,r);return r===&quot;CI&quot;?/^[0-9]{10}$/.test(t):t.length&gt;=8&amp;&amp;t.length&lt;=16&amp;&amp;/^[0-9]+$/.test(t)}function hB({open:e,registrationId:r,installmentIndex:t,defaultCountry:n=&quot;CI&quot;,onClose:l,onInitiated:i}){const[o,u]=I.useState(()=&gt;Pc(n)),[c,a]=I.useState(&quot;&quot;),[d,f]=I.useState(&quot;&quot;),[h,m]=I.useState(!1),[p,x]=I.useState(null),[g,y]=I.useState(!1),v=Ni[o]??Ni.CI;I.useEffect(()=&gt;{e&amp;&amp;(u(Pc(n)),a(&quot;&quot;),f(&quot;&quot;),x(null),y(!1))},[e,n]),I.useEffect(()=&gt;{a($=&gt;{const F=Ni[o];return F&amp;&amp;F.operators.some(H=&gt;H.apiValue===$)?$:&quot;&quot;})},[o]);const _=I.useMemo(()=&gt;c?d.replace(/\s/g,&quot;&quot;)?kd(d,o)?null:o===&quot;CI&quot;?&quot;Numéro invalide : 10 chiffres pour la CI (ex. 07… ou +225 07…).&quot;:&quot;Numéro de téléphone invalide (8 à 16 chiffres).&quot;:&quot;Indiquez votre numéro Mobile Money.&quot;:&quot;Choisissez un opérateur Mobile Money.&quot;,[c,d,o]),C=_===null&amp;&amp;!h;if(!e)return null;const M=()=&gt;{if(y(!0),x(null),_){x(_);return}m(!0);const $={operator:c,phone:Pp(d,o),country:o,idempotency_key:typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID?crypto.randomUUID():void 0};t!==null&amp;&amp;($.installment_index=t),zF(r,$).then(F=&gt;{i(F),l()}).catch(F=&gt;{F instanceof Bt?x(F.data?.message??F.message):x(&quot;Une erreur est survenue.&quot;)}).finally(()=&gt;m(!1))},T=g||p!==null;return s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:s.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:[s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity&quot;,onClick:()=&gt;!h&amp;&amp;l(),&quot;aria-hidden&quot;:!0}),s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Paiement Mobile Money (SycaPay)&quot;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!h&amp;&amp;l(),className:&quot;text-gray-400 hover:text-gray-600 p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:s.jsx(pr,{size:22})})]}),s.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;s.jsx(&quot;div&quot;,{className:&quot;mb-4 rounded-lg border border-red-200 bg-red-50 p-3&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:p})}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;select&quot;,{id:&quot;sycapay-country&quot;,value:o,onChange:$=&gt;u($.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:Op.map($=&gt;s.jsxs(&quot;option&quot;,{value:$,children:[Ni[$].label,&quot; (&quot;,$,&quot;)&quot;]},$))})]}),s.jsxs(&quot;div&quot;,{children:[s.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;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;select&quot;,{id:&quot;sycapay-operator&quot;,value:c,onChange:$=&gt;a($.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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Choisir —&quot;}),v.operators.map($=&gt;s.jsx(&quot;option&quot;,{value:$.apiValue,children:$.label},$.apiValue))]}),T&amp;&amp;!c&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:&quot;Veuillez sélectionner un opérateur.&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.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;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{id:&quot;sycapay-phone&quot;,type:&quot;tel&quot;,value:d,onChange:$=&gt;f($.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;!kd(d,o)&amp;&amp;s.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;})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;mt-6 flex justify-end gap-2&quot;,children:[s.jsx(Re,{variant:&quot;ghost&quot;,onClick:l,disabled:h,children:&quot;Annuler&quot;}),s.jsx(Re,{variant:&quot;primary&quot;,onClick:M,disabled:!C,children:h?&quot;Préparation…&quot;:&quot;Continuer vers le paiement&quot;})]})]})]})})}const mB=[&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 pB(e){const[r,t]=e.split(&quot;-&quot;).map(Number);if(Number.isNaN(r)||Number.isNaN(t))return e;const l=new Date(r,t,0).getDate(),i=mB[t-1]??String(t);return`${l} ${i} ${r}`}function gB(e,r){const t=e?.[r];return t?.month?`Échéance — date limite le ${pB(t.month)}`:r===0?&quot;Solde unique&quot;:`Échéance ${r+1}`}function xB({open:e,registrationId:r,defaultCountry:t=&quot;CI&quot;,remainingDue:n,currencyLabel:l,installments:i,onClose:o,onInitSuccess:u}){const[c,a]=I.useState(()=&gt;Pc(t)),[d,f]=I.useState(&quot;&quot;),[h,m]=I.useState(&quot;&quot;),[p,x]=I.useState(&quot;&quot;),[g,y]=I.useState(!1),[v,_]=I.useState(null),[C,M]=I.useState(!1),[T,$]=I.useState(&quot;form&quot;),[F,H]=I.useState(null),W=Ni[c]??Ni.CI;I.useEffect(()=&gt;{e&amp;&amp;(a(Pc(t)),f(&quot;&quot;),m(&quot;&quot;),x(&quot;&quot;),_(null),M(!1),$(&quot;form&quot;),H(null))},[e,t]),I.useEffect(()=&gt;{f(S=&gt;{const N=Ni[c];return N&amp;&amp;N.operators.some(O=&gt;O.apiValue===S)?S:&quot;&quot;})},[c]);const q=I.useMemo(()=&gt;{const S=parseInt(p.replace(/\s/g,&quot;&quot;),10);return Number.isFinite(S)?S:NaN},[p]),K=I.useMemo(()=&gt;d?h.replace(/\s/g,&quot;&quot;)?kd(h,c)?!Number.isFinite(q)||q&lt;=0?&quot;Indiquez un montant strictement positif.&quot;:q&gt;n?`Le montant ne peut pas dépasser le solde restant (${n.toLocaleString(&quot;fr-FR&quot;)} ${l}).`:null:c===&quot;CI&quot;?&quot;Numéro invalide : 10 chiffres pour la CI (ex. 07… ou +225 07…).&quot;:&quot;Numéro de téléphone invalide (8 à 16 chiffres).&quot;:&quot;Indiquez votre numéro Mobile Money.&quot;:&quot;Choisissez un opérateur Mobile Money.&quot;,[d,h,c,q,n,l]),P=K===null&amp;&amp;!g&amp;&amp;T===&quot;form&quot;;if(!e)return null;const L=()=&gt;{if(M(!0),_(null),K){_(K);return}y(!0);const S={amount:q,operator:d,phone:Pp(h,c),country:c,idempotency_key:typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID?crypto.randomUUID():void 0};$F(r,S).then(N=&gt;{const O=N.data;if(O.status===&quot;failed&quot;||O.error){_(fC(O,N.message));return}H(N),$(&quot;afterInit&quot;),u()}).catch(N=&gt;{N instanceof Bt?_(UF(N)):_(&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}o()},j=C||v!==null,k=F?.data.allocation_preview;return s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:s.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:[s.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;o(),&quot;aria-hidden&quot;:!0}),s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Payer un montant libre&quot;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!g&amp;&amp;o(),className:&quot;text-gray-400 hover:text-gray-600 p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:s.jsx(pr,{size:22})})]}),T===&quot;form&quot;&amp;&amp;s.jsxs(s.Fragment,{children:[s.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:[s.jsxs(&quot;p&quot;,{children:[&quot;Le montant sera &quot;,s.jsx(&quot;strong&quot;,{children:&quot;automatiquement imputé&quot;}),&quot; à vos échéances encore dues, de la&quot;,&quot; &quot;,s.jsx(&quot;strong&quot;,{children:&quot;plus ancienne à la plus récente&quot;}),&quot;.&quot;]}),s.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;,l,&quot;). Le montant définitif est validé par le serveur.&quot;]})]}),v&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;mb-4 rounded-lg border border-red-200 bg-red-50 p-3&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:v})}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.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;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{id:&quot;open-amt-amount&quot;,type:&quot;text&quot;,inputMode:&quot;numeric&quot;,value:p,onChange:S=&gt;x(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(q)&amp;&amp;q&gt;n&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:&quot;Montant supérieur au solde restant.&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;select&quot;,{id:&quot;open-amt-country&quot;,value:c,onChange:S=&gt;a(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:Op.map(S=&gt;s.jsxs(&quot;option&quot;,{value:S,children:[Ni[S].label,&quot; (&quot;,S,&quot;)&quot;]},S))})]}),s.jsxs(&quot;div&quot;,{children:[s.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;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Choisir —&quot;}),W.operators.map(S=&gt;s.jsx(&quot;option&quot;,{value:S.apiValue,children:S.label},S.apiValue))]}),j&amp;&amp;!d&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:&quot;Veuillez sélectionner un opérateur.&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.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;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.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;!kd(h,c)&amp;&amp;s.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;})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;mt-6 flex justify-end gap-2&quot;,children:[s.jsx(Re,{variant:&quot;ghost&quot;,onClick:o,disabled:g,children:&quot;Annuler&quot;}),s.jsx(Re,{variant:&quot;primary&quot;,onClick:L,disabled:!P,children:g?&quot;Préparation…&quot;:&quot;Valider et continuer&quot;})]})]}),T===&quot;afterInit&quot;&amp;&amp;F&amp;&amp;s.jsxs(s.Fragment,{children:[s.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;,s.jsx(&quot;strong&quot;,{children:&quot;pas encore confirmé&quot;}),&quot; tant que le prestataire n’a pas validé l’opération.&quot;]}),s.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:[s.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;,l]}),s.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;s.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-800 mb-2&quot;,children:&quot;Répartition prévue (indicatif)&quot;}),s.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;s.jsxs(&quot;li&quot;,{className:&quot;flex justify-between gap-2&quot;,children:[s.jsx(&quot;span&quot;,{children:gB(i??null,S.installment_index)}),s.jsxs(&quot;span&quot;,{className:&quot;font-medium tabular-nums&quot;,children:[S.amount.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,l]})]},`${S.installment_index}-${N}`))}),s.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;})]}),s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap justify-end gap-2&quot;,children:[s.jsx(Re,{variant:&quot;ghost&quot;,onClick:o,children:&quot;Fermer&quot;}),F.data.redirect_url?s.jsx(Re,{variant:&quot;primary&quot;,onClick:E,children:&quot;Continuer vers le paiement&quot;}):null]})]})]})]})})}const bB={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;},Ih=52e3,Y4=14;function Mx({registrationId:e,paymentId:r,summaryHint:t,onUpdated:n}){const[l,i]=I.useState(!1),[o,u]=I.useState(null),[c,a]=I.useState(null),d=I.useRef(n);d.current=n,I.useEffect(()=&gt;{let x=!1;const g=[],y=async v=&gt;q4(e,r,v?{refresh:!0}:void 0);return(async()=&gt;{try{const v=await y(!1);if(x||(a(v),v.is_terminal))return;let _=0,C=v.status;const M=()=&gt;{const $=v.refresh_earliest_at;if(!$)return Ih;const F=Date.parse($);return Number.isNaN(F)?Ih:Math.max(4e3,F-Date.now()+1500)},T=$=&gt;{if(x||_&gt;=Y4)return;const F=window.setTimeout(async()=&gt;{if(!x){_+=1;try{const H=await y(!0);if(x)return;a(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(Ih)}},$);g.push(F)};T(M())}catch{}})(),()=&gt;{x=!0,g.forEach(v=&gt;window.clearTimeout(v))}},[e,r]);const f=()=&gt;{u(null),i(!0),q4(e,r,{refresh:!0}).then(x=&gt;{a(x),n()}).catch(x=&gt;{x instanceof Bt?u(x.data?.message??x.message):u(&quot;Impossible d’actualiser le statut.&quot;)}).finally(()=&gt;i(!1))},h=c&amp;&amp;!c.refresh_attempted&amp;&amp;c.refresh_skipped_reason?bB[c.refresh_skipped_reason]??&quot;Actualisation momentanément indisponible.&quot;:null,m=c===null||c.can_retry_refresh===!0,p=c!==null&amp;&amp;!c.is_terminal;return s.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;s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600&quot;,children:t}),p&amp;&amp;s.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:[&quot;Vérification automatique côté serveur (jusqu’à &quot;,Y4,&quot; tentatives, environ toutes les&quot;,&quot; &quot;,Math.round(Ih/1e3),&quot; s, dans la limite des garde-fous API) tant que le paiement n’est pas terminé. Vous pouvez aussi actualiser manuellement.&quot;]}),c?.message&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-ink-800&quot;,role:&quot;status&quot;,children:c.message}),o&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-xs text-red-700&quot;,children:o}),h&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-800&quot;,children:h}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2&quot;,children:[s.jsxs(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;text-sm py-1.5 h-auto&quot;,onClick:f,disabled:l||!m,children:[s.jsx(B1,{size:14,className:`mr-1.5 inline ${l?&quot;animate-spin&quot;:&quot;&quot;}`}),l?&quot;Vérification…&quot;:&quot;Actualiser le statut&quot;]}),!m&amp;&amp;!l&amp;&amp;!h&amp;&amp;s.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Actualisation non disponible pour le moment.&quot;})]})]})}const yB={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;},vB={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;},hl=&quot;sycapay&quot;,pC=[&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 wB(e){const[r,t]=e.split(&quot;-&quot;).map(Number);return Number.isNaN(r)||Number.isNaN(t)?e:`${pC[t-1]??e} ${r}`}function _B(e){const[r,t]=e.split(&quot;-&quot;).map(Number);if(Number.isNaN(r)||Number.isNaN(t))return e;const l=new Date(r,t,0).getDate(),i=pC[t-1]??String(t);return`${l} ${i} ${r}`}function jB(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 Z4(e,r){return e.find(t=&gt;t.payment_gateway!==hl||![&quot;pending&quot;,&quot;initiated&quot;].includes(t.status)?!1:r===null?t.installment_index==null:t.installment_index===r)}function SB(e){return e.some(r=&gt;r.payment_gateway===hl&amp;&amp;[&quot;pending&quot;,&quot;initiated&quot;].includes(r.status))}function kB(e){return e.some(r=&gt;r.status===&quot;pending_review&quot;)}function U1(e,r){return e.filter(t=&gt;r===null?t.installment_index===null||t.installment_index===void 0:t.installment_index===r)}function Qy(e,r){return U1(e,r).some(t=&gt;t.status===&quot;confirmed&quot;)}function NB(e,r){const t=U1(e,r),n=t.find(l=&gt;l.status===&quot;confirmed&quot;);return n||[...t].sort((l,i)=&gt;i.id-l.id)[0]}function Q4(e,r){return Qy(e,r)?!1:U1(e,r).some(t=&gt;t.payment_gateway===hl&amp;&amp;t.status===&quot;failed&quot;)}function CB(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 EB(){const e=Gi(),{user:r,isAuthenticated:t,canAccessAdmin:n,loading:l,refetch:i,roles:o}=qs(),[u,c]=I.useState([]),[a,d]=I.useState(!0),[f,h]=I.useState(null),[m,p]=I.useState(&quot;&quot;),[x,g]=I.useState(&quot;&quot;),[y,v]=I.useState(null),[_,C]=I.useState(!1),[M,T]=I.useState(null),[$,F]=I.useState(null),[H,W]=I.useState(null),[q,K]=I.useState(null),[P,L]=I.useState(!1),E=!P||q?.registration_payments_enabled!==!1,j=I.useCallback(O=&gt;{const D=O?.silent===!0;D||d(!0),h(null),BF().then(c).catch(B=&gt;{if(B instanceof Bt){if(B.status===401){fi.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;{D||d(!1)})},[e]);I.useEffect(()=&gt;{!t||!fi.isAuthenticated()||r?.must_change_password||j()},[t,r?.must_change_password,j]),I.useEffect(()=&gt;{!t||!fi.isAuthenticated()||r?.must_change_password||hC().then(O=&gt;{K(O),L(!0)}).catch(()=&gt;{K({registration_payments_enabled:!0,donation_payments_enabled:!0,disabled_message:&quot;&quot;}),L(!0)})},[t,r?.must_change_password]);const k=O=&gt;{j();const D=O.data.redirect_url;D&amp;&amp;window.location.assign(D)},S=()=&gt;{const O=m.trim(),D=x.trim();if(v(null),O.length&lt;8){v(&quot;Le mot de passe doit contenir au moins 8 caractères.&quot;);return}if(O!==D){v(&quot;Les deux mots de passe ne correspondent pas.&quot;);return}C(!0),dC.changePassword({new_password:O,new_password_confirmation:D}).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=(O,D)=&gt;{T(O),VF(O,`${D}.pdf`).catch(()=&gt;{}).finally(()=&gt;T(null))};return l?s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?n&amp;&amp;!r?.must_change_password?s.jsx(pi,{to:&quot;/admin/registrations&quot;,replace:!0}):s.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6 lg:px-8&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;max-w-3xl mx-auto&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[s.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Mon espace participant&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Consultez vos inscriptions, échéances et paiements&quot;})]}),s.jsxs(An,{className:&quot;mb-8&quot;,children:[s.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Mes informations&quot;}),s.jsxs(&quot;p&quot;,{className:&quot;text-ink-700&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:&quot;Nom :&quot;}),&quot; &quot;,r?.name??&quot;—&quot;]}),s.jsxs(&quot;p&quot;,{className:&quot;text-ink-700 mt-1&quot;,children:[s.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;s.jsxs(An,{className:&quot;mb-8 border-amber-200 bg-amber-50/50&quot;,children:[s.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-2&quot;,children:&quot;Changer votre mot de passe&quot;}),s.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;s.jsx(&quot;div&quot;,{className:&quot;mb-4 bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:y})}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-4 max-w-md&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Nouveau mot de passe &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:m,onChange:O=&gt;p(O.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.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;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:x,onChange:O=&gt;g(O.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;})]}),s.jsx(Re,{variant:&quot;primary&quot;,onClick:S,disabled:!!_,children:_?&quot;Enregistrement...&quot;:&quot;Enregistrer le mot de passe&quot;})]})]}),!r?.must_change_password&amp;&amp;s.jsxs(An,{children:[s.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Mes inscriptions&quot;}),a&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;py-8 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;}),f&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4 mb-4&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:f}),s.jsx(Re,{variant:&quot;outline&quot;,className:&quot;mt-2&quot;,onClick:()=&gt;j(),children:&quot;Réessayer&quot;})]}),!a&amp;&amp;!f&amp;&amp;u.length===0&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;py-8 text-center text-ink-500&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;mb-4&quot;,children:&quot;Vous n&#039;avez pas encore d&#039;inscription.&quot;}),s.jsx(Re,{variant:&quot;primary&quot;,onClick:()=&gt;e(&quot;/inscription&quot;),children:&quot;S&#039;inscrire à un événement&quot;})]}),!a&amp;&amp;!f&amp;&amp;u.length&gt;0&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:u.map(O=&gt;{const D=jB(O),B=O.currency_selected===&quot;EUR&quot;?&quot;€&quot;:&quot;FCFA&quot;,Y=O.installment_config?.installments??[],Z=Y.length&gt;0,ne=O.payments??[],V=ne.filter(re=&gt;re.status===&quot;confirmed&quot;).reduce((re,Q)=&gt;re+Q.amount,0),ee=Math.max(0,D-V),z=Z4(ne,null),R=Q4(ne,null),X=ne.some(re=&gt;(re.installment_index===null||re.installment_index===void 0)&amp;&amp;re.payment_gateway!==hl&amp;&amp;re.status!==&quot;confirmed&quot;&amp;&amp;re.status!==&quot;failed&quot;);return s.jsxs(&quot;div&quot;,{className:&quot;border border-gray-200 rounded-lg p-4 hover:bg-gray-50/50 transition-colors&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:O.event?.name??`Inscription #${O.id}`}),s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[O.first_name,&quot; &quot;,O.last_name,&quot; · &quot;,O.email]})]}),s.jsx(&quot;span&quot;,{className:`inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium ${O.status===&quot;paid&quot;?&quot;bg-green-100 text-green-800&quot;:O.status===&quot;submitted&quot;||O.status===&quot;pending_payment&quot;?&quot;bg-amber-100 text-amber-800&quot;:&quot;bg-gray-100 text-gray-800&quot;}`,children:yB[O.status]??O.status})]}),O.pricing_plan&amp;&amp;s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:[&quot;Formule : &quot;,O.pricing_plan.title,&quot; (&quot;,O.pricing_plan.code,&quot;)&quot;]}),(O.amount_due_eur!=null||O.amount_due_xof!=null)&amp;&amp;!Z&amp;&amp;s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:[&quot;Montant dû :&quot;,&quot; &quot;,O.amount_due_eur!=null&amp;&amp;`${O.amount_due_eur} €`,O.amount_due_eur!=null&amp;&amp;O.amount_due_xof!=null&amp;&amp;&quot; / &quot;,O.amount_due_xof!=null&amp;&amp;`${O.amount_due_xof.toLocaleString(&quot;fr-FR&quot;)} FCFA`]}),Z?s.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-1&quot;,children:[&quot;Montant total :&quot;,&quot; &quot;,s.jsxs(&quot;span&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[D.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,B]})]}),s.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;}),s.jsx(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:Y.map((re,Q)=&gt;{const te=re.currency===&quot;EUR&quot;?&quot;€&quot;:&quot;FCFA&quot;,se=_B(re.month),de=O.installment_balances?.find(we=&gt;we.installment_index===Q),ce=de?.nominal??(typeof re.amount==&quot;number&quot;?re.amount:typeof re.amount==&quot;string&quot;&amp;&amp;re.amount!==&quot;&quot;?Number(re.amount):null),ie=de?.remaining,fe=typeof ie==&quot;number&quot;?ie&lt;=0:Qy(ne,Q),oe=NB(ne,Q),ge=Qy(ne,Q),xe=!!oe&amp;&amp;oe.status!==&quot;confirmed&quot;&amp;&amp;oe.payment_gateway!==hl,pe=Z4(ne,Q),ue=Q4(ne,Q);return s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-3&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:[&quot;Échéance &quot;,Q+1,&quot; — &quot;,wB(re.month)]}),s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-0.5&quot;,children:[&quot;Date limite : &quot;,s.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-700&quot;,children:se})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[fe?s.jsx(&quot;p&quot;,{className:&quot;text-lg font-semibold text-green-800&quot;,children:&quot;Soldée&quot;}):s.jsxs(s.Fragment,{children:[s.jsxs(&quot;p&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:[(typeof ie==&quot;number&quot;?ie:ce!=null&amp;&amp;!Number.isNaN(ce)?ce:null)?.toLocaleString(&quot;fr-FR&quot;)??&quot;—&quot;,&quot; &quot;,te]}),typeof ie==&quot;number&quot;&amp;&amp;ie&gt;0&amp;&amp;typeof ce==&quot;number&quot;&amp;&amp;!Number.isNaN(ce)&amp;&amp;ie&lt;ce&amp;&amp;s.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-0.5&quot;,children:[&quot;sur &quot;,ce.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,te,&quot; d’échéance&quot;]})]}),typeof de?.paid_confirmed==&quot;number&quot;&amp;&amp;de.paid_confirmed&gt;0&amp;&amp;!fe&amp;&amp;s.jsxs(&quot;p&quot;,{className:&quot;text-xs text-green-700 mt-1&quot;,children:[&quot;Déjà versé : &quot;,de.paid_confirmed.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,te]})]})]}),s.jsx(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2&quot;,children:fe&amp;&amp;ge&amp;&amp;oe?.receipt?s.jsxs(&quot;span&quot;,{className:&quot;flex items-center gap-2 flex-wrap&quot;,children:[s.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;}),s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;N(oe.receipt.id,oe.receipt.receipt_number),disabled:M===oe.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:[s.jsx(wa,{size:14}),M===oe.receipt?.id?&quot;Téléchargement...&quot;:&quot;Télécharger le reçu&quot;]})]}):fe?s.jsxs(&quot;span&quot;,{className:&quot;flex flex-col gap-1 sm:flex-row sm:items-center sm:flex-wrap&quot;,children:[s.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;}),s.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?s.jsx(&quot;span&quot;,{className:`px-1.5 py-0.5 rounded text-xs ${oe.status===&quot;rejected&quot;?&quot;bg-red-100 text-red-800&quot;:&quot;bg-amber-100 text-amber-800&quot;}`,children:oe.status===&quot;rejected&quot;?&quot;Rejeté&quot;:&quot;Déclaré — En attente de validation&quot;}):null}),pe&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;rounded-md border border-sky-200 bg-white px-3 py-2&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-800&quot;,children:&quot;Paiement en ligne en cours&quot;}),s.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;}),s.jsx(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap gap-2&quot;,children:pe.action_url?s.jsx(Re,{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}),s.jsx(Mx,{registrationId:O.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})})]}),D&gt;0&amp;&amp;!fe&amp;&amp;!pe&amp;&amp;!xe&amp;&amp;(E?s.jsx(Re,{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:O.id,installmentIndex:Q,defaultCountry:O.country||&quot;CI&quot;}),children:ue?&quot;Réessayer le paiement en ligne&quot;:&quot;Payer cette échéance&quot;}):s.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:q?.disabled_message?.trim()||&quot;Les paiements en ligne (SycaPay) ne sont pas encore ouverts.&quot;}))]},Q)})}),ee&gt;0&amp;&amp;!SB(ne)&amp;&amp;!kB(ne)&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-dashed border-gray-200&quot;,children:[s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-2&quot;,children:[&quot;Vous pouvez aussi régler &quot;,s.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?s.jsx(Re,{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:O.id,defaultCountry:O.country||&quot;CI&quot;,remainingDue:ee,currencyLabel:B,installments:Y}),children:&quot;Payer un montant libre&quot;}):s.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:q?.disabled_message?.trim()||&quot;Les paiements en ligne (SycaPay) ne sont pas encore ouverts.&quot;})]})]}):D&gt;0&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-700 mb-2&quot;,children:&quot;Montant dû&quot;}),s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600&quot;,children:&quot;Total à régler&quot;}),s.jsxs(&quot;p&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:[D.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,B]})]}),z&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;rounded-md border border-sky-200 bg-white px-3 py-2&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-800&quot;,children:&quot;Paiement en ligne en cours&quot;}),s.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;}),s.jsx(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap gap-2&quot;,children:z.action_url?s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;text-sm py-1.5 h-auto&quot;,onClick:()=&gt;window.location.assign(z.action_url),children:&quot;Continuer vers le paiement&quot;}):null}),s.jsx(Mx,{registrationId:O.id,paymentId:z.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})})]}),!z&amp;&amp;ee&gt;0&amp;&amp;(!X||R)&amp;&amp;(E?s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;text-sm py-2 h-auto&quot;,onClick:()=&gt;F({registrationId:O.id,installmentIndex:null,defaultCountry:O.country||&quot;CI&quot;}),children:R?&quot;Réessayer le paiement en ligne&quot;:&quot;Payer le solde&quot;}):s.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:q?.disabled_message?.trim()||&quot;Les paiements en ligne (SycaPay) ne sont pas encore ouverts.&quot;}))]})]}),D&gt;0&amp;&amp;s.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:[s.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-[#5C262D]&quot;,children:&quot;Restant à payer&quot;}),s.jsxs(&quot;span&quot;,{className:`text-sm font-semibold ${ee&gt;0?&quot;text-[#722F37]&quot;:&quot;text-green-700&quot;}`,children:[ee.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,B,ee===0&amp;&amp;D&gt;0&amp;&amp;&quot; — Soldé&quot;]})]}),s.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-700 mb-2&quot;,children:&quot;Paiements&quot;}),ne.length===0?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucun paiement enregistré.&quot;}):s.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:ne.map(re=&gt;s.jsxs(&quot;li&quot;,{className:&quot;text-sm py-1.5 border-b border-gray-50 last:border-0&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2&quot;,children:[s.jsxs(&quot;span&quot;,{children:[re.amount.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,re.currency,&quot; — &quot;,re.paid_at?new Date(re.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;,re.reference&amp;&amp;` (${re.reference})`,re.payment_gateway===hl&amp;&amp;s.jsx(&quot;span&quot;,{className:&quot;ml-1 text-xs text-ink-400&quot;,children:&quot;· en ligne&quot;})]}),s.jsxs(&quot;span&quot;,{className:&quot;flex items-center gap-2 flex-wrap&quot;,children:[s.jsx(&quot;span&quot;,{className:`px-1.5 py-0.5 rounded text-xs ${CB(re.status)}`,children:vB[re.status]??re.status}),re.status===&quot;confirmed&quot;&amp;&amp;(re.receipt?s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;N(re.receipt.id,re.receipt.receipt_number),disabled:M===re.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:[s.jsx(wa,{size:14}),M===re.receipt.id?&quot;Téléchargement...&quot;:&quot;Télécharger le reçu&quot;]}):s.jsx(&quot;span&quot;,{className:&quot;text-ink-500 text-xs&quot;,children:&quot;Reçu à venir&quot;}))]})]}),re.payment_gateway===hl&amp;&amp;(re.status===&quot;pending&quot;||re.status===&quot;initiated&quot;)&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;mt-2 rounded-md border border-sky-100 bg-sky-50/40 px-2 py-2&quot;,children:s.jsx(Mx,{registrationId:O.id,paymentId:re.id,summaryHint:&quot;Le prestataire peut confirmer avant l’affichage ici : actualisez ou attendez quelques secondes.&quot;,onUpdated:()=&gt;j({silent:!0})})})]},re.id))})]})]},O.id)})})]}),s.jsxs(&quot;div&quot;,{className:&quot;mt-8 flex flex-wrap gap-4&quot;,children:[s.jsx(Re,{variant:&quot;outline&quot;,onClick:()=&gt;fi.logout().then(()=&gt;e(&quot;/login&quot;,{replace:!0})),children:&quot;Déconnexion&quot;}),n&amp;&amp;s.jsx(&quot;a&quot;,{href:o?.includes(&quot;COMMISSION_FINANCE&quot;)||o?.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)||o?.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)||o?.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;}),s.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;})]})]}),$&amp;&amp;s.jsx(hB,{open:!0,registrationId:$.registrationId,installmentIndex:$.installmentIndex,defaultCountry:$.defaultCountry,onClose:()=&gt;F(null),onInitiated:k}),H&amp;&amp;s.jsx(xB,{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})})]}):s.jsx(pi,{to:&quot;/login&quot;,replace:!0})}function AB(){const e=Gi();return I.useEffect(()=&gt;{const r=window.setTimeout(()=&gt;{e(&quot;/account&quot;,{replace:!0})},5e3);return()=&gt;window.clearTimeout(r)},[e]),s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;mx-auto max-w-md&quot;,children:s.jsxs(An,{className:&quot;text-center&quot;,children:[s.jsx(&quot;h1&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-3&quot;,children:&quot;Retour de paiement&quot;}),s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-3 sm:flex-row sm:justify-center&quot;,children:[s.jsx(Re,{variant:&quot;primary&quot;,onClick:()=&gt;e(&quot;/account&quot;,{replace:!0}),children:&quot;Voir mon espace participant&quot;}),s.jsx(Re,{variant:&quot;outline&quot;,onClick:()=&gt;e(&quot;/&quot;,{replace:!0}),children:&quot;Accueil&quot;})]}),s.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 Tp({showRefresh:e=!1,refreshing:r=!1,onRefresh:t}){const n=Gi(),{user:l}=qs(),i=async()=&gt;{try{await fi.logout(),n(&quot;/login&quot;,{replace:!0})}catch{n(&quot;/login&quot;,{replace:!0})}};return s.jsx(&quot;header&quot;,{className:&quot;sticky top-0 z-50 w-full border-b border-gray-200 bg-white shadow-soft&quot;,children:s.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:s.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 items-center justify-between gap-2 sm:gap-3&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-1 items-center gap-2 sm:gap-3 md:flex-none&quot;,children:[s.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;}),s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex shrink-0 items-center gap-1.5 sm:gap-4&quot;,children:[l&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;text-right hidden sm:block&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:l.name}),s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:l.email}),l.roles&amp;&amp;l.roles.length&gt;0&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:typeof l.roles[0]==&quot;string&quot;?l.roles[0]:l.roles[0].name})]}),e&amp;&amp;t&amp;&amp;s.jsxs(Re,{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:[s.jsx(B1,{size:17,className:r?&quot;animate-spin&quot;:&quot;&quot;}),s.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:r?&quot;Rafraîchissement...&quot;:&quot;Rafraîchir&quot;})]}),s.jsxs(Re,{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:[s.jsx(eF,{size:17}),s.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:&quot;Déconnexion&quot;})]})]})]})})})}const cr=&#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 MB(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;${cr}&gt;${e}&lt;/svg&gt;`;return`data:image/svg+xml,${encodeURIComponent(r)}`}const OB={layoutDashboard:[`&lt;rect width=&quot;7&quot; height=&quot;9&quot; x=&quot;3&quot; y=&quot;3&quot; rx=&quot;1&quot;${cr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;5&quot; x=&quot;14&quot; y=&quot;3&quot; rx=&quot;1&quot;${cr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;9&quot; x=&quot;14&quot; y=&quot;12&quot; rx=&quot;1&quot;${cr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;5&quot; x=&quot;3&quot; y=&quot;16&quot; rx=&quot;1&quot;${cr}/&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;${cr}/&gt;`,`&lt;path d=&quot;M16 3.128a4 4 0 0 1 0 7.744&quot;${cr}/&gt;`,`&lt;path d=&quot;M22 21v-2a4 4 0 0 0-3-3.87&quot;${cr}/&gt;`,`&lt;circle cx=&quot;9&quot; cy=&quot;7&quot; r=&quot;4&quot;${cr}/&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;${cr}/&gt;`].join(&quot;&quot;),userCog:[`&lt;path d=&quot;M10 15H6a4 4 0 0 0-4 4v2&quot;${cr}/&gt;`,`&lt;path d=&quot;m14.305 16.53.923-.382&quot;${cr}/&gt;`,`&lt;path d=&quot;m15.228 13.852-.923-.383&quot;${cr}/&gt;`,`&lt;path d=&quot;m16.852 12.228-.383-.923&quot;${cr}/&gt;`,`&lt;path d=&quot;m16.852 17.772-.383.924&quot;${cr}/&gt;`,`&lt;path d=&quot;m19.148 12.228.383-.923&quot;${cr}/&gt;`,`&lt;path d=&quot;m19.53 18.696-.382-.924&quot;${cr}/&gt;`,`&lt;path d=&quot;m20.772 13.852.924-.383&quot;${cr}/&gt;`,`&lt;path d=&quot;m20.772 16.148.924.383&quot;${cr}/&gt;`,`&lt;circle cx=&quot;18&quot; cy=&quot;15&quot; r=&quot;3&quot;${cr}/&gt;`,`&lt;circle cx=&quot;9&quot; cy=&quot;7&quot; r=&quot;4&quot;${cr}/&gt;`].join(&quot;&quot;),userCircle:[`&lt;circle cx=&quot;12&quot; cy=&quot;12&quot; r=&quot;10&quot;${cr}/&gt;`,`&lt;circle cx=&quot;12&quot; cy=&quot;10&quot; r=&quot;3&quot;${cr}/&gt;`,`&lt;path d=&quot;M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662&quot;${cr}/&gt;`].join(&quot;&quot;),dollarSign:[`&lt;line x1=&quot;12&quot; x2=&quot;12&quot; y1=&quot;2&quot; y2=&quot;22&quot;${cr}/&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;${cr}/&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;${cr}/&gt;`,`&lt;circle cx=&quot;12&quot; cy=&quot;12&quot; r=&quot;3&quot;${cr}/&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;${cr}/&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;${cr}/&gt;`].join(&quot;&quot;)},gC={};for(const[e,r]of Object.entries(OB))gC[e]=MB(r);function PB(){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 TB(e){return gC[e]??&quot;&quot;}function Ip({currentSection:e,registrationView:r=&quot;summit&quot;,showSommet:t=!0,showSeminar:n=!1,showRecommendations:l=!0,showUsers:i=!1,showFinance:o=!1,showSettings:u=!1}){const c=e===&quot;registrations&quot;,a=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=s.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:[s.jsx(&quot;div&quot;,{className:&quot;p-4 border-b border-gray-200&quot;,children:s.jsx(&quot;h2&quot;,{className:&quot;text-sm font-semibold text-ink-900&quot;,children:&quot;Menu&quot;})}),s.jsxs(&quot;nav&quot;,{className:&quot;flex-1 p-2 overflow-y-auto&quot;,children:[t&amp;&amp;s.jsxs(dr,{to:&quot;/admin/registrations?view=summit&quot;,className:m(c&amp;&amp;r===&quot;summit&quot;),children:[s.jsx(B4,{size:18}),&quot;Sommet Francophone&quot;]}),n&amp;&amp;s.jsxs(dr,{to:&quot;/admin/registrations?view=seminar&quot;,className:m(c&amp;&amp;r===&quot;seminar&quot;),children:[s.jsx(Cm,{size:18}),&quot;Séminaire régional&quot;]}),l&amp;&amp;s.jsxs(dr,{to:&quot;/admin/registrations?view=recommendations&quot;,className:m(c&amp;&amp;r===&quot;recommendations&quot;),children:[s.jsx(z4,{size:18}),&quot;Recommandations&quot;]}),i&amp;&amp;s.jsxs(dr,{to:&quot;/admin/users&quot;,className:m(a),children:[s.jsx(Nm,{size:18}),&quot;Utilisateurs&quot;]}),o&amp;&amp;s.jsxs(dr,{to:&quot;/admin/finance&quot;,className:m(f),children:[s.jsx(qy,{size:18}),&quot;Finance&quot;]}),u&amp;&amp;s.jsxs(dr,{to:&quot;/admin/settings&quot;,className:m(h),children:[s.jsx(Wy,{size:18}),&quot;Paramétrage&quot;]}),s.jsxs(dr,{to:&quot;/admin/account&quot;,className:m(d),children:[s.jsx(L4,{size:18}),&quot;Mon compte&quot;]}),s.jsxs(dr,{to:&quot;/account&quot;,className:m(!1),children:[s.jsx(Hy,{size:18}),&quot;Ma page personnelle&quot;]})]})]}),x=PB(),g=[t&amp;&amp;{to:&quot;/admin/registrations?view=summit&quot;,label:&quot;Sommet&quot;,icon:B4,iconKey:&quot;layoutDashboard&quot;,active:c&amp;&amp;r===&quot;summit&quot;},n&amp;&amp;{to:&quot;/admin/registrations?view=seminar&quot;,label:&quot;Séminaire&quot;,icon:Cm,iconKey:&quot;users&quot;,active:c&amp;&amp;r===&quot;seminar&quot;},l&amp;&amp;{to:&quot;/admin/registrations?view=recommendations&quot;,label:&quot;Recommandations&quot;,icon:z4,iconKey:&quot;messageSquare&quot;,active:c&amp;&amp;r===&quot;recommendations&quot;},i&amp;&amp;{to:&quot;/admin/users&quot;,label:&quot;Utilisateurs&quot;,icon:Nm,iconKey:&quot;userCog&quot;,active:a},o&amp;&amp;{to:&quot;/admin/finance&quot;,label:&quot;Finance&quot;,icon:qy,iconKey:&quot;dollarSign&quot;,active:f},u&amp;&amp;{to:&quot;/admin/settings&quot;,label:&quot;Paramétrage&quot;,icon:Wy,iconKey:&quot;settings&quot;,active:h},{to:&quot;/admin/account&quot;,label:&quot;Mon compte&quot;,icon:L4,iconKey:&quot;userCircle&quot;,active:d},{to:&quot;/account&quot;,label:&quot;Ma page&quot;,icon:Hy,iconKey:&quot;home&quot;,active:!1}].filter(Boolean);return s.jsxs(s.Fragment,{children:[p,s.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:s.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 s.jsxs(dr,{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:[s.jsx(&quot;span&quot;,{className:&quot;mobile-nav-icon-cell shrink-0 flex items-center justify-center&quot;,&quot;aria-hidden&quot;:!0,children:x?s.jsx(&quot;img&quot;,{src:TB(y.iconKey),alt:&quot;&quot;,width:22,height:22,className:&quot;block&quot;}):s.jsx(v,{size:22,strokeWidth:2,stroke:&quot;currentColor&quot;,fill:&quot;none&quot;})}),s.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 Jy=[{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 V1(e){return e?Jy.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 IB({filters:e,onFiltersChange:r,hideEventFilter:t=!1,showCountryFilter:n=!1,countryShortcuts:l=[]}){const{events:i,loading:o}=Mp(),[u,c]=I.useState(e),a=I.useMemo(()=&gt;{const C=new Set(l),M=u.country?.trim();return M&amp;&amp;C.add(M),Array.from(C).sort((T,$)=&gt;T.localeCompare($,&quot;fr&quot;))},[l,u.country]),[d,f]=I.useState(null),[h,m]=I.useState(!1);I.useEffect(()=&gt;{c(e)},[e]);const p=(C,M)=&gt;{const T={...u,[C]:M};if(c(T),C===&quot;q&quot;){d&amp;&amp;clearTimeout(d);const $=setTimeout(()=&gt;{r(T)},400);f($)}else r(T)},x=C=&gt;{const M=u.status||[],T=M.includes(C)?M.filter($=&gt;$!==C):[...M,C];p(&quot;status&quot;,T.length&gt;0?T:void 0)},g=C=&gt;{const M=u.country===C?void 0:C;p(&quot;country&quot;,M)},y=()=&gt;{const C={event_id:void 0,status:void 0,q:void 0,created_from:void 0,created_to:void 0,country:void 0};c(C),r(C),m(!1)},v=&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;,_=&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 s.jsxs(&quot;div&quot;,{className:&quot;min-w-0 max-w-full&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;rounded-xl bg-white px-2 py-2 shadow-soft lg:hidden&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 gap-2&quot;,children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;registration-search-mobile&quot;,className:&quot;sr-only&quot;,children:&quot;Recherche&quot;}),s.jsx(&quot;input&quot;,{id:&quot;registration-search-mobile&quot;,type:&quot;text&quot;,value:u.q||&quot;&quot;,onChange:C=&gt;p(&quot;q&quot;,C.target.value||void 0),placeholder:&quot;Rechercher…&quot;,className:_+&quot; min-w-0 flex-1&quot;}),s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,id:&quot;registration-filters-toggle&quot;,&quot;aria-expanded&quot;:h,&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;m(C=&gt;!C),children:[&quot;Filtres&quot;,s.jsx(Uy,{className:`h-4 w-4 transition-transform ${h?&quot;rotate-180&quot;:&quot;&quot;}`,&quot;aria-hidden&quot;:!0})]})]}),h?s.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?s.jsxs(&quot;div&quot;,{className:&quot;grid min-w-0 grid-cols-1 gap-2 sm:grid-cols-2&quot;,children:[n?s.jsxs(&quot;div&quot;,{className:&quot;min-w-0 sm:col-span-2&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Pays&quot;}),s.jsxs(&quot;select&quot;,{value:u.country||&quot;&quot;,onChange:C=&gt;p(&quot;country&quot;,C.target.value?C.target.value:void 0),className:_,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les pays&quot;}),a.map(C=&gt;s.jsx(&quot;option&quot;,{value:C,children:C},C))]})]}):null,s.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Date début&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:u.created_from||&quot;&quot;,onChange:C=&gt;p(&quot;created_from&quot;,C.target.value||void 0),className:_})]}),s.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Date fin&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:u.created_to||&quot;&quot;,onChange:C=&gt;p(&quot;created_to&quot;,C.target.value||void 0),className:_})]})]}):s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Événement&quot;}),s.jsxs(&quot;select&quot;,{value:u.event_id||&quot;&quot;,onChange:C=&gt;p(&quot;event_id&quot;,C.target.value?Number(C.target.value):void 0),className:_,disabled:o,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les événements&quot;}),i.map(C=&gt;s.jsx(&quot;option&quot;,{value:C.id,children:C.name},C.id))]})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-2&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Date début&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:u.created_from||&quot;&quot;,onChange:C=&gt;p(&quot;created_from&quot;,C.target.value||void 0),className:_})]}),s.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Date fin&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:u.created_to||&quot;&quot;,onChange:C=&gt;p(&quot;created_to&quot;,C.target.value||void 0),className:_})]})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500&quot;,children:&quot;Statuts&quot;}),s.jsx(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap gap-1&quot;,children:Jy.map(C=&gt;{const M=u.status?.includes(C.value);return s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;x(C.value),className:M?`rounded-full border border-transparent px-2 py-0.5 text-[11px] font-medium ring-2 ring-brand-700/35 ring-offset-1 ${C.badgeClass}`:&quot;rounded-full bg-gray-100 px-2 py-0.5 text-[11px] font-medium text-gray-700&quot;,children:C.label},C.value)})})]}),n&amp;&amp;l.length&gt;0?s.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500&quot;,children:&quot;Pays (raccourcis)&quot;}),s.jsx(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap gap-1&quot;,children:l.map(C=&gt;{const M=u.country===C;return s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;g(C),className:M?&quot;rounded-full border border-transparent bg-brand-50 px-2 py-0.5 text-[11px] font-medium text-brand-900 ring-2 ring-brand-700/35 ring-offset-1&quot;:&quot;rounded-full bg-gray-100 px-2 py-0.5 text-[11px] font-medium text-gray-700&quot;,children:C},C)})})]}):null,s.jsx(&quot;div&quot;,{className:&quot;flex justify-end border-t border-gray-100 pt-2&quot;,children:s.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;text-sm font-medium text-brand-700 underline-offset-2 hover:underline&quot;,onClick:y,children:&quot;Réinitialiser&quot;})})]}):null]}),s.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:[s.jsxs(&quot;div&quot;,{className:&quot;mb-1 flex min-w-0 flex-wrap items-center justify-between gap-2&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-900 sm:text-base&quot;,children:&quot;Filtres&quot;}),s.jsx(Re,{variant:&quot;ghost&quot;,onClick:y,className:&quot;shrink-0 text-sm !px-3 !py-1.5 !normal-case&quot;,children:&quot;Réinitialiser&quot;})]}),t?s.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-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;min-w-0 sm:col-span-2 lg:col-span-1&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Recherche&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:u.q||&quot;&quot;,onChange:C=&gt;p(&quot;q&quot;,C.target.value||void 0),placeholder:&quot;Nom, email, téléphone...&quot;,className:v})]}),n?s.jsxs(&quot;div&quot;,{className:&quot;min-w-0 sm:col-span-2 lg:col-span-1&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Pays&quot;}),s.jsxs(&quot;select&quot;,{value:u.country||&quot;&quot;,onChange:C=&gt;p(&quot;country&quot;,C.target.value?C.target.value:void 0),className:v,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les pays&quot;}),a.map(C=&gt;s.jsx(&quot;option&quot;,{value:C,children:C},C))]})]}):null,s.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:u.created_from||&quot;&quot;,onChange:C=&gt;p(&quot;created_from&quot;,C.target.value||void 0),className:v})]}),s.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:u.created_to||&quot;&quot;,onChange:C=&gt;p(&quot;created_to&quot;,C.target.value||void 0),className:v})]})]}):s.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:[s.jsxs(&quot;div&quot;,{className:&quot;min-w-0 sm:col-span-2 xl:col-span-1&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Recherche&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:u.q||&quot;&quot;,onChange:C=&gt;p(&quot;q&quot;,C.target.value||void 0),placeholder:&quot;Nom, email, téléphone...&quot;,className:v})]}),s.jsxs(&quot;div&quot;,{className:&quot;min-w-0 sm:col-span-2 xl:col-span-1&quot;,children:[s.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;}),s.jsxs(&quot;select&quot;,{value:u.event_id||&quot;&quot;,onChange:C=&gt;p(&quot;event_id&quot;,C.target.value?Number(C.target.value):void 0),className:v,disabled:o,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les événements&quot;}),i.map(C=&gt;s.jsx(&quot;option&quot;,{value:C.id,children:C.name},C.id))]})]}),s.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:u.created_from||&quot;&quot;,onChange:C=&gt;p(&quot;created_from&quot;,C.target.value||void 0),className:v})]}),s.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:u.created_to||&quot;&quot;,onChange:C=&gt;p(&quot;created_to&quot;,C.target.value||void 0),className:v})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;min-w-0 pt-0.5&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Statuts&quot;}),s.jsx(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap gap-1.5&quot;,children:Jy.map(C=&gt;{const M=u.status?.includes(C.value);return s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;x(C.value),className:M?`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 ${C.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:C.label},C.value)})})]}),n&amp;&amp;l.length&gt;0?s.jsxs(&quot;div&quot;,{className:&quot;min-w-0 pt-1&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Pays (raccourcis)&quot;}),s.jsx(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap gap-1.5&quot;,children:l.map(C=&gt;{const M=u.country===C;return s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;g(C),className:M?&quot;rounded-full border border-transparent bg-brand-50 px-2.5 py-1 text-xs font-medium text-brand-900 ring-2 ring-brand-700/35 ring-offset-1 transition-all sm:text-sm&quot;:&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:C},C)})})]}):null]})]})}function RB({title:e,subtitle:r,subtitleDesktopOnly:t=!0,actions:n}){const l=t?&quot;hidden lg:block lg:text-base&quot;:&quot;text-sm lg:text-base&quot;;return s.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:[s.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[s.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?s.jsx(&quot;p&quot;,{className:`text-ink-500 ${l}`,children:r}):null]}),n?s.jsx(&quot;div&quot;,{className:&quot;relative shrink-0 sm:mt-0.5&quot;,children:n}):null]})}function DB({children:e}){return s.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 mn=&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;,xC=&quot;min-w-0 max-w-full rounded-xl bg-white shadow-soft&quot;,bC=`${xC} p-8 text-center`;function yC({children:e,className:r=&quot;&quot;}){return s.jsx(&quot;div&quot;,{className:`${xC} ${r}`.trim(),children:e})}function vC({children:e,className:r=&quot;&quot;}){return s.jsx(&quot;div&quot;,{className:`space-y-2 overflow-visible p-2 lg:hidden ${r}`.trim(),children:e})}function wC({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 s.jsx(&quot;div&quot;,{className:`min-w-0 overflow-x-auto ${n} ${r}`.trim(),children:e})}function _C({message:e=&quot;Chargement...&quot;}){return s.jsx(&quot;div&quot;,{className:bC,children:s.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:e})})}function jC({message:e}){return s.jsx(&quot;div&quot;,{className:bC,children:s.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:e})})}function LB({children:e,className:r=&quot;&quot;}){return s.jsx(&quot;div&quot;,{className:`mb-2 min-w-0 sm:mb-4 ${r}`.trim(),children:e})}function xa({rowId:e,openMenuId:r,setOpenMenuId:t,compact:n=!1,className:l=&quot;&quot;,stopPropagation:i=!0,onView:o,viewLabel:u=&quot;Voir&quot;,viewDisabled:c=!1,onEdit:a,editLabel:d=&quot;Modifier&quot;,editDisabled:f=!1,primaryOutlineAction:h,menuItems:m}){const p=I.useRef(null),x=I.useRef(null),g=I.useRef(!1),y=r===e,[v,_]=I.useState(null),C=m.length&gt;0,M=h&amp;&amp;!o&amp;&amp;!a;I.useLayoutEffect(()=&gt;{if(!y||!p.current){_(null),g.current=!1;return}const W=p.current,q=W.getBoundingClientRect(),K=window.getComputedStyle(W);if(q.width&lt;1||q.height&lt;1||K.display===&quot;none&quot;||K.visibility===&quot;hidden&quot;){_(null);return}const P=window.innerWidth,L=window.innerHeight,E=6,j=Math.min(224,P-16),k=Math.min(240,L*.45);let S=q.bottom+E;S+k&gt;L-8&amp;&amp;(S=Math.max(8,q.top-k-E));const N=P-8;let D=Math.min(q.right,N);D-j&lt;8&amp;&amp;(D=Math.min(8+j,N)),_({top:S,left:D,transform:&quot;translateX(-100%)&quot;}),g.current=!1},[y]),I.useLayoutEffect(()=&gt;{if(!y||!v||!p.current||!x.current||g.current)return;const q=p.current.getBoundingClientRect(),K=x.current,P=K.offsetWidth,L=K.offsetHeight,E=window.innerWidth,j=window.innerHeight,k=6;let S=q.bottom+k;S+L&gt;j-8&amp;&amp;(S=Math.max(8,q.top-L-k));const N=E-8;let D=Math.min(q.right,N);D-P&lt;8&amp;&amp;(D=Math.min(8+P,N)),g.current=!0,_(B=&gt;!B||B.top===S&amp;&amp;B.left===D?B:{top:S,left:D,transform:&quot;translateX(-100%)&quot;})},[y,v]),I.useEffect(()=&gt;{if(!y||v===null)return;const W=K=&gt;{const P=K.target;p.current?.contains(P)||x.current?.contains(P)||t(null)},q=()=&gt;t(null);return document.addEventListener(&quot;mousedown&quot;,W,!0),window.addEventListener(&quot;scroll&quot;,q,!0),window.addEventListener(&quot;resize&quot;,q),()=&gt;{document.removeEventListener(&quot;mousedown&quot;,W,!0),window.removeEventListener(&quot;scroll&quot;,q,!0),window.removeEventListener(&quot;resize&quot;,q)}},[y,v,t]),I.useEffect(()=&gt;{if(!y||v===null)return;const W=q=&gt;{q.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;,$=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;Sp.createPortal(s.jsx(&quot;div&quot;,{ref:x,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;s.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:q=&gt;{q.stopPropagation(),!W.disabled&amp;&amp;(t(null),W.onSelect())},children:W.label},W.id))}),document.body);return s.jsxs(&quot;div&quot;,{className:`flex shrink-0 items-center justify-end gap-0.5 ${l}`,onClick:F,children:[o?s.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:`${T} disabled:cursor-not-allowed disabled:opacity-50`,disabled:c,onClick:o,children:u}):null,a?s.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:`${$} disabled:cursor-not-allowed disabled:opacity-50`,disabled:f,onClick:a,children:d}):null,M&amp;&amp;h?s.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:$,disabled:h.disabled,title:h.title,onClick:h.onClick,children:h.label}):null,C?s.jsxs(s.Fragment,{children:[s.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(q=&gt;q===e?null:e)},children:s.jsx(zL,{className:&quot;h-4 w-4&quot;,&quot;aria-hidden&quot;:!0})}),H]}):null]})}const J4={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;}},FB=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 _l({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 s.jsx(&quot;span&quot;,{className:`inline-flex items-center rounded-full bg-gray-100 text-gray-700 ${t}`,children:&quot;-&quot;});if(FB.has(e)){const{label:l,badgeClass:i}=V1(e);return s.jsx(&quot;span&quot;,{className:`inline-flex items-center rounded-full ${i} ${t}`,children:l})}const n=J4[e]||J4.pending;return s.jsx(&quot;span&quot;,{className:`inline-flex items-center rounded-full ${n.className} ${t}`,children:n.label})}function BB(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 zB(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;Ky(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 ej({registration:e,openMenuId:r,setOpenMenuId:t,onViewDetails:n,onUpdateStatus:l,onEdit:i,onDelete:o,onResendActivation:u,onResetParticipantPassword:c,canUpdateStatus:a,canEdit:d,canDelete:f,canResendActivation:h,canResetParticipantPassword:m,resendingActivationId:p,compact:x}){const g=zB(e,{onUpdateStatus:l,onDelete:o,onResendActivation:u,onResetParticipantPassword:c,canUpdateStatus:a,canDelete:f,canResendActivation:h,canResetParticipantPassword:m,resendingActivationId:p});return s.jsx(xa,{rowId:e.id,openMenuId:r,setOpenMenuId:t,compact:x,onView:()=&gt;n(e),onEdit:d&amp;&amp;i?()=&gt;i(e):void 0,editLabel:&quot;Modifier&quot;,menuItems:g})}function $B({registrations:e,loading:r,eventType:t,onViewDetails:n,onUpdateStatus:l,onEdit:i,onDelete:o,onResendActivation:u,onResetParticipantPassword:c,canUpdateStatus:a=!1,canEdit:d=!1,canDelete:f=!1,canResendActivation:h=!1,canResetParticipantPassword:m=!1,resendingActivationId:p=null}){const[x,g]=I.useState(null);return r?s.jsx(_C,{}):e.length===0?s.jsx(jC,{message:&quot;Aucune inscription trouvée&quot;}):s.jsxs(yC,{children:[s.jsx(vC,{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 s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 gap-2 overflow-visible&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;truncate text-sm font-semibold text-ink-900&quot;,title:v||void 0,children:v||&quot;—&quot;}),s.jsx(&quot;p&quot;,{className:&quot;truncate text-xs text-ink-500&quot;,title:y.email||void 0,children:y.email}),s.jsx(&quot;p&quot;,{className:&quot;mt-0.5 truncate text-xs text-ink-500&quot;,title:y.country||void 0,children:y.country||&quot;—&quot;})]}),s.jsx(ej,{registration:y,openMenuId:x,setOpenMenuId:g,onViewDetails:n,onUpdateStatus:l,onEdit:i,onDelete:o,onResendActivation:u,onResetParticipantPassword:c,canUpdateStatus:a,canEdit:d,canDelete:f,canResendActivation:h,canResetParticipantPassword:m,resendingActivationId:p,compact:!0})]}),s.jsxs(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center gap-2&quot;,children:[s.jsx(_l,{status:y.status,compact:!0}),s.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:_})]})]},y.id)})}),s.jsx(wC,{children:s.jsxs(&quot;table&quot;,{className:&quot;w-full min-w-0 table-fixed border-collapse&quot;,children:[s.jsxs(&quot;colgroup&quot;,{children:[s.jsx(&quot;col&quot;,{style:{width:&quot;12%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;15%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;8%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;10%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;13%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;9%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;11%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;7%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;15%&quot;}})]}),s.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.jsx(&quot;th&quot;,{className:mn,children:&quot;Nom&quot;}),s.jsx(&quot;th&quot;,{className:mn,children:&quot;Email&quot;}),s.jsx(&quot;th&quot;,{className:mn,children:&quot;Tél.&quot;}),s.jsx(&quot;th&quot;,{className:mn,children:&quot;Pays&quot;}),s.jsx(&quot;th&quot;,{className:mn,children:&quot;Événement&quot;}),s.jsx(&quot;th&quot;,{className:mn,children:t===&quot;seminar&quot;?s.jsx(&quot;span&quot;,{className:&quot;block normal-case&quot;,children:&quot;Frais part.&quot;}):&quot;Formule&quot;}),s.jsx(&quot;th&quot;,{className:mn,children:&quot;Statut&quot;}),s.jsx(&quot;th&quot;,{className:mn,children:&quot;Créé&quot;}),s.jsx(&quot;th&quot;,{className:`${mn} text-right`,children:&quot;Actions&quot;})]})}),s.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;?BB(y):y.pricing_plan?.code||&quot;-&quot;;return s.jsxs(&quot;tr&quot;,{className:&quot;cursor-pointer hover:bg-brand-50&quot;,onClick:()=&gt;n(y),children:[s.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:s.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;})}),s.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:y.email||void 0,children:y.email})}),s.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:s.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;})}),s.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:y.country||void 0,children:y.country||&quot;—&quot;})}),s.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:s.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;})}),s.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:_,children:_})}),s.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:s.jsx(_l,{status:y.status,compact:!0})}),s.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;)}),s.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:s.jsx(ej,{registration:y,openMenuId:x,setOpenMenuId:g,onViewDetails:n,onUpdateStatus:l,onEdit:i,onDelete:o,onResendActivation:u,onResetParticipantPassword:c,canUpdateStatus:a,canEdit:d,canDelete:f,canResendActivation:h,canResetParticipantPassword:m,resendingActivationId:p})})]},y.id)})})]})})]})}function UB({registrations:e,loading:r}){return r?s.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:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Chargement...&quot;})}):e.length===0?s.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:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucune inscription trouvée&quot;})}):s.jsxs(&quot;div&quot;,{className:&quot;min-w-0 max-w-full overflow-hidden rounded-xl bg-white shadow-soft&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;space-y-2 p-2 lg:hidden&quot;,children:e.map(t=&gt;s.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 bg-white p-3 shadow-sm&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;truncate text-sm font-medium text-ink-900&quot;,title:t.email||void 0,children:t.email}),s.jsxs(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center gap-2&quot;,children:[s.jsx(_l,{status:t.status,compact:!0}),s.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:t.country||&quot;—&quot;})]})]},t.id))}),s.jsx(&quot;div&quot;,{className:&quot;hidden overflow-x-auto lg:block&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full min-w-0&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.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;}),s.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;}),s.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;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200 bg-white&quot;,children:e.map(t=&gt;s.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-brand-50&quot;,children:[s.jsx(&quot;td&quot;,{className:&quot;whitespace-nowrap px-4 py-3 lg:px-6 lg:py-4&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-900&quot;,children:t.email})}),s.jsx(&quot;td&quot;,{className:&quot;whitespace-nowrap px-4 py-3 lg:px-6 lg:py-4&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:t.country||&quot;—&quot;})}),s.jsx(&quot;td&quot;,{className:&quot;whitespace-nowrap px-4 py-3 lg:px-6 lg:py-4&quot;,children:s.jsx(_l,{status:t.status})})]},t.id))})]})})]})}const la=&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;;function tj({recommendation:e,openMenuId:r,setOpenMenuId:t,onViewDetails:n,onTreat:l,onDelete:i,canDelete:o,compact:u}){const c=[];return o&amp;&amp;i&amp;&amp;c.push({id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,onSelect:()=&gt;i(e)}),s.jsx(xa,{rowId:e.id,openMenuId:r,setOpenMenuId:t,compact:u,onView:()=&gt;n(e),onEdit:l?()=&gt;l(e):void 0,editLabel:&quot;Traiter&quot;,menuItems:c})}function VB({recommendations:e,loading:r,onViewDetails:t,onTreat:n,onDelete:l,canDelete:i}){const[o,u]=I.useState(null);return r?s.jsx(_C,{}):e.length===0?s.jsx(jC,{message:&quot;Aucune recommandation trouvée&quot;}):s.jsxs(yC,{children:[s.jsx(vC,{children:e.map(c=&gt;{const a=new Date(c.created_at).toLocaleDateString(&quot;fr-FR&quot;),d=`${c.recommender_first_name} ${c.recommender_last_name}`.trim();return s.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(c),onKeyDown:f=&gt;{(f.key===&quot;Enter&quot;||f.key===&quot; &quot;)&amp;&amp;(f.preventDefault(),t(c))},children:[s.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 gap-2 overflow-visible&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;truncate text-sm font-semibold text-ink-900&quot;,title:c.recommended_full_name||void 0,children:c.recommended_full_name||&quot;—&quot;}),s.jsx(&quot;p&quot;,{className:&quot;truncate text-xs text-ink-500&quot;,title:c.recommended_email||void 0,children:c.recommended_email||&quot;—&quot;})]}),s.jsx(tj,{recommendation:c,openMenuId:o,setOpenMenuId:u,onViewDetails:t,onTreat:n,onDelete:l,canDelete:i,compact:!0})]}),s.jsxs(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center gap-2&quot;,children:[s.jsx(_l,{status:c.status,compact:!0}),s.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:a})]}),d?s.jsxs(&quot;p&quot;,{className:&quot;mt-1 truncate text-xs text-ink-500&quot;,title:d,children:[&quot;Par &quot;,d]}):null]},c.id)})}),s.jsx(wC,{children:s.jsxs(&quot;table&quot;,{className:&quot;w-full min-w-0 table-fixed border-collapse&quot;,children:[s.jsxs(&quot;colgroup&quot;,{children:[s.jsx(&quot;col&quot;,{style:{width:&quot;13%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;16%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;10%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;8%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;12%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;13%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;10%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;9%&quot;}}),s.jsx(&quot;col&quot;,{style:{width:&quot;9%&quot;}})]}),s.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.jsx(&quot;th&quot;,{className:mn,children:&quot;Recommandé&quot;}),s.jsx(&quot;th&quot;,{className:mn,children:&quot;Email&quot;}),s.jsx(&quot;th&quot;,{className:mn,children:&quot;Profession&quot;}),s.jsx(&quot;th&quot;,{className:mn,children:&quot;Pays&quot;}),s.jsx(&quot;th&quot;,{className:mn,children:&quot;Recommandeur&quot;}),s.jsx(&quot;th&quot;,{className:mn,children:&quot;Événement&quot;}),s.jsx(&quot;th&quot;,{className:mn,children:&quot;Statut&quot;}),s.jsx(&quot;th&quot;,{className:mn,children:&quot;Créé&quot;}),s.jsx(&quot;th&quot;,{className:`${mn} text-right`,children:&quot;Actions&quot;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200 bg-white&quot;,children:e.map(c=&gt;{const a=`${c.recommender_first_name} ${c.recommender_last_name}`.trim();return s.jsxs(&quot;tr&quot;,{className:&quot;cursor-pointer hover:bg-brand-50&quot;,onClick:()=&gt;t(c),children:[s.jsxs(&quot;td&quot;,{className:la,children:[s.jsx(&quot;div&quot;,{className:&quot;truncate text-xs font-medium text-ink-900 sm:text-sm&quot;,title:c.recommended_full_name||void 0,children:c.recommended_full_name||&quot;—&quot;}),s.jsx(&quot;div&quot;,{className:&quot;truncate text-[10px] text-ink-500 sm:text-xs&quot;,children:c.recommended_gender===&quot;homme&quot;?&quot;Homme&quot;:&quot;Femme&quot;})]}),s.jsx(&quot;td&quot;,{className:la,children:s.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:c.recommended_email||void 0,children:c.recommended_email||&quot;-&quot;})}),s.jsx(&quot;td&quot;,{className:la,children:s.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:c.recommended_profession||void 0,children:c.recommended_profession||&quot;-&quot;})}),s.jsx(&quot;td&quot;,{className:la,children:s.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:c.recommended_residence_country||void 0,children:c.recommended_residence_country||&quot;-&quot;})}),s.jsx(&quot;td&quot;,{className:la,children:s.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:a||void 0,children:a||&quot;-&quot;})}),s.jsx(&quot;td&quot;,{className:la,children:s.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:c.event?.name||void 0,children:c.event?.name||&quot;-&quot;})}),s.jsx(&quot;td&quot;,{className:la,children:s.jsx(_l,{status:c.status,compact:!0})}),s.jsx(&quot;td&quot;,{className:`${la} whitespace-nowrap text-xs text-ink-500 sm:text-sm`,children:new Date(c.created_at).toLocaleDateString(&quot;fr-FR&quot;)}),s.jsx(&quot;td&quot;,{className:`${la} whitespace-nowrap px-1 text-right sm:px-2`,children:s.jsx(tj,{recommendation:c,openMenuId:o,setOpenMenuId:u,onViewDetails:t,onTreat:n,onDelete:l,canDelete:i})})]},c.id)})})]})})]})}function qB({registration:e,isOpen:r,onClose:t,onUpdateStatus:n,canUpdateStatus:l=!1,onResetParticipantPassword:i}){return!r||!e?null:s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:s.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:[s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),s.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:[s.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.jsxs(&quot;h3&quot;,{className:&quot;text-2xl font-semibold text-ink-900&quot;,children:[&quot;Inscription #&quot;,e.id]}),s.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:s.jsx(pr,{size:24})})]}),l&amp;&amp;n||i&amp;&amp;Ky(e)?s.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex flex-wrap gap-2&quot;,children:[l&amp;&amp;n&amp;&amp;s.jsx(Re,{variant:&quot;primary&quot;,onClick:()=&gt;{n(e)},children:&quot;Changer le statut&quot;}),i&amp;&amp;Ky(e)&amp;&amp;s.jsx(Re,{variant:&quot;outline&quot;,onClick:()=&gt;i(e),children:&quot;Initialiser le mot de passe participant&quot;})]}):null,s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-6&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations personnelles&quot;}),s.jsxs(&quot;dl&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nom complet&quot;}),s.jsxs(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:[e.first_name,&quot; &quot;,e.last_name]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Email&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.email})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Téléphone&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.phone||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Pays&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.country||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Ville&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.city||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nationalité&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.nationality||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Organisation&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.organization||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Poste&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.position||&quot;-&quot;})]})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations inscription&quot;}),s.jsxs(&quot;dl&quot;,{className:&quot;space-y-2&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Statut&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm&quot;,children:s.jsx(_l,{status:e.status})})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Événement&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.event?.name||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Formule&quot;}),s.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;s.jsxs(s.Fragment,{children:[e.spouse_fullname&amp;&amp;s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nom du conjoint / de la conjointe&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_fullname})]}),e.spouse_email&amp;&amp;s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Email du conjoint / de la conjointe&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_email})]}),e.spouse_haggai_id&amp;&amp;s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Haggai ID / Année de HLE (conjoint)&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_haggai_id})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Montant dû (XOF)&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.amount_due_xof?.toLocaleString(&quot;fr-FR&quot;)||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Montant dû (EUR)&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.amount_due_eur?.toLocaleString(&quot;fr-FR&quot;)||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de création&quot;}),s.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;s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de soumission&quot;}),s.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;s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de paiement&quot;}),s.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;s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Type&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:s.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;s.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[s.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Séminaire&quot;}),s.jsxs(&quot;dl&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-x-6 gap-y-2&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Souhaite participer&quot;}),s.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Église ou organisation&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_church_organization||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Rôle/Ministère&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_role_ministry||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Situation matrimoniale&quot;}),s.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Âge&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_age??&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Genre&quot;}),s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Question ou préoccupation&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_question_or_concern||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de naissance&quot;}),s.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Contact d&#039;urgence (nom et lien)&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_contact_urgence_nom_lien||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Niveau d&#039;études&quot;}),s.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Domaines d&#039;étude&quot;}),s.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Domaine d&#039;étude (autre)&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_domaine_etude_autre||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Niveau de français&quot;}),s.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Besoin lettre d&#039;absence&quot;}),s.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;s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Détails lettre d&#039;absence&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_besoin_lettre_details||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Informations santé&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_sante_details||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Régime sans sel&quot;}),s.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Confession religieuse&quot;}),s.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?s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Spécification (confession)&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_confession_religieuse_autre})]}):null,s.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Attentes&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_fardeau_transformation||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Recommandé par&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_recommande_par||&quot;-&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Engagements&quot;}),s.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Engagements (autre)&quot;}),s.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;s.jsxs(&quot;div&quot;,{className:&quot;mt-6&quot;,children:[s.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Historique des changements&quot;}),s.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:e.status_changes.map(o=&gt;s.jsx(&quot;div&quot;,{className:&quot;bg-brand-50 rounded-lg p-4 border-l-4 border-brand-700&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:[o.from_status,&quot; → &quot;,o.to_status]}),o.notes&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:o.notes})]}),s.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:o.actor?.name||&quot;Système&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:new Date(o.created_at).toLocaleString(&quot;fr-FR&quot;)})]})]})},o.id))})]})]}),s.jsx(&quot;div&quot;,{className:&quot;bg-gray-50 px-6 py-4 flex justify-end&quot;,children:s.jsx(Re,{variant:&quot;secondary&quot;,onClick:t,children:&quot;Fermer&quot;})})]})]})})}function HB({registration:e,onClose:r,onSuccess:t}){const[n,l]=I.useState(&quot;&quot;),[i,o]=I.useState(&quot;&quot;),[u,c]=I.useState(!1),[a,d]=I.useState(null),[f,h]=I.useState({}),m=`${e.first_name} ${e.last_name}`.trim()||e.email,p=async x=&gt;{if(x.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}c(!0);try{await _a.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{c(!1)}};return s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-[210] flex items-center justify-center p-4 bg-black/50&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full p-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Initialiser le mot de passe participant&quot;}),s.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:s.jsx(pr,{size:20})})]}),s.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;,s.jsx(&quot;strong&quot;,{children:m}),&quot; (&quot;,e.email,&quot;). Les sessions actives seront déconnectées ; à la &quot;,s.jsx(&quot;strong&quot;,{children:&quot;première&quot;}),&quot; connexion suivante, le participant devra&quot;,&quot; &quot;,s.jsx(&quot;strong&quot;,{children:&quot;obligatoirement&quot;}),&quot; choisir un nouveau mot de passe.&quot;]}),s.jsxs(&quot;form&quot;,{onSubmit:p,children:[a&amp;&amp;s.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:a}),s.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[s.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;}),s.jsx(&quot;input&quot;,{id:&quot;reset-participant-password&quot;,type:&quot;password&quot;,value:n,onChange:x=&gt;l(x.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:f.password})]}),s.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[s.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;}),s.jsx(&quot;input&quot;,{id:&quot;reset-participant-password-confirm&quot;,type:&quot;password&quot;,value:i,onChange:x=&gt;o(x.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:f.password_confirmation})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,disabled:u,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:u,children:u?&quot;Enregistrement…&quot;:&quot;Initialiser&quot;})]})]})]})})}const Rh=[{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 WB({registration:e,isOpen:r,onClose:t,onSuccess:n,canSendToCorrection:l=!1}){const[i,o]=I.useState(&quot;draft&quot;),[u,c]=I.useState(&quot;&quot;),[a,d]=I.useState(!1),[f,h]=I.useState(null),m=I.useMemo(()=&gt;e?e.status===&quot;correction&quot;?Rh.filter(_=&gt;_.value===&quot;pending_payment&quot;):e.status===&quot;pending_payment&quot;?Rh.filter(_=&gt;_.value!==&quot;submitted&quot;&amp;&amp;(_.value!==&quot;correction&quot;||l)):Rh:Rh,[e,l]),x=i===&quot;correction&quot;,g=10;I.useEffect(()=&gt;{e&amp;&amp;(o(e.status),c(&quot;&quot;),h(null))},[e,r]),I.useEffect(()=&gt;{e&amp;&amp;m.length&gt;0&amp;&amp;!m.some(_=&gt;_.value===i)&amp;&amp;o(m[0].value)},[m,e,i]);const y=async _=&gt;{if(_.preventDefault(),!!e){if(x&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 _a.updateStatus(e.id,{status:i,notes:u.trim()||void 0}),n(),t()}catch(C){if(C instanceof Bt)if(C.status===422&amp;&amp;C.data.errors){const M=C.data.errors.notes?.[0],T=C.data.errors.status?.[0];h(M||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 s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:s.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:[s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),s.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:s.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.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;}),s.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:s.jsx(pr,{size:24})})]}),s.jsxs(&quot;form&quot;,{onSubmit:y,className:&quot;space-y-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Statut actuel&quot;}),s.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-900 bg-brand-50 px-4 py-2 rounded-lg&quot;,children:e.status})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Nouveau statut &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;select&quot;,{value:i,onChange:_=&gt;o(_.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;s.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value))})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:x?s.jsxs(s.Fragment,{children:[&quot;Raison de la mise en correction &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;}),&quot; (min. 10 caractères)&quot;]}):&quot;Notes (optionnel)&quot;}),s.jsx(&quot;textarea&quot;,{value:u,onChange:_=&gt;c(_.target.value),rows:4,maxLength:1e3,required:x,minLength:x?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:x?&quot;Indiquez la raison de la mise en correction...&quot;:&quot;Ajouter des notes sur ce changement de statut...&quot;}),s.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:[u.length,&quot;/1000 caractères&quot;,x&amp;&amp;u.trim().length&gt;0&amp;&amp;u.trim().length&lt;g&amp;&amp;s.jsxs(&quot;span&quot;,{className:&quot;text-amber-600 ml-1&quot;,children:[&quot;(min. &quot;,g,&quot; requis)&quot;]})]})]}),f&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:f})}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:a,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:a,children:a?&quot;Enregistrement...&quot;:v?&quot;Terminer la correction&quot;:&quot;Enregistrer&quot;})]})]})]})})]})})}function KB({registration:e,isOpen:r,onClose:t,onSuccess:n}){const[l,i]=I.useState(!1),[o,u]=I.useState(null),[c,a]=I.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;});I.useEffect(()=&gt;{if(e){const g=e,y=g.seminar_date_naissance,v=y&amp;&amp;typeof y==&quot;string&quot;&amp;&amp;y.includes(&quot;T&quot;)?y.split(&quot;T&quot;)[0]:y?String(y).slice(0,10):&quot;&quot;,_=g.seminar_domaines_etude,C=g.seminar_engagements;a({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:typeof g.haggai_id==&quot;string&quot;?g.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:(typeof g.pricing_plan_id==&quot;number&quot;?String(g.pricing_plan_id):&quot;&quot;)||(e.pricing_plan?.id!=null?String(e.pricing_plan.id):&quot;&quot;),ouaga_resident_confirmed:e.ouaga_resident_confirmed||!1,spouse_fullname:e.spouse_fullname||&quot;&quot;,spouse_email:typeof g.spouse_email==&quot;string&quot;?g.spouse_email:&quot;&quot;,spouse_haggai_id:typeof g.spouse_haggai_id==&quot;string&quot;?g.spouse_haggai_id:&quot;&quot;,seminar_intent:e.seminar_intent||&quot;&quot;,seminar_want_to_participate:typeof g.seminar_want_to_participate==&quot;string&quot;?g.seminar_want_to_participate:&quot;&quot;,seminar_church_organization:typeof g.seminar_church_organization==&quot;string&quot;?g.seminar_church_organization:&quot;&quot;,seminar_role_ministry:typeof g.seminar_role_ministry==&quot;string&quot;?g.seminar_role_ministry:&quot;&quot;,seminar_marital_status:typeof g.seminar_marital_status==&quot;string&quot;?g.seminar_marital_status:&quot;&quot;,seminar_age:g.seminar_age!=null?String(g.seminar_age):&quot;&quot;,seminar_gender:typeof g.seminar_gender==&quot;string&quot;?g.seminar_gender:&quot;&quot;,seminar_question_or_concern:e.seminar_question_or_concern||&quot;&quot;,seminar_date_naissance:v,seminar_contact_urgence_nom_lien:typeof g.seminar_contact_urgence_nom_lien==&quot;string&quot;?g.seminar_contact_urgence_nom_lien:&quot;&quot;,seminar_niveau_etudes:typeof g.seminar_niveau_etudes==&quot;string&quot;?g.seminar_niveau_etudes:&quot;&quot;,seminar_domaines_etude:Array.isArray(_)?_.join(&quot;, &quot;):&quot;&quot;,seminar_domaine_etude_autre:typeof g.seminar_domaine_etude_autre==&quot;string&quot;?g.seminar_domaine_etude_autre:&quot;&quot;,seminar_niveau_francais:typeof g.seminar_niveau_francais==&quot;string&quot;?g.seminar_niveau_francais:&quot;&quot;,seminar_besoin_lettre_absence:typeof g.seminar_besoin_lettre_absence==&quot;string&quot;?g.seminar_besoin_lettre_absence:&quot;&quot;,seminar_besoin_lettre_details:typeof g.seminar_besoin_lettre_details==&quot;string&quot;?g.seminar_besoin_lettre_details:&quot;&quot;,seminar_sante_details:typeof g.seminar_sante_details==&quot;string&quot;?g.seminar_sante_details:&quot;&quot;,seminar_regime_sans_sel:typeof g.seminar_regime_sans_sel==&quot;string&quot;?g.seminar_regime_sans_sel:&quot;&quot;,seminar_confession_religieuse:typeof g.seminar_confession_religieuse==&quot;string&quot;?g.seminar_confession_religieuse:&quot;&quot;,seminar_confession_religieuse_autre:typeof g.seminar_confession_religieuse_autre==&quot;string&quot;?g.seminar_confession_religieuse_autre:&quot;&quot;,seminar_fardeau_transformation:typeof g.seminar_fardeau_transformation==&quot;string&quot;?g.seminar_fardeau_transformation:&quot;&quot;,seminar_recommande_par:typeof g.seminar_recommande_par==&quot;string&quot;?g.seminar_recommande_par:&quot;&quot;,seminar_engagements:Array.isArray(C)?C.join(&quot;, &quot;):&quot;&quot;,seminar_engagements_autre:typeof g.seminar_engagements_autre==&quot;string&quot;?g.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}=mC(d&amp;&amp;h?m:null),x=async g=&gt;{if(g.preventDefault(),!!e){i(!0),u(null);try{const y={first_name:c.first_name.trim(),last_name:c.last_name.trim(),email:c.email.trim().toLowerCase(),phone:c.phone.trim(),country:c.country.trim(),city:c.city.trim()||void 0,organization:c.organization.trim()||void 0,position:c.position.trim()||void 0,nationality:c.nationality.trim()||void 0,is_haggai_leader:c.is_haggai_leader,haggai_id:c.haggai_id.trim()||void 0,payment_method_selected:c.payment_method_selected||void 0};h&amp;&amp;(c.pricing_plan_id&amp;&amp;(y.pricing_plan_id=Number(c.pricing_plan_id)),y.currency_selected=c.currency_selected||void 0,y.amount_due_xof=c.amount_due_xof?parseFloat(c.amount_due_xof):void 0,y.amount_due_eur=c.amount_due_eur?parseFloat(c.amount_due_eur):void 0),d&amp;&amp;(y.ouaga_resident_confirmed=c.ouaga_resident_confirmed,y.spouse_fullname=c.spouse_fullname.trim()||void 0,y.spouse_email=c.spouse_email.trim()||void 0,y.spouse_haggai_id=c.spouse_haggai_id.trim()||void 0),f&amp;&amp;(y.seminar_intent=c.seminar_intent||void 0,y.seminar_want_to_participate=c.seminar_want_to_participate||void 0,y.seminar_church_organization=c.seminar_church_organization.trim()||void 0,y.seminar_role_ministry=c.seminar_role_ministry.trim()||void 0,y.seminar_marital_status=c.seminar_marital_status||void 0,y.seminar_age=c.seminar_age?parseInt(c.seminar_age):void 0,y.seminar_gender=c.seminar_gender||void 0,y.seminar_question_or_concern=c.seminar_question_or_concern.trim()||void 0,y.seminar_date_naissance=c.seminar_date_naissance?.trim()||void 0,y.seminar_contact_urgence_nom_lien=c.seminar_contact_urgence_nom_lien.trim()||void 0,y.seminar_niveau_etudes=c.seminar_niveau_etudes||void 0,y.seminar_domaines_etude=c.seminar_domaines_etude?.trim()?c.seminar_domaines_etude.split(&quot;,&quot;).map(v=&gt;v.trim()).filter(Boolean):void 0,y.seminar_domaine_etude_autre=c.seminar_domaine_etude_autre.trim()||void 0,y.seminar_niveau_francais=c.seminar_niveau_francais||void 0,y.seminar_besoin_lettre_absence=c.seminar_besoin_lettre_absence||void 0,y.seminar_besoin_lettre_details=c.seminar_besoin_lettre_details.trim()||void 0,y.seminar_sante_details=c.seminar_sante_details.trim()||void 0,y.seminar_regime_sans_sel=c.seminar_regime_sans_sel||void 0,y.seminar_confession_religieuse=c.seminar_confession_religieuse||void 0,y.seminar_confession_religieuse_autre=c.seminar_confession_religieuse===&quot;autre&quot;?c.seminar_confession_religieuse_autre.trim()||void 0:null,y.seminar_fardeau_transformation=c.seminar_fardeau_transformation.trim()||void 0,y.seminar_recommande_par=c.seminar_recommande_par.trim()||void 0,y.seminar_engagements=c.seminar_engagements?.trim()?c.seminar_engagements.split(&quot;,&quot;).map(v=&gt;v.trim()).filter(Boolean):void 0,y.seminar_engagements_autre=c.seminar_engagements_autre.trim()||void 0),await _a.update(e.id,y),n(),t()}catch(y){if(y instanceof Bt)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:s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:s.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:[s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),s.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:s.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Modifier l&#039;inscription #&quot;,e.id]}),s.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:s.jsx(pr,{size:24})})]}),s.jsxs(&quot;form&quot;,{onSubmit:x,className:&quot;space-y-6&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations personnelles&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.first_name,onChange:g=&gt;a({...c,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})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.last_name,onChange:g=&gt;a({...c,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})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:c.email,onChange:g=&gt;a({...c,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})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Téléphone&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.phone,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Pays&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.country,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Ville&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.city,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Organisation&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.organization,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Poste&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.position,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Nationalité&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.nationality,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 mt-6&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:c.is_haggai_leader,onChange:g=&gt;a({...c,is_haggai_leader:g.target.checked}),className:&quot;rounded&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Leader Haggai&quot;})]}),c.is_haggai_leader&amp;&amp;s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.haggai_id,onChange:g=&gt;a({...c,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;})]})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations paiement&quot;}),!h&amp;&amp;s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[d&amp;&amp;s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Formule (solo/couple)&quot;}),s.jsxs(&quot;select&quot;,{value:c.pricing_plan_id,onChange:g=&gt;a({...c,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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),p.map(g=&gt;s.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))]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Méthode de paiement&quot;}),s.jsxs(&quot;select&quot;,{value:c.payment_method_selected,onChange:g=&gt;a({...c,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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),s.jsx(&quot;option&quot;,{value:&quot;card_visa&quot;,children:&quot;Carte de crédit (Visa)&quot;}),s.jsx(&quot;option&quot;,{value:&quot;paypal&quot;,children:&quot;PayPal&quot;}),s.jsx(&quot;option&quot;,{value:&quot;mobile_money&quot;,children:&quot;Mobile Money (en ligne ou en direct)&quot;}),s.jsx(&quot;option&quot;,{value:&quot;national_office&quot;,children:&quot;Envoi d&#039;argent (RIA, Western ou MoneyGram)&quot;}),s.jsx(&quot;option&quot;,{value:&quot;bank_transfer&quot;,children:&quot;Virement bancaire&quot;})]}),s.jsx(&quot;p&quot;,{className:&quot;mt-2 text-xs text-ink-500 leading-relaxed&quot;,children:Zy})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Devise&quot;}),s.jsxs(&quot;select&quot;,{value:c.currency_selected,onChange:g=&gt;a({...c,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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),s.jsx(&quot;option&quot;,{value:&quot;XOF&quot;,children:&quot;XOF&quot;}),s.jsx(&quot;option&quot;,{value:&quot;EUR&quot;,children:&quot;EUR&quot;})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Montant dû (XOF)&quot;}),s.jsx(&quot;input&quot;,{type:&quot;number&quot;,step:&quot;0.01&quot;,value:c.amount_due_xof,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Montant dû (EUR)&quot;}),s.jsx(&quot;input&quot;,{type:&quot;number&quot;,step:&quot;0.01&quot;,value:c.amount_due_eur,onChange:g=&gt;a({...c,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;s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Sommet&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[s.jsx(&quot;div&quot;,{children:s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:c.ouaga_resident_confirmed,onChange:g=&gt;a({...c,ouaga_resident_confirmed:g.target.checked}),className:&quot;rounded&quot;}),s.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Résident à Ouaga&quot;})]})}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.spouse_fullname,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:c.spouse_email,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.spouse_haggai_id,onChange:g=&gt;a({...c,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;s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Séminaire&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Veut participer&quot;}),s.jsxs(&quot;select&quot;,{value:c.seminar_want_to_participate,onChange:g=&gt;a({...c,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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),s.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),s.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Église/Organisation&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.seminar_church_organization,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.seminar_role_ministry,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Situation matrimoniale&quot;}),s.jsxs(&quot;select&quot;,{value:c.seminar_marital_status,onChange:g=&gt;a({...c,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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),s.jsx(&quot;option&quot;,{value:&quot;marie&quot;,children:&quot;Marié(e)&quot;}),s.jsx(&quot;option&quot;,{value:&quot;non_marie&quot;,children:&quot;Non marié(e)&quot;})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Âge&quot;}),s.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:&quot;1&quot;,max:&quot;120&quot;,value:c.seminar_age,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Genre&quot;}),s.jsxs(&quot;select&quot;,{value:c.seminar_gender,onChange:g=&gt;a({...c,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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),s.jsx(&quot;option&quot;,{value:&quot;homme&quot;,children:&quot;Homme&quot;}),s.jsx(&quot;option&quot;,{value:&quot;femme&quot;,children:&quot;Femme&quot;})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),s.jsx(&quot;textarea&quot;,{value:c.seminar_question_or_concern,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:c.seminar_date_naissance,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.seminar_contact_urgence_nom_lien,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Niveau d&#039;études&quot;}),s.jsxs(&quot;select&quot;,{value:c.seminar_niveau_etudes,onChange:g=&gt;a({...c,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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),s.jsx(&quot;option&quot;,{value:&quot;primaire&quot;,children:&quot;Primaire&quot;}),s.jsx(&quot;option&quot;,{value:&quot;secondaire_2&quot;,children:&quot;Secondaire 2e cycle&quot;}),s.jsx(&quot;option&quot;,{value:&quot;universitaire&quot;,children:&quot;Universitaire&quot;})]})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.seminar_domaines_etude,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.seminar_domaine_etude_autre,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Niveau de français&quot;}),s.jsxs(&quot;select&quot;,{value:c.seminar_niveau_francais,onChange:g=&gt;a({...c,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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),s.jsx(&quot;option&quot;,{value:&quot;natif&quot;,children:&quot;Natif&quot;}),s.jsx(&quot;option&quot;,{value:&quot;avance&quot;,children:&quot;Avancé&quot;}),s.jsx(&quot;option&quot;,{value:&quot;intermediaire&quot;,children:&quot;Intermédiaire&quot;}),s.jsx(&quot;option&quot;,{value:&quot;faible&quot;,children:&quot;Faible&quot;})]})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsxs(&quot;select&quot;,{value:c.seminar_besoin_lettre_absence,onChange:g=&gt;a({...c,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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),s.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),s.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.seminar_besoin_lettre_details,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Informations santé&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.seminar_sante_details,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Régime sans sel&quot;}),s.jsxs(&quot;select&quot;,{value:c.seminar_regime_sans_sel,onChange:g=&gt;a({...c,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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),s.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),s.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Confession religieuse&quot;}),s.jsxs(&quot;select&quot;,{value:c.seminar_confession_religieuse,onChange:g=&gt;{const y=g.target.value;a({...c,seminar_confession_religieuse:y,seminar_confession_religieuse_autre:y===&quot;autre&quot;?c.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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),s.jsx(&quot;option&quot;,{value:&quot;musulmane&quot;,children:&quot;Musulmane&quot;}),s.jsx(&quot;option&quot;,{value:&quot;catholique&quot;,children:&quot;Catholique&quot;}),s.jsx(&quot;option&quot;,{value:&quot;protestante&quot;,children:&quot;Protestante&quot;}),s.jsx(&quot;option&quot;,{value:&quot;pentecotiste&quot;,children:&quot;Pentecôtiste&quot;}),s.jsx(&quot;option&quot;,{value:&quot;evangelique&quot;,children:&quot;Évangélique&quot;}),s.jsx(&quot;option&quot;,{value:&quot;autre&quot;,children:&quot;Autre&quot;})]})]}),c.seminar_confession_religieuse===&quot;autre&quot;&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Spécifiez :&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.seminar_confession_religieuse_autre,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Attentes&quot;}),s.jsx(&quot;textarea&quot;,{value:c.seminar_fardeau_transformation,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Recommandé par&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.seminar_recommande_par,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.seminar_engagements,onChange:g=&gt;a({...c,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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Engagements (autre)&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.seminar_engagements_autre,onChange:g=&gt;a({...c,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;})]})]})]}),o&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:o})}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4 border-t&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:l,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:l,children:l?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})]})})}function XB({registration:e,isOpen:r,onClose:t,onSuccess:n}){const[l,i]=I.useState(!1),[o,u]=I.useState(null),c=async()=&gt;{if(e){i(!0),u(null);try{await _a.delete(e.id),n(),t()}catch(a){a instanceof Bt?a.status===403?u(&quot;Vous n&#039;avez pas la permission de supprimer cette inscription&quot;):u(a.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:s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:s.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:[s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),s.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:s.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Supprimer l&#039;inscription&quot;}),s.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:s.jsx(pr,{size:24})})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4 mb-6&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;flex-shrink-0&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;flex items-center justify-center w-12 h-12 rounded-full bg-red-100&quot;,children:s.jsx(_F,{className:&quot;w-6 h-6 text-red-600&quot;})})}),s.jsxs(&quot;div&quot;,{className:&quot;flex-1&quot;,children:[s.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;}),s.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;,s.jsxs(&quot;strong&quot;,{children:[e.first_name,&quot; &quot;,e.last_name]}),&quot; sera définitivement supprimée.&quot;]}),e.event&amp;&amp;s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Événement: &quot;,s.jsx(&quot;strong&quot;,{children:e.event.name})]})]})]}),o&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3 mb-4&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:o})}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4 border-t&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:l,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:c,disabled:l,className:&quot;bg-red-600 hover:bg-red-700 text-white&quot;,children:l?&quot;Suppression...&quot;:&quot;Supprimer&quot;})]})]})})]})})}const GB=[{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 YB({recommendation:e,isOpen:r,onClose:t,onSuccess:n}){const[l,i]=I.useState(&quot;pending&quot;),[o,u]=I.useState(&quot;&quot;),[c,a]=I.useState(&quot;&quot;),[d,f]=I.useState(&quot;&quot;),[h,m]=I.useState(!1),[p,x]=I.useState(!1),[g,y]=I.useState(&quot;status&quot;),[v,_]=I.useState(!1),[C,M]=I.useState(null),[T,$]=I.useState(null);I.useEffect(()=&gt;{e&amp;&amp;(i(e.status),u(e.notes||&quot;&quot;),a(&quot;&quot;),f(&quot;&quot;),m(!1),x(!1),M(null),$(null),y(&quot;status&quot;))},[e,r]);const F=async W=&gt;{if(W.preventDefault(),!!e){_(!0),M(null),$(null);try{await Sd.updateStatus(e.id,{status:l,notes:o.trim()||void 0}),$(&quot;Statut mis à jour avec succès&quot;),setTimeout(()=&gt;{n(),t()},1e3)}catch(q){if(q instanceof Bt)if(q.status===422&amp;&amp;q.data.errors){const K=q.data.errors.status?.[0];M(K||q.data.message||&quot;Erreur de validation&quot;)}else q.status===403?M(&quot;Vous n&#039;avez pas la permission de modifier le statut&quot;):M(q.data.message||&quot;Une erreur est survenue&quot;);else M(&quot;Une erreur inattendue est survenue&quot;)}finally{_(!1)}}},H=async W=&gt;{if(W.preventDefault(),!!e){if(!h&amp;&amp;!p){M(&quot;Veuillez sélectionner au moins un destinataire&quot;);return}_(!0),M(null),$(null);try{const q=await Sd.sendEmail(e.id,{subject:c.trim(),message:d.trim(),send_to_recommender:h,send_to_recommended:p});$(`Email(s) envoyé(s) à: ${q.data.emails_sent.join(&quot;, &quot;)}`),setTimeout(()=&gt;{n(),t()},2e3)}catch(q){if(q instanceof Bt)if(q.status===422&amp;&amp;q.data.errors){const K=q.data.errors.subject?.[0],P=q.data.errors.message?.[0];M(K||P||q.data.message||&quot;Erreur de validation&quot;)}else M(q.data.message||&quot;Une erreur est survenue lors de l&#039;envoi de l&#039;email&quot;);else M(&quot;Une erreur inattendue est survenue&quot;)}finally{_(!1)}}};return!r||!e?null:s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:s.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:[s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),s.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:s.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Traiter la recommandation #&quot;,e.id]}),s.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:s.jsx(pr,{size:24})})]}),s.jsxs(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-brand-50 rounded-lg&quot;,children:[s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-2&quot;,children:[s.jsx(&quot;strong&quot;,{children:&quot;Recommandé:&quot;}),&quot; &quot;,e.recommended_full_name]}),s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-2&quot;,children:[s.jsx(&quot;strong&quot;,{children:&quot;Email recommandé:&quot;}),&quot; &quot;,e.recommended_email||&quot;-&quot;]}),s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[s.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;]})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex border-b border-gray-200 mb-4&quot;,children:[s.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;}),s.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:[s.jsx(mo,{size:16}),&quot;Envoyer un email&quot;]})]}),C&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:C})}),T&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-green-50 border border-green-200 rounded-lg&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-green-800&quot;,children:T})}),g===&quot;status&quot;&amp;&amp;s.jsxs(&quot;form&quot;,{onSubmit:F,className:&quot;space-y-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Nouveau statut &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;select&quot;,{value:l,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:GB.map(W=&gt;s.jsx(&quot;option&quot;,{value:W.value,children:W.label},W.value))})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Notes (optionnel)&quot;}),s.jsx(&quot;textarea&quot;,{value:o,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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:t,disabled:v,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;submit&quot;,disabled:v,children:v?&quot;Mise à jour...&quot;:&quot;Mettre à jour le statut&quot;})]})]}),g===&quot;email&quot;&amp;&amp;s.jsxs(&quot;form&quot;,{onSubmit:H,className:&quot;space-y-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Destinataires &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[e.recommended_email?s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p,onChange:W=&gt;x(W.target.checked),className:&quot;rounded border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),s.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Recommandé (&quot;,e.recommended_email,&quot;)&quot;]})]}):s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 italic&quot;,children:&quot;Aucun email disponible pour le recommandé&quot;}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[s.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;}),s.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Recommandeur (&quot;,e.recommender_email,&quot;)&quot;]})]})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Sujet &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c,onChange:W=&gt;a(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})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Message &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.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}),s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:t,disabled:v,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;submit&quot;,disabled:v||!h&amp;&amp;!p,children:v?&quot;Envoi...&quot;:&quot;Envoyer l&#039;email&quot;})]})]})]})})]})})}function SC(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 l=e.length;for(r=0;r&lt;l;r++)e[r]&amp;&amp;(t=SC(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 hr(){for(var e,r,t=0,n=&quot;&quot;,l=arguments.length;t&lt;l;t++)(e=arguments[t])&amp;&amp;(r=SC(e))&amp;&amp;(n&amp;&amp;(n+=&quot; &quot;),n+=r);return n}var ZB=[&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 q1(e){if(typeof e!=&quot;string&quot;)return!1;var r=ZB;return r.includes(e)}var QB=[&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;],JB=new Set(QB);function kC(e){return typeof e!=&quot;string&quot;?!1:JB.has(e)}function NC(e){return typeof e==&quot;string&quot;&amp;&amp;e.startsWith(&quot;data-&quot;)}function bs(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;(kC(t)||NC(t))&amp;&amp;(r[t]=e[t]);return r}function Kd(e){if(e==null)return null;if(I.isValidElement(e)&amp;&amp;typeof e.props==&quot;object&quot;&amp;&amp;e.props!==null){var r=e.props;return bs(r)}return typeof e==&quot;object&quot;&amp;&amp;!Array.isArray(e)?bs(e):null}function ni(e){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&amp;&amp;(kC(t)||NC(t)||q1(t))&amp;&amp;(r[t]=e[t]);return r}function ez(e){return e==null?null:I.isValidElement(e)?ni(e.props):typeof e==&quot;object&quot;&amp;&amp;!Array.isArray(e)?ni(e):null}var tz=[&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 ev(){return ev=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},ev.apply(null,arguments)}function rz(e,r){if(e==null)return{};var t,n,l=nz(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;(l[t]=e[t])}return l}function nz(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 H1=I.forwardRef((e,r)=&gt;{var{children:t,width:n,height:l,viewBox:i,className:o,style:u,title:c,desc:a}=e,d=rz(e,tz),f=i||{width:n,height:l,x:0,y:0},h=hr(&quot;recharts-surface&quot;,o);return I.createElement(&quot;svg&quot;,ev({},ni(d),{className:h,width:n,height:l,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}),I.createElement(&quot;title&quot;,null,c),I.createElement(&quot;desc&quot;,null,a),t)}),iz=[&quot;children&quot;,&quot;className&quot;];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 sz(e,r){if(e==null)return{};var t,n,l=az(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;(l[t]=e[t])}return l}function az(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 Wi=I.forwardRef((e,r)=&gt;{var{children:t,className:n}=e,l=sz(e,iz),i=hr(&quot;recharts-layer&quot;,n);return I.createElement(&quot;g&quot;,tv({className:i},ni(l),{ref:r}),t)}),CC=I.createContext(null),oz=()=&gt;I.useContext(CC);function vr(e){return function(){return e}}const EC=Math.cos,Mm=Math.sin,Ss=Math.sqrt,Om=Math.PI,Rp=2*Om,rv=Math.PI,nv=2*rv,ol=1e-6,lz=nv-ol;function AC(e){this._+=e[0];for(let r=1,t=e.length;r&lt;t;++r)this._+=arguments[r]+e[r]}function cz(e){let r=Math.floor(e);if(!(r&gt;=0))throw new Error(`invalid digits: ${e}`);if(r&gt;15)return AC;const t=10**r;return function(n){this._+=n[0];for(let l=1,i=n.length;l&lt;i;++l)this._+=Math.round(arguments[l]*t)/t+n[l]}}class uz{constructor(r){this._x0=this._y0=this._x1=this._y1=null,this._=&quot;&quot;,this._append=r==null?AC:cz(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,l){this._append`Q${+r},${+t},${this._x1=+n},${this._y1=+l}`}bezierCurveTo(r,t,n,l,i,o){this._append`C${+r},${+t},${+n},${+l},${this._x1=+i},${this._y1=+o}`}arcTo(r,t,n,l,i){if(r=+r,t=+t,n=+n,l=+l,i=+i,i&lt;0)throw new Error(`negative radius: ${i}`);let o=this._x1,u=this._y1,c=n-r,a=l-t,d=o-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;ol)if(!(Math.abs(f*c-a*d)&gt;ol)||!i)this._append`L${this._x1=r},${this._y1=t}`;else{let m=n-o,p=l-u,x=c*c+a*a,g=m*m+p*p,y=Math.sqrt(x),v=Math.sqrt(h),_=i*Math.tan((rv-Math.acos((x+h-g)/(2*y*v)))/2),C=_/v,M=_/y;Math.abs(C-1)&gt;ol&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+M*c},${this._y1=t+M*a}`}}arc(r,t,n,l,i,o){if(r=+r,t=+t,n=+n,o=!!o,n&lt;0)throw new Error(`negative radius: ${n}`);let u=n*Math.cos(l),c=n*Math.sin(l),a=r+u,d=t+c,f=1^o,h=o?l-i:i-l;this._x1===null?this._append`M${a},${d}`:(Math.abs(this._x1-a)&gt;ol||Math.abs(this._y1-d)&gt;ol)&amp;&amp;this._append`L${a},${d}`,n&amp;&amp;(h&lt;0&amp;&amp;(h=h%nv+nv),h&gt;lz?this._append`A${n},${n},0,1,${f},${r-u},${t-c}A${n},${n},0,1,${f},${this._x1=a},${this._y1=d}`:h&gt;ol&amp;&amp;this._append`A${n},${n},0,${+(h&gt;=rv)},${f},${this._x1=r+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(r,t,n,l){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+t}h${n=+n}v${+l}h${-n}Z`}toString(){return this._}}function W1(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 uz(r)}function K1(e){return typeof e==&quot;object&quot;&amp;&amp;&quot;length&quot;in e?e:Array.from(e)}function MC(e){this._context=e}MC.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 Dp(e){return new MC(e)}function OC(e){return e[0]}function PC(e){return e[1]}function TC(e,r){var t=vr(!0),n=null,l=Dp,i=null,o=W1(u);e=typeof e==&quot;function&quot;?e:e===void 0?OC:vr(e),r=typeof r==&quot;function&quot;?r:r===void 0?PC:vr(r);function u(c){var a,d=(c=K1(c)).length,f,h=!1,m;for(n==null&amp;&amp;(i=l(m=o())),a=0;a&lt;=d;++a)!(a&lt;d&amp;&amp;t(f=c[a],a,c))===h&amp;&amp;((h=!h)?i.lineStart():i.lineEnd()),h&amp;&amp;i.point(+e(f,a,c),+r(f,a,c));if(m)return i=null,m+&quot;&quot;||null}return u.x=function(c){return arguments.length?(e=typeof c==&quot;function&quot;?c:vr(+c),u):e},u.y=function(c){return arguments.length?(r=typeof c==&quot;function&quot;?c:vr(+c),u):r},u.defined=function(c){return arguments.length?(t=typeof c==&quot;function&quot;?c:vr(!!c),u):t},u.curve=function(c){return arguments.length?(l=c,n!=null&amp;&amp;(i=l(n)),u):l},u.context=function(c){return arguments.length?(c==null?n=i=null:i=l(n=c),u):n},u}function Dh(e,r,t){var n=null,l=vr(!0),i=null,o=Dp,u=null,c=W1(a);e=typeof e==&quot;function&quot;?e:e===void 0?OC:vr(+e),r=typeof r==&quot;function&quot;?r:vr(r===void 0?0:+r),t=typeof t==&quot;function&quot;?t:t===void 0?PC:vr(+t);function a(f){var h,m,p,x=(f=K1(f)).length,g,y=!1,v,_=new Array(x),C=new Array(x);for(i==null&amp;&amp;(u=o(v=c())),h=0;h&lt;=x;++h){if(!(h&lt;x&amp;&amp;l(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 TC().defined(l).curve(o).context(i)}return a.x=function(f){return arguments.length?(e=typeof f==&quot;function&quot;?f:vr(+f),n=null,a):e},a.x0=function(f){return arguments.length?(e=typeof f==&quot;function&quot;?f:vr(+f),a):e},a.x1=function(f){return arguments.length?(n=f==null?null:typeof f==&quot;function&quot;?f:vr(+f),a):n},a.y=function(f){return arguments.length?(r=typeof f==&quot;function&quot;?f:vr(+f),t=null,a):r},a.y0=function(f){return arguments.length?(r=typeof f==&quot;function&quot;?f:vr(+f),a):r},a.y1=function(f){return arguments.length?(t=f==null?null:typeof f==&quot;function&quot;?f:vr(+f),a):t},a.lineX0=a.lineY0=function(){return d().x(e).y(r)},a.lineY1=function(){return d().x(e).y(t)},a.lineX1=function(){return d().x(n).y(r)},a.defined=function(f){return arguments.length?(l=typeof f==&quot;function&quot;?f:vr(!!f),a):l},a.curve=function(f){return arguments.length?(o=f,i!=null&amp;&amp;(u=o(i)),a):o},a.context=function(f){return arguments.length?(f==null?i=u=null:u=o(i=f),a):i},a}class IC{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 dz(e){return new IC(e,!0)}function fz(e){return new IC(e,!1)}const X1={draw(e,r){const t=Ss(r/Om);e.moveTo(t,0),e.arc(0,0,t,0,Rp)}},hz={draw(e,r){const t=Ss(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()}},RC=Ss(1/3),mz=RC*2,pz={draw(e,r){const t=Ss(r/mz),n=t*RC;e.moveTo(0,-t),e.lineTo(n,0),e.lineTo(0,t),e.lineTo(-n,0),e.closePath()}},gz={draw(e,r){const t=Ss(r),n=-t/2;e.rect(n,n,t,t)}},xz=.8908130915292852,DC=Mm(Om/10)/Mm(7*Om/10),bz=Mm(Rp/10)*DC,yz=-EC(Rp/10)*DC,vz={draw(e,r){const t=Ss(r*xz),n=bz*t,l=yz*t;e.moveTo(0,-t),e.lineTo(n,l);for(let i=1;i&lt;5;++i){const o=Rp*i/5,u=EC(o),c=Mm(o);e.lineTo(c*t,-u*t),e.lineTo(u*n-c*l,c*n+u*l)}e.closePath()}},Ox=Ss(3),wz={draw(e,r){const t=-Ss(r/(Ox*3));e.moveTo(0,t*2),e.lineTo(-Ox*t,-t),e.lineTo(Ox*t,-t),e.closePath()}},Fi=-.5,Bi=Ss(3)/2,iv=1/Ss(12),_z=(iv/2+1)*3,jz={draw(e,r){const t=Ss(r/_z),n=t/2,l=t*iv,i=n,o=t*iv+t,u=-i,c=o;e.moveTo(n,l),e.lineTo(i,o),e.lineTo(u,c),e.lineTo(Fi*n-Bi*l,Bi*n+Fi*l),e.lineTo(Fi*i-Bi*o,Bi*i+Fi*o),e.lineTo(Fi*u-Bi*c,Bi*u+Fi*c),e.lineTo(Fi*n+Bi*l,Fi*l-Bi*n),e.lineTo(Fi*i+Bi*o,Fi*o-Bi*i),e.lineTo(Fi*u+Bi*c,Fi*c-Bi*u),e.closePath()}};function Sz(e,r){let t=null,n=W1(l);e=typeof e==&quot;function&quot;?e:vr(e||X1),r=typeof r==&quot;function&quot;?r:vr(r===void 0?64:+r);function l(){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 l.type=function(i){return arguments.length?(e=typeof i==&quot;function&quot;?i:vr(i),l):e},l.size=function(i){return arguments.length?(r=typeof i==&quot;function&quot;?i:vr(+i),l):r},l.context=function(i){return arguments.length?(t=i??null,l):t},l}function Pm(){}function Tm(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 LC(e){this._context=e}LC.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:Tm(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:Tm(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function kz(e){return new LC(e)}function FC(e){this._context=e}FC.prototype={areaStart:Pm,areaEnd:Pm,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:Tm(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function Nz(e){return new FC(e)}function BC(e){this._context=e}BC.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:Tm(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function Cz(e){return new BC(e)}function zC(e){this._context=e}zC.prototype={areaStart:Pm,areaEnd:Pm,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 Ez(e){return new zC(e)}function rj(e){return e&lt;0?-1:1}function nj(e,r,t){var n=e._x1-e._x0,l=r-e._x1,i=(e._y1-e._y0)/(n||l&lt;0&amp;&amp;-0),o=(t-e._y1)/(l||n&lt;0&amp;&amp;-0),u=(i*l+o*n)/(n+l);return(rj(i)+rj(o))*Math.min(Math.abs(i),Math.abs(o),.5*Math.abs(u))||0}function ij(e,r){var t=e._x1-e._x0;return t?(3*(e._y1-e._y0)/t-r)/2:r}function Px(e,r,t){var n=e._x0,l=e._y0,i=e._x1,o=e._y1,u=(i-n)/3;e._context.bezierCurveTo(n+u,l+u*r,i-u,o-u*t,i,o)}function Im(e){this._context=e}Im.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:Px(this,this._t0,ij(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,Px(this,ij(this,t=nj(this,e,r)),t);break;default:Px(this,this._t0,t=nj(this,e,r));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r,this._t0=t}}};function $C(e){this._context=new UC(e)}($C.prototype=Object.create(Im.prototype)).point=function(e,r){Im.prototype.point.call(this,r,e)};function UC(e){this._context=e}UC.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,l,i){this._context.bezierCurveTo(r,e,n,t,i,l)}};function Az(e){return new Im(e)}function Mz(e){return new $C(e)}function VC(e){this._context=e}VC.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=sj(e),l=sj(r),i=0,o=1;o&lt;t;++i,++o)this._context.bezierCurveTo(n[0][i],l[0][i],n[1][i],l[1][i],e[o],r[o]);(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 sj(e){var r,t=e.length-1,n,l=new Array(t),i=new Array(t),o=new Array(t);for(l[0]=0,i[0]=2,o[0]=e[0]+2*e[1],r=1;r&lt;t-1;++r)l[r]=1,i[r]=4,o[r]=4*e[r]+2*e[r+1];for(l[t-1]=2,i[t-1]=7,o[t-1]=8*e[t-1]+e[t],r=1;r&lt;t;++r)n=l[r]/i[r-1],i[r]-=n,o[r]-=n*o[r-1];for(l[t-1]=o[t-1]/i[t-1],r=t-2;r&gt;=0;--r)l[r]=(o[r]-l[r+1])/i[r];for(i[t-1]=(e[t]+l[t-1])/2,r=0;r&lt;t-1;++r)i[r]=2*e[r+1]-l[r+1];return[l,i]}function Oz(e){return new VC(e)}function Lp(e,r){this._context=e,this._t=r}Lp.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 Pz(e){return new Lp(e,.5)}function Tz(e){return new Lp(e,0)}function Iz(e){return new Lp(e,1)}function jl(e,r){if((o=e.length)&gt;1)for(var t=1,n,l,i=e[r[0]],o,u=i.length;t&lt;o;++t)for(l=i,i=e[r[t]],n=0;n&lt;u;++n)i[n][1]+=i[n][0]=isNaN(l[n][1])?l[n][0]:l[n][1]}function sv(e){for(var r=e.length,t=new Array(r);--r&gt;=0;)t[r]=r;return t}function Rz(e,r){return e[r]}function Dz(e){const r=[];return r.key=e,r}function Lz(){var e=vr([]),r=sv,t=jl,n=Rz;function l(i){var o=Array.from(e.apply(this,arguments),Dz),u,c=o.length,a=-1,d;for(const f of i)for(u=0,++a;u&lt;c;++u)(o[u][a]=[0,+n(f,o[u].key,a,i)]).data=f;for(u=0,d=K1(r(o));u&lt;c;++u)o[d[u]].index=u;return t(o,d),o}return l.keys=function(i){return arguments.length?(e=typeof i==&quot;function&quot;?i:vr(Array.from(i)),l):e},l.value=function(i){return arguments.length?(n=typeof i==&quot;function&quot;?i:vr(+i),l):n},l.order=function(i){return arguments.length?(r=i==null?sv:typeof i==&quot;function&quot;?i:vr(Array.from(i)),l):r},l.offset=function(i){return arguments.length?(t=i??jl,l):t},l}function Fz(e,r){if((n=e.length)&gt;0){for(var t,n,l=0,i=e[0].length,o;l&lt;i;++l){for(o=t=0;t&lt;n;++t)o+=e[t][l][1]||0;if(o)for(t=0;t&lt;n;++t)e[t][l][1]/=o}jl(e,r)}}function Bz(e,r){if((l=e.length)&gt;0){for(var t=0,n=e[r[0]],l,i=n.length;t&lt;i;++t){for(var o=0,u=0;o&lt;l;++o)u+=e[o][t][1]||0;n[t][1]+=n[t][0]=-u/2}jl(e,r)}}function zz(e,r){if(!(!((o=e.length)&gt;0)||!((i=(l=e[r[0]]).length)&gt;0))){for(var t=0,n=1,l,i,o;n&lt;i;++n){for(var u=0,c=0,a=0;u&lt;o;++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 x=e[r[p]],g=x[n][1]||0,y=x[n-1][1]||0;m+=g-y}c+=f,a+=m*f}l[n-1][1]+=l[n-1][0]=t,c&amp;&amp;(t-=a/c)}l[n-1][1]+=l[n-1][0]=t,jl(e,r)}}var Tx={},Ix={},aj;function $z(){return aj||(aj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t===&quot;__proto__&quot;}e.isUnsafeProperty=r})(Ix)),Ix}var Rx={},oj;function qC(){return oj||(oj=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})(Rx)),Rx}var Dx={},lj;function G1(){return lj||(lj=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})(Dx)),Dx}var Lx={},Fx={},cj;function Uz(){return cj||(cj=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})(Fx)),Fx}var uj;function Y1(){return uj||(uj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=Uz(),t=G1();function n(l){if(Array.isArray(l))return l.map(t.toKey);if(typeof l==&quot;symbol&quot;)return[l];l=r.toString(l);const i=[],o=l.length;if(o===0)return i;let u=0,c=&quot;&quot;,a=&quot;&quot;,d=!1;for(l.charCodeAt(0)===46&amp;&amp;(i.push(&quot;&quot;),u++);u&lt;o;){const f=l[u];a?f===&quot;\\&quot;&amp;&amp;u+1&lt;o?(u++,c+=l[u]):f===a?a=&quot;&quot;:c+=f:d?f===&#039;&quot;&#039;||f===&quot;&#039;&quot;?a=f:f===&quot;]&quot;?(d=!1,i.push(c),c=&quot;&quot;):c+=f:f===&quot;[&quot;?(d=!0,c&amp;&amp;(i.push(c),c=&quot;&quot;)):f===&quot;.&quot;?c&amp;&amp;(i.push(c),c=&quot;&quot;):c+=f,u++}return c&amp;&amp;i.push(c),i}e.toPath=n})(Lx)),Lx}var dj;function Z1(){return dj||(dj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=$z(),t=qC(),n=G1(),l=Y1();function i(u,c,a){if(u==null)return a;switch(typeof c){case&quot;string&quot;:{if(r.isUnsafeProperty(c))return a;const d=u[c];return d===void 0?t.isDeepKey(c)?i(u,l.toPath(c),a):a:d}case&quot;number&quot;:case&quot;symbol&quot;:{typeof c==&quot;number&quot;&amp;&amp;(c=n.toKey(c));const d=u[c];return d===void 0?a:d}default:{if(Array.isArray(c))return o(u,c,a);if(Object.is(c?.valueOf(),-0)?c=&quot;-0&quot;:c=String(c),r.isUnsafeProperty(c))return a;const d=u[c];return d===void 0?a:d}}}function o(u,c,a){if(c.length===0)return a;let d=u;for(let f=0;f&lt;c.length;f++){if(d==null||r.isUnsafeProperty(c[f]))return a;d=d[c[f]]}return d===void 0?a:d}e.get=i})(Tx)),Tx}var Bx,fj;function Vz(){return fj||(fj=1,Bx=Z1().get),Bx}var qz=Vz();const Tc=_s(qz);var Hz=4;function po(e){var r=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:Hz,t=10**r,n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function zr(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((l,i,o)=&gt;{var u=t[o-1];return typeof u==&quot;string&quot;?l+u+i:u!==void 0?l+po(u)+i:l+i},&quot;&quot;)}var hi=e=&gt;e===0?0:e&gt;0?1:-1,ys=e=&gt;typeof e==&quot;number&quot;&amp;&amp;e!=+e,ja=e=&gt;typeof e==&quot;string&quot;&amp;&amp;e.indexOf(&quot;%&quot;)===e.length-1,xt=e=&gt;(typeof e==&quot;number&quot;||e instanceof Number)&amp;&amp;!ys(e),$s=e=&gt;xt(e)||typeof e==&quot;string&quot;,Wz=0,Nd=e=&gt;{var r=++Wz;return&quot;&quot;.concat(e||&quot;&quot;).concat(r)},vs=function(r,t){var n=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:0,l=arguments.length&gt;3&amp;&amp;arguments[3]!==void 0?arguments[3]:!1;if(!xt(r)&amp;&amp;typeof r!=&quot;string&quot;)return n;var i;if(ja(r)){if(t==null)return n;var o=r.indexOf(&quot;%&quot;);i=t*parseFloat(r.slice(0,o))/100}else i=+r;return ys(i)&amp;&amp;(i=n),l&amp;&amp;t!=null&amp;&amp;i&gt;t&amp;&amp;(i=t),i},HC=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 $r(e,r,t){return xt(e)&amp;&amp;xt(r)?po(e+t*(r-e)):r}function WC(e,r,t){if(!(!e||!e.length))return e.find(n=&gt;n&amp;&amp;(typeof r==&quot;function&quot;?r(n):Tc(n,r))===t)}var Er=e=&gt;e===null||typeof e&gt;&quot;u&quot;,Xd=e=&gt;Er(e)?e:&quot;&quot;.concat(e.charAt(0).toUpperCase()).concat(e.slice(1));function Kz(e){return e!=null}function Gd(){}var Xz=[&quot;type&quot;,&quot;size&quot;,&quot;sizeType&quot;];function av(){return av=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},av.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(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function mj(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){Gz(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 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)}function Qz(e,r){if(e==null)return{};var t,n,l=Jz(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;(l[t]=e[t])}return l}function Jz(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 KC={symbolCircle:X1,symbolCross:hz,symbolDiamond:pz,symbolSquare:gz,symbolStar:vz,symbolTriangle:wz,symbolWye:jz},e$=Math.PI/180,t$=e=&gt;{var r=&quot;symbol&quot;.concat(Xd(e));return KC[r]||X1},r$=(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*e$;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}},n$=(e,r)=&gt;{KC[&quot;symbol&quot;.concat(Xd(e))]=r},Q1=e=&gt;{var{type:r=&quot;circle&quot;,size:t=64,sizeType:n=&quot;area&quot;}=e,l=Qz(e,Xz),i=mj(mj({},l),{},{type:r,size:t,sizeType:n}),o=&quot;circle&quot;;typeof r==&quot;string&quot;&amp;&amp;(o=r);var u=()=&gt;{var h=t$(o),m=Sz().type(h).size(r$(t,n,o)),p=m();if(p!==null)return p},{className:c,cx:a,cy:d}=i,f=ni(i);return xt(a)&amp;&amp;xt(d)&amp;&amp;xt(t)?I.createElement(&quot;path&quot;,av({},f,{className:hr(&quot;recharts-symbols&quot;,c),transform:&quot;translate(&quot;.concat(a,&quot;, &quot;).concat(d,&quot;)&quot;),d:u()})):null};Q1.registerSymbol=n$;var XC=e=&gt;&quot;radius&quot;in e&amp;&amp;&quot;startAngle&quot;in e&amp;&amp;&quot;endAngle&quot;in e,J1=(e,r)=&gt;{if(!e||typeof e==&quot;function&quot;||typeof e==&quot;boolean&quot;)return null;var t=e;if(I.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(l=&gt;{q1(l)&amp;&amp;(n[l]=(i=&gt;t[l](t,i)))}),n},i$=(e,r,t)=&gt;n=&gt;(e(r,t,n),null),Fp=(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(l=&gt;{var i=e[l];q1(l)&amp;&amp;typeof i==&quot;function&quot;&amp;&amp;(n||(n={}),n[l]=i$(i,r,t))}),n};function pj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function s$(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?pj(Object(t),!0).forEach(function(n){a$(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function a$(e,r,t){return(r=o$(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o$(e){var r=l$(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function l$(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 On(e,r){var t=s$({},e),n=r,l=Object.keys(r),i=l.reduce((o,u)=&gt;(o[u]===void 0&amp;&amp;n[u]!==void 0&amp;&amp;(o[u]=n[u]),o),t);return i}function Rm(){return Rm=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},Rm.apply(null,arguments)}function gj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function c$(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){u$(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 u$(e,r,t){return(r=d$(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function d$(e){var r=f$(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function f$(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 Ui=32,h$={align:&quot;center&quot;,iconSize:14,inactiveColor:&quot;#ccc&quot;,layout:&quot;horizontal&quot;,verticalAlign:&quot;middle&quot;};function m$(e){var{data:r,iconType:t,inactiveColor:n}=e,l=Ui/2,i=Ui/6,o=Ui/3,u=r.inactive?n:r.color,c=t??r.type;if(c===&quot;none&quot;)return null;if(c===&quot;plainline&quot;){var a;return I.createElement(&quot;line&quot;,{strokeWidth:4,fill:&quot;none&quot;,stroke:u,strokeDasharray:(a=r.payload)===null||a===void 0?void 0:a.strokeDasharray,x1:0,y1:l,x2:Ui,y2:l,className:&quot;recharts-legend-icon&quot;})}if(c===&quot;line&quot;)return I.createElement(&quot;path&quot;,{strokeWidth:4,fill:&quot;none&quot;,stroke:u,d:&quot;M0,&quot;.concat(l,&quot;h&quot;).concat(o,`
            A`).concat(i,&quot;,&quot;).concat(i,&quot;,0,1,1,&quot;).concat(2*o,&quot;,&quot;).concat(l,`
            H`).concat(Ui,&quot;M&quot;).concat(2*o,&quot;,&quot;).concat(l,`
            A`).concat(i,&quot;,&quot;).concat(i,&quot;,0,1,1,&quot;).concat(o,&quot;,&quot;).concat(l),className:&quot;recharts-legend-icon&quot;});if(c===&quot;rect&quot;)return I.createElement(&quot;path&quot;,{stroke:&quot;none&quot;,fill:u,d:&quot;M0,&quot;.concat(Ui/8,&quot;h&quot;).concat(Ui,&quot;v&quot;).concat(Ui*3/4,&quot;h&quot;).concat(-Ui,&quot;z&quot;),className:&quot;recharts-legend-icon&quot;});if(I.isValidElement(r.legendIcon)){var d=c$({},r);return delete d.legendIcon,I.cloneElement(r.legendIcon,d)}return I.createElement(Q1,{fill:u,cx:l,cy:l,size:Ui,sizeType:&quot;diameter&quot;,type:c})}function p$(e){var{payload:r,iconSize:t,layout:n,formatter:l,inactiveColor:i,iconType:o}=e,u={x:0,y:0,width:Ui,height:Ui},c={display:n===&quot;horizontal&quot;?&quot;inline-block&quot;:&quot;block&quot;,marginRight:10},a={display:&quot;inline-block&quot;,verticalAlign:&quot;middle&quot;,marginRight:4};return r.map((d,f)=&gt;{var h=d.formatter||l,m=hr({&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,x=h?h(d.value,d,f):d.value;return I.createElement(&quot;li&quot;,Rm({className:m,style:c,key:&quot;legend-item-&quot;.concat(f)},Fp(e,d,f)),I.createElement(H1,{width:t,height:t,viewBox:u,style:a,&quot;aria-label&quot;:&quot;&quot;.concat(x,&quot; legend icon&quot;)},I.createElement(m$,{data:d,iconType:o,inactiveColor:i})),I.createElement(&quot;span&quot;,{className:&quot;recharts-legend-item-text&quot;,style:{color:p}},x))})}var g$=e=&gt;{var r=On(e,h$),{payload:t,layout:n,align:l}=r;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:n===&quot;horizontal&quot;?l:&quot;left&quot;};return I.createElement(&quot;ul&quot;,{className:&quot;recharts-default-legend&quot;,style:i},I.createElement(p$,Rm({},r,{payload:t})))},zx={},$x={},xj;function x$(){return xj||(xj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n){const l=new Map;for(let i=0;i&lt;t.length;i++){const o=t[i],u=n(o,i,t);l.has(u)||l.set(u,o)}return Array.from(l.values())}e.uniqBy=r})($x)),$x}var Ux={},bj;function b$(){return bj||(bj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n){return function(...l){return t.apply(this,l.slice(0,n))}}e.ary=r})(Ux)),Ux}var Vx={},yj;function GC(){return yj||(yj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t}e.identity=r})(Vx)),Vx}var qx={},Hx={},Wx={},vj;function y$(){return vj||(vj=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})(Wx)),Wx}var wj;function e2(){return wj||(wj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=y$();function t(n){return n!=null&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;r.isLength(n.length)}e.isArrayLike=t})(Hx)),Hx}var Kx={},_j;function v$(){return _j||(_j=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})(Kx)),Kx}var jj;function w$(){return jj||(jj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=e2(),t=v$();function n(l){return t.isObjectLike(l)&amp;&amp;r.isArrayLike(l)}e.isArrayLikeObject=n})(qx)),qx}var Xx={},Gx={},Sj;function _$(){return Sj||(Sj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=Z1();function t(n){return function(l){return r.get(l,n)}}e.property=t})(Gx)),Gx}var Yx={},Zx={},Qx={},Jx={},kj;function YC(){return kj||(kj=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})(Jx)),Jx}var eb={},Nj;function ZC(){return Nj||(Nj=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})(eb)),eb}var tb={},Cj;function QC(){return Cj||(Cj=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})(tb)),tb}var Ej;function j$(){return Ej||(Ej=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=YC(),t=ZC(),n=QC();function l(d,f,h){return typeof h!=&quot;function&quot;?l(d,f,()=&gt;{}):i(d,f,function m(p,x,g,y,v,_){const C=h(p,x,g,y,v,_);return C!==void 0?!!C:i(p,x,m,_)},new Map)}function i(d,f,h,m){if(f===d)return!0;switch(typeof f){case&quot;object&quot;:return o(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 o(d,f,h,m){if(f==null)return!0;if(Array.isArray(f))return c(d,f,h,m);if(f instanceof Map)return u(d,f,h,m);if(f instanceof Set)return a(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 x=0;x&lt;p.length;x++){const g=p[x];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,x]of f.entries()){const g=d.get(p);if(h(g,x,p,d,f,m)===!1)return!1}return!0}function c(d,f,h,m){if(f.length===0)return!0;if(!Array.isArray(d))return!1;const p=new Set;for(let x=0;x&lt;f.length;x++){const g=f[x];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,x,d,f,m)&amp;&amp;(C=!0),C){p.add(v),y=!0;break}}if(!y)return!1}return!0}function a(d,f,h,m){return f.size===0?!0:d instanceof Set?c([...d],[...f],h,m):!1}e.isMatchWith=l,e.isSetMatch=a})(Qx)),Qx}var Aj;function JC(){return Aj||(Aj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=j$();function t(n,l){return r.isMatchWith(n,l,()=&gt;{})}e.isMatch=t})(Zx)),Zx}var rb={},nb={},ib={},Mj;function S$(){return Mj||(Mj=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})(ib)),ib}var sb={},Oj;function t2(){return Oj||(Oj=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})(sb)),sb}var ab={},Pj;function e7(){return Pj||(Pj=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;,l=&quot;[object Boolean]&quot;,i=&quot;[object Arguments]&quot;,o=&quot;[object Symbol]&quot;,u=&quot;[object Date]&quot;,c=&quot;[object Map]&quot;,a=&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;,x=&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;,M=&quot;[object Int8Array]&quot;,T=&quot;[object Int16Array]&quot;,$=&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=l,e.dataViewTag=x,e.dateTag=u,e.errorTag=p,e.float32ArrayTag=H,e.float64ArrayTag=W,e.functionTag=f,e.int16ArrayTag=T,e.int32ArrayTag=$,e.int8ArrayTag=M,e.mapTag=c,e.numberTag=n,e.objectTag=m,e.regexpTag=r,e.setTag=a,e.stringTag=t,e.symbolTag=o,e.uint16ArrayTag=v,e.uint32ArrayTag=_,e.uint8ArrayTag=g,e.uint8ClampedArrayTag=y})(ab)),ab}var ob={},Tj;function k$(){return Tj||(Tj=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})(ob)),ob}var Ij;function t7(){return Ij||(Ij=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=S$(),t=t2(),n=e7(),l=ZC(),i=k$();function o(d,f){return u(d,void 0,d,new Map,f)}function u(d,f,h,m=new Map,p=void 0){const x=p?.(d,f,h,m);if(x!==void 0)return x;if(l.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),c(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),c(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),c(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,c(g,d,h,m,p),g}if(d instanceof Boolean){const g=new Boolean(d.valueOf());return m.set(d,g),c(g,d,h,m,p),g}if(d instanceof Number){const g=new Number(d.valueOf());return m.set(d,g),c(g,d,h,m,p),g}if(d instanceof String){const g=new String(d.valueOf());return m.set(d,g),c(g,d,h,m,p),g}if(typeof d==&quot;object&quot;&amp;&amp;a(d)){const g=Object.create(Object.getPrototypeOf(d));return m.set(d,g),c(g,d,h,m,p),g}return d}function c(d,f,h=d,m,p){const x=[...Object.keys(f),...r.getSymbols(f)];for(let g=0;g&lt;x.length;g++){const y=x[g],v=Object.getOwnPropertyDescriptor(d,y);(v==null||v.writable)&amp;&amp;(d[y]=u(f[y],y,h,m,p))}}function a(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=o,e.cloneDeepWithImpl=u,e.copyProperties=c})(nb)),nb}var Rj;function N$(){return Rj||(Rj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=t7();function t(n){return r.cloneDeepWithImpl(n,void 0,n,new Map,void 0)}e.cloneDeep=t})(rb)),rb}var Dj;function C$(){return Dj||(Dj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=JC(),t=N$();function n(l){return l=t.cloneDeep(l),i=&gt;r.isMatch(i,l)}e.matches=n})(Yx)),Yx}var lb={},cb={},ub={},Lj;function E$(){return Lj||(Lj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=t7(),t=t2(),n=e7();function l(i,o){return r.cloneDeepWith(i,(u,c,a,d)=&gt;{const f=o?.(u,c,a,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,a,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=l})(ub)),ub}var Fj;function A$(){return Fj||(Fj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=E$();function t(n){return r.cloneDeepWith(n)}e.cloneDeep=t})(cb)),cb}var db={},fb={},Bj;function r7(){return Bj||(Bj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=/^(?:0|[1-9]\d*)$/;function t(n,l=Number.MAX_SAFE_INTEGER){switch(typeof n){case&quot;number&quot;:return Number.isInteger(n)&amp;&amp;n&gt;=0&amp;&amp;n&lt;l;case&quot;symbol&quot;:return!1;case&quot;string&quot;:return r.test(n)}}e.isIndex=t})(fb)),fb}var hb={},zj;function M$(){return zj||(zj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=t2();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})(hb)),hb}var $j;function O$(){return $j||($j=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=qC(),t=r7(),n=M$(),l=Y1();function i(o,u){let c;if(Array.isArray(u)?c=u:typeof u==&quot;string&quot;&amp;&amp;r.isDeepKey(u)&amp;&amp;o?.[u]==null?c=l.toPath(u):c=[u],c.length===0)return!1;let a=o;for(let d=0;d&lt;c.length;d++){const f=c[d];if((a==null||!Object.hasOwn(a,f))&amp;&amp;!((Array.isArray(a)||n.isArguments(a))&amp;&amp;t.isIndex(f)&amp;&amp;f&lt;a.length))return!1;a=a[f]}return!0}e.has=i})(db)),db}var Uj;function P$(){return Uj||(Uj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=JC(),t=G1(),n=A$(),l=Z1(),i=O$();function o(u,c){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 c=n.cloneDeep(c),function(a){const d=l.get(a,u);return d===void 0?i.has(a,u):c===void 0?d===void 0:r.isMatch(d,c)}}e.matchesProperty=o})(lb)),lb}var Vj;function T$(){return Vj||(Vj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=GC(),t=_$(),n=C$(),l=P$();function i(o){if(o==null)return r.identity;switch(typeof o){case&quot;function&quot;:return o;case&quot;object&quot;:return Array.isArray(o)&amp;&amp;o.length===2?l.matchesProperty(o[0],o[1]):n.matches(o);case&quot;string&quot;:case&quot;symbol&quot;:case&quot;number&quot;:return t.property(o)}}e.iteratee=i})(Xx)),Xx}var qj;function I$(){return qj||(qj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=x$(),t=b$(),n=GC(),l=w$(),i=T$();function o(u,c=n.identity){return l.isArrayLikeObject(u)?r.uniqBy(Array.from(u),t.ary(i.iteratee(c),1)):[]}e.uniqBy=o})(zx)),zx}var mb,Hj;function R$(){return Hj||(Hj=1,mb=I$().uniqBy),mb}var D$=R$();const Wj=_s(D$);function n7(e,r,t){return r===!0?Wj(e,t):typeof r==&quot;function&quot;?Wj(e,r):e}var pb={exports:{}},gb={},xb={exports:{}},bb={};var Kj;function L$(){if(Kj)return bb;Kj=1;var e=$c();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,l=e.useEffect,i=e.useLayoutEffect,o=e.useDebugValue;function u(f,h){var m=h(),p=n({inst:{value:m,getSnapshot:h}}),x=p[0].inst,g=p[1];return i(function(){x.value=m,x.getSnapshot=h,c(x)&amp;&amp;g({inst:x})},[f,m,h]),l(function(){return c(x)&amp;&amp;g({inst:x}),f(function(){c(x)&amp;&amp;g({inst:x})})},[f]),o(m),m}function c(f){var h=f.getSnapshot;f=f.value;try{var m=h();return!t(f,m)}catch{return!0}}function a(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;?a:u;return bb.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,bb}var Xj;function F$(){return Xj||(Xj=1,xb.exports=L$()),xb.exports}var Gj;function B$(){if(Gj)return gb;Gj=1;var e=$c(),r=F$();function t(a,d){return a===d&amp;&amp;(a!==0||1/a===1/d)||a!==a&amp;&amp;d!==d}var n=typeof Object.is==&quot;function&quot;?Object.is:t,l=r.useSyncExternalStore,i=e.useRef,o=e.useEffect,u=e.useMemo,c=e.useDebugValue;return gb.useSyncExternalStoreWithSelector=function(a,d,f,h,m){var p=i(null);if(p.current===null){var x={hasValue:!1,value:null};p.current=x}else x=p.current;p=u(function(){function y(T){if(!v){if(v=!0,_=T,T=h(T),m!==void 0&amp;&amp;x.hasValue){var $=x.value;if(m($,T))return C=$}return C=T}if($=C,n(_,T))return $;var F=h(T);return m!==void 0&amp;&amp;m($,F)?(_=T,$):(_=T,C=F)}var v=!1,_,C,M=f===void 0?null:f;return[function(){return y(d())},M===null?void 0:function(){return y(M())}]},[d,f,h,m]);var g=l(a,p[0],p[1]);return o(function(){x.hasValue=!0,x.value=g},[g]),c(g),g},gb}var Yj;function z$(){return Yj||(Yj=1,pb.exports=B$()),pb.exports}var $$=z$(),r2=I.createContext(null),U$=e=&gt;e,Dr=()=&gt;{var e=I.useContext(r2);return e?e.store.dispatch:U$},lm=()=&gt;{},V$=()=&gt;lm,q$=(e,r)=&gt;e===r;function kt(e){var r=I.useContext(r2);return $$.useSyncExternalStoreWithSelector(r?r.subscription.addNestedSub:V$,r?r.store.getState:lm,r?r.store.getState:lm,r?e:lm,q$)}function H$(e,r=`expected a function, instead received ${typeof e}`){if(typeof e!=&quot;function&quot;)throw new TypeError(r)}function W$(e,r=`expected an object, instead received ${typeof e}`){if(typeof e!=&quot;object&quot;)throw new TypeError(r)}function K$(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 Zj=e=&gt;Array.isArray(e)?e:[e];function X$(e){const r=Array.isArray(e[0])?e[0]:e;return K$(r,&quot;createSelector expects all input-selectors to be functions, but received the following types: &quot;),r}function G$(e,r){const t=[],{length:n}=e;for(let l=0;l&lt;n;l++)t.push(e[l].apply(null,r));return t}var Y$=class{constructor(e){this.value=e}deref(){return this.value}},Z$=typeof WeakRef&lt;&quot;u&quot;?WeakRef:Y$,Q$=0,Qj=1;function Lh(){return{s:Q$,v:void 0,o:null,p:null}}function i7(e,r={}){let t=Lh();const{resultEqualityCheck:n}=r;let l,i=0;function o(){let u=t;const{length:c}=arguments;for(let f=0,h=c;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 x=p.get(m);x===void 0?(u=Lh(),p.set(m,u)):u=x}else{let p=u.p;p===null&amp;&amp;(u.p=p=new Map);const x=p.get(m);x===void 0?(u=Lh(),p.set(m,u)):u=x}}const a=u;let d;if(u.s===Qj)d=u.v;else if(d=e.apply(null,arguments),i++,n){const f=l?.deref?.()??l;f!=null&amp;&amp;n(f,d)&amp;&amp;(d=f,i!==0&amp;&amp;i--),l=typeof d==&quot;object&quot;&amp;&amp;d!==null||typeof d==&quot;function&quot;?new Z$(d):d}return a.s=Qj,a.v=d,d}return o.clearCache=()=&gt;{t=Lh(),o.resetResultsCount()},o.resultsCount=()=&gt;i,o.resetResultsCount=()=&gt;{i=0},o}function J$(e,...r){const t=typeof e==&quot;function&quot;?{memoize:e,memoizeOptions:r}:e,n=(...l)=&gt;{let i=0,o=0,u,c={},a=l.pop();typeof a==&quot;object&quot;&amp;&amp;(c=a,a=l.pop()),H$(a,`createSelector expects an output function after the inputs, but received: [${typeof a}]`);const d={...t,...c},{memoize:f,memoizeOptions:h=[],argsMemoize:m=i7,argsMemoizeOptions:p=[]}=d,x=Zj(h),g=Zj(p),y=X$(l),v=f(function(){return i++,a.apply(null,arguments)},...x),_=m(function(){o++;const M=G$(y,arguments);return u=v.apply(null,M),u},...g);return Object.assign(_,{resultFunc:a,memoizedResultFunc:v,dependencies:y,dependencyRecomputations:()=&gt;o,resetDependencyRecomputations:()=&gt;{o=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=J$(i7),eU=Object.assign((e,r=Pe)=&gt;{W$(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((o,u,c)=&gt;(o[t[c]]=u,o),{}))},{withTypes:()=&gt;eU}),yb={},vb={},wb={},Jj;function tU(){return Jj||(Jj=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,l,i)=&gt;{if(n!==l){const o=r(n),u=r(l);if(o===u&amp;&amp;o===0){if(n&lt;l)return i===&quot;desc&quot;?1:-1;if(n&gt;l)return i===&quot;desc&quot;?-1:1}return i===&quot;desc&quot;?u-o:o-u}return 0};e.compareValues=t})(wb)),wb}var _b={},jb={},e5;function s7(){return e5||(e5=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})(jb)),jb}var t5;function rU(){return t5||(t5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=s7(),t=/\.|\[(?:[^[\]]*|([&quot;&#039;])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function l(i,o){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))||o!=null&amp;&amp;Object.hasOwn(o,i)}e.isKey=l})(_b)),_b}var r5;function nU(){return r5||(r5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=tU(),t=rU(),n=Y1();function l(i,o,u,c){if(i==null)return[];u=c?void 0:u,Array.isArray(i)||(i=Object.values(i)),Array.isArray(o)||(o=o==null?[null]:[o]),o.length===0&amp;&amp;(o=[null]),Array.isArray(u)||(u=u==null?[]:[u]),u=u.map(m=&gt;String(m));const a=(m,p)=&gt;{let x=m;for(let g=0;g&lt;p.length&amp;&amp;x!=null;++g)x=x[p[g]];return x},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]:a(p,m.path):typeof m==&quot;function&quot;?m(p):Array.isArray(m)?a(p,m):typeof p==&quot;object&quot;?p[m]:p,f=o.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 x=0;x&lt;f.length;x++){const g=r.compareValues(m.criteria[x],p.criteria[x],u[x]);if(g!==0)return g}return 0}).map(m=&gt;m.original)}e.orderBy=l})(vb)),vb}var Sb={},n5;function iU(){return n5||(n5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n=1){const l=[],i=Math.floor(n),o=(u,c)=&gt;{for(let a=0;a&lt;u.length;a++){const d=u[a];Array.isArray(d)&amp;&amp;c&lt;i?o(d,c+1):l.push(d)}};return o(t,0),l}e.flatten=r})(Sb)),Sb}var kb={},i5;function a7(){return i5||(i5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=r7(),t=e2(),n=YC(),l=QC();function i(o,u,c){return n.isObject(c)&amp;&amp;(typeof u==&quot;number&quot;&amp;&amp;t.isArrayLike(c)&amp;&amp;r.isIndex(u)&amp;&amp;u&lt;c.length||typeof u==&quot;string&quot;&amp;&amp;u in c)?l.isEqualsSameValueZero(c[u],o):!1}e.isIterateeCall=i})(kb)),kb}var s5;function sU(){return s5||(s5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=nU(),t=iU(),n=a7();function l(i,...o){const u=o.length;return u&gt;1&amp;&amp;n.isIterateeCall(i,o[0],o[1])?o=[]:u&gt;2&amp;&amp;n.isIterateeCall(o[0],o[1],o[2])&amp;&amp;(o=[o[0]]),r.orderBy(i,t.flatten(o),[&quot;asc&quot;])}e.sortBy=l})(yb)),yb}var Nb,a5;function aU(){return a5||(a5=1,Nb=sU().sortBy),Nb}var oU=aU();const Bp=_s(oU);var o7=e=&gt;e.legend.settings,lU=e=&gt;e.legend.size,cU=e=&gt;e.legend.payload,uU=Pe([cU,o7],(e,r)=&gt;{var{itemSorter:t}=r,n=e.flat(1);return t?Bp(n,t):n});function dU(){return kt(uU)}var Fh=1;function l7(){var e=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:[],[r,t]=I.useState({height:0,left:0,top:0,width:0}),n=I.useCallback(l=&gt;{if(l!=null){var i=l.getBoundingClientRect(),o={height:i.height,left:i.left,top:i.top,width:i.width};(Math.abs(o.height-r.height)&gt;Fh||Math.abs(o.left-r.left)&gt;Fh||Math.abs(o.top-r.top)&gt;Fh||Math.abs(o.width-r.width)&gt;Fh)&amp;&amp;t({height:o.height,left:o.left,top:o.top,width:o.width})}},[r.width,r.height,r.top,r.left,...e]);return[r,n]}function kn(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 fU=typeof Symbol==&quot;function&quot;&amp;&amp;Symbol.observable||&quot;@@observable&quot;,o5=fU,Cb=()=&gt;Math.random().toString(36).substring(7).split(&quot;&quot;).join(&quot;.&quot;),hU={INIT:`@@redux/INIT${Cb()}`,REPLACE:`@@redux/REPLACE${Cb()}`,PROBE_UNKNOWN_ACTION:()=&gt;`@@redux/PROBE_UNKNOWN_ACTION${Cb()}`},Dm=hU;function n2(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 c7(e,r,t){if(typeof e!=&quot;function&quot;)throw new Error(kn(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(kn(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(kn(1));return t(c7)(e,r)}let n=e,l=r,i=new Map,o=i,u=0,c=!1;function a(){o===i&amp;&amp;(o=new Map,i.forEach((g,y)=&gt;{o.set(y,g)}))}function d(){if(c)throw new Error(kn(3));return l}function f(g){if(typeof g!=&quot;function&quot;)throw new Error(kn(4));if(c)throw new Error(kn(5));let y=!0;a();const v=u++;return o.set(v,g),function(){if(y){if(c)throw new Error(kn(6));y=!1,a(),o.delete(v),i=null}}}function h(g){if(!n2(g))throw new Error(kn(7));if(typeof g.type&gt;&quot;u&quot;)throw new Error(kn(8));if(typeof g.type!=&quot;string&quot;)throw new Error(kn(17));if(c)throw new Error(kn(9));try{c=!0,l=n(l,g)}finally{c=!1}return(i=o).forEach(v=&gt;{v()}),g}function m(g){if(typeof g!=&quot;function&quot;)throw new Error(kn(10));n=g,h({type:Dm.REPLACE})}function p(){const g=f;return{subscribe(y){if(typeof y!=&quot;object&quot;||y===null)throw new Error(kn(11));function v(){const C=y;C.next&amp;&amp;C.next(d())}return v(),{unsubscribe:g(v)}},[o5](){return this}}}return h({type:Dm.INIT}),{dispatch:h,subscribe:f,getState:d,replaceReducer:m,[o5]:p}}function mU(e){Object.keys(e).forEach(r=&gt;{const t=e[r];if(typeof t(void 0,{type:Dm.INIT})&gt;&quot;u&quot;)throw new Error(kn(12));if(typeof t(void 0,{type:Dm.PROBE_UNKNOWN_ACTION()})&gt;&quot;u&quot;)throw new Error(kn(13))})}function u7(e){const r=Object.keys(e),t={};for(let i=0;i&lt;r.length;i++){const o=r[i];typeof e[o]==&quot;function&quot;&amp;&amp;(t[o]=e[o])}const n=Object.keys(t);let l;try{mU(t)}catch(i){l=i}return function(o={},u){if(l)throw l;let c=!1;const a={};for(let d=0;d&lt;n.length;d++){const f=n[d],h=t[f],m=o[f],p=h(m,u);if(typeof p&gt;&quot;u&quot;)throw u&amp;&amp;u.type,new Error(kn(14));a[f]=p,c=c||p!==m}return c=c||n.length!==Object.keys(o).length,c?a:o}}function Lm(...e){return e.length===0?r=&gt;r:e.length===1?e[0]:e.reduce((r,t)=&gt;(...n)=&gt;r(t(...n)))}function pU(...e){return r=&gt;(t,n)=&gt;{const l=r(t,n);let i=()=&gt;{throw new Error(kn(15))};const o={getState:l.getState,dispatch:(c,...a)=&gt;i(c,...a)},u=e.map(c=&gt;c(o));return i=Lm(...u)(l.dispatch),{...l,dispatch:i}}}function d7(e){return n2(e)&amp;&amp;&quot;type&quot;in e&amp;&amp;typeof e.type==&quot;string&quot;}var f7=Symbol.for(&quot;immer-nothing&quot;),l5=Symbol.for(&quot;immer-draftable&quot;),ii=Symbol.for(&quot;immer-state&quot;);function ms(e,...r){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Ci=Object,Ic=Ci.getPrototypeOf,Fm=&quot;constructor&quot;,zp=&quot;prototype&quot;,ov=&quot;configurable&quot;,Bm=&quot;enumerable&quot;,cm=&quot;writable&quot;,Cd=&quot;value&quot;,Sa=e=&gt;!!e&amp;&amp;!!e[ii];function ws(e){return e?h7(e)||Up(e)||!!e[l5]||!!e[Fm]?.[l5]||Vp(e)||qp(e):!1}var gU=Ci[zp][Fm].toString(),c5=new WeakMap;function h7(e){if(!e||!i2(e))return!1;const r=Ic(e);if(r===null||r===Ci[zp])return!0;const t=Ci.hasOwnProperty.call(r,Fm)&amp;&amp;r[Fm];if(t===Object)return!0;if(!wc(t))return!1;let n=c5.get(t);return n===void 0&amp;&amp;(n=Function.toString.call(t),c5.set(t,n)),n===gU}function $p(e,r,t=!0){Yd(e)===0?(t?Reflect.ownKeys(e):Ci.keys(e)).forEach(l=&gt;{r(l,e[l],e)}):e.forEach((n,l)=&gt;r(l,n,e))}function Yd(e){const r=e[ii];return r?r.type_:Up(e)?1:Vp(e)?2:qp(e)?3:0}var u5=(e,r,t=Yd(e))=&gt;t===2?e.has(r):Ci[zp].hasOwnProperty.call(e,r),lv=(e,r,t=Yd(e))=&gt;t===2?e.get(r):e[r],zm=(e,r,t,n=Yd(e))=&gt;{n===2?e.set(r,t):n===3?e.add(t):e[r]=t};function xU(e,r){return e===r?e!==0||1/e===1/r:e!==e&amp;&amp;r!==r}var Up=Array.isArray,Vp=e=&gt;e instanceof Map,qp=e=&gt;e instanceof Set,i2=e=&gt;typeof e==&quot;object&quot;,wc=e=&gt;typeof e==&quot;function&quot;,Eb=e=&gt;typeof e==&quot;boolean&quot;;function bU(e){const r=+e;return Number.isInteger(r)&amp;&amp;String(r)===e}var da=e=&gt;e.copy_||e.base_,s2=e=&gt;e.modified_?e.copy_:e.base_;function cv(e,r){if(Vp(e))return new Map(e);if(qp(e))return new Set(e);if(Up(e))return Array[zp].slice.call(e);const t=h7(e);if(r===!0||r===&quot;class_only&quot;&amp;&amp;!t){const n=Ci.getOwnPropertyDescriptors(e);delete n[ii];let l=Reflect.ownKeys(n);for(let i=0;i&lt;l.length;i++){const o=l[i],u=n[o];u[cm]===!1&amp;&amp;(u[cm]=!0,u[ov]=!0),(u.get||u.set)&amp;&amp;(n[o]={[ov]:!0,[cm]:!0,[Bm]:u[Bm],[Cd]:e[o]})}return Ci.create(Ic(e),n)}else{const n=Ic(e);if(n!==null&amp;&amp;t)return{...e};const l=Ci.create(n);return Ci.assign(l,e)}}function a2(e,r=!1){return Hp(e)||Sa(e)||!ws(e)||(Yd(e)&gt;1&amp;&amp;Ci.defineProperties(e,{set:Bh,add:Bh,clear:Bh,delete:Bh}),Ci.freeze(e),r&amp;&amp;$p(e,(t,n)=&gt;{a2(n,!0)},!1)),e}function yU(){ms(2)}var Bh={[Cd]:yU};function Hp(e){return e===null||!i2(e)?!0:Ci.isFrozen(e)}var $m=&quot;MapSet&quot;,uv=&quot;Patches&quot;,d5=&quot;ArrayMethods&quot;,m7={};function Sl(e){const r=m7[e];return r||ms(0,e),r}var f5=e=&gt;!!m7[e],Ed,p7=()=&gt;Ed,vU=(e,r)=&gt;({drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:f5($m)?Sl($m):void 0,arrayMethodsPlugin_:f5(d5)?Sl(d5):void 0});function h5(e,r){r&amp;&amp;(e.patchPlugin_=Sl(uv),e.patches_=[],e.inversePatches_=[],e.patchListener_=r)}function dv(e){fv(e),e.drafts_.forEach(wU),e.drafts_=null}function fv(e){e===Ed&amp;&amp;(Ed=e.parent_)}var m5=e=&gt;Ed=vU(Ed,e);function wU(e){const r=e[ii];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function p5(e,r){r.unfinalizedDrafts_=r.drafts_.length;const t=r.drafts_[0];if(e!==void 0&amp;&amp;e!==t){t[ii].modified_&amp;&amp;(dv(r),ms(4)),ws(e)&amp;&amp;(e=g5(r,e));const{patchPlugin_:l}=r;l&amp;&amp;l.generateReplacementPatches_(t[ii].base_,e,r)}else e=g5(r,t);return _U(r,e,!0),dv(r),r.patches_&amp;&amp;r.patchListener_(r.patches_,r.inversePatches_),e!==f7?e:void 0}function g5(e,r){if(Hp(r))return r;const t=r[ii];if(!t)return Um(r,e.handledSet_,e);if(!Wp(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);b7(t,e)}return t.copy_}function _U(e,r,t=!1){!e.parent_&amp;&amp;e.immer_.autoFreeze_&amp;&amp;e.canAutoFreeze_&amp;&amp;a2(r,t)}function g7(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Wp=(e,r)=&gt;e.scope_===r,jU=[];function x7(e,r,t,n){const l=da(e),i=e.type_;if(n!==void 0&amp;&amp;lv(l,n,i)===r){zm(l,n,t,i);return}if(!e.draftLocations_){const u=e.draftLocations_=new Map;$p(l,(c,a)=&gt;{if(Sa(a)){const d=u.get(a)||[];d.push(c),u.set(a,d)}})}const o=e.draftLocations_.get(r)??jU;for(const u of o)zm(l,u,t,i)}function SU(e,r,t){e.callbacks_.push(function(l){const i=r;if(!i||!Wp(i,l))return;l.mapSetPlugin_?.fixSetContents(i);const o=s2(i);x7(e,i.draft_??i,o,t),b7(i,l)})}function b7(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 l=n.getPath(e);l&amp;&amp;n.generatePatches_(e,l,r)}g7(e)}}function kU(e,r,t){const{scope_:n}=e;if(Sa(t)){const l=t[ii];Wp(l,n)&amp;&amp;l.callbacks_.push(function(){um(e);const o=s2(l);x7(e,t,o,r)})}else ws(t)&amp;&amp;e.callbacks_.push(function(){const i=da(e);e.type_===3?i.has(t)&amp;&amp;Um(t,n.handledSet_,n):lv(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;Um(lv(e.copy_,r,e.type_),n.handledSet_,n)})}function Um(e,r,t){return!t.immer_.autoFreeze_&amp;&amp;t.unfinalizedDrafts_&lt;1||Sa(e)||r.has(e)||!ws(e)||Hp(e)||(r.add(e),$p(e,(n,l)=&gt;{if(Sa(l)){const i=l[ii];if(Wp(i,t)){const o=s2(i);zm(e,n,o,e.type_),g7(i)}}else ws(l)&amp;&amp;Um(l,r,t)})),e}function NU(e,r){const t=Up(e),n={type_:t?1:0,scope_:r?r.scope_:p7(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let l=n,i=Vm;t&amp;&amp;(l=[n],i=Ad);const{revoke:o,proxy:u}=Proxy.revocable(l,i);return n.draft_=u,n.revoke_=o,[u,n]}var Vm={get(e,r){if(r===ii)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 l=da(e);if(!u5(l,r,e.type_))return CU(e,l,r);const i=l[r];if(e.finalized_||!ws(i)||n&amp;&amp;e.operationMethod&amp;&amp;t?.isMutatingArrayMethod(e.operationMethod)&amp;&amp;bU(r))return i;if(i===Ab(e.base_,r)){um(e);const o=e.type_===1?+r:r,u=mv(e.scope_,i,e,o);return e.copy_[o]=u}return i},has(e,r){return r in da(e)},ownKeys(e){return Reflect.ownKeys(da(e))},set(e,r,t){const n=y7(da(e),r);if(n?.set)return n.set.call(e.draft_,t),!0;if(!e.modified_){const l=Ab(da(e),r),i=l?.[ii];if(i&amp;&amp;i.base_===t)return e.copy_[r]=t,e.assigned_.set(r,!1),!0;if(xU(t,l)&amp;&amp;(t!==void 0||u5(e.base_,r,e.type_)))return!0;um(e),hv(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),kU(e,r,t)),!0},deleteProperty(e,r){return um(e),Ab(e.base_,r)!==void 0||r in e.base_?(e.assigned_.set(r,!1),hv(e)):e.assigned_.delete(r),e.copy_&amp;&amp;delete e.copy_[r],!0},getOwnPropertyDescriptor(e,r){const t=da(e),n=Reflect.getOwnPropertyDescriptor(t,r);return n&amp;&amp;{[cm]:!0,[ov]:e.type_!==1||r!==&quot;length&quot;,[Bm]:n[Bm],[Cd]:t[r]}},defineProperty(){ms(11)},getPrototypeOf(e){return Ic(e.base_)},setPrototypeOf(){ms(12)}},Ad={};for(let e in Vm){let r=Vm[e];Ad[e]=function(){const t=arguments;return t[0]=t[0][0],r.apply(this,t)}}Ad.deleteProperty=function(e,r){return Ad.set.call(this,e,r,void 0)};Ad.set=function(e,r,t){return Vm.set.call(this,e[0],r,t,e[0])};function Ab(e,r){const t=e[ii];return(t?da(t):e)[r]}function CU(e,r,t){const n=y7(r,t);return n?Cd in n?n[Cd]:n.get?.call(e.draft_):void 0}function y7(e,r){if(!(r in e))return;let t=Ic(e);for(;t;){const n=Object.getOwnPropertyDescriptor(t,r);if(n)return n;t=Ic(t)}}function hv(e){e.modified_||(e.modified_=!0,e.parent_&amp;&amp;hv(e.parent_))}function um(e){e.copy_||(e.assigned_=new Map,e.copy_=cv(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var EU=class{constructor(r){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,n,l)=&gt;{if(wc(t)&amp;&amp;!wc(n)){const o=n;n=t;const u=this;return function(a=o,...d){return u.produce(a,f=&gt;n.call(this,f,...d))}}wc(n)||ms(6),l!==void 0&amp;&amp;!wc(l)&amp;&amp;ms(7);let i;if(ws(t)){const o=m5(this),u=mv(o,t,void 0);let c=!0;try{i=n(u),c=!1}finally{c?dv(o):fv(o)}return h5(o,l),p5(i,o)}else if(!t||!i2(t)){if(i=n(t),i===void 0&amp;&amp;(i=t),i===f7&amp;&amp;(i=void 0),this.autoFreeze_&amp;&amp;a2(i,!0),l){const o=[],u=[];Sl(uv).generateReplacementPatches_(t,i,{patches_:o,inversePatches_:u}),l(o,u)}return i}else ms(1,t)},this.produceWithPatches=(t,n)=&gt;{if(wc(t))return(u,...c)=&gt;this.produceWithPatches(u,a=&gt;t(a,...c));let l,i;return[this.produce(t,n,(u,c)=&gt;{l=u,i=c}),l,i]},Eb(r?.autoFreeze)&amp;&amp;this.setAutoFreeze(r.autoFreeze),Eb(r?.useStrictShallowCopy)&amp;&amp;this.setUseStrictShallowCopy(r.useStrictShallowCopy),Eb(r?.useStrictIteration)&amp;&amp;this.setUseStrictIteration(r.useStrictIteration)}createDraft(r){ws(r)||ms(8),Sa(r)&amp;&amp;(r=xs(r));const t=m5(this),n=mv(t,r,void 0);return n[ii].isManual_=!0,fv(t),n}finishDraft(r,t){const n=r&amp;&amp;r[ii];(!n||!n.isManual_)&amp;&amp;ms(9);const{scope_:l}=n;return h5(l,t),p5(void 0,l)}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 l=Sl(uv).applyPatches_;return Sa(r)?l(r,t):this.produce(r,i=&gt;l(i,t))}};function mv(e,r,t,n){const[l,i]=Vp(r)?Sl($m).proxyMap_(r,t):qp(r)?Sl($m).proxySet_(r,t):NU(r,t);return(t?.scope_??p7()).drafts_.push(l),i.callbacks_=t?.callbacks_??[],i.key_=n,t&amp;&amp;n!==void 0?SU(t,i,n):i.callbacks_.push(function(c){c.mapSetPlugin_?.fixSetContents(i);const{patchPlugin_:a}=c;i.modified_&amp;&amp;a&amp;&amp;a.generatePatches_(i,[],c)}),l}function xs(e){return Sa(e)||ms(10,e),v7(e)}function v7(e){if(!ws(e)||Hp(e))return e;const r=e[ii];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 $p(t,(l,i)=&gt;{zm(t,l,v7(i))},n),r&amp;&amp;(r.finalized_=!1),t}var AU=new EU,w7=AU.produce;function _7(e){return({dispatch:t,getState:n})=&gt;l=&gt;i=&gt;typeof i==&quot;function&quot;?i(t,n,e):l(i)}var MU=_7(),OU=_7,PU=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;?Lm:Lm.apply(null,arguments)};function Ki(e,r){function t(...n){if(r){let l=r(...n);if(!l)throw new Error(Ei(0));return{type:e,payload:l.payload,...&quot;meta&quot;in l&amp;&amp;{meta:l.meta},...&quot;error&quot;in l&amp;&amp;{error:l.error}}}return{type:e,payload:n[0]}}return t.toString=()=&gt;`${e}`,t.type=e,t.match=n=&gt;d7(n)&amp;&amp;n.type===e,t}var j7=class ld extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,ld.prototype)}static get[Symbol.species](){return ld}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&amp;&amp;Array.isArray(r[0])?new ld(...r[0].concat(this)):new ld(...r.concat(this))}};function x5(e){return ws(e)?w7(e,()=&gt;{}):e}function zh(e,r,t){return e.has(r)?e.get(r):e.set(r,t(r)).get(r)}function TU(e){return typeof e==&quot;boolean&quot;}var IU=()=&gt;function(r){const{thunk:t=!0,immutableCheck:n=!0,serializableCheck:l=!0,actionCreatorCheck:i=!0}=r??{};let o=new j7;return t&amp;&amp;(TU(t)?o.push(MU):o.push(OU(t.extraArgument))),o},S7=&quot;RTK_autoBatch&quot;,Nr=()=&gt;e=&gt;({payload:e,meta:{[S7]:!0}}),b5=e=&gt;r=&gt;{setTimeout(r,e)},k7=(e={type:&quot;raf&quot;})=&gt;r=&gt;(...t)=&gt;{const n=r(...t);let l=!0,i=!1,o=!1;const u=new Set,c=e.type===&quot;tick&quot;?queueMicrotask:e.type===&quot;raf&quot;?typeof window&lt;&quot;u&quot;&amp;&amp;window.requestAnimationFrame?window.requestAnimationFrame:b5(10):e.type===&quot;callback&quot;?e.queueNotification:b5(e.timeout),a=()=&gt;{o=!1,i&amp;&amp;(i=!1,u.forEach(d=&gt;d()))};return Object.assign({},n,{subscribe(d){const f=()=&gt;l&amp;&amp;d(),h=n.subscribe(f);return u.add(d),()=&gt;{h(),u.delete(d)}},dispatch(d){try{return l=!d?.meta?.[S7],i=!l,i&amp;&amp;(o||(o=!0,c(a))),n.dispatch(d)}finally{l=!0}}})},RU=e=&gt;function(t){const{autoBatch:n=!0}=t??{};let l=new j7(e);return n&amp;&amp;l.push(k7(typeof n==&quot;object&quot;?n:void 0)),l};function DU(e){const r=IU(),{reducer:t=void 0,middleware:n,devTools:l=!0,preloadedState:i=void 0,enhancers:o=void 0}=e||{};let u;if(typeof t==&quot;function&quot;)u=t;else if(n2(t))u=u7(t);else throw new Error(Ei(1));let c;typeof n==&quot;function&quot;?c=n(r):c=r();let a=Lm;l&amp;&amp;(a=PU({trace:!1,...typeof l==&quot;object&quot;&amp;&amp;l}));const d=pU(...c),f=RU(d);let h=typeof o==&quot;function&quot;?o(f):f();const m=a(...h);return c7(u,i,m)}function N7(e){const r={},t=[];let n;const l={addCase(i,o){const u=typeof i==&quot;string&quot;?i:i.type;if(!u)throw new Error(Ei(28));if(u in r)throw new Error(Ei(29));return r[u]=o,l},addAsyncThunk(i,o){return o.pending&amp;&amp;(r[i.pending.type]=o.pending),o.rejected&amp;&amp;(r[i.rejected.type]=o.rejected),o.fulfilled&amp;&amp;(r[i.fulfilled.type]=o.fulfilled),o.settled&amp;&amp;t.push({matcher:i.settled,reducer:o.settled}),l},addMatcher(i,o){return t.push({matcher:i,reducer:o}),l},addDefaultCase(i){return n=i,l}};return e(l),[r,t,n]}function LU(e){return typeof e==&quot;function&quot;}function FU(e,r){let[t,n,l]=N7(r),i;if(LU(e))i=()=&gt;x5(e());else{const u=x5(e);i=()=&gt;u}function o(u=i(),c){let a=[t[c.type],...n.filter(({matcher:d})=&gt;d(c)).map(({reducer:d})=&gt;d)];return a.filter(d=&gt;!!d).length===0&amp;&amp;(a=[l]),a.reduce((d,f)=&gt;{if(f)if(Sa(d)){const m=f(d,c);return m===void 0?d:m}else{if(ws(d))return w7(d,h=&gt;f(h,c));{const h=f(d,c);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 o.getInitialState=i,o}var BU=&quot;ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW&quot;,zU=(e=21)=&gt;{let r=&quot;&quot;,t=e;for(;t--;)r+=BU[Math.random()*64|0];return r},$U=Symbol.for(&quot;rtk-slice-createasyncthunk&quot;);function UU(e,r){return`${e}/${r}`}function VU({creators:e}={}){const r=e?.asyncThunk?.[$U];return function(n){const{name:l,reducerPath:i=l}=n;if(!l)throw new Error(Ei(11));const o=(typeof n.reducers==&quot;function&quot;?n.reducers(HU()):n.reducers)||{},u=Object.keys(o),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},a={addCase(_,C){const M=typeof _==&quot;string&quot;?_:_.type;if(!M)throw new Error(Ei(12));if(M in c.sliceCaseReducersByType)throw new Error(Ei(13));return c.sliceCaseReducersByType[M]=C,a},addMatcher(_,C){return c.sliceMatchers.push({matcher:_,reducer:C}),a},exposeAction(_,C){return c.actionCreators[_]=C,a},exposeCaseReducer(_,C){return c.sliceCaseReducersByName[_]=C,a}};u.forEach(_=&gt;{const C=o[_],M={reducerName:_,type:UU(l,_),createNotation:typeof n.reducers==&quot;function&quot;};KU(C)?GU(M,C,a,r):WU(M,C,a)});function d(){const[_={},C=[],M=void 0]=typeof n.extraReducers==&quot;function&quot;?N7(n.extraReducers):[n.extraReducers],T={..._,...c.sliceCaseReducersByType};return FU(n.initialState,$=&gt;{for(let F in T)$.addCase(F,T[F]);for(let F of c.sliceMatchers)$.addMatcher(F.matcher,F.reducer);for(let F of C)$.addMatcher(F.matcher,F.reducer);M&amp;&amp;$.addDefaultCase(M)})}const f=_=&gt;_,h=new Map,m=new WeakMap;let p;function x(_,C){return p||(p=d()),p(_,C)}function g(){return p||(p=d()),p.getInitialState()}function y(_,C=!1){function M($){let F=$[_];return typeof F&gt;&quot;u&quot;&amp;&amp;C&amp;&amp;(F=zh(m,M,g)),F}function T($=f){const F=zh(h,C,()=&gt;new WeakMap);return zh(F,$,()=&gt;{const H={};for(const[W,q]of Object.entries(n.selectors??{}))H[W]=qU(q,$,()=&gt;zh(m,$,g),C);return H})}return{reducerPath:_,getSelectors:T,get selectors(){return T(M)},selectSlice:M}}const v={name:l,reducer:x,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:g,...y(i),injectInto(_,{reducerPath:C,...M}={}){const T=C??i;return _.inject({reducerPath:T,reducer:x},M),{...v,...y(T,!0)}}};return v}}function qU(e,r,t,n){function l(i,...o){let u=r(i);return typeof u&gt;&quot;u&quot;&amp;&amp;n&amp;&amp;(u=t()),e(u,...o)}return l.unwrapped=e,l}var gi=VU();function HU(){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 WU({type:e,reducerName:r,createNotation:t},n,l){let i,o;if(&quot;reducer&quot;in n){if(t&amp;&amp;!XU(n))throw new Error(Ei(17));i=n.reducer,o=n.prepare}else i=n;l.addCase(e,i).exposeCaseReducer(r,i).exposeAction(r,o?Ki(e,o):Ki(e))}function KU(e){return e._reducerDefinitionType===&quot;asyncThunk&quot;}function XU(e){return e._reducerDefinitionType===&quot;reducerWithPrepare&quot;}function GU({type:e,reducerName:r},t,n,l){if(!l)throw new Error(Ei(18));const{payloadCreator:i,fulfilled:o,pending:u,rejected:c,settled:a,options:d}=t,f=l(e,i,d);n.exposeAction(r,f),o&amp;&amp;n.addCase(f.fulfilled,o),u&amp;&amp;n.addCase(f.pending,u),c&amp;&amp;n.addCase(f.rejected,c),a&amp;&amp;n.addMatcher(f.settled,a),n.exposeCaseReducer(r,{fulfilled:o||$h,pending:u||$h,rejected:c||$h,settled:a||$h})}function $h(){}var YU=&quot;task&quot;,C7=&quot;listener&quot;,E7=&quot;completed&quot;,o2=&quot;cancelled&quot;,ZU=`task-${o2}`,QU=`task-${E7}`,pv=`${C7}-${o2}`,JU=`${C7}-${E7}`,Kp=class{constructor(e){this.code=e,this.message=`${YU} ${o2} (reason: ${e})`}name=&quot;TaskAbortError&quot;;message},l2=(e,r)=&gt;{if(typeof e!=&quot;function&quot;)throw new TypeError(Ei(32))},qm=()=&gt;{},A7=(e,r=qm)=&gt;(e.catch(r),e),M7=(e,r)=&gt;(e.addEventListener(&quot;abort&quot;,r,{once:!0}),()=&gt;e.removeEventListener(&quot;abort&quot;,r)),yl=e=&gt;{if(e.aborted)throw new Kp(e.reason)};function O7(e,r){let t=qm;return new Promise((n,l)=&gt;{const i=()=&gt;l(new Kp(e.reason));if(e.aborted){i();return}t=M7(e,i),r.finally(()=&gt;t()).then(n,l)}).finally(()=&gt;{t=qm})}var eV=async(e,r)=&gt;{try{return await Promise.resolve(),{status:&quot;ok&quot;,value:await e()}}catch(t){return{status:t instanceof Kp?&quot;cancelled&quot;:&quot;rejected&quot;,error:t}}finally{r?.()}},Hm=e=&gt;r=&gt;A7(O7(e,r).then(t=&gt;(yl(e),t))),P7=e=&gt;{const r=Hm(e);return t=&gt;r(new Promise(n=&gt;setTimeout(n,t)))},{assign:Ac}=Object,y5={},Xp=&quot;listenerMiddleware&quot;,tV=(e,r)=&gt;{const t=n=&gt;M7(e,()=&gt;n.abort(e.reason));return(n,l)=&gt;{l2(n);const i=new AbortController;t(i);const o=eV(async()=&gt;{yl(e),yl(i.signal);const u=await n({pause:Hm(i.signal),delay:P7(i.signal),signal:i.signal});return yl(i.signal),u},()=&gt;i.abort(QU));return l?.autoJoin&amp;&amp;r.push(o.catch(qm)),{result:Hm(e)(o),cancel(){i.abort(ZU)}}}},rV=(e,r)=&gt;{const t=async(n,l)=&gt;{yl(r);let i=()=&gt;{};const u=[new Promise((c,a)=&gt;{let d=e({predicate:n,effect:(f,h)=&gt;{h.unsubscribe(),c([f,h.getState(),h.getOriginalState()])}});i=()=&gt;{d(),a()}})];l!=null&amp;&amp;u.push(new Promise(c=&gt;setTimeout(c,l,null)));try{const c=await O7(r,Promise.race(u));return yl(r),c}finally{i()}};return(n,l)=&gt;A7(t(n,l))},T7=e=&gt;{let{type:r,actionCreator:t,matcher:n,predicate:l,effect:i}=e;if(r)l=Ki(r).match;else if(t)r=t.type,l=t.match;else if(n)l=n;else if(!l)throw new Error(Ei(21));return l2(i),{predicate:l,type:r,effect:i}},I7=Ac(e=&gt;{const{type:r,predicate:t,effect:n}=T7(e);return{id:zU(),effect:n,type:r,predicate:t,pending:new Set,unsubscribe:()=&gt;{throw new Error(Ei(22))}}},{withTypes:()=&gt;I7}),v5=(e,r)=&gt;{const{type:t,effect:n,predicate:l}=T7(r);return Array.from(e.values()).find(i=&gt;(typeof t==&quot;string&quot;?i.type===t:i.predicate===l)&amp;&amp;i.effect===n)},gv=e=&gt;{e.pending.forEach(r=&gt;{r.abort(pv)})},nV=(e,r)=&gt;()=&gt;{for(const t of r.keys())gv(t);e.clear()},w5=(e,r,t)=&gt;{try{e(r,t)}catch(n){setTimeout(()=&gt;{throw n},0)}},R7=Ac(Ki(`${Xp}/add`),{withTypes:()=&gt;R7}),iV=Ki(`${Xp}/removeAll`),D7=Ac(Ki(`${Xp}/remove`),{withTypes:()=&gt;D7}),sV=(...e)=&gt;{console.error(`${Xp}/error`,...e)},Zd=(e={})=&gt;{const r=new Map,t=new Map,n=m=&gt;{const p=t.get(m)??0;t.set(m,p+1)},l=m=&gt;{const p=t.get(m)??1;p===1?t.delete(m):t.set(m,p-1)},{extra:i,onError:o=sV}=e;l2(o);const u=m=&gt;(m.unsubscribe=()=&gt;r.delete(m.id),r.set(m.id,m),p=&gt;{m.unsubscribe(),p?.cancelActive&amp;&amp;gv(m)}),c=m=&gt;{const p=v5(r,m)??I7(m);return u(p)};Ac(c,{withTypes:()=&gt;c});const a=m=&gt;{const p=v5(r,m);return p&amp;&amp;(p.unsubscribe(),m.cancelActive&amp;&amp;gv(p)),!!p};Ac(a,{withTypes:()=&gt;a});const d=async(m,p,x,g)=&gt;{const y=new AbortController,v=rV(c,y.signal),_=[];try{m.pending.add(y),n(m),await Promise.resolve(m.effect(p,Ac({},x,{getOriginalState:g,condition:(C,M)=&gt;v(C,M).then(Boolean),take:v,delay:P7(y.signal),pause:Hm(y.signal),extra:i,signal:y.signal,fork:tV(y.signal,_),unsubscribe:m.unsubscribe,subscribe:()=&gt;{r.set(m.id,m)},cancelActiveListeners:()=&gt;{m.pending.forEach((C,M,T)=&gt;{C!==y&amp;&amp;(C.abort(pv),T.delete(C))})},cancel:()=&gt;{y.abort(pv),m.pending.delete(y)},throwIfCancelled:()=&gt;{yl(y.signal)}})))}catch(C){C instanceof Kp||w5(o,C,{raisedBy:&quot;effect&quot;})}finally{await Promise.all(_),y.abort(JU),l(m),m.pending.delete(y)}},f=nV(r,t);return{middleware:m=&gt;p=&gt;x=&gt;{if(!d7(x))return p(x);if(R7.match(x))return c(x.payload);if(iV.match(x)){f();return}if(D7.match(x))return a(x.payload);let g=m.getState();const y=()=&gt;{if(g===y5)throw new Error(Ei(23));return g};let v;try{if(v=p(x),r.size&gt;0){const _=m.getState(),C=Array.from(r.values());for(const M of C){let T=!1;try{T=M.predicate(x,_,g)}catch($){T=!1,w5(o,$,{raisedBy:&quot;predicate&quot;})}T&amp;&amp;d(M,x,m,y)}}}finally{g=y5}return v},startListening:c,stopListening:a,clearListeners:f}};function Ei(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 aV={layoutType:&quot;horizontal&quot;,width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},L7=gi({name:&quot;chartLayout&quot;,initialState:aV,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,l,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=(l=r.payload.bottom)!==null&amp;&amp;l!==void 0?l:0,e.margin.left=(i=r.payload.left)!==null&amp;&amp;i!==void 0?i:0},setScale(e,r){e.scale=r.payload}}}),{setMargin:oV,setLayout:lV,setChartSize:cV,setScale:uV}=L7.actions,dV=L7.reducer;function F7(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 Us(e){return typeof e==&quot;number&quot;&amp;&amp;e&gt;0&amp;&amp;Number.isFinite(e)}function _5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Nc(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?_5(Object(t),!0).forEach(function(n){fV(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function fV(e,r,t){return(r=hV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function hV(e){var r=mV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function mV(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 Yr(e,r,t){return Er(e)||Er(r)?t:$s(r)?Tc(e,r,t):typeof r==&quot;function&quot;?r(e):t}var pV=(e,r,t)=&gt;{if(r&amp;&amp;t){var{width:n,height:l}=t,{align:i,verticalAlign:o,layout:u}=r;if((u===&quot;vertical&quot;||u===&quot;horizontal&quot;&amp;&amp;o===&quot;middle&quot;)&amp;&amp;i!==&quot;center&quot;&amp;&amp;xt(e[i]))return Nc(Nc({},e),{},{[i]:e[i]+(n||0)});if((u===&quot;horizontal&quot;||u===&quot;vertical&quot;&amp;&amp;i===&quot;center&quot;)&amp;&amp;o!==&quot;middle&quot;&amp;&amp;xt(e[o]))return Nc(Nc({},e),{},{[o]:e[o]+(l||0)})}return e},Co=(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;,B7=(e,r,t,n)=&gt;{if(n)return e.map(u=&gt;u.coordinate);var l,i,o=e.map(u=&gt;(u.coordinate===r&amp;&amp;(l=!0),u.coordinate===t&amp;&amp;(i=!0),u.coordinate));return l||o.push(r),i||o.push(t),o},z7=(e,r,t)=&gt;{if(!e)return null;var{duplicateDomain:n,type:l,range:i,scale:o,realScaleType:u,isCategorical:c,categoricalDomain:a,tickCount:d,ticks:f,niceTicks:h,axisType:m}=e;if(!o)return null;var p=u===&quot;scaleBand&quot;&amp;&amp;o.bandwidth?o.bandwidth()/2:2,x=l===&quot;category&quot;&amp;&amp;o.bandwidth?o.bandwidth()/p:0;if(x=m===&quot;angleAxis&quot;&amp;&amp;i&amp;&amp;i.length&gt;=2?hi(i[0]-i[1])*2*x:x,f||h){var g=(f||h||[]).map((y,v)=&gt;{var _=n?n.indexOf(y):y;return{coordinate:o(_)+x,value:y,offset:x,index:v}});return g.filter(y=&gt;!ys(y.coordinate))}return c&amp;&amp;a?a.map((y,v)=&gt;({coordinate:o(y)+x,value:y,index:v,offset:x})):o.ticks&amp;&amp;d!=null?o.ticks(d).map((y,v)=&gt;({coordinate:o(y)+x,value:y,offset:x,index:v})):o.domain().map((y,v)=&gt;({coordinate:o(y)+x,value:n?n[y]:y,index:v,offset:x}))},j5=1e-4,gV=e=&gt;{var r=e.domain();if(!(!r||r.length&lt;=2)){var t=r.length,n=e.range(),l=Math.min(n[0],n[1])-j5,i=Math.max(n[0],n[1])+j5,o=e(r[0]),u=e(r[t-1]);(o&lt;l||o&gt;i||u&lt;l||u&gt;i)&amp;&amp;e.domain([r[0],r[t-1]])}},xV=(e,r)=&gt;{if(!r||r.length!==2||!xt(r[0])||!xt(r[1]))return e;var t=Math.min(r[0],r[1]),n=Math.max(r[0],r[1]),l=[e[0],e[1]];return(!xt(e[0])||e[0]&lt;t)&amp;&amp;(l[0]=t),(!xt(e[1])||e[1]&gt;n)&amp;&amp;(l[1]=n),l[0]&gt;n&amp;&amp;(l[0]=n),l[1]&lt;t&amp;&amp;(l[1]=t),l},bV=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 l=0;l&lt;n;++l)for(var i=0,o=0,u=0;u&lt;t;++u){var c=e[u],a=c?.[l];if(a!=null){var d=a[1],f=a[0],h=ys(d)?f:d;h&gt;=0?(a[0]=i,a[1]=i+h,i=d):(a[0]=o,a[1]=o+h,o=d)}}}},yV=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 l=0;l&lt;n;++l)for(var i=0,o=0;o&lt;t;++o){var u=e[o],c=u?.[l];if(c!=null){var a=ys(c[1])?c[0]:c[1];a&gt;=0?(c[0]=i,c[1]=i+a,i=c[1]):(c[0]=0,c[1]=0)}}}},vV={sign:bV,expand:Fz,none:jl,silhouette:Bz,wiggle:zz,positive:yV},wV=(e,r,t)=&gt;{var n,l=(n=vV[t])!==null&amp;&amp;n!==void 0?n:jl,i=Lz().keys(r).value((u,c)=&gt;Number(Yr(u,c,0))).order(sv).offset(l),o=i(e);return o.forEach((u,c)=&gt;{u.forEach((a,d)=&gt;{var f=Yr(e[d],r[c],0);Array.isArray(f)&amp;&amp;f.length===2&amp;&amp;xt(f[0])&amp;&amp;xt(f[1])&amp;&amp;(a[0]=f[0],a[1]=f[1])})}),o};function _V(e){return e==null?void 0:String(e)}function S5(e){var{axis:r,ticks:t,bandSize:n,entry:l,index:i,dataKey:o}=e;if(r.type===&quot;category&quot;){if(!r.allowDuplicatedCategory&amp;&amp;r.dataKey&amp;&amp;!Er(l[r.dataKey])){var u=WC(t,&quot;value&quot;,l[r.dataKey]);if(u)return u.coordinate+n/2}return t[i]?t[i].coordinate+n/2:null}var c=Yr(l,Er(o)?r.dataKey:o);return Er(c)?null:r.scale(c)}var k5=e=&gt;{var{axis:r,ticks:t,offset:n,bandSize:l,entry:i,index:o}=e;if(r.type===&quot;category&quot;)return t[o]?t[o].coordinate+n:null;var u=Yr(i,r.dataKey,r.scale.domain()[o]);return Er(u)?null:r.scale(u)-l/2+n},jV=e=&gt;{var{numericAxis:r}=e,t=r.scale.domain();if(r.type===&quot;number&quot;){var n=Math.min(t[0],t[1]),l=Math.max(t[0],t[1]);return n&lt;=0&amp;&amp;l&gt;=0?0:l&lt;0?l:n}return t[0]},SV=e=&gt;{var r=e.flat(2).filter(xt);return[Math.min(...r),Math.max(...r)]},kV=e=&gt;[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],NV=(e,r,t)=&gt;{if(e!=null)return kV(Object.keys(e).reduce((n,l)=&gt;{var i=e[l];if(!i)return n;var{stackedData:o}=i,u=o.reduce((c,a)=&gt;{var d=F7(a,r,t),f=SV(d);return!Rr(f[0])||!Rr(f[1])?c:[Math.min(c[0],f[0]),Math.max(c[1],f[1])]},[1/0,-1/0]);return[Math.min(u[0],n[0]),Math.max(u[1],n[1])]},[1/0,-1/0]))},N5=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,C5=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Rc=(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 l=Bp(r,d=&gt;d.coordinate),i=1/0,o=1,u=l.length;o&lt;u;o++){var c=l[o],a=l[o-1];i=Math.min((c?.coordinate||0)-(a?.coordinate||0),i)}return i===1/0?0:i}return t?void 0:0};function E5(e){var{tooltipEntrySettings:r,dataKey:t,payload:n,value:l,name:i}=e;return Nc(Nc({},r),{},{dataKey:t,payload:n,value:l,name:i})}function Gp(e,r){if(e)return String(e);if(typeof r==&quot;string&quot;)return r}var CV=(e,r)=&gt;{if(r===&quot;horizontal&quot;)return e.chartX;if(r===&quot;vertical&quot;)return e.chartY},EV=(e,r)=&gt;r===&quot;centric&quot;?e.angle:e.radius,Oa=e=&gt;e.layout.width,Pa=e=&gt;e.layout.height,AV=e=&gt;e.layout.scale,$7=e=&gt;e.layout.margin,Yp=Pe(e=&gt;e.cartesianAxis.xAxis,e=&gt;Object.values(e)),Zp=Pe(e=&gt;e.cartesianAxis.yAxis,e=&gt;Object.values(e)),MV=&quot;data-recharts-item-index&quot;,OV=&quot;data-recharts-item-id&quot;,Qd=60;function A5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Uh(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?A5(Object(t),!0).forEach(function(n){PV(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):A5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function PV(e,r,t){return(r=TV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function TV(e){var r=IV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function IV(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 RV=e=&gt;e.brush.height;function DV(e){var r=Zp(e);return r.reduce((t,n)=&gt;{if(n.orientation===&quot;left&quot;&amp;&amp;!n.mirror&amp;&amp;!n.hide){var l=typeof n.width==&quot;number&quot;?n.width:Qd;return t+l}return t},0)}function LV(e){var r=Zp(e);return r.reduce((t,n)=&gt;{if(n.orientation===&quot;right&quot;&amp;&amp;!n.mirror&amp;&amp;!n.hide){var l=typeof n.width==&quot;number&quot;?n.width:Qd;return t+l}return t},0)}function FV(e){var r=Yp(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 BV(e){var r=Yp(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 xn=Pe([Oa,Pa,$7,RV,DV,LV,FV,BV,o7,lU],(e,r,t,n,l,i,o,u,c,a)=&gt;{var d={left:(t.left||0)+l,right:(t.right||0)+i},f={top:(t.top||0)+o,bottom:(t.bottom||0)+u},h=Uh(Uh({},f),d),m=h.bottom;h.bottom+=n,h=pV(h,c,a);var p=e-h.left-h.right,x=r-h.top-h.bottom;return Uh(Uh({brushBottom:m},h),{},{width:Math.max(p,0),height:Math.max(x,0)})}),zV=Pe(xn,e=&gt;({x:e.left,y:e.top,width:e.width,height:e.height})),c2=Pe(Oa,Pa,(e,r)=&gt;({x:0,y:0,width:e,height:r})),$V=I.createContext(null),qn=()=&gt;I.useContext($V)!=null,Qp=e=&gt;e.brush,Jp=Pe([Qp,xn,$7],(e,r,t)=&gt;({height:e.height,x:xt(e.x)?e.x:r.left,y:xt(e.y)?e.y:r.top+r.height+r.brushBottom-(t?.bottom||0),width:xt(e.width)?e.width:r.width})),Mb={},Ob={},Pb={},M5;function UV(){return M5||(M5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n,{signal:l,edges:i}={}){let o,u=null;const c=i!=null&amp;&amp;i.includes(&quot;leading&quot;),a=i==null||i.includes(&quot;trailing&quot;),d=()=&gt;{u!==null&amp;&amp;(t.apply(o,u),o=void 0,u=null)},f=()=&gt;{a&amp;&amp;d(),x()};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)},x=()=&gt;{p(),o=void 0,u=null},g=()=&gt;{d()},y=function(...v){if(l?.aborted)return;o=this,u=v;const _=h==null;m(),c&amp;&amp;_&amp;&amp;d()};return y.schedule=m,y.cancel=x,y.flush=g,l?.addEventListener(&quot;abort&quot;,x,{once:!0}),y}e.debounce=r})(Pb)),Pb}var O5;function VV(){return O5||(O5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=UV();function t(n,l=0,i={}){typeof i!=&quot;object&quot;&amp;&amp;(i={});const{leading:o=!1,trailing:u=!0,maxWait:c}=i,a=Array(2);o&amp;&amp;(a[0]=&quot;leading&quot;),u&amp;&amp;(a[1]=&quot;trailing&quot;);let d,f=null;const h=r.debounce(function(...x){d=n.apply(this,x),f=null},l,{edges:a}),m=function(...x){return c!=null&amp;&amp;(f===null&amp;&amp;(f=Date.now()),Date.now()-f&gt;=c)?(d=n.apply(this,x),f=Date.now(),h.cancel(),h.schedule(),d):(h.apply(this,x),d)},p=()=&gt;(h.flush(),d);return m.cancel=h.cancel,m.flush=p,m}e.debounce=t})(Ob)),Ob}var P5;function qV(){return P5||(P5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=VV();function t(n,l=0,i={}){const{leading:o=!0,trailing:u=!0}=i;return r.debounce(n,l,{leading:o,maxWait:l,trailing:u})}e.throttle=t})(Mb)),Mb}var Tb,T5;function HV(){return T5||(T5=1,Tb=qV().throttle),Tb}var WV=HV();const KV=_s(WV);var Wm=function(r,t){for(var n=arguments.length,l=new Array(n&gt;2?n-2:0),i=2;i&lt;n;i++)l[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 o=0;console.warn(t.replace(/%s/g,()=&gt;l[o++]))}},U7=(e,r,t)=&gt;{var{width:n=&quot;100%&quot;,height:l=&quot;100%&quot;,aspect:i,maxHeight:o}=t,u=ja(n)?e:Number(n),c=ja(l)?r:Number(l);return i&amp;&amp;i&gt;0&amp;&amp;(u?c=u/i:c&amp;&amp;(u=c*i),o&amp;&amp;c!=null&amp;&amp;c&gt;o&amp;&amp;(c=o)),{calculatedWidth:u,calculatedHeight:c}},XV={width:0,height:0,overflow:&quot;visible&quot;},GV={width:0,overflowX:&quot;visible&quot;},YV={height:0,overflowY:&quot;visible&quot;},ZV={},QV=e=&gt;{var{width:r,height:t}=e,n=ja(r),l=ja(t);return n&amp;&amp;l?XV:n?GV:l?YV:ZV};function JV(e){var{width:r,height:t,aspect:n}=e,l=r,i=t;return l===void 0&amp;&amp;i===void 0?(l=&quot;100%&quot;,i=&quot;100%&quot;):l===void 0?l=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:l,height:i}}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 I5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function R5(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?I5(Object(t),!0).forEach(function(n){eq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):I5(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 V7=I.createContext({width:-1,height:-1});function nq(e){return Us(e.width)&amp;&amp;Us(e.height)}function q7(e){var{children:r,width:t,height:n}=e,l=I.useMemo(()=&gt;({width:t,height:n}),[t,n]);return nq(l)?I.createElement(V7.Provider,{value:l},r):null}var u2=()=&gt;I.useContext(V7),iq=I.forwardRef((e,r)=&gt;{var{aspect:t,initialDimension:n={width:-1,height:-1},width:l,height:i,minWidth:o=0,minHeight:u,maxHeight:c,children:a,debounce:d=0,id:f,className:h,onResize:m,style:p={}}=e,x=I.useRef(null),g=I.useRef();g.current=m,I.useImperativeHandle(r,()=&gt;x.current);var[y,v]=I.useState({containerWidth:n.width,containerHeight:n.height}),_=I.useCallback((F,H)=&gt;{v(W=&gt;{var q=Math.round(F),K=Math.round(H);return W.containerWidth===q&amp;&amp;W.containerHeight===K?W:{containerWidth:q,containerHeight:K}})},[]);I.useEffect(()=&gt;{if(x.current==null||typeof ResizeObserver&gt;&quot;u&quot;)return Gd;var F=K=&gt;{var P,{width:L,height:E}=K[0].contentRect;_(L,E),(P=g.current)===null||P===void 0||P.call(g,L,E)};d&gt;0&amp;&amp;(F=KV(F,d,{trailing:!0,leading:!1}));var H=new ResizeObserver(F),{width:W,height:q}=x.current.getBoundingClientRect();return _(W,q),H.observe(x.current),()=&gt;{H.disconnect()}},[_,d]);var{containerWidth:C,containerHeight:M}=y;Wm(!t||t&gt;0,&quot;The aspect(%s) must be greater than zero.&quot;,t);var{calculatedWidth:T,calculatedHeight:$}=U7(C,M,{width:l,height:i,aspect:t,maxHeight:c});return Wm(T!=null&amp;&amp;T&gt;0||$!=null&amp;&amp;$&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,$,l,i,o,u,t),I.createElement(&quot;div&quot;,{id:f?&quot;&quot;.concat(f):void 0,className:hr(&quot;recharts-responsive-container&quot;,h),style:R5(R5({},p),{},{width:l,height:i,minWidth:o,minHeight:u,maxHeight:c}),ref:x},I.createElement(&quot;div&quot;,{style:QV({width:l,height:i})},I.createElement(q7,{width:T,height:$},a)))}),Ib=I.forwardRef((e,r)=&gt;{var t=u2();if(Us(t.width)&amp;&amp;Us(t.height))return e.children;var{width:n,height:l}=JV({width:e.width,height:e.height,aspect:e.aspect}),{calculatedWidth:i,calculatedHeight:o}=U7(void 0,void 0,{width:n,height:l,aspect:e.aspect,maxHeight:e.maxHeight});return xt(i)&amp;&amp;xt(o)?I.createElement(q7,{width:i,height:o},e.children):I.createElement(iq,xv({},e,{width:n,height:l,ref:r}))});function H7(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 e0=()=&gt;{var e,r=qn(),t=kt(zV),n=kt(Jp),l=(e=kt(Qp))===null||e===void 0?void 0:e.padding;return!r||!n||!l?t:{width:n.width-l.left-l.right,height:n.height-l.top-l.bottom,x:l.left,y:l.top}},sq={top:0,bottom:0,left:0,right:0,width:0,height:0,brushBottom:0},W7=()=&gt;{var e;return(e=kt(xn))!==null&amp;&amp;e!==void 0?e:sq},d2=()=&gt;kt(Oa),f2=()=&gt;kt(Pa),aq=()=&gt;kt(e=&gt;e.layout.margin),ar=e=&gt;e.layout.layoutType,Kc=()=&gt;kt(ar),oq=()=&gt;{var e=Kc();return e!==void 0},t0=e=&gt;{var r=Dr(),t=qn(),{width:n,height:l}=e,i=u2(),o=n,u=l;return i&amp;&amp;(o=i.width&gt;0?i.width:n,u=i.height&gt;0?i.height:l),I.useEffect(()=&gt;{!t&amp;&amp;Us(o)&amp;&amp;Us(u)&amp;&amp;r(cV({width:o,height:u}))},[r,t,o,u]),null},K7=Symbol.for(&quot;immer-nothing&quot;),D5=Symbol.for(&quot;immer-draftable&quot;),Ai=Symbol.for(&quot;immer-state&quot;);function ps(e,...r){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Md=Object.getPrototypeOf;function Dc(e){return!!e&amp;&amp;!!e[Ai]}function kl(e){return e?X7(e)||Array.isArray(e)||!!e[D5]||!!e.constructor?.[D5]||Jd(e)||n0(e):!1}var lq=Object.prototype.constructor.toString(),L5=new WeakMap;function X7(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=L5.get(t);return n===void 0&amp;&amp;(n=Function.toString.call(t),L5.set(t,n)),n===lq}function Km(e,r,t=!0){r0(e)===0?(t?Reflect.ownKeys(e):Object.keys(e)).forEach(l=&gt;{r(l,e[l],e)}):e.forEach((n,l)=&gt;r(l,n,e))}function r0(e){const r=e[Ai];return r?r.type_:Array.isArray(e)?1:Jd(e)?2:n0(e)?3:0}function bv(e,r){return r0(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function G7(e,r,t){const n=r0(e);n===2?e.set(r,t):n===3?e.add(t):e[r]=t}function cq(e,r){return e===r?e!==0||1/e===1/r:e!==e&amp;&amp;r!==r}function Jd(e){return e instanceof Map}function n0(e){return e instanceof Set}function ll(e){return e.copy_||e.base_}function yv(e,r){if(Jd(e))return new Map(e);if(n0(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const t=X7(e);if(r===!0||r===&quot;class_only&quot;&amp;&amp;!t){const n=Object.getOwnPropertyDescriptors(e);delete n[Ai];let l=Reflect.ownKeys(n);for(let i=0;i&lt;l.length;i++){const o=l[i],u=n[o];u.writable===!1&amp;&amp;(u.writable=!0,u.configurable=!0),(u.get||u.set)&amp;&amp;(n[o]={configurable:!0,writable:!0,enumerable:u.enumerable,value:e[o]})}return Object.create(Md(e),n)}else{const n=Md(e);if(n!==null&amp;&amp;t)return{...e};const l=Object.create(n);return Object.assign(l,e)}}function h2(e,r=!1){return i0(e)||Dc(e)||!kl(e)||(r0(e)&gt;1&amp;&amp;Object.defineProperties(e,{set:Vh,add:Vh,clear:Vh,delete:Vh}),Object.freeze(e),r&amp;&amp;Object.values(e).forEach(t=&gt;h2(t,!0))),e}function uq(){ps(2)}var Vh={value:uq};function i0(e){return e===null||typeof e!=&quot;object&quot;?!0:Object.isFrozen(e)}var dq={};function Nl(e){const r=dq[e];return r||ps(0,e),r}var Od;function Y7(){return Od}function fq(e,r){return{drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function F5(e,r){r&amp;&amp;(Nl(&quot;Patches&quot;),e.patches_=[],e.inversePatches_=[],e.patchListener_=r)}function vv(e){wv(e),e.drafts_.forEach(hq),e.drafts_=null}function wv(e){e===Od&amp;&amp;(Od=e.parent_)}function B5(e){return Od=fq(Od,e)}function hq(e){const r=e[Ai];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function z5(e,r){r.unfinalizedDrafts_=r.drafts_.length;const t=r.drafts_[0];return e!==void 0&amp;&amp;e!==t?(t[Ai].modified_&amp;&amp;(vv(r),ps(4)),kl(e)&amp;&amp;(e=Xm(r,e),r.parent_||Gm(r,e)),r.patches_&amp;&amp;Nl(&quot;Patches&quot;).generateReplacementPatches_(t[Ai].base_,e,r.patches_,r.inversePatches_)):e=Xm(r,t,[]),vv(r),r.patches_&amp;&amp;r.patchListener_(r.patches_,r.inversePatches_),e!==K7?e:void 0}function Xm(e,r,t){if(i0(r))return r;const n=e.immer_.shouldUseStrictIteration(),l=r[Ai];if(!l)return Km(r,(i,o)=&gt;$5(e,l,r,i,o,t),n),r;if(l.scope_!==e)return r;if(!l.modified_)return Gm(e,l.base_,!0),l.base_;if(!l.finalized_){l.finalized_=!0,l.scope_.unfinalizedDrafts_--;const i=l.copy_;let o=i,u=!1;l.type_===3&amp;&amp;(o=new Set(i),i.clear(),u=!0),Km(o,(c,a)=&gt;$5(e,l,i,c,a,t,u),n),Gm(e,i,!1),t&amp;&amp;e.patches_&amp;&amp;Nl(&quot;Patches&quot;).generatePatches_(l,t,e.patches_,e.inversePatches_)}return l.copy_}function $5(e,r,t,n,l,i,o){if(l==null||typeof l!=&quot;object&quot;&amp;&amp;!o)return;const u=i0(l);if(!(u&amp;&amp;!o)){if(Dc(l)){const c=i&amp;&amp;r&amp;&amp;r.type_!==3&amp;&amp;!bv(r.assigned_,n)?i.concat(n):void 0,a=Xm(e,l,c);if(G7(t,n,a),Dc(a))e.canAutoFreeze_=!1;else return}else o&amp;&amp;t.add(l);if(kl(l)&amp;&amp;!u){if(!e.immer_.autoFreeze_&amp;&amp;e.unfinalizedDrafts_&lt;1||r&amp;&amp;r.base_&amp;&amp;r.base_[n]===l&amp;&amp;u)return;Xm(e,l),(!r||!r.scope_.parent_)&amp;&amp;typeof n!=&quot;symbol&quot;&amp;&amp;(Jd(t)?t.has(n):Object.prototype.propertyIsEnumerable.call(t,n))&amp;&amp;Gm(e,l)}}}function Gm(e,r,t=!1){!e.parent_&amp;&amp;e.immer_.autoFreeze_&amp;&amp;e.canAutoFreeze_&amp;&amp;h2(r,t)}function mq(e,r){const t=Array.isArray(e),n={type_:t?1:0,scope_:r?r.scope_:Y7(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let l=n,i=m2;t&amp;&amp;(l=[n],i=Pd);const{revoke:o,proxy:u}=Proxy.revocable(l,i);return n.draft_=u,n.revoke_=o,u}var m2={get(e,r){if(r===Ai)return e;const t=ll(e);if(!bv(t,r))return pq(e,t,r);const n=t[r];return e.finalized_||!kl(n)?n:n===Rb(e.base_,r)?(Db(e),e.copy_[r]=jv(n,e)):n},has(e,r){return r in ll(e)},ownKeys(e){return Reflect.ownKeys(ll(e))},set(e,r,t){const n=Z7(ll(e),r);if(n?.set)return n.set.call(e.draft_,t),!0;if(!e.modified_){const l=Rb(ll(e),r),i=l?.[Ai];if(i&amp;&amp;i.base_===t)return e.copy_[r]=t,e.assigned_[r]=!1,!0;if(cq(t,l)&amp;&amp;(t!==void 0||bv(e.base_,r)))return!0;Db(e),_v(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 Rb(e.base_,r)!==void 0||r in e.base_?(e.assigned_[r]=!1,Db(e),_v(e)):delete e.assigned_[r],e.copy_&amp;&amp;delete e.copy_[r],!0},getOwnPropertyDescriptor(e,r){const t=ll(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(){ps(11)},getPrototypeOf(e){return Md(e.base_)},setPrototypeOf(){ps(12)}},Pd={};Km(m2,(e,r)=&gt;{Pd[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});Pd.deleteProperty=function(e,r){return Pd.set.call(this,e,r,void 0)};Pd.set=function(e,r,t){return m2.set.call(this,e[0],r,t,e[0])};function Rb(e,r){const t=e[Ai];return(t?ll(t):e)[r]}function pq(e,r,t){const n=Z7(r,t);return n?&quot;value&quot;in n?n.value:n.get?.call(e.draft_):void 0}function Z7(e,r){if(!(r in e))return;let t=Md(e);for(;t;){const n=Object.getOwnPropertyDescriptor(t,r);if(n)return n;t=Md(t)}}function _v(e){e.modified_||(e.modified_=!0,e.parent_&amp;&amp;_v(e.parent_))}function Db(e){e.copy_||(e.copy_=yv(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var gq=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 o=this;return function(c=i,...a){return o.produce(c,d=&gt;t.call(this,d,...a))}}typeof t!=&quot;function&quot;&amp;&amp;ps(6),n!==void 0&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;ps(7);let l;if(kl(r)){const i=B5(this),o=jv(r,void 0);let u=!0;try{l=t(o),u=!1}finally{u?vv(i):wv(i)}return F5(i,n),z5(l,i)}else if(!r||typeof r!=&quot;object&quot;){if(l=t(r),l===void 0&amp;&amp;(l=r),l===K7&amp;&amp;(l=void 0),this.autoFreeze_&amp;&amp;h2(l,!0),n){const i=[],o=[];Nl(&quot;Patches&quot;).generateReplacementPatches_(r,l,i,o),n(i,o)}return l}else ps(1,r)},this.produceWithPatches=(r,t)=&gt;{if(typeof r==&quot;function&quot;)return(o,...u)=&gt;this.produceWithPatches(o,c=&gt;r(c,...u));let n,l;return[this.produce(r,t,(o,u)=&gt;{n=o,l=u}),n,l]},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){kl(e)||ps(8),Dc(e)&amp;&amp;(e=xq(e));const r=B5(this),t=jv(e,void 0);return t[Ai].isManual_=!0,wv(r),t}finishDraft(e,r){const t=e&amp;&amp;e[Ai];(!t||!t.isManual_)&amp;&amp;ps(9);const{scope_:n}=t;return F5(n,r),z5(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 l=r[t];if(l.path.length===0&amp;&amp;l.op===&quot;replace&quot;){e=l.value;break}}t&gt;-1&amp;&amp;(r=r.slice(t+1));const n=Nl(&quot;Patches&quot;).applyPatches_;return Dc(e)?n(e,r):this.produce(e,l=&gt;n(l,r))}};function jv(e,r){const t=Jd(e)?Nl(&quot;MapSet&quot;).proxyMap_(e,r):n0(e)?Nl(&quot;MapSet&quot;).proxySet_(e,r):mq(e,r);return(r?r.scope_:Y7()).drafts_.push(t),t}function xq(e){return Dc(e)||ps(10,e),Q7(e)}function Q7(e){if(!kl(e)||i0(e))return e;const r=e[Ai];let t,n=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,t=yv(e,r.scope_.immer_.useStrictShallowCopy_),n=r.scope_.immer_.shouldUseStrictIteration()}else t=yv(e,!0);return Km(t,(l,i)=&gt;{G7(t,l,Q7(i))},n),r&amp;&amp;(r.finalized_=!1),t}var bq=new gq;bq.produce;var yq={settings:{layout:&quot;horizontal&quot;,align:&quot;center&quot;,verticalAlign:&quot;middle&quot;,itemSorter:&quot;value&quot;},size:{width:0,height:0},payload:[]},J7=gi({name:&quot;legend&quot;,initialState:yq,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:Nr()},replaceLegendPayload:{reducer(e,r){var{prev:t,next:n}=r.payload,l=xs(e).payload.indexOf(t);l&gt;-1&amp;&amp;(e.payload[l]=n)},prepare:Nr()},removeLegendPayload:{reducer(e,r){var t=xs(e).payload.indexOf(r.payload);t&gt;-1&amp;&amp;e.payload.splice(t,1)},prepare:Nr()}}}),{setLegendSize:U5,setLegendSettings:vq,addLegendPayload:wq,replaceLegendPayload:_q,removeLegendPayload:jq}=J7.actions,Sq=J7.reducer,kq=[&quot;contextPayload&quot;];function Sv(){return Sv=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},Sv.apply(null,arguments)}function V5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).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?V5(Object(t),!0).forEach(function(n){Nq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):V5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Nq(e,r,t){return(r=Cq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Cq(e){var r=Eq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Eq(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 Aq(e,r){if(e==null)return{};var t,n,l=Mq(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;(l[t]=e[t])}return l}function Mq(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 Oq(e){return e.value}function Pq(e){var{contextPayload:r}=e,t=Aq(e,kq),n=n7(r,e.payloadUniqBy,Oq),l=Lc(Lc({},t),{},{payload:n});return I.isValidElement(e.content)?I.cloneElement(e.content,l):typeof e.content==&quot;function&quot;?I.createElement(e.content,l):I.createElement(g$,l)}function Tq(e,r,t,n,l,i){var{layout:o,align:u,verticalAlign:c}=r,a,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;o===&quot;vertical&quot;?a={left:((n||0)-i.width)/2}:a=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;(c===&quot;middle&quot;?d={top:((l||0)-i.height)/2}:d=c===&quot;bottom&quot;?{bottom:t&amp;&amp;t.bottom||0}:{top:t&amp;&amp;t.top||0}),Lc(Lc({},a),d)}function Iq(e){var r=Dr();return I.useEffect(()=&gt;{r(vq(e))},[r,e]),null}function Rq(e){var r=Dr();return I.useEffect(()=&gt;(r(U5(e)),()=&gt;{r(U5({width:0,height:0}))}),[r,e]),null}function Dq(e,r,t,n){return e===&quot;vertical&quot;&amp;&amp;xt(r)?{height:r}:e===&quot;horizontal&quot;?{width:t||n}:null}var Lq={align:&quot;center&quot;,iconSize:14,itemSorter:&quot;value&quot;,layout:&quot;horizontal&quot;,verticalAlign:&quot;bottom&quot;};function dm(e){var r=On(e,Lq),t=dU(),n=oz(),l=aq(),{width:i,height:o,wrapperStyle:u,portal:c}=r,[a,d]=l7([t]),f=d2(),h=f2();if(f==null||h==null)return null;var m=f-(l?.left||0)-(l?.right||0),p=Dq(r.layout,o,i,m),x=c?u:Lc(Lc({position:&quot;absolute&quot;,width:p?.width||i||&quot;auto&quot;,height:p?.height||o||&quot;auto&quot;},Tq(u,r,l,f,h,a)),u),g=c??n;if(g==null||t==null)return null;var y=I.createElement(&quot;div&quot;,{className:&quot;recharts-legend-wrapper&quot;,style:x,ref:d},I.createElement(Iq,{layout:r.layout,align:r.align,verticalAlign:r.verticalAlign,itemSorter:r.itemSorter}),!c&amp;&amp;I.createElement(Rq,{width:a.width,height:a.height}),I.createElement(Pq,Sv({},r,p,{margin:l,chartWidth:f,chartHeight:h,contextPayload:t})));return Sp.createPortal(y,g)}dm.displayName=&quot;Legend&quot;;function kv(){return kv=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},kv.apply(null,arguments)}function q5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Lb(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?q5(Object(t),!0).forEach(function(n){Fq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):q5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Fq(e,r,t){return(r=Bq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Bq(e){var r=zq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function zq(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 $q(e){return Array.isArray(e)&amp;&amp;$s(e[0])&amp;&amp;$s(e[1])?e.join(&quot; ~ &quot;):e}var Uq=e=&gt;{var{separator:r=&quot; : &quot;,contentStyle:t={},itemStyle:n={},labelStyle:l={},payload:i,formatter:o,itemSorter:u,wrapperClassName:c,labelClassName:a,label:d,labelFormatter:f,accessibilityLayer:h=!1}=e,m=()=&gt;{if(i&amp;&amp;i.length){var M={padding:0,margin:0},T=(u?Bp(i,u):i).map(($,F)=&gt;{if($.type===&quot;none&quot;)return null;var H=$.formatter||o||$q,{value:W,name:q}=$,K=W,P=q;if(H){var L=H(W,q,$,F,i);if(Array.isArray(L))[K,P]=L;else if(L!=null)K=L;else return null}var E=Lb({display:&quot;block&quot;,paddingTop:4,paddingBottom:4,color:$.color||&quot;#000&quot;},n);return I.createElement(&quot;li&quot;,{className:&quot;recharts-tooltip-item&quot;,key:&quot;tooltip-item-&quot;.concat(F),style:E},$s(P)?I.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-name&quot;},P):null,$s(P)?I.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-separator&quot;},r):null,I.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-value&quot;},K),I.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-unit&quot;},$.unit||&quot;&quot;))});return I.createElement(&quot;ul&quot;,{className:&quot;recharts-tooltip-item-list&quot;,style:M},T)}return null},p=Lb({margin:0,padding:10,backgroundColor:&quot;#fff&quot;,border:&quot;1px solid #ccc&quot;,whiteSpace:&quot;nowrap&quot;},t),x=Lb({margin:0},l),g=!Er(d),y=g?d:&quot;&quot;,v=hr(&quot;recharts-default-tooltip&quot;,c),_=hr(&quot;recharts-tooltip-label&quot;,a);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 I.createElement(&quot;div&quot;,kv({className:v,style:p},C),I.createElement(&quot;p&quot;,{className:_,style:x},I.isValidElement(y)?y:&quot;&quot;.concat(y)),m())},Gu=&quot;recharts-tooltip-wrapper&quot;,Vq={visibility:&quot;hidden&quot;};function qq(e){var{coordinate:r,translateX:t,translateY:n}=e;return hr(Gu,{[&quot;&quot;.concat(Gu,&quot;-right&quot;)]:xt(t)&amp;&amp;r&amp;&amp;xt(r.x)&amp;&amp;t&gt;=r.x,[&quot;&quot;.concat(Gu,&quot;-left&quot;)]:xt(t)&amp;&amp;r&amp;&amp;xt(r.x)&amp;&amp;t&lt;r.x,[&quot;&quot;.concat(Gu,&quot;-bottom&quot;)]:xt(n)&amp;&amp;r&amp;&amp;xt(r.y)&amp;&amp;n&gt;=r.y,[&quot;&quot;.concat(Gu,&quot;-top&quot;)]:xt(n)&amp;&amp;r&amp;&amp;xt(r.y)&amp;&amp;n&lt;r.y})}function H5(e){var{allowEscapeViewBox:r,coordinate:t,key:n,offsetTopLeft:l,position:i,reverseDirection:o,tooltipDimension:u,viewBox:c,viewBoxDimension:a}=e;if(i&amp;&amp;xt(i[n]))return i[n];var d=t[n]-u-(l&gt;0?l:0),f=t[n]+l;if(r[n])return o[n]?d:f;var h=c[n];if(h==null)return 0;if(o[n]){var m=d,p=h;return m&lt;p?Math.max(f,h):Math.max(d,h)}if(a==null)return 0;var x=f+u,g=h+a;return x&gt;g?Math.max(d,h):Math.max(f,h)}function Hq(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 Wq(e){var{allowEscapeViewBox:r,coordinate:t,offsetTopLeft:n,position:l,reverseDirection:i,tooltipBox:o,useTranslate3d:u,viewBox:c}=e,a,d,f;return o.height&gt;0&amp;&amp;o.width&gt;0&amp;&amp;t?(d=H5({allowEscapeViewBox:r,coordinate:t,key:&quot;x&quot;,offsetTopLeft:n,position:l,reverseDirection:i,tooltipDimension:o.width,viewBox:c,viewBoxDimension:c.width}),f=H5({allowEscapeViewBox:r,coordinate:t,key:&quot;y&quot;,offsetTopLeft:n,position:l,reverseDirection:i,tooltipDimension:o.height,viewBox:c,viewBoxDimension:c.height}),a=Hq({translateX:d,translateY:f,useTranslate3d:u})):a=Vq,{cssProperties:a,cssClasses:qq({translateX:d,translateY:f,coordinate:t})}}function W5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function qh(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?W5(Object(t),!0).forEach(function(n){Nv(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):W5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Nv(e,r,t){return(r=Kq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Kq(e){var r=Xq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Xq(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 Gq extends I.PureComponent{constructor(){super(...arguments),Nv(this,&quot;state&quot;,{dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}),Nv(this,&quot;handleKeyDown&quot;,r=&gt;{if(r.key===&quot;Escape&quot;){var t,n,l,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:(l=(i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==null&amp;&amp;l!==void 0?l: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:l,children:i,coordinate:o,hasPayload:u,isAnimationActive:c,offset:a,position:d,reverseDirection:f,useTranslate3d:h,viewBox:m,wrapperStyle:p,lastBoundingBox:x,innerRef:g,hasPortalFromProps:y}=this.props,{cssClasses:v,cssProperties:_}=Wq({allowEscapeViewBox:t,coordinate:o,offsetTopLeft:a,position:d,reverseDirection:f,tooltipBox:{height:x.height,width:x.width},useTranslate3d:h,viewBox:m}),C=y?{}:qh(qh({transition:c&amp;&amp;r?&quot;transform &quot;.concat(n,&quot;ms &quot;).concat(l):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}),M=qh(qh({},C),{},{visibility:!this.state.dismissed&amp;&amp;r&amp;&amp;u?&quot;visible&quot;:&quot;hidden&quot;},p);return I.createElement(&quot;div&quot;,{xmlns:&quot;http://www.w3.org/1999/xhtml&quot;,tabIndex:-1,className:v,style:M,ref:g},i)}}var eE=()=&gt;{var e;return(e=kt(r=&gt;r.rootProps.accessibilityLayer))!==null&amp;&amp;e!==void 0?e:!0};function Cv(){return Cv=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},Cv.apply(null,arguments)}function K5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function X5(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?K5(Object(t),!0).forEach(function(n){Yq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):K5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Yq(e,r,t){return(r=Zq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Zq(e){var r=Qq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Qq(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 G5={curveBasisClosed:Nz,curveBasisOpen:Cz,curveBasis:kz,curveBumpX:dz,curveBumpY:fz,curveLinearClosed:Ez,curveLinear:Dp,curveMonotoneX:Az,curveMonotoneY:Mz,curveNatural:Oz,curveStep:Pz,curveStepAfter:Iz,curveStepBefore:Tz},Ym=e=&gt;Rr(e.x)&amp;&amp;Rr(e.y),Y5=e=&gt;e.base!=null&amp;&amp;Ym(e.base)&amp;&amp;Ym(e),Yu=e=&gt;e.x,Zu=e=&gt;e.y,Jq=(e,r)=&gt;{if(typeof e==&quot;function&quot;)return e;var t=&quot;curve&quot;.concat(Xd(e));return(t===&quot;curveMonotone&quot;||t===&quot;curveBump&quot;)&amp;&amp;r?G5[&quot;&quot;.concat(t).concat(r===&quot;vertical&quot;?&quot;Y&quot;:&quot;X&quot;)]:G5[t]||Dp},eH=e=&gt;{var{type:r=&quot;linear&quot;,points:t=[],baseLine:n,layout:l,connectNulls:i=!1}=e,o=Jq(r,l),u=i?t.filter(Ym):t,c;if(Array.isArray(n)){var a=t.map((m,p)=&gt;X5(X5({},m),{},{base:n[p]}));l===&quot;vertical&quot;?c=Dh().y(Zu).x1(Yu).x0(m=&gt;m.base.x):c=Dh().x(Yu).y1(Zu).y0(m=&gt;m.base.y);var d=c.defined(Y5).curve(o),f=i?a.filter(Y5):a;return d(f)}l===&quot;vertical&quot;&amp;&amp;xt(n)?c=Dh().y(Zu).x1(Yu).x0(n):xt(n)?c=Dh().x(Yu).y1(Zu).y0(n):c=TC().x(Yu).y(Zu);var h=c.defined(Ym).curve(o);return h(u)},tE=e=&gt;{var{className:r,points:t,path:n,pathRef:l}=e,i=Kc();if((!t||!t.length)&amp;&amp;!n)return null;var o={type:e.type,points:e.points,baseLine:e.baseLine,layout:e.layout||i,connectNulls:e.connectNulls},u=t&amp;&amp;t.length?eH(o):n;return I.createElement(&quot;path&quot;,Cv({},bs(e),J1(e),{className:hr(&quot;recharts-curve&quot;,r),d:u===null?void 0:u,ref:l}))},tH=[&quot;x&quot;,&quot;y&quot;,&quot;top&quot;,&quot;left&quot;,&quot;width&quot;,&quot;height&quot;,&quot;className&quot;];function Ev(){return Ev=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},Ev.apply(null,arguments)}function Z5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function rH(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Z5(Object(t),!0).forEach(function(n){nH(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Z5(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)}function aH(e,r){if(e==null)return{};var t,n,l=oH(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;(l[t]=e[t])}return l}function oH(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 lH=(e,r,t,n,l,i)=&gt;&quot;M&quot;.concat(e,&quot;,&quot;).concat(l,&quot;v&quot;).concat(n,&quot;M&quot;).concat(i,&quot;,&quot;).concat(r,&quot;h&quot;).concat(t),cH=e=&gt;{var{x:r=0,y:t=0,top:n=0,left:l=0,width:i=0,height:o=0,className:u}=e,c=aH(e,tH),a=rH({x:r,y:t,top:n,left:l,width:i,height:o},c);return!xt(r)||!xt(t)||!xt(i)||!xt(o)||!xt(n)||!xt(l)?null:I.createElement(&quot;path&quot;,Ev({},ni(a),{className:hr(&quot;recharts-cross&quot;,u),d:lH(r,t,i,o,n,l)}))};function uH(e,r,t,n){var l=n/2;return{stroke:&quot;none&quot;,fill:&quot;#ccc&quot;,x:e===&quot;horizontal&quot;?r.x-l:t.left+.5,y:e===&quot;horizontal&quot;?t.top+.5:r.y-l,width:e===&quot;horizontal&quot;?n:t.width-1,height:e===&quot;horizontal&quot;?t.height-1:n}}function Q5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function J5(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Q5(Object(t),!0).forEach(function(n){dH(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Q5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function dH(e,r,t){return(r=fH(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function fH(e){var r=hH(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function hH(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 mH=e=&gt;e.replace(/([A-Z])/g,r=&gt;&quot;-&quot;.concat(r.toLowerCase())),rE=(e,r,t)=&gt;e.map(n=&gt;&quot;&quot;.concat(mH(n),&quot; &quot;).concat(r,&quot;ms &quot;).concat(t)).join(&quot;,&quot;),pH=(e,r)=&gt;[Object.keys(e),Object.keys(r)].reduce((t,n)=&gt;t.filter(l=&gt;n.includes(l))),Td=(e,r)=&gt;Object.keys(r).reduce((t,n)=&gt;J5(J5({},t),{},{[n]:e(n,r[n])}),{});function e6(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function tn(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?e6(Object(t),!0).forEach(function(n){gH(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):e6(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function gH(e,r,t){return(r=xH(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function xH(e){var r=bH(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function bH(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 Zm=(e,r,t)=&gt;e+(r-e)*t,Av=e=&gt;{var{from:r,to:t}=e;return r!==t},nE=(e,r,t)=&gt;{var n=Td((l,i)=&gt;{if(Av(i)){var[o,u]=e(i.from,i.to,i.velocity);return tn(tn({},i),{},{from:o,velocity:u})}return i},r);return t&lt;1?Td((l,i)=&gt;Av(i)&amp;&amp;n[l]!=null?tn(tn({},i),{},{velocity:Zm(i.velocity,n[l].velocity,t),from:Zm(i.from,n[l].from,t)}):i,r):nE(e,n,t-1)};function yH(e,r,t,n,l,i){var o,u=n.reduce((h,m)=&gt;tn(tn({},h),{},{[m]:{from:e[m],velocity:0,to:r[m]}}),{}),c=()=&gt;Td((h,m)=&gt;m.from,u),a=()=&gt;!Object.values(u).filter(Av).length,d=null,f=h=&gt;{o||(o=h);var m=h-o,p=m/t.dt;u=nE(t,u,p),l(tn(tn(tn({},e),r),c())),o=h,a()||(d=i.setTimeout(f))};return()=&gt;(d=i.setTimeout(f),()=&gt;{var h;(h=d)===null||h===void 0||h()})}function vH(e,r,t,n,l,i,o){var u=null,c=l.reduce((f,h)=&gt;{var m=e[h],p=r[h];return m==null||p==null?f:tn(tn({},f),{},{[h]:[m,p]})},{}),a,d=f=&gt;{a||(a=f);var h=(f-a)/n,m=Td((x,g)=&gt;Zm(...g,t(h)),c);if(i(tn(tn(tn({},e),r),m)),h&lt;1)u=o.setTimeout(d);else{var p=Td((x,g)=&gt;Zm(...g,t(1)),c);i(tn(tn(tn({},e),r),p))}};return()=&gt;(u=o.setTimeout(d),()=&gt;{var f;(f=u)===null||f===void 0||f()})}const wH=(e,r,t,n,l,i)=&gt;{var o=pH(e,r);return t==null?()=&gt;(l(tn(tn({},e),r)),()=&gt;{}):t.isStepper===!0?yH(e,r,t,o,l,i):vH(e,r,t,n,o,l,i)};var Qm=1e-4,iE=(e,r)=&gt;[0,3*e,3*r-6*e,3*e-3*r+1],sE=(e,r)=&gt;e.map((t,n)=&gt;t*r**n).reduce((t,n)=&gt;t+n),t6=(e,r)=&gt;t=&gt;{var n=iE(e,r);return sE(n,t)},_H=(e,r)=&gt;t=&gt;{var n=iE(e,r),l=[...n.map((i,o)=&gt;i*o).slice(1),0];return sE(l,t)},jH=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 l=n.map(i=&gt;parseFloat(i));return[l[0],l[1],l[2],l[3]]},SH=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 l=jH(t[0]);if(l)return l}}return t.length===4?t:[0,0,1,1]},kH=(e,r,t,n)=&gt;{var l=t6(e,t),i=t6(r,n),o=_H(e,t),u=a=&gt;a&gt;1?1:a&lt;0?0:a,c=a=&gt;{for(var d=a&gt;1?1:a,f=d,h=0;h&lt;8;++h){var m=l(f)-d,p=o(f);if(Math.abs(m-d)&lt;Qm||p&lt;Qm)return i(f);f=u(f-m/p)}return i(f)};return c.isStepper=!1,c},r6=function(){return kH(...SH(...arguments))},NH=function(){var r=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:{},{stiff:t=100,damping:n=8,dt:l=17}=r,i=(o,u,c)=&gt;{var a=-(o-u)*t,d=c*n,f=c+(a-d)*l/1e3,h=c*l/1e3+o;return Math.abs(h-u)&lt;Qm&amp;&amp;Math.abs(f)&lt;Qm?[u,0]:[h,f]};return i.isStepper=!0,i.dt=l,i},CH=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 r6(e);case&quot;spring&quot;:return NH();default:if(e.split(&quot;(&quot;)[0]===&quot;cubic-bezier&quot;)return r6(e)}return typeof e==&quot;function&quot;?e:null};function EH(e){var r,t=()=&gt;null,n=!1,l=null,i=o=&gt;{if(!n){if(Array.isArray(o)){if(!o.length)return;var u=o,[c,...a]=u;if(typeof c==&quot;number&quot;){l=e.setTimeout(i.bind(null,a),c);return}i(c),l=e.setTimeout(i.bind(null,a));return}typeof o==&quot;string&quot;&amp;&amp;(r=o,t(r)),typeof o==&quot;object&quot;&amp;&amp;(r=o,t(r)),typeof o==&quot;function&quot;&amp;&amp;o()}};return{stop:()=&gt;{n=!0},start:o=&gt;{n=!1,l&amp;&amp;(l(),l=null),i(o)},subscribe:o=&gt;(t=o,()=&gt;{t=()=&gt;null}),getTimeoutController:()=&gt;e}}class AH{setTimeout(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0,n=performance.now(),l=null,i=o=&gt;{o-n&gt;=t?r(o):typeof requestAnimationFrame==&quot;function&quot;&amp;&amp;(l=requestAnimationFrame(i))};return l=requestAnimationFrame(i),()=&gt;{l!=null&amp;&amp;cancelAnimationFrame(l)}}}function MH(){return EH(new AH)}var OH=I.createContext(MH);function PH(e,r){var t=I.useContext(OH);return I.useMemo(()=&gt;r??t(e),[e,r,t])}var TH=()=&gt;!(typeof window&lt;&quot;u&quot;&amp;&amp;window.document&amp;&amp;window.document.createElement&amp;&amp;window.setTimeout),s0={isSsr:TH()},IH={begin:0,duration:1e3,easing:&quot;ease&quot;,isActive:!0,canBegin:!0,onAnimationEnd:()=&gt;{},onAnimationStart:()=&gt;{}},n6={t:0},Fb={t:1};function a0(e){var r=On(e,IH),{isActive:t,canBegin:n,duration:l,easing:i,begin:o,onAnimationEnd:u,onAnimationStart:c,children:a}=r,d=t===&quot;auto&quot;?!s0.isSsr:t,f=PH(r.animationId,r.animationManager),[h,m]=I.useState(d?n6:Fb),p=I.useRef(null);return I.useEffect(()=&gt;{d||m(Fb)},[d]),I.useEffect(()=&gt;{if(!d||!n)return Gd;var x=wH(n6,Fb,CH(i),l,m,f.getTimeoutController()),g=()=&gt;{p.current=x()};return f.start([c,o,g,l,u]),()=&gt;{f.stop(),p.current&amp;&amp;p.current(),u()}},[d,n,l,i,o,c,u,f]),a(h.t)}function o0(e){var r=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;animation-&quot;,t=I.useRef(Nd(r)),n=I.useRef(e);return n.current!==e&amp;&amp;(t.current=Nd(r),n.current=e),t.current}var RH=[&quot;radius&quot;],DH=[&quot;radius&quot;],i6,s6,a6,o6,l6,c6,u6,d6,f6,h6;function m6(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function p6(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?m6(Object(t),!0).forEach(function(n){LH(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):m6(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function LH(e,r,t){return(r=FH(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function FH(e){var r=BH(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function BH(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 Jm(){return Jm=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},Jm.apply(null,arguments)}function g6(e,r){if(e==null)return{};var t,n,l=zH(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;(l[t]=e[t])}return l}function zH(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 Is(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var x6=(e,r,t,n,l)=&gt;{var i=po(t),o=po(n),u=Math.min(Math.abs(i)/2,Math.abs(o)/2),c=o&gt;=0?1:-1,a=i&gt;=0?1:-1,d=o&gt;=0&amp;&amp;i&gt;=0||o&lt;0&amp;&amp;i&lt;0?1:0,f;if(u&gt;0&amp;&amp;l instanceof Array){for(var h=[0,0,0,0],m=0,p=4;m&lt;p;m++)h[m]=l[m]&gt;u?u:l[m];f=zr(i6||(i6=Is([&quot;M&quot;,&quot;,&quot;,&quot;&quot;])),e,r+c*h[0]),h[0]&gt;0&amp;&amp;(f+=zr(s6||(s6=Is([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,&quot;&quot;])),h[0],h[0],d,e+a*h[0],r)),f+=zr(a6||(a6=Is([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-a*h[1],r),h[1]&gt;0&amp;&amp;(f+=zr(o6||(o6=Is([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,`,
        `,&quot;,&quot;,&quot;&quot;])),h[1],h[1],d,e+t,r+c*h[1])),f+=zr(l6||(l6=Is([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t,r+n-c*h[2]),h[2]&gt;0&amp;&amp;(f+=zr(c6||(c6=Is([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,`,
        `,&quot;,&quot;,&quot;&quot;])),h[2],h[2],d,e+t-a*h[2],r+n)),f+=zr(u6||(u6=Is([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+a*h[3],r+n),h[3]&gt;0&amp;&amp;(f+=zr(d6||(d6=Is([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,`,
        `,&quot;,&quot;,&quot;&quot;])),h[3],h[3],d,e,r+n-c*h[3])),f+=&quot;Z&quot;}else if(u&gt;0&amp;&amp;l===+l&amp;&amp;l&gt;0){var x=Math.min(u,l);f=zr(f6||(f6=Is([&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+c*x,x,x,d,e+a*x,r,e+t-a*x,r,x,x,d,e+t,r+c*x,e+t,r+n-c*x,x,x,d,e+t-a*x,r+n,e+a*x,r+n,x,x,d,e,r+n-c*x)}else f=zr(h6||(h6=Is([&quot;M &quot;,&quot;,&quot;,&quot; h &quot;,&quot; v &quot;,&quot; h &quot;,&quot; Z&quot;])),e,r,t,n,-t);return f},b6={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:&quot;ease&quot;},aE=e=&gt;{var r=On(e,b6),t=I.useRef(null),[n,l]=I.useState(-1);I.useEffect(()=&gt;{if(t.current&amp;&amp;t.current.getTotalLength)try{var k=t.current.getTotalLength();k&amp;&amp;l(k)}catch{}},[]);var{x:i,y:o,width:u,height:c,radius:a,className:d}=r,{animationEasing:f,animationDuration:h,animationBegin:m,isAnimationActive:p,isUpdateAnimationActive:x}=r,g=I.useRef(u),y=I.useRef(c),v=I.useRef(i),_=I.useRef(o),C=I.useMemo(()=&gt;({x:i,y:o,width:u,height:c,radius:a}),[i,o,u,c,a]),M=o0(C,&quot;rectangle-&quot;);if(i!==+i||o!==+o||u!==+u||c!==+c||u===0||c===0)return null;var T=hr(&quot;recharts-rectangle&quot;,d);if(!x){var $=ni(r),{radius:F}=$,H=g6($,RH);return I.createElement(&quot;path&quot;,Jm({},H,{x:po(i),y:po(o),width:po(u),height:po(c),radius:typeof a==&quot;number&quot;?a:void 0,className:T,d:x6(i,o,u,c,a)}))}var W=g.current,q=y.current,K=v.current,P=_.current,L=&quot;0px &quot;.concat(n===-1?1:n,&quot;px&quot;),E=&quot;&quot;.concat(n,&quot;px 0px&quot;),j=rE([&quot;strokeDasharray&quot;],h,typeof f==&quot;string&quot;?f:b6.animationEasing);return I.createElement(a0,{animationId:M,key:M,canBegin:n&gt;0,duration:h,easing:f,isActive:x,begin:m},k=&gt;{var S=$r(W,u,k),N=$r(q,c,k),O=$r(K,i,k),D=$r(P,o,k);t.current&amp;&amp;(g.current=S,y.current=N,v.current=O,_.current=D);var B;p?k&gt;0?B={transition:j,strokeDasharray:E}:B={strokeDasharray:L}:B={strokeDasharray:E};var Y=ni(r),{radius:Z}=Y,ne=g6(Y,DH);return I.createElement(&quot;path&quot;,Jm({},ne,{radius:typeof a==&quot;number&quot;?a:void 0,className:T,d:x6(O,D,S,N,a),ref:t,style:p6(p6({},B),r.style)}))})};function y6(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function v6(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?y6(Object(t),!0).forEach(function(n){$H(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y6(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function $H(e,r,t){return(r=UH(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function UH(e){var r=VH(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function VH(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 ep=Math.PI/180,qH=e=&gt;e*180/Math.PI,Mn=(e,r,t,n)=&gt;({x:e+Math.cos(-ep*n)*t,y:r+Math.sin(-ep*n)*t}),HH=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},WH=(e,r)=&gt;{var{x:t,y:n}=e,{x:l,y:i}=r;return Math.sqrt((t-l)**2+(n-i)**2)},KH=(e,r)=&gt;{var{x:t,y:n}=e,{cx:l,cy:i}=r,o=WH({x:t,y:n},{x:l,y:i});if(o&lt;=0)return{radius:o,angle:0};var u=(t-l)/o,c=Math.acos(u);return n&gt;i&amp;&amp;(c=2*Math.PI-c),{radius:o,angle:qH(c),angleInRadian:c}},XH=e=&gt;{var{startAngle:r,endAngle:t}=e,n=Math.floor(r/360),l=Math.floor(t/360),i=Math.min(n,l);return{startAngle:r-i*360,endAngle:t-i*360}},GH=(e,r)=&gt;{var{startAngle:t,endAngle:n}=r,l=Math.floor(t/360),i=Math.floor(n/360),o=Math.min(l,i);return e+o*360},YH=(e,r)=&gt;{var{chartX:t,chartY:n}=e,{radius:l,angle:i}=KH({x:t,y:n},r),{innerRadius:o,outerRadius:u}=r;if(l&lt;o||l&gt;u||l===0)return null;var{startAngle:c,endAngle:a}=XH(r),d=i,f;if(c&lt;=a){for(;d&gt;a;)d-=360;for(;d&lt;c;)d+=360;f=d&gt;=c&amp;&amp;d&lt;=a}else{for(;d&gt;c;)d-=360;for(;d&lt;a;)d+=360;f=d&gt;=a&amp;&amp;d&lt;=c}return f?v6(v6({},r),{},{radius:l,angle:GH(d,r)}):null};function oE(e){var{cx:r,cy:t,radius:n,startAngle:l,endAngle:i}=e,o=Mn(r,t,n,l),u=Mn(r,t,n,i);return{points:[o,u],cx:r,cy:t,radius:n,startAngle:l,endAngle:i}}var w6,_6,j6,S6,k6,N6,C6;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 ml(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var ZH=(e,r)=&gt;{var t=hi(r-e),n=Math.min(Math.abs(r-e),359.999);return t*n},Hh=e=&gt;{var{cx:r,cy:t,radius:n,angle:l,sign:i,isExternal:o,cornerRadius:u,cornerIsExternal:c}=e,a=u*(o?1:-1)+n,d=Math.asin(u/a)/ep,f=c?l:l+i*d,h=Mn(r,t,a,f),m=Mn(r,t,n,f),p=c?l-i*d:l,x=Mn(r,t,a*Math.cos(d*ep),p);return{center:h,circleTangency:m,lineTangency:x,theta:d}},lE=e=&gt;{var{cx:r,cy:t,innerRadius:n,outerRadius:l,startAngle:i,endAngle:o}=e,u=ZH(i,o),c=i+u,a=Mn(r,t,l,i),d=Mn(r,t,l,c),f=zr(w6||(w6=ml([&quot;M &quot;,&quot;,&quot;,`
    A `,&quot;,&quot;,`,0,
    `,&quot;,&quot;,`,
    `,&quot;,&quot;,`
  `])),a.x,a.y,l,l,+(Math.abs(u)&gt;180),+(i&gt;c),d.x,d.y);if(n&gt;0){var h=Mn(r,t,n,i),m=Mn(r,t,n,c);f+=zr(_6||(_6=ml([&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;=c),h.x,h.y)}else f+=zr(j6||(j6=ml([&quot;L &quot;,&quot;,&quot;,&quot; Z&quot;])),r,t);return f},QH=e=&gt;{var{cx:r,cy:t,innerRadius:n,outerRadius:l,cornerRadius:i,forceCornerRadius:o,cornerIsExternal:u,startAngle:c,endAngle:a}=e,d=hi(a-c),{circleTangency:f,lineTangency:h,theta:m}=Hh({cx:r,cy:t,radius:l,angle:c,sign:d,cornerRadius:i,cornerIsExternal:u}),{circleTangency:p,lineTangency:x,theta:g}=Hh({cx:r,cy:t,radius:l,angle:a,sign:-d,cornerRadius:i,cornerIsExternal:u}),y=u?Math.abs(c-a):Math.abs(c-a)-m-g;if(y&lt;0)return o?zr(S6||(S6=ml([&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):lE({cx:r,cy:t,innerRadius:n,outerRadius:l,startAngle:c,endAngle:a});var v=zr(k6||(k6=ml([&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,l,l,+(y&gt;180),+(d&lt;0),p.x,p.y,i,i,+(d&lt;0),x.x,x.y);if(n&gt;0){var{circleTangency:_,lineTangency:C,theta:M}=Hh({cx:r,cy:t,radius:n,angle:c,sign:d,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),{circleTangency:T,lineTangency:$,theta:F}=Hh({cx:r,cy:t,radius:n,angle:a,sign:-d,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),H=u?Math.abs(c-a):Math.abs(c-a)-M-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+=zr(N6||(N6=ml([&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;])),$.x,$.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+=zr(C6||(C6=ml([&quot;L&quot;,&quot;,&quot;,&quot;Z&quot;])),r,t);return v},JH={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},cE=e=&gt;{var r=On(e,JH),{cx:t,cy:n,innerRadius:l,outerRadius:i,cornerRadius:o,forceCornerRadius:u,cornerIsExternal:c,startAngle:a,endAngle:d,className:f}=r;if(i&lt;l||a===d)return null;var h=hr(&quot;recharts-sector&quot;,f),m=i-l,p=vs(o,m,0,!0),x;return p&gt;0&amp;&amp;Math.abs(a-d)&lt;360?x=QH({cx:t,cy:n,innerRadius:l,outerRadius:i,cornerRadius:Math.min(p,m/2),forceCornerRadius:u,cornerIsExternal:c,startAngle:a,endAngle:d}):x=lE({cx:t,cy:n,innerRadius:l,outerRadius:i,startAngle:a,endAngle:d}),I.createElement(&quot;path&quot;,Mv({},ni(r),{className:h,d:x}))};function eW(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(XC(r)){if(e===&quot;centric&quot;){var{cx:n,cy:l,innerRadius:i,outerRadius:o,angle:u}=r,c=Mn(n,l,i,u),a=Mn(n,l,o,u);return[{x:c.x,y:c.y},{x:a.x,y:a.y}]}return oE(r)}}var Bb={},zb={},$b={},E6;function tW(){return E6||(E6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=s7();function t(n){return r.isSymbol(n)?NaN:Number(n)}e.toNumber=t})($b)),$b}var A6;function rW(){return A6||(A6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=tW();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})(zb)),zb}var M6;function nW(){return M6||(M6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=a7(),t=rW();function n(l,i,o){o&amp;&amp;typeof o!=&quot;number&quot;&amp;&amp;r.isIterateeCall(l,i,o)&amp;&amp;(i=o=void 0),l=t.toFinite(l),i===void 0?(i=l,l=0):i=t.toFinite(i),o=o===void 0?l&lt;i?1:-1:t.toFinite(o);const u=Math.max(Math.ceil((i-l)/(o||1)),0),c=new Array(u);for(let a=0;a&lt;u;a++)c[a]=l,l+=o;return c}e.range=n})(Bb)),Bb}var Ub,O6;function iW(){return O6||(O6=1,Ub=nW().range),Ub}var sW=iW();const uE=_s(sW);function bo(e,r){return e==null||r==null?NaN:e&lt;r?-1:e&gt;r?1:e&gt;=r?0:NaN}function aW(e,r){return e==null||r==null?NaN:r&lt;e?-1:r&gt;e?1:r&gt;=e?0:NaN}function p2(e){let r,t,n;e.length!==2?(r=bo,t=(u,c)=&gt;bo(e(u),c),n=(u,c)=&gt;e(u)-c):(r=e===bo||e===aW?e:oW,t=e,n=e);function l(u,c,a=0,d=u.length){if(a&lt;d){if(r(c,c)!==0)return d;do{const f=a+d&gt;&gt;&gt;1;t(u[f],c)&lt;0?a=f+1:d=f}while(a&lt;d)}return a}function i(u,c,a=0,d=u.length){if(a&lt;d){if(r(c,c)!==0)return d;do{const f=a+d&gt;&gt;&gt;1;t(u[f],c)&lt;=0?a=f+1:d=f}while(a&lt;d)}return a}function o(u,c,a=0,d=u.length){const f=l(u,c,a,d-1);return f&gt;a&amp;&amp;n(u[f-1],c)&gt;-n(u[f],c)?f-1:f}return{left:l,center:o,right:i}}function oW(){return 0}function dE(e){return e===null?NaN:+e}function*lW(e,r){for(let t of e)t!=null&amp;&amp;(t=+t)&gt;=t&amp;&amp;(yield t)}const cW=p2(bo),ef=cW.right;p2(dE).center;class P6 extends Map{constructor(r,t=fW){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),r!=null)for(const[n,l]of r)this.set(n,l)}get(r){return super.get(T6(this,r))}has(r){return super.has(T6(this,r))}set(r,t){return super.set(uW(this,r),t)}delete(r){return super.delete(dW(this,r))}}function T6({_intern:e,_key:r},t){const n=r(t);return e.has(n)?e.get(n):t}function uW({_intern:e,_key:r},t){const n=r(t);return e.has(n)?e.get(n):(e.set(n,t),t)}function dW({_intern:e,_key:r},t){const n=r(t);return e.has(n)&amp;&amp;(t=e.get(n),e.delete(n)),t}function fW(e){return e!==null&amp;&amp;typeof e==&quot;object&quot;?e.valueOf():e}function hW(e=bo){if(e===bo)return fE;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 fE(e,r){return(e==null||!(e&gt;=e))-(r==null||!(r&gt;=r))||(e&lt;r?-1:e&gt;r?1:0)}const mW=Math.sqrt(50),pW=Math.sqrt(10),gW=Math.sqrt(2);function tp(e,r,t){const n=(r-e)/Math.max(0,t),l=Math.floor(Math.log10(n)),i=n/Math.pow(10,l),o=i&gt;=mW?10:i&gt;=pW?5:i&gt;=gW?2:1;let u,c,a;return l&lt;0?(a=Math.pow(10,-l)/o,u=Math.round(e*a),c=Math.round(r*a),u/a&lt;e&amp;&amp;++u,c/a&gt;r&amp;&amp;--c,a=-a):(a=Math.pow(10,l)*o,u=Math.round(e/a),c=Math.round(r/a),u*a&lt;e&amp;&amp;++u,c*a&gt;r&amp;&amp;--c),c&lt;u&amp;&amp;.5&lt;=t&amp;&amp;t&lt;2?tp(e,r,t*2):[u,c,a]}function Ov(e,r,t){if(r=+r,e=+e,t=+t,!(t&gt;0))return[];if(e===r)return[e];const n=r&lt;e,[l,i,o]=n?tp(r,e,t):tp(e,r,t);if(!(i&gt;=l))return[];const u=i-l+1,c=new Array(u);if(n)if(o&lt;0)for(let a=0;a&lt;u;++a)c[a]=(i-a)/-o;else for(let a=0;a&lt;u;++a)c[a]=(i-a)*o;else if(o&lt;0)for(let a=0;a&lt;u;++a)c[a]=(l+a)/-o;else for(let a=0;a&lt;u;++a)c[a]=(l+a)*o;return c}function Pv(e,r,t){return r=+r,e=+e,t=+t,tp(e,r,t)[2]}function Tv(e,r,t){r=+r,e=+e,t=+t;const n=r&lt;e,l=n?Pv(r,e,t):Pv(e,r,t);return(n?-1:1)*(l&lt;0?1/-l:l)}function I6(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 R6(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 hE(e,r,t=0,n=1/0,l){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(l=l===void 0?fE:hW(l);n&gt;t;){if(n-t&gt;600){const c=n-t+1,a=r-t+1,d=Math.log(c),f=.5*Math.exp(2*d/3),h=.5*Math.sqrt(d*f*(c-f)/c)*(a-c/2&lt;0?-1:1),m=Math.max(t,Math.floor(r-a*f/c+h)),p=Math.min(n,Math.floor(r+(c-a)*f/c+h));hE(e,r,m,p,l)}const i=e[r];let o=t,u=n;for(Qu(e,t,r),l(e[n],i)&gt;0&amp;&amp;Qu(e,t,n);o&lt;u;){for(Qu(e,o,u),++o,--u;l(e[o],i)&lt;0;)++o;for(;l(e[u],i)&gt;0;)--u}l(e[t],i)===0?Qu(e,t,u):(++u,Qu(e,u,n)),u&lt;=r&amp;&amp;(t=u+1),r&lt;=u&amp;&amp;(n=u-1)}return e}function Qu(e,r,t){const n=e[r];e[r]=e[t],e[t]=n}function xW(e,r,t){if(e=Float64Array.from(lW(e)),!(!(n=e.length)||isNaN(r=+r))){if(r&lt;=0||n&lt;2)return R6(e);if(r&gt;=1)return I6(e);var n,l=(n-1)*r,i=Math.floor(l),o=I6(hE(e,i).subarray(0,i+1)),u=R6(e.subarray(i+1));return o+(u-o)*(l-i)}}function bW(e,r,t=dE){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,l=(n-1)*r,i=Math.floor(l),o=+t(e[i],i,e),u=+t(e[i+1],i+1,e);return o+(u-o)*(l-i)}}function yW(e,r,t){e=+e,r=+r,t=(l=arguments.length)&lt;2?(r=e,e=0,1):l&lt;3?1:+t;for(var n=-1,l=Math.max(0,Math.ceil((r-e)/t))|0,i=new Array(l);++n&lt;l;)i[n]=e+n*t;return i}function Yi(e,r){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(r).domain(e);break}return this}function Ta(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 Iv=Symbol(&quot;implicit&quot;);function g2(){var e=new P6,r=[],t=[],n=Iv;function l(i){let o=e.get(i);if(o===void 0){if(n!==Iv)return n;e.set(i,o=r.push(i)-1)}return t[o%t.length]}return l.domain=function(i){if(!arguments.length)return r.slice();r=[],e=new P6;for(const o of i)e.has(o)||e.set(o,r.push(o)-1);return l},l.range=function(i){return arguments.length?(t=Array.from(i),l):t.slice()},l.unknown=function(i){return arguments.length?(n=i,l):n},l.copy=function(){return g2(r,t).unknown(n)},Yi.apply(l,arguments),l}function x2(){var e=g2().unknown(void 0),r=e.domain,t=e.range,n=0,l=1,i,o,u=!1,c=0,a=0,d=.5;delete e.unknown;function f(){var h=r().length,m=l&lt;n,p=m?l:n,x=m?n:l;i=(x-p)/Math.max(1,h-c+a*2),u&amp;&amp;(i=Math.floor(i)),p+=(x-p-i*(h-c))*d,o=i*(1-c),u&amp;&amp;(p=Math.round(p),o=Math.round(o));var g=yW(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,l]=h,n=+n,l=+l,f()):[n,l]},e.rangeRound=function(h){return[n,l]=h,n=+n,l=+l,u=!0,f()},e.bandwidth=function(){return o},e.step=function(){return i},e.round=function(h){return arguments.length?(u=!!h,f()):u},e.padding=function(h){return arguments.length?(c=Math.min(1,a=+h),f()):c},e.paddingInner=function(h){return arguments.length?(c=Math.min(1,h),f()):c},e.paddingOuter=function(h){return arguments.length?(a=+h,f()):a},e.align=function(h){return arguments.length?(d=Math.max(0,Math.min(1,h)),f()):d},e.copy=function(){return x2(r(),[n,l]).round(u).paddingInner(c).paddingOuter(a).align(d)},Yi.apply(f(),arguments)}function mE(e){var r=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return mE(r())},e}function vW(){return mE(x2.apply(null,arguments).paddingInner(1))}function b2(e,r,t){e.prototype=r.prototype=t,t.constructor=e}function pE(e,r){var t=Object.create(e.prototype);for(var n in r)t[n]=r[n];return t}function tf(){}var Id=.7,rp=1/Id,Mc=&quot;\\s*([+-]?\\d+)\\s*&quot;,Rd=&quot;\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*&quot;,Bs=&quot;\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*&quot;,wW=/^#([0-9a-f]{3,8})$/,_W=new RegExp(`^rgb\\(${Mc},${Mc},${Mc}\\)$`),jW=new RegExp(`^rgb\\(${Bs},${Bs},${Bs}\\)$`),SW=new RegExp(`^rgba\\(${Mc},${Mc},${Mc},${Rd}\\)$`),kW=new RegExp(`^rgba\\(${Bs},${Bs},${Bs},${Rd}\\)$`),NW=new RegExp(`^hsl\\(${Rd},${Bs},${Bs}\\)$`),CW=new RegExp(`^hsla\\(${Rd},${Bs},${Bs},${Rd}\\)$`),D6={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};b2(tf,Dd,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:L6,formatHex:L6,formatHex8:EW,formatHsl:AW,formatRgb:F6,toString:F6});function L6(){return this.rgb().formatHex()}function EW(){return this.rgb().formatHex8()}function AW(){return gE(this).formatHsl()}function F6(){return this.rgb().formatRgb()}function Dd(e){var r,t;return e=(e+&quot;&quot;).trim().toLowerCase(),(r=wW.exec(e))?(t=r[1].length,r=parseInt(r[1],16),t===6?B6(r):t===3?new mi(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?Wh(r&gt;&gt;24&amp;255,r&gt;&gt;16&amp;255,r&gt;&gt;8&amp;255,(r&amp;255)/255):t===4?Wh(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=_W.exec(e))?new mi(r[1],r[2],r[3],1):(r=jW.exec(e))?new mi(r[1]*255/100,r[2]*255/100,r[3]*255/100,1):(r=SW.exec(e))?Wh(r[1],r[2],r[3],r[4]):(r=kW.exec(e))?Wh(r[1]*255/100,r[2]*255/100,r[3]*255/100,r[4]):(r=NW.exec(e))?U6(r[1],r[2]/100,r[3]/100,1):(r=CW.exec(e))?U6(r[1],r[2]/100,r[3]/100,r[4]):D6.hasOwnProperty(e)?B6(D6[e]):e===&quot;transparent&quot;?new mi(NaN,NaN,NaN,0):null}function B6(e){return new mi(e&gt;&gt;16&amp;255,e&gt;&gt;8&amp;255,e&amp;255,1)}function Wh(e,r,t,n){return n&lt;=0&amp;&amp;(e=r=t=NaN),new mi(e,r,t,n)}function MW(e){return e instanceof tf||(e=Dd(e)),e?(e=e.rgb(),new mi(e.r,e.g,e.b,e.opacity)):new mi}function Rv(e,r,t,n){return arguments.length===1?MW(e):new mi(e,r,t,n??1)}function mi(e,r,t,n){this.r=+e,this.g=+r,this.b=+t,this.opacity=+n}b2(mi,Rv,pE(tf,{brighter(e){return e=e==null?rp:Math.pow(rp,e),new mi(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Id:Math.pow(Id,e),new mi(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new mi(vl(this.r),vl(this.g),vl(this.b),np(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:z6,formatHex:z6,formatHex8:OW,formatRgb:$6,toString:$6}));function z6(){return`#${pl(this.r)}${pl(this.g)}${pl(this.b)}`}function OW(){return`#${pl(this.r)}${pl(this.g)}${pl(this.b)}${pl((isNaN(this.opacity)?1:this.opacity)*255)}`}function $6(){const e=np(this.opacity);return`${e===1?&quot;rgb(&quot;:&quot;rgba(&quot;}${vl(this.r)}, ${vl(this.g)}, ${vl(this.b)}${e===1?&quot;)&quot;:`, ${e})`}`}function np(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function vl(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function pl(e){return e=vl(e),(e&lt;16?&quot;0&quot;:&quot;&quot;)+e.toString(16)}function U6(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 gs(e,r,t,n)}function gE(e){if(e instanceof gs)return new gs(e.h,e.s,e.l,e.opacity);if(e instanceof tf||(e=Dd(e)),!e)return new gs;if(e instanceof gs)return e;e=e.rgb();var r=e.r/255,t=e.g/255,n=e.b/255,l=Math.min(r,t,n),i=Math.max(r,t,n),o=NaN,u=i-l,c=(i+l)/2;return u?(r===i?o=(t-n)/u+(t&lt;n)*6:t===i?o=(n-r)/u+2:o=(r-t)/u+4,u/=c&lt;.5?i+l:2-i-l,o*=60):u=c&gt;0&amp;&amp;c&lt;1?0:o,new gs(o,u,c,e.opacity)}function PW(e,r,t,n){return arguments.length===1?gE(e):new gs(e,r,t,n??1)}function gs(e,r,t,n){this.h=+e,this.s=+r,this.l=+t,this.opacity=+n}b2(gs,PW,pE(tf,{brighter(e){return e=e==null?rp:Math.pow(rp,e),new gs(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Id:Math.pow(Id,e),new gs(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,l=2*t-n;return new mi(Vb(e&gt;=240?e-240:e+120,l,n),Vb(e,l,n),Vb(e&lt;120?e+240:e-120,l,n),this.opacity)},clamp(){return new gs(V6(this.h),Kh(this.s),Kh(this.l),np(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=np(this.opacity);return`${e===1?&quot;hsl(&quot;:&quot;hsla(&quot;}${V6(this.h)}, ${Kh(this.s)*100}%, ${Kh(this.l)*100}%${e===1?&quot;)&quot;:`, ${e})`}`}}));function V6(e){return e=(e||0)%360,e&lt;0?e+360:e}function Kh(e){return Math.max(0,Math.min(1,e||0))}function Vb(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 y2=e=&gt;()=&gt;e;function TW(e,r){return function(t){return e+t*r}}function IW(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 RW(e){return(e=+e)==1?xE:function(r,t){return t-r?IW(r,t,e):y2(isNaN(r)?t:r)}}function xE(e,r){var t=r-e;return t?TW(e,t):y2(isNaN(e)?r:e)}const q6=(function e(r){var t=RW(r);function n(l,i){var o=t((l=Rv(l)).r,(i=Rv(i)).r),u=t(l.g,i.g),c=t(l.b,i.b),a=xE(l.opacity,i.opacity);return function(d){return l.r=o(d),l.g=u(d),l.b=c(d),l.opacity=a(d),l+&quot;&quot;}}return n.gamma=e,n})(1);function DW(e,r){r||(r=[]);var t=e?Math.min(r.length,e.length):0,n=r.slice(),l;return function(i){for(l=0;l&lt;t;++l)n[l]=e[l]*(1-i)+r[l]*i;return n}}function LW(e){return ArrayBuffer.isView(e)&amp;&amp;!(e instanceof DataView)}function FW(e,r){var t=r?r.length:0,n=e?Math.min(t,e.length):0,l=new Array(n),i=new Array(t),o;for(o=0;o&lt;n;++o)l[o]=Xc(e[o],r[o]);for(;o&lt;t;++o)i[o]=r[o];return function(u){for(o=0;o&lt;n;++o)i[o]=l[o](u);return i}}function BW(e,r){var t=new Date;return e=+e,r=+r,function(n){return t.setTime(e*(1-n)+r*n),t}}function ip(e,r){return e=+e,r=+r,function(t){return e*(1-t)+r*t}}function zW(e,r){var t={},n={},l;(e===null||typeof e!=&quot;object&quot;)&amp;&amp;(e={}),(r===null||typeof r!=&quot;object&quot;)&amp;&amp;(r={});for(l in r)l in e?t[l]=Xc(e[l],r[l]):n[l]=r[l];return function(i){for(l in t)n[l]=t[l](i);return n}}var Dv=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,qb=new RegExp(Dv.source,&quot;g&quot;);function $W(e){return function(){return e}}function UW(e){return function(r){return e(r)+&quot;&quot;}}function VW(e,r){var t=Dv.lastIndex=qb.lastIndex=0,n,l,i,o=-1,u=[],c=[];for(e=e+&quot;&quot;,r=r+&quot;&quot;;(n=Dv.exec(e))&amp;&amp;(l=qb.exec(r));)(i=l.index)&gt;t&amp;&amp;(i=r.slice(t,i),u[o]?u[o]+=i:u[++o]=i),(n=n[0])===(l=l[0])?u[o]?u[o]+=l:u[++o]=l:(u[++o]=null,c.push({i:o,x:ip(n,l)})),t=qb.lastIndex;return t&lt;r.length&amp;&amp;(i=r.slice(t),u[o]?u[o]+=i:u[++o]=i),u.length&lt;2?c[0]?UW(c[0].x):$W(r):(r=c.length,function(a){for(var d=0,f;d&lt;r;++d)u[(f=c[d]).i]=f.x(a);return u.join(&quot;&quot;)})}function Xc(e,r){var t=typeof r,n;return r==null||t===&quot;boolean&quot;?y2(r):(t===&quot;number&quot;?ip:t===&quot;string&quot;?(n=Dd(r))?(r=n,q6):VW:r instanceof Dd?q6:r instanceof Date?BW:LW(r)?DW:Array.isArray(r)?FW:typeof r.valueOf!=&quot;function&quot;&amp;&amp;typeof r.toString!=&quot;function&quot;||isNaN(r)?zW:ip)(e,r)}function v2(e,r){return e=+e,r=+r,function(t){return Math.round(e*(1-t)+r*t)}}function qW(e,r){r===void 0&amp;&amp;(r=e,e=Xc);for(var t=0,n=r.length-1,l=r[0],i=new Array(n&lt;0?0:n);t&lt;n;)i[t]=e(l,l=r[++t]);return function(o){var u=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return i[u](o-u)}}function HW(e){return function(){return e}}function sp(e){return+e}var H6=[0,1];function ri(e){return e}function Lv(e,r){return(r-=e=+e)?function(t){return(t-e)/r}:HW(isNaN(r)?NaN:.5)}function WW(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 KW(e,r,t){var n=e[0],l=e[1],i=r[0],o=r[1];return l&lt;n?(n=Lv(l,n),i=t(o,i)):(n=Lv(n,l),i=t(i,o)),function(u){return i(n(u))}}function XW(e,r,t){var n=Math.min(e.length,r.length)-1,l=new Array(n),i=new Array(n),o=-1;for(e[n]&lt;e[0]&amp;&amp;(e=e.slice().reverse(),r=r.slice().reverse());++o&lt;n;)l[o]=Lv(e[o],e[o+1]),i[o]=t(r[o],r[o+1]);return function(u){var c=ef(e,u,1,n)-1;return i[c](l[c](u))}}function rf(e,r){return r.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function l0(){var e=H6,r=H6,t=Xc,n,l,i,o=ri,u,c,a;function d(){var h=Math.min(e.length,r.length);return o!==ri&amp;&amp;(o=WW(e[0],e[h-1])),u=h&gt;2?XW:KW,c=a=null,f}function f(h){return h==null||isNaN(h=+h)?i:(c||(c=u(e.map(n),r,t)))(n(o(h)))}return f.invert=function(h){return o(l((a||(a=u(r,e.map(n),ip)))(h)))},f.domain=function(h){return arguments.length?(e=Array.from(h,sp),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=v2,d()},f.clamp=function(h){return arguments.length?(o=h?!0:ri,d()):o!==ri},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,l=m,d()}}function w2(){return l0()(ri,ri)}function GW(e){return Math.abs(e=Math.round(e))&gt;=1e21?e.toLocaleString(&quot;en&quot;).replace(/,/g,&quot;&quot;):e.toString(10)}function ap(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 Fc(e){return e=ap(Math.abs(e)),e?e[1]:NaN}function YW(e,r){return function(t,n){for(var l=t.length,i=[],o=0,u=e[0],c=0;l&gt;0&amp;&amp;u&gt;0&amp;&amp;(c+u+1&gt;n&amp;&amp;(u=Math.max(1,n-c)),i.push(t.substring(l-=u,l+u)),!((c+=u+1)&gt;n));)u=e[o=(o+1)%e.length];return i.reverse().join(r)}}function ZW(e){return function(r){return r.replace(/[0-9]/g,function(t){return e[+t]})}}var QW=/^(?:(.)?([&lt;&gt;=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ld(e){if(!(r=QW.exec(e)))throw new Error(&quot;invalid format: &quot;+e);var r;return new _2({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]})}Ld.prototype=_2.prototype;function _2(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;}_2.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 JW(e){e:for(var r=e.length,t=1,n=-1,l;t&lt;r;++t)switch(e[t]){case&quot;.&quot;:n=l=t;break;case&quot;0&quot;:n===0&amp;&amp;(n=t),l=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(l+1):e}var op;function eK(e,r){var t=ap(e,r);if(!t)return op=void 0,e.toPrecision(r);var n=t[0],l=t[1],i=l-(op=Math.max(-8,Math.min(8,Math.floor(l/3)))*3)+1,o=n.length;return i===o?n:i&gt;o?n+new Array(i-o+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;)+ap(e,Math.max(0,r+i-1))[0]}function W6(e,r){var t=ap(e,r);if(!t)return e+&quot;&quot;;var n=t[0],l=t[1];return l&lt;0?&quot;0.&quot;+new Array(-l).join(&quot;0&quot;)+n:n.length&gt;l+1?n.slice(0,l+1)+&quot;.&quot;+n.slice(l+1):n+new Array(l-n.length+2).join(&quot;0&quot;)}const K6={&quot;%&quot;:(e,r)=&gt;(e*100).toFixed(r),b:e=&gt;Math.round(e).toString(2),c:e=&gt;e+&quot;&quot;,d:GW,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;W6(e*100,r),r:W6,s:eK,X:e=&gt;Math.round(e).toString(16).toUpperCase(),x:e=&gt;Math.round(e).toString(16)};function X6(e){return e}var G6=Array.prototype.map,Y6=[&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 tK(e){var r=e.grouping===void 0||e.thousands===void 0?X6:YW(G6.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;,l=e.decimal===void 0?&quot;.&quot;:e.decimal+&quot;&quot;,i=e.numerals===void 0?X6:ZW(G6.call(e.numerals,String)),o=e.percent===void 0?&quot;%&quot;:e.percent+&quot;&quot;,u=e.minus===void 0?&quot;−&quot;:e.minus+&quot;&quot;,c=e.nan===void 0?&quot;NaN&quot;:e.nan+&quot;&quot;;function a(f,h){f=Ld(f);var m=f.fill,p=f.align,x=f.sign,g=f.symbol,y=f.zero,v=f.width,_=f.comma,C=f.precision,M=f.trim,T=f.type;T===&quot;n&quot;?(_=!0,T=&quot;g&quot;):K6[T]||(C===void 0&amp;&amp;(C=12),M=!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 $=(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)?o:&quot;&quot;)+(h&amp;&amp;h.suffix!==void 0?h.suffix:&quot;&quot;),H=K6[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 q(K){var P=$,L=F,E,j,k;if(T===&quot;c&quot;)L=H(K)+L,K=&quot;&quot;;else{K=+K;var S=K&lt;0||1/K&lt;0;if(K=isNaN(K)?c:H(Math.abs(K),C),M&amp;&amp;(K=JW(K)),S&amp;&amp;+K==0&amp;&amp;x!==&quot;+&quot;&amp;&amp;(S=!1),P=(S?x===&quot;(&quot;?x:u:x===&quot;-&quot;||x===&quot;(&quot;?&quot;&quot;:x)+P,L=(T===&quot;s&quot;&amp;&amp;!isNaN(K)&amp;&amp;op!==void 0?Y6[8+op/3]:&quot;&quot;)+L+(S&amp;&amp;x===&quot;(&quot;?&quot;)&quot;:&quot;&quot;),W){for(E=-1,j=K.length;++E&lt;j;)if(k=K.charCodeAt(E),48&gt;k||k&gt;57){L=(k===46?l+K.slice(E+1):K.slice(E))+L,K=K.slice(0,E);break}}}_&amp;&amp;!y&amp;&amp;(K=r(K,1/0));var N=P.length+K.length+L.length,O=N&lt;v?new Array(v-N+1).join(m):&quot;&quot;;switch(_&amp;&amp;y&amp;&amp;(K=r(O+K,O.length?v-L.length:1/0),O=&quot;&quot;),p){case&quot;&lt;&quot;:K=P+K+L+O;break;case&quot;=&quot;:K=P+O+K+L;break;case&quot;^&quot;:K=O.slice(0,N=O.length&gt;&gt;1)+P+K+L+O.slice(N);break;default:K=O+P+K+L;break}return i(K)}return q.toString=function(){return f+&quot;&quot;},q}function d(f,h){var m=Math.max(-8,Math.min(8,Math.floor(Fc(h)/3)))*3,p=Math.pow(10,-m),x=a((f=Ld(f),f.type=&quot;f&quot;,f),{suffix:Y6[8+m/3]});return function(g){return x(p*g)}}return{format:a,formatPrefix:d}}var Xh,j2,bE;rK({thousands:&quot;,&quot;,grouping:[3],currency:[&quot;$&quot;,&quot;&quot;]});function rK(e){return Xh=tK(e),j2=Xh.format,bE=Xh.formatPrefix,Xh}function nK(e){return Math.max(0,-Fc(Math.abs(e)))}function iK(e,r){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Fc(r)/3)))*3-Fc(Math.abs(e)))}function sK(e,r){return e=Math.abs(e),r=Math.abs(r)-e,Math.max(0,Fc(r)-Fc(e))+1}function yE(e,r,t,n){var l=Tv(e,r,t),i;switch(n=Ld(n??&quot;,f&quot;),n.type){case&quot;s&quot;:{var o=Math.max(Math.abs(e),Math.abs(r));return n.precision==null&amp;&amp;!isNaN(i=iK(l,o))&amp;&amp;(n.precision=i),bE(n,o)}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=sK(l,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=nK(l))&amp;&amp;(n.precision=i-(n.type===&quot;%&quot;)*2);break}}return j2(n)}function Eo(e){var r=e.domain;return e.ticks=function(t){var n=r();return Ov(n[0],n[n.length-1],t??10)},e.tickFormat=function(t,n){var l=r();return yE(l[0],l[l.length-1],t??10,n)},e.nice=function(t){t==null&amp;&amp;(t=10);var n=r(),l=0,i=n.length-1,o=n[l],u=n[i],c,a,d=10;for(u&lt;o&amp;&amp;(a=o,o=u,u=a,a=l,l=i,i=a);d-- &gt;0;){if(a=Pv(o,u,t),a===c)return n[l]=o,n[i]=u,r(n);if(a&gt;0)o=Math.floor(o/a)*a,u=Math.ceil(u/a)*a;else if(a&lt;0)o=Math.ceil(o*a)/a,u=Math.floor(u*a)/a;else break;c=a}return e},e}function vE(){var e=w2();return e.copy=function(){return rf(e,vE())},Yi.apply(e,arguments),Eo(e)}function wE(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,sp),t):e.slice()},t.unknown=function(n){return arguments.length?(r=n,t):r},t.copy=function(){return wE(e).unknown(r)},e=arguments.length?Array.from(e,sp):[0,1],Eo(t)}function _E(e,r){e=e.slice();var t=0,n=e.length-1,l=e[t],i=e[n],o;return i&lt;l&amp;&amp;(o=t,t=n,n=o,o=l,l=i,i=o),e[t]=r.floor(l),e[n]=r.ceil(i),e}function Z6(e){return Math.log(e)}function Q6(e){return Math.exp(e)}function aK(e){return-Math.log(-e)}function oK(e){return-Math.exp(-e)}function lK(e){return isFinite(e)?+(&quot;1e&quot;+e):e&lt;0?0:e}function cK(e){return e===10?lK:e===Math.E?Math.exp:r=&gt;Math.pow(e,r)}function uK(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 J6(e){return(r,t)=&gt;-e(-r,t)}function S2(e){const r=e(Z6,Q6),t=r.domain;let n=10,l,i;function o(){return l=uK(n),i=cK(n),t()[0]&lt;0?(l=J6(l),i=J6(i),e(aK,oK)):e(Z6,Q6),r}return r.base=function(u){return arguments.length?(n=+u,o()):n},r.domain=function(u){return arguments.length?(t(u),o()):t()},r.ticks=u=&gt;{const c=t();let a=c[0],d=c[c.length-1];const f=d&lt;a;f&amp;&amp;([a,d]=[d,a]);let h=l(a),m=l(d),p,x;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),a&gt;0){for(;h&lt;=m;++h)for(p=1;p&lt;n;++p)if(x=h&lt;0?p/i(-h):p*i(h),!(x&lt;a)){if(x&gt;d)break;y.push(x)}}else for(;h&lt;=m;++h)for(p=n-1;p&gt;=1;--p)if(x=h&gt;0?p/i(-h):p*i(h),!(x&lt;a)){if(x&gt;d)break;y.push(x)}y.length*2&lt;g&amp;&amp;(y=Ov(a,d,g))}else y=Ov(h,m,Math.min(m-h,g)).map(i);return f?y.reverse():y},r.tickFormat=(u,c)=&gt;{if(u==null&amp;&amp;(u=10),c==null&amp;&amp;(c=n===10?&quot;s&quot;:&quot;,&quot;),typeof c!=&quot;function&quot;&amp;&amp;(!(n%1)&amp;&amp;(c=Ld(c)).precision==null&amp;&amp;(c.trim=!0),c=j2(c)),u===1/0)return c;const a=Math.max(1,n*u/r.ticks().length);return d=&gt;{let f=d/i(Math.round(l(d)));return f*n&lt;n-.5&amp;&amp;(f*=n),f&lt;=a?c(d):&quot;&quot;}},r.nice=()=&gt;t(_E(t(),{floor:u=&gt;i(Math.floor(l(u))),ceil:u=&gt;i(Math.ceil(l(u)))})),r}function jE(){const e=S2(l0()).domain([1,10]);return e.copy=()=&gt;rf(e,jE()).base(e.base()),Yi.apply(e,arguments),e}function eS(e){return function(r){return Math.sign(r)*Math.log1p(Math.abs(r/e))}}function tS(e){return function(r){return Math.sign(r)*Math.expm1(Math.abs(r))*e}}function k2(e){var r=1,t=e(eS(r),tS(r));return t.constant=function(n){return arguments.length?e(eS(r=+n),tS(r)):r},Eo(t)}function SE(){var e=k2(l0());return e.copy=function(){return rf(e,SE()).constant(e.constant())},Yi.apply(e,arguments)}function rS(e){return function(r){return r&lt;0?-Math.pow(-r,e):Math.pow(r,e)}}function dK(e){return e&lt;0?-Math.sqrt(-e):Math.sqrt(e)}function fK(e){return e&lt;0?-e*e:e*e}function N2(e){var r=e(ri,ri),t=1;function n(){return t===1?e(ri,ri):t===.5?e(dK,fK):e(rS(t),rS(1/t))}return r.exponent=function(l){return arguments.length?(t=+l,n()):t},Eo(r)}function C2(){var e=N2(l0());return e.copy=function(){return rf(e,C2()).exponent(e.exponent())},Yi.apply(e,arguments),e}function hK(){return C2.apply(null,arguments).exponent(.5)}function nS(e){return Math.sign(e)*e*e}function mK(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function kE(){var e=w2(),r=[0,1],t=!1,n;function l(i){var o=mK(e(i));return isNaN(o)?n:t?Math.round(o):o}return l.invert=function(i){return e.invert(nS(i))},l.domain=function(i){return arguments.length?(e.domain(i),l):e.domain()},l.range=function(i){return arguments.length?(e.range((r=Array.from(i,sp)).map(nS)),l):r.slice()},l.rangeRound=function(i){return l.range(i).round(!0)},l.round=function(i){return arguments.length?(t=!!i,l):t},l.clamp=function(i){return arguments.length?(e.clamp(i),l):e.clamp()},l.unknown=function(i){return arguments.length?(n=i,l):n},l.copy=function(){return kE(e.domain(),r).round(t).clamp(e.clamp()).unknown(n)},Yi.apply(l,arguments),Eo(l)}function NE(){var e=[],r=[],t=[],n;function l(){var o=0,u=Math.max(1,r.length);for(t=new Array(u-1);++o&lt;u;)t[o-1]=bW(e,o/u);return i}function i(o){return o==null||isNaN(o=+o)?n:r[ef(t,o)]}return i.invertExtent=function(o){var u=r.indexOf(o);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(o){if(!arguments.length)return e.slice();e=[];for(let u of o)u!=null&amp;&amp;!isNaN(u=+u)&amp;&amp;e.push(u);return e.sort(bo),l()},i.range=function(o){return arguments.length?(r=Array.from(o),l()):r.slice()},i.unknown=function(o){return arguments.length?(n=o,i):n},i.quantiles=function(){return t.slice()},i.copy=function(){return NE().domain(e).range(r).unknown(n)},Yi.apply(i,arguments)}function CE(){var e=0,r=1,t=1,n=[.5],l=[0,1],i;function o(c){return c!=null&amp;&amp;c&lt;=c?l[ef(n,c,0,t)]:i}function u(){var c=-1;for(n=new Array(t);++c&lt;t;)n[c]=((c+1)*r-(c-t)*e)/(t+1);return o}return o.domain=function(c){return arguments.length?([e,r]=c,e=+e,r=+r,u()):[e,r]},o.range=function(c){return arguments.length?(t=(l=Array.from(c)).length-1,u()):l.slice()},o.invertExtent=function(c){var a=l.indexOf(c);return a&lt;0?[NaN,NaN]:a&lt;1?[e,n[0]]:a&gt;=t?[n[t-1],r]:[n[a-1],n[a]]},o.unknown=function(c){return arguments.length&amp;&amp;(i=c),o},o.thresholds=function(){return n.slice()},o.copy=function(){return CE().domain([e,r]).range(l).unknown(i)},Yi.apply(Eo(o),arguments)}function EE(){var e=[.5],r=[0,1],t,n=1;function l(i){return i!=null&amp;&amp;i&lt;=i?r[ef(e,i,0,n)]:t}return l.domain=function(i){return arguments.length?(e=Array.from(i),n=Math.min(e.length,r.length-1),l):e.slice()},l.range=function(i){return arguments.length?(r=Array.from(i),n=Math.min(e.length,r.length-1),l):r.slice()},l.invertExtent=function(i){var o=r.indexOf(i);return[e[o-1],e[o]]},l.unknown=function(i){return arguments.length?(t=i,l):t},l.copy=function(){return EE().domain(e).range(r).unknown(t)},Yi.apply(l,arguments)}const Hb=new Date,Wb=new Date;function rn(e,r,t,n){function l(i){return e(i=arguments.length===0?new Date:new Date(+i)),i}return l.floor=i=&gt;(e(i=new Date(+i)),i),l.ceil=i=&gt;(e(i=new Date(i-1)),r(i,1),e(i),i),l.round=i=&gt;{const o=l(i),u=l.ceil(i);return i-o&lt;u-i?o:u},l.offset=(i,o)=&gt;(r(i=new Date(+i),o==null?1:Math.floor(o)),i),l.range=(i,o,u)=&gt;{const c=[];if(i=l.ceil(i),u=u==null?1:Math.floor(u),!(i&lt;o)||!(u&gt;0))return c;let a;do c.push(a=new Date(+i)),r(i,u),e(i);while(a&lt;i&amp;&amp;i&lt;o);return c},l.filter=i=&gt;rn(o=&gt;{if(o&gt;=o)for(;e(o),!i(o);)o.setTime(o-1)},(o,u)=&gt;{if(o&gt;=o)if(u&lt;0)for(;++u&lt;=0;)for(;r(o,-1),!i(o););else for(;--u&gt;=0;)for(;r(o,1),!i(o););}),t&amp;&amp;(l.count=(i,o)=&gt;(Hb.setTime(+i),Wb.setTime(+o),e(Hb),e(Wb),Math.floor(t(Hb,Wb))),l.every=i=&gt;(i=Math.floor(i),!isFinite(i)||!(i&gt;0)?null:i&gt;1?l.filter(n?o=&gt;n(o)%i===0:o=&gt;l.count(0,o)%i===0):l)),l}const lp=rn(()=&gt;{},(e,r)=&gt;{e.setTime(+e+r)},(e,r)=&gt;r-e);lp.every=e=&gt;(e=Math.floor(e),!isFinite(e)||!(e&gt;0)?null:e&gt;1?rn(r=&gt;{r.setTime(Math.floor(r/e)*e)},(r,t)=&gt;{r.setTime(+r+t*e)},(r,t)=&gt;(t-r)/e):lp);lp.range;const ma=1e3,qi=ma*60,pa=qi*60,ka=pa*24,E2=ka*7,iS=ka*30,Kb=ka*365,gl=rn(e=&gt;{e.setTime(e-e.getMilliseconds())},(e,r)=&gt;{e.setTime(+e+r*ma)},(e,r)=&gt;(r-e)/ma,e=&gt;e.getUTCSeconds());gl.range;const A2=rn(e=&gt;{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ma)},(e,r)=&gt;{e.setTime(+e+r*qi)},(e,r)=&gt;(r-e)/qi,e=&gt;e.getMinutes());A2.range;const M2=rn(e=&gt;{e.setUTCSeconds(0,0)},(e,r)=&gt;{e.setTime(+e+r*qi)},(e,r)=&gt;(r-e)/qi,e=&gt;e.getUTCMinutes());M2.range;const O2=rn(e=&gt;{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ma-e.getMinutes()*qi)},(e,r)=&gt;{e.setTime(+e+r*pa)},(e,r)=&gt;(r-e)/pa,e=&gt;e.getHours());O2.range;const P2=rn(e=&gt;{e.setUTCMinutes(0,0,0)},(e,r)=&gt;{e.setTime(+e+r*pa)},(e,r)=&gt;(r-e)/pa,e=&gt;e.getUTCHours());P2.range;const nf=rn(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())*qi)/ka,e=&gt;e.getDate()-1);nf.range;const c0=rn(e=&gt;{e.setUTCHours(0,0,0,0)},(e,r)=&gt;{e.setUTCDate(e.getUTCDate()+r)},(e,r)=&gt;(r-e)/ka,e=&gt;e.getUTCDate()-1);c0.range;const AE=rn(e=&gt;{e.setUTCHours(0,0,0,0)},(e,r)=&gt;{e.setUTCDate(e.getUTCDate()+r)},(e,r)=&gt;(r-e)/ka,e=&gt;Math.floor(e/ka));AE.range;function Ol(e){return rn(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())*qi)/E2)}const u0=Ol(0),cp=Ol(1),pK=Ol(2),gK=Ol(3),Bc=Ol(4),xK=Ol(5),bK=Ol(6);u0.range;cp.range;pK.range;gK.range;Bc.range;xK.range;bK.range;function Pl(e){return rn(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)/E2)}const d0=Pl(0),up=Pl(1),yK=Pl(2),vK=Pl(3),zc=Pl(4),wK=Pl(5),_K=Pl(6);d0.range;up.range;yK.range;vK.range;zc.range;wK.range;_K.range;const T2=rn(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());T2.range;const I2=rn(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());I2.range;const Na=rn(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());Na.every=e=&gt;!isFinite(e=Math.floor(e))||!(e&gt;0)?null:rn(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)});Na.range;const Ca=rn(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());Ca.every=e=&gt;!isFinite(e=Math.floor(e))||!(e&gt;0)?null:rn(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)});Ca.range;function ME(e,r,t,n,l,i){const o=[[gl,1,ma],[gl,5,5*ma],[gl,15,15*ma],[gl,30,30*ma],[i,1,qi],[i,5,5*qi],[i,15,15*qi],[i,30,30*qi],[l,1,pa],[l,3,3*pa],[l,6,6*pa],[l,12,12*pa],[n,1,ka],[n,2,2*ka],[t,1,E2],[r,1,iS],[r,3,3*iS],[e,1,Kb]];function u(a,d,f){const h=d&lt;a;h&amp;&amp;([a,d]=[d,a]);const m=f&amp;&amp;typeof f.range==&quot;function&quot;?f:c(a,d,f),p=m?m.range(a,+d+1):[];return h?p.reverse():p}function c(a,d,f){const h=Math.abs(d-a)/f,m=p2(([,,g])=&gt;g).right(o,h);if(m===o.length)return e.every(Tv(a/Kb,d/Kb,f));if(m===0)return lp.every(Math.max(Tv(a,d,f),1));const[p,x]=o[h/o[m-1][2]&lt;o[m][2]/h?m-1:m];return p.every(x)}return[u,c]}const[jK,SK]=ME(Ca,I2,d0,AE,P2,M2),[kK,NK]=ME(Na,T2,u0,nf,O2,A2);function Xb(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 Gb(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 Ju(e,r,t){return{y:e,m:r,d:t,H:0,M:0,S:0,L:0}}function CK(e){var r=e.dateTime,t=e.date,n=e.time,l=e.periods,i=e.days,o=e.shortDays,u=e.months,c=e.shortMonths,a=ed(l),d=td(l),f=ed(i),h=td(i),m=ed(o),p=td(o),x=ed(u),g=td(u),y=ed(c),v=td(c),_={a:k,A:S,b:N,B:O,c:null,d:uS,e:uS,f:YK,g:aX,G:lX,H:KK,I:XK,j:GK,L:OE,m:ZK,M:QK,p:D,q:B,Q:hS,s:mS,S:JK,u:eX,U:tX,V:rX,w:nX,W:iX,x:null,X:null,y:sX,Y:oX,Z:cX,&quot;%&quot;:fS},C={a:Y,A:Z,b:ne,B:V,c:null,d:dS,e:dS,f:hX,g:jX,G:kX,H:uX,I:dX,j:fX,L:TE,m:mX,M:pX,p:ee,q:z,Q:hS,s:mS,S:gX,u:xX,U:bX,V:yX,w:vX,W:wX,x:null,X:null,y:_X,Y:SX,Z:NX,&quot;%&quot;:fS},M={a:W,A:q,b:K,B:P,c:L,d:lS,e:lS,f:VK,g:oS,G:aS,H:cS,I:cS,j:BK,L:UK,m:FK,M:zK,p:H,q:LK,Q:HK,s:WK,S:$K,u:PK,U:TK,V:IK,w:OK,W:RK,x:E,X:j,y:oS,Y:aS,Z:DK,&quot;%&quot;:qK};_.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(R,X){return function(re){var Q=[],te=-1,se=0,de=R.length,ce,ie,fe;for(re instanceof Date||(re=new Date(+re));++te&lt;de;)R.charCodeAt(te)===37&amp;&amp;(Q.push(R.slice(se,te)),(ie=sS[ce=R.charAt(++te)])!=null?ce=R.charAt(++te):ie=ce===&quot;e&quot;?&quot; &quot;:&quot;0&quot;,(fe=X[ce])&amp;&amp;(ce=fe(re,ie)),Q.push(ce),se=te+1);return Q.push(R.slice(se,te)),Q.join(&quot;&quot;)}}function $(R,X){return function(re){var Q=Ju(1900,void 0,1),te=F(Q,R,re+=&quot;&quot;,0),se,de;if(te!=re.length)return null;if(&quot;Q&quot;in Q)return new Date(Q.Q);if(&quot;s&quot;in Q)return new Date(Q.s*1e3+(&quot;L&quot;in Q?Q.L:0));if(X&amp;&amp;!(&quot;Z&quot;in Q)&amp;&amp;(Q.Z=0),&quot;p&quot;in Q&amp;&amp;(Q.H=Q.H%12+Q.p*12),Q.m===void 0&amp;&amp;(Q.m=&quot;q&quot;in Q?Q.q:0),&quot;V&quot;in Q){if(Q.V&lt;1||Q.V&gt;53)return null;&quot;w&quot;in Q||(Q.w=1),&quot;Z&quot;in Q?(se=Gb(Ju(Q.y,0,1)),de=se.getUTCDay(),se=de&gt;4||de===0?up.ceil(se):up(se),se=c0.offset(se,(Q.V-1)*7),Q.y=se.getUTCFullYear(),Q.m=se.getUTCMonth(),Q.d=se.getUTCDate()+(Q.w+6)%7):(se=Xb(Ju(Q.y,0,1)),de=se.getDay(),se=de&gt;4||de===0?cp.ceil(se):cp(se),se=nf.offset(se,(Q.V-1)*7),Q.y=se.getFullYear(),Q.m=se.getMonth(),Q.d=se.getDate()+(Q.w+6)%7)}else(&quot;W&quot;in Q||&quot;U&quot;in Q)&amp;&amp;(&quot;w&quot;in Q||(Q.w=&quot;u&quot;in Q?Q.u%7:&quot;W&quot;in Q?1:0),de=&quot;Z&quot;in Q?Gb(Ju(Q.y,0,1)).getUTCDay():Xb(Ju(Q.y,0,1)).getDay(),Q.m=0,Q.d=&quot;W&quot;in Q?(Q.w+6)%7+Q.W*7-(de+5)%7:Q.w+Q.U*7-(de+6)%7);return&quot;Z&quot;in Q?(Q.H+=Q.Z/100|0,Q.M+=Q.Z%100,Gb(Q)):Xb(Q)}}function F(R,X,re,Q){for(var te=0,se=X.length,de=re.length,ce,ie;te&lt;se;){if(Q&gt;=de)return-1;if(ce=X.charCodeAt(te++),ce===37){if(ce=X.charAt(te++),ie=M[ce in sS?X.charAt(te++):ce],!ie||(Q=ie(R,re,Q))&lt;0)return-1}else if(ce!=re.charCodeAt(Q++))return-1}return Q}function H(R,X,re){var Q=a.exec(X.slice(re));return Q?(R.p=d.get(Q[0].toLowerCase()),re+Q[0].length):-1}function W(R,X,re){var Q=m.exec(X.slice(re));return Q?(R.w=p.get(Q[0].toLowerCase()),re+Q[0].length):-1}function q(R,X,re){var Q=f.exec(X.slice(re));return Q?(R.w=h.get(Q[0].toLowerCase()),re+Q[0].length):-1}function K(R,X,re){var Q=y.exec(X.slice(re));return Q?(R.m=v.get(Q[0].toLowerCase()),re+Q[0].length):-1}function P(R,X,re){var Q=x.exec(X.slice(re));return Q?(R.m=g.get(Q[0].toLowerCase()),re+Q[0].length):-1}function L(R,X,re){return F(R,r,X,re)}function E(R,X,re){return F(R,t,X,re)}function j(R,X,re){return F(R,n,X,re)}function k(R){return o[R.getDay()]}function S(R){return i[R.getDay()]}function N(R){return c[R.getMonth()]}function O(R){return u[R.getMonth()]}function D(R){return l[+(R.getHours()&gt;=12)]}function B(R){return 1+~~(R.getMonth()/3)}function Y(R){return o[R.getUTCDay()]}function Z(R){return i[R.getUTCDay()]}function ne(R){return c[R.getUTCMonth()]}function V(R){return u[R.getUTCMonth()]}function ee(R){return l[+(R.getUTCHours()&gt;=12)]}function z(R){return 1+~~(R.getUTCMonth()/3)}return{format:function(R){var X=T(R+=&quot;&quot;,_);return X.toString=function(){return R},X},parse:function(R){var X=$(R+=&quot;&quot;,!1);return X.toString=function(){return R},X},utcFormat:function(R){var X=T(R+=&quot;&quot;,C);return X.toString=function(){return R},X},utcParse:function(R){var X=$(R+=&quot;&quot;,!0);return X.toString=function(){return R},X}}}var sS={&quot;-&quot;:&quot;&quot;,_:&quot; &quot;,0:&quot;0&quot;},bn=/^\s*\d+/,EK=/^%/,AK=/[\\^$*+?|[\]().{}]/g;function sr(e,r,t){var n=e&lt;0?&quot;-&quot;:&quot;&quot;,l=(n?-e:e)+&quot;&quot;,i=l.length;return n+(i&lt;t?new Array(t-i+1).join(r)+l:l)}function MK(e){return e.replace(AK,&quot;\\$&amp;&quot;)}function ed(e){return new RegExp(&quot;^(?:&quot;+e.map(MK).join(&quot;|&quot;)+&quot;)&quot;,&quot;i&quot;)}function td(e){return new Map(e.map((r,t)=&gt;[r.toLowerCase(),t]))}function OK(e,r,t){var n=bn.exec(r.slice(t,t+1));return n?(e.w=+n[0],t+n[0].length):-1}function PK(e,r,t){var n=bn.exec(r.slice(t,t+1));return n?(e.u=+n[0],t+n[0].length):-1}function TK(e,r,t){var n=bn.exec(r.slice(t,t+2));return n?(e.U=+n[0],t+n[0].length):-1}function IK(e,r,t){var n=bn.exec(r.slice(t,t+2));return n?(e.V=+n[0],t+n[0].length):-1}function RK(e,r,t){var n=bn.exec(r.slice(t,t+2));return n?(e.W=+n[0],t+n[0].length):-1}function aS(e,r,t){var n=bn.exec(r.slice(t,t+4));return n?(e.y=+n[0],t+n[0].length):-1}function oS(e,r,t){var n=bn.exec(r.slice(t,t+2));return n?(e.y=+n[0]+(+n[0]&gt;68?1900:2e3),t+n[0].length):-1}function DK(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 LK(e,r,t){var n=bn.exec(r.slice(t,t+1));return n?(e.q=n[0]*3-3,t+n[0].length):-1}function FK(e,r,t){var n=bn.exec(r.slice(t,t+2));return n?(e.m=n[0]-1,t+n[0].length):-1}function lS(e,r,t){var n=bn.exec(r.slice(t,t+2));return n?(e.d=+n[0],t+n[0].length):-1}function BK(e,r,t){var n=bn.exec(r.slice(t,t+3));return n?(e.m=0,e.d=+n[0],t+n[0].length):-1}function cS(e,r,t){var n=bn.exec(r.slice(t,t+2));return n?(e.H=+n[0],t+n[0].length):-1}function zK(e,r,t){var n=bn.exec(r.slice(t,t+2));return n?(e.M=+n[0],t+n[0].length):-1}function $K(e,r,t){var n=bn.exec(r.slice(t,t+2));return n?(e.S=+n[0],t+n[0].length):-1}function UK(e,r,t){var n=bn.exec(r.slice(t,t+3));return n?(e.L=+n[0],t+n[0].length):-1}function VK(e,r,t){var n=bn.exec(r.slice(t,t+6));return n?(e.L=Math.floor(n[0]/1e3),t+n[0].length):-1}function qK(e,r,t){var n=EK.exec(r.slice(t,t+1));return n?t+n[0].length:-1}function HK(e,r,t){var n=bn.exec(r.slice(t));return n?(e.Q=+n[0],t+n[0].length):-1}function WK(e,r,t){var n=bn.exec(r.slice(t));return n?(e.s=+n[0],t+n[0].length):-1}function uS(e,r){return sr(e.getDate(),r,2)}function KK(e,r){return sr(e.getHours(),r,2)}function XK(e,r){return sr(e.getHours()%12||12,r,2)}function GK(e,r){return sr(1+nf.count(Na(e),e),r,3)}function OE(e,r){return sr(e.getMilliseconds(),r,3)}function YK(e,r){return OE(e,r)+&quot;000&quot;}function ZK(e,r){return sr(e.getMonth()+1,r,2)}function QK(e,r){return sr(e.getMinutes(),r,2)}function JK(e,r){return sr(e.getSeconds(),r,2)}function eX(e){var r=e.getDay();return r===0?7:r}function tX(e,r){return sr(u0.count(Na(e)-1,e),r,2)}function PE(e){var r=e.getDay();return r&gt;=4||r===0?Bc(e):Bc.ceil(e)}function rX(e,r){return e=PE(e),sr(Bc.count(Na(e),e)+(Na(e).getDay()===4),r,2)}function nX(e){return e.getDay()}function iX(e,r){return sr(cp.count(Na(e)-1,e),r,2)}function sX(e,r){return sr(e.getFullYear()%100,r,2)}function aX(e,r){return e=PE(e),sr(e.getFullYear()%100,r,2)}function oX(e,r){return sr(e.getFullYear()%1e4,r,4)}function lX(e,r){var t=e.getDay();return e=t&gt;=4||t===0?Bc(e):Bc.ceil(e),sr(e.getFullYear()%1e4,r,4)}function cX(e){var r=e.getTimezoneOffset();return(r&gt;0?&quot;-&quot;:(r*=-1,&quot;+&quot;))+sr(r/60|0,&quot;0&quot;,2)+sr(r%60,&quot;0&quot;,2)}function dS(e,r){return sr(e.getUTCDate(),r,2)}function uX(e,r){return sr(e.getUTCHours(),r,2)}function dX(e,r){return sr(e.getUTCHours()%12||12,r,2)}function fX(e,r){return sr(1+c0.count(Ca(e),e),r,3)}function TE(e,r){return sr(e.getUTCMilliseconds(),r,3)}function hX(e,r){return TE(e,r)+&quot;000&quot;}function mX(e,r){return sr(e.getUTCMonth()+1,r,2)}function pX(e,r){return sr(e.getUTCMinutes(),r,2)}function gX(e,r){return sr(e.getUTCSeconds(),r,2)}function xX(e){var r=e.getUTCDay();return r===0?7:r}function bX(e,r){return sr(d0.count(Ca(e)-1,e),r,2)}function IE(e){var r=e.getUTCDay();return r&gt;=4||r===0?zc(e):zc.ceil(e)}function yX(e,r){return e=IE(e),sr(zc.count(Ca(e),e)+(Ca(e).getUTCDay()===4),r,2)}function vX(e){return e.getUTCDay()}function wX(e,r){return sr(up.count(Ca(e)-1,e),r,2)}function _X(e,r){return sr(e.getUTCFullYear()%100,r,2)}function jX(e,r){return e=IE(e),sr(e.getUTCFullYear()%100,r,2)}function SX(e,r){return sr(e.getUTCFullYear()%1e4,r,4)}function kX(e,r){var t=e.getUTCDay();return e=t&gt;=4||t===0?zc(e):zc.ceil(e),sr(e.getUTCFullYear()%1e4,r,4)}function NX(){return&quot;+0000&quot;}function fS(){return&quot;%&quot;}function hS(e){return+e}function mS(e){return Math.floor(+e/1e3)}var xc,RE,DE;CX({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 CX(e){return xc=CK(e),RE=xc.format,xc.parse,DE=xc.utcFormat,xc.utcParse,xc}function EX(e){return new Date(e)}function AX(e){return e instanceof Date?+e:+new Date(+e)}function R2(e,r,t,n,l,i,o,u,c,a){var d=w2(),f=d.invert,h=d.domain,m=a(&quot;.%L&quot;),p=a(&quot;:%S&quot;),x=a(&quot;%I:%M&quot;),g=a(&quot;%I %p&quot;),y=a(&quot;%a %d&quot;),v=a(&quot;%b %d&quot;),_=a(&quot;%B&quot;),C=a(&quot;%Y&quot;);function M(T){return(c(T)&lt;T?m:u(T)&lt;T?p:o(T)&lt;T?x:i(T)&lt;T?g:n(T)&lt;T?l(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,AX)):h().map(EX)},d.ticks=function(T){var $=h();return e($[0],$[$.length-1],T??10)},d.tickFormat=function(T,$){return $==null?M:a($)},d.nice=function(T){var $=h();return(!T||typeof T.range!=&quot;function&quot;)&amp;&amp;(T=r($[0],$[$.length-1],T??10)),T?h(_E($,T)):d},d.copy=function(){return rf(d,R2(e,r,t,n,l,i,o,u,c,a))},d}function MX(){return Yi.apply(R2(kK,NK,Na,T2,u0,nf,O2,A2,gl,RE).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function OX(){return Yi.apply(R2(jK,SK,Ca,I2,d0,c0,P2,M2,gl,DE).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function f0(){var e=0,r=1,t,n,l,i,o=ri,u=!1,c;function a(f){return f==null||isNaN(f=+f)?c:o(l===0?.5:(f=(i(f)-t)*l,u?Math.max(0,Math.min(1,f)):f))}a.domain=function(f){return arguments.length?([e,r]=f,t=i(e=+e),n=i(r=+r),l=t===n?0:1/(n-t),a):[e,r]},a.clamp=function(f){return arguments.length?(u=!!f,a):u},a.interpolator=function(f){return arguments.length?(o=f,a):o};function d(f){return function(h){var m,p;return arguments.length?([m,p]=h,o=f(m,p),a):[o(0),o(1)]}}return a.range=d(Xc),a.rangeRound=d(v2),a.unknown=function(f){return arguments.length?(c=f,a):c},function(f){return i=f,t=f(e),n=f(r),l=t===n?0:1/(n-t),a}}function Ao(e,r){return r.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function LE(){var e=Eo(f0()(ri));return e.copy=function(){return Ao(e,LE())},Ta.apply(e,arguments)}function FE(){var e=S2(f0()).domain([1,10]);return e.copy=function(){return Ao(e,FE()).base(e.base())},Ta.apply(e,arguments)}function BE(){var e=k2(f0());return e.copy=function(){return Ao(e,BE()).constant(e.constant())},Ta.apply(e,arguments)}function D2(){var e=N2(f0());return e.copy=function(){return Ao(e,D2()).exponent(e.exponent())},Ta.apply(e,arguments)}function PX(){return D2.apply(null,arguments).exponent(.5)}function zE(){var e=[],r=ri;function t(n){if(n!=null&amp;&amp;!isNaN(n=+n))return r((ef(e,n,1)-1)/(e.length-1))}return t.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let l of n)l!=null&amp;&amp;!isNaN(l=+l)&amp;&amp;e.push(l);return e.sort(bo),t},t.interpolator=function(n){return arguments.length?(r=n,t):r},t.range=function(){return e.map((n,l)=&gt;r(l/(e.length-1)))},t.quantiles=function(n){return Array.from({length:n+1},(l,i)=&gt;xW(e,i/n))},t.copy=function(){return zE(r).domain(e)},Ta.apply(t,arguments)}function h0(){var e=0,r=.5,t=1,n=1,l,i,o,u,c,a=ri,d,f=!1,h;function m(x){return isNaN(x=+x)?h:(x=.5+((x=+d(x))-i)*(n*x&lt;n*i?u:c),a(f?Math.max(0,Math.min(1,x)):x))}m.domain=function(x){return arguments.length?([e,r,t]=x,l=d(e=+e),i=d(r=+r),o=d(t=+t),u=l===i?0:.5/(i-l),c=i===o?0:.5/(o-i),n=i&lt;l?-1:1,m):[e,r,t]},m.clamp=function(x){return arguments.length?(f=!!x,m):f},m.interpolator=function(x){return arguments.length?(a=x,m):a};function p(x){return function(g){var y,v,_;return arguments.length?([y,v,_]=g,a=qW(x,[y,v,_]),m):[a(0),a(.5),a(1)]}}return m.range=p(Xc),m.rangeRound=p(v2),m.unknown=function(x){return arguments.length?(h=x,m):h},function(x){return d=x,l=x(e),i=x(r),o=x(t),u=l===i?0:.5/(i-l),c=i===o?0:.5/(o-i),n=i&lt;l?-1:1,m}}function $E(){var e=Eo(h0()(ri));return e.copy=function(){return Ao(e,$E())},Ta.apply(e,arguments)}function UE(){var e=S2(h0()).domain([.1,1,10]);return e.copy=function(){return Ao(e,UE()).base(e.base())},Ta.apply(e,arguments)}function VE(){var e=k2(h0());return e.copy=function(){return Ao(e,VE()).constant(e.constant())},Ta.apply(e,arguments)}function L2(){var e=N2(h0());return e.copy=function(){return Ao(e,L2()).exponent(e.exponent())},Ta.apply(e,arguments)}function TX(){return L2.apply(null,arguments).exponent(.5)}const cd=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:x2,scaleDiverging:$E,scaleDivergingLog:UE,scaleDivergingPow:L2,scaleDivergingSqrt:TX,scaleDivergingSymlog:VE,scaleIdentity:wE,scaleImplicit:Iv,scaleLinear:vE,scaleLog:jE,scaleOrdinal:g2,scalePoint:vW,scalePow:C2,scaleQuantile:NE,scaleQuantize:CE,scaleRadial:kE,scaleSequential:LE,scaleSequentialLog:FE,scaleSequentialPow:D2,scaleSequentialQuantile:zE,scaleSequentialSqrt:PX,scaleSequentialSymlog:BE,scaleSqrt:hK,scaleSymlog:SE,scaleThreshold:EE,scaleTime:MX,scaleUtc:OX,tickFormat:yE},Symbol.toStringTag,{value:&quot;Module&quot;}));var Ia=e=&gt;e.chartData,qE=Pe([Ia],e=&gt;{var r=e.chartData!=null?e.chartData.length-1:0;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:r,dataStartIndex:0}}),F2=(e,r,t,n)=&gt;n?qE(e):Ia(e),IX=(e,r,t)=&gt;t?qE(e):Ia(e);function _o(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 pS(e,r,t){return t?e:[Math.min(e[0],r[0]),Math.max(e[1],r[1])]}function HE(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,l,i;if(Rr(t))l=t;else if(typeof t==&quot;function&quot;)return;if(Rr(n))i=n;else if(typeof n==&quot;function&quot;)return;var o=[l,i];if(_o(o))return o}}function RX(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(_o(n))return pS(n,r,t)}catch{}if(Array.isArray(e)&amp;&amp;e.length===2){var[l,i]=e,o,u;if(l===&quot;auto&quot;)r!=null&amp;&amp;(o=Math.min(...r));else if(xt(l))o=l;else if(typeof l==&quot;function&quot;)try{r!=null&amp;&amp;(o=l(r?.[0]))}catch{}else if(typeof l==&quot;string&quot;&amp;&amp;N5.test(l)){var c=N5.exec(l);if(c==null||c[1]==null||r==null)o=void 0;else{var a=+c[1];o=r[0]-a}}else o=r?.[0];if(i===&quot;auto&quot;)r!=null&amp;&amp;(u=Math.max(...r));else if(xt(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;C5.test(i)){var d=C5.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=[o,u];if(_o(h))return r==null?h:pS(h,r,t)}}}var Gc=1e9,DX={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:&quot;2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286&quot;},z2,Cr=!0,Xi=&quot;[DecimalError] &quot;,wl=Xi+&quot;Invalid argument: &quot;,B2=Xi+&quot;Exponent out of range: &quot;,Yc=Math.floor,cl=Math.pow,LX=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ki,pn=1e7,jr=7,WE=9007199254740991,dp=Yc(WE/jr),pt={};pt.absoluteValue=pt.abs=function(){var e=new this.constructor(this);return e.s&amp;&amp;(e.s=1),e};pt.comparedTo=pt.cmp=function(e){var r,t,n,l,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,l=e.d.length,r=0,t=n&lt;l?n:l;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===l?0:n&gt;l^i.s&lt;0?1:-1};pt.decimalPlaces=pt.dp=function(){var e=this,r=e.d.length-1,t=(r-e.e)*jr;if(r=e.d[r],r)for(;r%10==0;r/=10)t--;return t&lt;0?0:t};pt.dividedBy=pt.div=function(e){return ba(this,new this.constructor(e))};pt.dividedToIntegerBy=pt.idiv=function(e){var r=this,t=r.constructor;return yr(ba(r,new t(e),0,1),t.precision)};pt.equals=pt.eq=function(e){return!this.cmp(e)};pt.exponent=function(){return Zr(this)};pt.greaterThan=pt.gt=function(e){return this.cmp(e)&gt;0};pt.greaterThanOrEqualTo=pt.gte=function(e){return this.cmp(e)&gt;=0};pt.isInteger=pt.isint=function(){return this.e&gt;this.d.length-2};pt.isNegative=pt.isneg=function(){return this.s&lt;0};pt.isPositive=pt.ispos=function(){return this.s&gt;0};pt.isZero=function(){return this.s===0};pt.lessThan=pt.lt=function(e){return this.cmp(e)&lt;0};pt.lessThanOrEqualTo=pt.lte=function(e){return this.cmp(e)&lt;1};pt.logarithm=pt.log=function(e){var r,t=this,n=t.constructor,l=n.precision,i=l+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s&lt;1||e.eq(ki))throw Error(Xi+&quot;NaN&quot;);if(t.s&lt;1)throw Error(Xi+(t.s?&quot;NaN&quot;:&quot;-Infinity&quot;));return t.eq(ki)?new n(0):(Cr=!1,r=ba(Fd(t,i),Fd(e,i),i),Cr=!0,yr(r,l))};pt.minus=pt.sub=function(e){var r=this;return e=new r.constructor(e),r.s==e.s?GE(r,e):KE(r,(e.s=-e.s,e))};pt.modulo=pt.mod=function(e){var r,t=this,n=t.constructor,l=n.precision;if(e=new n(e),!e.s)throw Error(Xi+&quot;NaN&quot;);return t.s?(Cr=!1,r=ba(t,e,0,1).times(e),Cr=!0,t.minus(r)):yr(new n(t),l)};pt.naturalExponential=pt.exp=function(){return XE(this)};pt.naturalLogarithm=pt.ln=function(){return Fd(this)};pt.negated=pt.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};pt.plus=pt.add=function(e){var r=this;return e=new r.constructor(e),r.s==e.s?KE(r,e):GE(r,(e.s=-e.s,e))};pt.precision=pt.sd=function(e){var r,t,n,l=this;if(e!==void 0&amp;&amp;e!==!!e&amp;&amp;e!==1&amp;&amp;e!==0)throw Error(wl+e);if(r=Zr(l)+1,n=l.d.length-1,t=n*jr+1,n=l.d[n],n){for(;n%10==0;n/=10)t--;for(n=l.d[0];n&gt;=10;n/=10)t++}return e&amp;&amp;r&gt;t?r:t};pt.squareRoot=pt.sqrt=function(){var e,r,t,n,l,i,o,u=this,c=u.constructor;if(u.s&lt;1){if(!u.s)return new c(0);throw Error(Xi+&quot;NaN&quot;)}for(e=Zr(u),Cr=!1,l=Math.sqrt(+u),l==0||l==1/0?(r=Ls(u.d),(r.length+e)%2==0&amp;&amp;(r+=&quot;0&quot;),l=Math.sqrt(r),e=Yc((e+1)/2)-(e&lt;0||e%2),l==1/0?r=&quot;5e&quot;+e:(r=l.toExponential(),r=r.slice(0,r.indexOf(&quot;e&quot;)+1)+e),n=new c(r)):n=new c(l.toString()),t=c.precision,l=o=t+3;;)if(i=n,n=i.plus(ba(u,i,o+2)).times(.5),Ls(i.d).slice(0,o)===(r=Ls(n.d)).slice(0,o)){if(r=r.slice(o-3,o+1),l==o&amp;&amp;r==&quot;4999&quot;){if(yr(i,t+1,0),i.times(i).eq(u)){n=i;break}}else if(r!=&quot;9999&quot;)break;o+=4}return Cr=!0,yr(n,t)};pt.times=pt.mul=function(e){var r,t,n,l,i,o,u,c,a,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,c=h.length,a=m.length,c&lt;a&amp;&amp;(i=h,h=m,m=i,o=c,c=a,a=o),i=[],o=c+a,n=o;n--;)i.push(0);for(n=a;--n&gt;=0;){for(r=0,l=c+n;l&gt;n;)u=i[l]+m[n]*h[l-n-1]+r,i[l--]=u%pn|0,r=u/pn|0;i[l]=(i[l]+r)%pn|0}for(;!i[--o];)i.pop();return r?++t:i.shift(),e.d=i,e.e=t,Cr?yr(e,f.precision):e};pt.toDecimalPlaces=pt.todp=function(e,r){var t=this,n=t.constructor;return t=new n(t),e===void 0?t:(Vs(e,0,Gc),r===void 0?r=n.rounding:Vs(r,0,8),yr(t,e+Zr(t)+1,r))};pt.toExponential=function(e,r){var t,n=this,l=n.constructor;return e===void 0?t=Cl(n,!0):(Vs(e,0,Gc),r===void 0?r=l.rounding:Vs(r,0,8),n=yr(new l(n),e+1,r),t=Cl(n,!0,e+1)),t};pt.toFixed=function(e,r){var t,n,l=this,i=l.constructor;return e===void 0?Cl(l):(Vs(e,0,Gc),r===void 0?r=i.rounding:Vs(r,0,8),n=yr(new i(l),e+Zr(l)+1,r),t=Cl(n.abs(),!1,e+Zr(n)+1),l.isneg()&amp;&amp;!l.isZero()?&quot;-&quot;+t:t)};pt.toInteger=pt.toint=function(){var e=this,r=e.constructor;return yr(new r(e),Zr(e)+1,r.rounding)};pt.toNumber=function(){return+this};pt.toPower=pt.pow=function(e){var r,t,n,l,i,o,u=this,c=u.constructor,a=12,d=+(e=new c(e));if(!e.s)return new c(ki);if(u=new c(u),!u.s){if(e.s&lt;1)throw Error(Xi+&quot;Infinity&quot;);return u}if(u.eq(ki))return u;if(n=c.precision,e.eq(ki))return yr(u,n);if(r=e.e,t=e.d.length-1,o=r&gt;=t,i=u.s,o){if((t=d&lt;0?-d:d)&lt;=WE){for(l=new c(ki),r=Math.ceil(n/jr+4),Cr=!1;t%2&amp;&amp;(l=l.times(u),xS(l.d,r)),t=Yc(t/2),t!==0;)u=u.times(u),xS(u.d,r);return Cr=!0,e.s&lt;0?new c(ki).div(l):yr(l,n)}}else if(i&lt;0)throw Error(Xi+&quot;NaN&quot;);return i=i&lt;0&amp;&amp;e.d[Math.max(r,t)]&amp;1?-1:1,u.s=1,Cr=!1,l=e.times(Fd(u,n+a)),Cr=!0,l=XE(l),l.s=i,l};pt.toPrecision=function(e,r){var t,n,l=this,i=l.constructor;return e===void 0?(t=Zr(l),n=Cl(l,t&lt;=i.toExpNeg||t&gt;=i.toExpPos)):(Vs(e,1,Gc),r===void 0?r=i.rounding:Vs(r,0,8),l=yr(new i(l),e,r),t=Zr(l),n=Cl(l,e&lt;=t||t&lt;=i.toExpNeg,e)),n};pt.toSignificantDigits=pt.tosd=function(e,r){var t=this,n=t.constructor;return e===void 0?(e=n.precision,r=n.rounding):(Vs(e,1,Gc),r===void 0?r=n.rounding:Vs(r,0,8)),yr(new n(t),e,r)};pt.toString=pt.valueOf=pt.val=pt.toJSON=pt[Symbol.for(&quot;nodejs.util.inspect.custom&quot;)]=function(){var e=this,r=Zr(e),t=e.constructor;return Cl(e,r&lt;=t.toExpNeg||r&gt;=t.toExpPos)};function KE(e,r){var t,n,l,i,o,u,c,a,d=e.constructor,f=d.precision;if(!e.s||!r.s)return r.s||(r=new d(e)),Cr?yr(r,f):r;if(c=e.d,a=r.d,o=e.e,l=r.e,c=c.slice(),i=o-l,i){for(i&lt;0?(n=c,i=-i,u=a.length):(n=a,l=o,u=c.length),o=Math.ceil(f/jr),u=o&gt;u?o+1:u+1,i&gt;u&amp;&amp;(i=u,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for(u=c.length,i=a.length,u-i&lt;0&amp;&amp;(i=u,n=a,a=c,c=n),t=0;i;)t=(c[--i]=c[i]+a[i]+t)/pn|0,c[i]%=pn;for(t&amp;&amp;(c.unshift(t),++l),u=c.length;c[--u]==0;)c.pop();return r.d=c,r.e=l,Cr?yr(r,f):r}function Vs(e,r,t){if(e!==~~e||e&lt;r||e&gt;t)throw Error(wl+e)}function Ls(e){var r,t,n,l=e.length-1,i=&quot;&quot;,o=e[0];if(l&gt;0){for(i+=o,r=1;r&lt;l;r++)n=e[r]+&quot;&quot;,t=jr-n.length,t&amp;&amp;(i+=lo(t)),i+=n;o=e[r],n=o+&quot;&quot;,t=jr-n.length,t&amp;&amp;(i+=lo(t))}else if(o===0)return&quot;0&quot;;for(;o%10===0;)o/=10;return i+o}var ba=(function(){function e(n,l){var i,o=0,u=n.length;for(n=n.slice();u--;)i=n[u]*l+o,n[u]=i%pn|0,o=i/pn|0;return o&amp;&amp;n.unshift(o),n}function r(n,l,i,o){var u,c;if(i!=o)c=i&gt;o?1:-1;else for(u=c=0;u&lt;i;u++)if(n[u]!=l[u]){c=n[u]&gt;l[u]?1:-1;break}return c}function t(n,l,i){for(var o=0;i--;)n[i]-=o,o=n[i]&lt;l[i]?1:0,n[i]=o*pn+n[i]-l[i];for(;!n[0]&amp;&amp;n.length&gt;1;)n.shift()}return function(n,l,i,o){var u,c,a,d,f,h,m,p,x,g,y,v,_,C,M,T,$,F,H=n.constructor,W=n.s==l.s?1:-1,q=n.d,K=l.d;if(!n.s)return new H(n);if(!l.s)throw Error(Xi+&quot;Division by zero&quot;);for(c=n.e-l.e,$=K.length,M=q.length,m=new H(W),p=m.d=[],a=0;K[a]==(q[a]||0);)++a;if(K[a]&gt;(q[a]||0)&amp;&amp;--c,i==null?v=i=H.precision:o?v=i+(Zr(n)-Zr(l))+1:v=i,v&lt;0)return new H(0);if(v=v/jr+2|0,a=0,$==1)for(d=0,K=K[0],v++;(a&lt;M||d)&amp;&amp;v--;a++)_=d*pn+(q[a]||0),p[a]=_/K|0,d=_%K|0;else{for(d=pn/(K[0]+1)|0,d&gt;1&amp;&amp;(K=e(K,d),q=e(q,d),$=K.length,M=q.length),C=$,x=q.slice(0,$),g=x.length;g&lt;$;)x[g++]=0;F=K.slice(),F.unshift(0),T=K[0],K[1]&gt;=pn/2&amp;&amp;++T;do d=0,u=r(K,x,$,g),u&lt;0?(y=x[0],$!=g&amp;&amp;(y=y*pn+(x[1]||0)),d=y/T|0,d&gt;1?(d&gt;=pn&amp;&amp;(d=pn-1),f=e(K,d),h=f.length,g=x.length,u=r(f,x,h,g),u==1&amp;&amp;(d--,t(f,$&lt;h?F:K,h))):(d==0&amp;&amp;(u=d=1),f=K.slice()),h=f.length,h&lt;g&amp;&amp;f.unshift(0),t(x,f,g),u==-1&amp;&amp;(g=x.length,u=r(K,x,$,g),u&lt;1&amp;&amp;(d++,t(x,$&lt;g?F:K,g))),g=x.length):u===0&amp;&amp;(d++,x=[0]),p[a++]=d,u&amp;&amp;x[0]?x[g++]=q[C]||0:(x=[q[C]],g=1);while((C++&lt;M||x[0]!==void 0)&amp;&amp;v--)}return p[0]||p.shift(),m.e=c,yr(m,o?i+Zr(m)+1:i)}})();function XE(e,r){var t,n,l,i,o,u,c=0,a=0,d=e.constructor,f=d.precision;if(Zr(e)&gt;16)throw Error(B2+Zr(e));if(!e.s)return new d(ki);for(Cr=!1,u=f,o=new d(.03125);e.abs().gte(.1);)e=e.times(o),a+=5;for(n=Math.log(cl(2,a))/Math.LN10*2+5|0,u+=n,t=l=i=new d(ki),d.precision=u;;){if(l=yr(l.times(e),u),t=t.times(++c),o=i.plus(ba(l,t,u)),Ls(o.d).slice(0,u)===Ls(i.d).slice(0,u)){for(;a--;)i=yr(i.times(i),u);return d.precision=f,r==null?(Cr=!0,yr(i,f)):i}i=o}}function Zr(e){for(var r=e.e*jr,t=e.d[0];t&gt;=10;t/=10)r++;return r}function Yb(e,r,t){if(r&gt;e.LN10.sd())throw Cr=!0,t&amp;&amp;(e.precision=t),Error(Xi+&quot;LN10 precision limit exceeded&quot;);return yr(new e(e.LN10),r)}function lo(e){for(var r=&quot;&quot;;e--;)r+=&quot;0&quot;;return r}function Fd(e,r){var t,n,l,i,o,u,c,a,d,f=1,h=10,m=e,p=m.d,x=m.constructor,g=x.precision;if(m.s&lt;1)throw Error(Xi+(m.s?&quot;NaN&quot;:&quot;-Infinity&quot;));if(m.eq(ki))return new x(0);if(r==null?(Cr=!1,a=g):a=r,m.eq(10))return r==null&amp;&amp;(Cr=!0),Yb(x,a);if(a+=h,x.precision=a,t=Ls(p),n=t.charAt(0),i=Zr(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=Ls(m.d),n=t.charAt(0),f++;i=Zr(m),n&gt;1?(m=new x(&quot;0.&quot;+t),i++):m=new x(n+&quot;.&quot;+t.slice(1))}else return c=Yb(x,a+2,g).times(i+&quot;&quot;),m=Fd(new x(n+&quot;.&quot;+t.slice(1)),a-h).plus(c),x.precision=g,r==null?(Cr=!0,yr(m,g)):m;for(u=o=m=ba(m.minus(ki),m.plus(ki),a),d=yr(m.times(m),a),l=3;;){if(o=yr(o.times(d),a),c=u.plus(ba(o,new x(l),a)),Ls(c.d).slice(0,a)===Ls(u.d).slice(0,a))return u=u.times(2),i!==0&amp;&amp;(u=u.plus(Yb(x,a+2,g).times(i+&quot;&quot;))),u=ba(u,new x(f),a),x.precision=g,r==null?(Cr=!0,yr(u,g)):u;u=c,l+=2}}function gS(e,r){var t,n,l;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(l=r.length;r.charCodeAt(l-1)===48;)--l;if(r=r.slice(n,l),r){if(l-=n,t=t-n-1,e.e=Yc(t/jr),e.d=[],n=(t+1)%jr,t&lt;0&amp;&amp;(n+=jr),n&lt;l){for(n&amp;&amp;e.d.push(+r.slice(0,n)),l-=jr;n&lt;l;)e.d.push(+r.slice(n,n+=jr));r=r.slice(n),n=jr-r.length}else n-=l;for(;n--;)r+=&quot;0&quot;;if(e.d.push(+r),Cr&amp;&amp;(e.e&gt;dp||e.e&lt;-dp))throw Error(B2+t)}else e.s=0,e.e=0,e.d=[0];return e}function yr(e,r,t){var n,l,i,o,u,c,a,d,f=e.d;for(o=1,i=f[0];i&gt;=10;i/=10)o++;if(n=r-o,n&lt;0)n+=jr,l=r,a=f[d=0];else{if(d=Math.ceil((n+1)/jr),i=f.length,d&gt;=i)return e;for(a=i=f[d],o=1;i&gt;=10;i/=10)o++;n%=jr,l=n-jr+o}if(t!==void 0&amp;&amp;(i=cl(10,o-l-1),u=a/i%10|0,c=r&lt;0||f[d+1]!==void 0||a%i,c=t&lt;4?(u||c)&amp;&amp;(t==0||t==(e.s&lt;0?3:2)):u&gt;5||u==5&amp;&amp;(t==4||c||t==6&amp;&amp;(n&gt;0?l&gt;0?a/cl(10,o-l):0:f[d-1])%10&amp;1||t==(e.s&lt;0?8:7))),r&lt;1||!f[0])return c?(i=Zr(e),f.length=1,r=r-i-1,f[0]=cl(10,(jr-r%jr)%jr),e.e=Yc(-r/jr)||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=cl(10,jr-n),f[d]=l&gt;0?(a/cl(10,o-l)%cl(10,l)|0)*i:0),c)for(;;)if(d==0){(f[0]+=i)==pn&amp;&amp;(f[0]=1,++e.e);break}else{if(f[d]+=i,f[d]!=pn)break;f[d--]=0,i=1}for(n=f.length;f[--n]===0;)f.pop();if(Cr&amp;&amp;(e.e&gt;dp||e.e&lt;-dp))throw Error(B2+Zr(e));return e}function GE(e,r){var t,n,l,i,o,u,c,a,d,f,h=e.constructor,m=h.precision;if(!e.s||!r.s)return r.s?r.s=-r.s:r=new h(e),Cr?yr(r,m):r;if(c=e.d,f=r.d,n=r.e,a=e.e,c=c.slice(),o=a-n,o){for(d=o&lt;0,d?(t=c,o=-o,u=f.length):(t=f,n=a,u=c.length),l=Math.max(Math.ceil(m/jr),u)+2,o&gt;l&amp;&amp;(o=l,t.length=1),t.reverse(),l=o;l--;)t.push(0);t.reverse()}else{for(l=c.length,u=f.length,d=l&lt;u,d&amp;&amp;(u=l),l=0;l&lt;u;l++)if(c[l]!=f[l]){d=c[l]&lt;f[l];break}o=0}for(d&amp;&amp;(t=c,c=f,f=t,r.s=-r.s),u=c.length,l=f.length-u;l&gt;0;--l)c[u++]=0;for(l=f.length;l&gt;o;){if(c[--l]&lt;f[l]){for(i=l;i&amp;&amp;c[--i]===0;)c[i]=pn-1;--c[i],c[l]+=pn}c[l]-=f[l]}for(;c[--u]===0;)c.pop();for(;c[0]===0;c.shift())--n;return c[0]?(r.d=c,r.e=n,Cr?yr(r,m):r):new h(0)}function Cl(e,r,t){var n,l=Zr(e),i=Ls(e.d),o=i.length;return r?(t&amp;&amp;(n=t-o)&gt;0?i=i.charAt(0)+&quot;.&quot;+i.slice(1)+lo(n):o&gt;1&amp;&amp;(i=i.charAt(0)+&quot;.&quot;+i.slice(1)),i=i+(l&lt;0?&quot;e&quot;:&quot;e+&quot;)+l):l&lt;0?(i=&quot;0.&quot;+lo(-l-1)+i,t&amp;&amp;(n=t-o)&gt;0&amp;&amp;(i+=lo(n))):l&gt;=o?(i+=lo(l+1-o),t&amp;&amp;(n=t-l-1)&gt;0&amp;&amp;(i=i+&quot;.&quot;+lo(n))):((n=l+1)&lt;o&amp;&amp;(i=i.slice(0,n)+&quot;.&quot;+i.slice(n)),t&amp;&amp;(n=t-o)&gt;0&amp;&amp;(l+1===o&amp;&amp;(i+=&quot;.&quot;),i+=lo(n))),e.s&lt;0?&quot;-&quot;+i:i}function xS(e,r){if(e.length&gt;r)return e.length=r,!0}function YE(e){var r,t,n;function l(i){var o=this;if(!(o instanceof l))return new l(i);if(o.constructor=l,i instanceof l){o.s=i.s,o.e=i.e,o.d=(i=i.d)?i.slice():i;return}if(typeof i==&quot;number&quot;){if(i*0!==0)throw Error(wl+i);if(i&gt;0)o.s=1;else if(i&lt;0)i=-i,o.s=-1;else{o.s=0,o.e=0,o.d=[0];return}if(i===~~i&amp;&amp;i&lt;1e7){o.e=0,o.d=[i];return}return gS(o,i.toString())}else if(typeof i!=&quot;string&quot;)throw Error(wl+i);if(i.charCodeAt(0)===45?(i=i.slice(1),o.s=-1):o.s=1,LX.test(i))gS(o,i);else throw Error(wl+i)}if(l.prototype=pt,l.ROUND_UP=0,l.ROUND_DOWN=1,l.ROUND_CEIL=2,l.ROUND_FLOOR=3,l.ROUND_HALF_UP=4,l.ROUND_HALF_DOWN=5,l.ROUND_HALF_EVEN=6,l.ROUND_HALF_CEIL=7,l.ROUND_HALF_FLOOR=8,l.clone=YE,l.config=l.set=FX,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 l.config(e),l}function FX(e){if(!e||typeof e!=&quot;object&quot;)throw Error(Xi+&quot;Object expected&quot;);var r,t,n,l=[&quot;precision&quot;,1,Gc,&quot;rounding&quot;,0,8,&quot;toExpNeg&quot;,-1/0,0,&quot;toExpPos&quot;,0,1/0];for(r=0;r&lt;l.length;r+=3)if((n=e[t=l[r]])!==void 0)if(Yc(n)===n&amp;&amp;n&gt;=l[r+1]&amp;&amp;n&lt;=l[r+2])this[t]=n;else throw Error(wl+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(wl+t+&quot;: &quot;+n);return this}var z2=YE(DX);ki=new z2(1);const fr=z2;var BX=e=&gt;e,ZE={},QE=e=&gt;e===ZE,bS=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)},JE=(e,r)=&gt;e===1?r:bS(function(){for(var t=arguments.length,n=new Array(t),l=0;l&lt;t;l++)n[l]=arguments[l];var i=n.filter(o=&gt;o!==ZE).length;return i&gt;=e?r(...n):JE(e-i,bS(function(){for(var o=arguments.length,u=new Array(o),c=0;c&lt;o;c++)u[c]=arguments[c];var a=n.map(d=&gt;QE(d)?u.shift():d);return r(...a,...u)}))}),zX=e=&gt;JE(e.length,e),Fv=(e,r)=&gt;{for(var t=[],n=e;n&lt;r;++n)t[n-e]=n;return t},$X=zX((e,r)=&gt;Array.isArray(r)?r.map(e):Object.keys(r).map(t=&gt;r[t]).map(e)),UX=function(){for(var r=arguments.length,t=new Array(r),n=0;n&lt;r;n++)t[n]=arguments[n];if(!t.length)return BX;var l=t.reverse(),i=l[0],o=l.slice(1);return function(){return o.reduce((u,c)=&gt;c(u),i(...arguments))}};function e9(e){var r;return e===0?r=1:r=Math.floor(new fr(e).abs().log(10).toNumber())+1,r}function t9(e,r,t){for(var n=new fr(e),l=0,i=[];n.lt(r)&amp;&amp;l&lt;1e5;)i.push(n.toNumber()),n=n.add(t),l++;return i}var r9=e=&gt;{var[r,t]=e,[n,l]=[r,t];return r&gt;t&amp;&amp;([n,l]=[t,r]),[n,l]},n9=(e,r,t)=&gt;{if(e.lte(0))return new fr(0);var n=e9(e.toNumber()),l=new fr(10).pow(n),i=e.div(l),o=n!==1?.05:.1,u=new fr(Math.ceil(i.div(o).toNumber())).add(t).mul(o),c=u.mul(l);return r?new fr(c.toNumber()):new fr(Math.ceil(c.toNumber()))},VX=(e,r,t)=&gt;{var n=new fr(1),l=new fr(e);if(!l.isint()&amp;&amp;t){var i=Math.abs(e);i&lt;1?(n=new fr(10).pow(e9(e)-1),l=new fr(Math.floor(l.div(n).toNumber())).mul(n)):i&gt;1&amp;&amp;(l=new fr(Math.floor(e)))}else e===0?l=new fr(Math.floor((r-1)/2)):t||(l=new fr(Math.floor(e)));var o=Math.floor((r-1)/2),u=UX($X(c=&gt;l.add(new fr(c-o).mul(n)).toNumber()),Fv);return u(0,r)},i9=function(r,t,n,l){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 fr(0),tickMin:new fr(0),tickMax:new fr(0)};var o=n9(new fr(t).sub(r).div(n-1),l,i),u;r&lt;=0&amp;&amp;t&gt;=0?u=new fr(0):(u=new fr(r).add(t).div(2),u=u.sub(new fr(u).mod(o)));var c=Math.ceil(u.sub(r).div(o).toNumber()),a=Math.ceil(new fr(t).sub(u).div(o).toNumber()),d=c+a+1;return d&gt;n?i9(r,t,n,l,i+1):(d&lt;n&amp;&amp;(a=t&gt;0?a+(n-d):a,c=t&gt;0?c:c+(n-d)),{step:o,tickMin:u.sub(new fr(c).mul(o)),tickMax:u.add(new fr(a).mul(o))})},qX=function(r){var[t,n]=r,l=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,o=Math.max(l,2),[u,c]=r9([t,n]);if(u===-1/0||c===1/0){var a=c===1/0?[u,...Fv(0,l-1).map(()=&gt;1/0)]:[...Fv(0,l-1).map(()=&gt;-1/0),c];return t&gt;n?a.reverse():a}if(u===c)return VX(u,l,i);var{step:d,tickMin:f,tickMax:h}=i9(u,c,o,i,0),m=t9(f,h.add(new fr(.1).mul(d)),d);return t&gt;n?m.reverse():m},HX=function(r,t){var[n,l]=r,i=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:!0,[o,u]=r9([n,l]);if(o===-1/0||u===1/0)return[n,l];if(o===u)return[o];var c=Math.max(t,2),a=n9(new fr(u).sub(o).div(c-1),i,0),d=[...t9(new fr(o),new fr(u),a),u];return i===!1&amp;&amp;(d=d.map(f=&gt;Math.round(f))),n&gt;l?d.reverse():d},s9=e=&gt;e.rootProps.maxBarSize,WX=e=&gt;e.rootProps.barGap,a9=e=&gt;e.rootProps.barCategoryGap,KX=e=&gt;e.rootProps.barSize,m0=e=&gt;e.rootProps.stackOffset,o9=e=&gt;e.rootProps.reverseStackOrder,$2=e=&gt;e.options.chartName,U2=e=&gt;e.rootProps.syncId,l9=e=&gt;e.rootProps.syncMethod,V2=e=&gt;e.options.eventEmitter,gn={grid:-100,barBackground:-50,area:100,cursorRectangle:200,bar:300,line:400,axis:500,scatter:600,activeBar:1e3,cursorLine:1100,activeDot:1200,label:2e3},fa={allowDuplicatedCategory:!0,angleAxisId:0,reversed:!1,scale:&quot;auto&quot;,tick:!0,type:&quot;category&quot;},Si={allowDataOverflow:!1,allowDuplicatedCategory:!0,radiusAxisId:0,scale:&quot;auto&quot;,tick:!0,tickCount:5,type:&quot;number&quot;},p0=(e,r)=&gt;{if(!(!e||!r))return e!=null&amp;&amp;e.reversed?[r[1],r[0]]:r},XX={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!1,dataKey:void 0,domain:void 0,id:fa.angleAxisId,includeHidden:!1,name:void 0,reversed:fa.reversed,scale:fa.scale,tick:fa.tick,tickCount:void 0,ticks:void 0,type:fa.type,unit:void 0},GX={allowDataOverflow:Si.allowDataOverflow,allowDecimals:!1,allowDuplicatedCategory:Si.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:Si.radiusAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:Si.scale,tick:Si.tick,tickCount:Si.tickCount,ticks:void 0,type:Si.type,unit:void 0},YX={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:fa.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:fa.angleAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:fa.scale,tick:fa.tick,tickCount:void 0,ticks:void 0,type:&quot;number&quot;,unit:void 0},ZX={allowDataOverflow:Si.allowDataOverflow,allowDecimals:!1,allowDuplicatedCategory:Si.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:Si.radiusAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:Si.scale,tick:Si.tick,tickCount:Si.tickCount,ticks:void 0,type:&quot;category&quot;,unit:void 0},q2=(e,r)=&gt;e.polarAxis.angleAxis[r]!=null?e.polarAxis.angleAxis[r]:e.layout.layoutType===&quot;radial&quot;?YX:XX,H2=(e,r)=&gt;e.polarAxis.radiusAxis[r]!=null?e.polarAxis.radiusAxis[r]:e.layout.layoutType===&quot;radial&quot;?ZX:GX,g0=e=&gt;e.polarOptions,W2=Pe([Oa,Pa,xn],HH),c9=Pe([g0,W2],(e,r)=&gt;{if(e!=null)return vs(e.innerRadius,r,0)}),u9=Pe([g0,W2],(e,r)=&gt;{if(e!=null)return vs(e.outerRadius,r,r*.8)}),QX=e=&gt;{if(e==null)return[0,0];var{startAngle:r,endAngle:t}=e;return[r,t]},d9=Pe([g0],QX);Pe([q2,d9],p0);var f9=Pe([W2,c9,u9],(e,r,t)=&gt;{if(!(e==null||r==null||t==null))return[r,t]});Pe([H2,f9],p0);var h9=Pe([ar,g0,c9,u9,Oa,Pa],(e,r,t,n,l,i)=&gt;{if(!(e!==&quot;centric&quot;&amp;&amp;e!==&quot;radial&quot;||r==null||t==null||n==null)){var{cx:o,cy:u,startAngle:c,endAngle:a}=r;return{cx:vs(o,l,l/2),cy:vs(u,i,i/2),innerRadius:t,outerRadius:n,startAngle:c,endAngle:a,clockWise:!1}}}),nn=(e,r)=&gt;r,x0=(e,r,t)=&gt;t;function K2(e){return e?.id}function m9(e,r,t){var{chartData:n=[]}=r,{allowDuplicatedCategory:l,dataKey:i}=t,o=new Map;return e.forEach(u=&gt;{var c,a=(c=u.data)!==null&amp;&amp;c!==void 0?c:n;if(!(a==null||a.length===0)){var d=K2(u);a.forEach((f,h)=&gt;{var m=i==null||l?h:String(Yr(f,i,null)),p=Yr(f,u.dataKey,0),x;o.has(m)?x=o.get(m):x={},Object.assign(x,{[d]:p}),o.set(m,x)})}}),Array.from(o.values())}function b0(e){return&quot;stackId&quot;in e&amp;&amp;e.stackId!=null&amp;&amp;e.dataKey!=null}var y0=(e,r)=&gt;e===r?!0:e==null||r==null?!1:e[0]===r[0]&amp;&amp;e[1]===r[1];function v0(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 JX(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 sn=e=&gt;{var r=ar(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;},Zc=e=&gt;e.tooltip.settings.axisId;function yS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function fp(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?yS(Object(t),!0).forEach(function(n){eG(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function eG(e,r,t){return(r=tG(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function tG(e){var r=rG(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function rG(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 Bv=[0,&quot;auto&quot;],fn={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},p9=(e,r)=&gt;e.cartesianAxis.xAxis[r],Ra=(e,r)=&gt;{var t=p9(e,r);return t??fn},hn={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:Bv,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:Qd},g9=(e,r)=&gt;e.cartesianAxis.yAxis[r],Da=(e,r)=&gt;{var t=g9(e,r);return t??hn},nG={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;},X2=(e,r)=&gt;{var t=e.cartesianAxis.zAxis[r];return t??nG},si=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return Ra(e,t);case&quot;yAxis&quot;:return Da(e,t);case&quot;zAxis&quot;:return X2(e,t);case&quot;angleAxis&quot;:return q2(e,t);case&quot;radiusAxis&quot;:return H2(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},iG=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return Ra(e,t);case&quot;yAxis&quot;:return Da(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},sf=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return Ra(e,t);case&quot;yAxis&quot;:return Da(e,t);case&quot;angleAxis&quot;:return q2(e,t);case&quot;radiusAxis&quot;:return H2(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},x9=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 b9(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 w0=e=&gt;e.graphicalItems.cartesianItems,sG=Pe([nn,x0],b9),y9=(e,r,t)=&gt;e.filter(t).filter(n=&gt;r?.includeHidden===!0?!0:!n.hide),af=Pe([w0,si,sG],y9,{memoizeOptions:{resultEqualityCheck:v0}}),v9=Pe([af],e=&gt;e.filter(r=&gt;r.type===&quot;area&quot;||r.type===&quot;bar&quot;).filter(b0)),w9=e=&gt;e.filter(r=&gt;!(&quot;stackId&quot;in r)||r.stackId===void 0),aG=Pe([af],w9),_9=e=&gt;e.map(r=&gt;r.data).filter(Boolean).flat(1),oG=Pe([af],_9,{memoizeOptions:{resultEqualityCheck:v0}}),j9=(e,r)=&gt;{var{chartData:t=[],dataStartIndex:n,dataEndIndex:l}=r;return e.length&gt;0?e:t.slice(n,l+1)},G2=Pe([oG,F2],j9),S9=(e,r,t)=&gt;r?.dataKey!=null?e.map(n=&gt;({value:Yr(n,r.dataKey)})):t.length&gt;0?t.map(n=&gt;n.dataKey).flatMap(n=&gt;e.map(l=&gt;({value:Yr(l,n)}))):e.map(n=&gt;({value:n})),_0=Pe([G2,si,af],S9);function k9(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 fm(e){if($s(e)||e instanceof Date){var r=Number(e);if(Rr(r))return r}}function vS(e){if(Array.isArray(e)){var r=[fm(e[0]),fm(e[1])];return _o(r)?r:void 0}var t=fm(e);if(t!=null)return[t,t]}function Ea(e){return e.map(fm).filter(Kz)}function lG(e,r,t){return!t||typeof r!=&quot;number&quot;||ys(r)?[]:t.length?Ea(t.flatMap(n=&gt;{var l=Yr(e,n.dataKey),i,o;if(Array.isArray(l)?[i,o]=l:i=o=l,!(!Rr(i)||!Rr(o)))return[r-i,r+o]})):[]}var an=e=&gt;{var r=sn(e),t=Zc(e);return sf(e,r,t)},of=Pe([an],e=&gt;e?.dataKey),cG=Pe([v9,F2,an],m9),N9=(e,r,t,n)=&gt;{var l={},i=r.reduce((o,u)=&gt;{if(u.stackId==null)return o;var c=o[u.stackId];return c==null&amp;&amp;(c=[]),c.push(u),o[u.stackId]=c,o},l);return Object.fromEntries(Object.entries(i).map(o=&gt;{var[u,c]=o,a=n?[...c].reverse():c,d=a.map(K2);return[u,{stackedData:wV(e,d,t),graphicalItems:a}]}))},zv=Pe([cG,v9,m0,o9],N9),C9=(e,r,t,n)=&gt;{var{dataStartIndex:l,dataEndIndex:i}=r;if(n==null&amp;&amp;t!==&quot;zAxis&quot;){var o=NV(e,l,i);if(!(o!=null&amp;&amp;o[0]===0&amp;&amp;o[1]===0))return o}},uG=Pe([si],e=&gt;e.allowDataOverflow),Y2=e=&gt;{var r;if(e==null||!(&quot;domain&quot;in e))return Bv;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=Ea(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:Bv},E9=Pe([si],Y2),A9=Pe([E9,uG],HE),dG=Pe([zv,Ia,nn,A9],C9,{memoizeOptions:{resultEqualityCheck:y0}}),Z2=e=&gt;e.errorBars,fG=(e,r,t)=&gt;e.flatMap(n=&gt;r[n.id]).filter(Boolean).filter(n=&gt;k9(t,n)),hp=function(){for(var r=arguments.length,t=new Array(r),n=0;n&lt;r;n++)t[n]=arguments[n];var l=t.filter(Boolean);if(l.length!==0){var i=l.flat(),o=Math.min(...i),u=Math.max(...i);return[o,u]}},M9=(e,r,t,n,l)=&gt;{var i,o;if(t.length&gt;0&amp;&amp;e.forEach(u=&gt;{t.forEach(c=&gt;{var a,d,f=(a=n[c.id])===null||a===void 0?void 0:a.filter(y=&gt;k9(l,y)),h=Yr(u,(d=r.dataKey)!==null&amp;&amp;d!==void 0?d:c.dataKey),m=lG(u,h,f);if(m.length&gt;=2){var p=Math.min(...m),x=Math.max(...m);(i==null||p&lt;i)&amp;&amp;(i=p),(o==null||x&gt;o)&amp;&amp;(o=x)}var g=vS(h);g!=null&amp;&amp;(i=i==null?g[0]:Math.min(i,g[0]),o=o==null?g[1]:Math.max(o,g[1]))})}),r?.dataKey!=null&amp;&amp;e.forEach(u=&gt;{var c=vS(Yr(u,r.dataKey));c!=null&amp;&amp;(i=i==null?c[0]:Math.min(i,c[0]),o=o==null?c[1]:Math.max(o,c[1]))}),Rr(i)&amp;&amp;Rr(o))return[i,o]},hG=Pe([G2,si,aG,Z2,nn],M9,{memoizeOptions:{resultEqualityCheck:y0}});function mG(e){var{value:r}=e;if($s(r)||r instanceof Date)return r}var pG=(e,r,t)=&gt;{var n=e.map(mG).filter(l=&gt;l!=null);return t&amp;&amp;(r.dataKey==null||r.allowDuplicatedCategory&amp;&amp;HC(n))?uE(0,e.length):r.allowDuplicatedCategory?n:Array.from(new Set(n))},O9=e=&gt;e.referenceElements.dots,Qc=(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),gG=Pe([O9,nn,x0],Qc),P9=e=&gt;e.referenceElements.areas,xG=Pe([P9,nn,x0],Qc),T9=e=&gt;e.referenceElements.lines,bG=Pe([T9,nn,x0],Qc),I9=(e,r)=&gt;{if(e!=null){var t=Ea(e.map(n=&gt;r===&quot;xAxis&quot;?n.x:n.y));if(t.length!==0)return[Math.min(...t),Math.max(...t)]}},yG=Pe(gG,nn,I9),R9=(e,r)=&gt;{if(e!=null){var t=Ea(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)]}},vG=Pe([xG,nn],R9);function wG(e){var r;if(e.x!=null)return Ea([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?[]:Ea(t)}function _G(e){var r;if(e.y!=null)return Ea([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?[]:Ea(t)}var D9=(e,r)=&gt;{if(e!=null){var t=e.flatMap(n=&gt;r===&quot;xAxis&quot;?wG(n):_G(n));if(t.length!==0)return[Math.min(...t),Math.max(...t)]}},jG=Pe([bG,nn],D9),SG=Pe(yG,jG,vG,(e,r,t)=&gt;hp(e,t,r)),L9=(e,r,t,n,l,i,o,u)=&gt;{if(t!=null)return t;var c=o===&quot;vertical&quot;&amp;&amp;u===&quot;xAxis&quot;||o===&quot;horizontal&quot;&amp;&amp;u===&quot;yAxis&quot;,a=c?hp(n,i,l):hp(i,l);return RX(r,a,e.allowDataOverflow)},kG=Pe([si,E9,A9,dG,hG,SG,ar,nn],L9,{memoizeOptions:{resultEqualityCheck:y0}}),NG=[0,1],F9=(e,r,t,n,l,i,o)=&gt;{if(!((e==null||t==null||t.length===0)&amp;&amp;o===void 0)){var{dataKey:u,type:c}=e,a=Co(r,i);if(a&amp;&amp;u==null){var d;return uE(0,(d=t?.length)!==null&amp;&amp;d!==void 0?d:0)}return c===&quot;category&quot;?pG(n,e,a):l===&quot;expand&quot;?NG:o}},Q2=Pe([si,ar,G2,_0,m0,nn,kG],F9),B9=(e,r,t,n,l)=&gt;{if(e!=null){var{scale:i,type:o}=e;if(i===&quot;auto&quot;)return r===&quot;radial&quot;&amp;&amp;l===&quot;radiusAxis&quot;?&quot;band&quot;:r===&quot;radial&quot;&amp;&amp;l===&quot;angleAxis&quot;?&quot;linear&quot;:o===&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;:o===&quot;category&quot;?&quot;band&quot;:&quot;linear&quot;;if(typeof i==&quot;string&quot;){var u=&quot;scale&quot;.concat(Xd(i));return u in cd?u:&quot;point&quot;}}},lf=Pe([si,ar,x9,$2,nn],B9);function CG(e){if(e!=null){if(e in cd)return cd[e]();var r=&quot;scale&quot;.concat(Xd(e));if(r in cd)return cd[r]()}}function J2(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 l=CG(r);if(l!=null){var i=l.domain(t).range(n);return gV(i),i}}}var z9=(e,r,t)=&gt;{var n=Y2(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;_o(e))return qX(e,r.tickCount,r.allowDecimals);if(r!=null&amp;&amp;r.tickCount&amp;&amp;r.type===&quot;number&quot;&amp;&amp;_o(e))return HX(e,r.tickCount,r.allowDecimals)}},ew=Pe([Q2,sf,lf],z9),$9=(e,r,t,n)=&gt;{if(n!==&quot;angleAxis&quot;&amp;&amp;e?.type===&quot;number&quot;&amp;&amp;_o(r)&amp;&amp;Array.isArray(t)&amp;&amp;t.length&gt;0){var l=r[0],i=t[0],o=r[1],u=t[t.length-1];return[Math.min(l,i),Math.max(o,u)]}return r},EG=Pe([si,Q2,ew,nn],$9),AG=Pe(_0,si,(e,r)=&gt;{if(!(!r||r.type!==&quot;number&quot;)){var t=1/0,n=Array.from(Ea(e.map(f=&gt;f.value))).sort((f,h)=&gt;f-h),l=n[0],i=n[n.length-1];if(l==null||i==null)return 1/0;var o=i-l;if(o===0)return 1/0;for(var u=0;u&lt;n.length-1;u++){var c=n[u],a=n[u+1];if(!(c==null||a==null)){var d=a-c;t=Math.min(t,d)}}return t/o}}),U9=Pe(AG,ar,a9,xn,(e,r,t,n,l)=&gt;l,(e,r,t,n,l)=&gt;{if(!Rr(e))return 0;var i=r===&quot;vertical&quot;?n.height:n.width;if(l===&quot;gap&quot;)return e*i/2;if(l===&quot;no-gap&quot;){var o=vs(t,e*i),u=e*i/2;return u-o-(u-o)/i*o}return 0}),MG=(e,r,t)=&gt;{var n=Ra(e,r);return n==null||typeof n.padding!=&quot;string&quot;?0:U9(e,&quot;xAxis&quot;,r,t,n.padding)},OG=(e,r,t)=&gt;{var n=Da(e,r);return n==null||typeof n.padding!=&quot;string&quot;?0:U9(e,&quot;yAxis&quot;,r,t,n.padding)},PG=Pe(Ra,MG,(e,r)=&gt;{var t,n;if(e==null)return{left:0,right:0};var{padding:l}=e;return typeof l==&quot;string&quot;?{left:r,right:r}:{left:((t=l.left)!==null&amp;&amp;t!==void 0?t:0)+r,right:((n=l.right)!==null&amp;&amp;n!==void 0?n:0)+r}}),TG=Pe(Da,OG,(e,r)=&gt;{var t,n;if(e==null)return{top:0,bottom:0};var{padding:l}=e;return typeof l==&quot;string&quot;?{top:r,bottom:r}:{top:((t=l.top)!==null&amp;&amp;t!==void 0?t:0)+r,bottom:((n=l.bottom)!==null&amp;&amp;n!==void 0?n:0)+r}}),IG=Pe([xn,PG,Jp,Qp,(e,r,t)=&gt;t],(e,r,t,n,l)=&gt;{var{padding:i}=n;return l?[i.left,t.width-i.right]:[e.left+r.left,e.left+e.width-r.right]}),RG=Pe([xn,ar,TG,Jp,Qp,(e,r,t)=&gt;t],(e,r,t,n,l,i)=&gt;{var{padding:o}=l;return i?[n.height-o.bottom,o.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]}),cf=(e,r,t,n)=&gt;{var l;switch(r){case&quot;xAxis&quot;:return IG(e,t,n);case&quot;yAxis&quot;:return RG(e,t,n);case&quot;zAxis&quot;:return(l=X2(e,t))===null||l===void 0?void 0:l.range;case&quot;angleAxis&quot;:return d9(e);case&quot;radiusAxis&quot;:return f9(e,t);default:return}},V9=Pe([si,cf],p0),j0=Pe([si,lf,EG,V9],J2);Pe([af,Z2,nn],fG);function q9(e,r){return e.id&lt;r.id?-1:e.id&gt;r.id?1:0}var S0=(e,r)=&gt;r,k0=(e,r,t)=&gt;t,DG=Pe(Yp,S0,k0,(e,r,t)=&gt;e.filter(n=&gt;n.orientation===r).filter(n=&gt;n.mirror===t).sort(q9)),LG=Pe(Zp,S0,k0,(e,r,t)=&gt;e.filter(n=&gt;n.orientation===r).filter(n=&gt;n.mirror===t).sort(q9)),H9=(e,r)=&gt;({width:e.width,height:r.height}),FG=(e,r)=&gt;{var t=typeof r.width==&quot;number&quot;?r.width:Qd;return{width:t,height:e.height}},W9=Pe(xn,Ra,H9),BG=(e,r,t)=&gt;{switch(r){case&quot;top&quot;:return e.top;case&quot;bottom&quot;:return t-e.bottom;default:return 0}},zG=(e,r,t)=&gt;{switch(r){case&quot;left&quot;:return e.left;case&quot;right&quot;:return t-e.right;default:return 0}},$G=Pe(Pa,xn,DG,S0,k0,(e,r,t,n,l)=&gt;{var i={},o;return t.forEach(u=&gt;{var c=H9(r,u);o==null&amp;&amp;(o=BG(r,n,e));var a=n===&quot;top&quot;&amp;&amp;!l||n===&quot;bottom&quot;&amp;&amp;l;i[u.id]=o-Number(a)*c.height,o+=(a?-1:1)*c.height}),i}),UG=Pe(Oa,xn,LG,S0,k0,(e,r,t,n,l)=&gt;{var i={},o;return t.forEach(u=&gt;{var c=FG(r,u);o==null&amp;&amp;(o=zG(r,n,e));var a=n===&quot;left&quot;&amp;&amp;!l||n===&quot;right&quot;&amp;&amp;l;i[u.id]=o-Number(a)*c.width,o+=(a?-1:1)*c.width}),i}),VG=(e,r)=&gt;{var t=Ra(e,r);if(t!=null)return $G(e,t.orientation,t.mirror)},qG=Pe([xn,Ra,VG,(e,r)=&gt;r],(e,r,t,n)=&gt;{if(r!=null){var l=t?.[n];return l==null?{x:e.left,y:0}:{x:e.left,y:l}}}),HG=(e,r)=&gt;{var t=Da(e,r);if(t!=null)return UG(e,t.orientation,t.mirror)},WG=Pe([xn,Da,HG,(e,r)=&gt;r],(e,r,t,n)=&gt;{if(r!=null){var l=t?.[n];return l==null?{x:0,y:e.top}:{x:l,y:e.top}}}),K9=Pe(xn,Da,(e,r)=&gt;{var t=typeof r.width==&quot;number&quot;?r.width:Qd;return{width:t,height:e.height}}),wS=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return W9(e,t).width;case&quot;yAxis&quot;:return K9(e,t).height;default:return}},X9=(e,r,t,n)=&gt;{if(t!=null){var{allowDuplicatedCategory:l,type:i,dataKey:o}=t,u=Co(e,n),c=r.map(a=&gt;a.value);if(o&amp;&amp;u&amp;&amp;i===&quot;category&quot;&amp;&amp;l&amp;&amp;HC(c))return c}},tw=Pe([ar,_0,si,nn],X9),G9=(e,r,t,n)=&gt;{if(!(t==null||t.dataKey==null)){var{type:l,scale:i}=t,o=Co(e,n);if(o&amp;&amp;(l===&quot;number&quot;||i!==&quot;auto&quot;))return r.map(u=&gt;u.value)}},rw=Pe([ar,_0,sf,nn],G9),_S=Pe([ar,iG,lf,j0,tw,rw,cf,ew,nn],(e,r,t,n,l,i,o,u,c)=&gt;{if(r!=null){var a=Co(e,c);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:c,categoricalDomain:i,duplicateDomain:l,isCategorical:a,niceTicks:u,range:o,realScaleType:t,scale:n}}}),KG=(e,r,t,n,l,i,o,u,c)=&gt;{if(!(r==null||n==null)){var a=Co(e,c),{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=c===&quot;angleAxis&quot;&amp;&amp;i!=null&amp;&amp;i.length&gt;=2?hi(i[0]-i[1])*2*p:p;var x=f||l;if(x){var g=x.map((y,v)=&gt;{var _=o?o.indexOf(y):y;return{index:v,coordinate:n(_)+p,value:y,offset:p}});return g.filter(y=&gt;Rr(y.coordinate))}return a&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:o?o[y]:y,index:v,offset:p}))}},Y9=Pe([ar,sf,lf,j0,ew,cf,tw,rw,nn],KG),XG=(e,r,t,n,l,i,o)=&gt;{if(!(r==null||t==null||n==null||n[0]===n[1])){var u=Co(e,o),{tickCount:c}=r,a=0;return a=o===&quot;angleAxis&quot;&amp;&amp;n?.length&gt;=2?hi(n[0]-n[1])*2*a:a,u&amp;&amp;i?i.map((d,f)=&gt;({coordinate:t(d)+a,value:d,index:f,offset:a})):t.ticks?t.ticks(c).map(d=&gt;({coordinate:t(d)+a,value:d,offset:a})):t.domain().map((d,f)=&gt;({coordinate:t(d)+a,value:l?l[d]:d,index:f,offset:a}))}},jo=Pe([ar,sf,j0,cf,tw,rw,nn],XG),So=Pe(si,j0,(e,r)=&gt;{if(!(e==null||r==null))return fp(fp({},e),{},{scale:r})}),GG=Pe([si,lf,Q2,V9],J2);Pe((e,r,t)=&gt;X2(e,t),GG,(e,r)=&gt;{if(!(e==null||r==null))return fp(fp({},e),{},{scale:r})});var YG=Pe([ar,Yp,Zp],(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}}),Z9=e=&gt;e.options.defaultTooltipEventType,Q9=e=&gt;e.options.validateTooltipEventTypes;function J9(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 nw(e,r){var t=Z9(e),n=Q9(e);return J9(r,t,n)}function ZG(e){return kt(r=&gt;nw(r,e))}var eA=(e,r)=&gt;{var t,n=Number(r);if(!(ys(n)||r==null))return n&gt;=0?e==null||(t=e[n])===null||t===void 0?void 0:t.value:void 0},QG=e=&gt;e.tooltip.settings,uo={active:!1,index:null,dataKey:void 0,graphicalItemId:void 0,coordinate:void 0},JG={itemInteraction:{click:uo,hover:uo},axisInteraction:{click:uo,hover:uo},keyboardInteraction:uo,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}},tA=gi({name:&quot;tooltip&quot;,initialState:JG,reducers:{addTooltipEntrySettings:{reducer(e,r){e.tooltipItemPayloads.push(r.payload)},prepare:Nr()},replaceTooltipEntrySettings:{reducer(e,r){var{prev:t,next:n}=r.payload,l=xs(e).tooltipItemPayloads.indexOf(t);l&gt;-1&amp;&amp;(e.tooltipItemPayloads[l]=n)},prepare:Nr()},removeTooltipEntrySettings:{reducer(e,r){var t=xs(e).tooltipItemPayloads.indexOf(r.payload);t&gt;-1&amp;&amp;e.tooltipItemPayloads.splice(t,1)},prepare:Nr()},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:eY,replaceTooltipEntrySettings:tY,removeTooltipEntrySettings:rY,setTooltipSettingsState:nY,setActiveMouseOverItemIndex:rA,mouseLeaveItem:iY,mouseLeaveChart:nA,setActiveClickItemIndex:sY,setMouseOverAxisIndex:iA,setMouseClickAxisIndex:aY,setSyncInteraction:$v,setKeyboardInteraction:Uv}=tA.actions,oY=tA.reducer;function jS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Gh(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){lY(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 lY(e,r,t){return(r=cY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function cY(e){var r=uY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function uY(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 dY(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 fY(e){return e.index!=null}var sA=(e,r,t,n)=&gt;{if(r==null)return uo;var l=dY(e,r,t);if(l==null)return uo;if(l.active)return l;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(fY(l)){if(i)return Gh(Gh({},l),{},{active:!0})}else if(n!=null)return{active:!0,coordinate:void 0,dataKey:void 0,index:n,graphicalItemId:void 0};return Gh(Gh({},uo),{},{coordinate:l.coordinate})};function hY(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 mY(e,r){var t=hY(e),n=r[0],l=r[1];if(t===void 0)return!1;var i=Math.min(n,l),o=Math.max(n,l);return t&gt;=i&amp;&amp;t&lt;=o}function pY(e,r,t){if(t==null||r==null)return!0;var n=Yr(e,r);return n==null||!_o(t)?!0:mY(n,t)}var iw=(e,r,t,n)=&gt;{var l=e?.index;if(l==null)return null;var i=Number(l);if(!Rr(i))return l;var o=0,u=1/0;r.length&gt;0&amp;&amp;(u=r.length-1);var c=Math.max(o,Math.min(i,u)),a=r[c];return a==null||pY(a,t,n)?String(c):null},aA=(e,r,t,n,l,i,o,u)=&gt;{if(!(i==null||u==null)){var c=o[0],a=c==null?void 0:u(c.positions,i);if(a!=null)return a;var d=l?.[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}}},oA=(e,r,t,n)=&gt;{if(r===&quot;axis&quot;)return e.tooltipItemPayloads;if(e.tooltipItemPayloads.length===0)return[];var l;if(t===&quot;hover&quot;?l=e.itemInteraction.hover.graphicalItemId:l=e.itemInteraction.click.graphicalItemId,l==null&amp;&amp;n!=null){var i=e.tooltipItemPayloads[0];return i!=null?[i]:[]}return e.tooltipItemPayloads.filter(o=&gt;{var u;return((u=o.settings)===null||u===void 0?void 0:u.graphicalItemId)===l})},uf=e=&gt;e.options.tooltipPayloadSearcher,Jc=e=&gt;e.tooltip;function SS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function kS(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?SS(Object(t),!0).forEach(function(n){gY(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):SS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function gY(e,r,t){return(r=xY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function xY(e){var r=bY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function bY(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 yY(e,r){return e??r}var lA=(e,r,t,n,l,i,o)=&gt;{if(!(r==null||i==null)){var{chartData:u,computedData:c,dataStartIndex:a,dataEndIndex:d}=t,f=[];return e.reduce((h,m)=&gt;{var p,{dataDefinedOnItem:x,settings:g}=m,y=yY(x,u),v=Array.isArray(y)?F7(y,a,d):y,_=(p=g?.dataKey)!==null&amp;&amp;p!==void 0?p:n,C=g?.nameKey,M;if(n&amp;&amp;Array.isArray(v)&amp;&amp;!Array.isArray(v[0])&amp;&amp;o===&quot;axis&quot;?M=WC(v,n,l):M=i(v,r,c,C),Array.isArray(M))M.forEach($=&gt;{var F=kS(kS({},g),{},{name:$.name,unit:$.unit,color:void 0,fill:void 0});h.push(E5({tooltipEntrySettings:F,dataKey:$.dataKey,payload:$.payload,value:Yr($.payload,$.dataKey),name:$.name}))});else{var T;h.push(E5({tooltipEntrySettings:g,dataKey:_,payload:M,value:Yr(M,_),name:(T=Yr(M,C))!==null&amp;&amp;T!==void 0?T:g?.name}))}return h},f)}},sw=Pe([an,ar,x9,$2,sn],B9),vY=Pe([e=&gt;e.graphicalItems.cartesianItems,e=&gt;e.graphicalItems.polarItems],(e,r)=&gt;[...e,...r]),wY=Pe([sn,Zc],b9),eu=Pe([vY,an,wY],y9,{memoizeOptions:{resultEqualityCheck:v0}}),_Y=Pe([eu],e=&gt;e.filter(b0)),jY=Pe([eu],_9,{memoizeOptions:{resultEqualityCheck:v0}}),tu=Pe([jY,Ia],j9),SY=Pe([_Y,Ia,an],m9),aw=Pe([tu,an,eu],S9),cA=Pe([an],Y2),kY=Pe([an],e=&gt;e.allowDataOverflow),uA=Pe([cA,kY],HE),NY=Pe([eu],e=&gt;e.filter(b0)),CY=Pe([SY,NY,m0,o9],N9),EY=Pe([CY,Ia,sn,uA],C9),AY=Pe([eu],w9),MY=Pe([tu,an,AY,Z2,sn],M9,{memoizeOptions:{resultEqualityCheck:y0}}),OY=Pe([O9,sn,Zc],Qc),PY=Pe([OY,sn],I9),TY=Pe([P9,sn,Zc],Qc),IY=Pe([TY,sn],R9),RY=Pe([T9,sn,Zc],Qc),DY=Pe([RY,sn],D9),LY=Pe([PY,DY,IY],hp),FY=Pe([an,cA,uA,EY,MY,LY,ar,sn],L9),df=Pe([an,ar,tu,aw,m0,sn,FY],F9),BY=Pe([df,an,sw],z9),zY=Pe([an,df,BY,sn],$9),dA=e=&gt;{var r=sn(e),t=Zc(e),n=!1;return cf(e,r,t,n)},fA=Pe([an,dA],p0),hA=Pe([an,sw,zY,fA],J2),$Y=Pe([ar,aw,an,sn],X9),UY=Pe([ar,aw,an,sn],G9),VY=(e,r,t,n,l,i,o,u)=&gt;{if(r){var{type:c}=r,a=Co(e,u);if(n){var d=t===&quot;scaleBand&quot;&amp;&amp;n.bandwidth?n.bandwidth()/2:2,f=c===&quot;category&quot;&amp;&amp;n.bandwidth?n.bandwidth()/d:0;return f=u===&quot;angleAxis&quot;&amp;&amp;l!=null&amp;&amp;l?.length&gt;=2?hi(l[0]-l[1])*2*f:f,a&amp;&amp;o?o.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}))}}},La=Pe([ar,an,sw,hA,dA,$Y,UY,sn],VY),ow=Pe([Z9,Q9,QG],(e,r,t)=&gt;J9(t.shared,e,r)),mA=e=&gt;e.tooltip.settings.trigger,lw=e=&gt;e.tooltip.settings.defaultIndex,ff=Pe([Jc,ow,mA,lw],sA),El=Pe([ff,tu,of,df],iw),pA=Pe([La,El],eA),gA=Pe([ff],e=&gt;{if(e)return e.dataKey});Pe([ff],e=&gt;{if(e)return e.graphicalItemId});var xA=Pe([Jc,ow,mA,lw],oA),qY=Pe([Oa,Pa,ar,xn,La,lw,xA,uf],aA),HY=Pe([ff,qY],(e,r)=&gt;e!=null&amp;&amp;e.coordinate?e.coordinate:r),WY=Pe([ff],e=&gt;{var r;return(r=e?.active)!==null&amp;&amp;r!==void 0?r:!1}),KY=Pe([xA,El,Ia,of,pA,uf,ow],lA),XY=Pe([KY],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 NS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function CS(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?NS(Object(t),!0).forEach(function(n){GY(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):NS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function GY(e,r,t){return(r=YY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function YY(e){var r=ZY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function ZY(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=()=&gt;kt(an),JY=()=&gt;{var e=QY(),r=kt(La),t=kt(hA);return Rc(!e||!t?void 0:CS(CS({},e),{},{scale:t}),r)};function ES(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function bc(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ES(Object(t),!0).forEach(function(n){eZ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ES(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function eZ(e,r,t){return(r=tZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function tZ(e){var r=rZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function rZ(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 nZ=(e,r,t,n)=&gt;{var l=r.find(i=&gt;i&amp;&amp;i.index===t);if(l){if(e===&quot;horizontal&quot;)return{x:l.coordinate,y:n.chartY};if(e===&quot;vertical&quot;)return{x:n.chartX,y:l.coordinate}}return{x:0,y:0}},iZ=(e,r,t,n)=&gt;{var l=r.find(a=&gt;a&amp;&amp;a.index===t);if(l){if(e===&quot;centric&quot;){var i=l.coordinate,{radius:o}=n;return bc(bc(bc({},n),Mn(n.cx,n.cy,o,i)),{},{angle:i,radius:o})}var u=l.coordinate,{angle:c}=n;return bc(bc(bc({},n),Mn(n.cx,n.cy,u,c)),{},{angle:c,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 sZ(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 bA=(e,r,t,n,l)=&gt;{var i,o=(i=r?.length)!==null&amp;&amp;i!==void 0?i:0;if(o&lt;=1||e==null)return 0;if(n===&quot;angleAxis&quot;&amp;&amp;l!=null&amp;&amp;Math.abs(Math.abs(l[1]-l[0])-360)&lt;=1e-6)for(var u=0;u&lt;o;u++){var c,a,d,f,h,m=u&gt;0?(c=t[u-1])===null||c===void 0?void 0:c.coordinate:(a=t[o-1])===null||a===void 0?void 0:a.coordinate,p=(d=t[u])===null||d===void 0?void 0:d.coordinate,x=u&gt;=o-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||x==null))if(hi(p-m)!==hi(x-p)){var y=[];if(hi(x-p)===hi(l[1]-l[0])){g=x;var v=p+l[1]-l[0];y[0]=Math.min(v,(v+m)/2),y[1]=Math.max(v,(v+m)/2)}else{g=m;var _=x+l[1]-l[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 M;return(M=t[u])===null||M===void 0?void 0:M.index}}else{var T=Math.min(m,x),$=Math.max(m,x);if(e&gt;(T+p)/2&amp;&amp;e&lt;=($+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;o;H++){var W=r[H];if(W!=null){var q=r[H+1],K=r[H-1];if(H===0&amp;&amp;q!=null&amp;&amp;e&lt;=(W.coordinate+q.coordinate)/2||H===o-1&amp;&amp;K!=null&amp;&amp;e&gt;(W.coordinate+K.coordinate)/2||H&gt;0&amp;&amp;H&lt;o-1&amp;&amp;K!=null&amp;&amp;q!=null&amp;&amp;e&gt;(W.coordinate+K.coordinate)/2&amp;&amp;e&lt;=(W.coordinate+q.coordinate)/2)return W.index}}return-1},aZ=()=&gt;kt($2),cw=(e,r)=&gt;r,yA=(e,r,t)=&gt;t,uw=(e,r,t,n)=&gt;n,oZ=Pe(La,e=&gt;Bp(e,r=&gt;r.coordinate)),dw=Pe([Jc,cw,yA,uw],sA),fw=Pe([dw,tu,of,df],iw),lZ=(e,r,t)=&gt;{if(r!=null){var n=Jc(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}},vA=Pe([Jc,cw,yA,uw],oA),mp=Pe([Oa,Pa,ar,xn,La,uw,vA,uf],aA),cZ=Pe([dw,mp],(e,r)=&gt;{var t;return(t=e.coordinate)!==null&amp;&amp;t!==void 0?t:r}),wA=Pe([La,fw],eA),uZ=Pe([vA,fw,Ia,of,wA,uf,cw],lA),dZ=Pe([dw,fw],(e,r)=&gt;({isActive:e.active&amp;&amp;r!=null,activeIndex:r})),fZ=(e,r,t,n,l,i,o)=&gt;{if(!(!e||!t||!n||!l)&amp;&amp;sZ(e,o)){var u=CV(e,r),c=bA(u,i,l,t,n),a=nZ(r,l,c,e);return{activeIndex:String(c),activeCoordinate:a}}},hZ=(e,r,t,n,l,i,o)=&gt;{if(!(!e||!n||!l||!i||!t)){var u=YH(e,t);if(u){var c=EV(u,r),a=bA(c,o,i,n,l),d=iZ(r,i,a,u);return{activeIndex:String(a),activeCoordinate:d}}}},mZ=(e,r,t,n,l,i,o,u)=&gt;{if(!(!e||!r||!n||!l||!i))return r===&quot;horizontal&quot;||r===&quot;vertical&quot;?fZ(e,r,n,l,i,o,u):hZ(e,r,t,n,l,i,o)},pZ=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}}),gZ=Pe(e=&gt;e.zIndex.zIndexMap,e=&gt;{var r=Object.keys(e).map(n=&gt;parseInt(n,10)).concat(Object.values(gn)),t=Array.from(new Set(r));return t.sort((n,l)=&gt;n-l)},{memoizeOptions:{resultEqualityCheck:JX}});function AS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function MS(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){xZ(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 xZ(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=yZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function yZ(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 vZ={},wZ={zIndexMap:Object.values(gn).reduce((e,r)=&gt;MS(MS({},e),{},{[r]:{element:void 0,panoramaElement:void 0,consumers:0}}),vZ)},_Z=new Set(Object.values(gn));function jZ(e){return _Z.has(e)}var _A=gi({name:&quot;zIndex&quot;,initialState:wZ,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:Nr()},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;!jZ(t)&amp;&amp;delete e.zIndexMap[t])},prepare:Nr()},registerZIndexPortalElement:{reducer:(e,r)=&gt;{var{zIndex:t,element:n,isPanorama:l}=r.payload;e.zIndexMap[t]?l?e.zIndexMap[t].panoramaElement=n:e.zIndexMap[t].element=n:e.zIndexMap[t]={consumers:0,element:l?void 0:n,panoramaElement:l?n:void 0}},prepare:Nr()},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:Nr()}}}),{registerZIndexPortal:SZ,unregisterZIndexPortal:kZ,registerZIndexPortalElement:NZ,unregisterZIndexPortalElement:CZ}=_A.actions,EZ=_A.reducer;function Zi(e){var{zIndex:r,children:t}=e,n=oq(),l=n&amp;&amp;r!==void 0&amp;&amp;r!==0,i=qn(),o=Dr();I.useLayoutEffect(()=&gt;l?(o(SZ({zIndex:r})),()=&gt;{o(kZ({zIndex:r}))}):Gd,[o,r,l]);var u=kt(c=&gt;pZ(c,r,i));return l?u?Sp.createPortal(t,u):null:t}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 OS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Yh(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?OS(Object(t),!0).forEach(function(n){AZ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):OS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function AZ(e,r,t){return(r=MZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function MZ(e){var r=OZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function OZ(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 PZ(e){var{cursor:r,cursorComp:t,cursorProps:n}=e;return I.isValidElement(r)?I.cloneElement(r,n):I.createElement(t,n)}function TZ(e){var r,{coordinate:t,payload:n,index:l,offset:i,tooltipAxisBandSize:o,layout:u,cursor:c,tooltipEventType:a,chartName:d}=e,f=t,h=n,m=l;if(!c||!f||d!==&quot;ScatterChart&quot;&amp;&amp;a!==&quot;axis&quot;)return null;var p,x,g;if(d===&quot;ScatterChart&quot;)p=f,x=cH,g=gn.cursorLine;else if(d===&quot;BarChart&quot;)p=uH(u,f,i,o),x=aE,g=gn.cursorRectangle;else if(u===&quot;radial&quot;&amp;&amp;XC(f)){var{cx:y,cy:v,radius:_,startAngle:C,endAngle:M}=oE(f);p={cx:y,cy:v,startAngle:C,endAngle:M,innerRadius:_,outerRadius:_},x=cE,g=gn.cursorLine}else p={points:eW(u,f,i)},x=tE,g=gn.cursorLine;var T=typeof c==&quot;object&quot;&amp;&amp;&quot;className&quot;in c?c.className:void 0,$=Yh(Yh(Yh(Yh({stroke:&quot;#ccc&quot;,pointerEvents:&quot;none&quot;},i),p),Kd(c)),{},{payload:h,payloadIndex:m,className:hr(&quot;recharts-tooltip-cursor&quot;,T)});return I.createElement(Zi,{zIndex:(r=e.zIndex)!==null&amp;&amp;r!==void 0?r:g},I.createElement(PZ,{cursor:c,cursorComp:x,cursorProps:$}))}function IZ(e){var r=JY(),t=W7(),n=Kc(),l=aZ();return r==null||t==null||n==null||l==null?null:I.createElement(TZ,Vv({},e,{offset:t,layout:n,tooltipAxisBandSize:r,chartName:l}))}var jA=I.createContext(null),RZ=()=&gt;I.useContext(jA),Zb={exports:{}},PS;function DZ(){return PS||(PS=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 l(c,a,d){this.fn=c,this.context=a,this.once=d||!1}function i(c,a,d,f,h){if(typeof d!=&quot;function&quot;)throw new TypeError(&quot;The listener must be a function&quot;);var m=new l(d,f||c,h),p=t?t+a:a;return c._events[p]?c._events[p].fn?c._events[p]=[c._events[p],m]:c._events[p].push(m):(c._events[p]=m,c._eventsCount++),c}function o(c,a){--c._eventsCount===0?c._events=new n:delete c._events[a]}function u(){this._events=new n,this._eventsCount=0}u.prototype.eventNames=function(){var a=[],d,f;if(this._eventsCount===0)return a;for(f in d=this._events)r.call(d,f)&amp;&amp;a.push(t?f.slice(1):f);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(d)):a},u.prototype.listeners=function(a){var d=t?t+a:a,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(a){var d=t?t+a:a,f=this._events[d];return f?f.fn?1:f.length:0},u.prototype.emit=function(a,d,f,h,m,p){var x=t?t+a:a;if(!this._events[x])return!1;var g=this._events[x],y=arguments.length,v,_;if(g.fn){switch(g.once&amp;&amp;this.removeListener(a,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,M;for(_=0;_&lt;C;_++)switch(g[_].once&amp;&amp;this.removeListener(a,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(M=1,v=new Array(y-1);M&lt;y;M++)v[M-1]=arguments[M];g[_].fn.apply(g[_].context,v)}}return!0},u.prototype.on=function(a,d,f){return i(this,a,d,f,!1)},u.prototype.once=function(a,d,f){return i(this,a,d,f,!0)},u.prototype.removeListener=function(a,d,f,h){var m=t?t+a:a;if(!this._events[m])return this;if(!d)return o(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;o(this,m);else{for(var x=0,g=[],y=p.length;x&lt;y;x++)(p[x].fn!==d||h&amp;&amp;!p[x].once||f&amp;&amp;p[x].context!==f)&amp;&amp;g.push(p[x]);g.length?this._events[m]=g.length===1?g[0]:g:o(this,m)}return this},u.prototype.removeAllListeners=function(a){var d;return a?(d=t?t+a:a,this._events[d]&amp;&amp;o(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})(Zb)),Zb.exports}var LZ=DZ();const FZ=_s(LZ);var Bd=new FZ,qv=&quot;recharts.syncEvent.tooltip&quot;,TS=&quot;recharts.syncEvent.brush&quot;;function SA(e,r){if(r){var t=Number.parseInt(r,10);if(!ys(t))return e?.[t]}}var BZ={chartName:&quot;&quot;,tooltipPayloadSearcher:void 0,eventEmitter:void 0,defaultTooltipEventType:&quot;axis&quot;},kA=gi({name:&quot;options&quot;,initialState:BZ,reducers:{createEventEmitter:e=&gt;{e.eventEmitter==null&amp;&amp;(e.eventEmitter=Symbol(&quot;rechartsEventEmitter&quot;))}}}),zZ=kA.reducer,{createEventEmitter:$Z}=kA.actions;function UZ(e){return e.tooltip.syncInteraction}var VZ={chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},NA=gi({name:&quot;chartData&quot;,initialState:VZ,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:IS,setDataStartEndIndexes:qZ,setComputedData:Ise}=NA.actions,HZ=NA.reducer,WZ=[&quot;x&quot;,&quot;y&quot;];function RS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function yc(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?RS(Object(t),!0).forEach(function(n){KZ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):RS(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 YZ(e,r){if(e==null)return{};var t,n,l=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;(l[t]=e[t])}return l}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}function QZ(){var e=kt(U2),r=kt(V2),t=Dr(),n=kt(l9),l=kt(La),i=Kc(),o=e0(),u=kt(c=&gt;c.rootProps.className);I.useEffect(()=&gt;{if(e==null)return Gd;var c=(a,d,f)=&gt;{if(r!==f&amp;&amp;e===a){if(n===&quot;index&quot;){var h;if(o&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:x}=m,g=YZ(m,WZ),{x:y,y:v,width:_,height:C}=d.payload.sourceViewBox,M=yc(yc({},g),{},{x:o.x+(_?(p-y)/_:0)*o.width,y:o.y+(C?(x-v)/C:0)*o.height});t(yc(yc({},d),{},{payload:yc(yc({},d.payload),{},{coordinate:M})}))}else t(d);return}if(l!=null){var T;if(typeof n==&quot;function&quot;){var $={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(l,$);T=l[F]}else n===&quot;value&quot;&amp;&amp;(T=l.find(j=&gt;String(j.value)===d.payload.label));var{coordinate:H}=d.payload;if(T==null||d.payload.active===!1||H==null||o==null){t($v({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}var{x:W,y:q}=H,K=Math.min(W,o.x+o.width),P=Math.min(q,o.y+o.height),L={x:i===&quot;horizontal&quot;?T.coordinate:K,y:i===&quot;horizontal&quot;?P:T.coordinate},E=$v({active:d.payload.active,coordinate:L,dataKey:d.payload.dataKey,index:String(T.index),label:d.payload.label,sourceViewBox:d.payload.sourceViewBox,graphicalItemId:d.payload.graphicalItemId});t(E)}}};return Bd.on(qv,c),()=&gt;{Bd.off(qv,c)}},[u,t,r,e,n,l,i,o])}function JZ(){var e=kt(U2),r=kt(V2),t=Dr();I.useEffect(()=&gt;{if(e==null)return Gd;var n=(l,i,o)=&gt;{r!==o&amp;&amp;e===l&amp;&amp;t(qZ(i))};return Bd.on(TS,n),()=&gt;{Bd.off(TS,n)}},[t,r,e])}function eQ(){var e=Dr();I.useEffect(()=&gt;{e($Z())},[e]),QZ(),JZ()}function tQ(e,r,t,n,l,i){var o=kt(m=&gt;lZ(m,e,r)),u=kt(V2),c=kt(U2),a=kt(l9),d=kt(UZ),f=d?.active,h=e0();I.useEffect(()=&gt;{if(!f&amp;&amp;c!=null&amp;&amp;u!=null){var m=$v({active:i,coordinate:t,dataKey:o,index:l,label:typeof n==&quot;number&quot;?String(n):n,sourceViewBox:h,graphicalItemId:void 0});Bd.emit(qv,c,m,u)}},[f,t,o,l,n,u,c,a,i,h])}function DS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function LS(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?DS(Object(t),!0).forEach(function(n){rQ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):DS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function rQ(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=iQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function iQ(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 sQ(e){return e.dataKey}function aQ(e,r){return I.isValidElement(e)?I.cloneElement(e,r):typeof e==&quot;function&quot;?I.createElement(e,r):I.createElement(Uq,r)}var FS=[],oQ={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 Qb(e){var r,t,n=On(e,oQ),{active:l,allowEscapeViewBox:i,animationDuration:o,animationEasing:u,content:c,filterNull:a,isAnimationActive:d,offset:f,payloadUniqBy:h,position:m,reverseDirection:p,useTranslate3d:x,wrapperStyle:g,cursor:y,shared:v,trigger:_,defaultIndex:C,portal:M,axisId:T}=n,$=Dr(),F=typeof C==&quot;number&quot;?String(C):C;I.useEffect(()=&gt;{$(nY({shared:v,trigger:_,axisId:T,active:l,defaultIndex:F}))},[$,v,_,T,l,F]);var H=e0(),W=eE(),q=ZG(v),{activeIndex:K,isActive:P}=(r=kt(ee=&gt;dZ(ee,q,_,F)))!==null&amp;&amp;r!==void 0?r:{},L=kt(ee=&gt;uZ(ee,q,_,F)),E=kt(ee=&gt;wA(ee,q,_,F)),j=kt(ee=&gt;cZ(ee,q,_,F)),k=L,S=RZ(),N=(t=l??P)!==null&amp;&amp;t!==void 0?t:!1,[O,D]=l7([k,N]),B=q===&quot;axis&quot;?E:void 0;tQ(q,_,j,B,K,N);var Y=M??S;if(Y==null||H==null||q==null)return null;var Z=k??FS;N||(Z=FS),a&amp;&amp;Z.length&amp;&amp;(Z=n7(Z.filter(ee=&gt;ee.value!=null&amp;&amp;(ee.hide!==!0||n.includeHidden)),h,sQ));var ne=Z.length&gt;0,V=I.createElement(Gq,{allowEscapeViewBox:i,animationDuration:o,animationEasing:u,isAnimationActive:d,active:N,coordinate:j,hasPayload:ne,offset:f,position:m,reverseDirection:p,useTranslate3d:x,viewBox:H,wrapperStyle:g,lastBoundingBox:O,innerRef:D,hasPortalFromProps:!!M},aQ(c,LS(LS({},n),{},{payload:Z,label:B,active:N,activeIndex:K,coordinate:j,accessibilityLayer:W})));return I.createElement(I.Fragment,null,Sp.createPortal(V,Y),N&amp;&amp;I.createElement(IZ,{cursor:y,tooltipEventType:q,coordinate:j,payload:Z,index:K}))}var CA=e=&gt;null;CA.displayName=&quot;Cell&quot;;function lQ(e,r,t){return(r=cQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function cQ(e){var r=uQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function uQ(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{constructor(r){lQ(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 BS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function fQ(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){hQ(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 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)}var gQ={cacheSize:2e3,enableCache:!0},EA=fQ({},gQ),zS=new dQ(EA.cacheSize),xQ={position:&quot;absolute&quot;,top:&quot;-20000px&quot;,left:0,padding:0,margin:0,border:&quot;none&quot;,whiteSpace:&quot;pre&quot;},$S=&quot;recharts_measurement_span&quot;;function bQ(e,r){var t=r.fontSize||&quot;&quot;,n=r.fontFamily||&quot;&quot;,l=r.fontWeight||&quot;&quot;,i=r.fontStyle||&quot;&quot;,o=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(l,&quot;|&quot;).concat(i,&quot;|&quot;).concat(o,&quot;|&quot;).concat(u)}var US=(e,r)=&gt;{try{var t=document.getElementById($S);t||(t=document.createElement(&quot;span&quot;),t.setAttribute(&quot;id&quot;,$S),t.setAttribute(&quot;aria-hidden&quot;,&quot;true&quot;),document.body.appendChild(t)),Object.assign(t.style,xQ,r),t.textContent=&quot;&quot;.concat(e);var n=t.getBoundingClientRect();return{width:n.width,height:n.height}}catch{return{width:0,height:0}}},md=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};if(r==null||s0.isSsr)return{width:0,height:0};if(!EA.enableCache)return US(r,t);var n=bQ(r,t),l=zS.get(n);if(l)return l;var i=US(r,t);return zS.set(n,i),i},AA;function yQ(e,r,t){return(r=vQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function vQ(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)}var VS=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,qS=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,_Q=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,jQ=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,SQ={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},kQ=[&quot;cm&quot;,&quot;mm&quot;,&quot;pt&quot;,&quot;pc&quot;,&quot;in&quot;,&quot;Q&quot;,&quot;px&quot;];function NQ(e){return kQ.includes(e)}var Cc=&quot;NaN&quot;;function CQ(e,r){return e*SQ[r]}class Cn{static parse(r){var t,[,n,l]=(t=jQ.exec(r))!==null&amp;&amp;t!==void 0?t:[];return n==null?Cn.NaN:new Cn(parseFloat(n),l??&quot;&quot;)}constructor(r,t){this.num=r,this.unit=t,this.num=r,this.unit=t,ys(r)&amp;&amp;(this.unit=&quot;&quot;),t!==&quot;&quot;&amp;&amp;!_Q.test(t)&amp;&amp;(this.num=NaN,this.unit=&quot;&quot;),NQ(t)&amp;&amp;(this.num=CQ(r,t),this.unit=&quot;px&quot;)}add(r){return this.unit!==r.unit?new Cn(NaN,&quot;&quot;):new Cn(this.num+r.num,this.unit)}subtract(r){return this.unit!==r.unit?new Cn(NaN,&quot;&quot;):new Cn(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 Cn(NaN,&quot;&quot;):new Cn(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 Cn(NaN,&quot;&quot;):new Cn(this.num/r.num,this.unit||r.unit)}toString(){return&quot;&quot;.concat(this.num).concat(this.unit)}isNaN(){return ys(this.num)}}AA=Cn;yQ(Cn,&quot;NaN&quot;,new AA(NaN,&quot;&quot;));function MA(e){if(e==null||e.includes(Cc))return Cc;for(var r=e;r.includes(&quot;*&quot;)||r.includes(&quot;/&quot;);){var t,[,n,l,i]=(t=VS.exec(r))!==null&amp;&amp;t!==void 0?t:[],o=Cn.parse(n??&quot;&quot;),u=Cn.parse(i??&quot;&quot;),c=l===&quot;*&quot;?o.multiply(u):o.divide(u);if(c.isNaN())return Cc;r=r.replace(VS,c.toString())}for(;r.includes(&quot;+&quot;)||/.-\d+(?:\.\d+)?/.test(r);){var a,[,d,f,h]=(a=qS.exec(r))!==null&amp;&amp;a!==void 0?a:[],m=Cn.parse(d??&quot;&quot;),p=Cn.parse(h??&quot;&quot;),x=f===&quot;+&quot;?m.add(p):m.subtract(p);if(x.isNaN())return Cc;r=r.replace(qS,x.toString())}return r}var HS=/\(([^()]*)\)/;function EQ(e){for(var r=e,t;(t=HS.exec(r))!=null;){var[,n]=t;r=r.replace(HS,MA(n))}return r}function AQ(e){var r=e.replace(/\s+/g,&quot;&quot;);return r=EQ(r),r=MA(r),r}function MQ(e){try{return AQ(e)}catch{return Cc}}function Jb(e){var r=MQ(e.slice(5,-1));return r===Cc?&quot;&quot;:r}var OQ=[&quot;x&quot;,&quot;y&quot;,&quot;lineHeight&quot;,&quot;capHeight&quot;,&quot;fill&quot;,&quot;scaleToFit&quot;,&quot;textAnchor&quot;,&quot;verticalAnchor&quot;],PQ=[&quot;dx&quot;,&quot;dy&quot;,&quot;angle&quot;,&quot;className&quot;,&quot;breakAll&quot;];function Hv(){return Hv=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},Hv.apply(null,arguments)}function WS(e,r){if(e==null)return{};var t,n,l=TQ(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;(l[t]=e[t])}return l}function TQ(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 OA=/[ \f\n\r\t\v\u2028\u2029]+/,PA=e=&gt;{var{children:r,breakAll:t,style:n}=e;try{var l=[];Er(r)||(t?l=r.toString().split(&quot;&quot;):l=r.toString().split(OA));var i=l.map(u=&gt;({word:u,width:md(u,n).width})),o=t?0:md(&quot; &quot;,n).width;return{wordsWithComputedWidth:i,spaceWidth:o}}catch{return null}};function IQ(e){return e===&quot;start&quot;||e===&quot;middle&quot;||e===&quot;end&quot;||e===&quot;inherit&quot;}var TA=(e,r,t,n)=&gt;e.reduce((l,i)=&gt;{var{word:o,width:u}=i,c=l[l.length-1];if(c&amp;&amp;u!=null&amp;&amp;(r==null||n||c.width+u+t&lt;Number(r)))c.words.push(o),c.width+=u+t;else{var a={words:[o],width:u};l.push(a)}return l},[]),IA=e=&gt;e.reduce((r,t)=&gt;r.width&gt;t.width?r:t),RQ=&quot;…&quot;,KS=(e,r,t,n,l,i,o,u)=&gt;{var c=e.slice(0,r),a=PA({breakAll:t,style:n,children:c+RQ});if(!a)return[!1,[]];var d=TA(a.wordsWithComputedWidth,i,o,u),f=d.length&gt;l||IA(d).width&gt;Number(i);return[f,d]},DQ=(e,r,t,n,l)=&gt;{var{maxLines:i,children:o,style:u,breakAll:c}=e,a=xt(i),d=String(o),f=TA(r,n,t,l);if(!a||l)return f;var h=f.length&gt;i||IA(f).width&gt;Number(n);if(!h)return f;for(var m=0,p=d.length-1,x=0,g;m&lt;=p&amp;&amp;x&lt;=d.length-1;){var y=Math.floor((m+p)/2),v=y-1,[_,C]=KS(d,v,c,u,i,n,t,l),[M]=KS(d,y,c,u,i,n,t,l);if(!_&amp;&amp;!M&amp;&amp;(m=y+1),_&amp;&amp;M&amp;&amp;(p=y-1),!_&amp;&amp;M){g=C;break}x++}return g||f},XS=e=&gt;{var r=Er(e)?[]:e.toString().split(OA);return[{words:r,width:void 0}]},LQ=e=&gt;{var{width:r,scaleToFit:t,children:n,style:l,breakAll:i,maxLines:o}=e;if((r||t)&amp;&amp;!s0.isSsr){var u,c,a=PA({breakAll:i,children:n,style:l});if(a){var{wordsWithComputedWidth:d,spaceWidth:f}=a;u=d,c=f}else return XS(n);return DQ({breakAll:i,children:n,maxLines:o,style:l},u,c,r,!!t)}return XS(n)},RA=&quot;#808080&quot;,FQ={angle:0,breakAll:!1,capHeight:&quot;0.71em&quot;,fill:RA,lineHeight:&quot;1em&quot;,scaleToFit:!1,textAnchor:&quot;start&quot;,verticalAnchor:&quot;end&quot;,x:0,y:0},hw=I.forwardRef((e,r)=&gt;{var t=On(e,FQ),{x:n,y:l,lineHeight:i,capHeight:o,fill:u,scaleToFit:c,textAnchor:a,verticalAnchor:d}=t,f=WS(t,OQ),h=I.useMemo(()=&gt;LQ({breakAll:f.breakAll,children:f.children,maxLines:f.maxLines,scaleToFit:c,style:f.style,width:f.width}),[f.breakAll,f.children,f.maxLines,c,f.style,f.width]),{dx:m,dy:p,angle:x,className:g,breakAll:y}=f,v=WS(f,PQ);if(!$s(n)||!$s(l)||h.length===0)return null;var _=Number(n)+(xt(m)?m:0),C=Number(l)+(xt(p)?p:0);if(!Rr(_)||!Rr(C))return null;var M;switch(d){case&quot;start&quot;:M=Jb(&quot;calc(&quot;.concat(o,&quot;)&quot;));break;case&quot;middle&quot;:M=Jb(&quot;calc(&quot;.concat((h.length-1)/2,&quot; * -&quot;).concat(i,&quot; + (&quot;).concat(o,&quot; / 2))&quot;));break;default:M=Jb(&quot;calc(&quot;.concat(h.length-1,&quot; * -&quot;).concat(i,&quot;)&quot;));break}var T=[];if(c){var $=h[0].width,{width:F}=f;T.push(&quot;scale(&quot;.concat(xt(F)&amp;&amp;xt($)?F/$:1,&quot;)&quot;))}return x&amp;&amp;T.push(&quot;rotate(&quot;.concat(x,&quot;, &quot;).concat(_,&quot;, &quot;).concat(C,&quot;)&quot;)),T.length&amp;&amp;(v.transform=T.join(&quot; &quot;)),I.createElement(&quot;text&quot;,Hv({},ni(v),{ref:r,x:_,y:C,className:hr(&quot;recharts-text&quot;,g),textAnchor:a,fill:u.includes(&quot;url&quot;)?RA:u}),h.map((H,W)=&gt;{var q=H.words.join(y?&quot;&quot;:&quot; &quot;);return I.createElement(&quot;tspan&quot;,{x:_,dy:W===0?M:i,key:&quot;&quot;.concat(q,&quot;-&quot;).concat(W)},q)}))});hw.displayName=&quot;Text&quot;;var BQ=[&quot;labelRef&quot;],zQ=[&quot;content&quot;];function GS(e,r){if(e==null)return{};var t,n,l=$Q(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;(l[t]=e[t])}return l}function $Q(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 YS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Vr(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?YS(Object(t),!0).forEach(function(n){UQ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):YS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function UQ(e,r,t){return(r=VQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function VQ(e){var r=qQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function qQ(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 ha(){return ha=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},ha.apply(null,arguments)}var DA=I.createContext(null),HQ=e=&gt;{var{x:r,y:t,upperWidth:n,lowerWidth:l,width:i,height:o,children:u}=e,c=I.useMemo(()=&gt;({x:r,y:t,upperWidth:n,lowerWidth:l,width:i,height:o}),[r,t,n,l,i,o]);return I.createElement(DA.Provider,{value:c},u)},LA=()=&gt;{var e=I.useContext(DA),r=e0();return e||H7(r)},WQ=I.createContext(null),KQ=()=&gt;{var e=I.useContext(WQ),r=kt(h9);return e||r},XQ=e=&gt;{var{value:r,formatter:t}=e,n=Er(e.children)?r:e.children;return typeof t==&quot;function&quot;?t(n):n},mw=e=&gt;e!=null&amp;&amp;typeof e==&quot;function&quot;,GQ=(e,r)=&gt;{var t=hi(r-e),n=Math.min(Math.abs(r-e),360);return t*n},YQ=(e,r,t,n,l)=&gt;{var{offset:i,className:o}=e,{cx:u,cy:c,innerRadius:a,outerRadius:d,startAngle:f,endAngle:h,clockWise:m}=l,p=(a+d)/2,x=GQ(f,h),g=x&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=x&lt;=0?v:!v;var _=Mn(u,c,p,y),C=Mn(u,c,p,y+(v?1:-1)*359),M=&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=Er(e.id)?Nd(&quot;recharts-radial-line-&quot;):e.id;return I.createElement(&quot;text&quot;,ha({},n,{dominantBaseline:&quot;central&quot;,className:hr(&quot;recharts-radial-bar-label&quot;,o)}),I.createElement(&quot;defs&quot;,null,I.createElement(&quot;path&quot;,{id:T,d:M})),I.createElement(&quot;textPath&quot;,{xlinkHref:&quot;#&quot;.concat(T)},t))},ZQ=(e,r,t)=&gt;{var{cx:n,cy:l,innerRadius:i,outerRadius:o,startAngle:u,endAngle:c}=e,a=(u+c)/2;if(t===&quot;outside&quot;){var{x:d,y:f}=Mn(n,l,o+r,a);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:l,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;};if(t===&quot;centerTop&quot;)return{x:n,y:l,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;start&quot;};if(t===&quot;centerBottom&quot;)return{x:n,y:l,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;end&quot;};var h=(i+o)/2,{x:m,y:p}=Mn(n,l,h,a);return{x:m,y:p,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;}},Wv=e=&gt;&quot;cx&quot;in e&amp;&amp;xt(e.cx),QQ=(e,r)=&gt;{var{parentViewBox:t,offset:n,position:l}=e,i;t!=null&amp;&amp;!Wv(t)&amp;&amp;(i=t);var{x:o,y:u,upperWidth:c,lowerWidth:a,height:d}=r,f=o,h=o+(c-a)/2,m=(f+h)/2,p=(c+a)/2,x=f+c/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=c&gt;=0?1:-1,M=C*n,T=C&gt;0?&quot;end&quot;:&quot;start&quot;,$=C&gt;0?&quot;start&quot;:&quot;end&quot;;if(l===&quot;top&quot;){var F={x:f+c/2,y:u-y,textAnchor:&quot;middle&quot;,verticalAnchor:v};return Vr(Vr({},F),i?{height:Math.max(u-i.y,0),width:c}:{})}if(l===&quot;bottom&quot;){var H={x:h+a/2,y:u+d+y,textAnchor:&quot;middle&quot;,verticalAnchor:_};return Vr(Vr({},H),i?{height:Math.max(i.y+i.height-(u+d),0),width:a}:{})}if(l===&quot;left&quot;){var W={x:m-M,y:u+d/2,textAnchor:T,verticalAnchor:&quot;middle&quot;};return Vr(Vr({},W),i?{width:Math.max(W.x-i.x,0),height:d}:{})}if(l===&quot;right&quot;){var q={x:m+p+M,y:u+d/2,textAnchor:$,verticalAnchor:&quot;middle&quot;};return Vr(Vr({},q),i?{width:Math.max(i.x+i.width-q.x,0),height:d}:{})}var K=i?{width:p,height:d}:{};return l===&quot;insideLeft&quot;?Vr({x:m+M,y:u+d/2,textAnchor:$,verticalAnchor:&quot;middle&quot;},K):l===&quot;insideRight&quot;?Vr({x:m+p-M,y:u+d/2,textAnchor:T,verticalAnchor:&quot;middle&quot;},K):l===&quot;insideTop&quot;?Vr({x:f+c/2,y:u+y,textAnchor:&quot;middle&quot;,verticalAnchor:_},K):l===&quot;insideBottom&quot;?Vr({x:h+a/2,y:u+d-y,textAnchor:&quot;middle&quot;,verticalAnchor:v},K):l===&quot;insideTopLeft&quot;?Vr({x:f+M,y:u+y,textAnchor:$,verticalAnchor:_},K):l===&quot;insideTopRight&quot;?Vr({x:f+c-M,y:u+y,textAnchor:T,verticalAnchor:_},K):l===&quot;insideBottomLeft&quot;?Vr({x:h+M,y:u+d-y,textAnchor:$,verticalAnchor:v},K):l===&quot;insideBottomRight&quot;?Vr({x:h+a-M,y:u+d-y,textAnchor:T,verticalAnchor:v},K):l&amp;&amp;typeof l==&quot;object&quot;&amp;&amp;(xt(l.x)||ja(l.x))&amp;&amp;(xt(l.y)||ja(l.y))?Vr({x:o+vs(l.x,p),y:u+vs(l.y,d),textAnchor:&quot;end&quot;,verticalAnchor:&quot;end&quot;},K):Vr({x,y:u+d/2,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;},K)},JQ={angle:0,offset:5,zIndex:gn.label,position:&quot;middle&quot;,textBreakAll:!1};function co(e){var r=On(e,JQ),{viewBox:t,position:n,value:l,children:i,content:o,className:u=&quot;&quot;,textBreakAll:c,labelRef:a}=r,d=KQ(),f=LA(),h=n===&quot;center&quot;?f:d??f,m,p,x;if(t==null?m=h:Wv(t)?m=t:m=H7(t),!m||Er(l)&amp;&amp;Er(i)&amp;&amp;!I.isValidElement(o)&amp;&amp;typeof o!=&quot;function&quot;)return null;var g=Vr(Vr({},r),{},{viewBox:m});if(I.isValidElement(o)){var{labelRef:y}=g,v=GS(g,BQ);return I.cloneElement(o,v)}if(typeof o==&quot;function&quot;){var{content:_}=g,C=GS(g,zQ);if(p=I.createElement(o,C),I.isValidElement(p))return p}else p=XQ(r);var M=ni(r);if(Wv(m)){if(n===&quot;insideStart&quot;||n===&quot;insideEnd&quot;||n===&quot;end&quot;)return YQ(r,n,p,M,m);x=ZQ(m,r.offset,r.position)}else x=QQ(r,m);return I.createElement(Zi,{zIndex:r.zIndex},I.createElement(hw,ha({ref:a,className:hr(&quot;recharts-label&quot;,u)},M,x,{textAnchor:IQ(M.textAnchor)?M.textAnchor:x.textAnchor,breakAll:c}),p))}co.displayName=&quot;Label&quot;;var eJ=(e,r,t)=&gt;{if(!e)return null;var n={viewBox:r,labelRef:t};return e===!0?I.createElement(co,ha({key:&quot;label-implicit&quot;},n)):$s(e)?I.createElement(co,ha({key:&quot;label-implicit&quot;,value:e},n)):I.isValidElement(e)?e.type===co?I.cloneElement(e,Vr({key:&quot;label-implicit&quot;},n)):I.createElement(co,ha({key:&quot;label-implicit&quot;,content:e},n)):mw(e)?I.createElement(co,ha({key:&quot;label-implicit&quot;,content:e},n)):e&amp;&amp;typeof e==&quot;object&quot;?I.createElement(co,ha({},e,{key:&quot;label-implicit&quot;},n)):null};function tJ(e){var{label:r,labelRef:t}=e,n=LA();return eJ(r,n,t)||null}var ey={},ty={},ZS;function rJ(){return ZS||(ZS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t[t.length-1]}e.last=r})(ty)),ty}var ry={},QS;function nJ(){return QS||(QS=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})(ry)),ry}var JS;function iJ(){return JS||(JS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=rJ(),t=nJ(),n=e2();function l(i){if(n.isArrayLike(i))return r.last(t.toArray(i))}e.last=l})(ey)),ey}var ny,ek;function sJ(){return ek||(ek=1,ny=iJ().last),ny}var aJ=sJ();const oJ=_s(aJ);var lJ=[&quot;valueAccessor&quot;],cJ=[&quot;dataKey&quot;,&quot;clockWise&quot;,&quot;id&quot;,&quot;textBreakAll&quot;,&quot;zIndex&quot;];function pp(){return pp=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},pp.apply(null,arguments)}function tk(e,r){if(e==null)return{};var t,n,l=uJ(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;(l[t]=e[t])}return l}function uJ(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 dJ=e=&gt;Array.isArray(e.value)?oJ(e.value):e.value,FA=I.createContext(void 0),BA=FA.Provider,zA=I.createContext(void 0);zA.Provider;function fJ(){return I.useContext(FA)}function hJ(){return I.useContext(zA)}function hm(e){var{valueAccessor:r=dJ}=e,t=tk(e,lJ),{dataKey:n,clockWise:l,id:i,textBreakAll:o,zIndex:u}=t,c=tk(t,cJ),a=fJ(),d=hJ(),f=a||d;return!f||!f.length?null:I.createElement(Zi,{zIndex:u??gn.label},I.createElement(Wi,{className:&quot;recharts-label-list&quot;},f.map((h,m)=&gt;{var p,x=Er(n)?r(h,m):Yr(h&amp;&amp;h.payload,n),g=Er(i)?{}:{id:&quot;&quot;.concat(i,&quot;-&quot;).concat(m)};return I.createElement(co,pp({key:&quot;label-&quot;.concat(m)},ni(h),c,g,{fill:(p=t.fill)!==null&amp;&amp;p!==void 0?p:h.fill,parentViewBox:h.parentViewBox,value:x,textBreakAll:o,viewBox:h.viewBox,index:m,zIndex:0}))})))}hm.displayName=&quot;LabelList&quot;;function $A(e){var{label:r}=e;return r?r===!0?I.createElement(hm,{key:&quot;labelList-implicit&quot;}):I.isValidElement(r)||mw(r)?I.createElement(hm,{key:&quot;labelList-implicit&quot;,content:r}):typeof r==&quot;object&quot;?I.createElement(hm,pp({key:&quot;labelList-implicit&quot;},r,{type:String(r.type)})):null:null}function Kv(){return Kv=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},Kv.apply(null,arguments)}var UA=e=&gt;{var{cx:r,cy:t,r:n,className:l}=e,i=hr(&quot;recharts-dot&quot;,l);return xt(r)&amp;&amp;xt(t)&amp;&amp;xt(n)?I.createElement(&quot;circle&quot;,Kv({},bs(e),J1(e),{className:i,cx:r,cy:t,r:n})):null},mJ={radiusAxis:{},angleAxis:{}},VA=gi({name:&quot;polarAxis&quot;,initialState:mJ,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:Rse,removeRadiusAxis:Dse,addAngleAxis:Lse,removeAngleAxis:Fse}=VA.actions,pJ=VA.reducer,iy={exports:{}},mr={};var rk;function gJ(){if(rk)return mr;rk=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;),l=Symbol.for(&quot;react.profiler&quot;),i=Symbol.for(&quot;react.consumer&quot;),o=Symbol.for(&quot;react.context&quot;),u=Symbol.for(&quot;react.forward_ref&quot;),c=Symbol.for(&quot;react.suspense&quot;),a=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(x){if(typeof x==&quot;object&quot;&amp;&amp;x!==null){var g=x.$$typeof;switch(g){case e:switch(x=x.type,x){case t:case l:case n:case c:case a:case h:return x;default:switch(x=x&amp;&amp;x.$$typeof,x){case o:case u:case f:case d:return x;case i:return x;default:return g}}case r:return g}}}return mr.ContextConsumer=i,mr.ContextProvider=o,mr.Element=e,mr.ForwardRef=u,mr.Fragment=t,mr.Lazy=f,mr.Memo=d,mr.Portal=r,mr.Profiler=l,mr.StrictMode=n,mr.Suspense=c,mr.SuspenseList=a,mr.isContextConsumer=function(x){return p(x)===i},mr.isContextProvider=function(x){return p(x)===o},mr.isElement=function(x){return typeof x==&quot;object&quot;&amp;&amp;x!==null&amp;&amp;x.$$typeof===e},mr.isForwardRef=function(x){return p(x)===u},mr.isFragment=function(x){return p(x)===t},mr.isLazy=function(x){return p(x)===f},mr.isMemo=function(x){return p(x)===d},mr.isPortal=function(x){return p(x)===r},mr.isProfiler=function(x){return p(x)===l},mr.isStrictMode=function(x){return p(x)===n},mr.isSuspense=function(x){return p(x)===c},mr.isSuspenseList=function(x){return p(x)===a},mr.isValidElementType=function(x){return typeof x==&quot;string&quot;||typeof x==&quot;function&quot;||x===t||x===l||x===n||x===c||x===a||typeof x==&quot;object&quot;&amp;&amp;x!==null&amp;&amp;(x.$$typeof===f||x.$$typeof===d||x.$$typeof===o||x.$$typeof===i||x.$$typeof===u||x.$$typeof===m||x.getModuleId!==void 0)},mr.typeOf=p,mr}var nk;function xJ(){return nk||(nk=1,iy.exports=gJ()),iy.exports}var bJ=xJ(),ik=e=&gt;typeof e==&quot;string&quot;?e:e?e.displayName||e.name||&quot;Component&quot;:&quot;&quot;,sk=null,sy=null,qA=e=&gt;{if(e===sk&amp;&amp;Array.isArray(sy))return sy;var r=[];return I.Children.forEach(e,t=&gt;{Er(t)||(bJ.isFragment(t)?r=r.concat(qA(t.props.children)):r.push(t))}),sy=r,sk=e,r};function yJ(e,r){var t=[],n=[];return Array.isArray(r)?n=r.map(l=&gt;ik(l)):n=[ik(r)],qA(e).forEach(l=&gt;{var i=Tc(l,&quot;type.displayName&quot;)||Tc(l,&quot;type.name&quot;);i&amp;&amp;n.indexOf(i)!==-1&amp;&amp;t.push(l)}),t}var HA=e=&gt;e&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;&quot;clipDot&quot;in e?!!e.clipDot:!0,ay={},ak;function vJ(){return ak||(ak=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 l=t[Symbol.toStringTag];return l==null||!Object.getOwnPropertyDescriptor(t,Symbol.toStringTag)?.writable?!1:t.toString()===`[object ${l}]`}let n=t;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}e.isPlainObject=r})(ay)),ay}var oy,ok;function wJ(){return ok||(ok=1,oy=vJ().isPlainObject),oy}var _J=wJ();const jJ=_s(_J);var lk,ck,uk,dk,fk;function hk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).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){SJ(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 SJ(e,r,t){return(r=kJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function kJ(e){var r=NJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function NJ(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 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)}function rd(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var pk=(e,r,t,n,l)=&gt;{var i=t-n,o;return o=zr(lk||(lk=rd([&quot;M &quot;,&quot;,&quot;,&quot;&quot;])),e,r),o+=zr(ck||(ck=rd([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t,r),o+=zr(uk||(uk=rd([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-i/2,r+l),o+=zr(dk||(dk=rd([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-i/2-n,r+l),o+=zr(fk||(fk=rd([&quot;L &quot;,&quot;,&quot;,&quot; Z&quot;])),e,r),o},CJ={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:&quot;ease&quot;},EJ=e=&gt;{var r=On(e,CJ),{x:t,y:n,upperWidth:l,lowerWidth:i,height:o,className:u}=r,{animationEasing:c,animationDuration:a,animationBegin:d,isUpdateAnimationActive:f}=r,h=I.useRef(null),[m,p]=I.useState(-1),x=I.useRef(l),g=I.useRef(i),y=I.useRef(o),v=I.useRef(t),_=I.useRef(n),C=o0(e,&quot;trapezoid-&quot;);if(I.useEffect(()=&gt;{if(h.current&amp;&amp;h.current.getTotalLength)try{var L=h.current.getTotalLength();L&amp;&amp;p(L)}catch{}},[]),t!==+t||n!==+n||l!==+l||i!==+i||o!==+o||l===0&amp;&amp;i===0||o===0)return null;var M=hr(&quot;recharts-trapezoid&quot;,u);if(!f)return I.createElement(&quot;g&quot;,null,I.createElement(&quot;path&quot;,gp({},ni(r),{className:M,d:pk(t,n,l,i,o)})));var T=x.current,$=g.current,F=y.current,H=v.current,W=_.current,q=&quot;0px &quot;.concat(m===-1?1:m,&quot;px&quot;),K=&quot;&quot;.concat(m,&quot;px 0px&quot;),P=rE([&quot;strokeDasharray&quot;],a,c);return I.createElement(a0,{animationId:C,key:C,canBegin:m&gt;0,duration:a,easing:c,isActive:f,begin:d},L=&gt;{var E=$r(T,l,L),j=$r($,i,L),k=$r(F,o,L),S=$r(H,t,L),N=$r(W,n,L);h.current&amp;&amp;(x.current=E,g.current=j,y.current=k,v.current=S,_.current=N);var O=L&gt;0?{transition:P,strokeDasharray:K}:{strokeDasharray:q};return I.createElement(&quot;path&quot;,gp({},ni(r),{className:M,d:pk(S,N,E,j,k),ref:h,style:mk(mk({},O),r.style)}))})},AJ=[&quot;option&quot;,&quot;shapeType&quot;,&quot;activeClassName&quot;];function MJ(e,r){if(e==null)return{};var t,n,l=OJ(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;(l[t]=e[t])}return l}function OJ(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 gk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function xp(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?gk(Object(t),!0).forEach(function(n){PJ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function PJ(e,r,t){return(r=TJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function TJ(e){var r=IJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function IJ(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 RJ(e,r){return xp(xp({},r),e)}function DJ(e,r){return e===&quot;symbols&quot;}function xk(e){var{shapeType:r,elementProps:t}=e;switch(r){case&quot;rectangle&quot;:return I.createElement(aE,t);case&quot;trapezoid&quot;:return I.createElement(EJ,t);case&quot;sector&quot;:return I.createElement(cE,t);case&quot;symbols&quot;:if(DJ(r))return I.createElement(Q1,t);break;case&quot;curve&quot;:return I.createElement(tE,t);default:return null}}function LJ(e){return I.isValidElement(e)?e.props:e}function WA(e){var{option:r,shapeType:t,activeClassName:n=&quot;recharts-active-shape&quot;}=e,l=MJ(e,AJ),i;if(I.isValidElement(r))i=I.cloneElement(r,xp(xp({},l),LJ(r)));else if(typeof r==&quot;function&quot;)i=r(l,l.index);else if(jJ(r)&amp;&amp;typeof r!=&quot;boolean&quot;){var o=RJ(r,l);i=I.createElement(xk,{shapeType:t,elementProps:o})}else{var u=l;i=I.createElement(xk,{shapeType:t,elementProps:u})}return l.isActive?I.createElement(Wi,{className:n},i):i}var KA=(e,r,t)=&gt;{var n=Dr();return(l,i)=&gt;o=&gt;{e?.(l,i,o),n(rA({activeIndex:String(i),activeDataKey:r,activeCoordinate:l.tooltipPosition,activeGraphicalItemId:t}))}},XA=e=&gt;{var r=Dr();return(t,n)=&gt;l=&gt;{e?.(t,n,l),r(iY())}},GA=(e,r,t)=&gt;{var n=Dr();return(l,i)=&gt;o=&gt;{e?.(l,i,o),n(sY({activeIndex:String(i),activeDataKey:r,activeCoordinate:l.tooltipPosition,activeGraphicalItemId:t}))}};function YA(e){var{tooltipEntrySettings:r}=e,t=Dr(),n=qn(),l=I.useRef(null);return I.useLayoutEffect(()=&gt;{n||(l.current===null?t(eY(r)):l.current!==r&amp;&amp;t(tY({prev:l.current,next:r})),l.current=r)},[r,t,n]),I.useLayoutEffect(()=&gt;()=&gt;{l.current&amp;&amp;(t(rY(l.current)),l.current=null)},[t]),null}function ZA(e){var{legendPayload:r}=e,t=Dr(),n=qn(),l=I.useRef(null);return I.useLayoutEffect(()=&gt;{n||(l.current===null?t(wq(r)):l.current!==r&amp;&amp;t(_q({prev:l.current,next:r})),l.current=r)},[t,n,r]),I.useLayoutEffect(()=&gt;()=&gt;{l.current&amp;&amp;(t(jq(l.current)),l.current=null)},[t]),null}var ly,FJ=()=&gt;{var[e]=I.useState(()=&gt;Nd(&quot;uid-&quot;));return e},BJ=(ly=fN.useId)!==null&amp;&amp;ly!==void 0?ly:FJ;function zJ(e,r){var t=BJ();return r||(e?&quot;&quot;.concat(e,&quot;-&quot;).concat(t):t)}var $J=I.createContext(void 0),QA=e=&gt;{var{id:r,type:t,children:n}=e,l=zJ(&quot;recharts-&quot;.concat(t),r);return I.createElement($J.Provider,{value:l},n(l))},UJ={cartesianItems:[],polarItems:[]},JA=gi({name:&quot;graphicalItems&quot;,initialState:UJ,reducers:{addCartesianGraphicalItem:{reducer(e,r){e.cartesianItems.push(r.payload)},prepare:Nr()},replaceCartesianGraphicalItem:{reducer(e,r){var{prev:t,next:n}=r.payload,l=xs(e).cartesianItems.indexOf(t);l&gt;-1&amp;&amp;(e.cartesianItems[l]=n)},prepare:Nr()},removeCartesianGraphicalItem:{reducer(e,r){var t=xs(e).cartesianItems.indexOf(r.payload);t&gt;-1&amp;&amp;e.cartesianItems.splice(t,1)},prepare:Nr()},addPolarGraphicalItem:{reducer(e,r){e.polarItems.push(r.payload)},prepare:Nr()},removePolarGraphicalItem:{reducer(e,r){var t=xs(e).polarItems.indexOf(r.payload);t&gt;-1&amp;&amp;e.polarItems.splice(t,1)},prepare:Nr()}}}),{addCartesianGraphicalItem:VJ,replaceCartesianGraphicalItem:qJ,removeCartesianGraphicalItem:HJ,addPolarGraphicalItem:Bse,removePolarGraphicalItem:zse}=JA.actions,WJ=JA.reducer,KJ=e=&gt;{var r=Dr(),t=I.useRef(null);return I.useLayoutEffect(()=&gt;{t.current===null?r(VJ(e)):t.current!==e&amp;&amp;r(qJ({prev:t.current,next:e})),t.current=e},[r,e]),I.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(HJ(t.current)),t.current=null)},[r]),null},eM=I.memo(KJ),XJ=[&quot;points&quot;];function bk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function cy(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){GJ(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 GJ(e,r,t){return(r=YJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function YJ(e){var r=ZJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function ZJ(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 bp(){return bp=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},bp.apply(null,arguments)}function QJ(e,r){if(e==null)return{};var t,n,l=JJ(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;(l[t]=e[t])}return l}function JJ(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 eee(e){var{option:r,dotProps:t,className:n}=e;if(I.isValidElement(r))return I.cloneElement(r,t);if(typeof r==&quot;function&quot;)return r(t);var l=hr(n,typeof r!=&quot;boolean&quot;?r.className:&quot;&quot;),i=t??{},{points:o}=i,u=QJ(i,XJ);return I.createElement(UA,bp({},u,{className:l}))}function tee(e,r){return e==null?!1:r?!0:e.length===1}function ree(e){var{points:r,dot:t,className:n,dotClassName:l,dataKey:i,baseProps:o,needClip:u,clipPathId:c,zIndex:a=gn.scatter}=e;if(!tee(r,t))return null;var d=HA(t),f=ez(t),h=r.map((p,x)=&gt;{var g,y,v=cy(cy(cy({r:3},o),f),{},{index:x,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 I.createElement(eee,{key:&quot;dot-&quot;.concat(x),option:t,dotProps:v,className:l})}),m={};return u&amp;&amp;c!=null&amp;&amp;(m.clipPath=&quot;url(#clipPath-&quot;.concat(d?&quot;&quot;:&quot;dots-&quot;).concat(c,&quot;)&quot;)),I.createElement(Zi,{zIndex:a},I.createElement(Wi,bp({className:n},m),h))}function yk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function vk(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){nee(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 nee(e,r,t){return(r=iee(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function iee(e){var r=see(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function see(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 tM=0,aee={xAxis:{},yAxis:{},zAxis:{}},rM=gi({name:&quot;cartesianAxis&quot;,initialState:aee,reducers:{addXAxis:{reducer(e,r){e.xAxis[r.payload.id]=r.payload},prepare:Nr()},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:Nr()},removeXAxis:{reducer(e,r){delete e.xAxis[r.payload.id]},prepare:Nr()},addYAxis:{reducer(e,r){e.yAxis[r.payload.id]=r.payload},prepare:Nr()},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:Nr()},removeYAxis:{reducer(e,r){delete e.yAxis[r.payload.id]},prepare:Nr()},addZAxis:{reducer(e,r){e.zAxis[r.payload.id]=r.payload},prepare:Nr()},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:Nr()},removeZAxis:{reducer(e,r){delete e.zAxis[r.payload.id]},prepare:Nr()},updateYAxisWidth(e,r){var{id:t,width:n}=r.payload,l=e.yAxis[t];if(l){var i=l.widthHistory||[];if(i.length===3&amp;&amp;i[0]===i[2]&amp;&amp;n===i[1]&amp;&amp;n!==l.width&amp;&amp;Math.abs(n-i[0])&lt;=1)return;var o=[...i,n].slice(-3);e.yAxis[t]=vk(vk({},e.yAxis[t]),{},{width:n,widthHistory:o})}}}}),{addXAxis:oee,replaceXAxis:lee,removeXAxis:cee,addYAxis:uee,replaceYAxis:dee,removeYAxis:fee,addZAxis:$se,replaceZAxis:Use,removeZAxis:Vse,updateYAxisWidth:hee}=rM.actions,mee=rM.reducer,pee=Pe([xn],e=&gt;({top:e.top,bottom:e.bottom,left:e.left,right:e.right})),gee=Pe([pee,Oa,Pa],(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)}}),pw=()=&gt;kt(gee),xee=()=&gt;kt(XY);function wk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function uy(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){bee(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 bee(e,r,t){return(r=yee(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function yee(e){var r=vee(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function vee(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 wee=e=&gt;{var{point:r,childIndex:t,mainColor:n,activeDot:l,dataKey:i,clipPath:o}=e;if(l===!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},c=uy(uy(uy({},u),Kd(l)),J1(l)),a;return I.isValidElement(l)?a=I.cloneElement(l,c):typeof l==&quot;function&quot;?a=l(c):a=I.createElement(UA,c),I.createElement(Wi,{className:&quot;recharts-active-dot&quot;,clipPath:o},a)};function _ee(e){var{points:r,mainColor:t,activeDot:n,itemDataKey:l,clipPath:i,zIndex:o=gn.activeDot}=e,u=kt(El),c=xee();if(r==null||c==null)return null;var a=r.find(d=&gt;c.includes(d.payload));return Er(a)?null:I.createElement(Zi,{zIndex:o},I.createElement(wee,{point:a,childIndex:Number(u),mainColor:t,dataKey:l,activeDot:n,clipPath:i}))}var _k=(e,r,t)=&gt;{var n=t??e;if(!Er(n))return vs(n,r,0)},jee=(e,r,t)=&gt;{var n={},l=e.filter(b0),i=e.filter(a=&gt;a.stackId==null),o=l.reduce((a,d)=&gt;(a[d.stackId]||(a[d.stackId]=[]),a[d.stackId].push(d),a),n),u=Object.entries(o).map(a=&gt;{var[d,f]=a,h=f.map(p=&gt;p.dataKey),m=_k(r,t,f[0].barSize);return{stackId:d,dataKeys:h,barSize:m}}),c=i.map(a=&gt;{var d=[a.dataKey].filter(h=&gt;h!=null),f=_k(r,t,a.barSize);return{stackId:void 0,dataKeys:d,barSize:f}});return[...u,...c]};function jk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).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?jk(Object(t),!0).forEach(function(n){See(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function See(e,r,t){return(r=kee(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function kee(e){var r=Nee(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Nee(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 Cee(e,r,t,n,l){var i=n.length;if(!(i&lt;1)){var o=vs(e,t,0,!0),u,c=[];if(Rr(n[0].barSize)){var a=!1,d=t/i,f=n.reduce((y,v)=&gt;y+(v.barSize||0),0);f+=(i-1)*o,f&gt;=t&amp;&amp;(f-=(i-1)*o,o=0),f&gt;=t&amp;&amp;d&gt;0&amp;&amp;(a=!0,d*=.9,f=i*d);var h=(t-f)/2&gt;&gt;0,m={offset:h-o,size:0};u=n.reduce((y,v)=&gt;{var _,C={stackId:v.stackId,dataKeys:v.dataKeys,position:{offset:m.offset+m.size+o,size:a?d:(_=v.barSize)!==null&amp;&amp;_!==void 0?_:0}},M=[...y,C];return m=M[M.length-1].position,M},c)}else{var p=vs(r,t,0,!0);t-2*p-(i-1)*o&lt;=0&amp;&amp;(o=0);var x=(t-2*p-(i-1)*o)/i;x&gt;1&amp;&amp;(x&gt;&gt;=0);var g=Rr(l)?Math.min(x,l):x;u=n.reduce((y,v,_)=&gt;[...y,{stackId:v.stackId,dataKeys:v.dataKeys,position:{offset:p+(x+o)*_+(x-g)/2,size:g}}],c)}return u}}var Eee=(e,r,t,n,l,i,o)=&gt;{var u=Er(o)?r:o,c=Cee(t,n,l!==i?l:i,e,u);return l!==i&amp;&amp;c!=null&amp;&amp;(c=c.map(a=&gt;Zh(Zh({},a),{},{position:Zh(Zh({},a.position),{},{offset:a.position.offset-l/2})}))),c},Aee=(e,r)=&gt;{var t=K2(r);if(!(!e||t==null||r==null)){var{stackId:n}=r;if(n!=null){var l=e[n];if(l){var{stackedData:i}=l;if(i)return i.find(o=&gt;o.key===t)}}}};function Mee(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 Oee=e=&gt;{var{chartData:r}=e,t=Dr(),n=qn();return I.useEffect(()=&gt;n?()=&gt;{}:(t(IS(r)),()=&gt;{t(IS(void 0))}),[r,t,n]),null},Sk={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},nM=gi({name:&quot;brush&quot;,initialState:Sk,reducers:{setBrushSettings(e,r){return r.payload==null?Sk:r.payload}}}),{setBrushSettings:qse}=nM.actions,Pee=nM.reducer;function Tee(e,r,t){return(r=Iee(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Iee(e){var r=Ree(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Ree(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 gw{static create(r){return new gw(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 l=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+l}case&quot;end&quot;:{var i=this.bandwidth?this.bandwidth():0;return this.scale(r)+i}default:return this.scale(r)}if(t){var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+o}return this.scale(r)}}isInRange(r){var t=this.range(),n=t[0],l=t[t.length-1];return n&lt;=l?r&gt;=n&amp;&amp;r&lt;=l:r&gt;=l&amp;&amp;r&lt;=n}}Tee(gw,&quot;EPS&quot;,1e-4);function Dee(e){return(e%180+180)%180}var Lee=function(r){var{width:t,height:n}=r,l=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0,i=Dee(l),o=i*Math.PI/180,u=Math.atan(n/t),c=o&gt;u&amp;&amp;o&lt;Math.PI-u?n/Math.sin(o):t/Math.cos(o);return Math.abs(c)},Fee={dots:[],areas:[],lines:[]},iM=gi({name:&quot;referenceElements&quot;,initialState:Fee,reducers:{addDot:(e,r)=&gt;{e.dots.push(r.payload)},removeDot:(e,r)=&gt;{var t=xs(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=xs(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=xs(e).lines.findIndex(n=&gt;n===r.payload);t!==-1&amp;&amp;e.lines.splice(t,1)}}}),{addDot:Hse,removeDot:Wse,addArea:Kse,removeArea:Xse,addLine:Gse,removeLine:Yse}=iM.actions,Bee=iM.reducer,zee=I.createContext(void 0),$ee=e=&gt;{var{children:r}=e,[t]=I.useState(&quot;&quot;.concat(Nd(&quot;recharts&quot;),&quot;-clip&quot;)),n=pw();if(n==null)return null;var{x:l,y:i,width:o,height:u}=n;return I.createElement(zee.Provider,{value:t},I.createElement(&quot;defs&quot;,null,I.createElement(&quot;clipPath&quot;,{id:t},I.createElement(&quot;rect&quot;,{x:l,y:i,height:u,width:o}))),r)};function sM(e,r){if(r&lt;1)return[];if(r===1)return e;for(var t=[],n=0;n&lt;e.length;n+=r){var l=e[n];l!==void 0&amp;&amp;t.push(l)}return t}function Uee(e,r,t){var n={width:e.width+r.width,height:e.height+r.height};return Lee(n,t)}function Vee(e,r,t){var n=t===&quot;width&quot;,{x:l,y:i,width:o,height:u}=e;return r===1?{start:n?l:i,end:n?l+o:i+u}:{start:n?l+o:i+u,end:n?l:i}}function zd(e,r,t,n,l){if(e*r&lt;e*n||e*r&gt;e*l)return!1;var i=t();return e*(r-e*i/2-n)&gt;=0&amp;&amp;e*(r+e*i/2-l)&lt;=0}function qee(e,r){return sM(e,r+1)}function Hee(e,r,t,n,l){for(var i=(n||[]).slice(),{start:o,end:u}=r,c=0,a=1,d=o,f=function(){var p=n?.[c];if(p===void 0)return{v:sM(n,a)};var x=c,g,y=()=&gt;(g===void 0&amp;&amp;(g=t(p,x)),g),v=p.coordinate,_=c===0||zd(e,v,y,d,u);_||(c=0,d=o,a+=1),_&amp;&amp;(d=v+e*(y()/2+l),c+=a)},h;a&lt;=i.length;)if(h=f(),h)return h.v;return[]}function Wee(e,r,t,n,l){var i=(n||[]).slice(),o=i.length;if(o===0)return[];for(var{start:u,end:c}=r,a=1;a&lt;=o;a++){for(var d=(o-1)%a,f=u,h=!0,m=function(){var v=n[p],_=p,C,M=()=&gt;(C===void 0&amp;&amp;(C=t(v,_)),C),T=v.coordinate,$=p===d||zd(e,T,M,f,c);if(!$)return h=!1,1;$&amp;&amp;(f=T+e*(M()/2+l))},p=d;p&lt;o&amp;&amp;!m();p+=a);if(h){for(var x=[],g=d;g&lt;o;g+=a)x.push(n[g]);return x}}return[]}function kk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function $n(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?kk(Object(t),!0).forEach(function(n){Kee(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Kee(e,r,t){return(r=Xee(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Xee(e){var r=Gee(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Gee(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 Yee(e,r,t,n,l){for(var i=(n||[]).slice(),o=i.length,{start:u}=r,{end:c}=r,a=function(h){var m=i[h],p,x=()=&gt;(p===void 0&amp;&amp;(p=t(m,h)),p);if(h===o-1){var g=e*(m.coordinate+e*x()/2-c);i[h]=m=$n($n({},m),{},{tickCoord:g&gt;0?m.coordinate-g*e:m.coordinate})}else i[h]=m=$n($n({},m),{},{tickCoord:m.coordinate});if(m.tickCoord!=null){var y=zd(e,m.tickCoord,x,u,c);y&amp;&amp;(c=m.tickCoord-e*(x()/2+l),i[h]=$n($n({},m),{},{isShow:!0}))}},d=o-1;d&gt;=0;d--)a(d);return i}function Zee(e,r,t,n,l,i){var o=(n||[]).slice(),u=o.length,{start:c,end:a}=r;if(i){var d=n[u-1],f=t(d,u-1),h=e*(d.coordinate+e*f/2-a);if(o[u-1]=d=$n($n({},d),{},{tickCoord:h&gt;0?d.coordinate-h*e:d.coordinate}),d.tickCoord!=null){var m=zd(e,d.tickCoord,()=&gt;f,c,a);m&amp;&amp;(a=d.tickCoord-e*(f/2+l),o[u-1]=$n($n({},d),{},{isShow:!0}))}}for(var p=i?u-1:u,x=function(v){var _=o[v],C,M=()=&gt;(C===void 0&amp;&amp;(C=t(_,v)),C);if(v===0){var T=e*(_.coordinate-e*M()/2-c);o[v]=_=$n($n({},_),{},{tickCoord:T&lt;0?_.coordinate-T*e:_.coordinate})}else o[v]=_=$n($n({},_),{},{tickCoord:_.coordinate});if(_.tickCoord!=null){var $=zd(e,_.tickCoord,M,c,a);$&amp;&amp;(c=_.tickCoord+e*(M()/2+l),o[v]=$n($n({},_),{},{isShow:!0}))}},g=0;g&lt;p;g++)x(g);return o}function xw(e,r,t){var{tick:n,ticks:l,viewBox:i,minTickGap:o,orientation:u,interval:c,tickFormatter:a,unit:d,angle:f}=e;if(!l||!l.length||!n)return[];if(xt(c)||s0.isSsr){var h;return(h=qee(l,xt(c)?c: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;,x=d&amp;&amp;p===&quot;width&quot;?md(d,{fontSize:r,letterSpacing:t}):{width:0,height:0},g=(_,C)=&gt;{var M=typeof a==&quot;function&quot;?a(_.value,C):_.value;return p===&quot;width&quot;?Uee(md(M,{fontSize:r,letterSpacing:t}),x,f):md(M,{fontSize:r,letterSpacing:t})[p]},y=l.length&gt;=2?hi(l[1].coordinate-l[0].coordinate):1,v=Vee(i,y,p);return c===&quot;equidistantPreserveStart&quot;?Hee(y,v,g,l,o):c===&quot;equidistantPreserveEnd&quot;?Wee(y,v,g,l,o):(c===&quot;preserveStart&quot;||c===&quot;preserveStartEnd&quot;?m=Zee(y,v,g,l,o,c===&quot;preserveStartEnd&quot;):m=Yee(y,v,g,l,o),m.filter(_=&gt;_.isShow))}var Qee=e=&gt;{var{ticks:r,label:t,labelGapWithTick:n=5,tickSize:l=0,tickMargin:i=0}=e,o=0;if(r){Array.from(r).forEach(d=&gt;{if(d){var f=d.getBoundingClientRect();f.width&gt;o&amp;&amp;(o=f.width)}});var u=t?t.getBoundingClientRect().width:0,c=l+i,a=o+c+u+(t?n:0);return Math.round(a)}return 0},Jee=[&quot;axisLine&quot;,&quot;width&quot;,&quot;height&quot;,&quot;className&quot;,&quot;hide&quot;,&quot;ticks&quot;,&quot;axisType&quot;];function ete(e,r){if(e==null)return{};var t,n,l=tte(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;(l[t]=e[t])}return l}function tte(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 Al(){return Al=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},Al.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(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Gr(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){rte(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 rte(e,r,t){return(r=nte(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function nte(e){var r=ite(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function ite(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 ya={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:gn.axis};function ste(e){var{x:r,y:t,width:n,height:l,orientation:i,mirror:o,axisLine:u,otherSvgProps:c}=e;if(!u)return null;var a=Gr(Gr(Gr({},c),bs(u)),{},{fill:&quot;none&quot;});if(i===&quot;top&quot;||i===&quot;bottom&quot;){var d=+(i===&quot;top&quot;&amp;&amp;!o||i===&quot;bottom&quot;&amp;&amp;o);a=Gr(Gr({},a),{},{x1:r,y1:t+d*l,x2:r+n,y2:t+d*l})}else{var f=+(i===&quot;left&quot;&amp;&amp;!o||i===&quot;right&quot;&amp;&amp;o);a=Gr(Gr({},a),{},{x1:r+f*n,y1:t,x2:r+f*n,y2:t+l})}return I.createElement(&quot;line&quot;,Al({},a,{className:hr(&quot;recharts-cartesian-axis-line&quot;,Tc(u,&quot;className&quot;))}))}function ate(e,r,t,n,l,i,o,u,c){var a,d,f,h,m,p,x=u?-1:1,g=e.tickSize||o,y=xt(e.tickCoord)?e.tickCoord:e.coordinate;switch(i){case&quot;top&quot;:a=d=e.coordinate,h=t+ +!u*l,f=h-x*g,p=f-x*c,m=y;break;case&quot;left&quot;:f=h=e.coordinate,d=r+ +!u*n,a=d-x*g,m=a-x*c,p=y;break;case&quot;right&quot;:f=h=e.coordinate,d=r+ +u*n,a=d+x*g,m=a+x*c,p=y;break;default:a=d=e.coordinate,h=t+ +u*l,f=h+x*g,p=f+x*c,m=y;break}return{line:{x1:a,y1:f,x2:d,y2:h},tick:{x:m,y:p}}}function ote(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 lte(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 cte(e){var{option:r,tickProps:t,value:n}=e,l,i=hr(t.className,&quot;recharts-cartesian-axis-tick-value&quot;);if(I.isValidElement(r))l=I.cloneElement(r,Gr(Gr({},t),{},{className:i}));else if(typeof r==&quot;function&quot;)l=r(Gr(Gr({},t),{},{className:i}));else{var o=&quot;recharts-cartesian-axis-tick-value&quot;;typeof r!=&quot;boolean&quot;&amp;&amp;(o=hr(o,r?.className)),l=I.createElement(hw,Al({},t,{className:o}),n)}return l}var ute=I.forwardRef((e,r)=&gt;{var{ticks:t=[],tick:n,tickLine:l,stroke:i,tickFormatter:o,unit:u,padding:c,tickTextProps:a,orientation:d,mirror:f,x:h,y:m,width:p,height:x,tickSize:g,tickMargin:y,fontSize:v,letterSpacing:_,getTicksConfig:C,events:M,axisType:T}=e,$=xw(Gr(Gr({},C),{},{ticks:t}),v,_),F=ote(d,f),H=lte(d,f),W=bs(C),q=Kd(n),K={};typeof l==&quot;object&quot;&amp;&amp;(K=l);var P=Gr(Gr({},W),{},{fill:&quot;none&quot;},K),L=$.map(k=&gt;Gr({entry:k},ate(k,h,m,p,x,d,g,f,y))),E=L.map(k=&gt;{var{entry:S,line:N}=k;return I.createElement(Wi,{className:&quot;recharts-cartesian-axis-tick&quot;,key:&quot;tick-&quot;.concat(S.value,&quot;-&quot;).concat(S.coordinate,&quot;-&quot;).concat(S.tickCoord)},l&amp;&amp;I.createElement(&quot;line&quot;,Al({},P,N,{className:hr(&quot;recharts-cartesian-axis-tick-line&quot;,Tc(l,&quot;className&quot;))})))}),j=L.map((k,S)=&gt;{var{entry:N,tick:O}=k,D=Gr(Gr(Gr(Gr({textAnchor:F,verticalAnchor:H},W),{},{stroke:&quot;none&quot;,fill:i},q),O),{},{index:S,payload:N,visibleTicksCount:$.length,tickFormatter:o,padding:c},a);return I.createElement(Wi,Al({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)},Fp(M,N,S)),n&amp;&amp;I.createElement(cte,{option:n,tickProps:D,value:&quot;&quot;.concat(typeof o==&quot;function&quot;?o(N.value,S):N.value).concat(u||&quot;&quot;)}))});return I.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-axis-ticks recharts-&quot;.concat(T,&quot;-ticks&quot;)},j.length&gt;0&amp;&amp;I.createElement(Zi,{zIndex:gn.label},I.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;I.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-axis-tick-lines recharts-&quot;.concat(T,&quot;-tick-lines&quot;)},E))}),dte=I.forwardRef((e,r)=&gt;{var{axisLine:t,width:n,height:l,className:i,hide:o,ticks:u,axisType:c}=e,a=ete(e,Jee),[d,f]=I.useState(&quot;&quot;),[h,m]=I.useState(&quot;&quot;),p=I.useRef(null);I.useImperativeHandle(r,()=&gt;({getCalculatedWidth:()=&gt;{var g;return Qee({ticks:p.current,label:(g=e.labelRef)===null||g===void 0?void 0:g.current,labelGapWithTick:5,tickSize:e.tickSize,tickMargin:e.tickMargin})}}));var x=I.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,M=_.letterSpacing;(C!==d||M!==h)&amp;&amp;(f(C),m(M))}}},[d,h]);return o||n!=null&amp;&amp;n&lt;=0||l!=null&amp;&amp;l&lt;=0?null:I.createElement(Zi,{zIndex:e.zIndex},I.createElement(Wi,{className:hr(&quot;recharts-cartesian-axis&quot;,i)},I.createElement(ste,{x:e.x,y:e.y,width:n,height:l,orientation:e.orientation,mirror:e.mirror,axisLine:t,otherSvgProps:bs(e)}),I.createElement(ute,{ref:x,axisType:c,events:a,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}),I.createElement(HQ,{x:e.x,y:e.y,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width},I.createElement(tJ,{label:e.label,labelRef:e.labelRef}),e.children)))}),bw=I.forwardRef((e,r)=&gt;{var t=On(e,ya);return I.createElement(dte,Al({},t,{ref:r}))});bw.displayName=&quot;CartesianAxis&quot;;var fte=[&quot;x1&quot;,&quot;y1&quot;,&quot;x2&quot;,&quot;y2&quot;,&quot;key&quot;],hte=[&quot;offset&quot;],mte=[&quot;xAxisId&quot;,&quot;yAxisId&quot;],pte=[&quot;xAxisId&quot;,&quot;yAxisId&quot;];function Ck(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Un(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Ck(Object(t),!0).forEach(function(n){gte(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ck(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function gte(e,r,t){return(r=xte(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function xte(e){var r=bte(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function bte(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 xl(){return xl=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},xl.apply(null,arguments)}function yp(e,r){if(e==null)return{};var t,n,l=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;(l[t]=e[t])}return l}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=e=&gt;{var{fill:r}=e;if(!r||r===&quot;none&quot;)return null;var{fillOpacity:t,x:n,y:l,width:i,height:o,ry:u}=e;return I.createElement(&quot;rect&quot;,{x:n,y:l,ry:u,width:i,height:o,stroke:&quot;none&quot;,fill:r,fillOpacity:t,className:&quot;recharts-cartesian-grid-bg&quot;})};function aM(e){var{option:r,lineItemProps:t}=e,n;if(I.isValidElement(r))n=I.cloneElement(r,t);else if(typeof r==&quot;function&quot;)n=r(t);else{var l,{x1:i,y1:o,x2:u,y2:c,key:a}=t,d=yp(t,fte),f=(l=bs(d))!==null&amp;&amp;l!==void 0?l:{},{offset:h}=f,m=yp(f,hte);n=I.createElement(&quot;line&quot;,xl({},m,{x1:i,y1:o,x2:u,y2:c,fill:&quot;none&quot;,key:a}))}return n}function wte(e){var{x:r,width:t,horizontal:n=!0,horizontalPoints:l}=e;if(!n||!l||!l.length)return null;var{xAxisId:i,yAxisId:o}=e,u=yp(e,mte),c=l.map((a,d)=&gt;{var f=Un(Un({},u),{},{x1:r,y1:a,x2:r+t,y2:a,key:&quot;line-&quot;.concat(d),index:d});return I.createElement(aM,{key:&quot;line-&quot;.concat(d),option:n,lineItemProps:f})});return I.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid-horizontal&quot;},c)}function _te(e){var{y:r,height:t,vertical:n=!0,verticalPoints:l}=e;if(!n||!l||!l.length)return null;var{xAxisId:i,yAxisId:o}=e,u=yp(e,pte),c=l.map((a,d)=&gt;{var f=Un(Un({},u),{},{x1:a,y1:r,x2:a,y2:r+t,key:&quot;line-&quot;.concat(d),index:d});return I.createElement(aM,{option:n,lineItemProps:f,key:&quot;line-&quot;.concat(d)})});return I.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid-vertical&quot;},c)}function jte(e){var{horizontalFill:r,fillOpacity:t,x:n,y:l,width:i,height:o,horizontalPoints:u,horizontal:c=!0}=e;if(!c||!r||!r.length||u==null)return null;var a=u.map(f=&gt;Math.round(f+l-l)).sort((f,h)=&gt;f-h);l!==a[0]&amp;&amp;a.unshift(0);var d=a.map((f,h)=&gt;{var m=!a[h+1],p=m?l+o-f:a[h+1]-f;if(p&lt;=0)return null;var x=h%r.length;return I.createElement(&quot;rect&quot;,{key:&quot;react-&quot;.concat(h),y:f,x:n,height:p,width:i,stroke:&quot;none&quot;,fill:r[x],fillOpacity:t,className:&quot;recharts-cartesian-grid-bg&quot;})});return I.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-gridstripes-horizontal&quot;},d)}function Ste(e){var{vertical:r=!0,verticalFill:t,fillOpacity:n,x:l,y:i,width:o,height:u,verticalPoints:c}=e;if(!r||!t||!t.length)return null;var a=c.map(f=&gt;Math.round(f+l-l)).sort((f,h)=&gt;f-h);l!==a[0]&amp;&amp;a.unshift(0);var d=a.map((f,h)=&gt;{var m=!a[h+1],p=m?l+o-f:a[h+1]-f;if(p&lt;=0)return null;var x=h%t.length;return I.createElement(&quot;rect&quot;,{key:&quot;react-&quot;.concat(h),x:f,y:i,width:p,height:u,stroke:&quot;none&quot;,fill:t[x],fillOpacity:n,className:&quot;recharts-cartesian-grid-bg&quot;})});return I.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-gridstripes-vertical&quot;},d)}var kte=(e,r)=&gt;{var{xAxis:t,width:n,height:l,offset:i}=e;return B7(xw(Un(Un(Un({},ya),t),{},{ticks:z7(t),viewBox:{x:0,y:0,width:n,height:l}})),i.left,i.left+i.width,r)},Nte=(e,r)=&gt;{var{yAxis:t,width:n,height:l,offset:i}=e;return B7(xw(Un(Un(Un({},ya),t),{},{ticks:z7(t),viewBox:{x:0,y:0,width:n,height:l}})),i.top,i.top+i.height,r)},Cte={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:&quot;#ccc&quot;,fill:&quot;none&quot;,verticalFill:[],horizontalFill:[],xAxisId:0,yAxisId:0,syncWithTicks:!1,zIndex:gn.grid};function mm(e){var r=d2(),t=f2(),n=W7(),l=Un(Un({},On(e,Cte)),{},{x:xt(e.x)?e.x:n.left,y:xt(e.y)?e.y:n.top,width:xt(e.width)?e.width:n.width,height:xt(e.height)?e.height:n.height}),{xAxisId:i,yAxisId:o,x:u,y:c,width:a,height:d,syncWithTicks:f,horizontalValues:h,verticalValues:m}=l,p=qn(),x=kt(H=&gt;_S(H,&quot;xAxis&quot;,i,p)),g=kt(H=&gt;_S(H,&quot;yAxis&quot;,o,p));if(!Us(a)||!Us(d)||!xt(u)||!xt(c))return null;var y=l.verticalCoordinatesGenerator||kte,v=l.horizontalCoordinatesGenerator||Nte,{horizontalPoints:_,verticalPoints:C}=l;if((!_||!_.length)&amp;&amp;typeof v==&quot;function&quot;){var M=h&amp;&amp;h.length,T=v({yAxis:g?Un(Un({},g),{},{ticks:M?h:g.ticks}):void 0,width:r??a,height:t??d,offset:n},M?!0:f);Wm(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 $=m&amp;&amp;m.length,F=y({xAxis:x?Un(Un({},x),{},{ticks:$?m:x.ticks}):void 0,width:r??a,height:t??d,offset:n},$?!0:f);Wm(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 I.createElement(Zi,{zIndex:l.zIndex},I.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid&quot;},I.createElement(vte,{fill:l.fill,fillOpacity:l.fillOpacity,x:l.x,y:l.y,width:l.width,height:l.height,ry:l.ry}),I.createElement(jte,xl({},l,{horizontalPoints:_})),I.createElement(Ste,xl({},l,{verticalPoints:C})),I.createElement(wte,xl({},l,{offset:n,horizontalPoints:_,xAxis:x,yAxis:g})),I.createElement(_te,xl({},l,{offset:n,verticalPoints:C,xAxis:x,yAxis:g}))))}mm.displayName=&quot;CartesianGrid&quot;;var Ete={},oM=gi({name:&quot;errorBars&quot;,initialState:Ete,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:l}=r.payload;e[t]&amp;&amp;(e[t]=e[t].map(i=&gt;i.dataKey===n.dataKey&amp;&amp;i.direction===n.direction?l:i))},removeErrorBar:(e,r)=&gt;{var{itemId:t,errorBar:n}=r.payload;e[t]&amp;&amp;(e[t]=e[t].filter(l=&gt;l.dataKey!==n.dataKey||l.direction!==n.direction))}}}),{addErrorBar:Zse,replaceErrorBar:Qse,removeErrorBar:Jse}=oM.actions,Ate=oM.reducer,Mte=[&quot;children&quot;];function Ote(e,r){if(e==null)return{};var t,n,l=Pte(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;(l[t]=e[t])}return l}function Pte(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 Tte={data:[],xAxisId:&quot;xAxis-0&quot;,yAxisId:&quot;yAxis-0&quot;,dataPointFormatter:()=&gt;({x:0,y:0,value:0}),errorBarOffset:0},Ite=I.createContext(Tte);function lM(e){var{children:r}=e,t=Ote(e,Mte);return I.createElement(Ite.Provider,{value:t},r)}function yw(e,r){var t,n,l=kt(a=&gt;Ra(a,e)),i=kt(a=&gt;Da(a,r)),o=(t=l?.allowDataOverflow)!==null&amp;&amp;t!==void 0?t:fn.allowDataOverflow,u=(n=i?.allowDataOverflow)!==null&amp;&amp;n!==void 0?n:hn.allowDataOverflow,c=o||u;return{needClip:c,needClipX:o,needClipY:u}}function cM(e){var{xAxisId:r,yAxisId:t,clipPathId:n}=e,l=pw(),{needClipX:i,needClipY:o,needClip:u}=yw(r,t);if(!u||!l)return null;var{x:c,y:a,width:d,height:f}=l;return I.createElement(&quot;clipPath&quot;,{id:&quot;clipPath-&quot;.concat(n)},I.createElement(&quot;rect&quot;,{x:i?c:c-d/2,y:o?a:a-f/2,width:i?d:d*2,height:o?f:f*2}))}var uM=(e,r,t,n)=&gt;So(e,&quot;xAxis&quot;,r,n),dM=(e,r,t,n)=&gt;jo(e,&quot;xAxis&quot;,r,n),fM=(e,r,t,n)=&gt;So(e,&quot;yAxis&quot;,t,n),hM=(e,r,t,n)=&gt;jo(e,&quot;yAxis&quot;,t,n),Rte=Pe([ar,uM,fM,dM,hM],(e,r,t,n,l)=&gt;Co(e,&quot;xAxis&quot;)?Rc(r,n,!1):Rc(t,l,!1)),Dte=(e,r,t,n,l)=&gt;l;function Lte(e){return e.type===&quot;line&quot;}var Fte=Pe([w0,Dte],(e,r)=&gt;e.filter(Lte).find(t=&gt;t.id===r)),Bte=Pe([ar,uM,fM,dM,hM,Fte,Rte,F2],(e,r,t,n,l,i,o,u)=&gt;{var{chartData:c,dataStartIndex:a,dataEndIndex:d}=u;if(!(i==null||r==null||t==null||n==null||l==null||n.length===0||l.length===0||o==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=c?.slice(a,d+1),m!=null)return Nre({layout:e,xAxis:r,yAxis:t,xAxisTicks:n,yAxisTicks:l,dataKey:f,bandSize:o,displayedData:m})}});function zte(e){var r=Kd(e),t=3,n=2;if(r!=null){var{r:l,strokeWidth:i}=r,o=Number(l),u=Number(i);return(Number.isNaN(o)||o&lt;0)&amp;&amp;(o=t),(Number.isNaN(u)||u&lt;0)&amp;&amp;(u=n),{r:o,strokeWidth:u}}return{r:t,strokeWidth:n}}var dy={exports:{}},fy={};var Ek;function $te(){if(Ek)return fy;Ek=1;var e=$c();function r(c,a){return c===a&amp;&amp;(c!==0||1/c===1/a)||c!==c&amp;&amp;a!==a}var t=typeof Object.is==&quot;function&quot;?Object.is:r,n=e.useSyncExternalStore,l=e.useRef,i=e.useEffect,o=e.useMemo,u=e.useDebugValue;return fy.useSyncExternalStoreWithSelector=function(c,a,d,f,h){var m=l(null);if(m.current===null){var p={hasValue:!1,value:null};m.current=p}else p=m.current;m=o(function(){function g(M){if(!y){if(y=!0,v=M,M=f(M),h!==void 0&amp;&amp;p.hasValue){var T=p.value;if(h(T,M))return _=T}return _=M}if(T=_,t(v,M))return T;var $=f(M);return h!==void 0&amp;&amp;h(T,$)?(v=M,T):(v=M,_=$)}var y=!1,v,_,C=d===void 0?null:d;return[function(){return g(a())},C===null?void 0:function(){return g(C())}]},[a,d,f,h]);var x=n(c,m[0],m[1]);return i(function(){p.hasValue=!0,p.value=x},[x]),u(x),x},fy}var Ak;function Ute(){return Ak||(Ak=1,dy.exports=$te()),dy.exports}Ute();function Vte(e){e()}function qte(){let e=null,r=null;return{clear(){e=null,r=null},notify(){Vte(()=&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 l=r={callback:t,next:null,prev:r};return l.prev?l.prev.next=l:e=l,function(){!n||e===null||(n=!1,l.next?l.next.prev=l.prev:r=l.prev,l.prev?l.prev.next=l.next:e=l.next)}}}}var Mk={notify(){},get:()=&gt;[]};function Hte(e,r){let t,n=Mk,l=0,i=!1;function o(x){d();const g=n.subscribe(x);let y=!1;return()=&gt;{y||(y=!0,g(),f())}}function u(){n.notify()}function c(){p.onStateChange&amp;&amp;p.onStateChange()}function a(){return i}function d(){l++,t||(t=e.subscribe(c),n=qte())}function f(){l--,t&amp;&amp;l===0&amp;&amp;(t(),t=void 0,n.clear(),n=Mk)}function h(){i||(i=!0,d())}function m(){i&amp;&amp;(i=!1,f())}const p={addNestedSub:o,notifyNestedSubs:u,handleChangeWrapper:c,isSubscribed:a,trySubscribe:h,tryUnsubscribe:m,getListeners:()=&gt;n};return p}var Wte=()=&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;,Kte=Wte(),Xte=()=&gt;typeof navigator&lt;&quot;u&quot;&amp;&amp;navigator.product===&quot;ReactNative&quot;,Gte=Xte(),Yte=()=&gt;Kte||Gte?I.useLayoutEffect:I.useEffect,Zte=Yte();function Ok(e,r){return e===r?e!==0||r!==0||1/e===1/r:e!==e&amp;&amp;r!==r}function Qte(e,r){if(Ok(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 l=0;l&lt;t.length;l++)if(!Object.prototype.hasOwnProperty.call(r,t[l])||!Ok(e[t[l]],r[t[l]]))return!1;return!0}var Jte=Symbol.for(&quot;react-redux-context&quot;),ere=typeof globalThis&lt;&quot;u&quot;?globalThis:{};function tre(){if(!I.createContext)return{};const e=ere[Jte]??=new Map;let r=e.get(I.createContext);return r||(r=I.createContext(null),e.set(I.createContext,r)),r}var rre=tre();function nre(e){const{children:r,context:t,serverState:n,store:l}=e,i=I.useMemo(()=&gt;{const c=Hte(l);return{store:l,subscription:c,getServerState:n?()=&gt;n:void 0}},[l,n]),o=I.useMemo(()=&gt;l.getState(),[l]);Zte(()=&gt;{const{subscription:c}=i;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),o!==l.getState()&amp;&amp;c.notifyNestedSubs(),()=&gt;{c.tryUnsubscribe(),c.onStateChange=void 0}},[i,o]);const u=t||rre;return I.createElement(u.Provider,{value:i},r)}var ire=nre,sre=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 are(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 N0(e,r){var t=new Set([...Object.keys(e),...Object.keys(r)]);for(var n of t)if(sre.has(n)){if(e[n]==null&amp;&amp;r[n]==null)continue;if(!Qte(e[n],r[n]))return!1}else if(!are(e[n],r[n]))return!1;return!0}var ore=[&quot;id&quot;],lre=[&quot;type&quot;,&quot;layout&quot;,&quot;connectNulls&quot;,&quot;needClip&quot;,&quot;shape&quot;],cre=[&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 $d(){return $d=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},$d.apply(null,arguments)}function Pk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Rs(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){ure(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 ure(e,r,t){return(r=dre(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function dre(e){var r=fre(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function fre(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 vw(e,r){if(e==null)return{};var t,n,l=hre(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;(l[t]=e[t])}return l}function hre(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 mre=e=&gt;{var{dataKey:r,name:t,stroke:n,legendType:l,hide:i}=e;return[{inactive:i,dataKey:r,type:l,color:n,value:Gp(t,r),payload:e}]},pre=I.memo(e=&gt;{var{dataKey:r,data:t,stroke:n,strokeWidth:l,fill:i,name:o,hide:u,unit:c,tooltipType:a,id:d}=e,f={dataDefinedOnItem:t,positions:void 0,settings:{stroke:n,strokeWidth:l,fill:i,dataKey:r,nameKey:void 0,name:Gp(o,r),hide:u,type:a,color:n,unit:c,graphicalItemId:d}};return I.createElement(YA,{tooltipEntrySettings:f})}),mM=(e,r)=&gt;&quot;&quot;.concat(r,&quot;px &quot;).concat(e-r,&quot;px&quot;);function gre(e,r){for(var t=e.length%2!==0?[...e,0]:e,n=[],l=0;l&lt;r;++l)n=[...n,...t];return n}var xre=(e,r,t)=&gt;{var n=t.reduce((f,h)=&gt;f+h);if(!n)return mM(r,e);for(var l=Math.floor(e/n),i=e%n,o=r-e,u=[],c=0,a=0;c&lt;t.length;a+=t[c],++c)if(a+t[c]&gt;i){u=[...t.slice(0,c),i-a];break}var d=u.length%2===0?[0,o]:[o];return[...gre(t,l),...u,...d].map(f=&gt;&quot;&quot;.concat(f,&quot;px&quot;)).join(&quot;, &quot;)};function bre(e){var{clipPathId:r,points:t,props:n}=e,{dot:l,dataKey:i,needClip:o}=n,{id:u}=n,c=vw(n,ore),a=bs(c);return I.createElement(ree,{points:t,dot:l,className:&quot;recharts-line-dots&quot;,dotClassName:&quot;recharts-line-dot&quot;,dataKey:i,baseProps:a,needClip:o,clipPathId:r})}function yre(e){var{showLabels:r,children:t,points:n}=e,l=I.useMemo(()=&gt;n?.map(i=&gt;{var o,u,c={x:(o=i.x)!==null&amp;&amp;o!==void 0?o:0,y:(u=i.y)!==null&amp;&amp;u!==void 0?u:0,width:0,lowerWidth:0,upperWidth:0,height:0};return Rs(Rs({},c),{},{value:i.value,payload:i.payload,viewBox:c,parentViewBox:void 0,fill:void 0})}),[n]);return I.createElement(BA,{value:r?l:void 0},t)}function Tk(e){var{clipPathId:r,pathRef:t,points:n,strokeDasharray:l,props:i}=e,{type:o,layout:u,connectNulls:c,needClip:a,shape:d}=i,f=vw(i,lre),h=Rs(Rs({},ni(f)),{},{fill:&quot;none&quot;,className:&quot;recharts-line-curve&quot;,clipPath:a?&quot;url(#clipPath-&quot;.concat(r,&quot;)&quot;):void 0,points:n,type:o,layout:u,connectNulls:c,strokeDasharray:l??i.strokeDasharray});return I.createElement(I.Fragment,null,n?.length&gt;1&amp;&amp;I.createElement(WA,$d({shapeType:&quot;curve&quot;,option:d},h,{pathRef:t})),I.createElement(bre,{points:n,clipPathId:r,props:i}))}function vre(e){try{return e&amp;&amp;e.getTotalLength&amp;&amp;e.getTotalLength()||0}catch{return 0}}function wre(e){var{clipPathId:r,props:t,pathRef:n,previousPointsRef:l,longestAnimatedLengthRef:i}=e,{points:o,strokeDasharray:u,isAnimationActive:c,animationBegin:a,animationDuration:d,animationEasing:f,animateNewValues:h,width:m,height:p,onAnimationEnd:x,onAnimationStart:g}=t,y=l.current,v=o0(o,&quot;recharts-line-&quot;),_=I.useRef(v),[C,M]=I.useState(!1),T=!C,$=I.useCallback(()=&gt;{typeof x==&quot;function&quot;&amp;&amp;x(),M(!1)},[x]),F=I.useCallback(()=&gt;{typeof g==&quot;function&quot;&amp;&amp;g(),M(!0)},[g]),H=vre(n.current),W=I.useRef(0);_.current!==v&amp;&amp;(W.current=i.current,_.current=v);var q=W.current;return I.createElement(yre,{points:o,showLabels:T},t.children,I.createElement(a0,{animationId:v,begin:a,duration:d,isActive:c,easing:f,onAnimationEnd:$,onAnimationStart:F,key:v},K=&gt;{var P=$r(q,H+q,K),L=Math.min(P,H),E;if(c)if(u){var j=&quot;&quot;.concat(u).split(/[,\s]+/gim).map(N=&gt;parseFloat(N));E=xre(L,H,j)}else E=mM(H,L);else E=u==null?void 0:String(u);if(K&gt;0&amp;&amp;H&gt;0&amp;&amp;(l.current=o,i.current=Math.max(i.current,L)),y){var k=y.length/o.length,S=K===1?o:o.map((N,O)=&gt;{var D=Math.floor(O*k);if(y[D]){var B=y[D];return Rs(Rs({},N),{},{x:$r(B.x,N.x,K),y:$r(B.y,N.y,K)})}return h?Rs(Rs({},N),{},{x:$r(m*2,N.x,K),y:$r(p/2,N.y,K)}):Rs(Rs({},N),{},{x:N.x,y:N.y})});return l.current=S,I.createElement(Tk,{props:t,points:S,clipPathId:r,pathRef:n,strokeDasharray:E})}return I.createElement(Tk,{props:t,points:o,clipPathId:r,pathRef:n,strokeDasharray:E})}),I.createElement($A,{label:t.label}))}function _re(e){var{clipPathId:r,props:t}=e,n=I.useRef(null),l=I.useRef(0),i=I.useRef(null);return I.createElement(wre,{props:t,clipPathId:r,previousPointsRef:n,longestAnimatedLengthRef:l,pathRef:i})}var jre=(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:Yr(e.payload,r)}};class Sre extends I.Component{render(){var{hide:r,dot:t,points:n,className:l,xAxisId:i,yAxisId:o,top:u,left:c,width:a,height:d,id:f,needClip:h,zIndex:m}=this.props;if(r)return null;var p=hr(&quot;recharts-line&quot;,l),x=f,{r:g,strokeWidth:y}=zte(t),v=HA(t),_=g*2+y,C=h?&quot;url(#clipPath-&quot;.concat(v?&quot;&quot;:&quot;dots-&quot;).concat(x,&quot;)&quot;):void 0;return I.createElement(Zi,{zIndex:m},I.createElement(Wi,{className:p},h&amp;&amp;I.createElement(&quot;defs&quot;,null,I.createElement(cM,{clipPathId:x,xAxisId:i,yAxisId:o}),!v&amp;&amp;I.createElement(&quot;clipPath&quot;,{id:&quot;clipPath-dots-&quot;.concat(x)},I.createElement(&quot;rect&quot;,{x:c-_/2,y:u-_/2,width:a+_,height:d+_}))),I.createElement(lM,{xAxisId:i,yAxisId:o,data:n,dataPointFormatter:jre,errorBarOffset:0},I.createElement(_re,{props:this.props,clipPathId:x}))),I.createElement(_ee,{activeDot:this.props.activeDot,points:n,mainColor:this.props.stroke,itemDataKey:this.props.dataKey,clipPath:C}))}}var pM={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:gn.line,type:&quot;linear&quot;};function kre(e){var r=On(e,pM),{activeDot:t,animateNewValues:n,animationBegin:l,animationDuration:i,animationEasing:o,connectNulls:u,dot:c,hide:a,isAnimationActive:d,label:f,legendType:h,xAxisId:m,yAxisId:p,id:x}=r,g=vw(r,cre),{needClip:y}=yw(m,p),v=pw(),_=Kc(),C=qn(),M=kt(W=&gt;Bte(W,m,p,C,x));if(_!==&quot;horizontal&quot;&amp;&amp;_!==&quot;vertical&quot;||M==null||v==null)return null;var{height:T,width:$,x:F,y:H}=v;return I.createElement(Sre,$d({},g,{id:x,connectNulls:u,dot:c,activeDot:t,animateNewValues:n,animationBegin:l,animationDuration:i,animationEasing:o,isAnimationActive:d,hide:a,label:f,legendType:h,xAxisId:m,yAxisId:p,points:M,layout:_,height:T,width:$,left:F,top:H,needClip:y}))}function Nre(e){var{layout:r,xAxis:t,yAxis:n,xAxisTicks:l,yAxisTicks:i,dataKey:o,bandSize:u,displayedData:c}=e;return c.map((a,d)=&gt;{var f=Yr(a,o);if(r===&quot;horizontal&quot;){var h=S5({axis:t,ticks:l,bandSize:u,entry:a,index:d}),m=Er(f)?null:n.scale(f);return{x:h,y:m,value:f,payload:a}}var p=Er(f)?null:t.scale(f),x=S5({axis:n,ticks:i,bandSize:u,entry:a,index:d});return p==null||x==null?null:{x:p,y:x,value:f,payload:a}}).filter(Boolean)}function Cre(e){var r=On(e,pM),t=qn();return I.createElement(QA,{id:r.id,type:&quot;line&quot;},n=&gt;I.createElement(I.Fragment,null,I.createElement(ZA,{legendPayload:mre(r)}),I.createElement(pre,{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}),I.createElement(eM,{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}),I.createElement(kre,$d({},r,{id:n}))))}var gM=I.memo(Cre,N0);gM.displayName=&quot;Line&quot;;function Tl(e,r){var t,n;return(t=(n=e.graphicalItems.cartesianItems.find(l=&gt;l.id===r))===null||n===void 0?void 0:n.xAxisId)!==null&amp;&amp;t!==void 0?t:tM}function Il(e,r){var t,n;return(t=(n=e.graphicalItems.cartesianItems.find(l=&gt;l.id===r))===null||n===void 0?void 0:n.yAxisId)!==null&amp;&amp;t!==void 0?t:tM}var Ere=&quot;Invariant failed&quot;;function Are(e,r){throw new Error(Ere)}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 vp(e){return I.createElement(WA,Xv({shapeType:&quot;rectangle&quot;,activeClassName:&quot;recharts-active-bar&quot;},e))}var Mre=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0;return(n,l)=&gt;{if(xt(r))return r;var i=xt(n)||Er(n);return i?r(n,l):(i||Are(),t)}},Ore=(e,r,t)=&gt;t,Pre=(e,r)=&gt;r,hf=Pe([w0,Pre],(e,r)=&gt;e.filter(t=&gt;t.type===&quot;bar&quot;).find(t=&gt;t.id===r)),Tre=Pe([hf],e=&gt;e?.maxBarSize),Ire=(e,r,t,n)=&gt;n,Rre=Pe([ar,w0,Tl,Il,Ore],(e,r,t,n,l)=&gt;r.filter(i=&gt;e===&quot;horizontal&quot;?i.xAxisId===t:i.yAxisId===n).filter(i=&gt;i.isPanorama===l).filter(i=&gt;i.hide===!1).filter(i=&gt;i.type===&quot;bar&quot;)),Dre=(e,r,t)=&gt;{var n=ar(e),l=Tl(e,r),i=Il(e,r);if(!(l==null||i==null))return n===&quot;horizontal&quot;?zv(e,&quot;yAxis&quot;,i,t):zv(e,&quot;xAxis&quot;,l,t)},Lre=(e,r)=&gt;{var t=ar(e),n=Tl(e,r),l=Il(e,r);if(!(n==null||l==null))return t===&quot;horizontal&quot;?wS(e,&quot;xAxis&quot;,n):wS(e,&quot;yAxis&quot;,l)},Fre=Pe([Rre,KX,Lre],jee),Bre=(e,r,t)=&gt;{var n,l,i=hf(e,r);if(i!=null){var o=Tl(e,r),u=Il(e,r);if(!(o==null||u==null)){var c=ar(e),a=s9(e),{maxBarSize:d}=i,f=Er(d)?a:d,h,m;return c===&quot;horizontal&quot;?(h=So(e,&quot;xAxis&quot;,o,t),m=jo(e,&quot;xAxis&quot;,o,t)):(h=So(e,&quot;yAxis&quot;,u,t),m=jo(e,&quot;yAxis&quot;,u,t)),(n=(l=Rc(h,m,!0))!==null&amp;&amp;l!==void 0?l:f)!==null&amp;&amp;n!==void 0?n:0}}},xM=(e,r,t)=&gt;{var n=ar(e),l=Tl(e,r),i=Il(e,r);if(!(l==null||i==null)){var o,u;return n===&quot;horizontal&quot;?(o=So(e,&quot;xAxis&quot;,l,t),u=jo(e,&quot;xAxis&quot;,l,t)):(o=So(e,&quot;yAxis&quot;,i,t),u=jo(e,&quot;yAxis&quot;,i,t)),Rc(o,u)}},zre=Pe([Fre,s9,WX,a9,Bre,xM,Tre],Eee),$re=(e,r,t)=&gt;{var n=Tl(e,r);if(n!=null)return So(e,&quot;xAxis&quot;,n,t)},Ure=(e,r,t)=&gt;{var n=Il(e,r);if(n!=null)return So(e,&quot;yAxis&quot;,n,t)},Vre=(e,r,t)=&gt;{var n=Tl(e,r);if(n!=null)return jo(e,&quot;xAxis&quot;,n,t)},qre=(e,r,t)=&gt;{var n=Il(e,r);if(n!=null)return jo(e,&quot;yAxis&quot;,n,t)},Hre=Pe([zre,hf],(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}}),Wre=Pe([Dre,hf],Aee),Kre=Pe([xn,c2,$re,Ure,Vre,qre,Hre,ar,IX,xM,Wre,hf,Ire],(e,r,t,n,l,i,o,u,c,a,d,f,h)=&gt;{var{chartData:m,dataStartIndex:p,dataEndIndex:x}=c;if(!(f==null||o==null||r==null||u!==&quot;horizontal&quot;&amp;&amp;u!==&quot;vertical&quot;||t==null||n==null||l==null||i==null||a==null)){var{data:g}=f,y;if(g!=null&amp;&amp;g.length&gt;0?y=g:y=m?.slice(p,x+1),y!=null)return _ne({layout:u,barSettings:f,pos:o,parentViewBox:r,bandSize:a,xAxis:t,yAxis:n,xAxisTicks:l,yAxisTicks:i,stackedData:d,displayedData:y,offset:e,cells:h,dataStartIndex:p})}}),Xre=[&quot;index&quot;];function Gv(){return Gv=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},Gv.apply(null,arguments)}function Gre(e,r){if(e==null)return{};var t,n,l=Yre(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;(l[t]=e[t])}return l}function Yre(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 bM=I.createContext(void 0),Zre=e=&gt;{var r=I.useContext(bM);if(r!=null)return r.stackId;if(e!=null)return _V(e)},Qre=(e,r)=&gt;&quot;recharts-bar-stack-clip-path-&quot;.concat(e,&quot;-&quot;).concat(r),Jre=e=&gt;{var r=I.useContext(bM);if(r!=null){var{stackId:t}=r;return&quot;url(#&quot;.concat(Qre(t,e),&quot;)&quot;)}},ene=e=&gt;{var{index:r}=e,t=Gre(e,Xre),n=Jre(r);return I.createElement(Wi,Gv({className:&quot;recharts-bar-stack-layer&quot;,clipPath:n},t))},tne=[&quot;onMouseEnter&quot;,&quot;onMouseLeave&quot;,&quot;onClick&quot;],rne=[&quot;value&quot;,&quot;background&quot;,&quot;tooltipPosition&quot;],nne=[&quot;id&quot;],ine=[&quot;onMouseEnter&quot;,&quot;onClick&quot;,&quot;onMouseLeave&quot;];function Aa(){return Aa=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},Aa.apply(null,arguments)}function Ik(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Jn(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Ik(Object(t),!0).forEach(function(n){sne(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ik(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function sne(e,r,t){return(r=ane(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function ane(e){var r=one(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function one(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 wp(e,r){if(e==null)return{};var t,n,l=lne(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;(l[t]=e[t])}return l}function lne(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 cne=e=&gt;{var{dataKey:r,name:t,fill:n,legendType:l,hide:i}=e;return[{inactive:i,dataKey:r,type:l,color:n,value:Gp(t,r),payload:e}]},une=I.memo(e=&gt;{var{dataKey:r,stroke:t,strokeWidth:n,fill:l,name:i,hide:o,unit:u,tooltipType:c,id:a}=e,d={dataDefinedOnItem:void 0,positions:void 0,settings:{stroke:t,strokeWidth:n,fill:l,dataKey:r,nameKey:void 0,name:Gp(i,r),hide:o,type:c,color:l,unit:u,graphicalItemId:a}};return I.createElement(YA,{tooltipEntrySettings:d})});function dne(e){var r=kt(El),{data:t,dataKey:n,background:l,allOtherBarProps:i}=e,{onMouseEnter:o,onMouseLeave:u,onClick:c}=i,a=wp(i,tne),d=KA(o,n,i.id),f=XA(u),h=GA(c,n,i.id);if(!l||t==null)return null;var m=Kd(l);return I.createElement(Zi,{zIndex:Mee(l,gn.barBackground)},t.map((p,x)=&gt;{var{value:g,background:y,tooltipPosition:v}=p,_=wp(p,rne);if(!y)return null;var C=d(p,x),M=f(p,x),T=h(p,x),$=Jn(Jn(Jn(Jn(Jn({option:l,isActive:String(x)===r},_),{},{fill:&quot;#eee&quot;},y),m),Fp(a,p,x)),{},{onMouseEnter:C,onMouseLeave:M,onClick:T,dataKey:n,index:x,className:&quot;recharts-bar-background-rectangle&quot;});return I.createElement(vp,Aa({key:&quot;background-bar-&quot;.concat(x)},$))}))}function fne(e){var{showLabels:r,children:t,rects:n}=e,l=n?.map(i=&gt;{var o={x:i.x,y:i.y,width:i.width,lowerWidth:i.width,upperWidth:i.width,height:i.height};return Jn(Jn({},o),{},{value:i.value,payload:i.payload,parentViewBox:i.parentViewBox,viewBox:o,fill:i.fill})});return I.createElement(BA,{value:r?l:void 0},t)}function hne(e){var{shape:r,activeBar:t,baseProps:n,entry:l,index:i,dataKey:o}=e,u=kt(El),c=kt(gA),a=t&amp;&amp;String(i)===u&amp;&amp;(c==null||o===c),d=a?t:r;return a?I.createElement(Zi,{zIndex:gn.activeBar},I.createElement(vp,Aa({},n,{name:String(n.name)},l,{isActive:a,option:d,index:i,dataKey:o}))):I.createElement(vp,Aa({},n,{name:String(n.name)},l,{isActive:a,option:d,index:i,dataKey:o}))}function mne(e){var{shape:r,baseProps:t,entry:n,index:l,dataKey:i}=e;return I.createElement(vp,Aa({},t,{name:String(t.name)},n,{isActive:!1,option:r,index:l,dataKey:i}))}function pne(e){var r,{data:t,props:n}=e,l=(r=bs(n))!==null&amp;&amp;r!==void 0?r:{},{id:i}=l,o=wp(l,nne),{shape:u,dataKey:c,activeBar:a}=n,{onMouseEnter:d,onClick:f,onMouseLeave:h}=n,m=wp(n,ine),p=KA(d,c,i),x=XA(h),g=GA(f,c,i);return t?I.createElement(I.Fragment,null,t.map((y,v)=&gt;I.createElement(ene,Aa({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;},Fp(m,y,v),{onMouseEnter:p(y,v),onMouseLeave:x(y,v),onClick:g(y,v)}),a?I.createElement(hne,{shape:u,activeBar:a,baseProps:o,entry:y,index:v,dataKey:c}):I.createElement(mne,{shape:u,baseProps:o,entry:y,index:v,dataKey:c})))):null}function gne(e){var{props:r,previousRectanglesRef:t}=e,{data:n,layout:l,isAnimationActive:i,animationBegin:o,animationDuration:u,animationEasing:c,onAnimationEnd:a,onAnimationStart:d}=r,f=t.current,h=o0(r,&quot;recharts-bar-&quot;),[m,p]=I.useState(!1),x=!m,g=I.useCallback(()=&gt;{typeof a==&quot;function&quot;&amp;&amp;a(),p(!1)},[a]),y=I.useCallback(()=&gt;{typeof d==&quot;function&quot;&amp;&amp;d(),p(!0)},[d]);return I.createElement(fne,{showLabels:x,rects:n},I.createElement(a0,{animationId:h,begin:o,duration:u,isActive:i,easing:c,onAnimationEnd:g,onAnimationStart:y,key:h},v=&gt;{var _=v===1?n:n?.map((C,M)=&gt;{var T=f&amp;&amp;f[M];if(T)return Jn(Jn({},C),{},{x:$r(T.x,C.x,v),y:$r(T.y,C.y,v),width:$r(T.width,C.width,v),height:$r(T.height,C.height,v)});if(l===&quot;horizontal&quot;){var $=$r(0,C.height,v),F=$r(C.stackedBarStart,C.y,v);return Jn(Jn({},C),{},{y:F,height:$})}var H=$r(0,C.width,v),W=$r(C.stackedBarStart,C.x,v);return Jn(Jn({},C),{},{width:H,x:W})});return v&gt;0&amp;&amp;(t.current=_??null),_==null?null:I.createElement(Wi,null,I.createElement(pne,{props:r,data:_}))}),I.createElement($A,{label:r.label}),r.children)}function xne(e){var r=I.useRef(null);return I.createElement(gne,{previousRectanglesRef:r,props:e})}var yM=0,bne=(e,r)=&gt;{var t=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:t,errorVal:Yr(e,r)}};class yne extends I.PureComponent{render(){var{hide:r,data:t,dataKey:n,className:l,xAxisId:i,yAxisId:o,needClip:u,background:c,id:a}=this.props;if(r||t==null)return null;var d=hr(&quot;recharts-bar&quot;,l),f=a;return I.createElement(Wi,{className:d,id:a},u&amp;&amp;I.createElement(&quot;defs&quot;,null,I.createElement(cM,{clipPathId:f,xAxisId:i,yAxisId:o})),I.createElement(Wi,{className:&quot;recharts-bar-rectangles&quot;,clipPath:u?&quot;url(#clipPath-&quot;.concat(f,&quot;)&quot;):void 0},I.createElement(dne,{data:t,dataKey:n,background:c,allOtherBarProps:this.props}),I.createElement(xne,this.props)))}}var vne={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:yM,xAxisId:0,yAxisId:0,zIndex:gn.bar};function wne(e){var{xAxisId:r,yAxisId:t,hide:n,legendType:l,minPointSize:i,activeBar:o,animationBegin:u,animationDuration:c,animationEasing:a,isAnimationActive:d}=e,{needClip:f}=yw(r,t),h=Kc(),m=qn(),p=yJ(e.children,CA),x=kt(v=&gt;Kre(v,e.id,m,p));if(h!==&quot;vertical&quot;&amp;&amp;h!==&quot;horizontal&quot;)return null;var g,y=x?.[0];return y==null||y.height==null||y.width==null?g=0:g=h===&quot;vertical&quot;?y.height/2:y.width/2,I.createElement(lM,{xAxisId:r,yAxisId:t,data:x,dataPointFormatter:bne,errorBarOffset:g},I.createElement(yne,Aa({},e,{layout:h,needClip:f,data:x,xAxisId:r,yAxisId:t,hide:n,legendType:l,minPointSize:i,activeBar:o,animationBegin:u,animationDuration:c,animationEasing:a,isAnimationActive:d})))}function _ne(e){var{layout:r,barSettings:{dataKey:t,minPointSize:n},pos:l,bandSize:i,xAxis:o,yAxis:u,xAxisTicks:c,yAxisTicks:a,stackedData:d,displayedData:f,offset:h,cells:m,parentViewBox:p,dataStartIndex:x}=e,g=r===&quot;horizontal&quot;?u:o,y=d?g.scale.domain():null,v=jV({numericAxis:g}),_=g.scale(v);return f.map((C,M)=&gt;{var T,$,F,H,W,q;if(d){var K=d[M+x];if(K==null)return null;T=xV(K,y)}else T=Yr(C,t),Array.isArray(T)||(T=[v,T]);var P=Mre(n,yM)(T[1],M);if(r===&quot;horizontal&quot;){var L,[E,j]=[u.scale(T[0]),u.scale(T[1])];$=k5({axis:o,ticks:c,bandSize:i,offset:l.offset,entry:C,index:M}),F=(L=j??E)!==null&amp;&amp;L!==void 0?L:void 0,H=l.size;var k=E-j;if(W=ys(k)?0:k,q={x:$,y:h.top,width:H,height:h.height},Math.abs(P)&gt;0&amp;&amp;Math.abs(W)&lt;Math.abs(P)){var S=hi(W||P)*(Math.abs(P)-Math.abs(W));F-=S,W+=S}}else{var[N,O]=[o.scale(T[0]),o.scale(T[1])];if($=N,F=k5({axis:u,ticks:a,bandSize:i,offset:l.offset,entry:C,index:M}),H=O-N,W=l.size,q={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 D=hi(H||P)*(Math.abs(P)-Math.abs(H));H+=D}}if($==null||F==null||H==null||W==null)return null;var B=Jn(Jn({},C),{},{stackedBarStart:_,x:$,y:F,width:H,height:W,value:d?T:T[1],payload:C,background:q,tooltipPosition:{x:$+H/2,y:F+W/2},parentViewBox:p},m&amp;&amp;m[M]&amp;&amp;m[M].props);return B}).filter(Boolean)}function jne(e){var r=On(e,vne),t=Zre(r.stackId),n=qn();return I.createElement(QA,{id:r.id,type:&quot;bar&quot;},l=&gt;I.createElement(I.Fragment,null,I.createElement(ZA,{legendPayload:cne(r)}),I.createElement(une,{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:l}),I.createElement(eM,{type:&quot;bar&quot;,id:l,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}),I.createElement(Zi,{zIndex:r.zIndex},I.createElement(wne,Aa({},r,{id:l})))))}var Yv=I.memo(jne,N0);Yv.displayName=&quot;Bar&quot;;var Sne=[&quot;domain&quot;,&quot;range&quot;],kne=[&quot;domain&quot;,&quot;range&quot;];function Rk(e,r){if(e==null)return{};var t,n,l=Nne(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;(l[t]=e[t])}return l}function Nne(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 Dk(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 vM(e,r){if(e===r)return!0;var{domain:t,range:n}=e,l=Rk(e,Sne),{domain:i,range:o}=r,u=Rk(r,kne);return!Dk(t,i)||!Dk(n,o)?!1:N0(l,u)}var Cne=[&quot;dangerouslySetInnerHTML&quot;,&quot;ticks&quot;,&quot;scale&quot;],Ene=[&quot;id&quot;,&quot;scale&quot;];function Zv(){return Zv=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},Zv.apply(null,arguments)}function Lk(e,r){if(e==null)return{};var t,n,l=Ane(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;(l[t]=e[t])}return l}function Ane(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 Mne(e){var r=Dr(),t=I.useRef(null);return I.useLayoutEffect(()=&gt;{t.current===null?r(oee(e)):t.current!==e&amp;&amp;r(lee({prev:t.current,next:e})),t.current=e},[e,r]),I.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(cee(t.current)),t.current=null)},[r]),null}var One=e=&gt;{var{xAxisId:r,className:t}=e,n=kt(c2),l=qn(),i=&quot;xAxis&quot;,o=kt(y=&gt;Y9(y,i,r,l)),u=kt(y=&gt;W9(y,r)),c=kt(y=&gt;qG(y,r)),a=kt(y=&gt;p9(y,r));if(u==null||c==null||a==null)return null;var{dangerouslySetInnerHTML:d,ticks:f,scale:h}=e,m=Lk(e,Cne),{id:p,scale:x}=a,g=Lk(a,Ene);return I.createElement(bw,Zv({},m,g,{x:c.x,y:c.y,width:u.width,height:u.height,className:hr(&quot;recharts-&quot;.concat(i,&quot; &quot;).concat(i),t),viewBox:n,ticks:o,axisType:i}))},Pne={allowDataOverflow:fn.allowDataOverflow,allowDecimals:fn.allowDecimals,allowDuplicatedCategory:fn.allowDuplicatedCategory,angle:fn.angle,axisLine:ya.axisLine,height:fn.height,hide:!1,includeHidden:fn.includeHidden,interval:fn.interval,minTickGap:fn.minTickGap,mirror:fn.mirror,orientation:fn.orientation,padding:fn.padding,reversed:fn.reversed,scale:fn.scale,tick:fn.tick,tickCount:fn.tickCount,tickLine:ya.tickLine,tickSize:ya.tickSize,type:fn.type,xAxisId:0},Tne=e=&gt;{var r=On(e,Pne);return I.createElement(I.Fragment,null,I.createElement(Mne,{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}),I.createElement(One,r))},pm=I.memo(Tne,vM);pm.displayName=&quot;XAxis&quot;;var Ine=[&quot;dangerouslySetInnerHTML&quot;,&quot;ticks&quot;,&quot;scale&quot;],Rne=[&quot;id&quot;,&quot;scale&quot;];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)}function Fk(e,r){if(e==null)return{};var t,n,l=Dne(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;(l[t]=e[t])}return l}function Dne(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 Lne(e){var r=Dr(),t=I.useRef(null);return I.useLayoutEffect(()=&gt;{t.current===null?r(uee(e)):t.current!==e&amp;&amp;r(dee({prev:t.current,next:e})),t.current=e},[e,r]),I.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(fee(t.current)),t.current=null)},[r]),null}var Fne=e=&gt;{var{yAxisId:r,className:t,width:n,label:l}=e,i=I.useRef(null),o=I.useRef(null),u=kt(c2),c=qn(),a=Dr(),d=&quot;yAxis&quot;,f=kt(T=&gt;K9(T,r)),h=kt(T=&gt;WG(T,r)),m=kt(T=&gt;Y9(T,d,r,c)),p=kt(T=&gt;g9(T,r));if(I.useLayoutEffect(()=&gt;{if(!(n!==&quot;auto&quot;||!f||mw(l)||I.isValidElement(l)||p==null)){var T=i.current;if(T){var $=T.getCalculatedWidth();Math.round(f.width)!==Math.round($)&amp;&amp;a(hee({id:r,width:$}))}}},[m,f,a,l,r,n,p]),f==null||h==null||p==null)return null;var{dangerouslySetInnerHTML:x,ticks:g,scale:y}=e,v=Fk(e,Ine),{id:_,scale:C}=p,M=Fk(p,Rne);return I.createElement(bw,Qv({},v,M,{ref:i,labelRef:o,x:h.x,y:h.y,tickTextProps:n===&quot;auto&quot;?{width:void 0}:{width:n},width:f.width,height:f.height,className:hr(&quot;recharts-&quot;.concat(d,&quot; &quot;).concat(d),t),viewBox:u,ticks:m,axisType:d}))},Bne={allowDataOverflow:hn.allowDataOverflow,allowDecimals:hn.allowDecimals,allowDuplicatedCategory:hn.allowDuplicatedCategory,angle:hn.angle,axisLine:ya.axisLine,hide:!1,includeHidden:hn.includeHidden,interval:hn.interval,minTickGap:hn.minTickGap,mirror:hn.mirror,orientation:hn.orientation,padding:hn.padding,reversed:hn.reversed,scale:hn.scale,tick:hn.tick,tickCount:hn.tickCount,tickLine:ya.tickLine,tickSize:ya.tickSize,type:hn.type,width:hn.width,yAxisId:0},zne=e=&gt;{var r=On(e,Bne);return I.createElement(I.Fragment,null,I.createElement(Lne,{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}),I.createElement(Fne,r))},gm=I.memo(zne,vM);gm.displayName=&quot;YAxis&quot;;var $ne=(e,r)=&gt;r,ww=Pe([$ne,ar,h9,sn,fA,La,oZ,xn],mZ),_w=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)}},wM=Ki(&quot;mouseClick&quot;),_M=Zd();_M.startListening({actionCreator:wM,effect:(e,r)=&gt;{var t=e.payload,n=ww(r.getState(),_w(t));n?.activeIndex!=null&amp;&amp;r.dispatch(aY({activeIndex:n.activeIndex,activeDataKey:void 0,activeCoordinate:n.activeCoordinate}))}});var Jv=Ki(&quot;mouseMove&quot;),jM=Zd(),Qh=null;jM.startListening({actionCreator:Jv,effect:(e,r)=&gt;{var t=e.payload;Qh!==null&amp;&amp;cancelAnimationFrame(Qh);var n=_w(t);Qh=requestAnimationFrame(()=&gt;{var l=r.getState(),i=nw(l,l.tooltip.settings.shared);if(i===&quot;axis&quot;){var o=ww(l,n);o?.activeIndex!=null?r.dispatch(iA({activeIndex:o.activeIndex,activeDataKey:void 0,activeCoordinate:o.activeCoordinate})):r.dispatch(nA())}Qh=null})}});function Une(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 Bk={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},SM=gi({name:&quot;rootProps&quot;,initialState:Bk,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:Bk.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}}}),Vne=SM.reducer,{updateOptions:qne}=SM.actions,kM=gi({name:&quot;polarOptions&quot;,initialState:null,reducers:{updatePolarOptions:(e,r)=&gt;r.payload}}),{updatePolarOptions:eae}=kM.actions,Hne=kM.reducer,NM=Ki(&quot;keyDown&quot;),CM=Ki(&quot;focus&quot;),jw=Zd();jw.startListening({actionCreator:NM,effect:(e,r)=&gt;{var t=r.getState(),n=t.rootProps.accessibilityLayer!==!1;if(n){var{keyboardInteraction:l}=t.tooltip,i=e.payload;if(!(i!==&quot;ArrowRight&quot;&amp;&amp;i!==&quot;ArrowLeft&quot;&amp;&amp;i!==&quot;Enter&quot;)){var o=iw(l,tu(t),of(t),df(t)),u=o==null?-1:Number(o);if(!(!Number.isFinite(u)||u&lt;0)){var c=La(t);if(i===&quot;Enter&quot;){var a=mp(t,&quot;axis&quot;,&quot;hover&quot;,String(l.index));r.dispatch(Uv({active:!l.active,activeIndex:l.index,activeCoordinate:a}));return}var d=YG(t),f=d===&quot;left-to-right&quot;?1:-1,h=i===&quot;ArrowRight&quot;?1:-1,m=u+h*f;if(!(c==null||m&gt;=c.length||m&lt;0)){var p=mp(t,&quot;axis&quot;,&quot;hover&quot;,String(m));r.dispatch(Uv({active:!0,activeIndex:m.toString(),activeCoordinate:p}))}}}}}});jw.startListening({actionCreator:CM,effect:(e,r)=&gt;{var t=r.getState(),n=t.rootProps.accessibilityLayer!==!1;if(n){var{keyboardInteraction:l}=t.tooltip;if(!l.active&amp;&amp;l.index==null){var i=&quot;0&quot;,o=mp(t,&quot;axis&quot;,&quot;hover&quot;,String(i));r.dispatch(Uv({active:!0,activeIndex:i,activeCoordinate:o}))}}}});var zi=Ki(&quot;externalEvent&quot;),EM=Zd(),hy=new Map;EM.startListening({actionCreator:zi,effect:(e,r)=&gt;{var{handler:t,reactEvent:n}=e.payload;if(t!=null){n.persist();var l=n.type,i=hy.get(l);i!==void 0&amp;&amp;cancelAnimationFrame(i);var o=requestAnimationFrame(()=&gt;{try{var u=r.getState(),c={activeCoordinate:HY(u),activeDataKey:gA(u),activeIndex:El(u),activeLabel:pA(u),activeTooltipIndex:El(u),isTooltipActive:WY(u)};t(c,n)}finally{hy.delete(l)}});hy.set(l,o)}}});var Wne=Pe([Jc],e=&gt;e.tooltipItemPayloads),Kne=Pe([Wne,uf,(e,r)=&gt;r,(e,r,t)=&gt;t],(e,r,t,n)=&gt;{var l=e.find(u=&gt;u.settings.graphicalItemId===n);if(l!=null){var{positions:i}=l;if(i!=null){var o=r(i,t);return o}}}),AM=Ki(&quot;touchMove&quot;),MM=Zd();MM.startListening({actionCreator:AM,effect:(e,r)=&gt;{var t=e.payload;if(!(t.touches==null||t.touches.length===0)){var n=r.getState(),l=nw(n,n.tooltip.settings.shared);if(l===&quot;axis&quot;){var i=t.touches[0];if(i==null)return;var o=ww(n,_w({clientX:i.clientX,clientY:i.clientY,currentTarget:t.currentTarget}));o?.activeIndex!=null&amp;&amp;r.dispatch(iA({activeIndex:o.activeIndex,activeDataKey:void 0,activeCoordinate:o.activeCoordinate}))}else if(l===&quot;item&quot;){var u,c=t.touches[0];if(document.elementFromPoint==null||c==null)return;var a=document.elementFromPoint(c.clientX,c.clientY);if(!a||!a.getAttribute)return;var d=a.getAttribute(MV),f=(u=a.getAttribute(OV))!==null&amp;&amp;u!==void 0?u:void 0,h=eu(n).find(x=&gt;x.id===f);if(d==null||h==null||f==null)return;var{dataKey:m}=h,p=Kne(n,d,f);r.dispatch(rA({activeDataKey:m,activeIndex:d,activeCoordinate:p,activeGraphicalItemId:f}))}}}});var Xne=u7({brush:Pee,cartesianAxis:mee,chartData:HZ,errorBars:Ate,graphicalItems:WJ,layout:dV,legend:Sq,options:zZ,polarAxis:pJ,polarOptions:Hne,referenceElements:Bee,rootProps:Vne,tooltip:oY,zIndex:EZ}),Gne=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;Chart&quot;;return DU({reducer:Xne,preloadedState:r,middleware:n=&gt;{var l;return n({serializableCheck:!1,immutableCheck:![&quot;commonjs&quot;,&quot;es6&quot;,&quot;production&quot;].includes((l=&quot;es6&quot;)!==null&amp;&amp;l!==void 0?l:&quot;&quot;)}).concat([_M.middleware,jM.middleware,jw.middleware,EM.middleware,MM.middleware])},enhancers:n=&gt;{var l=n;return typeof n==&quot;function&quot;&amp;&amp;(l=n()),l.concat(k7({type:&quot;raf&quot;}))},devTools:{serialize:{replacer:Une},name:&quot;recharts-&quot;.concat(t)}})};function Yne(e){var{preloadedState:r,children:t,reduxStoreName:n}=e,l=qn(),i=I.useRef(null);if(l)return t;i.current==null&amp;&amp;(i.current=Gne(r,n));var o=r2;return I.createElement(ire,{context:o,store:i.current},t)}function Zne(e){var{layout:r,margin:t}=e,n=Dr(),l=qn();return I.useEffect(()=&gt;{l||(n(lV(r)),n(oV(t)))},[n,l,r,t]),null}var Qne=I.memo(Zne,N0);function Jne(e){var r=Dr();return I.useEffect(()=&gt;{r(qne(e))},[r,e]),null}function zk(e){var{zIndex:r,isPanorama:t}=e,n=I.useRef(null),l=Dr();return I.useLayoutEffect(()=&gt;(n.current&amp;&amp;l(NZ({zIndex:r,element:n.current,isPanorama:t})),()=&gt;{l(CZ({zIndex:r,isPanorama:t}))}),[l,r,t]),I.createElement(&quot;g&quot;,{tabIndex:-1,ref:n})}function $k(e){var{children:r,isPanorama:t}=e,n=kt(gZ);if(!n||n.length===0)return r;var l=n.filter(o=&gt;o&lt;0),i=n.filter(o=&gt;o&gt;0);return I.createElement(I.Fragment,null,l.map(o=&gt;I.createElement(zk,{key:o,zIndex:o,isPanorama:t})),r,i.map(o=&gt;I.createElement(zk,{key:o,zIndex:o,isPanorama:t})))}var eie=[&quot;children&quot;];function tie(e,r){if(e==null)return{};var t,n,l=rie(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;(l[t]=e[t])}return l}function rie(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 _p(){return _p=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},_p.apply(null,arguments)}var nie={width:&quot;100%&quot;,height:&quot;100%&quot;,display:&quot;block&quot;},iie=I.forwardRef((e,r)=&gt;{var t=d2(),n=f2(),l=eE();if(!Us(t)||!Us(n))return null;var{children:i,otherAttributes:o,title:u,desc:c}=e,a,d;return o!=null&amp;&amp;(typeof o.tabIndex==&quot;number&quot;?a=o.tabIndex:a=l?0:void 0,typeof o.role==&quot;string&quot;?d=o.role:d=l?&quot;application&quot;:void 0),I.createElement(H1,_p({},o,{title:u,desc:c,role:d,tabIndex:a,width:t,height:n,style:nie,ref:r}),i)}),sie=e=&gt;{var{children:r}=e,t=kt(Jp);if(!t)return null;var{width:n,height:l,y:i,x:o}=t;return I.createElement(H1,{width:n,height:l,x:o,y:i},r)},Uk=I.forwardRef((e,r)=&gt;{var{children:t}=e,n=tie(e,eie),l=qn();return l?I.createElement(sie,null,I.createElement($k,{isPanorama:!0},t)):I.createElement(iie,_p({ref:r},n),I.createElement($k,{isPanorama:!1},t))});function aie(){var e=Dr(),[r,t]=I.useState(null),n=kt(AV);return I.useEffect(()=&gt;{if(r!=null){var l=r.getBoundingClientRect(),i=l.width/r.offsetWidth;Rr(i)&amp;&amp;i!==n&amp;&amp;e(uV(i))}},[r,e,n]),t}function Vk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function oie(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){lie(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 lie(e,r,t){return(r=cie(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function cie(e){var r=uie(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function uie(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 Ml(){return Ml=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},Ml.apply(null,arguments)}var die=()=&gt;(eQ(),null);function jp(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 fie=I.forwardRef((e,r)=&gt;{var t,n,l=I.useRef(null),[i,o]=I.useState({containerWidth:jp((t=e.style)===null||t===void 0?void 0:t.width),containerHeight:jp((n=e.style)===null||n===void 0?void 0:n.height)}),u=I.useCallback((a,d)=&gt;{o(f=&gt;{var h=Math.round(a),m=Math.round(d);return f.containerWidth===h&amp;&amp;f.containerHeight===m?f:{containerWidth:h,containerHeight:m}})},[]),c=I.useCallback(a=&gt;{if(typeof r==&quot;function&quot;&amp;&amp;r(a),a!=null&amp;&amp;typeof ResizeObserver&lt;&quot;u&quot;){var{width:d,height:f}=a.getBoundingClientRect();u(d,f);var h=p=&gt;{var{width:x,height:g}=p[0].contentRect;u(x,g)},m=new ResizeObserver(h);m.observe(a),l.current=m}},[r,u]);return I.useEffect(()=&gt;()=&gt;{var a=l.current;a?.disconnect()},[u]),I.createElement(I.Fragment,null,I.createElement(t0,{width:i.containerWidth,height:i.containerHeight}),I.createElement(&quot;div&quot;,Ml({ref:c},e)))}),hie=I.forwardRef((e,r)=&gt;{var{width:t,height:n}=e,[l,i]=I.useState({containerWidth:jp(t),containerHeight:jp(n)}),o=I.useCallback((c,a)=&gt;{i(d=&gt;{var f=Math.round(c),h=Math.round(a);return d.containerWidth===f&amp;&amp;d.containerHeight===h?d:{containerWidth:f,containerHeight:h}})},[]),u=I.useCallback(c=&gt;{if(typeof r==&quot;function&quot;&amp;&amp;r(c),c!=null){var{width:a,height:d}=c.getBoundingClientRect();o(a,d)}},[r,o]);return I.createElement(I.Fragment,null,I.createElement(t0,{width:l.containerWidth,height:l.containerHeight}),I.createElement(&quot;div&quot;,Ml({ref:u},e)))}),mie=I.forwardRef((e,r)=&gt;{var{width:t,height:n}=e;return I.createElement(I.Fragment,null,I.createElement(t0,{width:t,height:n}),I.createElement(&quot;div&quot;,Ml({ref:r},e)))}),pie=I.forwardRef((e,r)=&gt;{var{width:t,height:n}=e;return ja(t)||ja(n)?I.createElement(hie,Ml({},e,{ref:r})):I.createElement(mie,Ml({},e,{ref:r}))});function gie(e){return e===!0?fie:pie}var xie=I.forwardRef((e,r)=&gt;{var{children:t,className:n,height:l,onClick:i,onContextMenu:o,onDoubleClick:u,onMouseDown:c,onMouseEnter:a,onMouseLeave:d,onMouseMove:f,onMouseUp:h,onTouchEnd:m,onTouchMove:p,onTouchStart:x,style:g,width:y,responsive:v,dispatchTouchEvents:_=!0}=e,C=I.useRef(null),M=Dr(),[T,$]=I.useState(null),[F,H]=I.useState(null),W=aie(),q=u2(),K=q?.width&gt;0?q.width:y,P=q?.height&gt;0?q.height:l,L=I.useCallback(R=&gt;{W(R),typeof r==&quot;function&quot;&amp;&amp;r(R),$(R),H(R),R!=null&amp;&amp;(C.current=R)},[W,r,$,H]),E=I.useCallback(R=&gt;{M(wM(R)),M(zi({handler:i,reactEvent:R}))},[M,i]),j=I.useCallback(R=&gt;{M(Jv(R)),M(zi({handler:a,reactEvent:R}))},[M,a]),k=I.useCallback(R=&gt;{M(nA()),M(zi({handler:d,reactEvent:R}))},[M,d]),S=I.useCallback(R=&gt;{M(Jv(R)),M(zi({handler:f,reactEvent:R}))},[M,f]),N=I.useCallback(()=&gt;{M(CM())},[M]),O=I.useCallback(R=&gt;{M(NM(R.key))},[M]),D=I.useCallback(R=&gt;{M(zi({handler:o,reactEvent:R}))},[M,o]),B=I.useCallback(R=&gt;{M(zi({handler:u,reactEvent:R}))},[M,u]),Y=I.useCallback(R=&gt;{M(zi({handler:c,reactEvent:R}))},[M,c]),Z=I.useCallback(R=&gt;{M(zi({handler:h,reactEvent:R}))},[M,h]),ne=I.useCallback(R=&gt;{M(zi({handler:x,reactEvent:R}))},[M,x]),V=I.useCallback(R=&gt;{_&amp;&amp;M(AM(R)),M(zi({handler:p,reactEvent:R}))},[M,_,p]),ee=I.useCallback(R=&gt;{M(zi({handler:m,reactEvent:R}))},[M,m]),z=gie(v);return I.createElement(jA.Provider,{value:T},I.createElement(CC.Provider,{value:F},I.createElement(z,{width:K??g?.width,height:P??g?.height,className:hr(&quot;recharts-wrapper&quot;,n),style:oie({position:&quot;relative&quot;,cursor:&quot;default&quot;,width:K,height:P},g),onClick:E,onContextMenu:D,onDoubleClick:B,onFocus:N,onKeyDown:O,onMouseDown:Y,onMouseEnter:j,onMouseLeave:k,onMouseMove:S,onMouseUp:Z,onTouchEnd:ee,onTouchMove:V,onTouchStart:ne,ref:L},I.createElement(die,null),t)))}),bie=[&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 yie(e,r){if(e==null)return{};var t,n,l=vie(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;(l[t]=e[t])}return l}function vie(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 wie=I.forwardRef((e,r)=&gt;{var{width:t,height:n,responsive:l,children:i,className:o,style:u,compact:c,title:a,desc:d}=e,f=yie(e,bie),h=bs(f);return c?I.createElement(I.Fragment,null,I.createElement(t0,{width:t,height:n}),I.createElement(Uk,{otherAttributes:h,title:a,desc:d},i)):I.createElement(xie,{className:o,style:u,width:t,height:n,responsive:l??!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},I.createElement(Uk,{otherAttributes:h,title:a,desc:d,ref:r},I.createElement($ee,null,i)))});function e1(){return e1=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},e1.apply(null,arguments)}var _ie={top:5,right:5,bottom:5,left:5},jie={accessibilityLayer:!0,barCategoryGap:&quot;10%&quot;,barGap:4,layout:&quot;horizontal&quot;,margin:_ie,responsive:!1,reverseStackOrder:!1,stackOffset:&quot;none&quot;,syncMethod:&quot;index&quot;},OM=I.forwardRef(function(r,t){var n,l=On(r.categoricalChartProps,jie),{chartName:i,defaultTooltipEventType:o,validateTooltipEventTypes:u,tooltipPayloadSearcher:c,categoricalChartProps:a}=r,d={chartName:i,defaultTooltipEventType:o,validateTooltipEventTypes:u,tooltipPayloadSearcher:c,eventEmitter:void 0};return I.createElement(Yne,{preloadedState:{options:d},reduxStoreName:(n=a.id)!==null&amp;&amp;n!==void 0?n:i},I.createElement(Oee,{chartData:a.data}),I.createElement(Qne,{layout:l.layout,margin:l.margin}),I.createElement(Jne,{baseValue:l.baseValue,accessibilityLayer:l.accessibilityLayer,barCategoryGap:l.barCategoryGap,maxBarSize:l.maxBarSize,stackOffset:l.stackOffset,barGap:l.barGap,barSize:l.barSize,syncId:l.syncId,syncMethod:l.syncMethod,className:l.className,reverseStackOrder:l.reverseStackOrder}),I.createElement(wie,e1({},l,{ref:t})))}),Sie=[&quot;axis&quot;],kie=I.forwardRef((e,r)=&gt;I.createElement(OM,{chartName:&quot;LineChart&quot;,defaultTooltipEventType:&quot;axis&quot;,validateTooltipEventTypes:Sie,tooltipPayloadSearcher:SA,categoricalChartProps:e,ref:r})),Nie=[&quot;axis&quot;,&quot;item&quot;],qk=I.forwardRef((e,r)=&gt;I.createElement(OM,{chartName:&quot;BarChart&quot;,defaultTooltipEventType:&quot;axis&quot;,validateTooltipEventTypes:Nie,tooltipPayloadSearcher:SA,categoricalChartProps:e,ref:r}));const Cie=2,Hk=1;function Eie({stats:e,loading:r}){if(r)return s.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-1 lg:grid-cols-2 gap-4&quot;,children:[1,2].map(f=&gt;s.jsx(An,{className:&quot;animate-pulse&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;h-[220px] bg-gray-200 rounded&quot;})},f))});if(!e)return s.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:V1(f).label,count:h})),l=(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),o=n.reduce((f,h)=&gt;f+h.count,0),u=t.length&gt;=Cie&amp;&amp;i&gt;=Hk,c=n.length&gt;=1&amp;&amp;o&gt;=Hk,a=l.length&gt;=1&amp;&amp;l.some(f=&gt;f.count&gt;0);return!u&amp;&amp;!c&amp;&amp;!a?s.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:s.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;})}):s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 lg:grid-cols-2 gap-4&quot;,children:[u?s.jsxs(An,{children:[s.jsx(&quot;h3&quot;,{className:&quot;text-base font-semibold text-ink-900 mb-3&quot;,children:&quot;Évolution dans le temps&quot;}),s.jsx(Ib,{width:&quot;100%&quot;,height:220,children:s.jsxs(kie,{data:t,children:[s.jsx(mm,{strokeDasharray:&quot;3 3&quot;}),s.jsx(pm,{dataKey:&quot;date&quot;,tick:{fontSize:11}}),s.jsx(gm,{tick:{fontSize:11}}),s.jsx(Qb,{}),s.jsx(dm,{}),s.jsx(gM,{type:&quot;monotone&quot;,dataKey:&quot;count&quot;,stroke:&quot;#0B4A6F&quot;,strokeWidth:2,name:&quot;Inscriptions&quot;})]})})]}):null,c?s.jsxs(An,{children:[s.jsx(&quot;h3&quot;,{className:&quot;text-base font-semibold text-ink-900 mb-3&quot;,children:&quot;Répartition par statut&quot;}),s.jsx(Ib,{width:&quot;100%&quot;,height:220,children:s.jsxs(qk,{data:n,children:[s.jsx(mm,{strokeDasharray:&quot;3 3&quot;}),s.jsx(pm,{dataKey:&quot;status&quot;,tick:{fontSize:10},interval:0,angle:-25,textAnchor:&quot;end&quot;,height:60}),s.jsx(gm,{tick:{fontSize:11}}),s.jsx(Qb,{}),s.jsx(dm,{}),s.jsx(Yv,{dataKey:&quot;count&quot;,fill:&quot;#0B4A6F&quot;,name:&quot;Nombre&quot;})]})})]}):null]}),a?s.jsxs(An,{children:[s.jsx(&quot;h3&quot;,{className:&quot;text-base font-semibold text-ink-900 mb-3&quot;,children:&quot;Répartition par formule&quot;}),s.jsx(Ib,{width:&quot;100%&quot;,height:220,children:s.jsxs(qk,{data:l,children:[s.jsx(mm,{strokeDasharray:&quot;3 3&quot;}),s.jsx(pm,{dataKey:&quot;name&quot;,tick:{fontSize:11}}),s.jsx(gm,{tick:{fontSize:11}}),s.jsx(Qb,{}),s.jsx(dm,{}),s.jsx(Yv,{dataKey:&quot;count&quot;,fill:&quot;#1F6F8B&quot;,name:&quot;Nombre&quot;})]})})]}):null]})}const Wk=[&quot;total&quot;,&quot;draft&quot;,&quot;submitted&quot;,&quot;pending_payment&quot;,&quot;paid&quot;];function Aie({counts:e,loading:r,activeSingleStatus:t,onKpiClick:n}){return r?s.jsx(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap gap-1.5&quot;,children:Wk.map(l=&gt;s.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},l))}):s.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:Wk.map(l=&gt;{const i=l===&quot;total&quot;,o=i?Object.values(e).reduce((a,d)=&gt;a+d,0):e[l]??0,u=i?&quot;Total&quot;:V1(l).label,c=i?t===null:t===l;return s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;n(l),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 ${c?&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:[s.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}),s.jsx(&quot;div&quot;,{className:&quot;text-base font-semibold tabular-nums sm:text-lg&quot;,children:o})]},l)})})}function Jh(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 my={exports:{}};var Kk;function Mie(){return Kk||(Kk=1,(function(e,r){(function(t){e.exports=t()})((function(){return(function t(n,l,i){function o(a,d){if(!l[a]){if(!n[a]){var f=typeof Jh==&quot;function&quot;&amp;&amp;Jh;if(!d&amp;&amp;f)return f(a,!0);if(u)return u(a,!0);var h=new Error(&quot;Cannot find module &#039;&quot;+a+&quot;&#039;&quot;);throw h.code=&quot;MODULE_NOT_FOUND&quot;,h}var m=l[a]={exports:{}};n[a][0].call(m.exports,(function(p){return o(n[a][1][p]||p)}),m,m.exports,t,n,l,i)}return l[a].exports}for(var u=typeof Jh==&quot;function&quot;&amp;&amp;Jh,c=0;c&lt;i.length;c++)o(i[c]);return o})({1:[function(t,n,l){const i=t(&quot;fs&quot;),o=t(&quot;fast-csv&quot;),u=t(&quot;dayjs/plugin/customParseFormat&quot;),c=t(&quot;dayjs/plugin/utc&quot;),a=t(&quot;dayjs&quot;).extend(u).extend(c),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 x=i.createReadStream(m),g=await this.read(x,p);return x.close(),g}read(m,p){return p=p||{},new Promise((x,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(M){if(M===&quot;&quot;)return null;const T=Number(M);if(!Number.isNaN(T)&amp;&amp;T!==1/0)return T;const $=v.reduce((H,W)=&gt;{if(H)return H;const q=a(M,W,!0);return q.isValid()?q:null},null);if($)return new Date($.valueOf());const F=h[M];return F!==void 0?F:M},C=o.parse(p.parserOptions).on(&quot;data&quot;,M=&gt;{y.addRow(M.map(_))}).on(&quot;end&quot;,()=&gt;{C.emit(&quot;worksheet&quot;,y)});C.on(&quot;worksheet&quot;,x).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((x,g)=&gt;{p=p||{};const y=this.workbook.getWorksheet(p.sheetName||p.sheetId),v=o.format(p.formatterOptions);m.on(&quot;finish&quot;,()=&gt;{x()}),v.on(&quot;error&quot;,g),v.pipe(m);const{dateFormat:_,dateUTC:C}=p,M=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?a.utc(F).format(_):a(F).format(_):C?a.utc(F).format():a(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 $=1;y&amp;&amp;y.eachRow((F,H)=&gt;{if(T)for(;$++&lt;H-1;)v.write([]);const{values:W}=F;W.shift(),v.write(W.map(M)),$=H}),v.end()})}writeFile(m,p){const x={encoding:(p=p||{}).encoding||&quot;utf8&quot;},g=i.createWriteStream(m,x);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,l){const i=t(&quot;../utils/col-cache&quot;);class o{constructor(c,a){let d=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:0;if(this.worksheet=c,a)if(typeof a==&quot;string&quot;){const f=i.decodeAddress(a);this.nativeCol=f.col+d,this.nativeColOff=0,this.nativeRow=f.row+d,this.nativeRowOff=0}else a.nativeCol!==void 0?(this.nativeCol=a.nativeCol||0,this.nativeColOff=a.nativeColOff||0,this.nativeRow=a.nativeRow||0,this.nativeRowOff=a.nativeRowOff||0):a.col!==void 0?(this.col=a.col+d,this.row=a.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(c){return c instanceof o||c==null?c:new o(c)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col(c){this.nativeCol=Math.floor(c),this.nativeColOff=Math.floor((c-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row(c){this.nativeRow=Math.floor(c),this.nativeRowOff=Math.floor((c-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(c){this.nativeCol=c.nativeCol,this.nativeColOff=c.nativeColOff,this.nativeRow=c.nativeRow,this.nativeRowOff=c.nativeRowOff}}n.exports=o},{&quot;../utils/col-cache&quot;:19}],3:[function(t,n,l){const i=t(&quot;../utils/col-cache&quot;),o=t(&quot;../utils/under-dash&quot;),u=t(&quot;./enums&quot;),{slideFormula:c}=t(&quot;../utils/shared-formula&quot;),a=t(&quot;./note&quot;);class d{constructor(m,p,x){if(!m||!p)throw new Error(&quot;A Cell needs a Row&quot;);this._row=m,this._column=p,i.validateAddress(x),this._address=x,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,x){const g=m&amp;&amp;m.numFmt||p&amp;&amp;p.numFmt;g&amp;&amp;(x.numFmt=g);const y=m&amp;&amp;m.font||p&amp;&amp;p.font;y&amp;&amp;(x.font=y);const v=m&amp;&amp;m.alignment||p&amp;&amp;p.alignment;v&amp;&amp;(x.alignment=v);const _=m&amp;&amp;m.border||p&amp;&amp;p.border;_&amp;&amp;(x.border=_);const C=m&amp;&amp;m.fill||p&amp;&amp;p.fill;C&amp;&amp;(x.fill=C);const M=m&amp;&amp;m.protection||p&amp;&amp;p.protection;return M&amp;&amp;(x.protection=M),x}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 a(m)}get text(){return this._value.toString()}get html(){return o.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(x=&gt;{p.addEx(this.fullAddress,x)})}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=a.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=x=&gt;{const g=h[x];g&amp;&amp;(m[x]=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;c(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 x=this.types[h];if(!x)throw new Error(&quot;Could not create Value of type &quot;+h);return new x(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,l){const i=t(&quot;../utils/under-dash&quot;),o=t(&quot;./enums&quot;),u=t(&quot;../utils/col-cache&quot;);class c{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!==o.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(x,g){return x.min-g.min}));p&lt;f.length;){const x=f[p++];for(;m&lt;x.min;)h.push(new c(d,m++));for(;m&lt;=x.max;)h.push(new c(d,m++,x))}return h.length?h:null}}n.exports=c},{&quot;../utils/col-cache&quot;:19,&quot;../utils/under-dash&quot;:26,&quot;./enums&quot;:7}],5:[function(t,n,l){n.exports=class{constructor(i){this.model=i||{}}add(i,o){return this.model[i]=o}find(i){return this.model[i]}remove(i){this.model[i]=void 0}}},{}],6:[function(t,n,l){const i=t(&quot;../utils/under-dash&quot;),o=t(&quot;../utils/col-cache&quot;),u=t(&quot;../utils/cell-matrix&quot;),c=t(&quot;./range&quot;),a=/[$](\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=o.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 x={sheetName:d.sheetName,address:o.n2l(m)+p,row:p,col:m};h.addCellEx(x)}else h.addCellEx(d)}remove(d,f){const h=o.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(o.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 c(f.row,f.col,f.row,f.col,h);let p,x;function g(v,_){const C=d.findCellAt(h,v,f.col);return!(!C||!C.mark)&amp;&amp;(m[_]=v,C.mark=!1,!0)}for(x=f.row-1;g(x,&quot;top&quot;);x--);for(x=f.row+1;g(x,&quot;bottom&quot;);x++);function y(v,_){const C=[];for(x=m.top;x&lt;=m.bottom;x++){const M=d.findCellAt(h,x,v);if(!M||!M.mark)return!1;C.push(M)}m[_]=v;for(let M=0;M&lt;C.length;M++)C[M].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=o.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;{a.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,l){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,l){const i=t(&quot;../utils/col-cache&quot;),o=t(&quot;./anchor&quot;);n.exports=class{constructor(u,c){this.worksheet=u,this.model=c}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:c,imageId:a,range:d,hyperlinks:f}=u;if(this.type=c,this.imageId=a,c===&quot;image&quot;)if(typeof d==&quot;string&quot;){const h=i.decode(d);this.range={tl:new o(this.worksheet,{col:h.left,row:h.top},-1),br:new o(this.worksheet,{col:h.right,row:h.bottom},0),editAs:&quot;oneCell&quot;}}else this.range={tl:new o(this.worksheet,d.tl,0),br:d.br&amp;&amp;new o(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,l){const i=t(&quot;../utils/under-dash&quot;);class o{constructor(c){this.note=c}get model(){let c=null;return typeof this.note===&quot;string&quot;?c={type:&quot;note&quot;,note:{texts:[{text:this.note}]}}:c={type:&quot;note&quot;,note:this.note},i.deepMerge({},o.DEFAULT_CONFIGS,c)}set model(c){const{note:a}=c,{texts:d}=a;d.length===1&amp;&amp;Object.keys(d[0]).length===1?this.note=d[0].text:this.note=a}static fromModel(c){const a=new o;return a.model=c,a}}o.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=o},{&quot;../utils/under-dash&quot;:26}],10:[function(t,n,l){const i=t(&quot;../utils/col-cache&quot;);class o{constructor(){this.decode(arguments)}setTLBR(c,a,d,f,h){if(arguments.length&lt;4){const m=i.decodeAddress(c),p=i.decodeAddress(a);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(c,d),left:Math.min(a,f),bottom:Math.max(c,d),right:Math.max(a,f),sheetName:h}}decode(c){switch(c.length){case 5:this.setTLBR(c[0],c[1],c[2],c[3],c[4]);break;case 4:this.setTLBR(c[0],c[1],c[2],c[3]);break;case 3:this.setTLBR(c[0],c[1],c[2]);break;case 2:this.setTLBR(c[0],c[1]);break;case 1:{const a=c[0];if(a instanceof o)this.model={top:a.model.top,left:a.model.left,bottom:a.model.bottom,right:a.model.right,sheetName:a.sheetName};else if(a instanceof Array)this.decode(a);else if(a.top&amp;&amp;a.left&amp;&amp;a.bottom&amp;&amp;a.right)this.model={top:a.top,left:a.left,bottom:a.bottom,right:a.right,sheetName:a.sheetName};else{const d=i.decodeEx(a);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;+c.length)}}get top(){return this.model.top||1}set top(c){this.model.top=c}get left(){return this.model.left||1}set left(c){this.model.left=c}get bottom(){return this.model.bottom||1}set bottom(c){this.model.bottom=c}get right(){return this.model.right||1}set right(c){this.model.right=c}get sheetName(){return this.model.sheetName}set sheetName(c){this.model.sheetName=c}get _serialisedSheetName(){const{sheetName:c}=this.model;return c?/^[a-zA-Z0-9]*$/.test(c)?c+&quot;!&quot;:`&#039;${c}&#039;!`:&quot;&quot;}expand(c,a,d,f){(!this.model.top||c&lt;this.top)&amp;&amp;(this.top=c),(!this.model.left||a&lt;this.left)&amp;&amp;(this.left=a),(!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(c){if(c){const{dimensions:a,number:d}=c;a&amp;&amp;this.expand(d,a.min,d,a.max)}}expandToAddress(c){const a=i.decodeEx(c);this.expand(a.row,a.col,a.row,a.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(c){return(!c.sheetName||!this.sheetName||c.sheetName===this.sheetName)&amp;&amp;!(c.bottom&lt;this.top)&amp;&amp;!(c.top&gt;this.bottom)&amp;&amp;!(c.right&lt;this.left)&amp;&amp;!(c.left&gt;this.right)}contains(c){const a=i.decodeEx(c);return this.containsEx(a)}containsEx(c){return(!c.sheetName||!this.sheetName||c.sheetName===this.sheetName)&amp;&amp;c.row&gt;=this.top&amp;&amp;c.row&lt;=this.bottom&amp;&amp;c.col&gt;=this.left&amp;&amp;c.col&lt;=this.right}forEachAddress(c){for(let a=this.left;a&lt;=this.right;a++)for(let d=this.top;d&lt;=this.bottom;d++)c(i.encodeAddress(d,a),d,a)}}n.exports=o},{&quot;../utils/col-cache&quot;:19}],11:[function(t,n,l){const i=t(&quot;../utils/under-dash&quot;),o=t(&quot;./enums&quot;),u=t(&quot;../utils/col-cache&quot;),c=t(&quot;./cell&quot;);n.exports=class{constructor(a,d){this._worksheet=a,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(a){return this._cells[a-1]}getCellEx(a){let d=this._cells[a.col-1];if(!d){const f=this._worksheet.getColumn(a.col);d=new c(this,f,a.address),this._cells[a.col-1]=d}return d}getCell(a){if(typeof a==&quot;string&quot;){const d=this._worksheet.getColumnKey(a);a=d?d.number:u.l2n(a)}return this._cells[a-1]||this.getCellEx({address:u.encodeAddress(this._number,a),row:this._number,col:a})}splice(a,d){const f=a+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 x=m.length-d,g=this._cells.length;let y,v,_;if(x&lt;0)for(y=a+m.length;y&lt;=g;y++)_=this._cells[y-1],v=this._cells[y-x-1],v?(_=this.getCell(y),_.value=v.value,_.style=v.style,_._comment=v._comment):_&amp;&amp;(_.value=null,_.style={},_._comment=void 0);else if(x&gt;0)for(y=g;y&gt;=f;y--)v=this._cells[y-1],v?(_=this.getCell(y+x),_.value=v.value,_.style=v.style,_._comment=v._comment):this._cells[y+x-1]=void 0;for(y=0;y&lt;m.length;y++)_=this.getCell(a+y),_.value=m[y],_.style={},_._comment=void 0}eachCell(a,d){if(d||(d=a,a=null),a&amp;&amp;a.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!==o.ValueType.Null&amp;&amp;d(f,h+1)})}addPageBreak(a,d){const f=this._worksheet,h=Math.max(0,a-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 a=[];return this._cells.forEach(d=&gt;{d&amp;&amp;d.type!==o.ValueType.Null&amp;&amp;(a[d.col]=d.value)}),a}set values(a){if(this._cells=[],a)if(a instanceof Array){let d=0;a.hasOwnProperty(&quot;0&quot;)&amp;&amp;(d=1),a.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;{a[f]!==void 0&amp;&amp;(this.getCellEx({address:u.encodeAddress(this._number,d.number),row:this._number,col:d.number}).value=a[f])})}get hasValues(){return i.some(this._cells,a=&gt;a&amp;&amp;a.type!==o.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let a=0;return this.eachCell(()=&gt;{a++}),a}get dimensions(){let a=0,d=0;return this._cells.forEach(f=&gt;{f&amp;&amp;f.type!==o.ValueType.Null&amp;&amp;((!a||a&gt;f.col)&amp;&amp;(a=f.col),d&lt;f.col&amp;&amp;(d=f.col))}),a&gt;0?{min:a,max:d}:null}_applyStyle(a,d){return this.style[a]=d,this._cells.forEach(f=&gt;{f&amp;&amp;(f[a]=d)}),d}get numFmt(){return this.style.numFmt}set numFmt(a){this._applyStyle(&quot;numFmt&quot;,a)}get font(){return this.style.font}set font(a){this._applyStyle(&quot;font&quot;,a)}get alignment(){return this.style.alignment}set alignment(a){this._applyStyle(&quot;alignment&quot;,a)}get protection(){return this.style.protection}set protection(a){this._applyStyle(&quot;protection&quot;,a)}get border(){return this.style.border}set border(a){this._applyStyle(&quot;border&quot;,a)}get fill(){return this.style.fill}set fill(a){this._applyStyle(&quot;fill&quot;,a)}get hidden(){return!!this._hidden}set hidden(a){this._hidden=a}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(a){this._outlineLevel=a}get collapsed(){return!!(this._outlineLevel&amp;&amp;this._outlineLevel&gt;=this._worksheet.properties.outlineLevelRow)}get model(){const a=[];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),a.push(m))}}),this.height||a.length?{cells:a,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(a){if(a.number!==this._number)throw new Error(&quot;Invalid row number in model&quot;);let d;this._cells=[],a.cells.forEach(f=&gt;{switch(f.type){case c.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}}}),a.height?this.height=a.height:delete this.height,this.hidden=a.hidden,this.outlineLevel=a.outlineLevel||0,this.style=a.style&amp;&amp;JSON.parse(JSON.stringify(a.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,l){const i=t(&quot;../utils/col-cache&quot;);class o{constructor(c,a,d){this.table=c,this.column=a,this.index=d}_set(c,a){this.table.cacheState(),this.column[c]=a}get name(){return this.column.name}set name(c){this._set(&quot;name&quot;,c)}get filterButton(){return this.column.filterButton}set filterButton(c){this.column.filterButton=c}get style(){return this.column.style}set style(c){this.column.style=c}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(c){this._set(&quot;totalsRowLabel&quot;,c)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(c){this._set(&quot;totalsRowFunction&quot;,c)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(c){this._set(&quot;totalsRowResult&quot;,c)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(c){this._set(&quot;totalsRowFormula&quot;,c)}}n.exports=class{constructor(u,c){this.worksheet=u,c&amp;&amp;(this.table=c,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,c=(x,g,y)=&gt;{x[g]===void 0&amp;&amp;(x[g]=y)};c(u,&quot;headerRow&quot;,!0),c(u,&quot;totalsRow&quot;,!1),c(u,&quot;style&quot;,{}),c(u.style,&quot;theme&quot;,&quot;TableStyleMedium2&quot;),c(u.style,&quot;showFirstColumn&quot;,!1),c(u.style,&quot;showLastColumn&quot;,!1),c(u.style,&quot;showRowStripes&quot;,!1),c(u.style,&quot;showColumnStripes&quot;,!1);const a=(x,g)=&gt;{if(!x)throw new Error(g)};a(u.ref,&quot;Table must have ref&quot;),a(u.columns,&quot;Table must have column definitions&quot;),a(u.rows,&quot;Table must have row definitions&quot;),u.tl=i.decodeAddress(u.ref);const{row:d,col:f}=u.tl;a(d&gt;0,&quot;Table must be on valid row&quot;),a(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((x,g)=&gt;{a(x.name,`Column ${g} must have a name`),g===0?c(x,&quot;totalsRowLabel&quot;,&quot;Total&quot;):(c(x,&quot;totalsRowFunction&quot;,&quot;none&quot;),x.totalsRowFormula=this.getFormula(x))})}store(){const u=(m,p)=&gt;{p&amp;&amp;Object.keys(p).forEach(x=&gt;{m[x]=p[x]})},{worksheet:c,table:a}=this,{row:d,col:f}=a.tl;let h=0;if(a.headerRow){const m=c.getRow(d+h++);a.columns.forEach((p,x)=&gt;{const{style:g,name:y}=p,v=m.getCell(f+x);v.value=y,u(v,g)})}if(a.rows.forEach(m=&gt;{const p=c.getRow(d+h++);m.forEach((x,g)=&gt;{const y=p.getCell(f+g);y.value=x,u(y,a.columns[g].style)})}),a.totalsRow){const m=c.getRow(d+h++);a.columns.forEach((p,x)=&gt;{const g=m.getCell(f+x);if(x===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:c}=this,{row:a,col:d}=c.tl;let f=0;if(c.headerRow){const h=u.getRow(a+f++);c.columns.forEach((m,p)=&gt;{h.getCell(d+p).value=m.name})}if(c.rows.forEach(h=&gt;{const m=u.getRow(a+f++);h.forEach((p,x)=&gt;{m.getCell(d+x).value=p})}),c.totalsRow){const h=u.getRow(a+f++);c.columns.forEach((m,p)=&gt;{const x=h.getCell(d+p);p===0?x.value=m.totalsRowLabel:this.getFormula(m)&amp;&amp;(x.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 c=0;c&lt;this._cache.tableHeight;c++){const a=this.worksheet.getRow(u.row+c);for(let d=0;d&lt;this._cache.width;d++)a.getCell(u.col+d).value=null}else{for(let c=this.tableHeight;c&lt;this._cache.tableHeight;c++){const a=this.worksheet.getRow(u.row+c);for(let d=0;d&lt;this._cache.width;d++)a.getCell(u.col+d).value=null}for(let c=0;c&lt;this.tableHeight;c++){const a=this.worksheet.getRow(u.row+c);for(let d=this.width;d&lt;this._cache.width;d++)a.getCell(u.col+d).value=null}}this.store()}addRow(u,c){this.cacheState(),c===void 0?this.table.rows.push(u):this.table.rows.splice(c,0,u)}removeRows(u){let c=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.rows.splice(u,c)}getColumn(u){const c=this.table.columns[u];return new o(this,c,u)}addColumn(u,c,a){this.cacheState(),a===void 0?(this.table.columns.push(u),this.table.rows.forEach((d,f)=&gt;{d.push(c[f])})):(this.table.columns.splice(a,0,u),this.table.rows.forEach((d,f)=&gt;{d.splice(a,0,c[f])}))}removeColumns(u){let c=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.columns.splice(u,c),this.table.rows.forEach(a=&gt;{a.splice(u,c)})}_assign(u,c,a){this.cacheState(),u[c]=a}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,l){const i=t(&quot;./worksheet&quot;),o=t(&quot;./defined-names&quot;),u=t(&quot;../xlsx/xlsx&quot;),c=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 o}get xlsx(){return this._xlsx||(this._xlsx=new u(this)),this._xlsx}get csv(){return this._csv||(this._csv=new c(this)),this._csv}get nextId(){for(let a=1;a&lt;this._worksheets.length;a++)if(!this._worksheets[a])return a;return this._worksheets.length||1}addWorksheet(a,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((x,g)=&gt;(g&amp;&amp;g.orderNo)&gt;x?g.orderNo:x,0),m=Object.assign({},d,{id:f,name:a,orderNo:h+1,workbook:this}),p=new i(m);return this._worksheets[f]=p,p}removeWorksheetEx(a){delete this._worksheets[a.id]}removeWorksheet(a){const d=this.getWorksheet(a);d&amp;&amp;d.destroy()}getWorksheet(a){return a===void 0?this._worksheets.find(Boolean):typeof a==&quot;number&quot;?this._worksheets[a]:typeof a==&quot;string&quot;?this._worksheets.find(d=&gt;d&amp;&amp;d.name===a):void 0}get worksheets(){return this._worksheets.slice(1).sort((a,d)=&gt;a.orderNo-d.orderNo).filter(Boolean)}eachSheet(a){this.worksheets.forEach(d=&gt;{a(d,d.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage(a){const d=this.media.length;return this.media.push(Object.assign({},a,{type:&quot;image&quot;})),d}getImage(a){return this.media[a]}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(a=&gt;a.model),sheets:this.worksheets.map(a=&gt;a.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(a){this.creator=a.creator,this.lastModifiedBy=a.lastModifiedBy,this.lastPrinted=a.lastPrinted,this.created=a.created,this.modified=a.modified,this.company=a.company,this.manager=a.manager,this.title=a.title,this.subject=a.subject,this.keywords=a.keywords,this.category=a.category,this.description=a.description,this.language=a.language,this.revision=a.revision,this.contentStatus=a.contentStatus,this.properties=a.properties,this.calcProperties=a.calcProperties,this._worksheets=[],a.worksheets.forEach(d=&gt;{const{id:f,name:h,state:m}=d,p=a.sheets&amp;&amp;a.sheets.findIndex(x=&gt;x.id===f);(this._worksheets[f]=new i({id:f,name:h,orderNo:p,state:m,workbook:this})).model=d}),this._definedNames.model=a.definedNames,this.views=a.views,this._themes=a.themes,this.media=a.media||[]}}},{&quot;../csv/csv&quot;:1,&quot;../xlsx/xlsx&quot;:144,&quot;./defined-names&quot;:6,&quot;./worksheet&quot;:14}],14:[function(t,n,l){const i=t(&quot;../utils/under-dash&quot;),o=t(&quot;../utils/col-cache&quot;),u=t(&quot;./range&quot;),c=t(&quot;./row&quot;),a=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:x}=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 M=(C.header?1:C.headers&amp;&amp;C.headers.length)||0;return Math.max(_,M)},0);let y=1;const v=this._columns=[];g.forEach(_=&gt;{const C=new a(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=o.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 a(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),M=2;M&lt;_;M++)C[M-2]=arguments[M];if(C.length&gt;0)for(let H=0;H&lt;v;H++){const W=[g,y];C.forEach(K=&gt;{W.push(K[H]||null)});const q=this.getRow(H+1);q.splice.apply(q,W)}else this._rows.forEach(H=&gt;{H&amp;&amp;H.splice(g,y)});const T=C.length-y,$=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;=$;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 c(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=x(_.style),_.eachCell({includeEmpty:v},(M,T)=&gt;{C.getCell(T).style=x(M.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 M=0;M&lt;y;M++){const T=this._rows[g+M];T.style=_.style,T.height=_.height,_.eachCell({includeEmpty:!0},($,F)=&gt;{T.getCell(F).style=$.style})}}spliceRows(g,y){const v=g+y;for(var _=arguments.length,C=new Array(_&gt;2?_-2:0),M=2;M&lt;_;M++)C[M-2]=arguments[M];const T=C.length,$=T-y,F=this._rows.length;let H,W;if($&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 q=this.getRow(H+$);q.values=W.values,q.style=W.style,q.height=W.height,W.eachCell({includeEmpty:!0},(K,P)=&gt;{q.getCell(P).style=K.style}),this._rows[H-1]=void 0}else this._rows[H+$-1]=void 0;else if($&gt;0)for(H=F;H&gt;=v;H--)if(W=this._rows[H-1],W){const q=this.getRow(H+$);q.values=W.values,q.style=W.style,q.height=W.height,W.eachCell({includeEmpty:!0},(K,P)=&gt;{if(q.getCell(P).style=K.style,K._value.constructor.name===&quot;MergeValue&quot;){const L=this.getRow(K._row._number+T).getCell(P),E=K._value._master,j=this.getRow(E._row._number+T).getCell(E._column._number);L.merge(j)}})}else this._rows[H+$-1]=void 0;for(H=0;H&lt;T;H++){const q=this.getRow(g+H);q.style={},q.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=o.getAddress(g,y),_=this._rows[v.row-1];return _?_.findCell(v.col):void 0}getCell(g,y){const v=o.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 M=_.left;M&lt;=_.right;M++){const T=this.findCell(C,M);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=o.decode(g),{top:M,left:T,bottom:$,right:F}=C,H=F-T+1,W=o.encodeAddress(M,T),q=_===&quot;shared&quot;;let K;K=typeof v==&quot;function&quot;?v:Array.isArray(v)?Array.isArray(v[0])?(L,E)=&gt;v[L-M][E-T]:(L,E)=&gt;v[(L-M)*H+(E-T)]:()=&gt;{};let P=!0;for(let L=M;L&lt;=$;L++)for(let E=T;E&lt;=F;E++)P?(this.getCell(L,E).value={shareType:_,formula:y,ref:g,result:K(L,E)},P=!1):this.getCell(L,E).value=q?{sharedFormula:W,result:K(L,E)}:K(L,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=a.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 c(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=a.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,l){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;)},o=t(&quot;./doc/enums&quot;);Object.keys(o).forEach(u=&gt;{i[u]=o[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,l){const i=typeof TextDecoder&gt;&quot;u&quot;?null:new TextDecoder(&quot;utf-8&quot;);l.bufferToString=function(o){return typeof o==&quot;string&quot;?o:i?i.decode(o):o.toString()}},{}],17:[function(t,n,l){const i=typeof TextEncoder&gt;&quot;u&quot;?null:new TextEncoder(&quot;utf-8&quot;),{Buffer:o}=t(&quot;buffer&quot;);l.stringToBuffer=function(u){return typeof u!=&quot;string&quot;?u:i?o.from(i.encode(u).buffer):o.from(u)}},{buffer:220}],18:[function(t,n,l){const i=t(&quot;./under-dash&quot;),o=t(&quot;./col-cache&quot;);n.exports=class{constructor(u){this.template=u,this.sheets={}}addCell(u){this.addCellEx(o.decodeEx(u))}getCell(u){return this.findCellEx(o.decodeEx(u),!0)}findCell(u){return this.findCellEx(o.decodeEx(u),!1)}findCellAt(u,c,a){const d=this.sheets[u],f=d&amp;&amp;d[c];return f&amp;&amp;f[a]}addCellEx(u){if(u.top)for(let c=u.top;c&lt;=u.bottom;c++)for(let a=u.left;a&lt;=u.right;a++)this.getCellAt(u.sheetName,c,a);else this.findCellEx(u,!0)}getCellEx(u){return this.findCellEx(u,!0)}findCellEx(u,c){const a=this.findSheet(u,c),d=this.findSheetRow(a,u,c);return this.findRowCell(d,u,c)}getCellAt(u,c,a){const d=this.sheets[u]||(this.sheets[u]=[]),f=d[c]||(d[c]=[]);return f[a]||(f[a]={sheetName:u,address:o.n2l(a)+c,row:c,col:a})}removeCellEx(u){const c=this.findSheet(u);if(!c)return;const a=this.findSheetRow(c,u);a&amp;&amp;delete a[u.col]}forEachInSheet(u,c){const a=this.sheets[u];a&amp;&amp;a.forEach((d,f)=&gt;{d&amp;&amp;d.forEach((h,m)=&gt;{h&amp;&amp;c(h,f,m)})})}forEach(u){i.each(this.sheets,(c,a)=&gt;{this.forEachInSheet(a,u)})}map(u){const c=[];return this.forEach(a=&gt;{c.push(u(a))}),c}findSheet(u,c){const a=u.sheetName;return this.sheets[a]?this.sheets[a]:c?this.sheets[a]=[]:void 0}findSheetRow(u,c,a){const{row:d}=c;return u&amp;&amp;u[d]?u[d]:a?u[d]=[]:void 0}findRowCell(u,c,a){const{col:d}=c;return u&amp;&amp;u[d]?u[d]:a?u[d]=this.template?Object.assign(c,JSON.parse(JSON.stringify(this.template))):c:void 0}spliceRows(u,c,a,d){const f=this.sheets[u];if(f){const h=[];for(let m=0;m&lt;d;m++)h.push([]);f.splice(c,a,...h)}}spliceColumns(u,c,a,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(c,a,...h)})}}}},{&quot;./col-cache&quot;:19,&quot;./under-dash&quot;:26}],19:[function(t,n,l){const i=/^[A-Z]+\d+$/,o={_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 c,a,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;)c=this._dictionary[m-1],this._n2l[m]=c,this._l2n[c]=m,m++;this._l2nFill=1}if(this._l2nFill&lt;2&amp;&amp;u&gt;=2){for(m=27;m&lt;=702;)a=m-27,d=a%26,f=Math.floor(a/26),c=this._dictionary[f]+this._dictionary[d],this._n2l[m]=c,this._l2n[c]=m,m++;this._l2nFill=2}if(this._l2nFill&lt;3&amp;&amp;u&gt;=3){for(m=703;m&lt;=16384;)a=m-703,d=a%26,f=Math.floor(a/26)%26,h=Math.floor(a/676),c=this._dictionary[h]+this._dictionary[f]+this._dictionary[d],this._n2l[m]=c,this._l2n[c]=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 c=u.length&lt;5&amp;&amp;this._hash[u];if(c)return c;let a=!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)a=!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;a&amp;&amp;g!==36)break;if(a){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 x={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]=x,this._hash[x.$col$row]=x),x},getAddress(u,c){if(c){const a=this.n2l(c)+u;return this.decodeAddress(a)}return this.decodeAddress(u)},decode(u){const c=u.split(&quot;:&quot;);if(c.length===2){const a=this.decodeAddress(c[0]),d=this.decodeAddress(c[1]),f={top:Math.min(a.row,d.row),left:Math.min(a.col,d.col),bottom:Math.max(a.row,d.row),right:Math.max(a.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 c=u.match(/(?:(?:(?:&#039;((?:[^&#039;]|&#039;&#039;)*)&#039;)|([^&#039;^ !]*))!)?(.*)/),a=c[1]||c[2],d=c[3],f=d.split(&quot;:&quot;);if(f.length&gt;1){let m=this.decodeAddress(f[0]),p=this.decodeAddress(f[1]);const x=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)+x,p=this.n2l(v)+y,{top:x,left:g,bottom:y,right:v,sheetName:a,tl:{address:m,col:g,row:x,$col$row:`$${this.n2l(g)}$${x}`,sheetName:a},br:{address:p,col:v,row:y,$col$row:`$${this.n2l(v)}$${y}`,sheetName:a},dimensions:`${m}:${p}`}}if(d.startsWith(&quot;#&quot;))return a?{sheetName:a,error:d}:{error:d};const h=this.decodeAddress(d);return a?{sheetName:a,...h}:h},encodeAddress:(u,c)=&gt;o.n2l(c)+u,encode(){switch(arguments.length){case 2:return o.encodeAddress(arguments[0],arguments[1]);case 4:return`${o.encodeAddress(arguments[0],arguments[1])}:${o.encodeAddress(arguments[2],arguments[3])}`;default:throw new Error(&quot;Can only encode with 2 or 4 arguments&quot;)}},inRange(u,c){const[a,d,,f,h]=u,[m,p]=c;return m&gt;=a&amp;&amp;m&lt;=f&amp;&amp;p&gt;=d&amp;&amp;p&lt;=h}};n.exports=o},{}],20:[function(t,n,l){const i=(u,c)=&gt;({...u,...c.reduce((a,d)=&gt;(u[d]&amp;&amp;(a[d]={...u[d]}),a),{})}),o=function(u,c,a){let d=arguments.length&gt;3&amp;&amp;arguments[3]!==void 0?arguments[3]:[];u[a]&amp;&amp;(c[a]=i(u[a],d))};l.copyStyle=u=&gt;{if(!u)return u;if(c=u,Object.keys(c).length===0)return{};var c;const a={...u};return o(u,a,&quot;font&quot;,[&quot;color&quot;]),o(u,a,&quot;alignment&quot;),o(u,a,&quot;protection&quot;),u.border&amp;&amp;(o(u,a,&quot;border&quot;),o(u.border,a.border,&quot;top&quot;,[&quot;color&quot;]),o(u.border,a.border,&quot;left&quot;,[&quot;color&quot;]),o(u.border,a.border,&quot;bottom&quot;,[&quot;color&quot;]),o(u.border,a.border,&quot;right&quot;,[&quot;color&quot;]),o(u.border,a.border,&quot;diagonal&quot;,[&quot;color&quot;])),u.fill&amp;&amp;(o(u,a,&quot;fill&quot;,[&quot;fgColor&quot;,&quot;bgColor&quot;,&quot;center&quot;]),u.fill.stops&amp;&amp;(a.fill.stops=u.fill.stops.map(d=&gt;i(d,[&quot;color&quot;])))),a}},{}],21:[function(t,n,l){(function(i){(function(){const o=t(&quot;crypto&quot;),u={hash(c){const a=o.createHash(c);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 a.update(i.concat(f)),a.digest()},convertPasswordToHash(c,a,d,f){if(a=a.toLowerCase(),o.getHashes().indexOf(a)&lt;0)throw new Error(`Hash algorithm &#039;${a}&#039; not supported!`);const h=i.from(c,&quot;utf16le&quot;);let m=this.hash(a,i.from(d,&quot;base64&quot;),h);for(let p=0;p&lt;f;p++){const x=i.alloc(4);x.writeUInt32LE(p,0),m=this.hash(a,m,x)}return m.toString(&quot;base64&quot;)},randomBytes:c=&gt;o.randomBytes(c)};n.exports=u}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220,crypto:390}],22:[function(t,n,l){const{SaxesParser:i}=t(&quot;saxes&quot;),{PassThrough:o}=t(&quot;readable-stream&quot;),{bufferToString:u}=t(&quot;./browser-buffer-decode&quot;);n.exports=async function*(c){c.pipe&amp;&amp;!c[Symbol.asyncIterator]&amp;&amp;(c=c.pipe(new o));const a=new i;let d;a.on(&quot;error&quot;,h=&gt;{d=h});let f=[];a.on(&quot;opentag&quot;,h=&gt;f.push({eventType:&quot;opentag&quot;,value:h})),a.on(&quot;text&quot;,h=&gt;f.push({eventType:&quot;text&quot;,value:h})),a.on(&quot;closetag&quot;,h=&gt;f.push({eventType:&quot;closetag&quot;,value:h}));for await(const h of c){if(a.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,l){const i=t(&quot;./col-cache&quot;),o=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,u=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;n.exports={slideFormula:function(c,a,d){const f=i.decode(a),h=i.decode(d);return c.replace(o,(m,p,x,g,y)=&gt;{if(y)return m;const v=u.exec(g);if(v){const _=v[1],C=v[2].toUpperCase(),M=v[3],T=v[4];if(C.length&gt;3||C.length===3&amp;&amp;C&gt;&quot;XFD&quot;)return m;let $=i.l2n(C),F=parseInt(T,10);return _||($+=h.col-f.col),M||(F+=h.row-f.row),(p||&quot;&quot;)+(_||&quot;&quot;)+i.n2l($)+(M||&quot;&quot;)+F}return m})}}},{&quot;./col-cache&quot;:19}],24:[function(t,n,l){(function(i,o){(function(){const u=t(&quot;readable-stream&quot;),c=t(&quot;./utils&quot;),a=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=o.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=o.alloc(g),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&amp;&amp;this.iWrite===this.size)return this.buffer;const g=o.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=o.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(x){x=x||{},this.bufSize=x.bufSize||1048576,this.buffers=[],this.batch=x.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};c.inherits(p,u.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return o.concat(this.buffers.map(x=&gt;x.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){const g=this.buffers[this.buffers.length-1];if(!g.full)return g}const x=new m(this.bufSize);return this.buffers.push(x),x},async _pipe(x){await Promise.all(this.pipes.map((function(g){return new Promise(y=&gt;{g.write(x.toBuffer(),()=&gt;{y()})})})))},_writeToBuffers(x){let g=0;const y=x.length;for(;g&lt;y;)g+=this._getWritableBuffer().write(x,g,y-g)},async write(x,g,y){let v;if(g instanceof Function&amp;&amp;(y=g,g=&quot;utf8&quot;),y=y||c.nop,x instanceof a)v=new f(x);else if(x instanceof o)v=new h(x);else{if(!(typeof x==&quot;string&quot;||x instanceof String||x instanceof ArrayBuffer))throw new Error(&quot;Chunk must be one of type String, Buffer or StringBuf.&quot;);v=new d(x,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(x,g,y){const v=_=&gt;{_?y(_):(this._flush(),this.pipes.forEach(C=&gt;{C.end()}),this.emit(&quot;finish&quot;))};x?this.write(x,g,v):v()},read(x){let g;if(x){for(g=[];x&amp;&amp;this.buffers.length&amp;&amp;!this.buffers[0].eod;){const y=this.buffers[0],v=y.read(x);x-=v.length,g.push(v),y.eod&amp;&amp;y.full&amp;&amp;this.buffers.shift()}return o.concat(g)}return g=this.buffers.map(y=&gt;y.toBuffer()).filter(Boolean),this.buffers=[],o.concat(g)},setEncoding(x){this.encoding=x},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe(x){this.pipes.push(x),!this.paused&amp;&amp;this.buffers.length&amp;&amp;this.end()},unpipe(x){this.pipes=this.pipes.filter(g=&gt;g!==x)},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,l){(function(i){(function(){n.exports=class{constructor(o){this._buf=i.alloc(o&amp;&amp;o.size||16384),this._encoding=o&amp;&amp;o.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(o){o=o||0,this._buffer=void 0,this._inPos=o}_grow(o){let u=2*this._buf.length;for(;u&lt;o;)u*=2;const c=i.alloc(u);this._buf.copy(c,0),this._buf=c}addText(o){this._buffer=void 0;let u=this._inPos+this._buf.write(o,this._inPos,this._encoding);for(;u&gt;=this._buf.length-4;)this._grow(this._inPos+o.length),u=this._inPos+this._buf.write(o,this._inPos,this._encoding);this._inPos=u}addStringBuf(o){o.length&amp;&amp;(this._buffer=void 0,this.length+o.length&gt;this.capacity&amp;&amp;this._grow(this.length+o.length),o._buf.copy(this._buf,this._inPos,0,o.length),this._inPos+=o.length)}}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220}],26:[function(t,n,l){const{toString:i}=Object.prototype,o=/[&quot;&amp;&lt;&gt;]/,u={each:function(c,a){c&amp;&amp;(Array.isArray(c)?c.forEach(a):Object.keys(c).forEach(d=&gt;{a(c[d],d)}))},some:function(c,a){return!!c&amp;&amp;(Array.isArray(c)?c.some(a):Object.keys(c).some(d=&gt;a(c[d],d)))},every:function(c,a){return!c||(Array.isArray(c)?c.every(a):Object.keys(c).every(d=&gt;a(c[d],d)))},map:function(c,a){return c?Array.isArray(c)?c.map(a):Object.keys(c).map(d=&gt;a(c[d],d)):[]},keyBy:(c,a)=&gt;c.reduce((d,f)=&gt;(d[f[a]]=f,d),{}),isEqual:function(c,a){const d=typeof c,f=typeof a,h=Array.isArray(c),m=Array.isArray(a);let p;if(d!==f)return!1;switch(typeof c){case&quot;object&quot;:if(h||m)return!(!h||!m)&amp;&amp;c.length===a.length&amp;&amp;c.every((x,g)=&gt;{const y=a[g];return u.isEqual(x,y)});if(c===null||a===null)return c===a;if(p=Object.keys(c),Object.keys(a).length!==p.length)return!1;for(const x of p)if(!a.hasOwnProperty(x))return!1;return u.every(c,(x,g)=&gt;{const y=a[g];return u.isEqual(x,y)});default:return c===a}},escapeHtml(c){const a=o.exec(c);if(!a)return c;let d=&quot;&quot;,f=&quot;&quot;,h=0,m=a.index;for(;m&lt;c.length;m++){switch(c.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+=c.substring(h,m)),h=m+1,d+=f}return h!==m?d+c.substring(h,m):d},strcmp:(c,a)=&gt;c&lt;a?-1:c&gt;a?1:0,isUndefined:c=&gt;i.call(c)===&quot;[object Undefined]&quot;,isObject:c=&gt;i.call(c)===&quot;[object Object]&quot;,deepMerge(){const c=arguments[0]||{},{length:a}=arguments;let d,f,h;function m(p,x){d=c[x],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:{},c[x]=u.deepMerge(f,p)):u.isUndefined(p)||(c[x]=p)}for(let p=0;p&lt;a;p++)u.each(arguments[p],m);return c}};n.exports=u},{}],27:[function(t,n,l){(function(i,o){(function(){const u=t(&quot;fs&quot;),c=/[&lt;&gt;&amp;&#039;&quot;\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,a={nop(){},promiseImmediate:d=&gt;new Promise(f=&gt;{i.setImmediate?o(()=&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(x=&gt;{Object.defineProperty(d,x,Object.getOwnPropertyDescriptor(h,x))});const p={constructor:{value:d,enumerable:!1,writable:!1,configurable:!0}};m&amp;&amp;Object.keys(m).forEach(x=&gt;{p[x]=Object.getOwnPropertyDescriptor(m,x)}),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=a.parsePath(d);return`${f.path}/_rels/${f.name}.rels`},xmlEncode(d){const f=c.exec(d);if(!f)return d;let h=&quot;&quot;,m=&quot;&quot;,p=0,x=f.index;for(;x&lt;d.length;x++){const g=d.charCodeAt(x);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!==x&amp;&amp;(h+=d.substring(p,x)),p=x+1,m&amp;&amp;(h+=m)}return p!==x?h+d.substring(p,x):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=a}).call(this)}).call(this,typeof Jt&lt;&quot;u&quot;?Jt: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,l){const i=t(&quot;./under-dash&quot;),o=t(&quot;./utils&quot;);function u(d,f,h){d.push(` ${f}=&quot;${o.xmlEncode(h.toString())}&quot;`)}function c(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 a{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;),c(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),c(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;);c(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(o.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;)}}a.StdDocAttributes={version:&quot;1.0&quot;,encoding:&quot;UTF-8&quot;,standalone:&quot;yes&quot;},n.exports=a},{&quot;./under-dash&quot;:26,&quot;./utils&quot;:27}],29:[function(t,n,l){(function(i){(function(){const o=t(&quot;events&quot;),u=t(&quot;jszip&quot;),c=t(&quot;./stream-buf&quot;),{stringToBuffer:a}=t(&quot;./browser-buffer-encode&quot;);class d extends o.EventEmitter{constructor(h){super(),this.options=Object.assign({type:&quot;nodebuffer&quot;,compression:&quot;DEFLATE&quot;},h),this.zip=new u,this.stream=new c}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=a(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,l){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,l){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,l){const i=t(&quot;../../utils/parse-sax&quot;),o=t(&quot;../../utils/xml-stream&quot;);class u{prepare(){}render(){}parseOpen(a){}parseText(a){}parseClose(a){}reconcile(a,d){}reset(){this.model=null,this.map&amp;&amp;Object.values(this.map).forEach(a=&gt;{a instanceof u?a.reset():a.xform&amp;&amp;a.xform.reset()})}mergeModel(a){this.model=Object.assign(this.model||{},a)}async parse(a){for await(const d of a)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(a){return this.parse(i(a))}get xml(){return this.toXml(this.model)}toXml(a){const d=new o;return this.render(d,a),d.xml}static toAttribute(a,d){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];if(a===void 0){if(f)return d}else if(f||a!==d)return a.toString()}static toStringAttribute(a,d){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(a,d,f)}static toStringValue(a,d){return a===void 0?d:a}static toBoolAttribute(a,d){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];if(a===void 0){if(f)return d}else if(f||a!==d)return a?&quot;1&quot;:&quot;0&quot;}static toBoolValue(a,d){return a===void 0?d:a===&quot;1&quot;}static toIntAttribute(a,d){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(a,d,f)}static toIntValue(a,d){return a===void 0?d:parseInt(a,10)}static toFloatAttribute(a,d){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(a,d,f)}static toFloatValue(a,d){return a===void 0?d:parseFloat(a)}}n.exports=u},{&quot;../../utils/parse-sax&quot;:22,&quot;../../utils/xml-stream&quot;:28}],33:[function(t,n,l){const i=t(&quot;../base-xform&quot;),o=t(&quot;../../../utils/col-cache&quot;);function u(a){try{return o.decodeEx(a),!0}catch{return!1}}function c(a){const d=[];let f=!1,h=&quot;&quot;;return a.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 x=p%2==0;!f&amp;&amp;x&amp;&amp;u(m)?d.push(m):f&amp;&amp;!x?(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(a,d){a.openNode(&quot;definedName&quot;,{name:d.name,localSheetId:d.localSheetId}),a.writeText(d.ranges.join(&quot;,&quot;)),a.closeNode()}parseOpen(a){return a.name===&quot;definedName&quot;?(this._parsedName=a.attributes.name,this._parsedLocalSheetId=a.attributes.localSheetId,this._parsedText=[],!0):!1}parseText(a){this._parsedText.push(a)}parseClose(){return this.model={name:this._parsedName,ranges:c(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,l){const i=t(&quot;../../../utils/utils&quot;),o=t(&quot;../base-xform&quot;);n.exports=class extends o{render(u,c){u.leafNode(&quot;sheet&quot;,{sheetId:c.id,name:c.name,state:c.state,&quot;r:id&quot;:c.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,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(o,u){o.leafNode(&quot;calcPr&quot;,{calcId:171027,fullCalcOnLoad:u.fullCalcOnLoad?1:void 0})}parseOpen(o){return o.name===&quot;calcPr&quot;&amp;&amp;(this.model={},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],36:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(o,u){o.leafNode(&quot;workbookPr&quot;,{date1904:u.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen(o){return o.name===&quot;workbookPr&quot;&amp;&amp;(this.model={date1904:o.attributes.date1904===&quot;1&quot;},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],37:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(o,u){const c={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;(c.visibility=u.visibility),o.leafNode(&quot;workbookView&quot;,c)}parseOpen(o){if(o.name===&quot;workbookView&quot;){const u=this.model={},c=function(d,f,h){const m=f!==void 0?u[d]=f:h;m!==void 0&amp;&amp;(u[d]=m)},a=function(d,f,h){const m=f!==void 0?u[d]=parseInt(f,10):h;m!==void 0&amp;&amp;(u[d]=m)};return a(&quot;x&quot;,o.attributes.xWindow,0),a(&quot;y&quot;,o.attributes.yWindow,0),a(&quot;width&quot;,o.attributes.windowWidth,25e3),a(&quot;height&quot;,o.attributes.windowHeight,1e4),c(&quot;visibility&quot;,o.attributes.visibility,&quot;visible&quot;),a(&quot;activeTab&quot;,o.attributes.activeTab,void 0),a(&quot;firstSheet&quot;,o.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],38:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),o=t(&quot;../../../utils/col-cache&quot;),u=t(&quot;../../../utils/xml-stream&quot;),c=t(&quot;../base-xform&quot;),a=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;),x=t(&quot;./workbook-calc-properties-xform&quot;);class g extends c{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 x}}prepare(v){v.sheets=v.worksheets;const _=[];let C=0;v.sheets.forEach(M=&gt;{if(M.pageSetup&amp;&amp;M.pageSetup.printArea&amp;&amp;M.pageSetup.printArea.split(&quot;&amp;&amp;&quot;).forEach(T=&gt;{const $=T.split(&quot;:&quot;),F={name:&quot;_xlnm.Print_Area&quot;,ranges:[`&#039;${M.name}&#039;!$${$[0]}:$${$[1]}`],localSheetId:C};_.push(F)}),M.pageSetup&amp;&amp;(M.pageSetup.printTitlesRow||M.pageSetup.printTitlesColumn)){const T=[];if(M.pageSetup.printTitlesColumn){const F=M.pageSetup.printTitlesColumn.split(&quot;:&quot;);T.push(`&#039;${M.name}&#039;!$${F[0]}:$${F[1]}`)}if(M.pageSetup.printTitlesRow){const F=M.pageSetup.printTitlesRow.split(&quot;:&quot;);T.push(`&#039;${M.name}&#039;!$${F[0]}:$${F[1]}`)}const $={name:&quot;_xlnm.Print_Titles&quot;,ranges:T,localSheetId:C};_.push($)}C++}),_.length&amp;&amp;(v.definedNames=v.definedNames.concat(_)),(v.media||[]).forEach((M,T)=&gt;{M.name=M.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 M,T=0;(v.sheets||[]).forEach(F=&gt;{const H=_[F.rId];H&amp;&amp;(M=v.worksheetHash[&quot;xl/&quot;+H.Target.replace(/^(\s|\/xl\/)+/,&quot;&quot;)],M&amp;&amp;(M.name=F.name,M.id=F.id,M.state=F.state,C[T++]=M))});const $=[];i.each(v.definedNames,F=&gt;{if(F.name===&quot;_xlnm.Print_Area&quot;){if(M=C[F.localSheetId],M){M.pageSetup||(M.pageSetup={});const H=o.decodeEx(F.ranges[0]);M.pageSetup.printArea=M.pageSetup.printArea?`${M.pageSetup.printArea}&amp;&amp;${H.dimensions}`:H.dimensions}}else if(F.name===&quot;_xlnm.Print_Titles&quot;){if(M=C[F.localSheetId],M){M.pageSetup||(M.pageSetup={});const H=F.ranges.join(&quot;,&quot;),W=/\$/g,q=/\$\d+:\$\d+/,K=H.match(q);if(K&amp;&amp;K.length){const E=K[0];M.pageSetup.printTitlesRow=E.replace(W,&quot;&quot;)}const P=/\$[A-Z]+:\$[A-Z]+/,L=H.match(P);if(L&amp;&amp;L.length){const E=L[0];M.pageSetup.printTitlesColumn=E.replace(W,&quot;&quot;)}}}else $.push(F)}),v.definedNames=$,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 a({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,l){const i=t(&quot;../strings/rich-text-xform&quot;),o=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),c=n.exports=function(a){this.model=a};o.inherits(c,u,{get tag(){return&quot;r&quot;},get richTextXform(){return this._richTextXform||(this._richTextXform=new i),this._richTextXform},render(a,d){d=d||this.model,a.openNode(&quot;comment&quot;,{ref:d.ref,authorId:0}),a.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(a,f)}),a.closeNode(),a.closeNode()},parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case&quot;comment&quot;:return this.model={type:&quot;note&quot;,note:{texts:[]},...a.attributes},!0;case&quot;r&quot;:return this.parser=this.richTextXform,this.parser.parseOpen(a),!0;default:return!1}},parseText(a){this.parser&amp;&amp;this.parser.parseText(a)},parseClose(a){switch(a){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(a),!0}}})},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;../strings/rich-text-xform&quot;:122}],40:[function(t,n,l){const i=t(&quot;../../../utils/xml-stream&quot;),o=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),c=t(&quot;./comment-xform&quot;),a=n.exports=function(){this.map={comment:new c}};o.inherits(a,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;,a.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,l){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{constructor(o){super(),this._model=o}get tag(){return this._model&amp;&amp;this._model.tag}render(o,u,c){(u===c[2]||this.tag===&quot;x:SizeWithCells&quot;&amp;&amp;u===c[1])&amp;&amp;o.leafNode(this.tag)}parseOpen(o){return o.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,l){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{constructor(o){super(),this._model=o}get tag(){return this._model&amp;&amp;this._model.tag}render(o,u){o.leafNode(this.tag,null,u)}parseOpen(o){return o.name===this.tag?(this.text=&quot;&quot;,!0):!1}parseText(o){this.text=o}parseClose(){return!1}}},{&quot;../../base-xform&quot;:32}],43:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;x:Anchor&quot;}getAnchorRect(o){const u=Math.floor(o.left),c=Math.floor(68*(o.left-u)),a=Math.floor(o.top),d=Math.floor(18*(o.top-a)),f=Math.floor(o.right),h=Math.floor(68*(o.right-f)),m=Math.floor(o.bottom);return[u,c,a,d,f,h,m,Math.floor(18*(o.bottom-m))]}getDefaultRect(o){const u=o.col,c=Math.max(o.row-2,0);return[u,6,c,14,u+2,2,c+4,16]}render(o,u){const c=u.anchor?this.getAnchorRect(u.anchor):this.getDefaultRect(u.refAddress);o.leafNode(&quot;x:Anchor&quot;,null,c.join(&quot;, &quot;))}parseOpen(o){return o.name===this.tag?(this.text=&quot;&quot;,!0):!1}parseText(o){this.text=o}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],44:[function(t,n,l){const i=t(&quot;../base-xform&quot;),o=t(&quot;./vml-anchor-xform&quot;),u=t(&quot;./style/vml-protection-xform&quot;),c=t(&quot;./style/vml-position-xform&quot;),a=[&quot;twoCells&quot;,&quot;oneCells&quot;,&quot;absolute&quot;];n.exports=class extends i{constructor(){super(),this.map={&quot;x:Anchor&quot;:new o,&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 c({tag:&quot;x:SizeWithCells&quot;}),&quot;x:MoveWithCells&quot;:new c({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,a),this.map[&quot;x:SizeWithCells&quot;].render(d,m,a),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=a[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,l){const i=t(&quot;../../../utils/xml-stream&quot;),o=t(&quot;../base-xform&quot;),u=t(&quot;./vml-shape-xform&quot;);class c extends o{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,c.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)})}}c.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=c},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./vml-shape-xform&quot;:46}],46:[function(t,n,l){const i=t(&quot;../base-xform&quot;),o=t(&quot;./vml-textbox-xform&quot;),u=t(&quot;./vml-client-data-xform&quot;);class c extends i{constructor(){super(),this.map={&quot;v:textbox&quot;:new o,&quot;x:ClientData&quot;:new u}}get tag(){return&quot;v:shape&quot;}render(d,f,h){d.openNode(&quot;v:shape&quot;,c.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}}c.V_SHAPE_ATTRIBUTES=(a,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;:a.note.margins&amp;&amp;a.note.margins.insetmode}),n.exports=c},{&quot;../base-xform&quot;:32,&quot;./vml-client-data-xform&quot;:44,&quot;./vml-textbox-xform&quot;:47}],47:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;v:textbox&quot;}conversionUnit(o,u,c){return`${parseFloat(o)*u.toFixed(2)}${c}`}reverseConversionUnit(o){return(o||&quot;&quot;).split(&quot;,&quot;).map(u=&gt;Number(parseFloat(this.conversionUnit(parseFloat(u),.1,&quot;&quot;)).toFixed(2)))}render(o,u){const c={style:&quot;mso-direction-alt:auto&quot;};if(u&amp;&amp;u.note){let{inset:a}=u.note&amp;&amp;u.note.margins;Array.isArray(a)&amp;&amp;(a=a.map(d=&gt;this.conversionUnit(d,10,&quot;mm&quot;)).join(&quot;,&quot;)),a&amp;&amp;(c.inset=a)}o.openNode(&quot;v:textbox&quot;,c),o.leafNode(&quot;div&quot;,{style:&quot;text-align:left&quot;}),o.closeNode()}parseOpen(o){return o.name===this.tag&amp;&amp;(this.model={inset:this.reverseConversionUnit(o.attributes.inset)}),!0}parseText(){}parseClose(o){return o!==this.tag}}},{&quot;../base-xform&quot;:32}],48:[function(t,n,l){const i=t(&quot;./base-xform&quot;);n.exports=class extends i{createNewModel(o){return{}}parseOpen(o){return this.parser=this.parser||this.map[o.name],this.parser?(this.parser.parseOpen(o),!0):o.name===this.tag&amp;&amp;(this.model=this.createNewModel(o),!0)}parseText(o){this.parser&amp;&amp;this.parser.parseText(o)}onParserClose(o,u){this.model[o]=u.model}parseClose(o){return this.parser?(this.parser.parseClose(o)||(this.onParserClose(o,this.parser),this.parser=void 0),!0):o!==this.tag}}},{&quot;./base-xform&quot;:32}],49:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(o,u){o.openNode(&quot;HeadingPairs&quot;),o.openNode(&quot;vt:vector&quot;,{size:2,baseType:&quot;variant&quot;}),o.openNode(&quot;vt:variant&quot;),o.leafNode(&quot;vt:lpstr&quot;,void 0,&quot;Worksheets&quot;),o.closeNode(),o.openNode(&quot;vt:variant&quot;),o.leafNode(&quot;vt:i4&quot;,void 0,u.length),o.closeNode(),o.closeNode(),o.closeNode()}parseOpen(o){return o.name===&quot;HeadingPairs&quot;}parseText(){}parseClose(o){return o!==&quot;HeadingPairs&quot;}}},{&quot;../base-xform&quot;:32}],50:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(o,u){o.openNode(&quot;TitlesOfParts&quot;),o.openNode(&quot;vt:vector&quot;,{size:u.length,baseType:&quot;lpstr&quot;}),u.forEach(c=&gt;{o.leafNode(&quot;vt:lpstr&quot;,void 0,c.name)}),o.closeNode(),o.closeNode()}parseOpen(o){return o.name===&quot;TitlesOfParts&quot;}parseText(){}parseClose(o){return o!==&quot;TitlesOfParts&quot;}}},{&quot;../base-xform&quot;:32}],51:[function(t,n,l){const i=t(&quot;../../../utils/xml-stream&quot;),o=t(&quot;../base-xform&quot;),u=t(&quot;../simple/string-xform&quot;),c=t(&quot;./app-heading-pairs-xform&quot;),a=t(&quot;./app-titles-of-parts-xform&quot;);class d extends o{constructor(){super(),this.map={Company:new u({tag:&quot;Company&quot;}),Manager:new u({tag:&quot;Manager&quot;}),HeadingPairs:new c,TitleOfParts:new a}}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,l){const i=t(&quot;../../../utils/xml-stream&quot;),o=t(&quot;../base-xform&quot;);class u extends o{render(a,d){a.openXml(i.StdDocAttributes),a.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,a.leafNode(&quot;Default&quot;,{Extension:m,ContentType:&quot;image/&quot;+m}))}}),a.leafNode(&quot;Default&quot;,{Extension:&quot;rels&quot;,ContentType:&quot;application/vnd.openxmlformats-package.relationships+xml&quot;}),a.leafNode(&quot;Default&quot;,{Extension:&quot;xml&quot;,ContentType:&quot;application/xml&quot;}),a.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`;a.leafNode(&quot;Override&quot;,{PartName:m,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml&quot;})}),a.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/theme/theme1.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.theme+xml&quot;}),a.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;a.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;{a.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;{a.leafNode(&quot;Override&quot;,{PartName:`/xl/drawings/${h.name}.xml`,ContentType:&quot;application/vnd.openxmlformats-officedocument.drawing+xml&quot;})}),d.commentRefs&amp;&amp;(a.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;a.leafNode(&quot;Override&quot;,{PartName:`/xl/${m}.xml`,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml&quot;})})),a.leafNode(&quot;Override&quot;,{PartName:&quot;/docProps/core.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-package.core-properties+xml&quot;}),a.leafNode(&quot;Override&quot;,{PartName:&quot;/docProps/app.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.extended-properties+xml&quot;}),a.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,l){const i=t(&quot;../../../utils/xml-stream&quot;),o=t(&quot;../base-xform&quot;),u=t(&quot;../simple/date-xform&quot;),c=t(&quot;../simple/string-xform&quot;),a=t(&quot;../simple/integer-xform&quot;);class d extends o{constructor(){super(),this.map={&quot;dc:creator&quot;:new c({tag:&quot;dc:creator&quot;}),&quot;dc:title&quot;:new c({tag:&quot;dc:title&quot;}),&quot;dc:subject&quot;:new c({tag:&quot;dc:subject&quot;}),&quot;dc:description&quot;:new c({tag:&quot;dc:description&quot;}),&quot;dc:identifier&quot;:new c({tag:&quot;dc:identifier&quot;}),&quot;dc:language&quot;:new c({tag:&quot;dc:language&quot;}),&quot;cp:keywords&quot;:new c({tag:&quot;cp:keywords&quot;}),&quot;cp:category&quot;:new c({tag:&quot;cp:category&quot;}),&quot;cp:lastModifiedBy&quot;:new c({tag:&quot;cp:lastModifiedBy&quot;}),&quot;cp:lastPrinted&quot;:new u({tag:&quot;cp:lastPrinted&quot;,format:d.DateFormat}),&quot;cp:revision&quot;:new a({tag:&quot;cp:revision&quot;}),&quot;cp:version&quot;:new c({tag:&quot;cp:version&quot;}),&quot;cp:contentStatus&quot;:new c({tag:&quot;cp:contentStatus&quot;}),&quot;cp:contentType&quot;:new c({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,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(o,u){o.leafNode(&quot;Relationship&quot;,u)}parseOpen(o){return o.name===&quot;Relationship&quot;?(this.model=o.attributes,!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],55:[function(t,n,l){const i=t(&quot;../../../utils/xml-stream&quot;),o=t(&quot;../base-xform&quot;),u=t(&quot;./relationship-xform&quot;);class c extends o{constructor(){super(),this.map={Relationship:new u}}render(d,f){f=f||this._values,d.openXml(i.StdDocAttributes),d.openNode(&quot;Relationships&quot;,c.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)}}c.RELATIONSHIPS_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot;},n.exports=c},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./relationship-xform&quot;:54}],56:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{parseOpen(o){return this.parser?(this.parser.parseOpen(o),!0):(o.name===this.tag?(this.reset(),this.model={range:{editAs:o.attributes.editAs||&quot;oneCell&quot;}}):(this.parser=this.map[o.name],this.parser&amp;&amp;this.parser.parseOpen(o)),!0)}parseText(o){this.parser&amp;&amp;this.parser.parseText(o)}reconcilePicture(o,u){if(o&amp;&amp;o.rId){const c=u.rels[o.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(c){const a=c[1],d=u.mediaIndex[a];return u.media[d]}}}}},{&quot;../base-xform&quot;:32}],57:[function(t,n,l){const i=t(&quot;../base-xform&quot;),o=t(&quot;./blip-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;a:blip&quot;:new o}}get tag(){return&quot;xdr:blipFill&quot;}render(u,c){u.openNode(this.tag),this.map[&quot;a:blip&quot;].render(u,c),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,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;a:blip&quot;}render(o,u){o.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(o){return o.name===this.tag&amp;&amp;(this.model={rId:o.attributes[&quot;r:embed&quot;]}),!0}parseText(){}parseClose(o){return o!==this.tag}}},{&quot;../base-xform&quot;:32}],59:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;xdr:cNvPicPr&quot;}render(o){o.openNode(this.tag),o.leafNode(&quot;a:picLocks&quot;,{noChangeAspect:&quot;1&quot;}),o.closeNode()}parseOpen(o){switch(o.name){case this.tag:default:return!0}}parseText(){}parseClose(o){return o!==this.tag}}},{&quot;../base-xform&quot;:32}],60:[function(t,n,l){const i=t(&quot;../base-xform&quot;),o=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 o,&quot;a:extLst&quot;:new u}}get tag(){return&quot;xdr:cNvPr&quot;}render(c,a){c.openNode(this.tag,{id:a.index,name:&quot;Picture &quot;+a.index}),this.map[&quot;a:hlinkClick&quot;].render(c,a),this.map[&quot;a:extLst&quot;].render(c,a),c.closeNode()}parseOpen(c){return this.parser?(this.parser.parseOpen(c),!0):(c.name===this.tag?this.reset():(this.parser=this.map[c.name],this.parser&amp;&amp;this.parser.parseOpen(c)),!0)}parseText(){}parseClose(c){return this.parser?(this.parser.parseClose(c)||(this.parser=void 0),!0):c===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,l){const i=t(&quot;../base-xform&quot;),o=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 o({tag:&quot;xdr:col&quot;,zero:!0}),&quot;xdr:colOff&quot;:new o({tag:&quot;xdr:colOff&quot;,zero:!0}),&quot;xdr:row&quot;:new o({tag:&quot;xdr:row&quot;,zero:!0}),&quot;xdr:rowOff&quot;:new o({tag:&quot;xdr:rowOff&quot;,zero:!0})}}render(u,c){u.openNode(this.tag),this.map[&quot;xdr:col&quot;].render(u,c.nativeCol),this.map[&quot;xdr:colOff&quot;].render(u,c.nativeColOff),this.map[&quot;xdr:row&quot;].render(u,c.nativeRow),this.map[&quot;xdr:rowOff&quot;].render(u,c.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,l){const i=t(&quot;../../../utils/col-cache&quot;),o=t(&quot;../../../utils/xml-stream&quot;),u=t(&quot;../base-xform&quot;),c=t(&quot;./two-cell-anchor-xform&quot;),a=t(&quot;./one-cell-anchor-xform&quot;);class d extends u{constructor(){super(),this.map={&quot;xdr:twoCellAnchor&quot;:new c,&quot;xdr:oneCellAnchor&quot;:new a}}prepare(h){h.anchors.forEach((m,p)=&gt;{m.anchorType=(function(x){return(typeof x.range==&quot;string&quot;?i.decode(x.range):x.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(o.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,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;a:extLst&quot;}render(o){o.openNode(this.tag),o.openNode(&quot;a:ext&quot;,{uri:&quot;{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}&quot;}),o.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;}),o.closeNode(),o.closeNode()}parseOpen(o){switch(o.name){case this.tag:default:return!0}}parseText(){}parseClose(o){return o!==this.tag}}},{&quot;../base-xform&quot;:32}],64:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(o){super(),this.tag=o.tag,this.map={}}render(o,u){o.openNode(this.tag);const c=Math.floor(9525*u.width),a=Math.floor(9525*u.height);o.addAttribute(&quot;cx&quot;,c),o.addAttribute(&quot;cy&quot;,a),o.closeNode()}parseOpen(o){return o.name===this.tag&amp;&amp;(this.model={width:parseInt(o.attributes.cx||&quot;0&quot;,10)/9525,height:parseInt(o.attributes.cy||&quot;0&quot;,10)/9525},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],65:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;a:hlinkClick&quot;}render(o,u){u.hyperlinks&amp;&amp;u.hyperlinks.rId&amp;&amp;o.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(o){return o.name===this.tag&amp;&amp;(this.model={hyperlinks:{rId:o.attributes[&quot;r:id&quot;],tooltip:o.attributes.tooltip}}),!0}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],66:[function(t,n,l){const i=t(&quot;../base-xform&quot;),o=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 o,&quot;xdr:cNvPicPr&quot;:new u}}get tag(){return&quot;xdr:nvPicPr&quot;}render(c,a){c.openNode(this.tag),this.map[&quot;xdr:cNvPr&quot;].render(c,a),this.map[&quot;xdr:cNvPicPr&quot;].render(c,a),c.closeNode()}parseOpen(c){return this.parser?(this.parser.parseOpen(c),!0):(c.name===this.tag?this.reset():(this.parser=this.map[c.name],this.parser&amp;&amp;this.parser.parseOpen(c)),!0)}parseText(){}parseClose(c){return this.parser?(this.parser.parseClose(c)||(this.parser=void 0),!0):c===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,l){const i=t(&quot;./base-cell-anchor-xform&quot;),o=t(&quot;../static-xform&quot;),u=t(&quot;./cell-position-xform&quot;),c=t(&quot;./ext-xform&quot;),a=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 c({tag:&quot;xdr:ext&quot;}),&quot;xdr:pic&quot;:new a,&quot;xdr:clientData&quot;:new o({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,l){const i=t(&quot;../base-xform&quot;),o=t(&quot;../static-xform&quot;),u=t(&quot;./blip-fill-xform&quot;),c=t(&quot;./nv-pic-pr-xform&quot;),a=t(&quot;./sp-pr&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;xdr:nvPicPr&quot;:new c,&quot;xdr:blipFill&quot;:new u,&quot;xdr:spPr&quot;:new o(a)}}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,l){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,l){const i=t(&quot;./base-cell-anchor-xform&quot;),o=t(&quot;../static-xform&quot;),u=t(&quot;./cell-position-xform&quot;),c=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 c,&quot;xdr:clientData&quot;:new o({tag:&quot;xdr:clientData&quot;})}}get tag(){return&quot;xdr:twoCellAnchor&quot;}prepare(a,d){this.map[&quot;xdr:pic&quot;].prepare(a.picture,d)}render(a,d){a.openNode(this.tag,{editAs:d.range.editAs||&quot;oneCell&quot;}),this.map[&quot;xdr:from&quot;].render(a,d.range.tl),this.map[&quot;xdr:to&quot;].render(a,d.range.br),this.map[&quot;xdr:pic&quot;].render(a,d.picture),this.map[&quot;xdr:clientData&quot;].render(a,{}),a.closeNode()}parseClose(a){return this.parser?(this.parser.parseClose(a)||(this.parser=void 0),!0):a===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(a,d){a.medium=this.reconcilePicture(a.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,l){const i=t(&quot;./base-xform&quot;);n.exports=class extends i{constructor(o){super(),this.tag=o.tag,this.always=!!o.always,this.count=o.count,this.empty=o.empty,this.$count=o.$count||&quot;count&quot;,this.$=o.$,this.childXform=o.childXform,this.maxItems=o.maxItems}prepare(o,u){const{childXform:c}=this;o&amp;&amp;o.forEach((a,d)=&gt;{u.index=d,c.prepare(a,u)})}render(o,u){if(this.always||u&amp;&amp;u.length){o.openNode(this.tag,this.$),this.count&amp;&amp;o.addAttribute(this.$count,u&amp;&amp;u.length||0);const{childXform:c}=this;(u||[]).forEach((a,d)=&gt;{c.render(o,a,d)}),o.closeNode()}else this.empty&amp;&amp;o.leafNode(this.tag)}parseOpen(o){return this.parser?(this.parser.parseOpen(o),!0):o.name===this.tag?(this.model=[],!0):!!this.childXform.parseOpen(o)&amp;&amp;(this.parser=this.childXform,!0)}parseText(o){this.parser&amp;&amp;this.parser.parseText(o)}parseClose(o){if(this.parser){if(!this.parser.parseClose(o)&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(o,u){if(o){const{childXform:c}=this;o.forEach(a=&gt;{c.reconcile(a,u)})}}}},{&quot;./base-xform&quot;:32}],72:[function(t,n,l){const i=t(&quot;../../../utils/col-cache&quot;),o=t(&quot;../base-xform&quot;);n.exports=class extends o{get tag(){return&quot;autoFilter&quot;}render(u,c){if(c)if(typeof c==&quot;string&quot;)u.leafNode(&quot;autoFilter&quot;,{ref:c});else{const a=function(h){return typeof h==&quot;string&quot;?h:i.getAddress(h.row,h.column).address},d=a(c.from),f=a(c.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,l){const i=t(&quot;../../../utils/utils&quot;),o=t(&quot;../base-xform&quot;),u=t(&quot;../../../doc/range&quot;),c=t(&quot;../../../doc/enums&quot;),a=t(&quot;../strings/rich-text-xform&quot;);function d(f){if(f==null)return c.ValueType.Null;if(f instanceof String||typeof f==&quot;string&quot;)return c.ValueType.String;if(typeof f==&quot;number&quot;)return c.ValueType.Number;if(typeof f==&quot;boolean&quot;)return c.ValueType.Boolean;if(f instanceof Date)return c.ValueType.Date;if(f.text&amp;&amp;f.hyperlink)return c.ValueType.Hyperlink;if(f.formula)return c.ValueType.Formula;if(f.error)return c.ValueType.Error;throw new Error(&quot;I could not understand type of value&quot;)}n.exports=class extends o{constructor(){super(),this.richTextXForm=new a}get tag(){return&quot;c&quot;}prepare(f,h){const m=h.styles.addStyleModel(f.style||{},(function(p){return p.type===c.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 c.ValueType.String:case c.ValueType.RichText:h.sharedStrings&amp;&amp;(f.ssId=h.sharedStrings.add(f.value));break;case c.ValueType.Date:h.date1904&amp;&amp;(f.date1904=!0);break;case c.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 c.ValueType.Merge:h.merges.add(f);break;case c.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 c.ValueType.Null:f.leafNode(&quot;f&quot;,m,h.formula);break;case c.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 c.ValueType.Number:f.leafNode(&quot;f&quot;,m,h.formula),f.leafNode(&quot;v&quot;,null,h.result);break;case c.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 c.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 c.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!==c.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 c.ValueType.Null:break;case c.ValueType.Number:f.leafNode(&quot;v&quot;,null,h.value);break;case c.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 c.ValueType.Error:f.addAttribute(&quot;t&quot;,&quot;e&quot;),f.leafNode(&quot;v&quot;,null,h.value.error);break;case c.ValueType.String:case c.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 c.ValueType.Date:f.leafNode(&quot;v&quot;,null,i.dateToExcel(h.value,h.date1904));break;case c.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 c.ValueType.Formula:this.renderFormula(f,h);break;case c.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=c.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=c.ValueType.String,h.value=parseInt(h.value,10);break;case&quot;str&quot;:h.type=c.ValueType.String,h.value=i.xmlDecode(h.value);break;case&quot;inlineStr&quot;:h.type=c.ValueType.String;break;case&quot;b&quot;:h.type=c.ValueType.Boolean,h.value=parseInt(h.value,10)!==0;break;case&quot;e&quot;:h.type=c.ValueType.Error,h.value={error:h.value};break;default:h.type=c.ValueType.Number,h.value=parseFloat(h.value)}else h.styleId?h.type=c.ValueType.Null:h.type=c.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 c.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=c.ValueType.RichText);break;case c.ValueType.Number:m&amp;&amp;i.isDateFmt(m.numFmt)&amp;&amp;(f.type=c.ValueType.Date,f.value=i.excelToDate(f.value,h.date1904));break;case c.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===c.ValueType.Formula?(f.text=f.result,f.result=void 0):(f.text=f.value,f.value=void 0),f.type=c.ValueType.Hyperlink,f.hyperlink=p);const x=h.commentsMap&amp;&amp;h.commentsMap[f.address];x&amp;&amp;(f.comment=x)}}},{&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,l){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;x14:cfIcon&quot;}render(o,u){o.leafNode(this.tag,{iconSet:u.iconSet,iconId:u.iconId})}parseOpen(o){let{attributes:u}=o;this.model={iconSet:u.iconSet,iconId:i.toIntValue(u.iconId)}}parseClose(o){return o!==this.tag}}},{&quot;../../base-xform&quot;:32}],75:[function(t,n,l){const{v4:i}=t(&quot;uuid&quot;),o=t(&quot;../../base-xform&quot;),u=t(&quot;../../composite-xform&quot;),c=t(&quot;./databar-ext-xform&quot;),a=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 c,&quot;x14:iconSet&quot;:this.iconSetXform=new a}}get tag(){return&quot;x14:cfRule&quot;}static isExt(m){return m.type===&quot;dataBar&quot;?c.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:o.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,l){const i=t(&quot;../../composite-xform&quot;),o=t(&quot;./f-ext-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;xm:f&quot;:this.fExtXform=new o}}get tag(){return&quot;x14:cfvo&quot;}render(u,c){u.openNode(this.tag,{type:c.type}),c.value!==void 0&amp;&amp;this.fExtXform.render(u,c.value),u.closeNode()}createNewModel(u){return{type:u.attributes.type}}onParserClose(u,c){u===&quot;xm:f&quot;&amp;&amp;(this.model.value=c.model?parseFloat(c.model):0)}}},{&quot;../../composite-xform&quot;:48,&quot;./f-ext-xform&quot;:80}],77:[function(t,n,l){const i=t(&quot;../../composite-xform&quot;),o=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 o,&quot;x14:cfRule&quot;:this.cfRule=new u}}get tag(){return&quot;x14:conditionalFormatting&quot;}prepare(c,a){c.rules.forEach(d=&gt;{this.cfRule.prepare(d,a)})}render(c,a){a.rules.some(u.isExt)&amp;&amp;(c.openNode(this.tag,{&quot;xmlns:xm&quot;:&quot;http://schemas.microsoft.com/office/excel/2006/main&quot;}),a.rules.filter(u.isExt).forEach(d=&gt;this.cfRule.render(c,d)),this.sqRef.render(c,a.ref),c.closeNode())}createNewModel(){return{rules:[]}}onParserClose(c,a){switch(c){case&quot;xm:sqref&quot;:this.model.ref=a.model;break;case&quot;x14:cfRule&quot;:this.model.rules.push(a.model)}}}},{&quot;../../composite-xform&quot;:48,&quot;./cf-rule-ext-xform&quot;:75,&quot;./sqref-ext-xform&quot;:82}],78:[function(t,n,l){const i=t(&quot;../../composite-xform&quot;),o=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(c){return c.hasExtContent===void 0&amp;&amp;(c.hasExtContent=c.some(a=&gt;a.rules.some(o.isExt))),c.hasExtContent}prepare(c,a){c.forEach(d=&gt;{this.cfXform.prepare(d,a)})}render(c,a){this.hasContent(a)&amp;&amp;(c.openNode(this.tag),a.forEach(d=&gt;this.cfXform.render(c,d)),c.closeNode())}createNewModel(){return[]}onParserClose(c,a){this.model.push(a.model)}}},{&quot;../../composite-xform&quot;:48,&quot;./cf-rule-ext-xform&quot;:75,&quot;./conditional-formatting-ext-xform&quot;:77}],79:[function(t,n,l){const i=t(&quot;../../base-xform&quot;),o=t(&quot;../../composite-xform&quot;),u=t(&quot;../../style/color-xform&quot;),c=t(&quot;./cfvo-ext-xform&quot;);n.exports=class extends o{constructor(){super(),this.map={&quot;x14:cfvo&quot;:this.cfvoXform=new c,&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(a){return!a.gradient}get tag(){return&quot;x14:dataBar&quot;}render(a,d){a.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(a,f)}),this.borderColorXform.render(a,d.borderColor),this.negativeBorderColorXform.render(a,d.negativeBorderColor),this.negativeFillColorXform.render(a,d.negativeFillColor),this.axisColorXform.render(a,d.axisColor),a.closeNode()}createNewModel(a){let{attributes:d}=a;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(a,d){const[,f]=a.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,l){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;xm:f&quot;}render(o,u){o.leafNode(this.tag,null,u)}parseOpen(){this.model=&quot;&quot;}parseText(o){this.model+=o}parseClose(o){return o!==this.tag}}},{&quot;../../base-xform&quot;:32}],81:[function(t,n,l){const i=t(&quot;../../base-xform&quot;),o=t(&quot;../../composite-xform&quot;),u=t(&quot;./cfvo-ext-xform&quot;),c=t(&quot;./cf-icon-ext-xform&quot;);n.exports=class extends o{constructor(){super(),this.map={&quot;x14:cfvo&quot;:this.cfvoXform=new u,&quot;x14:cfIcon&quot;:this.cfIconXform=new c}}get tag(){return&quot;x14:iconSet&quot;}render(a,d){a.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(a,f)}),d.icons&amp;&amp;d.icons.forEach((f,h)=&gt;{f.iconId=h,this.cfIconXform.render(a,f)}),a.closeNode()}createNewModel(a){let{attributes:d}=a;return{cfvo:[],iconSet:i.toStringValue(d.iconSet,&quot;3TrafficLights&quot;),reverse:i.toBoolValue(d.reverse,!1),showValue:i.toBoolValue(d.showValue,!0)}}onParserClose(a,d){const[,f]=a.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,l){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;xm:sqref&quot;}render(o,u){o.leafNode(this.tag,null,u)}parseOpen(){this.model=&quot;&quot;}parseText(o){this.model+=o}parseClose(o){return o!==this.tag}}},{&quot;../../base-xform&quot;:32}],83:[function(t,n,l){const i=t(&quot;../../base-xform&quot;),o=t(&quot;../../composite-xform&quot;),u=t(&quot;../../../../doc/range&quot;),c=t(&quot;./databar-xform&quot;),a=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 x extends o{constructor(){super(),this.map={dataBar:this.databarXform=new c,extLst:this.extLstRefXform=new a,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){x.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 M=new u(C.ref),{tl:T}=M;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 M=new u(C.ref),{tl:T}=M;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=x},{&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,l){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;cfvo&quot;}render(o,u){o.leafNode(this.tag,{type:u.type,val:u.value})}parseOpen(o){this.model={type:o.attributes.type,value:i.toFloatValue(o.attributes.val)}}parseClose(o){return o!==this.tag}}},{&quot;../../base-xform&quot;:32}],85:[function(t,n,l){const i=t(&quot;../../composite-xform&quot;),o=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 o}}get tag(){return&quot;colorScale&quot;}render(c,a){c.openNode(this.tag),a.cfvo.forEach(d=&gt;{this.cfvoXform.render(c,d)}),a.color.forEach(d=&gt;{this.colorXform.render(c,d)}),c.closeNode()}createNewModel(c){return{cfvo:[],color:[]}}onParserClose(c,a){this.model[c].push(a.model)}}},{&quot;../../composite-xform&quot;:48,&quot;../../style/color-xform&quot;:128,&quot;./cfvo-xform&quot;:84}],86:[function(t,n,l){const i=t(&quot;../../composite-xform&quot;),o=t(&quot;./cf-rule-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={cfRule:new o}}get tag(){return&quot;conditionalFormatting&quot;}render(u,c){c.rules.some(o.isPrimitive)&amp;&amp;(u.openNode(this.tag,{sqref:c.ref}),c.rules.forEach(a=&gt;{o.isPrimitive(a)&amp;&amp;(a.ref=c.ref,this.map.cfRule.render(u,a))}),u.closeNode())}createNewModel(u){let{attributes:c}=u;return{ref:c.sqref,rules:[]}}onParserClose(u,c){this.model.rules.push(c.model)}}},{&quot;../../composite-xform&quot;:48,&quot;./cf-rule-xform&quot;:83}],87:[function(t,n,l){const i=t(&quot;../../base-xform&quot;),o=t(&quot;./conditional-formatting-xform&quot;);n.exports=class extends i{constructor(){super(),this.cfXform=new o}get tag(){return&quot;conditionalFormatting&quot;}reset(){this.model=[]}prepare(u,c){let a=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=a++),f.style&amp;&amp;(f.dxfId=c.styles.addDxfStyle(f.style))})})}render(u,c){c.forEach(a=&gt;{this.cfXform.render(u,a)})}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,c){u.forEach(a=&gt;{a.rules.forEach(d=&gt;{d.dxfId!==void 0&amp;&amp;(d.style=c.styles.getDxfStyle(d.dxfId),delete d.dxfId)})})}}},{&quot;../../base-xform&quot;:32,&quot;./conditional-formatting-xform&quot;:86}],88:[function(t,n,l){const i=t(&quot;../../composite-xform&quot;),o=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 o}}get tag(){return&quot;dataBar&quot;}render(c,a){c.openNode(this.tag),a.cfvo.forEach(d=&gt;{this.cfvoXform.render(c,d)}),this.colorXform.render(c,a.color),c.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose(c,a){switch(c){case&quot;cfvo&quot;:this.model.cfvo.push(a.model);break;case&quot;color&quot;:this.model.color=a.model}}}},{&quot;../../composite-xform&quot;:48,&quot;../../style/color-xform&quot;:128,&quot;./cfvo-xform&quot;:84}],89:[function(t,n,l){const i=t(&quot;../../base-xform&quot;),o=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 c extends o{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 o{constructor(){super(),this.map={ext:new c}}get tag(){return&quot;extLst&quot;}render(a,d){a.openNode(this.tag),this.map.ext.render(a,d),a.closeNode()}createNewModel(){return{}}onParserClose(a,d){Object.assign(this.model,d.model)}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48}],90:[function(t,n,l){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;formula&quot;}render(o,u){o.leafNode(this.tag,null,u)}parseOpen(){this.model=&quot;&quot;}parseText(o){this.model+=o}parseClose(o){return o!==this.tag}}},{&quot;../../base-xform&quot;:32}],91:[function(t,n,l){const i=t(&quot;../../base-xform&quot;),o=t(&quot;../../composite-xform&quot;),u=t(&quot;./cfvo-xform&quot;);n.exports=class extends o{constructor(){super(),this.map={cfvo:this.cfvoXform=new u}}get tag(){return&quot;iconSet&quot;}render(c,a){c.openNode(this.tag,{iconSet:i.toStringAttribute(a.iconSet,&quot;3TrafficLights&quot;),reverse:i.toBoolAttribute(a.reverse,!1),showValue:i.toBoolAttribute(a.showValue,!0)}),a.cfvo.forEach(d=&gt;{this.cfvoXform.render(c,d)}),c.closeNode()}createNewModel(c){let{attributes:a}=c;return{iconSet:i.toStringValue(a.iconSet,&quot;3TrafficLights&quot;),reverse:i.toBoolValue(a.reverse),showValue:i.toBoolValue(a.showValue),cfvo:[]}}onParserClose(c,a){this.model[c].push(a.model)}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;./cfvo-xform&quot;:84}],92:[function(t,n,l){const i=t(&quot;../../../utils/utils&quot;),o=t(&quot;../base-xform&quot;);n.exports=class extends o{get tag(){return&quot;col&quot;}prepare(u,c){const a=c.styles.addStyleModel(u.style||{});a&amp;&amp;(u.styleId=a)}render(u,c){u.openNode(&quot;col&quot;),u.addAttribute(&quot;min&quot;,c.min),u.addAttribute(&quot;max&quot;,c.max),c.width&amp;&amp;u.addAttribute(&quot;width&quot;,c.width),c.styleId&amp;&amp;u.addAttribute(&quot;style&quot;,c.styleId),c.hidden&amp;&amp;u.addAttribute(&quot;hidden&quot;,&quot;1&quot;),c.bestFit&amp;&amp;u.addAttribute(&quot;bestFit&quot;,&quot;1&quot;),c.outlineLevel&amp;&amp;u.addAttribute(&quot;outlineLevel&quot;,c.outlineLevel),c.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 c=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;(c.styleId=parseInt(u.attributes.style,10)),i.parseBoolean(u.attributes.hidden)&amp;&amp;(c.hidden=!0),i.parseBoolean(u.attributes.bestFit)&amp;&amp;(c.bestFit=!0),u.attributes.outlineLevel&amp;&amp;(c.outlineLevel=parseInt(u.attributes.outlineLevel,10)),i.parseBoolean(u.attributes.collapsed)&amp;&amp;(c.collapsed=!0),!0}return!1}parseText(){}parseClose(){return!1}reconcile(u,c){u.styleId&amp;&amp;(u.style=c.styles.getStyleModel(u.styleId))}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],93:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),o=t(&quot;../../../utils/utils&quot;),u=t(&quot;../../../utils/col-cache&quot;),c=t(&quot;../base-xform&quot;),a=t(&quot;../../../doc/range&quot;);function d(h,m,p,x){const g=m[p];g!==void 0?h[p]=g:x!==void 0&amp;&amp;(h[p]=x)}function f(h,m,p,x){const g=m[p];g!==void 0&amp;&amp;(h[p]=o.parseBoolean(g))}n.exports=class extends c{get tag(){return&quot;dataValidations&quot;}render(h,m){const p=(function(x){const g=i.map(x,(_,C)=&gt;({address:C,dataValidation:_,marked:!1})).sort((_,C)=&gt;i.strcmp(_.address,C.address)),y=i.keyBy(g,&quot;address&quot;),v=(_,C,M)=&gt;{for(let T=0;T&lt;C;T++){const $=u.encodeAddress(_.row+T,M);if(!x[$]||!i.isEqual(x[_.address],x[$]))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 M=1,T=u.encodeAddress(C.row+M,C.col);for(;x[T]&amp;&amp;i.isEqual(_.dataValidation,x[T]);)M++,T=u.encodeAddress(C.row+M,C.col);let $=1;for(;v(C,M,C.col+$);)$++;for(let F=0;F&lt;M;F++)for(let H=0;H&lt;$;H++)T=u.encodeAddress(C.row+F,C.col+H),y[T].marked=!0;if(M&gt;1||$&gt;1){const F=C.row+(M-1),H=C.col+($-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(x=&gt;{h.openNode(&quot;dataValidation&quot;),x.type!==&quot;any&quot;&amp;&amp;(h.addAttribute(&quot;type&quot;,x.type),x.operator&amp;&amp;x.type!==&quot;list&quot;&amp;&amp;x.operator!==&quot;between&quot;&amp;&amp;h.addAttribute(&quot;operator&quot;,x.operator),x.allowBlank&amp;&amp;h.addAttribute(&quot;allowBlank&quot;,&quot;1&quot;)),x.showInputMessage&amp;&amp;h.addAttribute(&quot;showInputMessage&quot;,&quot;1&quot;),x.promptTitle&amp;&amp;h.addAttribute(&quot;promptTitle&quot;,x.promptTitle),x.prompt&amp;&amp;h.addAttribute(&quot;prompt&quot;,x.prompt),x.showErrorMessage&amp;&amp;h.addAttribute(&quot;showErrorMessage&quot;,&quot;1&quot;),x.errorStyle&amp;&amp;h.addAttribute(&quot;errorStyle&quot;,x.errorStyle),x.errorTitle&amp;&amp;h.addAttribute(&quot;errorTitle&quot;,x.errorTitle),x.error&amp;&amp;h.addAttribute(&quot;error&quot;,x.error),h.addAttribute(&quot;sqref&quot;,x.sqref),(x.formulae||[]).forEach((g,y)=&gt;{h.openNode(&quot;formula&quot;+(y+1)),x.type===&quot;date&quot;?h.writeText(o.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 a(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=o.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,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;dimension&quot;}render(o,u){u&amp;&amp;o.leafNode(&quot;dimension&quot;,{ref:u})}parseOpen(o){return o.name===&quot;dimension&quot;&amp;&amp;(this.model=o.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],95:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;drawing&quot;}render(o,u){u&amp;&amp;o.leafNode(this.tag,{&quot;r:id&quot;:u.rId})}parseOpen(o){return o.name===this.tag?(this.model={rId:o.attributes[&quot;r:id&quot;]},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],96:[function(t,n,l){const i=t(&quot;../composite-xform&quot;),o=t(&quot;./cf-ext/conditional-formattings-ext-xform&quot;);class u extends i{constructor(){super(),this.map={&quot;x14:conditionalFormattings&quot;:this.conditionalFormattings=new o}}get tag(){return&quot;ext&quot;}hasContent(a){return this.conditionalFormattings.hasContent(a.conditionalFormattings)}prepare(a,d){this.conditionalFormattings.prepare(a.conditionalFormattings,d)}render(a,d){a.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(a,d.conditionalFormattings),a.closeNode()}createNewModel(){return{}}onParserClose(a,d){this.model[a]=d.model}}n.exports=class extends i{constructor(){super(),this.map={ext:this.ext=new u}}get tag(){return&quot;extLst&quot;}prepare(c,a){this.ext.prepare(c,a)}hasContent(c){return this.ext.hasContent(c)}render(c,a){this.hasContent(a)&amp;&amp;(c.openNode(&quot;extLst&quot;),this.ext.render(c,a),c.closeNode())}createNewModel(){return{}}onParserClose(c,a){Object.assign(this.model,a.model)}}},{&quot;../composite-xform&quot;:48,&quot;./cf-ext/conditional-formattings-ext-xform&quot;:78}],97:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;headerFooter&quot;}render(o,u){if(u){o.addRollback();let c=!1;o.openNode(&quot;headerFooter&quot;),u.differentFirst&amp;&amp;(o.addAttribute(&quot;differentFirst&quot;,&quot;1&quot;),c=!0),u.differentOddEven&amp;&amp;(o.addAttribute(&quot;differentOddEven&quot;,&quot;1&quot;),c=!0),u.oddHeader&amp;&amp;typeof u.oddHeader==&quot;string&quot;&amp;&amp;(o.leafNode(&quot;oddHeader&quot;,null,u.oddHeader),c=!0),u.oddFooter&amp;&amp;typeof u.oddFooter==&quot;string&quot;&amp;&amp;(o.leafNode(&quot;oddFooter&quot;,null,u.oddFooter),c=!0),u.evenHeader&amp;&amp;typeof u.evenHeader==&quot;string&quot;&amp;&amp;(o.leafNode(&quot;evenHeader&quot;,null,u.evenHeader),c=!0),u.evenFooter&amp;&amp;typeof u.evenFooter==&quot;string&quot;&amp;&amp;(o.leafNode(&quot;evenFooter&quot;,null,u.evenFooter),c=!0),u.firstHeader&amp;&amp;typeof u.firstHeader==&quot;string&quot;&amp;&amp;(o.leafNode(&quot;firstHeader&quot;,null,u.firstHeader),c=!0),u.firstFooter&amp;&amp;typeof u.firstFooter==&quot;string&quot;&amp;&amp;(o.leafNode(&quot;firstFooter&quot;,null,u.firstFooter),c=!0),c?(o.closeNode(),o.commit()):o.rollback()}}parseOpen(o){switch(o.name){case&quot;headerFooter&quot;:return this.model={},o.attributes.differentFirst&amp;&amp;(this.model.differentFirst=parseInt(o.attributes.differentFirst,0)===1),o.attributes.differentOddEven&amp;&amp;(this.model.differentOddEven=parseInt(o.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(o){switch(this.currentNode){case&quot;oddHeader&quot;:this.model.oddHeader=o;break;case&quot;oddFooter&quot;:this.model.oddFooter=o;break;case&quot;evenHeader&quot;:this.model.evenHeader=o;break;case&quot;evenFooter&quot;:this.model.evenFooter=o;break;case&quot;firstHeader&quot;:this.model.firstHeader=o;break;case&quot;firstFooter&quot;:this.model.firstFooter=o}}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,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;hyperlink&quot;}render(o,u){this.isInternalLink(u)?o.leafNode(&quot;hyperlink&quot;,{ref:u.address,&quot;r:id&quot;:u.rId,tooltip:u.tooltip,location:u.target}):o.leafNode(&quot;hyperlink&quot;,{ref:u.address,&quot;r:id&quot;:u.rId,tooltip:u.tooltip})}parseOpen(o){return o.name===&quot;hyperlink&quot;&amp;&amp;(this.model={address:o.attributes.ref,rId:o.attributes[&quot;r:id&quot;],tooltip:o.attributes.tooltip},o.attributes.location&amp;&amp;(this.model.target=o.attributes.location),!0)}parseText(){}parseClose(){return!1}isInternalLink(o){return o.target&amp;&amp;/^[^!]+![a-zA-Z]+[\d]+$/.test(o.target)}}},{&quot;../base-xform&quot;:32}],99:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;mergeCell&quot;}render(o,u){o.leafNode(&quot;mergeCell&quot;,{ref:u})}parseOpen(o){return o.name===&quot;mergeCell&quot;&amp;&amp;(this.model=o.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],100:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),o=t(&quot;../../../doc/range&quot;),u=t(&quot;../../../utils/col-cache&quot;),c=t(&quot;../../../doc/enums&quot;);n.exports=class{constructor(){this.merges={}}add(a){if(this.merges[a.master])this.merges[a.master].expandToAddress(a.address);else{const d=`${a.master}:${a.address}`;this.merges[a.master]=new o(d)}}get mergeCells(){return i.map(this.merges,a=&gt;a.range)}reconcile(a,d){i.each(a,f=&gt;{const h=u.decode(f);for(let m=h.top;m&lt;=h.bottom;m++){const p=d[m-1];for(let x=h.left;x&lt;=h.right;x++){const g=p.cells[x-1];g?g.type===c.ValueType.Merge&amp;&amp;(g.master=h.tl):p.cells[x]={type:c.ValueType.Null,address:u.encodeAddress(m,x)}}}})}getMasterAddress(a){const d=this.hash[a];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,l){const i=t(&quot;../base-xform&quot;),o=u=&gt;u!==void 0;n.exports=class extends i{get tag(){return&quot;outlinePr&quot;}render(u,c){return!(!c||!o(c.summaryBelow)&amp;&amp;!o(c.summaryRight))&amp;&amp;(u.leafNode(this.tag,{summaryBelow:o(c.summaryBelow)?Number(c.summaryBelow):void 0,summaryRight:o(c.summaryRight)?Number(c.summaryRight):void 0}),!0)}parseOpen(u){return u.name===this.tag&amp;&amp;(this.model={summaryBelow:o(u.attributes.summaryBelow)?!!Number(u.attributes.summaryBelow):void 0,summaryRight:o(u.attributes.summaryRight)?!!Number(u.attributes.summaryRight):void 0},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],102:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;brk&quot;}render(o,u){o.leafNode(&quot;brk&quot;,u)}parseOpen(o){return o.name===&quot;brk&quot;&amp;&amp;(this.model=o.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],103:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),o=t(&quot;../base-xform&quot;);n.exports=class extends o{get tag(){return&quot;pageMargins&quot;}render(u,c){if(c){const a={left:c.left,right:c.right,top:c.top,bottom:c.bottom,header:c.header,footer:c.footer};i.some(a,d=&gt;d!==void 0)&amp;&amp;u.leafNode(this.tag,a)}}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,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;pageSetUpPr&quot;}render(o,u){return!(!u||!u.fitToPage)&amp;&amp;(o.leafNode(this.tag,{fitToPage:u.fitToPage?&quot;1&quot;:void 0}),!0)}parseOpen(o){return o.name===this.tag&amp;&amp;(this.model={fitToPage:o.attributes.fitToPage===&quot;1&quot;},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],105:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),o=t(&quot;../base-xform&quot;);function u(f){return f?&quot;1&quot;:void 0}function c(f){if(f===&quot;overThenDown&quot;)return f}function a(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 o{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:c(h.pageOrder),blackAndWhite:u(h.blackAndWhite),draft:u(h.draft),cellComments:a(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,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;picture&quot;}render(o,u){u&amp;&amp;o.leafNode(this.tag,{&quot;r:id&quot;:u.rId})}parseOpen(o){return o.name===this.tag?(this.model={rId:o.attributes[&quot;r:id&quot;]},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],107:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),o=t(&quot;../base-xform&quot;);function u(c){return c?&quot;1&quot;:void 0}n.exports=class extends o{get tag(){return&quot;printOptions&quot;}render(c,a){if(a){const d={headings:u(a.showRowColHeaders),gridLines:u(a.showGridLines),horizontalCentered:u(a.horizontalCentered),verticalCentered:u(a.verticalCentered)};i.some(d,f=&gt;f!==void 0)&amp;&amp;c.leafNode(this.tag,d)}}parseOpen(c){return c.name===this.tag?(this.model={showRowColHeaders:c.attributes.headings===&quot;1&quot;,showGridLines:c.attributes.gridLines===&quot;1&quot;,horizontalCentered:c.attributes.horizontalCentered===&quot;1&quot;,verticalCentered:c.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,l){const i=t(&quot;./page-breaks-xform&quot;),o=t(&quot;../list-xform&quot;);n.exports=class extends o{constructor(){super({tag:&quot;rowBreaks&quot;,count:!0,childXform:new i})}render(u,c){if(c&amp;&amp;c.length){u.openNode(this.tag,this.$),this.count&amp;&amp;(u.addAttribute(this.$count,c.length),u.addAttribute(&quot;manualBreakCount&quot;,c.length));const{childXform:a}=this;c.forEach(d=&gt;{a.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,l){const i=t(&quot;../base-xform&quot;),o=t(&quot;../../../utils/utils&quot;),u=t(&quot;./cell-xform&quot;);n.exports=class extends i{constructor(c){super(),this.maxItems=c&amp;&amp;c.maxItems,this.map={c:new u}}get tag(){return&quot;row&quot;}prepare(c,a){const d=a.styles.addStyleModel(c.style);d&amp;&amp;(c.styleId=d);const f=this.map.c;c.cells.forEach(h=&gt;{f.prepare(h,a)})}render(c,a,d){c.openNode(&quot;row&quot;),c.addAttribute(&quot;r&quot;,a.number),a.height&amp;&amp;(c.addAttribute(&quot;ht&quot;,a.height),c.addAttribute(&quot;customHeight&quot;,&quot;1&quot;)),a.hidden&amp;&amp;c.addAttribute(&quot;hidden&quot;,&quot;1&quot;),a.min&gt;0&amp;&amp;a.max&gt;0&amp;&amp;a.min&lt;=a.max&amp;&amp;c.addAttribute(&quot;spans&quot;,`${a.min}:${a.max}`),a.styleId&amp;&amp;(c.addAttribute(&quot;s&quot;,a.styleId),c.addAttribute(&quot;customFormat&quot;,&quot;1&quot;)),c.addAttribute(&quot;x14ac:dyDescent&quot;,&quot;0.25&quot;),a.outlineLevel&amp;&amp;c.addAttribute(&quot;outlineLevel&quot;,a.outlineLevel),a.collapsed&amp;&amp;c.addAttribute(&quot;collapsed&quot;,&quot;1&quot;);const f=this.map.c;a.cells.forEach(h=&gt;{f.render(c,h,d)}),c.closeNode()}parseOpen(c){if(this.parser)return this.parser.parseOpen(c),!0;if(c.name===&quot;row&quot;){this.numRowsSeen+=1;const a=c.attributes.spans?c.attributes.spans.split(&quot;:&quot;).map(f=&gt;parseInt(f,10)):[void 0,void 0],d=this.model={number:parseInt(c.attributes.r,10),min:a[0],max:a[1],cells:[]};return c.attributes.s&amp;&amp;(d.styleId=parseInt(c.attributes.s,10)),o.parseBoolean(c.attributes.hidden)&amp;&amp;(d.hidden=!0),o.parseBoolean(c.attributes.bestFit)&amp;&amp;(d.bestFit=!0),c.attributes.ht&amp;&amp;(d.height=parseFloat(c.attributes.ht)),c.attributes.outlineLevel&amp;&amp;(d.outlineLevel=parseInt(c.attributes.outlineLevel,10)),o.parseBoolean(c.attributes.collapsed)&amp;&amp;(d.collapsed=!0),!0}return this.parser=this.map[c.name],!!this.parser&amp;&amp;(this.parser.parseOpen(c),!0)}parseText(c){this.parser&amp;&amp;this.parser.parseText(c)}parseClose(c){if(this.parser){if(!this.parser.parseClose(c)){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(c,a){c.style=c.styleId?a.styles.getStyleModel(c.styleId):{},c.styleId!==void 0&amp;&amp;(c.styleId=void 0);const d=this.map.c;c.cells.forEach(f=&gt;{d.reconcile(f,a)})}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;./cell-xform&quot;:73}],110:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),o=t(&quot;../base-xform&quot;);n.exports=class extends o{get tag(){return&quot;sheetFormatPr&quot;}render(u,c){if(c){const a={defaultRowHeight:c.defaultRowHeight,outlineLevelRow:c.outlineLevelRow,outlineLevelCol:c.outlineLevelCol,&quot;x14ac:dyDescent&quot;:c.dyDescent};c.defaultColWidth&amp;&amp;(a.defaultColWidth=c.defaultColWidth),c.defaultRowHeight&amp;&amp;c.defaultRowHeight===15||(a.customHeight=&quot;1&quot;),i.some(a,d=&gt;d!==void 0)&amp;&amp;u.leafNode(&quot;sheetFormatPr&quot;,a)}}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,l){const i=t(&quot;../base-xform&quot;),o=t(&quot;../style/color-xform&quot;),u=t(&quot;./page-setup-properties-xform&quot;),c=t(&quot;./outline-properties-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={tabColor:new o(&quot;tabColor&quot;),pageSetUpPr:new u,outlinePr:new c}}get tag(){return&quot;sheetPr&quot;}render(a,d){if(d){a.addRollback(),a.openNode(&quot;sheetPr&quot;);let f=!1;f=this.map.tabColor.render(a,d.tabColor)||f,f=this.map.pageSetUpPr.render(a,d.pageSetup)||f,f=this.map.outlinePr.render(a,d.outlineProperties)||f,f?(a.closeNode(),a.commit()):a.rollback()}}parseOpen(a){return this.parser?(this.parser.parseOpen(a),!0):a.name===this.tag?(this.reset(),!0):!!this.map[a.name]&amp;&amp;(this.parser=this.map[a.name],this.parser.parseOpen(a),!0)}parseText(a){return!!this.parser&amp;&amp;(this.parser.parseText(a),!0)}parseClose(a){return this.parser?(this.parser.parseClose(a)||(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,l){const i=t(&quot;../../../utils/under-dash&quot;),o=t(&quot;../base-xform&quot;);function u(a,d){return a?d:void 0}function c(a,d){return a===d||void 0}n.exports=class extends o{get tag(){return&quot;sheetProtection&quot;}render(a,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;a.leafNode(this.tag,f)}}parseOpen(a){return a.name===this.tag?(this.model={sheet:c(a.attributes.sheet,&quot;1&quot;),objects:a.attributes.objects!==&quot;1&quot;&amp;&amp;void 0,scenarios:a.attributes.scenarios!==&quot;1&quot;&amp;&amp;void 0,selectLockedCells:a.attributes.selectLockedCells!==&quot;1&quot;&amp;&amp;void 0,selectUnlockedCells:a.attributes.selectUnlockedCells!==&quot;1&quot;&amp;&amp;void 0,formatCells:c(a.attributes.formatCells,&quot;0&quot;),formatColumns:c(a.attributes.formatColumns,&quot;0&quot;),formatRows:c(a.attributes.formatRows,&quot;0&quot;),insertColumns:c(a.attributes.insertColumns,&quot;0&quot;),insertRows:c(a.attributes.insertRows,&quot;0&quot;),insertHyperlinks:c(a.attributes.insertHyperlinks,&quot;0&quot;),deleteColumns:c(a.attributes.deleteColumns,&quot;0&quot;),deleteRows:c(a.attributes.deleteRows,&quot;0&quot;),sort:c(a.attributes.sort,&quot;0&quot;),autoFilter:c(a.attributes.autoFilter,&quot;0&quot;),pivotTables:c(a.attributes.pivotTables,&quot;0&quot;)},a.attributes.algorithmName&amp;&amp;(this.model.algorithmName=a.attributes.algorithmName,this.model.hashValue=a.attributes.hashValue,this.model.saltValue=a.attributes.saltValue,this.model.spinCount=parseInt(a.attributes.spinCount,10)),!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],113:[function(t,n,l){const i=t(&quot;../../../utils/col-cache&quot;),o=t(&quot;../base-xform&quot;),u={frozen:&quot;frozen&quot;,frozenSplit:&quot;frozen&quot;,split:&quot;split&quot;};n.exports=class extends o{get tag(){return&quot;sheetView&quot;}prepare(c){switch(c.state){case&quot;frozen&quot;:case&quot;split&quot;:break;default:c.state=&quot;normal&quot;}}render(c,a){c.openNode(&quot;sheetView&quot;,{workbookViewId:a.workbookViewId||0});const d=function(x,g,y){y&amp;&amp;c.addAttribute(x,g)};let f,h,m,p;switch(d(&quot;rightToLeft&quot;,&quot;1&quot;,a.rightToLeft===!0),d(&quot;tabSelected&quot;,&quot;1&quot;,a.tabSelected),d(&quot;showRuler&quot;,&quot;0&quot;,a.showRuler===!1),d(&quot;showRowColHeaders&quot;,&quot;0&quot;,a.showRowColHeaders===!1),d(&quot;showGridLines&quot;,&quot;0&quot;,a.showGridLines===!1),d(&quot;zoomScale&quot;,a.zoomScale,a.zoomScale),d(&quot;zoomScaleNormal&quot;,a.zoomScaleNormal,a.zoomScaleNormal),d(&quot;view&quot;,a.style,a.style),a.state){case&quot;frozen&quot;:h=a.xSplit||0,m=a.ySplit||0,f=a.topLeftCell||i.getAddress(m+1,h+1).address,p=(a.xSplit&amp;&amp;a.ySplit?&quot;bottomRight&quot;:a.xSplit&amp;&amp;&quot;topRight&quot;)||&quot;bottomLeft&quot;,c.leafNode(&quot;pane&quot;,{xSplit:a.xSplit||void 0,ySplit:a.ySplit||void 0,topLeftCell:f,activePane:p,state:&quot;frozen&quot;}),c.leafNode(&quot;selection&quot;,{pane:p,activeCell:a.activeCell,sqref:a.activeCell});break;case&quot;split&quot;:a.activePane===&quot;topLeft&quot;&amp;&amp;(a.activePane=void 0),c.leafNode(&quot;pane&quot;,{xSplit:a.xSplit||void 0,ySplit:a.ySplit||void 0,topLeftCell:a.topLeftCell,activePane:a.activePane}),c.leafNode(&quot;selection&quot;,{pane:a.activePane,activeCell:a.activeCell,sqref:a.activeCell});break;case&quot;normal&quot;:a.activeCell&amp;&amp;c.leafNode(&quot;selection&quot;,{activeCell:a.activeCell,sqref:a.activeCell})}c.closeNode()}parseOpen(c){switch(c.name){case&quot;sheetView&quot;:return this.sheetView={workbookViewId:parseInt(c.attributes.workbookViewId,10),rightToLeft:c.attributes.rightToLeft===&quot;1&quot;,tabSelected:c.attributes.tabSelected===&quot;1&quot;,showRuler:c.attributes.showRuler!==&quot;0&quot;,showRowColHeaders:c.attributes.showRowColHeaders!==&quot;0&quot;,showGridLines:c.attributes.showGridLines!==&quot;0&quot;,zoomScale:parseInt(c.attributes.zoomScale||&quot;100&quot;,10),zoomScaleNormal:parseInt(c.attributes.zoomScaleNormal||&quot;100&quot;,10),style:c.attributes.view},this.pane=void 0,this.selections={},!0;case&quot;pane&quot;:return this.pane={xSplit:parseInt(c.attributes.xSplit||&quot;0&quot;,10),ySplit:parseInt(c.attributes.ySplit||&quot;0&quot;,10),topLeftCell:c.attributes.topLeftCell,activePane:c.attributes.activePane||&quot;topLeft&quot;,state:c.attributes.state},!0;case&quot;selection&quot;:{const a=c.attributes.pane||&quot;topLeft&quot;;return this.selections[a]={pane:a,activeCell:c.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose(c){let a,d;return c===&quot;sheetView&quot;?(this.sheetView&amp;&amp;this.pane?(a=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;(a.activePane=this.pane.activePane),d=this.selections[this.pane.activePane],d&amp;&amp;d.activeCell&amp;&amp;(a.activeCell=d.activeCell),this.sheetView.style&amp;&amp;(a.style=this.sheetView.style)):(a=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;(a.activeCell=d.activeCell),this.sheetView.style&amp;&amp;(a.style=this.sheetView.style)),!1):!0}reconcile(){}}},{&quot;../../../utils/col-cache&quot;:19,&quot;../base-xform&quot;:32}],114:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;tablePart&quot;}render(o,u){u&amp;&amp;o.leafNode(this.tag,{&quot;r:id&quot;:u.rId})}parseOpen(o){return o.name===this.tag?(this.model={rId:o.attributes[&quot;r:id&quot;]},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],115:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),o=t(&quot;../../../utils/col-cache&quot;),u=t(&quot;../../../utils/xml-stream&quot;),c=t(&quot;../../rel-type&quot;),a=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;),x=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;),M=t(&quot;./sheet-protection-xform&quot;),T=t(&quot;./page-margins-xform&quot;),$=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;),q=t(&quot;./drawing-xform&quot;),K=t(&quot;./table-part-xform&quot;),P=t(&quot;./row-breaks-xform&quot;),L=t(&quot;./header-footer-xform&quot;),E=t(&quot;./cf/conditional-formattings-xform&quot;),j=t(&quot;./ext-lst-xform&quot;),k=(N,O)=&gt;{if(!O||!O.length)return N;if(!N||!N.length)return O;const D={},B={};return N.forEach(Y=&gt;{D[Y.ref]=Y,Y.rules.forEach(Z=&gt;{const{x14Id:ne}=Z;ne&amp;&amp;(B[ne]=Z)})}),O.forEach(Y=&gt;{Y.rules.forEach(Z=&gt;{const ne=B[Z.x14Id];ne?((V,ee)=&gt;{Object.keys(ee).forEach(z=&gt;{const R=V[z],X=ee[z];R===void 0&amp;&amp;X!==void 0&amp;&amp;(V[z]=X)})})(ne,Z):D[Y.ref]?D[Y.ref].rules.push(Z):N.push({ref:Y.ref,rules:[Z]})})}),N};class S extends d{constructor(O){super();const{maxRows:D,maxCols:B,ignoreNodes:Y}=O||{};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:D}),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 x}),pageMargins:new T,dataValidations:new y,pageSetup:new $,headerFooter:new L,printOptions:new F,picture:new W,drawing:new q,sheetProtection:new M,tableParts:new f({tag:&quot;tableParts&quot;,count:!0,childXform:new K}),conditionalFormatting:new E,extLst:new j}}prepare(O,D){D.merges=new a,O.hyperlinks=D.hyperlinks=[],O.comments=D.comments=[],D.formulae={},D.siFormulae=0,this.map.cols.prepare(O.cols,D),this.map.sheetData.prepare(O.rows,D),this.map.conditionalFormatting.prepare(O.conditionalFormattings,D),O.mergeCells=D.merges.mergeCells;const B=O.rels=[];function Y(V){return&quot;rId&quot;+(V.length+1)}if(O.hyperlinks.forEach(V=&gt;{const ee=Y(B);V.rId=ee,B.push({Id:ee,Type:c.Hyperlink,Target:V.target,TargetMode:&quot;External&quot;})}),O.comments.length&gt;0){const V={Id:Y(B),Type:c.Comments,Target:`../comments${O.id}.xml`};B.push(V);const ee={Id:Y(B),Type:c.VmlDrawing,Target:`../drawings/vmlDrawing${O.id}.vml`};B.push(ee),O.comments.forEach(z=&gt;{z.refAddress=o.decodeAddress(z.ref)}),D.commentRefs.push({commentName:&quot;comments&quot;+O.id,vmlDrawing:&quot;vmlDrawing&quot;+O.id})}const Z=[];let ne;O.media.forEach(V=&gt;{if(V.type===&quot;background&quot;){const ee=Y(B);ne=D.media[V.imageId],B.push({Id:ee,Type:c.Image,Target:`../media/${ne.name}.${ne.extension}`}),O.background={rId:ee},O.image=D.media[V.imageId]}else if(V.type===&quot;image&quot;){let{drawing:ee}=O;ne=D.media[V.imageId],ee||(ee=O.drawing={rId:Y(B),name:&quot;drawing&quot;+ ++D.drawingsCount,anchors:[],rels:[]},D.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===V.imageId?Z[V.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/${ne.name}.${ne.extension}`}));const R={picture:{rId:z},range:V.range};if(V.hyperlinks&amp;&amp;V.hyperlinks.hyperlink){const X=Y(ee.rels);Z[ee.rels.length]=X,R.picture.hyperlinks={tooltip:V.hyperlinks.tooltip,rId:X},ee.rels.push({Id:X,Type:c.Hyperlink,Target:V.hyperlinks.hyperlink,TargetMode:&quot;External&quot;})}this.preImageId=V.imageId,ee.anchors.push(R)}}),O.tables.forEach(V=&gt;{const ee=Y(B);V.rId=ee,B.push({Id:ee,Type:c.Table,Target:&quot;../tables/&quot;+V.target}),V.columns.forEach(z=&gt;{const{style:R}=z;R&amp;&amp;(z.dxfId=D.styles.addDxfStyle(R))})}),this.map.extLst.prepare(O,D)}render(O,D){O.openXml(u.StdDocAttributes),O.openNode(&quot;worksheet&quot;,S.WORKSHEET_ATTRIBUTES);const B=D.properties?{defaultRowHeight:D.properties.defaultRowHeight,dyDescent:D.properties.dyDescent,outlineLevelCol:D.properties.outlineLevelCol,outlineLevelRow:D.properties.outlineLevelRow}:void 0;D.properties&amp;&amp;D.properties.defaultColWidth&amp;&amp;(B.defaultColWidth=D.properties.defaultColWidth);const Y={outlineProperties:D.properties&amp;&amp;D.properties.outlineProperties,tabColor:D.properties&amp;&amp;D.properties.tabColor,pageSetup:D.pageSetup&amp;&amp;D.pageSetup.fitToPage?{fitToPage:D.pageSetup.fitToPage}:void 0},Z=D.pageSetup&amp;&amp;D.pageSetup.margins,ne={showRowColHeaders:D.pageSetup&amp;&amp;D.pageSetup.showRowColHeaders,showGridLines:D.pageSetup&amp;&amp;D.pageSetup.showGridLines,horizontalCentered:D.pageSetup&amp;&amp;D.pageSetup.horizontalCentered,verticalCentered:D.pageSetup&amp;&amp;D.pageSetup.verticalCentered},V=D.sheetProtection;this.map.sheetPr.render(O,Y),this.map.dimension.render(O,D.dimensions),this.map.sheetViews.render(O,D.views),this.map.sheetFormatPr.render(O,B),this.map.cols.render(O,D.cols),this.map.sheetData.render(O,D.rows),this.map.sheetProtection.render(O,V),this.map.autoFilter.render(O,D.autoFilter),this.map.mergeCells.render(O,D.mergeCells),this.map.conditionalFormatting.render(O,D.conditionalFormattings),this.map.dataValidations.render(O,D.dataValidations),this.map.hyperlinks.render(O,D.hyperlinks),this.map.printOptions.render(O,ne),this.map.pageMargins.render(O,Z),this.map.pageSetup.render(O,D.pageSetup),this.map.headerFooter.render(O,D.headerFooter),this.map.rowBreaks.render(O,D.rowBreaks),this.map.drawing.render(O,D.drawing),this.map.picture.render(O,D.background),this.map.tableParts.render(O,D.tables),this.map.extLst.render(O,D),D.rels&amp;&amp;D.rels.forEach(ee=&gt;{ee.Type===c.VmlDrawing&amp;&amp;O.leafNode(&quot;legacyDrawing&quot;,{&quot;r:id&quot;:ee.Id})}),O.closeNode()}parseOpen(O){return this.parser?(this.parser.parseOpen(O),!0):O.name===&quot;worksheet&quot;?(i.each(this.map,D=&gt;{D.reset()}),!0):(this.map[O.name]&amp;&amp;!this.ignoreNodes.includes(O.name)&amp;&amp;(this.parser=this.map[O.name],this.parser.parseOpen(O)),!0)}parseText(O){this.parser&amp;&amp;this.parser.parseText(O)}parseClose(O){if(this.parser)return this.parser.parseClose(O)||(this.parser=void 0),!0;if(O===&quot;worksheet&quot;){const D=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&amp;&amp;this.map.sheetPr.model.tabColor&amp;&amp;(D.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&amp;&amp;this.map.sheetPr.model.outlineProperties&amp;&amp;(D.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:D,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(O,D){const B=(O.relationships||[]).reduce((Z,ne)=&gt;{if(Z[ne.Id]=ne,ne.Type===c.Comments&amp;&amp;(O.comments=D.comments[ne.Target].comments),ne.Type===c.VmlDrawing&amp;&amp;O.comments&amp;&amp;O.comments.length){const V=D.vmlDrawings[ne.Target].comments;O.comments.forEach((ee,z)=&gt;{ee.note=Object.assign({},ee.note,V[z])})}return Z},{});if(D.commentsMap=(O.comments||[]).reduce((Z,ne)=&gt;(ne.ref&amp;&amp;(Z[ne.ref]=ne),Z),{}),D.hyperlinkMap=(O.hyperlinks||[]).reduce((Z,ne)=&gt;(ne.rId&amp;&amp;(Z[ne.address]=B[ne.rId].Target),Z),{}),D.formulae={},O.rows=O.rows&amp;&amp;O.rows.filter(Boolean)||[],O.rows.forEach(Z=&gt;{Z.cells=Z.cells&amp;&amp;Z.cells.filter(Boolean)||[]}),this.map.cols.reconcile(O.cols,D),this.map.sheetData.reconcile(O.rows,D),this.map.conditionalFormatting.reconcile(O.conditionalFormattings,D),O.media=[],O.drawing){const Z=B[O.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(Z){const ne=Z[1];D.drawings[ne].anchors.forEach(V=&gt;{if(V.medium){const ee={type:&quot;image&quot;,imageId:V.medium.index,range:V.range,hyperlinks:V.picture.hyperlinks};O.media.push(ee)}})}}const Y=O.background&amp;&amp;B[O.background.rId];if(Y){const Z=Y.Target.split(&quot;/media/&quot;)[1],ne=D.mediaIndex&amp;&amp;D.mediaIndex[Z];ne!==void 0&amp;&amp;O.media.push({type:&quot;background&quot;,imageId:ne})}O.tables=(O.tables||[]).map(Z=&gt;{const ne=B[Z.rId];return D.tables[ne.Target]}),delete O.relationships,delete O.hyperlinks,delete O.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,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(o){super(),this.tag=o.tag,this.attr=o.attr}render(o,u){u&amp;&amp;(o.openNode(this.tag),o.closeNode())}parseOpen(o){o.name===this.tag&amp;&amp;(this.model=!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],117:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(o){super(),this.tag=o.tag,this.attr=o.attr,this.attrs=o.attrs,this._format=o.format||function(u){try{return Number.isNaN(u.getTime())?&quot;&quot;:u.toISOString()}catch{return&quot;&quot;}},this._parse=o.parse||function(u){return new Date(u)}}render(o,u){u&amp;&amp;(o.openNode(this.tag),this.attrs&amp;&amp;o.addAttributes(this.attrs),this.attr?o.addAttribute(this.attr,this._format(u)):o.writeText(this._format(u)),o.closeNode())}parseOpen(o){o.name===this.tag&amp;&amp;(this.attr?this.model=this._parse(o.attributes[this.attr]):this.text=[])}parseText(o){this.attr||this.text.push(o)}parseClose(){return this.attr||(this.model=this._parse(this.text.join(&quot;&quot;))),!1}}},{&quot;../base-xform&quot;:32}],118:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(o){super(),this.tag=o.tag,this.attr=o.attr,this.attrs=o.attrs,this.zero=o.zero}render(o,u){(u||this.zero)&amp;&amp;(o.openNode(this.tag),this.attrs&amp;&amp;o.addAttributes(this.attrs),this.attr?o.addAttribute(this.attr,u):o.writeText(u),o.closeNode())}parseOpen(o){return o.name===this.tag&amp;&amp;(this.attr?this.model=parseInt(o.attributes[this.attr],10):this.text=[],!0)}parseText(o){this.attr||this.text.push(o)}parseClose(){return this.attr||(this.model=parseInt(this.text.join(&quot;&quot;)||0,10)),!1}}},{&quot;../base-xform&quot;:32}],119:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(o){super(),this.tag=o.tag,this.attr=o.attr,this.attrs=o.attrs}render(o,u){u!==void 0&amp;&amp;(o.openNode(this.tag),this.attrs&amp;&amp;o.addAttributes(this.attrs),this.attr?o.addAttribute(this.attr,u):o.writeText(u),o.closeNode())}parseOpen(o){o.name===this.tag&amp;&amp;(this.attr?this.model=o.attributes[this.attr]:this.text=[])}parseText(o){this.attr||this.text.push(o)}parseClose(){return this.attr||(this.model=this.text.join(&quot;&quot;)),!1}}},{&quot;../base-xform&quot;:32}],120:[function(t,n,l){const i=t(&quot;./base-xform&quot;),o=t(&quot;../../utils/xml-stream&quot;);n.exports=class extends i{constructor(u){super(),this._model=u}render(u){if(!this._xml){const c=new o;(function a(d,f){d.openNode(f.tag,f.$),f.c&amp;&amp;f.c.forEach(h=&gt;{a(d,h)}),f.t&amp;&amp;d.writeText(f.t),d.closeNode()})(c,this._model),this._xml=c.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,l){const i=t(&quot;./text-xform&quot;),o=t(&quot;./rich-text-xform&quot;),u=t(&quot;../base-xform&quot;);n.exports=class extends u{constructor(){super(),this.map={r:new o,t:new i}}get tag(){return&quot;rPh&quot;}render(c,a){if(c.openNode(this.tag,{sb:a.sb||0,eb:a.eb||0}),a&amp;&amp;a.hasOwnProperty(&quot;richText&quot;)&amp;&amp;a.richText){const{r:d}=this.map;a.richText.forEach(f=&gt;{d.render(c,f)})}else a&amp;&amp;this.map.t.render(c,a.text);c.closeNode()}parseOpen(c){const{name:a}=c;return this.parser?(this.parser.parseOpen(c),!0):a===this.tag?(this.model={sb:parseInt(c.attributes.sb,10),eb:parseInt(c.attributes.eb,10)},!0):(this.parser=this.map[a],!!this.parser&amp;&amp;(this.parser.parseOpen(c),!0))}parseText(c){this.parser&amp;&amp;this.parser.parseText(c)}parseClose(c){if(this.parser){if(!this.parser.parseClose(c)){switch(c){case&quot;r&quot;:{let a=this.model.richText;a||(a=this.model.richText=[]),a.push(this.parser.model);break}case&quot;t&quot;:this.model.text=this.parser.model}this.parser=void 0}return!0}return c!==this.tag}}},{&quot;../base-xform&quot;:32,&quot;./rich-text-xform&quot;:122,&quot;./text-xform&quot;:125}],122:[function(t,n,l){const i=t(&quot;./text-xform&quot;),o=t(&quot;../style/font-xform&quot;),u=t(&quot;../base-xform&quot;);class c 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 o(c.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}}}c.FONT_OPTIONS={tagName:&quot;rPr&quot;,fontNameTag:&quot;rFont&quot;},n.exports=c},{&quot;../base-xform&quot;:32,&quot;../style/font-xform&quot;:131,&quot;./text-xform&quot;:125}],123:[function(t,n,l){const i=t(&quot;./text-xform&quot;),o=t(&quot;./rich-text-xform&quot;),u=t(&quot;./phonetic-text-xform&quot;),c=t(&quot;../base-xform&quot;);n.exports=class extends c{constructor(a){super(),this.model=a,this.map={r:new o,t:new i,rPh:new u}}get tag(){return&quot;si&quot;}render(a,d){a.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(a,f)}):this.map.t.render(a,&quot;&quot;):d!=null&amp;&amp;this.map.t.render(a,d),a.closeNode()}parseOpen(a){const{name:d}=a;return this.parser?(this.parser.parseOpen(a),!0):d===this.tag?(this.model={},!0):(this.parser=this.map[d],!!this.parser&amp;&amp;(this.parser.parseOpen(a),!0))}parseText(a){this.parser&amp;&amp;this.parser.parseText(a)}parseClose(a){if(this.parser){if(!this.parser.parseClose(a)){switch(a){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 a!==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,l){const i=t(&quot;../../../utils/xml-stream&quot;),o=t(&quot;../base-xform&quot;),u=t(&quot;./shared-string-xform&quot;);n.exports=class extends o{constructor(c){super(),this.model=c||{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(c){return this.model.values[c]}add(c){return c.richText?this.addRichText(c):this.addText(c)}addText(c){let a=this.hash[c];return a===void 0&amp;&amp;(a=this.hash[c]=this.model.values.length,this.model.values.push(c)),this.model.count++,a}addRichText(c){const a=this.sharedStringXform.toXml(c);let d=this.rich[a];return d===void 0&amp;&amp;(d=this.rich[a]=this.model.values.length,this.model.values.push(c)),this.model.count++,d}render(c,a){a=a||this._values,c.openXml(i.StdDocAttributes),c.openNode(&quot;sst&quot;,{xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;,count:a.count,uniqueCount:a.values.length});const d=this.sharedStringXform;a.values.forEach(f=&gt;{d.render(c,f)}),c.closeNode()}parseOpen(c){if(this.parser)return this.parser.parseOpen(c),!0;switch(c.name){case&quot;sst&quot;:return!0;case&quot;si&quot;:return this.parser=this.sharedStringXform,this.parser.parseOpen(c),!0;default:throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(c))}}parseText(c){this.parser&amp;&amp;this.parser.parseText(c)}parseClose(c){if(this.parser)return this.parser.parseClose(c)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;if(c===&quot;sst&quot;)return!1;throw new Error(&quot;Unexpected xml node in parseClose: &quot;+c)}}},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./shared-string-xform&quot;:123}],125:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;t&quot;}render(o,u){o.openNode(&quot;t&quot;),/^\s|\n|\s$/.test(u)&amp;&amp;o.addAttribute(&quot;xml:space&quot;,&quot;preserve&quot;),o.writeText(u),o.closeNode()}get model(){return this._text.join(&quot;&quot;).replace(/_x([0-9A-F]{4})_/g,(o,u)=&gt;String.fromCharCode(parseInt(u,16)))}parseOpen(o){return o.name===&quot;t&quot;?(this._text=[],!0):!1}parseText(o){this._text.push(o)}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],126:[function(t,n,l){const i=t(&quot;../../../doc/enums&quot;),o=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),c={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=o.validInt(d))&gt;=-90&amp;&amp;d&lt;=90?d:void 0},indent:d=&gt;(d=o.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}}},a={toXml(d){if(d=c.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=o.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,x){x&amp;&amp;(d.addAttribute(p,x),h=!0)}m(&quot;horizontal&quot;,c.horizontal(f.horizontal)),m(&quot;vertical&quot;,c.vertical(f.vertical)),m(&quot;wrapText&quot;,!!c.wrapText(f.wrapText)&amp;&amp;&quot;1&quot;),m(&quot;shrinkToFit&quot;,!!c.shrinkToFit(f.shrinkToFit)&amp;&amp;&quot;1&quot;),m(&quot;indent&quot;,c.indent(f.indent)),m(&quot;textRotation&quot;,a.toXml(f.textRotation)),m(&quot;readingOrder&quot;,c.readingOrder(f.readingOrder)),d.closeNode(),h?d.commit():d.rollback()}parseOpen(d){const f={};let h=!1;function m(p,x,g){p&amp;&amp;(f[x]=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;,o.parseBoolean(d.attributes.wrapText)),m(d.attributes.shrinkToFit,&quot;shrinkToFit&quot;,o.parseBoolean(d.attributes.shrinkToFit)),m(d.attributes.indent,&quot;indent&quot;,parseInt(d.attributes.indent,10)),m(d.attributes.textRotation,&quot;textRotation&quot;,a.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,l){const i=t(&quot;../base-xform&quot;),o=t(&quot;../../../utils/utils&quot;),u=t(&quot;./color-xform&quot;);class c 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 c.validStyleValues[d]}}c.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((a,d)=&gt;(a[d]=!0,a),{}),n.exports=class extends i{constructor(){super(),this.map={top:new c(&quot;top&quot;),left:new c(&quot;left&quot;),bottom:new c(&quot;bottom&quot;),right:new c(&quot;right&quot;),diagonal:new c(&quot;diagonal&quot;)}}render(a,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(a,m,f)}a.openNode(&quot;border&quot;),d.diagonal&amp;&amp;d.diagonal.style&amp;&amp;(d.diagonal.up&amp;&amp;a.addAttribute(&quot;diagonalUp&quot;,&quot;1&quot;),d.diagonal.down&amp;&amp;a.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),a.closeNode()}parseOpen(a){return this.parser?(this.parser.parseOpen(a),!0):a.name===&quot;border&quot;?(this.reset(),this.diagonalUp=o.parseBoolean(a.attributes.diagonalUp),this.diagonalDown=o.parseBoolean(a.attributes.diagonalDown),!0):(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)}parseClose(a){if(this.parser)return this.parser.parseClose(a)||(this.parser=void 0),!0;if(a===&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,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(o){super(),this.name=o||&quot;color&quot;}get tag(){return this.name}render(o,u){return!!u&amp;&amp;(o.openNode(this.name),u.argb?o.addAttribute(&quot;rgb&quot;,u.argb):u.theme!==void 0?(o.addAttribute(&quot;theme&quot;,u.theme),u.tint!==void 0&amp;&amp;o.addAttribute(&quot;tint&quot;,u.tint)):u.indexed!==void 0?o.addAttribute(&quot;indexed&quot;,u.indexed):o.addAttribute(&quot;auto&quot;,&quot;1&quot;),o.closeNode(),!0)}parseOpen(o){return o.name===this.name&amp;&amp;(o.attributes.rgb?this.model={argb:o.attributes.rgb}:o.attributes.theme?(this.model={theme:parseInt(o.attributes.theme,10)},o.attributes.tint&amp;&amp;(this.model.tint=parseFloat(o.attributes.tint))):o.attributes.indexed?this.model={indexed:parseInt(o.attributes.indexed,10)}:this.model=void 0,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],129:[function(t,n,l){const i=t(&quot;../base-xform&quot;),o=t(&quot;./alignment-xform&quot;),u=t(&quot;./border-xform&quot;),c=t(&quot;./fill-xform&quot;),a=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 o,border:new u,fill:new c,font:new a,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,l){const i=t(&quot;../base-xform&quot;),o=t(&quot;./color-xform&quot;);class u extends i{constructor(){super(),this.map={color:new o}}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 c extends i{constructor(){super(),this.map={fgColor:new o(&quot;fgColor&quot;),bgColor:new o(&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 a 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(x=&gt;{p.render(h,x)}),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 c,gradientFill:new a}}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=c,d.GradientFillXform=a,n.exports=d},{&quot;../base-xform&quot;:32,&quot;./color-xform&quot;:128}],131:[function(t,n,l){const i=t(&quot;./color-xform&quot;),o=t(&quot;../simple/boolean-xform&quot;),u=t(&quot;../simple/integer-xform&quot;),c=t(&quot;../simple/string-xform&quot;),a=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 o({tag:&quot;b&quot;,attr:&quot;val&quot;})},i:{prop:&quot;italic&quot;,xform:new o({tag:&quot;i&quot;,attr:&quot;val&quot;})},u:{prop:&quot;underline&quot;,xform:new a},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 o({tag:&quot;condense&quot;,attr:&quot;val&quot;})},extend:{prop:&quot;extend&quot;,xform:new o({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 o({tag:&quot;outline&quot;,attr:&quot;val&quot;})},vertAlign:{prop:&quot;vertAlign&quot;,xform:new c({tag:&quot;vertAlign&quot;,attr:&quot;val&quot;})},scheme:{prop:&quot;scheme&quot;,xform:new c({tag:&quot;scheme&quot;,attr:&quot;val&quot;})},shadow:{prop:&quot;shadow&quot;,xform:new o({tag:&quot;shadow&quot;,attr:&quot;val&quot;})},strike:{prop:&quot;strike&quot;,xform:new o({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 c({tag:this.options.fontNameTag,attr:&quot;val&quot;})}}get tag(){return this.options.tagName}render(p,x){const{map:g}=this;p.openNode(this.options.tagName),d.each(this.map,(y,v)=&gt;{g[v].xform.render(p,x[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 x=this.map[p];return this.parser.model&amp;&amp;(this.model[x.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,l){const i=t(&quot;../../../utils/under-dash&quot;),o=t(&quot;../../defaultnumformats&quot;),u=t(&quot;../base-xform&quot;),c=(function(){const d={};return i.each(o,(f,h)=&gt;{f.f&amp;&amp;(d[f.f]=parseInt(h,10))}),d})();class a 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}}a.getDefaultFmtId=function(d){return c[d]},a.getDefaultFmtCode=function(d){return o[d]&amp;&amp;o[d].f},n.exports=a},{&quot;../../../utils/under-dash&quot;:26,&quot;../../defaultnumformats&quot;:30,&quot;../base-xform&quot;:32}],133:[function(t,n,l){const i=t(&quot;../base-xform&quot;),o={boolean:(u,c)=&gt;u===void 0?c:u};n.exports=class extends i{get tag(){return&quot;protection&quot;}render(u,c){u.addRollback(),u.openNode(&quot;protection&quot;);let a=!1;function d(f,h){h!==void 0&amp;&amp;(u.addAttribute(f,h),a=!0)}d(&quot;locked&quot;,o.boolean(c.locked,!0)?void 0:&quot;0&quot;),d(&quot;hidden&quot;,o.boolean(c.hidden,!1)?&quot;1&quot;:void 0),u.closeNode(),a?u.commit():u.rollback()}parseOpen(u){const c={locked:u.attributes.locked!==&quot;0&quot;,hidden:u.attributes.hidden===&quot;1&quot;},a=!c.locked||c.hidden;this.model=a?c:null}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],134:[function(t,n,l){const i=t(&quot;../base-xform&quot;),o=t(&quot;./alignment-xform&quot;),u=t(&quot;./protection-xform&quot;);n.exports=class extends i{constructor(c){super(),this.xfId=!(!c||!c.xfId),this.map={alignment:new o,protection:new u}}get tag(){return&quot;xf&quot;}render(c,a){c.openNode(&quot;xf&quot;,{numFmtId:a.numFmtId||0,fontId:a.fontId||0,fillId:a.fillId||0,borderId:a.borderId||0}),this.xfId&amp;&amp;c.addAttribute(&quot;xfId&quot;,a.xfId||0),a.numFmtId&amp;&amp;c.addAttribute(&quot;applyNumberFormat&quot;,&quot;1&quot;),a.fontId&amp;&amp;c.addAttribute(&quot;applyFont&quot;,&quot;1&quot;),a.fillId&amp;&amp;c.addAttribute(&quot;applyFill&quot;,&quot;1&quot;),a.borderId&amp;&amp;c.addAttribute(&quot;applyBorder&quot;,&quot;1&quot;),a.alignment&amp;&amp;c.addAttribute(&quot;applyAlignment&quot;,&quot;1&quot;),a.protection&amp;&amp;c.addAttribute(&quot;applyProtection&quot;,&quot;1&quot;),a.alignment&amp;&amp;this.map.alignment.render(c,a.alignment),a.protection&amp;&amp;this.map.protection.render(c,a.protection),c.closeNode()}parseOpen(c){if(this.parser)return this.parser.parseOpen(c),!0;switch(c.name){case&quot;xf&quot;:return this.model={numFmtId:parseInt(c.attributes.numFmtId,10),fontId:parseInt(c.attributes.fontId,10),fillId:parseInt(c.attributes.fillId,10),borderId:parseInt(c.attributes.borderId,10)},this.xfId&amp;&amp;(this.model.xfId=parseInt(c.attributes.xfId,10)),!0;case&quot;alignment&quot;:return this.parser=this.map.alignment,this.parser.parseOpen(c),!0;case&quot;protection&quot;:return this.parser=this.map.protection,this.parser.parseOpen(c),!0;default:return!1}}parseText(c){this.parser&amp;&amp;this.parser.parseText(c)}parseClose(c){return this.parser?(this.parser.parseClose(c)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):c!==&quot;xf&quot;}}},{&quot;../base-xform&quot;:32,&quot;./alignment-xform&quot;:126,&quot;./protection-xform&quot;:133}],135:[function(t,n,l){const i=t(&quot;../../../doc/enums&quot;),o=t(&quot;../../../utils/xml-stream&quot;),u=t(&quot;../base-xform&quot;),c=t(&quot;../static-xform&quot;),a=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;),x=t(&quot;./dxf-xform&quot;);class g extends u{constructor(v){super(),this.map={numFmts:new a({tag:&quot;numFmts&quot;,count:!0,childXform:new m}),fonts:new a({tag:&quot;fonts&quot;,count:!0,childXform:new d,$:{&quot;x14ac:knownFonts&quot;:1}}),fills:new a({tag:&quot;fills&quot;,count:!0,childXform:new f}),borders:new a({tag:&quot;borders&quot;,count:!0,childXform:new h}),cellStyleXfs:new a({tag:&quot;cellStyleXfs&quot;,count:!0,childXform:new p}),cellXfs:new a({tag:&quot;cellXfs&quot;,count:!0,childXform:new p({xfId:!0})}),dxfs:new a({tag:&quot;dxfs&quot;,always:!0,count:!0,childXform:new x}),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(o.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,M)=&gt;{M.model&amp;&amp;M.model.length&amp;&amp;(this.model[C]=M.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(M=&gt;{C[M.id]=M.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 M=this._addStyle(C);return this.weakMap&amp;&amp;this.weakMap.set(v,M),M}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 M(T,$,F){if(F||F===0){const H=$[F];H&amp;&amp;(C[T]=H)}}return M(&quot;font&quot;,this.model.fonts,_.fontId),M(&quot;border&quot;,this.model.borders,_.borderId),M(&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 c({tag:&quot;cellStyles&quot;,$:{count:1},c:[{tag:&quot;cellStyle&quot;,$:{name:&quot;Normal&quot;,xfId:0,builtinId:0}}]}),dxfs:new c({tag:&quot;dxfs&quot;,$:{count:0}}),tableStyles:new c({tag:&quot;tableStyles&quot;,$:{count:0,defaultTableStyle:&quot;TableStyleMedium2&quot;,defaultPivotStyle:&quot;PivotStyleLight16&quot;}}),extLst:new c({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,l){const i=t(&quot;../base-xform&quot;);class o extends i{constructor(c){super(),this.model=c}get tag(){return&quot;u&quot;}render(c,a){if((a=a||this.model)===!0)c.leafNode(&quot;u&quot;);else{const d=o.Attributes[a];d&amp;&amp;c.leafNode(&quot;u&quot;,d)}}parseOpen(c){c.name===&quot;u&quot;&amp;&amp;(this.model=c.attributes.val||!0)}parseText(){}parseClose(){return!1}}o.Attributes={single:{},double:{val:&quot;double&quot;},singleAccounting:{val:&quot;singleAccounting&quot;},doubleAccounting:{val:&quot;doubleAccounting&quot;}},n.exports=o},{&quot;../base-xform&quot;:32}],137:[function(t,n,l){const i=t(&quot;../base-xform&quot;),o=t(&quot;./filter-column-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={filterColumn:new o}}get tag(){return&quot;autoFilter&quot;}prepare(u){u.columns.forEach((c,a)=&gt;{this.map.filterColumn.prepare(c,{index:a})})}render(u,c){return u.openNode(this.tag,{ref:c.autoFilterRef}),c.columns.forEach(a=&gt;{this.map.filterColumn.render(u,a)}),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,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;customFilter&quot;}render(o,u){o.leafNode(this.tag,{val:u.val,operator:u.operator})}parseOpen(o){return o.name===this.tag&amp;&amp;(this.model={val:o.attributes.val,operator:o.attributes.operator},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],139:[function(t,n,l){const i=t(&quot;../base-xform&quot;),o=t(&quot;../list-xform&quot;),u=t(&quot;./custom-filter-xform&quot;),c=t(&quot;./filter-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={customFilters:new o({tag:&quot;customFilters&quot;,count:!1,empty:!0,childXform:new u}),filters:new o({tag:&quot;filters&quot;,count:!1,empty:!0,childXform:new c})}}get tag(){return&quot;filterColumn&quot;}prepare(a,d){a.colId=d.index.toString()}render(a,d){return d.customFilters?(a.openNode(this.tag,{colId:d.colId,hiddenButton:d.filterButton?&quot;0&quot;:&quot;1&quot;}),this.map.customFilters.render(a,d.customFilters),a.closeNode(),!0):(a.leafNode(this.tag,{colId:d.colId,hiddenButton:d.filterButton?&quot;0&quot;:&quot;1&quot;}),!0)}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;const{attributes:d}=a;switch(a.name){case this.tag:return this.model={filterButton:d.hiddenButton===&quot;0&quot;},!0;default:if(this.parser=this.map[a.name],this.parser)return this.parseOpen(a),!0;throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(a))}}parseText(){}parseClose(a){return this.parser?(this.parser.parseClose(a)||(this.parser=void 0),!0):a===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,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;filter&quot;}render(o,u){o.leafNode(this.tag,{val:u.val})}parseOpen(o){return o.name===this.tag&amp;&amp;(this.model={val:o.attributes.val},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],141:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;tableColumn&quot;}prepare(o,u){o.id=u.index+1}render(o,u){return o.leafNode(this.tag,{id:u.id.toString(),name:u.name,totalsRowLabel:u.totalsRowLabel,totalsRowFunction:u.totalsRowFunction,dxfId:u.dxfId}),!0}parseOpen(o){if(o.name===this.tag){const{attributes:u}=o;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,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;tableStyleInfo&quot;}render(o,u){return o.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(o){if(o.name===this.tag){const{attributes:u}=o;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,l){const i=t(&quot;../../../utils/xml-stream&quot;),o=t(&quot;../base-xform&quot;),u=t(&quot;../list-xform&quot;),c=t(&quot;./auto-filter-xform&quot;),a=t(&quot;./table-column-xform&quot;),d=t(&quot;./table-style-info-xform&quot;);class f extends o{constructor(){super(),this.map={autoFilter:new c,tableColumns:new u({tag:&quot;tableColumns&quot;,count:!0,empty:!0,childXform:new a}),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:x}=m;return p===this.tag?(this.reset(),this.model={name:x.name,displayName:x.displayName||x.name,tableRef:x.ref,totalsRow:x.totalsRowCount===&quot;1&quot;,headerRow:x.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,x)=&gt;{this.model.columns[x].filterButton=p.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1):!0}reconcile(m,p){m.columns.forEach(x=&gt;{x.dxfId!==void 0&amp;&amp;(x.style=p.styles.getDxfStyle(x.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,l){(function(i,o){(function(){const u=t(&quot;fs&quot;),c=t(&quot;jszip&quot;),{PassThrough:a}=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;),x=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;),M=t(&quot;./xform/book/workbook-xform&quot;),T=t(&quot;./xform/sheet/worksheet-xform&quot;),$=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;),q=t(&quot;./xml/theme1&quot;);class K{constructor(L){this.workbook=L}async readFile(L,E){if(!await h.fs.exists(L))throw new Error(&quot;File not found: &quot;+L);const j=u.createReadStream(L);try{const k=await this.read(j,E);return j.close(),k}catch(k){throw j.close(),k}}parseRels(L){return new v().parseStream(L)}parseWorkbook(L){return new M().parseStream(L)}parseSharedStrings(L){return new y().parseStream(L)}reconcile(L,E){const j=new M,k=new T(E),S=new $,N=new F;j.reconcile(L);const O={media:L.media,mediaIndex:L.mediaIndex};Object.keys(L.drawings).forEach(Y=&gt;{const Z=L.drawings[Y],ne=L.drawingRels[Y];ne&amp;&amp;(O.rels=ne.reduce((V,ee)=&gt;(V[ee.Id]=ee,V),{}),(Z.anchors||[]).forEach(V=&gt;{const ee=V.picture&amp;&amp;V.picture.hyperlinks;ee&amp;&amp;O.rels[ee.rId]&amp;&amp;(ee.hyperlink=O.rels[ee.rId].Target,delete ee.rId)}),S.reconcile(Z,O))});const D={styles:L.styles};Object.values(L.tables).forEach(Y=&gt;{N.reconcile(Y,D)});const B={styles:L.styles,sharedStrings:L.sharedStrings,media:L.media,mediaIndex:L.mediaIndex,date1904:L.properties&amp;&amp;L.properties.date1904,drawings:L.drawings,comments:L.comments,tables:L.tables,vmlDrawings:L.vmlDrawings};L.worksheets.forEach(Y=&gt;{Y.relationships=L.worksheetRels[Y.sheetNo],k.reconcile(Y,B)}),delete L.worksheetHash,delete L.worksheetRels,delete L.globalRels,delete L.sharedStrings,delete L.workbookRels,delete L.sheetDefs,delete L.styles,delete L.mediaIndex,delete L.drawings,delete L.drawingRels,delete L.vmlDrawings}async _processWorksheetEntry(L,E,j,k,S){const N=new T(k),O=await N.parseStream(L);O.sheetNo=j,E.worksheetHash[S]=O,E.worksheets.push(O)}async _processCommentEntry(L,E,j){const k=new H,S=await k.parseStream(L);E.comments[`../${j}.xml`]=S}async _processTableEntry(L,E,j){const k=new F,S=await k.parseStream(L);E.tables[`../tables/${j}.xml`]=S}async _processWorksheetRelsEntry(L,E,j){const k=new v,S=await k.parseStream(L);E.worksheetRels[j]=S}async _processMediaEntry(L,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((O,D)=&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),O()}),L.on(&quot;error&quot;,Y=&gt;{D(Y)}),L.pipe(B)})}}async _processDrawingEntry(L,E,j){const k=new $,S=await k.parseStream(L);E.drawings[j]=S}async _processDrawingRelsEntry(L,E,j){const k=new v,S=await k.parseStream(L);E.drawingRels[j]=S}async _processVmlDrawingEntry(L,E,j){const k=new W,S=await k.parseStream(L);E.vmlDrawings[`../drawings/${j}.vml`]=S}async _processThemeEntry(L,E,j){await new Promise((k,S)=&gt;{const N=new f;L.on(&quot;error&quot;,S),N.on(&quot;error&quot;,S),N.on(&quot;finish&quot;,()=&gt;{E.themes[j]=N.read().toString(),k()}),L.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(L,E){!L[Symbol.asyncIterator]&amp;&amp;L.pipe&amp;&amp;(L=L.pipe(new a));const j=[];for await(const k of L)j.push(k);return this.load(o.concat(j),E)}async load(L,E){let j;j=E&amp;&amp;E.base64?o.from(L.toString(),&quot;base64&quot;):L;const k={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},S=await c.loadAsync(j);for(const N of Object.values(S.files))if(!N.dir){let O,D=N.name;if(D[0]===&quot;/&quot;&amp;&amp;(D=D.substr(1)),D.match(/xl\/media\//)||D.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))O=new a,O.write(await N.async(&quot;nodebuffer&quot;));else{let B;O=new a({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)O.write(B.substring(Z,Z+Y))}switch(O.end(),D){case&quot;_rels/.rels&quot;:k.globalRels=await this.parseRels(O);break;case&quot;xl/workbook.xml&quot;:{const B=await this.parseWorkbook(O);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(O);break;case&quot;xl/sharedStrings.xml&quot;:k.sharedStrings=new y,await k.sharedStrings.parseStream(O);break;case&quot;xl/styles.xml&quot;:k.styles=new x,await k.styles.parseStream(O);break;case&quot;docProps/app.xml&quot;:{const B=new C,Y=await B.parseStream(O);k.company=Y.company,k.manager=Y.manager;break}case&quot;docProps/core.xml&quot;:{const B=new g,Y=await B.parseStream(O);Object.assign(k,Y);break}default:{let B=D.match(/xl\/worksheets\/sheet(\d+)[.]xml/);if(B){await this._processWorksheetEntry(O,k,B[1],E,D);break}if(B=D.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),B){await this._processWorksheetRelsEntry(O,k,B[1]);break}if(B=D.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/),B){await this._processThemeEntry(O,k,B[1]);break}if(B=D.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/),B){await this._processMediaEntry(O,k,B[1]);break}if(B=D.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/),B){await this._processDrawingEntry(O,k,B[1]);break}if(B=D.match(/xl\/(comments\d+)[.]xml/),B){await this._processCommentEntry(O,k,B[1]);break}if(B=D.match(/xl\/tables\/(table\d+)[.]xml/),B){await this._processTableEntry(O,k,B[1]);break}if(B=D.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/),B){await this._processDrawingRelsEntry(O,k,B[1]);break}if(B=D.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/),B){await this._processVmlDrawingEntry(O,k,B[1]);break}}}}return this.reconcile(k,E),this.workbook.model=k,this.workbook}async addMedia(L,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,O){return new Promise((D,B)=&gt;{u.readFile(N,O,(Y,Z)=&gt;{Y?B(Y):D(Z)})})})(j.filename);return L.append(S,{name:k})}if(j.buffer)return L.append(j.buffer,{name:k});if(j.base64){const S=j.base64,N=S.substring(S.indexOf(&quot;,&quot;)+1);return L.append(N,{name:k,base64:!0})}}throw new Error(&quot;Unsupported media&quot;)}))}addDrawings(L,E){const j=new $,k=new v;E.worksheets.forEach(S=&gt;{const{drawing:N}=S;if(N){j.prepare(N,{});let O=j.toXml(N);L.append(O,{name:`xl/drawings/${N.name}.xml`}),O=k.toXml(N.rels),L.append(O,{name:`xl/drawings/_rels/${N.name}.xml.rels`})}})}addTables(L,E){const j=new F;E.worksheets.forEach(k=&gt;{const{tables:S}=k;S.forEach(N=&gt;{j.prepare(N,{});const O=j.toXml(N);L.append(O,{name:&quot;xl/tables/&quot;+N.target})})})}async addContentTypes(L,E){const j=new _().toXml(E);L.append(j,{name:&quot;[Content_Types].xml&quot;})}async addApp(L,E){const j=new C().toXml(E);L.append(j,{name:&quot;docProps/app.xml&quot;})}async addCore(L,E){const j=new g;L.append(j.toXml(E),{name:&quot;docProps/core.xml&quot;})}async addThemes(L,E){const j=E.themes||{theme1:q};Object.keys(j).forEach(k=&gt;{const S=j[k],N=`xl/theme/${k}.xml`;L.append(S,{name:N})})}async addOfficeRels(L){const E=new v().toXml([{Id:&quot;rId1&quot;,Type:K.RelType.OfficeDocument,Target:&quot;xl/workbook.xml&quot;},{Id:&quot;rId2&quot;,Type:K.RelType.CoreProperties,Target:&quot;docProps/core.xml&quot;},{Id:&quot;rId3&quot;,Type:K.RelType.ExtenderProperties,Target:&quot;docProps/app.xml&quot;}]);L.append(E,{name:&quot;_rels/.rels&quot;})}async addWorkbookRels(L,E){let j=1;const k=[{Id:&quot;rId&quot;+j++,Type:K.RelType.Styles,Target:&quot;styles.xml&quot;},{Id:&quot;rId&quot;+j++,Type:K.RelType.Theme,Target:&quot;theme/theme1.xml&quot;}];E.sharedStrings.count&amp;&amp;k.push({Id:&quot;rId&quot;+j++,Type:K.RelType.SharedStrings,Target:&quot;sharedStrings.xml&quot;}),E.worksheets.forEach(N=&gt;{N.rId=&quot;rId&quot;+j++,k.push({Id:N.rId,Type:K.RelType.Worksheet,Target:`worksheets/sheet${N.id}.xml`})});const S=new v().toXml(k);L.append(S,{name:&quot;xl/_rels/workbook.xml.rels&quot;})}async addSharedStrings(L,E){E.sharedStrings&amp;&amp;E.sharedStrings.count&amp;&amp;L.append(E.sharedStrings.xml,{name:&quot;xl/sharedStrings.xml&quot;})}async addStyles(L,E){const{xml:j}=E.styles;j&amp;&amp;L.append(j,{name:&quot;xl/styles.xml&quot;})}async addWorkbook(L,E){const j=new M;L.append(j.toXml(E),{name:&quot;xl/workbook.xml&quot;})}async addWorksheets(L,E){const j=new T,k=new v,S=new H,N=new W;E.worksheets.forEach(O=&gt;{let D=new m;j.render(D,O),L.append(D.xml,{name:`xl/worksheets/sheet${O.id}.xml`}),O.rels&amp;&amp;O.rels.length&amp;&amp;(D=new m,k.render(D,O.rels),L.append(D.xml,{name:`xl/worksheets/_rels/sheet${O.id}.xml.rels`})),O.comments.length&gt;0&amp;&amp;(D=new m,S.render(D,O),L.append(D.xml,{name:`xl/comments${O.id}.xml`}),D=new m,N.render(D,O),L.append(D.xml,{name:`xl/drawings/vmlDrawing${O.id}.vml`}))})}_finalize(L){return new Promise((E,j)=&gt;{L.on(&quot;finish&quot;,()=&gt;{E(this)}),L.on(&quot;error&quot;,j),L.finalize()})}prepareModel(L,E){L.creator=L.creator||&quot;ExcelJS&quot;,L.lastModifiedBy=L.lastModifiedBy||&quot;ExcelJS&quot;,L.created=L.created||new Date,L.modified=L.modified||new Date,L.useSharedStrings=E.useSharedStrings===void 0||E.useSharedStrings,L.useStyles=E.useStyles===void 0||E.useStyles,L.sharedStrings=new y,L.styles=L.useStyles?new x(!0):new x.Mock;const j=new M,k=new T;j.prepare(L);const S={sharedStrings:L.sharedStrings,styles:L.styles,date1904:L.properties.date1904,drawingsCount:0,media:L.media};S.drawings=L.drawings=[],S.commentRefs=L.commentRefs=[];let N=0;L.tables=[],L.worksheets.forEach(O=&gt;{O.tables.forEach(D=&gt;{N++,D.target=`table${N}.xml`,D.id=N,L.tables.push(D)}),k.prepare(O,S)})}async write(L,E){E=E||{};const{model:j}=this.workbook,k=new d.ZipWriter(E.zip);return k.pipe(L),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(L,E){const j=u.createWriteStream(L);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(L){const E=new f;return await this.write(E,L),E.read()}}K.RelType=t(&quot;./rel-type&quot;),n.exports=K}).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,l){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,l){(function(i){(function(){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.CsvFormatterStream=void 0;const o=t(&quot;stream&quot;),u=t(&quot;./formatter&quot;);class c extends o.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,x)=&gt;p?(m=!0,h(p)):(x&amp;&amp;x.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()))}}l.CsvFormatterStream=c}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;./formatter&quot;:150,buffer:220,stream:505}],147:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.FormatterOptions=void 0,l.FormatterOptions=class{constructor(){let i=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:{};var o;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;((o=i.writeHeaders)===null||o===void 0||o),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}},{}],148:[function(t,n,l){var i=function(a){return a&amp;&amp;a.__esModule?a:{default:a}};Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.FieldFormatter=void 0;const o=i(t(&quot;lodash.isboolean&quot;)),u=i(t(&quot;lodash.isnil&quot;)),c=i(t(&quot;lodash.escaperegexp&quot;));l.FieldFormatter=class{constructor(a){this._headers=null,this.formatterOptions=a,a.headers!==null&amp;&amp;(this.headers=a.headers),this.REPLACE_REGEXP=new RegExp(a.quote,&quot;g&quot;);const d=`[${a.delimiter}${c.default(a.rowDelimiter)}|\r|
]`;this.ESCAPE_REGEXP=new RegExp(d)}set headers(a){this._headers=a}shouldQuote(a,d){const f=d?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return o.default(f)?f:Array.isArray(f)?f[a]:this._headers!==null&amp;&amp;f[this._headers[a]]}format(a,d,f){const h=(&quot;&quot;+(u.default(a)?&quot;&quot;:a)).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(a){const{quote:d}=this.formatterOptions;return`${d}${a}${d}`}}},{&quot;lodash.escaperegexp&quot;:442,&quot;lodash.isboolean&quot;:444,&quot;lodash.isnil&quot;:447}],149:[function(t,n,l){var i=function(f){return f&amp;&amp;f.__esModule?f:{default:f}};Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.RowFormatter=void 0;const o=i(t(&quot;lodash.isfunction&quot;)),u=i(t(&quot;lodash.isequal&quot;)),c=t(&quot;./FieldFormatter&quot;),a=t(&quot;../types&quot;);class d{constructor(h){this.rowCount=0,this.formatterOptions=h,this.fieldFormatter=new c.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 a.isSyncTransform(h)?(m,p)=&gt;{let x=null;try{x=h(m)}catch(g){return p(g)}return p(null,x)}:(m,p)=&gt;{h(m,p)}}set rowTransform(h){if(!o.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,x)=&gt;{if(p)return m(p);if(!h)return m(null);const g=[];if(x){const{shouldFormatColumns:y,headers:v}=this.checkHeaders(x);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(x);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 x=h[p];return x?x[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:x}=this;return this.rowCount+=1,x?[this.formatterOptions.rowDelimiter,p].join(&quot;&quot;):p}}l.RowFormatter=d},{&quot;../types&quot;:152,&quot;./FieldFormatter&quot;:148,&quot;lodash.isequal&quot;:445,&quot;lodash.isfunction&quot;:446}],150:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.FieldFormatter=l.RowFormatter=void 0;var i=t(&quot;./RowFormatter&quot;);Object.defineProperty(l,&quot;RowFormatter&quot;,{enumerable:!0,get:function(){return i.RowFormatter}});var o=t(&quot;./FieldFormatter&quot;);Object.defineProperty(l,&quot;FieldFormatter&quot;,{enumerable:!0,get:function(){return o.FieldFormatter}})},{&quot;./FieldFormatter&quot;:148,&quot;./RowFormatter&quot;:149}],151:[function(t,n,l){(function(i){(function(){var o=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},c=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;o(v,y,_);return u(v,y),v},a=function(y,v){for(var _ in y)_===&quot;default&quot;||Object.prototype.hasOwnProperty.call(v,_)||o(v,y,_)};Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.writeToPath=l.writeToString=l.writeToBuffer=l.writeToStream=l.write=l.format=l.FormatterOptions=l.CsvFormatterStream=void 0;const d=t(&quot;util&quot;),f=t(&quot;stream&quot;),h=c(t(&quot;fs&quot;)),m=t(&quot;./FormatterOptions&quot;),p=t(&quot;./CsvFormatterStream&quot;);a(t(&quot;./types&quot;),l);var x=t(&quot;./CsvFormatterStream&quot;);Object.defineProperty(l,&quot;CsvFormatterStream&quot;,{enumerable:!0,get:function(){return x.CsvFormatterStream}});var g=t(&quot;./FormatterOptions&quot;);Object.defineProperty(l,&quot;FormatterOptions&quot;,{enumerable:!0,get:function(){return g.FormatterOptions}}),l.format=y=&gt;new p.CsvFormatterStream(new m.FormatterOptions(y)),l.write=(y,v)=&gt;{const _=l.format(v),C=d.promisify((M,T)=&gt;{_.write(M,void 0,T)});return y.reduce((M,T)=&gt;M.then(()=&gt;C(T)),Promise.resolve()).then(()=&gt;_.end()).catch(M=&gt;{_.emit(&quot;error&quot;,M)}),_},l.writeToStream=(y,v,_)=&gt;l.write(v,_).pipe(y),l.writeToBuffer=function(y){let v=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};const _=[],C=new f.Writable({write(M,T,$){_.push(M),$()}});return new Promise((M,T)=&gt;{C.on(&quot;error&quot;,T).on(&quot;finish&quot;,()=&gt;M(i.concat(_))),l.write(y,v).pipe(C)})},l.writeToString=(y,v)=&gt;l.writeToBuffer(y,v).then(_=&gt;_.toString()),l.writeToPath=(y,v,_)=&gt;{const C=h.createWriteStream(y,{encoding:&quot;utf8&quot;});return l.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,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.isSyncTransform=void 0,l.isSyncTransform=i=&gt;i.length===1},{}],153:[function(t,n,l){(function(i){(function(){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.CsvParserStream=void 0;const o=t(&quot;string_decoder&quot;),u=t(&quot;stream&quot;),c=t(&quot;./transforms&quot;),a=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 a.Parser(h),this.headerTransformer=new c.HeaderTransformer(h),this.decoder=new o.StringDecoder(h.encoding),this.rowTransformerValidator=new c.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),x=1;x&lt;m;x++)p[x-1]=arguments[x];return super.emit(h,...p)}_transform(h,m,p){if(this.hasHitRowLimit)return p();const x=d.wrapDoneCallback(p);try{const{lines:g}=this,y=g+this.decoder.write(h),v=this.parse(y,!0);return this.processRows(v,x)}catch(g){return x(g)}}_flush(h){const m=d.wrapDoneCallback(h);if(this.hasHitRowLimit)return m();try{const p=this.lines+this.decoder.end(),x=this.parse(p,!1);return this.processRows(x,m)}catch(p){return m(p)}}parse(h,m){if(!h)return[];const{line:p,rows:x}=this.parser.parse(h,m);return this.lines=p,x}processRows(h,m){const p=h.length,x=g=&gt;{const y=C=&gt;C?m(C):g%100!=0?x(g+1):void i(()=&gt;x(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,M)=&gt;{if(C)return this.rowCount-=1,y(C);if(!M)return y(new Error(&quot;expected transform result&quot;));if(M.isValid){if(M.row)return this.pushRow(M.row,y)}else this.emit(&quot;data-invalid&quot;,M.row,_,M.reason);return y()})};x(0)}transformRow(h,m){try{this.headerTransformer.transform(h,(p,x)=&gt;p?m(p):x?x.isValid?x.row?this.shouldEmitRows?this.rowTransformerValidator.transformAndValidate(x.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 x=arguments.length,g=new Array(x&gt;1?x-1:0),y=1;y&lt;x;y++)g[y-1]=arguments[y];h(...g)}}}l.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,l){var i=function(c){return c&amp;&amp;c.__esModule?c:{default:c}};Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.ParserOptions=void 0;const o=i(t(&quot;lodash.escaperegexp&quot;)),u=i(t(&quot;lodash.isnil&quot;));l.ParserOptions=class{constructor(c){var a;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,c||{}),this.delimiter.length&gt;1)throw new Error(&quot;delimiter option must be one character long&quot;);this.escapedDelimiter=o.default(this.delimiter),this.escapeChar=(a=this.escape)!==null&amp;&amp;a!==void 0?a: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,l){var i=Object.create?function(x,g,y,v){v===void 0&amp;&amp;(v=y),Object.defineProperty(x,v,{enumerable:!0,get:function(){return g[y]}})}:function(x,g,y,v){v===void 0&amp;&amp;(v=y),x[v]=g[y]},o=Object.create?function(x,g){Object.defineProperty(x,&quot;default&quot;,{enumerable:!0,value:g})}:function(x,g){x.default=g},u=function(x){if(x&amp;&amp;x.__esModule)return x;var g={};if(x!=null)for(var y in x)y!==&quot;default&quot;&amp;&amp;Object.prototype.hasOwnProperty.call(x,y)&amp;&amp;i(g,x,y);return o(g,x),g},c=function(x,g){for(var y in x)y===&quot;default&quot;||Object.prototype.hasOwnProperty.call(g,y)||i(g,x,y)};Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.parseString=l.parseFile=l.parseStream=l.parse=l.ParserOptions=l.CsvParserStream=void 0;const a=u(t(&quot;fs&quot;)),d=t(&quot;stream&quot;),f=t(&quot;./ParserOptions&quot;),h=t(&quot;./CsvParserStream&quot;);c(t(&quot;./types&quot;),l);var m=t(&quot;./CsvParserStream&quot;);Object.defineProperty(l,&quot;CsvParserStream&quot;,{enumerable:!0,get:function(){return m.CsvParserStream}});var p=t(&quot;./ParserOptions&quot;);Object.defineProperty(l,&quot;ParserOptions&quot;,{enumerable:!0,get:function(){return p.ParserOptions}}),l.parse=x=&gt;new h.CsvParserStream(new f.ParserOptions(x)),l.parseStream=(x,g)=&gt;x.pipe(new h.CsvParserStream(new f.ParserOptions(g))),l.parseFile=function(x){let g=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};return a.createReadStream(x).pipe(new h.CsvParserStream(new f.ParserOptions(g)))},l.parseString=(x,g)=&gt;{const y=new d.Readable;return y.push(x),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,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.Parser=void 0;const i=t(&quot;./Scanner&quot;),o=t(&quot;./RowParser&quot;),u=t(&quot;./Token&quot;);class c{constructor(d){this.parserOptions=d,this.rowParser=new o.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:c.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;o.RowParser.isEmptyRow(h)||f.push(h),!0)}}l.Parser=c},{&quot;./RowParser&quot;:157,&quot;./Scanner&quot;:158,&quot;./Token&quot;:159}],157:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.RowParser=void 0;const i=t(&quot;./column&quot;),o=t(&quot;./Token&quot;);l.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:c}=this,{hasMoreData:a}=u,d=u,f=[];let h=this.getStartToken(d,f);for(;h;){if(o.Token.isTokenRowDelimiter(h))return d.advancePastToken(h),!d.hasMoreCharacters&amp;&amp;o.Token.isTokenCarriageReturn(h,c)&amp;&amp;a?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 a?null:(d.truncateToCursor(),f)}getStartToken(u,c){const a=u.nextNonSpaceToken;return a!==null&amp;&amp;o.Token.isTokenDelimiter(a,this.parserOptions)?(c.push(&quot;&quot;),u.nextNonSpaceToken):a}shouldSkipColumnParse(u,c,a){const{parserOptions:d}=this;if(o.Token.isTokenDelimiter(c,d)){u.advancePastToken(c);const f=u.nextCharacterToken;if(!u.hasMoreCharacters||f!==null&amp;&amp;o.Token.isTokenRowDelimiter(f)||f!==null&amp;&amp;o.Token.isTokenDelimiter(f,d))return a.push(&quot;&quot;),!0}return!1}}},{&quot;./Token&quot;:159,&quot;./column&quot;:164}],158:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.Scanner=void 0;const i=t(&quot;./Token&quot;),o=/((?:\r\n)|\n|\r)/;l.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,c=this.parserOptions.NEXT_TOKEN_REGEXP;if(u.search(c)===-1)return null;const a=c.exec(u);if(a==null)return null;const d=a[1],f=this.cursor+(a.index||0);return new i.Token({token:d,startCursor:f,endCursor:f+d.length-1})}get nextCharacterToken(){const{cursor:u,lineLength:c}=this;return c&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=o.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,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.Token=void 0,l.Token=class{constructor(i){this.token=i.token,this.startCursor=i.startCursor,this.endCursor=i.endCursor}static isTokenRowDelimiter(i){const o=i.token;return o===&quot;\r&quot;||o===`
`||o===`\r
`}static isTokenCarriageReturn(i,o){return i.token===o.carriageReturn}static isTokenComment(i,o){return o.supportsComments&amp;&amp;!!i&amp;&amp;i.token===o.comment}static isTokenEscapeCharacter(i,o){return i.token===o.escapeChar}static isTokenQuote(i,o){return i.token===o.quote}static isTokenDelimiter(i,o){return i.token===o.delimiter}}},{}],160:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.ColumnFormatter=void 0,l.ColumnFormatter=class{constructor(i){i.trim?this.format=o=&gt;o.trim():i.ltrim?this.format=o=&gt;o.trimLeft():i.rtrim?this.format=o=&gt;o.trimRight():this.format=o=&gt;o}}},{}],161:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.ColumnParser=void 0;const i=t(&quot;./NonQuotedColumnParser&quot;),o=t(&quot;./QuotedColumnParser&quot;),u=t(&quot;../Token&quot;);l.ColumnParser=class{constructor(c){this.parserOptions=c,this.quotedColumnParser=new o.QuotedColumnParser(c),this.nonQuotedColumnParser=new i.NonQuotedColumnParser(c)}parse(c){const{nextNonSpaceToken:a}=c;return a!==null&amp;&amp;u.Token.isTokenQuote(a,this.parserOptions)?(c.advanceToToken(a),this.quotedColumnParser.parse(c)):this.nonQuotedColumnParser.parse(c)}}},{&quot;../Token&quot;:159,&quot;./NonQuotedColumnParser&quot;:162,&quot;./QuotedColumnParser&quot;:163}],162:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.NonQuotedColumnParser=void 0;const i=t(&quot;./ColumnFormatter&quot;),o=t(&quot;../Token&quot;);l.NonQuotedColumnParser=class{constructor(u){this.parserOptions=u,this.columnFormatter=new i.ColumnFormatter(u)}parse(u){if(!u.hasMoreCharacters)return null;const{parserOptions:c}=this,a=[];let d=u.nextCharacterToken;for(;d&amp;&amp;!o.Token.isTokenDelimiter(d,c)&amp;&amp;!o.Token.isTokenRowDelimiter(d);d=u.nextCharacterToken)a.push(d.token),u.advancePastToken(d);return this.columnFormatter.format(a.join(&quot;&quot;))}}},{&quot;../Token&quot;:159,&quot;./ColumnFormatter&quot;:160}],163:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.QuotedColumnParser=void 0;const i=t(&quot;./ColumnFormatter&quot;),o=t(&quot;../Token&quot;);l.QuotedColumnParser=class{constructor(u){this.parserOptions=u,this.columnFormatter=new i.ColumnFormatter(u)}parse(u){if(!u.hasMoreCharacters)return null;const c=u.cursor,{foundClosingQuote:a,col:d}=this.gatherDataBetweenQuotes(u);if(!a){if(u.advanceTo(c),!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:c}=this;let a=!1,d=!1;const f=[];let h=u.nextCharacterToken;for(;!d&amp;&amp;h!==null;h=u.nextCharacterToken){const m=o.Token.isTokenQuote(h,c);if(!a&amp;&amp;m)a=!0;else if(a)if(o.Token.isTokenEscapeCharacter(h,c)){u.advancePastToken(h);const p=u.nextCharacterToken;p!==null&amp;&amp;(o.Token.isTokenQuote(p,c)||o.Token.isTokenEscapeCharacter(p,c))?(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:c}=this,{nextNonSpaceToken:a}=u;if(a){const d=o.Token.isTokenDelimiter(a,c),f=o.Token.isTokenRowDelimiter(a);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;${c.escapedDelimiter}&#039; OR new line got: &#039;${a.token}&#039;. at &#039;${h}`)}u.advanceToToken(a)}else u.hasMoreData||u.advancePastLine()}}},{&quot;../Token&quot;:159,&quot;./ColumnFormatter&quot;:160}],164:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.ColumnFormatter=l.QuotedColumnParser=l.NonQuotedColumnParser=l.ColumnParser=void 0;var i=t(&quot;./ColumnParser&quot;);Object.defineProperty(l,&quot;ColumnParser&quot;,{enumerable:!0,get:function(){return i.ColumnParser}});var o=t(&quot;./NonQuotedColumnParser&quot;);Object.defineProperty(l,&quot;NonQuotedColumnParser&quot;,{enumerable:!0,get:function(){return o.NonQuotedColumnParser}});var u=t(&quot;./QuotedColumnParser&quot;);Object.defineProperty(l,&quot;QuotedColumnParser&quot;,{enumerable:!0,get:function(){return u.QuotedColumnParser}});var c=t(&quot;./ColumnFormatter&quot;);Object.defineProperty(l,&quot;ColumnFormatter&quot;,{enumerable:!0,get:function(){return c.ColumnFormatter}})},{&quot;./ColumnFormatter&quot;:160,&quot;./ColumnParser&quot;:161,&quot;./NonQuotedColumnParser&quot;:162,&quot;./QuotedColumnParser&quot;:163}],165:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.QuotedColumnParser=l.NonQuotedColumnParser=l.ColumnParser=l.Token=l.Scanner=l.RowParser=l.Parser=void 0;var i=t(&quot;./Parser&quot;);Object.defineProperty(l,&quot;Parser&quot;,{enumerable:!0,get:function(){return i.Parser}});var o=t(&quot;./RowParser&quot;);Object.defineProperty(l,&quot;RowParser&quot;,{enumerable:!0,get:function(){return o.RowParser}});var u=t(&quot;./Scanner&quot;);Object.defineProperty(l,&quot;Scanner&quot;,{enumerable:!0,get:function(){return u.Scanner}});var c=t(&quot;./Token&quot;);Object.defineProperty(l,&quot;Token&quot;,{enumerable:!0,get:function(){return c.Token}});var a=t(&quot;./column&quot;);Object.defineProperty(l,&quot;ColumnParser&quot;,{enumerable:!0,get:function(){return a.ColumnParser}}),Object.defineProperty(l,&quot;NonQuotedColumnParser&quot;,{enumerable:!0,get:function(){return a.NonQuotedColumnParser}}),Object.defineProperty(l,&quot;QuotedColumnParser&quot;,{enumerable:!0,get:function(){return a.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,l){var i=function(d){return d&amp;&amp;d.__esModule?d:{default:d}};Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.HeaderTransformer=void 0;const o=i(t(&quot;lodash.isundefined&quot;)),u=i(t(&quot;lodash.isfunction&quot;)),c=i(t(&quot;lodash.uniq&quot;)),a=i(t(&quot;lodash.groupby&quot;));l.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 x=h[p];if(!o.default(x)){const g=d[p];o.default(g)?f[x]=&quot;&quot;:f[x]=g}}return f}setHeaders(d){var f;const h=d.filter(m=&gt;!!m);if(c.default(h).length!==h.length){const m=a.default(h),p=Object.keys(m).filter(x=&gt;m[x].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,l){var i=function(a){return a&amp;&amp;a.__esModule?a:{default:a}};Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.RowTransformerValidator=void 0;const o=i(t(&quot;lodash.isfunction&quot;)),u=t(&quot;../types&quot;);class c{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,x)=&gt;m?h(m):h(null,p?{row:f,isValid:p,reason:x}:{row:f,isValid:!1,reason:x}))}}set rowTransform(d){if(!o.default(d))throw new TypeError(&quot;The transform should be a function&quot;);this._rowTransform=c.createTransform(d)}set rowValidator(d){if(!o.default(d))throw new TypeError(&quot;The validate should be a function&quot;);this._rowValidator=c.createValidator(d)}transformAndValidate(d,f){return this.callTransformer(d,(h,m)=&gt;h?f(h):m?this.callValidator(m,(p,x)=&gt;p?f(p):x&amp;&amp;!x.isValid?f(null,{row:m,isValid:!1,reason:x.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})}}l.RowTransformerValidator=c},{&quot;../types&quot;:169,&quot;lodash.isfunction&quot;:446}],168:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.HeaderTransformer=l.RowTransformerValidator=void 0;var i=t(&quot;./RowTransformerValidator&quot;);Object.defineProperty(l,&quot;RowTransformerValidator&quot;,{enumerable:!0,get:function(){return i.RowTransformerValidator}});var o=t(&quot;./HeaderTransformer&quot;);Object.defineProperty(l,&quot;HeaderTransformer&quot;,{enumerable:!0,get:function(){return o.HeaderTransformer}})},{&quot;./HeaderTransformer&quot;:166,&quot;./RowTransformerValidator&quot;:167}],169:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.isSyncValidate=l.isSyncTransform=void 0,l.isSyncTransform=i=&gt;i.length===1,l.isSyncValidate=i=&gt;i.length===1},{}],170:[function(t,n,l){const i=l;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,l){const i=t(&quot;./encoders&quot;),o=t(&quot;./decoders&quot;),u=t(&quot;inherits&quot;);function c(a,d){this.name=a,this.body=d,this.decoders={},this.encoders={}}l.define=function(a,d){return new c(a,d)},c.prototype._createNamed=function(a){const d=this.name;function f(h){this._initNamed(h,d)}return u(f,a),f.prototype._initNamed=function(h,m){a.call(this,h,m)},new f(this)},c.prototype._getDecoder=function(a){return a=a||&quot;der&quot;,this.decoders.hasOwnProperty(a)||(this.decoders[a]=this._createNamed(o[a])),this.decoders[a]},c.prototype.decode=function(a,d,f){return this._getDecoder(d).decode(a,f)},c.prototype._getEncoder=function(a){return a=a||&quot;der&quot;,this.encoders.hasOwnProperty(a)||(this.encoders[a]=this._createNamed(i[a])),this.encoders[a]},c.prototype.encode=function(a,d,f){return this._getEncoder(d).encode(a,f)}},{&quot;./decoders&quot;:179,&quot;./encoders&quot;:182,inherits:440}],172:[function(t,n,l){const i=t(&quot;inherits&quot;),o=t(&quot;../base/reporter&quot;).Reporter,u=t(&quot;safer-buffer&quot;).Buffer;function c(d,f){o.call(this,f),u.isBuffer(d)?(this.base=d,this.offset=0,this.length=d.length):this.error(&quot;Input not Buffer&quot;)}function a(d,f){if(Array.isArray(d))this.length=0,this.value=d.map((function(h){return a.isEncoderBuffer(h)||(h=new a(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(c,o),l.DecoderBuffer=c,c.isDecoderBuffer=function(d){return d instanceof c?!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;},c.prototype.save=function(){return{offset:this.offset,reporter:o.prototype.save.call(this)}},c.prototype.restore=function(d){const f=new c(this.base);return f.offset=d.offset,f.length=this.offset,this.offset=d.offset,o.prototype.restore.call(this,d.reporter),f},c.prototype.isEmpty=function(){return this.offset===this.length},c.prototype.readUInt8=function(d){return this.offset+1&lt;=this.length?this.base.readUInt8(this.offset++,!0):this.error(d||&quot;DecoderBuffer overrun&quot;)},c.prototype.skip=function(d,f){if(!(this.offset+d&lt;=this.length))return this.error(f||&quot;DecoderBuffer overrun&quot;);const h=new c(this.base);return h._reporterState=this._reporterState,h.offset=this.offset,h.length=this.offset+d,this.offset+=d,h},c.prototype.raw=function(d){return this.base.slice(d?d.offset:this.offset,this.length)},l.EncoderBuffer=a,a.isEncoderBuffer=function(d){return d instanceof a?!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;},a.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,l){const i=l;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,l){const i=t(&quot;../base/reporter&quot;).Reporter,o=t(&quot;../base/buffer&quot;).EncoderBuffer,u=t(&quot;../base/buffer&quot;).DecoderBuffer,c=t(&quot;minimalistic-assert&quot;),a=[&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(a);function f(m,p,x){const g={};this._baseState=g,g.name=x,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 x=new this.constructor(p.parent);return x._baseState=p,x},f.prototype._wrap=function(){const m=this._baseState;d.forEach((function(p){this[p]=function(){const x=new this.constructor(this);return m.children.push(x),x[p].apply(x,arguments)}}),this)},f.prototype._init=function(m){const p=this._baseState;c(p.parent===null),m.call(this),p.children=p.children.filter((function(x){return x._baseState.parent===this}),this),c.equal(p.children.length,1,&quot;Root node can have only one child&quot;)},f.prototype._useArgs=function(m){const p=this._baseState,x=m.filter((function(g){return g instanceof this.constructor}),this);m=m.filter((function(g){return!(g instanceof this.constructor)}),this),x.length!==0&amp;&amp;(c(p.children===null),p.children=x,x.forEach((function(g){g._baseState.parent=this}),this)),m.length!==0&amp;&amp;(c(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)}})),a.forEach((function(m){f.prototype[m]=function(){const p=this._baseState,x=Array.prototype.slice.call(arguments);return c(p.tag===null),p.tag=m,this._useArgs(x),this}})),f.prototype.use=function(m){c(m);const p=this._baseState;return c(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 c(p.default===null),p.default=m,p.optional=!0,this},f.prototype.explicit=function(m){const p=this._baseState;return c(p.explicit===null&amp;&amp;p.implicit===null),p.explicit=m,this},f.prototype.implicit=function(m){const p=this._baseState;return c(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 c(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 c(p.choice===null),p.choice=m,this._useArgs(Object.keys(m).map((function(x){return m[x]}))),this},f.prototype.contains=function(m){const p=this._baseState;return c(p.use===null),p.contains=m,this},f.prototype._decode=function(m,p){const x=this._baseState;if(x.parent===null)return m.wrapResult(x.children[0]._decode(m,p));let g,y=x.default,v=!0,_=null;if(x.key!==null&amp;&amp;(_=m.enterKey(x.key)),x.optional){let C=null;if(x.explicit!==null?C=x.explicit:x.implicit!==null?C=x.implicit:x.tag!==null&amp;&amp;(C=x.tag),C!==null||x.any){if(v=this._peekTag(m,C,x.any),m.isError(v))return v}else{const M=m.save();try{x.choice===null?this._decodeGeneric(x.tag,m,p):this._decodeChoice(m,p),v=!0}catch{v=!1}m.restore(M)}}if(x.obj&amp;&amp;v&amp;&amp;(g=m.enterObject()),v){if(x.explicit!==null){const M=this._decodeTag(m,x.explicit);if(m.isError(M))return M;m=M}const C=m.offset;if(x.use===null&amp;&amp;x.choice===null){let M;x.any&amp;&amp;(M=m.save());const T=this._decodeTag(m,x.implicit!==null?x.implicit:x.tag,x.any);if(m.isError(T))return T;x.any?y=m.raw(M):m=T}if(p&amp;&amp;p.track&amp;&amp;x.tag!==null&amp;&amp;p.track(m.path(),C,m.length,&quot;tagged&quot;),p&amp;&amp;p.track&amp;&amp;x.tag!==null&amp;&amp;p.track(m.path(),m.offset,m.length,&quot;content&quot;),x.any||(y=x.choice===null?this._decodeGeneric(x.tag,m,p):this._decodeChoice(m,p)),m.isError(y))return y;if(x.any||x.choice!==null||x.children===null||x.children.forEach((function(M){M._decode(m,p)})),x.contains&amp;&amp;(x.tag===&quot;octstr&quot;||x.tag===&quot;bitstr&quot;)){const M=new u(y);y=this._getUse(x.contains,m._reporterState.obj)._decode(M,p)}}return x.obj&amp;&amp;v&amp;&amp;(y=m.leaveObject(g)),x.key===null||y===null&amp;&amp;v!==!0?_!==null&amp;&amp;m.exitKey(_):m.leaveKey(_,x.key,y),y},f.prototype._decodeGeneric=function(m,p,x){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],x):/str$/.test(m)?this._decodeStr(p,m,x):m===&quot;objid&quot;&amp;&amp;g.args?this._decodeObjid(p,g.args[0],g.args[1],x):m===&quot;objid&quot;?this._decodeObjid(p,null,null,x):m===&quot;gentime&quot;||m===&quot;utctime&quot;?this._decodeTime(p,m,x):m===&quot;null_&quot;?this._decodeNull(p,x):m===&quot;bool&quot;?this._decodeBool(p,x):m===&quot;objDesc&quot;?this._decodeStr(p,m,x):m===&quot;int&quot;||m===&quot;enum&quot;?this._decodeInt(p,g.args&amp;&amp;g.args[0],x):g.use!==null?this._getUse(g.use,p._reporterState.obj)._decode(p,x):p.error(&quot;unknown tag: &quot;+m)},f.prototype._getUse=function(m,p){const x=this._baseState;return x.useDecoder=this._use(m,p),c(x.useDecoder._baseState.parent===null),x.useDecoder=x.useDecoder._baseState.children[0],x.implicit!==x.useDecoder._baseState.implicit&amp;&amp;(x.useDecoder=x.useDecoder.clone(),x.useDecoder._baseState.implicit=x.implicit),x.useDecoder},f.prototype._decodeChoice=function(m,p){const x=this._baseState;let g=null,y=!1;return Object.keys(x.choice).some((function(v){const _=m.save(),C=x.choice[v];try{const M=C._decode(m,p);if(m.isError(M))return!1;g={type:v,value:M},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 o(m,this.reporter)},f.prototype._encode=function(m,p,x){const g=this._baseState;if(g.default!==null&amp;&amp;g.default===m)return;const y=this._encodeValue(m,p,x);return y===void 0||this._skipDefault(y,p,x)?void 0:y},f.prototype._encodeValue=function(m,p,x){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,x)._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 M=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(M),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(M){const T=this._baseState;return this._getUse(T.args[0],m)._encode(M,p)}),C))}else g.use!==null?y=this._getUse(g.use,x)._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,M=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,_,M,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 x=this._baseState,g=x.choice[m.type];return g||c(!1,m.type+&quot; not found in &quot;+JSON.stringify(Object.keys(x.choice))),g._encode(m.value,p)},f.prototype._encodePrimitive=function(m,p){const x=this._baseState;if(/str$/.test(m))return this._encodeStr(p,m);if(m===&quot;objid&quot;&amp;&amp;x.args)return this._encodeObjid(p,x.reverseArgs[0],x.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,x.args&amp;&amp;x.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,l){const i=t(&quot;inherits&quot;);function o(c){this._reporterState={obj:null,path:[],options:c||{},errors:[]}}function u(c,a){this.path=c,this.rethrow(a)}l.Reporter=o,o.prototype.isError=function(c){return c instanceof u},o.prototype.save=function(){const c=this._reporterState;return{obj:c.obj,pathLen:c.path.length}},o.prototype.restore=function(c){const a=this._reporterState;a.obj=c.obj,a.path=a.path.slice(0,c.pathLen)},o.prototype.enterKey=function(c){return this._reporterState.path.push(c)},o.prototype.exitKey=function(c){const a=this._reporterState;a.path=a.path.slice(0,c-1)},o.prototype.leaveKey=function(c,a,d){const f=this._reporterState;this.exitKey(c),f.obj!==null&amp;&amp;(f.obj[a]=d)},o.prototype.path=function(){return this._reporterState.path.join(&quot;/&quot;)},o.prototype.enterObject=function(){const c=this._reporterState,a=c.obj;return c.obj={},a},o.prototype.leaveObject=function(c){const a=this._reporterState,d=a.obj;return a.obj=c,d},o.prototype.error=function(c){let a;const d=this._reporterState,f=c instanceof u;if(a=f?c:new u(d.path.map((function(h){return&quot;[&quot;+JSON.stringify(h)+&quot;]&quot;})).join(&quot;&quot;),c.message||c,c.stack),!d.options.partial)throw a;return f||d.errors.push(a),a},o.prototype.wrapResult=function(c){const a=this._reporterState;return a.options.partial?{result:this.isError(c)?null:c,errors:a.errors}:c},i(u,Error),u.prototype.rethrow=function(c){if(this.message=c+&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(a){this.stack=a.stack}return this}},{inherits:440}],176:[function(t,n,l){function i(o){const u={};return Object.keys(o).forEach((function(c){(0|c)==c&amp;&amp;(c|=0);const a=o[c];u[a]=c})),u}l.tagClass={0:&quot;universal&quot;,1:&quot;application&quot;,2:&quot;context&quot;,3:&quot;private&quot;},l.tagClassByName=i(l.tagClass),l.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;},l.tagByName=i(l.tag)},{}],177:[function(t,n,l){const i=l;i._reverse=function(o){const u={};return Object.keys(o).forEach((function(c){(0|c)==c&amp;&amp;(c|=0);const a=o[c];u[a]=c})),u},i.der=t(&quot;./der&quot;)},{&quot;./der&quot;:176}],178:[function(t,n,l){const i=t(&quot;inherits&quot;),o=t(&quot;bn.js&quot;),u=t(&quot;../base/buffer&quot;).DecoderBuffer,c=t(&quot;../base/node&quot;),a=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){c.call(this,&quot;der&quot;,p)}function h(p,x){let g=p.readUInt8(x);if(p.isError(g))return g;const y=a.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(x),p.isError(_))return _;g&lt;&lt;=7,g|=127&amp;_}}else g&amp;=31;return{cls:y,primitive:v,tag:g,tagStr:a.tag[g]}}function m(p,x,g){let y=p.readUInt8(g);if(p.isError(y))return y;if(!x&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,x){return u.isDecoderBuffer(p)||(p=new u(p,x)),this.tree._decode(p,x)},i(f,c),f.prototype._peekTag=function(p,x,g){if(p.isEmpty())return!1;const y=p.save(),v=h(p,&#039;Failed to peek tag: &quot;&#039;+x+&#039;&quot;&#039;);return p.isError(v)?v:(p.restore(y),v.tag===x||v.tagStr===x||v.tagStr+&quot;of&quot;===x||g)},f.prototype._decodeTag=function(p,x,g){const y=h(p,&#039;Failed to decode tag of &quot;&#039;+x+&#039;&quot;&#039;);if(p.isError(y))return y;let v=m(p,y.primitive,&#039;Failed to get length of &quot;&#039;+x+&#039;&quot;&#039;);if(p.isError(v))return v;if(!g&amp;&amp;y.tag!==x&amp;&amp;y.tagStr!==x&amp;&amp;y.tagStr+&quot;of&quot;!==x)return p.error(&#039;Failed to match tag: &quot;&#039;+x+&#039;&quot;&#039;);if(y.primitive||v!==null)return p.skip(v,&#039;Failed to match body of: &quot;&#039;+x+&#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;+x+&#039;&quot;&#039;))},f.prototype._skipUntilEnd=function(p,x){for(;;){const g=h(p,x);if(p.isError(g))return g;const y=m(p,g.primitive,x);if(p.isError(y))return y;let v;if(v=g.primitive||y!==null?p.skip(y):this._skipUntilEnd(p,x),p.isError(v))return v;if(g.tagStr===&quot;end&quot;)break}},f.prototype._decodeList=function(p,x,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,x){if(x===&quot;bitstr&quot;){const g=p.readUInt8();return p.isError(g)?g:{unused:g,data:p.raw()}}if(x===&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(x===&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(x===&quot;octstr&quot;||x===&quot;objDesc&quot;)return p.raw();if(x===&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(x)?p.raw().toString():p.error(&quot;Decoding of string type: &quot;+x+&quot; unsupported&quot;)},f.prototype._decodeObjid=function(p,x,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 M=v[0]/40|0,T=v[0]%40;if(y=g?v:[M,T].concat(v.slice(1)),x){let $=x[y.join(&quot; &quot;)];$===void 0&amp;&amp;($=x[y.join(&quot;.&quot;)]),$!==void 0&amp;&amp;(y=$)}return y},f.prototype._decodeTime=function(p,x){const g=p.raw().toString();let y,v,_,C,M,T;if(x===&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),M=0|g.slice(10,12),T=0|g.slice(12,14);else{if(x!==&quot;utctime&quot;)return p.error(&quot;Decoding &quot;+x+&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),M=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,M,T,0)},f.prototype._decodeNull=function(){return null},f.prototype._decodeBool=function(p){const x=p.readUInt8();return p.isError(x)?x:x!==0},f.prototype._decodeInt=function(p,x){const g=p.raw();let y=new o(g);return x&amp;&amp;(y=x[y.toString(10)]||y),y},f.prototype._use=function(p,x){return typeof p==&quot;function&quot;&amp;&amp;(p=p(x)),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,l){const i=l;i.der=t(&quot;./der&quot;),i.pem=t(&quot;./pem&quot;)},{&quot;./der&quot;:178,&quot;./pem&quot;:180}],180:[function(t,n,l){const i=t(&quot;inherits&quot;),o=t(&quot;safer-buffer&quot;).Buffer,u=t(&quot;./der&quot;);function c(a){u.call(this,a),this.enc=&quot;pem&quot;}i(c,u),n.exports=c,c.prototype.decode=function(a,d){const f=a.toString().split(/[\r\n]+/g),h=d.label.toUpperCase(),m=/^-----(BEGIN|END) ([^-]+)-----$/;let p=-1,x=-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;x=v;break}if(_[1]!==&quot;BEGIN&quot;)break;p=v}}if(p===-1||x===-1)throw new Error(&quot;PEM section not found for: &quot;+h);const g=f.slice(p+1,x).join(&quot;&quot;);g.replace(/[^a-z0-9+/=]+/gi,&quot;&quot;);const y=o.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,l){const i=t(&quot;inherits&quot;),o=t(&quot;safer-buffer&quot;).Buffer,u=t(&quot;../base/node&quot;),c=t(&quot;../constants/der&quot;);function a(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=a,a.prototype.encode=function(h,m){return this.tree._encode(h,m).join()},i(d,u),d.prototype._encodeComposite=function(h,m,p,x){const g=(function(_,C,M,T){let $;if(_===&quot;seqof&quot;?_=&quot;seq&quot;:_===&quot;setof&quot;&amp;&amp;(_=&quot;set&quot;),c.tagByName.hasOwnProperty(_))$=c.tagByName[_];else{if(typeof _!=&quot;number&quot;||(0|_)!==_)return T.error(&quot;Unknown tag: &quot;+_);$=_}return $&gt;=31?T.error(&quot;Multi-octet tag encoding unsupported&quot;):(C||($|=32),$|=c.tagClassByName[M||&quot;universal&quot;]&lt;&lt;6,$)})(h,m,p,this.reporter);if(x.length&lt;128){const _=o.alloc(2);return _[0]=g,_[1]=x.length,this._createEncoderBuffer([_,x])}let y=1;for(let _=x.length;_&gt;=256;_&gt;&gt;=8)y++;const v=o.alloc(2+y);v[0]=g,v[1]=128|y;for(let _=1+y,C=x.length;C&gt;0;_--,C&gt;&gt;=8)v[_]=255&amp;C;return this._createEncoderBuffer([v,x])},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=o.alloc(2*h.length);for(let x=0;x&lt;h.length;x++)p.writeUInt16BE(h.charCodeAt(x),2*x);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 x=0;for(let v=0;v&lt;h.length;v++){let _=h[v];for(x++;_&gt;=128;_&gt;&gt;=7)x++}const g=o.alloc(x);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 x=new Date(h);return m===&quot;gentime&quot;?p=[f(x.getUTCFullYear()),f(x.getUTCMonth()+1),f(x.getUTCDate()),f(x.getUTCHours()),f(x.getUTCMinutes()),f(x.getUTCSeconds()),&quot;Z&quot;].join(&quot;&quot;):m===&quot;utctime&quot;?p=[f(x.getUTCFullYear()%100),f(x.getUTCMonth()+1),f(x.getUTCDate()),f(x.getUTCHours()),f(x.getUTCMinutes()),f(x.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;!o.isBuffer(h)){const g=h.toArray();!h.sign&amp;&amp;128&amp;g[0]&amp;&amp;g.unshift(0),h=o.from(g)}if(o.isBuffer(h)){let g=h.length;h.length===0&amp;&amp;g++;const y=o.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 x=new Array(p);for(let g=x.length-1;g&gt;=0;g--)x[g]=255&amp;h,h&gt;&gt;=8;return 128&amp;x[0]&amp;&amp;x.unshift(0),this._createEncoderBuffer(o.from(x))},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 x=this._baseState;let g;if(x.default===null)return!1;const y=h.join();if(x.defaultBuffer===void 0&amp;&amp;(x.defaultBuffer=this._encodeValue(x.default,m,p).join()),y.length!==x.defaultBuffer.length)return!1;for(g=0;g&lt;y.length;g++)if(y[g]!==x.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,l){const i=l;i.der=t(&quot;./der&quot;),i.pem=t(&quot;./pem&quot;)},{&quot;./der&quot;:181,&quot;./pem&quot;:183}],183:[function(t,n,l){const i=t(&quot;inherits&quot;),o=t(&quot;./der&quot;);function u(c){o.call(this,c),this.enc=&quot;pem&quot;}i(u,o),n.exports=u,u.prototype.encode=function(c,a){const d=o.prototype.encode.call(this,c).toString(&quot;base64&quot;),f=[&quot;-----BEGIN &quot;+a.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;+a.label+&quot;-----&quot;),f.join(`
`)}},{&quot;./der&quot;:181,inherits:440}],184:[function(t,n,l){(function(i,o){function u(P,L){if(!P)throw new Error(L||&quot;Assertion failed&quot;)}function c(P,L){P.super_=L;var E=function(){};E.prototype=L.prototype,P.prototype=new E,P.prototype.constructor=P}function a(P,L,E){if(a.isBN(P))return P;this.negative=0,this.words=null,this.length=0,this.red=null,P!==null&amp;&amp;(L!==&quot;le&quot;&amp;&amp;L!==&quot;be&quot;||(E=L,L=10),this._init(P||0,L||10,E||&quot;be&quot;))}var d;typeof i==&quot;object&quot;?i.exports=a:(void 0).BN=a,a.BN=a,a.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,L){var E=P.charCodeAt(L);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,L,E){var j=f(P,E);return E-1&gt;=L&amp;&amp;(j|=f(P,E-1)&lt;&lt;4),j}function m(P,L,E,j){for(var k=0,S=Math.min(P.length,E),N=L;N&lt;S;N++){var O=P.charCodeAt(N)-48;k*=j,k+=O&gt;=49?O-49+10:O&gt;=17?O-17+10:O}return k}a.isBN=function(P){return P instanceof a||P!==null&amp;&amp;typeof P==&quot;object&quot;&amp;&amp;P.constructor.wordSize===a.wordSize&amp;&amp;Array.isArray(P.words)},a.max=function(P,L){return P.cmp(L)&gt;0?P:L},a.min=function(P,L){return P.cmp(L)&lt;0?P:L},a.prototype._init=function(P,L,E){if(typeof P==&quot;number&quot;)return this._initNumber(P,L,E);if(typeof P==&quot;object&quot;)return this._initArray(P,L,E);L===&quot;hex&quot;&amp;&amp;(L=16),u(L===(0|L)&amp;&amp;L&gt;=2&amp;&amp;L&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;(L===16?this._parseHex(P,j,E):(this._parseBase(P,L,j),E===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),L,E)))},a.prototype._initNumber=function(P,L,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(),L,E)},a.prototype._initArray=function(P,L,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()},a.prototype._parseHex=function(P,L,E){this.length=Math.ceil((P.length-L)/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;=L;j-=2)k=h(P,L,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-L)%2==0?L+1:L;j&lt;P.length;j+=2)k=h(P,L,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()},a.prototype._parseBase=function(P,L,E){this.words=[0],this.length=1;for(var j=0,k=1;k&lt;=67108863;k*=L)j++;j--,k=k/L|0;for(var S=P.length-E,N=S%j,O=Math.min(S,S-N)+E,D=0,B=E;B&lt;O;B+=j)D=m(P,B,B+j,L),this.imuln(k),this.words[0]+D&lt;67108864?this.words[0]+=D:this._iaddn(D);if(N!==0){var Y=1;for(D=m(P,B,P.length,L),B=0;B&lt;N;B++)Y*=L;this.imuln(Y),this.words[0]+D&lt;67108864?this.words[0]+=D:this._iaddn(D)}this.strip()},a.prototype.copy=function(P){P.words=new Array(this.length);for(var L=0;L&lt;this.length;L++)P.words[L]=this.words[L];P.length=this.length,P.negative=this.negative,P.red=this.red},a.prototype.clone=function(){var P=new a(null);return this.copy(P),P},a.prototype._expand=function(P){for(;this.length&lt;P;)this.words[this.length++]=0;return this},a.prototype.strip=function(){for(;this.length&gt;1&amp;&amp;this.words[this.length-1]===0;)this.length--;return this._normSign()},a.prototype._normSign=function(){return this.length===1&amp;&amp;this.words[0]===0&amp;&amp;(this.negative=0),this},a.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;],x=[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,L,E){E.negative=L.negative^P.negative;var j=P.length+L.length|0;E.length=j,j=j-1|0;var k=0|P.words[0],S=0|L.words[0],N=k*S,O=67108863&amp;N,D=N/67108864|0;E.words[0]=O;for(var B=1;B&lt;j;B++){for(var Y=D&gt;&gt;&gt;26,Z=67108863&amp;D,ne=Math.min(B,L.length-1),V=Math.max(0,B-P.length+1);V&lt;=ne;V++){var ee=B-V|0;Y+=(N=(k=0|P.words[ee])*(S=0|L.words[V])+Z)/67108864|0,Z=67108863&amp;N}E.words[B]=0|Z,D=0|Y}return D!==0?E.words[B]=0|D:E.length--,E.strip()}a.prototype.toString=function(P,L){var E;if(L=0|L||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],O=(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-O.length]+O+E:O+E,(j+=2)&gt;=26&amp;&amp;(j-=26,S--)}for(k!==0&amp;&amp;(E=k.toString(16)+E);E.length%L!=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 D=x[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[D-Z.length]+Z+E}for(this.isZero()&amp;&amp;(E=&quot;0&quot;+E);E.length%L!=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;)},a.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},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(P,L){return u(d!==void 0),this.toArrayLike(d,P,L)},a.prototype.toArray=function(P,L){return this.toArrayLike(Array,P,L)},a.prototype.toArrayLike=function(P,L,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,O=L===&quot;le&quot;,D=new P(k),B=this.clone();if(O){for(N=0;!B.isZero();N++)S=B.andln(255),B.iushrn(8),D[N]=S;for(;N&lt;k;N++)D[N]=0}else{for(N=0;N&lt;k-j;N++)D[N]=0;for(N=0;!B.isZero();N++)S=B.andln(255),B.iushrn(8),D[k-N-1]=S}return D},Math.clz32?a.prototype._countBits=function(P){return 32-Math.clz32(P)}:a.prototype._countBits=function(P){var L=P,E=0;return L&gt;=4096&amp;&amp;(E+=13,L&gt;&gt;&gt;=13),L&gt;=64&amp;&amp;(E+=7,L&gt;&gt;&gt;=7),L&gt;=8&amp;&amp;(E+=4,L&gt;&gt;&gt;=4),L&gt;=2&amp;&amp;(E+=2,L&gt;&gt;&gt;=2),E+L},a.prototype._zeroBits=function(P){if(P===0)return 26;var L=P,E=0;return(8191&amp;L)==0&amp;&amp;(E+=13,L&gt;&gt;&gt;=13),(127&amp;L)==0&amp;&amp;(E+=7,L&gt;&gt;&gt;=7),(15&amp;L)==0&amp;&amp;(E+=4,L&gt;&gt;&gt;=4),(3&amp;L)==0&amp;&amp;(E+=2,L&gt;&gt;&gt;=2),(1&amp;L)==0&amp;&amp;E++,E},a.prototype.bitLength=function(){var P=this.words[this.length-1],L=this._countBits(P);return 26*(this.length-1)+L},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var P=0,L=0;L&lt;this.length;L++){var E=this._zeroBits(this.words[L]);if(P+=E,E!==26)break}return P},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(P){return this.negative!==0?this.abs().inotn(P).iaddn(1):this.clone()},a.prototype.fromTwos=function(P){return this.testn(P-1)?this.notn(P).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return this.negative!==0},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(P){for(;this.length&lt;P.length;)this.words[this.length++]=0;for(var L=0;L&lt;P.length;L++)this.words[L]=this.words[L]|P.words[L];return this.strip()},a.prototype.ior=function(P){return u((this.negative|P.negative)==0),this.iuor(P)},a.prototype.or=function(P){return this.length&gt;P.length?this.clone().ior(P):P.clone().ior(this)},a.prototype.uor=function(P){return this.length&gt;P.length?this.clone().iuor(P):P.clone().iuor(this)},a.prototype.iuand=function(P){var L;L=this.length&gt;P.length?P:this;for(var E=0;E&lt;L.length;E++)this.words[E]=this.words[E]&amp;P.words[E];return this.length=L.length,this.strip()},a.prototype.iand=function(P){return u((this.negative|P.negative)==0),this.iuand(P)},a.prototype.and=function(P){return this.length&gt;P.length?this.clone().iand(P):P.clone().iand(this)},a.prototype.uand=function(P){return this.length&gt;P.length?this.clone().iuand(P):P.clone().iuand(this)},a.prototype.iuxor=function(P){var L,E;this.length&gt;P.length?(L=this,E=P):(L=P,E=this);for(var j=0;j&lt;E.length;j++)this.words[j]=L.words[j]^E.words[j];if(this!==L)for(;j&lt;L.length;j++)this.words[j]=L.words[j];return this.length=L.length,this.strip()},a.prototype.ixor=function(P){return u((this.negative|P.negative)==0),this.iuxor(P)},a.prototype.xor=function(P){return this.length&gt;P.length?this.clone().ixor(P):P.clone().ixor(this)},a.prototype.uxor=function(P){return this.length&gt;P.length?this.clone().iuxor(P):P.clone().iuxor(this)},a.prototype.inotn=function(P){u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0);var L=0|Math.ceil(P/26),E=P%26;this._expand(L),E&gt;0&amp;&amp;L--;for(var j=0;j&lt;L;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()},a.prototype.notn=function(P){return this.clone().inotn(P)},a.prototype.setn=function(P,L){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]=L?this.words[E]|1&lt;&lt;j:this.words[E]&amp;~(1&lt;&lt;j),this.strip()},a.prototype.iadd=function(P){var L,E,j;if(this.negative!==0&amp;&amp;P.negative===0)return this.negative=0,L=this.isub(P),this.negative^=1,this._normSign();if(this.negative===0&amp;&amp;P.negative!==0)return P.negative=0,L=this.isub(P),P.negative=1,L._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++)L=(0|E.words[S])+(0|j.words[S])+k,this.words[S]=67108863&amp;L,k=L&gt;&gt;&gt;26;for(;k!==0&amp;&amp;S&lt;E.length;S++)L=(0|E.words[S])+k,this.words[S]=67108863&amp;L,k=L&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},a.prototype.add=function(P){var L;return P.negative!==0&amp;&amp;this.negative===0?(P.negative=0,L=this.sub(P),P.negative^=1,L):P.negative===0&amp;&amp;this.negative!==0?(this.negative=0,L=P.sub(this),this.negative=1,L):this.length&gt;P.length?this.clone().iadd(P):P.clone().iadd(this)},a.prototype.isub=function(P){if(P.negative!==0){P.negative=0;var L=this.iadd(P);return P.negative=1,L._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=(L=(0|E.words[N])-(0|j.words[N])+S)&gt;&gt;26,this.words[N]=67108863&amp;L;for(;S!==0&amp;&amp;N&lt;E.length;N++)S=(L=(0|E.words[N])+S)&gt;&gt;26,this.words[N]=67108863&amp;L;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()},a.prototype.sub=function(P){return this.clone().isub(P)};var v=function(P,L,E){var j,k,S,N=P.words,O=L.words,D=E.words,B=0,Y=0|N[0],Z=8191&amp;Y,ne=Y&gt;&gt;&gt;13,V=0|N[1],ee=8191&amp;V,z=V&gt;&gt;&gt;13,R=0|N[2],X=8191&amp;R,re=R&gt;&gt;&gt;13,Q=0|N[3],te=8191&amp;Q,se=Q&gt;&gt;&gt;13,de=0|N[4],ce=8191&amp;de,ie=de&gt;&gt;&gt;13,fe=0|N[5],oe=8191&amp;fe,ge=fe&gt;&gt;&gt;13,xe=0|N[6],pe=8191&amp;xe,ue=xe&gt;&gt;&gt;13,we=0|N[7],ke=8191&amp;we,Te=we&gt;&gt;&gt;13,je=0|N[8],De=8191&amp;je,Xe=je&gt;&gt;&gt;13,Ve=0|N[9],et=8191&amp;Ve,st=Ve&gt;&gt;&gt;13,Ge=0|O[0],ze=8191&amp;Ge,Qe=Ge&gt;&gt;&gt;13,rt=0|O[1],Ae=8191&amp;rt,ut=rt&gt;&gt;&gt;13,$t=0|O[2],ht=8191&amp;$t,Tt=$t&gt;&gt;&gt;13,It=0|O[3],Et=8191&amp;It,Ut=It&gt;&gt;&gt;13,qt=0|O[4],yt=8191&amp;qt,Rt=qt&gt;&gt;&gt;13,Xt=0|O[5],dt=8191&amp;Xt,Ft=Xt&gt;&gt;&gt;13,Ht=0|O[6],Nt=8191&amp;Ht,be=Ht&gt;&gt;&gt;13,Ne=0|O[7],Ie=8191&amp;Ne,Ke=Ne&gt;&gt;&gt;13,vt=0|O[8],Je=8191&amp;vt,St=vt&gt;&gt;&gt;13,wt=0|O[9],ot=8191&amp;wt,At=wt&gt;&gt;&gt;13;E.negative=P.negative^L.negative,E.length=19;var Ct=(B+(j=Math.imul(Z,ze))|0)+((8191&amp;(k=(k=Math.imul(Z,Qe))+Math.imul(ne,ze)|0))&lt;&lt;13)|0;B=((S=Math.imul(ne,Qe))+(k&gt;&gt;&gt;13)|0)+(Ct&gt;&gt;&gt;26)|0,Ct&amp;=67108863,j=Math.imul(ee,ze),k=(k=Math.imul(ee,Qe))+Math.imul(z,ze)|0,S=Math.imul(z,Qe);var Dt=(B+(j=j+Math.imul(Z,Ae)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,ut)|0)+Math.imul(ne,Ae)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,ut)|0)+(k&gt;&gt;&gt;13)|0)+(Dt&gt;&gt;&gt;26)|0,Dt&amp;=67108863,j=Math.imul(X,ze),k=(k=Math.imul(X,Qe))+Math.imul(re,ze)|0,S=Math.imul(re,Qe),j=j+Math.imul(ee,Ae)|0,k=(k=k+Math.imul(ee,ut)|0)+Math.imul(z,Ae)|0,S=S+Math.imul(z,ut)|0;var or=(B+(j=j+Math.imul(Z,ht)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Tt)|0)+Math.imul(ne,ht)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Tt)|0)+(k&gt;&gt;&gt;13)|0)+(or&gt;&gt;&gt;26)|0,or&amp;=67108863,j=Math.imul(te,ze),k=(k=Math.imul(te,Qe))+Math.imul(se,ze)|0,S=Math.imul(se,Qe),j=j+Math.imul(X,Ae)|0,k=(k=k+Math.imul(X,ut)|0)+Math.imul(re,Ae)|0,S=S+Math.imul(re,ut)|0,j=j+Math.imul(ee,ht)|0,k=(k=k+Math.imul(ee,Tt)|0)+Math.imul(z,ht)|0,S=S+Math.imul(z,Tt)|0;var Gt=(B+(j=j+Math.imul(Z,Et)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Ut)|0)+Math.imul(ne,Et)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Ut)|0)+(k&gt;&gt;&gt;13)|0)+(Gt&gt;&gt;&gt;26)|0,Gt&amp;=67108863,j=Math.imul(ce,ze),k=(k=Math.imul(ce,Qe))+Math.imul(ie,ze)|0,S=Math.imul(ie,Qe),j=j+Math.imul(te,Ae)|0,k=(k=k+Math.imul(te,ut)|0)+Math.imul(se,Ae)|0,S=S+Math.imul(se,ut)|0,j=j+Math.imul(X,ht)|0,k=(k=k+Math.imul(X,Tt)|0)+Math.imul(re,ht)|0,S=S+Math.imul(re,Tt)|0,j=j+Math.imul(ee,Et)|0,k=(k=k+Math.imul(ee,Ut)|0)+Math.imul(z,Et)|0,S=S+Math.imul(z,Ut)|0;var nr=(B+(j=j+Math.imul(Z,yt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Rt)|0)+Math.imul(ne,yt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Rt)|0)+(k&gt;&gt;&gt;13)|0)+(nr&gt;&gt;&gt;26)|0,nr&amp;=67108863,j=Math.imul(oe,ze),k=(k=Math.imul(oe,Qe))+Math.imul(ge,ze)|0,S=Math.imul(ge,Qe),j=j+Math.imul(ce,Ae)|0,k=(k=k+Math.imul(ce,ut)|0)+Math.imul(ie,Ae)|0,S=S+Math.imul(ie,ut)|0,j=j+Math.imul(te,ht)|0,k=(k=k+Math.imul(te,Tt)|0)+Math.imul(se,ht)|0,S=S+Math.imul(se,Tt)|0,j=j+Math.imul(X,Et)|0,k=(k=k+Math.imul(X,Ut)|0)+Math.imul(re,Et)|0,S=S+Math.imul(re,Ut)|0,j=j+Math.imul(ee,yt)|0,k=(k=k+Math.imul(ee,Rt)|0)+Math.imul(z,yt)|0,S=S+Math.imul(z,Rt)|0;var ur=(B+(j=j+Math.imul(Z,dt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Ft)|0)+Math.imul(ne,dt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Ft)|0)+(k&gt;&gt;&gt;13)|0)+(ur&gt;&gt;&gt;26)|0,ur&amp;=67108863,j=Math.imul(pe,ze),k=(k=Math.imul(pe,Qe))+Math.imul(ue,ze)|0,S=Math.imul(ue,Qe),j=j+Math.imul(oe,Ae)|0,k=(k=k+Math.imul(oe,ut)|0)+Math.imul(ge,Ae)|0,S=S+Math.imul(ge,ut)|0,j=j+Math.imul(ce,ht)|0,k=(k=k+Math.imul(ce,Tt)|0)+Math.imul(ie,ht)|0,S=S+Math.imul(ie,Tt)|0,j=j+Math.imul(te,Et)|0,k=(k=k+Math.imul(te,Ut)|0)+Math.imul(se,Et)|0,S=S+Math.imul(se,Ut)|0,j=j+Math.imul(X,yt)|0,k=(k=k+Math.imul(X,Rt)|0)+Math.imul(re,yt)|0,S=S+Math.imul(re,Rt)|0,j=j+Math.imul(ee,dt)|0,k=(k=k+Math.imul(ee,Ft)|0)+Math.imul(z,dt)|0,S=S+Math.imul(z,Ft)|0;var Ar=(B+(j=j+Math.imul(Z,Nt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,be)|0)+Math.imul(ne,Nt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,be)|0)+(k&gt;&gt;&gt;13)|0)+(Ar&gt;&gt;&gt;26)|0,Ar&amp;=67108863,j=Math.imul(ke,ze),k=(k=Math.imul(ke,Qe))+Math.imul(Te,ze)|0,S=Math.imul(Te,Qe),j=j+Math.imul(pe,Ae)|0,k=(k=k+Math.imul(pe,ut)|0)+Math.imul(ue,Ae)|0,S=S+Math.imul(ue,ut)|0,j=j+Math.imul(oe,ht)|0,k=(k=k+Math.imul(oe,Tt)|0)+Math.imul(ge,ht)|0,S=S+Math.imul(ge,Tt)|0,j=j+Math.imul(ce,Et)|0,k=(k=k+Math.imul(ce,Ut)|0)+Math.imul(ie,Et)|0,S=S+Math.imul(ie,Ut)|0,j=j+Math.imul(te,yt)|0,k=(k=k+Math.imul(te,Rt)|0)+Math.imul(se,yt)|0,S=S+Math.imul(se,Rt)|0,j=j+Math.imul(X,dt)|0,k=(k=k+Math.imul(X,Ft)|0)+Math.imul(re,dt)|0,S=S+Math.imul(re,Ft)|0,j=j+Math.imul(ee,Nt)|0,k=(k=k+Math.imul(ee,be)|0)+Math.imul(z,Nt)|0,S=S+Math.imul(z,be)|0;var he=(B+(j=j+Math.imul(Z,Ie)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Ke)|0)+Math.imul(ne,Ie)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Ke)|0)+(k&gt;&gt;&gt;13)|0)+(he&gt;&gt;&gt;26)|0,he&amp;=67108863,j=Math.imul(De,ze),k=(k=Math.imul(De,Qe))+Math.imul(Xe,ze)|0,S=Math.imul(Xe,Qe),j=j+Math.imul(ke,Ae)|0,k=(k=k+Math.imul(ke,ut)|0)+Math.imul(Te,Ae)|0,S=S+Math.imul(Te,ut)|0,j=j+Math.imul(pe,ht)|0,k=(k=k+Math.imul(pe,Tt)|0)+Math.imul(ue,ht)|0,S=S+Math.imul(ue,Tt)|0,j=j+Math.imul(oe,Et)|0,k=(k=k+Math.imul(oe,Ut)|0)+Math.imul(ge,Et)|0,S=S+Math.imul(ge,Ut)|0,j=j+Math.imul(ce,yt)|0,k=(k=k+Math.imul(ce,Rt)|0)+Math.imul(ie,yt)|0,S=S+Math.imul(ie,Rt)|0,j=j+Math.imul(te,dt)|0,k=(k=k+Math.imul(te,Ft)|0)+Math.imul(se,dt)|0,S=S+Math.imul(se,Ft)|0,j=j+Math.imul(X,Nt)|0,k=(k=k+Math.imul(X,be)|0)+Math.imul(re,Nt)|0,S=S+Math.imul(re,be)|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 ve=(B+(j=j+Math.imul(Z,Je)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,St)|0)+Math.imul(ne,Je)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,St)|0)+(k&gt;&gt;&gt;13)|0)+(ve&gt;&gt;&gt;26)|0,ve&amp;=67108863,j=Math.imul(et,ze),k=(k=Math.imul(et,Qe))+Math.imul(st,ze)|0,S=Math.imul(st,Qe),j=j+Math.imul(De,Ae)|0,k=(k=k+Math.imul(De,ut)|0)+Math.imul(Xe,Ae)|0,S=S+Math.imul(Xe,ut)|0,j=j+Math.imul(ke,ht)|0,k=(k=k+Math.imul(ke,Tt)|0)+Math.imul(Te,ht)|0,S=S+Math.imul(Te,Tt)|0,j=j+Math.imul(pe,Et)|0,k=(k=k+Math.imul(pe,Ut)|0)+Math.imul(ue,Et)|0,S=S+Math.imul(ue,Ut)|0,j=j+Math.imul(oe,yt)|0,k=(k=k+Math.imul(oe,Rt)|0)+Math.imul(ge,yt)|0,S=S+Math.imul(ge,Rt)|0,j=j+Math.imul(ce,dt)|0,k=(k=k+Math.imul(ce,Ft)|0)+Math.imul(ie,dt)|0,S=S+Math.imul(ie,Ft)|0,j=j+Math.imul(te,Nt)|0,k=(k=k+Math.imul(te,be)|0)+Math.imul(se,Nt)|0,S=S+Math.imul(se,be)|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,Je)|0,k=(k=k+Math.imul(ee,St)|0)+Math.imul(z,Je)|0,S=S+Math.imul(z,St)|0;var Le=(B+(j=j+Math.imul(Z,ot)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,At)|0)+Math.imul(ne,ot)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,At)|0)+(k&gt;&gt;&gt;13)|0)+(Le&gt;&gt;&gt;26)|0,Le&amp;=67108863,j=Math.imul(et,Ae),k=(k=Math.imul(et,ut))+Math.imul(st,Ae)|0,S=Math.imul(st,ut),j=j+Math.imul(De,ht)|0,k=(k=k+Math.imul(De,Tt)|0)+Math.imul(Xe,ht)|0,S=S+Math.imul(Xe,Tt)|0,j=j+Math.imul(ke,Et)|0,k=(k=k+Math.imul(ke,Ut)|0)+Math.imul(Te,Et)|0,S=S+Math.imul(Te,Ut)|0,j=j+Math.imul(pe,yt)|0,k=(k=k+Math.imul(pe,Rt)|0)+Math.imul(ue,yt)|0,S=S+Math.imul(ue,Rt)|0,j=j+Math.imul(oe,dt)|0,k=(k=k+Math.imul(oe,Ft)|0)+Math.imul(ge,dt)|0,S=S+Math.imul(ge,Ft)|0,j=j+Math.imul(ce,Nt)|0,k=(k=k+Math.imul(ce,be)|0)+Math.imul(ie,Nt)|0,S=S+Math.imul(ie,be)|0,j=j+Math.imul(te,Ie)|0,k=(k=k+Math.imul(te,Ke)|0)+Math.imul(se,Ie)|0,S=S+Math.imul(se,Ke)|0,j=j+Math.imul(X,Je)|0,k=(k=k+Math.imul(X,St)|0)+Math.imul(re,Je)|0,S=S+Math.imul(re,St)|0;var $e=(B+(j=j+Math.imul(ee,ot)|0)|0)+((8191&amp;(k=(k=k+Math.imul(ee,At)|0)+Math.imul(z,ot)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(z,At)|0)+(k&gt;&gt;&gt;13)|0)+($e&gt;&gt;&gt;26)|0,$e&amp;=67108863,j=Math.imul(et,ht),k=(k=Math.imul(et,Tt))+Math.imul(st,ht)|0,S=Math.imul(st,Tt),j=j+Math.imul(De,Et)|0,k=(k=k+Math.imul(De,Ut)|0)+Math.imul(Xe,Et)|0,S=S+Math.imul(Xe,Ut)|0,j=j+Math.imul(ke,yt)|0,k=(k=k+Math.imul(ke,Rt)|0)+Math.imul(Te,yt)|0,S=S+Math.imul(Te,Rt)|0,j=j+Math.imul(pe,dt)|0,k=(k=k+Math.imul(pe,Ft)|0)+Math.imul(ue,dt)|0,S=S+Math.imul(ue,Ft)|0,j=j+Math.imul(oe,Nt)|0,k=(k=k+Math.imul(oe,be)|0)+Math.imul(ge,Nt)|0,S=S+Math.imul(ge,be)|0,j=j+Math.imul(ce,Ie)|0,k=(k=k+Math.imul(ce,Ke)|0)+Math.imul(ie,Ie)|0,S=S+Math.imul(ie,Ke)|0,j=j+Math.imul(te,Je)|0,k=(k=k+Math.imul(te,St)|0)+Math.imul(se,Je)|0,S=S+Math.imul(se,St)|0;var ct=(B+(j=j+Math.imul(X,ot)|0)|0)+((8191&amp;(k=(k=k+Math.imul(X,At)|0)+Math.imul(re,ot)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(re,At)|0)+(k&gt;&gt;&gt;13)|0)+(ct&gt;&gt;&gt;26)|0,ct&amp;=67108863,j=Math.imul(et,Et),k=(k=Math.imul(et,Ut))+Math.imul(st,Et)|0,S=Math.imul(st,Ut),j=j+Math.imul(De,yt)|0,k=(k=k+Math.imul(De,Rt)|0)+Math.imul(Xe,yt)|0,S=S+Math.imul(Xe,Rt)|0,j=j+Math.imul(ke,dt)|0,k=(k=k+Math.imul(ke,Ft)|0)+Math.imul(Te,dt)|0,S=S+Math.imul(Te,Ft)|0,j=j+Math.imul(pe,Nt)|0,k=(k=k+Math.imul(pe,be)|0)+Math.imul(ue,Nt)|0,S=S+Math.imul(ue,be)|0,j=j+Math.imul(oe,Ie)|0,k=(k=k+Math.imul(oe,Ke)|0)+Math.imul(ge,Ie)|0,S=S+Math.imul(ge,Ke)|0,j=j+Math.imul(ce,Je)|0,k=(k=k+Math.imul(ce,St)|0)+Math.imul(ie,Je)|0,S=S+Math.imul(ie,St)|0;var Fe=(B+(j=j+Math.imul(te,ot)|0)|0)+((8191&amp;(k=(k=k+Math.imul(te,At)|0)+Math.imul(se,ot)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(se,At)|0)+(k&gt;&gt;&gt;13)|0)+(Fe&gt;&gt;&gt;26)|0,Fe&amp;=67108863,j=Math.imul(et,yt),k=(k=Math.imul(et,Rt))+Math.imul(st,yt)|0,S=Math.imul(st,Rt),j=j+Math.imul(De,dt)|0,k=(k=k+Math.imul(De,Ft)|0)+Math.imul(Xe,dt)|0,S=S+Math.imul(Xe,Ft)|0,j=j+Math.imul(ke,Nt)|0,k=(k=k+Math.imul(ke,be)|0)+Math.imul(Te,Nt)|0,S=S+Math.imul(Te,be)|0,j=j+Math.imul(pe,Ie)|0,k=(k=k+Math.imul(pe,Ke)|0)+Math.imul(ue,Ie)|0,S=S+Math.imul(ue,Ke)|0,j=j+Math.imul(oe,Je)|0,k=(k=k+Math.imul(oe,St)|0)+Math.imul(ge,Je)|0,S=S+Math.imul(ge,St)|0;var Ye=(B+(j=j+Math.imul(ce,ot)|0)|0)+((8191&amp;(k=(k=k+Math.imul(ce,At)|0)+Math.imul(ie,ot)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,At)|0)+(k&gt;&gt;&gt;13)|0)+(Ye&gt;&gt;&gt;26)|0,Ye&amp;=67108863,j=Math.imul(et,dt),k=(k=Math.imul(et,Ft))+Math.imul(st,dt)|0,S=Math.imul(st,Ft),j=j+Math.imul(De,Nt)|0,k=(k=k+Math.imul(De,be)|0)+Math.imul(Xe,Nt)|0,S=S+Math.imul(Xe,be)|0,j=j+Math.imul(ke,Ie)|0,k=(k=k+Math.imul(ke,Ke)|0)+Math.imul(Te,Ie)|0,S=S+Math.imul(Te,Ke)|0,j=j+Math.imul(pe,Je)|0,k=(k=k+Math.imul(pe,St)|0)+Math.imul(ue,Je)|0,S=S+Math.imul(ue,St)|0;var Ce=(B+(j=j+Math.imul(oe,ot)|0)|0)+((8191&amp;(k=(k=k+Math.imul(oe,At)|0)+Math.imul(ge,ot)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ge,At)|0)+(k&gt;&gt;&gt;13)|0)+(Ce&gt;&gt;&gt;26)|0,Ce&amp;=67108863,j=Math.imul(et,Nt),k=(k=Math.imul(et,be))+Math.imul(st,Nt)|0,S=Math.imul(st,be),j=j+Math.imul(De,Ie)|0,k=(k=k+Math.imul(De,Ke)|0)+Math.imul(Xe,Ie)|0,S=S+Math.imul(Xe,Ke)|0,j=j+Math.imul(ke,Je)|0,k=(k=k+Math.imul(ke,St)|0)+Math.imul(Te,Je)|0,S=S+Math.imul(Te,St)|0;var nt=(B+(j=j+Math.imul(pe,ot)|0)|0)+((8191&amp;(k=(k=k+Math.imul(pe,At)|0)+Math.imul(ue,ot)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ue,At)|0)+(k&gt;&gt;&gt;13)|0)+(nt&gt;&gt;&gt;26)|0,nt&amp;=67108863,j=Math.imul(et,Ie),k=(k=Math.imul(et,Ke))+Math.imul(st,Ie)|0,S=Math.imul(st,Ke),j=j+Math.imul(De,Je)|0,k=(k=k+Math.imul(De,St)|0)+Math.imul(Xe,Je)|0,S=S+Math.imul(Xe,St)|0;var it=(B+(j=j+Math.imul(ke,ot)|0)|0)+((8191&amp;(k=(k=k+Math.imul(ke,At)|0)+Math.imul(Te,ot)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(Te,At)|0)+(k&gt;&gt;&gt;13)|0)+(it&gt;&gt;&gt;26)|0,it&amp;=67108863,j=Math.imul(et,Je),k=(k=Math.imul(et,St))+Math.imul(st,Je)|0,S=Math.imul(st,St);var at=(B+(j=j+Math.imul(De,ot)|0)|0)+((8191&amp;(k=(k=k+Math.imul(De,At)|0)+Math.imul(Xe,ot)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(Xe,At)|0)+(k&gt;&gt;&gt;13)|0)+(at&gt;&gt;&gt;26)|0,at&amp;=67108863;var Mt=(B+(j=Math.imul(et,ot))|0)+((8191&amp;(k=(k=Math.imul(et,At))+Math.imul(st,ot)|0))&lt;&lt;13)|0;return B=((S=Math.imul(st,At))+(k&gt;&gt;&gt;13)|0)+(Mt&gt;&gt;&gt;26)|0,Mt&amp;=67108863,D[0]=Ct,D[1]=Dt,D[2]=or,D[3]=Gt,D[4]=nr,D[5]=ur,D[6]=Ar,D[7]=he,D[8]=ve,D[9]=Le,D[10]=$e,D[11]=ct,D[12]=Fe,D[13]=Ye,D[14]=Ce,D[15]=nt,D[16]=it,D[17]=at,D[18]=Mt,B!==0&amp;&amp;(D[19]=B,E.length++),E};function _(P,L,E){return new C().mulp(P,L,E)}function C(P,L){this.x=P,this.y=L}Math.imul||(v=y),a.prototype.mulTo=function(P,L){var E=this.length+P.length;return this.length===10&amp;&amp;P.length===10?v(this,P,L):E&lt;63?y(this,P,L):E&lt;1024?(function(j,k,S){S.negative=k.negative^j.negative,S.length=j.length+k.length;for(var N=0,O=0,D=0;D&lt;S.length-1;D++){var B=O;O=0;for(var Y=67108863&amp;N,Z=Math.min(D,k.length-1),ne=Math.max(0,D-j.length+1);ne&lt;=Z;ne++){var V=D-ne,ee=(0|j.words[V])*(0|k.words[ne]),z=67108863&amp;ee;Y=67108863&amp;(z=z+Y|0),O+=(B=(B=B+(ee/67108864|0)|0)+(z&gt;&gt;&gt;26)|0)&gt;&gt;&gt;26,B&amp;=67108863}S.words[D]=Y,N=B,B=O}return N!==0?S.words[D]=N:S.length--,S.strip()})(this,P,L):_(this,P,L)},C.prototype.makeRBT=function(P){for(var L=new Array(P),E=a.prototype._countBits(P)-1,j=0;j&lt;P;j++)L[j]=this.revBin(j,E,P);return L},C.prototype.revBin=function(P,L,E){if(P===0||P===E-1)return P;for(var j=0,k=0;k&lt;L;k++)j|=(1&amp;P)&lt;&lt;L-k-1,P&gt;&gt;=1;return j},C.prototype.permute=function(P,L,E,j,k,S){for(var N=0;N&lt;S;N++)j[N]=L[P[N]],k[N]=E[P[N]]},C.prototype.transform=function(P,L,E,j,k,S){this.permute(S,P,L,E,j,k);for(var N=1;N&lt;k;N&lt;&lt;=1)for(var O=N&lt;&lt;1,D=Math.cos(2*Math.PI/O),B=Math.sin(2*Math.PI/O),Y=0;Y&lt;k;Y+=O)for(var Z=D,ne=B,V=0;V&lt;N;V++){var ee=E[Y+V],z=j[Y+V],R=E[Y+V+N],X=j[Y+V+N],re=Z*R-ne*X;X=Z*X+ne*R,R=re,E[Y+V]=ee+R,j[Y+V]=z+X,E[Y+V+N]=ee-R,j[Y+V+N]=z-X,V!==O&amp;&amp;(re=D*Z-B*ne,ne=D*ne+B*Z,Z=re)}},C.prototype.guessLen13b=function(P,L){var E=1|Math.max(L,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,L,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=L[j],L[j]=-L[E-j-1],L[E-j-1]=-k}},C.prototype.normalize13b=function(P,L){for(var E=0,j=0;j&lt;L/2;j++){var k=8192*Math.round(P[2*j+1]/L)+Math.round(P[2*j]/L)+E;P[j]=67108863&amp;k,E=k&lt;67108864?0:k/67108864|0}return P},C.prototype.convert13b=function(P,L,E,j){for(var k=0,S=0;S&lt;L;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*L;S&lt;j;++S)E[S]=0;u(k===0),u((-8192&amp;k)==0)},C.prototype.stub=function(P){for(var L=new Array(P),E=0;E&lt;P;E++)L[E]=0;return L},C.prototype.mulp=function(P,L,E){var j=2*this.guessLen13b(P.length,L.length),k=this.makeRBT(j),S=this.stub(j),N=new Array(j),O=new Array(j),D=new Array(j),B=new Array(j),Y=new Array(j),Z=new Array(j),ne=E.words;ne.length=j,this.convert13b(P.words,P.length,N,j),this.convert13b(L.words,L.length,B,j),this.transform(N,S,O,D,j,k),this.transform(B,S,Y,Z,j,k);for(var V=0;V&lt;j;V++){var ee=O[V]*Y[V]-D[V]*Z[V];D[V]=O[V]*Z[V]+D[V]*Y[V],O[V]=ee}return this.conjugate(O,D,j),this.transform(O,D,ne,S,j,k),this.conjugate(ne,S,j),this.normalize13b(ne,j),E.negative=P.negative^L.negative,E.length=P.length+L.length,E.strip()},a.prototype.mul=function(P){var L=new a(null);return L.words=new Array(this.length+P.length),this.mulTo(P,L)},a.prototype.mulf=function(P){var L=new a(null);return L.words=new Array(this.length+P.length),_(this,P,L)},a.prototype.imul=function(P){return this.clone().mulTo(P,this)},a.prototype.imuln=function(P){u(typeof P==&quot;number&quot;),u(P&lt;67108864);for(var L=0,E=0;E&lt;this.length;E++){var j=(0|this.words[E])*P,k=(67108863&amp;j)+(67108863&amp;L);L&gt;&gt;=26,L+=j/67108864|0,L+=k&gt;&gt;&gt;26,this.words[E]=67108863&amp;k}return L!==0&amp;&amp;(this.words[E]=L,this.length++),this},a.prototype.muln=function(P){return this.clone().imuln(P)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(P){var L=(function(S){for(var N=new Array(S.bitLength()),O=0;O&lt;N.length;O++){var D=O/26|0,B=O%26;N[O]=(S.words[D]&amp;1&lt;&lt;B)&gt;&gt;&gt;B}return N})(P);if(L.length===0)return new a(1);for(var E=this,j=0;j&lt;L.length&amp;&amp;L[j]===0;j++,E=E.sqr());if(++j&lt;L.length)for(var k=E.sqr();j&lt;L.length;j++,k=k.sqr())L[j]!==0&amp;&amp;(E=E.mul(k));return E},a.prototype.iushln=function(P){u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0);var L,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(L=0;L&lt;this.length;L++){var N=this.words[L]&amp;k,O=(0|this.words[L])-N&lt;&lt;E;this.words[L]=O|S,S=N&gt;&gt;&gt;26-E}S&amp;&amp;(this.words[L]=S,this.length++)}if(j!==0){for(L=this.length-1;L&gt;=0;L--)this.words[L+j]=this.words[L];for(L=0;L&lt;j;L++)this.words[L]=0;this.length+=j}return this.strip()},a.prototype.ishln=function(P){return u(this.negative===0),this.iushln(P)},a.prototype.iushrn=function(P,L,E){var j;u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0),j=L?(L-L%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,O=E;if(j-=S,j=Math.max(0,j),O){for(var D=0;D&lt;S;D++)O.words[D]=this.words[D];O.length=S}if(S!==0)if(this.length&gt;S)for(this.length-=S,D=0;D&lt;this.length;D++)this.words[D]=this.words[D+S];else this.words[0]=0,this.length=1;var B=0;for(D=this.length-1;D&gt;=0&amp;&amp;(B!==0||D&gt;=j);D--){var Y=0|this.words[D];this.words[D]=B&lt;&lt;26-k|Y&gt;&gt;&gt;k,B=Y&amp;N}return O&amp;&amp;B!==0&amp;&amp;(O.words[O.length++]=B),this.length===0&amp;&amp;(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(P,L,E){return u(this.negative===0),this.iushrn(P,L,E)},a.prototype.shln=function(P){return this.clone().ishln(P)},a.prototype.ushln=function(P){return this.clone().iushln(P)},a.prototype.shrn=function(P){return this.clone().ishrn(P)},a.prototype.ushrn=function(P){return this.clone().iushrn(P)},a.prototype.testn=function(P){u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0);var L=P%26,E=(P-L)/26,j=1&lt;&lt;L;return!(this.length&lt;=E)&amp;&amp;!!(this.words[E]&amp;j)},a.prototype.imaskn=function(P){u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0);var L=P%26,E=(P-L)/26;if(u(this.negative===0,&quot;imaskn works only with positive numbers&quot;),this.length&lt;=E)return this;if(L!==0&amp;&amp;E++,this.length=Math.min(E,this.length),L!==0){var j=67108863^67108863&gt;&gt;&gt;L&lt;&lt;L;this.words[this.length-1]&amp;=j}return this.strip()},a.prototype.maskn=function(P){return this.clone().imaskn(P)},a.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)},a.prototype._iaddn=function(P){this.words[0]+=P;for(var L=0;L&lt;this.length&amp;&amp;this.words[L]&gt;=67108864;L++)this.words[L]-=67108864,L===this.length-1?this.words[L+1]=1:this.words[L+1]++;return this.length=Math.max(this.length,L+1),this},a.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 L=0;L&lt;this.length&amp;&amp;this.words[L]&lt;0;L++)this.words[L]+=67108864,this.words[L+1]-=1;return this.strip()},a.prototype.addn=function(P){return this.clone().iaddn(P)},a.prototype.subn=function(P){return this.clone().isubn(P)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(P,L,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 O=(0|P.words[j])*L;N=((k-=67108863&amp;O)&gt;&gt;26)-(O/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()},a.prototype._wordDiv=function(P,L){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,O=j.length-k.length;if(L!==&quot;mod&quot;){(N=new a(null)).length=O+1,N.words=new Array(N.length);for(var D=0;D&lt;N.length;D++)N.words[D]=0}var B=j.clone()._ishlnsubmul(k,1,O);B.negative===0&amp;&amp;(j=B,N&amp;&amp;(N.words[O]=1));for(var Y=O-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(),L!==&quot;div&quot;&amp;&amp;E!==0&amp;&amp;j.iushrn(E),{div:N||null,mod:j}},a.prototype.divmod=function(P,L,E){return u(!P.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:this.negative!==0&amp;&amp;P.negative===0?(S=this.neg().divmod(P,L),L!==&quot;mod&quot;&amp;&amp;(j=S.div.neg()),L!==&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(),L),L!==&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(),L),L!==&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 a(0),mod:this}:P.length===1?L===&quot;div&quot;?{div:this.divn(P.words[0]),mod:null}:L===&quot;mod&quot;?{div:null,mod:new a(this.modn(P.words[0]))}:{div:this.divn(P.words[0]),mod:new a(this.modn(P.words[0]))}:this._wordDiv(P,L);var j,k,S},a.prototype.div=function(P){return this.divmod(P,&quot;div&quot;,!1).div},a.prototype.mod=function(P){return this.divmod(P,&quot;mod&quot;,!1).mod},a.prototype.umod=function(P){return this.divmod(P,&quot;mod&quot;,!0).mod},a.prototype.divRound=function(P){var L=this.divmod(P);if(L.mod.isZero())return L.div;var E=L.div.negative!==0?L.mod.isub(P):L.mod,j=P.ushrn(1),k=P.andln(1),S=E.cmp(j);return S&lt;0||k===1&amp;&amp;S===0?L.div:L.div.negative!==0?L.div.isubn(1):L.div.iaddn(1)},a.prototype.modn=function(P){u(P&lt;=67108863);for(var L=(1&lt;&lt;26)%P,E=0,j=this.length-1;j&gt;=0;j--)E=(L*E+(0|this.words[j]))%P;return E},a.prototype.idivn=function(P){u(P&lt;=67108863);for(var L=0,E=this.length-1;E&gt;=0;E--){var j=(0|this.words[E])+67108864*L;this.words[E]=j/P|0,L=j%P}return this.strip()},a.prototype.divn=function(P){return this.clone().idivn(P)},a.prototype.egcd=function(P){u(P.negative===0),u(!P.isZero());var L=this,E=P.clone();L=L.negative!==0?L.umod(P):L.clone();for(var j=new a(1),k=new a(0),S=new a(0),N=new a(1),O=0;L.isEven()&amp;&amp;E.isEven();)L.iushrn(1),E.iushrn(1),++O;for(var D=E.clone(),B=L.clone();!L.isZero();){for(var Y=0,Z=1;(L.words[0]&amp;Z)==0&amp;&amp;Y&lt;26;++Y,Z&lt;&lt;=1);if(Y&gt;0)for(L.iushrn(Y);Y-- &gt;0;)(j.isOdd()||k.isOdd())&amp;&amp;(j.iadd(D),k.isub(B)),j.iushrn(1),k.iushrn(1);for(var ne=0,V=1;(E.words[0]&amp;V)==0&amp;&amp;ne&lt;26;++ne,V&lt;&lt;=1);if(ne&gt;0)for(E.iushrn(ne);ne-- &gt;0;)(S.isOdd()||N.isOdd())&amp;&amp;(S.iadd(D),N.isub(B)),S.iushrn(1),N.iushrn(1);L.cmp(E)&gt;=0?(L.isub(E),j.isub(S),k.isub(N)):(E.isub(L),S.isub(j),N.isub(k))}return{a:S,b:N,gcd:E.iushln(O)}},a.prototype._invmp=function(P){u(P.negative===0),u(!P.isZero());var L=this,E=P.clone();L=L.negative!==0?L.umod(P):L.clone();for(var j,k=new a(1),S=new a(0),N=E.clone();L.cmpn(1)&gt;0&amp;&amp;E.cmpn(1)&gt;0;){for(var O=0,D=1;(L.words[0]&amp;D)==0&amp;&amp;O&lt;26;++O,D&lt;&lt;=1);if(O&gt;0)for(L.iushrn(O);O-- &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);L.cmp(E)&gt;=0?(L.isub(E),k.isub(S)):(E.isub(L),S.isub(k))}return(j=L.cmpn(1)===0?k:S).cmpn(0)&lt;0&amp;&amp;j.iadd(P),j},a.prototype.gcd=function(P){if(this.isZero())return P.abs();if(P.isZero())return this.abs();var L=this.clone(),E=P.clone();L.negative=0,E.negative=0;for(var j=0;L.isEven()&amp;&amp;E.isEven();j++)L.iushrn(1),E.iushrn(1);for(;;){for(;L.isEven();)L.iushrn(1);for(;E.isEven();)E.iushrn(1);var k=L.cmp(E);if(k&lt;0){var S=L;L=E,E=S}else if(k===0||E.cmpn(1)===0)break;L.isub(E)}return E.iushln(j)},a.prototype.invm=function(P){return this.egcd(P).a.umod(P)},a.prototype.isEven=function(){return(1&amp;this.words[0])==0},a.prototype.isOdd=function(){return(1&amp;this.words[0])==1},a.prototype.andln=function(P){return this.words[0]&amp;P},a.prototype.bincn=function(P){u(typeof P==&quot;number&quot;);var L=P%26,E=(P-L)/26,j=1&lt;&lt;L;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},a.prototype.isZero=function(){return this.length===1&amp;&amp;this.words[0]===0},a.prototype.cmpn=function(P){var L,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)L=1;else{E&amp;&amp;(P=-P),u(P&lt;=67108863,&quot;Number is too big&quot;);var j=0|this.words[0];L=j===P?0:j&lt;P?-1:1}return this.negative!==0?0|-L:L},a.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 L=this.ucmp(P);return this.negative!==0?0|-L:L},a.prototype.ucmp=function(P){if(this.length&gt;P.length)return 1;if(this.length&lt;P.length)return-1;for(var L=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?L=-1:j&gt;k&amp;&amp;(L=1);break}}return L},a.prototype.gtn=function(P){return this.cmpn(P)===1},a.prototype.gt=function(P){return this.cmp(P)===1},a.prototype.gten=function(P){return this.cmpn(P)&gt;=0},a.prototype.gte=function(P){return this.cmp(P)&gt;=0},a.prototype.ltn=function(P){return this.cmpn(P)===-1},a.prototype.lt=function(P){return this.cmp(P)===-1},a.prototype.lten=function(P){return this.cmpn(P)&lt;=0},a.prototype.lte=function(P){return this.cmp(P)&lt;=0},a.prototype.eqn=function(P){return this.cmpn(P)===0},a.prototype.eq=function(P){return this.cmp(P)===0},a.red=function(P){return new q(P)},a.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)},a.prototype.fromRed=function(){return u(this.red,&quot;fromRed works only with numbers in reduction context&quot;),this.red.convertFrom(this)},a.prototype._forceRed=function(P){return this.red=P,this},a.prototype.forceRed=function(P){return u(!this.red,&quot;Already a number in reduction context&quot;),this._forceRed(P)},a.prototype.redAdd=function(P){return u(this.red,&quot;redAdd works only with red numbers&quot;),this.red.add(this,P)},a.prototype.redIAdd=function(P){return u(this.red,&quot;redIAdd works only with red numbers&quot;),this.red.iadd(this,P)},a.prototype.redSub=function(P){return u(this.red,&quot;redSub works only with red numbers&quot;),this.red.sub(this,P)},a.prototype.redISub=function(P){return u(this.red,&quot;redISub works only with red numbers&quot;),this.red.isub(this,P)},a.prototype.redShl=function(P){return u(this.red,&quot;redShl works only with red numbers&quot;),this.red.shl(this,P)},a.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)},a.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)},a.prototype.redSqr=function(){return u(this.red,&quot;redSqr works only with red numbers&quot;),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return u(this.red,&quot;redISqr works only with red numbers&quot;),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return u(this.red,&quot;redSqrt works only with red numbers&quot;),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return u(this.red,&quot;redInvm works only with red numbers&quot;),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return u(this.red,&quot;redNeg works only with red numbers&quot;),this.red._verify1(this),this.red.neg(this)},a.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 M={k256:null,p224:null,p192:null,p25519:null};function T(P,L){this.name=P,this.p=new a(L,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function $(){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 q(P){if(typeof P==&quot;string&quot;){var L=a._prime(P);this.m=L.p,this.prime=L}else u(P.gtn(1),&quot;modulus must be greater than 1&quot;),this.m=P,this.prime=null}function K(P){q.call(this,P),this.shift=this.m.bitLength(),this.shift%26!=0&amp;&amp;(this.shift+=26-this.shift%26),this.r=new a(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 a(null);return P.words=new Array(Math.ceil(this.n/13)),P},T.prototype.ireduce=function(P){var L,E=P;do this.split(E,this.tmp),L=(E=(E=this.imulK(E)).iadd(this.tmp)).bitLength();while(L&gt;this.n);var j=L&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,L){P.iushrn(this.n,0,L)},T.prototype.imulK=function(P){return P.imul(this.k)},c($,T),$.prototype.split=function(P,L){for(var E=Math.min(P.length,9),j=0;j&lt;E;j++)L.words[j]=P.words[j];if(L.length=E,P.length&lt;=9)return P.words[0]=0,void(P.length=1);var k=P.words[9];for(L.words[L.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},$.prototype.imulK=function(P){P.words[P.length]=0,P.words[P.length+1]=0,P.length+=2;for(var L=0,E=0;E&lt;P.length;E++){var j=0|P.words[E];L+=977*j,P.words[E]=67108863&amp;L,L=64*j+(L/67108864|0)}return P.words[P.length-1]===0&amp;&amp;(P.length--,P.words[P.length-1]===0&amp;&amp;P.length--),P},c(F,T),c(H,T),c(W,T),W.prototype.imulK=function(P){for(var L=0,E=0;E&lt;P.length;E++){var j=19*(0|P.words[E])+L,k=67108863&amp;j;j&gt;&gt;&gt;=26,P.words[E]=k,L=j}return L!==0&amp;&amp;(P.words[P.length++]=L),P},a._prime=function(P){if(M[P])return M[P];var L;if(P===&quot;k256&quot;)L=new $;else if(P===&quot;p224&quot;)L=new F;else if(P===&quot;p192&quot;)L=new H;else{if(P!==&quot;p25519&quot;)throw new Error(&quot;Unknown prime &quot;+P);L=new W}return M[P]=L,L},q.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;)},q.prototype._verify2=function(P,L){u((P.negative|L.negative)==0,&quot;red works only with positives&quot;),u(P.red&amp;&amp;P.red===L.red,&quot;red works only with red numbers&quot;)},q.prototype.imod=function(P){return this.prime?this.prime.ireduce(P)._forceRed(this):P.umod(this.m)._forceRed(this)},q.prototype.neg=function(P){return P.isZero()?P.clone():this.m.sub(P)._forceRed(this)},q.prototype.add=function(P,L){this._verify2(P,L);var E=P.add(L);return E.cmp(this.m)&gt;=0&amp;&amp;E.isub(this.m),E._forceRed(this)},q.prototype.iadd=function(P,L){this._verify2(P,L);var E=P.iadd(L);return E.cmp(this.m)&gt;=0&amp;&amp;E.isub(this.m),E},q.prototype.sub=function(P,L){this._verify2(P,L);var E=P.sub(L);return E.cmpn(0)&lt;0&amp;&amp;E.iadd(this.m),E._forceRed(this)},q.prototype.isub=function(P,L){this._verify2(P,L);var E=P.isub(L);return E.cmpn(0)&lt;0&amp;&amp;E.iadd(this.m),E},q.prototype.shl=function(P,L){return this._verify1(P),this.imod(P.ushln(L))},q.prototype.imul=function(P,L){return this._verify2(P,L),this.imod(P.imul(L))},q.prototype.mul=function(P,L){return this._verify2(P,L),this.imod(P.mul(L))},q.prototype.isqr=function(P){return this.imul(P,P.clone())},q.prototype.sqr=function(P){return this.mul(P,P)},q.prototype.sqrt=function(P){if(P.isZero())return P.clone();var L=this.m.andln(3);if(u(L%2==1),L===3){var E=this.m.add(new a(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 a(1).toRed(this),N=S.redNeg(),O=this.m.subn(1).iushrn(1),D=this.m.bitLength();for(D=new a(2*D*D).toRed(this);this.pow(D,O).cmp(N)!==0;)D.redIAdd(N);for(var B=this.pow(D,j),Y=this.pow(P,j.addn(1).iushrn(1)),Z=this.pow(P,j),ne=k;Z.cmp(S)!==0;){for(var V=Z,ee=0;V.cmp(S)!==0;ee++)V=V.redSqr();u(ee&lt;ne);var z=this.pow(B,new a(1).iushln(ne-ee-1));Y=Y.redMul(z),B=z.redSqr(),Z=Z.redMul(B),ne=ee}return Y},q.prototype.invm=function(P){var L=P._invmp(this.m);return L.negative!==0?(L.negative=0,this.imod(L).redNeg()):this.imod(L)},q.prototype.pow=function(P,L){if(L.isZero())return new a(1).toRed(this);if(L.cmpn(1)===0)return P.clone();var E=new Array(16);E[0]=new a(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,O=L.bitLength()%26;for(O===0&amp;&amp;(O=26),j=L.length-1;j&gt;=0;j--){for(var D=L.words[j],B=O-1;B&gt;=0;B--){var Y=D&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}O=26}return k},q.prototype.convertTo=function(P){var L=P.umod(this.m);return L===P?L.clone():L},q.prototype.convertFrom=function(P){var L=P.clone();return L.red=null,L},a.mont=function(P){return new K(P)},c(K,q),K.prototype.convertTo=function(P){return this.imod(P.ushln(this.shift))},K.prototype.convertFrom=function(P){var L=this.imod(P.mul(this.rinv));return L.red=null,L},K.prototype.imul=function(P,L){if(P.isZero()||L.isZero())return P.words[0]=0,P.length=1,P;var E=P.imul(L),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)},K.prototype.mul=function(P,L){if(P.isZero()||L.isZero())return new a(0)._forceRed(this);var E=P.mul(L),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)},K.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,l){l.byteLength=function(m){var p=f(m),x=p[0],g=p[1];return 3*(x+g)/4-g},l.toByteArray=function(m){var p,x,g=f(m),y=g[0],v=g[1],_=new u((function(T,$,F){return 3*($+F)/4-F})(0,y,v)),C=0,M=v&gt;0?y-4:y;for(x=0;x&lt;M;x+=4)p=o[m.charCodeAt(x)]&lt;&lt;18|o[m.charCodeAt(x+1)]&lt;&lt;12|o[m.charCodeAt(x+2)]&lt;&lt;6|o[m.charCodeAt(x+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=o[m.charCodeAt(x)]&lt;&lt;2|o[m.charCodeAt(x+1)]&gt;&gt;4,_[C++]=255&amp;p),v===1&amp;&amp;(p=o[m.charCodeAt(x)]&lt;&lt;10|o[m.charCodeAt(x+1)]&lt;&lt;4|o[m.charCodeAt(x+2)]&gt;&gt;2,_[C++]=p&gt;&gt;8&amp;255,_[C++]=255&amp;p),_},l.fromByteArray=function(m){for(var p,x=m.length,g=x%3,y=[],v=0,_=x-g;v&lt;_;v+=16383)y.push(h(m,v,v+16383&gt;_?_:v+16383));return g===1?(p=m[x-1],y.push(i[p&gt;&gt;2]+i[p&lt;&lt;4&amp;63]+&quot;==&quot;)):g===2&amp;&amp;(p=(m[x-2]&lt;&lt;8)+m[x-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=[],o=[],u=typeof Uint8Array&lt;&quot;u&quot;?Uint8Array:Array,c=&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/&quot;,a=0,d=c.length;a&lt;d;++a)i[a]=c[a],o[c.charCodeAt(a)]=a;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 x=m.indexOf(&quot;=&quot;);return x===-1&amp;&amp;(x=p),[x,x===p?0:4-x%4]}function h(m,p,x){for(var g,y,v=[],_=p;_&lt;x;_+=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;)}o[45]=62,o[95]=63},{}],186:[function(t,n,l){(function(i,o){function u(E,j){if(!E)throw new Error(j||&quot;Assertion failed&quot;)}function c(E,j){E.super_=j;var k=function(){};k.prototype=j.prototype,E.prototype=new k,E.prototype.constructor=E}function a(E,j,k){if(a.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=a:(void 0).BN=a,a.BN=a,a.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,O=0,D=Math.min(E.length,k),B=j;B&lt;D;B++){var Y=E.charCodeAt(B)-48;N*=S,O=Y&gt;=49?Y-49+10:Y&gt;=17?Y-17+10:Y,u(Y&gt;=0&amp;&amp;O&lt;S,&quot;Invalid character&quot;),N+=O}return N}function p(E,j){E.words=j.words,E.length=j.length,E.negative=j.negative,E.red=j.red}if(a.isBN=function(E){return E instanceof a||E!==null&amp;&amp;typeof E==&quot;object&quot;&amp;&amp;E.constructor.wordSize===a.wordSize&amp;&amp;Array.isArray(E.words)},a.max=function(E,j){return E.cmp(j)&gt;0?E:j},a.min=function(E,j){return E.cmp(j)&lt;0?E:j},a.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)))},a.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)},a.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,O,D=0;if(k===&quot;be&quot;)for(S=E.length-1,N=0;S&gt;=0;S-=3)O=E[S]|E[S-1]&lt;&lt;8|E[S-2]&lt;&lt;16,this.words[N]|=O&lt;&lt;D&amp;67108863,this.words[N+1]=O&gt;&gt;&gt;26-D&amp;67108863,(D+=24)&gt;=26&amp;&amp;(D-=26,N++);else if(k===&quot;le&quot;)for(S=0,N=0;S&lt;E.length;S+=3)O=E[S]|E[S+1]&lt;&lt;8|E[S+2]&lt;&lt;16,this.words[N]|=O&lt;&lt;D&amp;67108863,this.words[N+1]=O&gt;&gt;&gt;26-D&amp;67108863,(D+=24)&gt;=26&amp;&amp;(D-=26,N++);return this._strip()},a.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,O=0,D=0;if(k===&quot;be&quot;)for(S=E.length-1;S&gt;=j;S-=2)N=h(E,j,S)&lt;&lt;O,this.words[D]|=67108863&amp;N,O&gt;=18?(O-=18,D+=1,this.words[D]|=N&gt;&gt;&gt;26):O+=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;O,this.words[D]|=67108863&amp;N,O&gt;=18?(O-=18,D+=1,this.words[D]|=N&gt;&gt;&gt;26):O+=8;this._strip()},a.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 O=E.length-k,D=O%S,B=Math.min(O,O-D)+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(D!==0){var ne=1;for(Y=m(E,Z,E.length,j),Z=0;Z&lt;D;Z++)ne*=j;this.imuln(ne),this.words[0]+Y&lt;67108864?this.words[0]+=Y:this._iaddn(Y)}this._strip()},a.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},a.prototype._move=function(E){p(E,this)},a.prototype.clone=function(){var E=new a(null);return this.copy(E),E},a.prototype._expand=function(E){for(;this.length&lt;E;)this.words[this.length++]=0;return this},a.prototype._strip=function(){for(;this.length&gt;1&amp;&amp;this.words[this.length-1]===0;)this.length--;return this._normSign()},a.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{a.prototype[Symbol.for(&quot;nodejs.util.inspect.custom&quot;)]=x}catch{a.prototype.inspect=x}else a.prototype.inspect=x;function x(){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];a.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,O=0;O&lt;this.length;O++){var D=this.words[O],B=(16777215&amp;(D&lt;&lt;S|N)).toString(16);N=D&gt;&gt;&gt;24-S&amp;16777215,(S+=2)&gt;=26&amp;&amp;(S-=26,O--),k=N!==0||O!==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 ne=this.clone();for(ne.negative=0;!ne.isZero();){var V=ne.modrn(Z).toString(E);k=(ne=ne.idivn(Z)).isZero()?V+k:g[Y-V.length]+V+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;)},a.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},a.prototype.toJSON=function(){return this.toString(16,2)},d&amp;&amp;(a.prototype.toBuffer=function(E,j){return this.toArrayLike(d,E,j)}),a.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],O=0|j.words[0],D=N*O,B=67108863&amp;D,Y=D/67108864|0;k.words[0]=B;for(var Z=1;Z&lt;S;Z++){for(var ne=Y&gt;&gt;&gt;26,V=67108863&amp;Y,ee=Math.min(Z,j.length-1),z=Math.max(0,Z-E.length+1);z&lt;=ee;z++){var R=Z-z|0;ne+=(D=(N=0|E.words[R])*(O=0|j.words[z])+V)/67108864|0,V=67108863&amp;D}k.words[Z]=0|V,Y=0|ne}return Y!==0?k.words[Z]=0|Y:k.length--,k._strip()}a.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 O=(function(D,B){return D.allocUnsafe?D.allocUnsafe(B):new D(B)})(E,N);return this[&quot;_toArrayLike&quot;+(j===&quot;le&quot;?&quot;LE&quot;:&quot;BE&quot;)](O,S),O},a.prototype._toArrayLikeLE=function(E,j){for(var k=0,S=0,N=0,O=0;N&lt;this.length;N++){var D=this.words[N]&lt;&lt;O|S;E[k++]=255&amp;D,k&lt;E.length&amp;&amp;(E[k++]=D&gt;&gt;8&amp;255),k&lt;E.length&amp;&amp;(E[k++]=D&gt;&gt;16&amp;255),O===6?(k&lt;E.length&amp;&amp;(E[k++]=D&gt;&gt;24&amp;255),S=0,O=0):(S=D&gt;&gt;&gt;24,O+=2)}if(k&lt;E.length)for(E[k++]=S;k&lt;E.length;)E[k++]=0},a.prototype._toArrayLikeBE=function(E,j){for(var k=E.length-1,S=0,N=0,O=0;N&lt;this.length;N++){var D=this.words[N]&lt;&lt;O|S;E[k--]=255&amp;D,k&gt;=0&amp;&amp;(E[k--]=D&gt;&gt;8&amp;255),k&gt;=0&amp;&amp;(E[k--]=D&gt;&gt;16&amp;255),O===6?(k&gt;=0&amp;&amp;(E[k--]=D&gt;&gt;24&amp;255),S=0,O=0):(S=D&gt;&gt;&gt;24,O+=2)}if(k&gt;=0)for(E[k--]=S;k&gt;=0;)E[k--]=0},Math.clz32?a.prototype._countBits=function(E){return 32-Math.clz32(E)}:a.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},a.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},a.prototype.bitLength=function(){var E=this.words[this.length-1],j=this._countBits(E);return 26*(this.length-1)+j},a.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},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(E){return this.negative!==0?this.abs().inotn(E).iaddn(1):this.clone()},a.prototype.fromTwos=function(E){return this.testn(E-1)?this.notn(E).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return this.negative!==0},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.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()},a.prototype.ior=function(E){return u((this.negative|E.negative)==0),this.iuor(E)},a.prototype.or=function(E){return this.length&gt;E.length?this.clone().ior(E):E.clone().ior(this)},a.prototype.uor=function(E){return this.length&gt;E.length?this.clone().iuor(E):E.clone().iuor(this)},a.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()},a.prototype.iand=function(E){return u((this.negative|E.negative)==0),this.iuand(E)},a.prototype.and=function(E){return this.length&gt;E.length?this.clone().iand(E):E.clone().iand(this)},a.prototype.uand=function(E){return this.length&gt;E.length?this.clone().iuand(E):E.clone().iuand(this)},a.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()},a.prototype.ixor=function(E){return u((this.negative|E.negative)==0),this.iuxor(E)},a.prototype.xor=function(E){return this.length&gt;E.length?this.clone().ixor(E):E.clone().ixor(this)},a.prototype.uxor=function(E){return this.length&gt;E.length?this.clone().iuxor(E):E.clone().iuxor(this)},a.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()},a.prototype.notn=function(E){return this.clone().inotn(E)},a.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()},a.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,O=0;O&lt;S.length;O++)j=(0|k.words[O])+(0|S.words[O])+N,this.words[O]=67108863&amp;j,N=j&gt;&gt;&gt;26;for(;N!==0&amp;&amp;O&lt;k.length;O++)j=(0|k.words[O])+N,this.words[O]=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(;O&lt;k.length;O++)this.words[O]=k.words[O];return this},a.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)},a.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 O=0,D=0;D&lt;S.length;D++)O=(j=(0|k.words[D])-(0|S.words[D])+O)&gt;&gt;26,this.words[D]=67108863&amp;j;for(;O!==0&amp;&amp;D&lt;k.length;D++)O=(j=(0|k.words[D])+O)&gt;&gt;26,this.words[D]=67108863&amp;j;if(O===0&amp;&amp;D&lt;k.length&amp;&amp;k!==this)for(;D&lt;k.length;D++)this.words[D]=k.words[D];return this.length=Math.max(this.length,D),k!==this&amp;&amp;(this.negative=1),this._strip()},a.prototype.sub=function(E){return this.clone().isub(E)};var C=function(E,j,k){var S,N,O,D=E.words,B=j.words,Y=k.words,Z=0,ne=0|D[0],V=8191&amp;ne,ee=ne&gt;&gt;&gt;13,z=0|D[1],R=8191&amp;z,X=z&gt;&gt;&gt;13,re=0|D[2],Q=8191&amp;re,te=re&gt;&gt;&gt;13,se=0|D[3],de=8191&amp;se,ce=se&gt;&gt;&gt;13,ie=0|D[4],fe=8191&amp;ie,oe=ie&gt;&gt;&gt;13,ge=0|D[5],xe=8191&amp;ge,pe=ge&gt;&gt;&gt;13,ue=0|D[6],we=8191&amp;ue,ke=ue&gt;&gt;&gt;13,Te=0|D[7],je=8191&amp;Te,De=Te&gt;&gt;&gt;13,Xe=0|D[8],Ve=8191&amp;Xe,et=Xe&gt;&gt;&gt;13,st=0|D[9],Ge=8191&amp;st,ze=st&gt;&gt;&gt;13,Qe=0|B[0],rt=8191&amp;Qe,Ae=Qe&gt;&gt;&gt;13,ut=0|B[1],$t=8191&amp;ut,ht=ut&gt;&gt;&gt;13,Tt=0|B[2],It=8191&amp;Tt,Et=Tt&gt;&gt;&gt;13,Ut=0|B[3],qt=8191&amp;Ut,yt=Ut&gt;&gt;&gt;13,Rt=0|B[4],Xt=8191&amp;Rt,dt=Rt&gt;&gt;&gt;13,Ft=0|B[5],Ht=8191&amp;Ft,Nt=Ft&gt;&gt;&gt;13,be=0|B[6],Ne=8191&amp;be,Ie=be&gt;&gt;&gt;13,Ke=0|B[7],vt=8191&amp;Ke,Je=Ke&gt;&gt;&gt;13,St=0|B[8],wt=8191&amp;St,ot=St&gt;&gt;&gt;13,At=0|B[9],Ct=8191&amp;At,Dt=At&gt;&gt;&gt;13;k.negative=E.negative^j.negative,k.length=19;var or=(Z+(S=Math.imul(V,rt))|0)+((8191&amp;(N=(N=Math.imul(V,Ae))+Math.imul(ee,rt)|0))&lt;&lt;13)|0;Z=((O=Math.imul(ee,Ae))+(N&gt;&gt;&gt;13)|0)+(or&gt;&gt;&gt;26)|0,or&amp;=67108863,S=Math.imul(R,rt),N=(N=Math.imul(R,Ae))+Math.imul(X,rt)|0,O=Math.imul(X,Ae);var Gt=(Z+(S=S+Math.imul(V,$t)|0)|0)+((8191&amp;(N=(N=N+Math.imul(V,ht)|0)+Math.imul(ee,$t)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(ee,ht)|0)+(N&gt;&gt;&gt;13)|0)+(Gt&gt;&gt;&gt;26)|0,Gt&amp;=67108863,S=Math.imul(Q,rt),N=(N=Math.imul(Q,Ae))+Math.imul(te,rt)|0,O=Math.imul(te,Ae),S=S+Math.imul(R,$t)|0,N=(N=N+Math.imul(R,ht)|0)+Math.imul(X,$t)|0,O=O+Math.imul(X,ht)|0;var nr=(Z+(S=S+Math.imul(V,It)|0)|0)+((8191&amp;(N=(N=N+Math.imul(V,Et)|0)+Math.imul(ee,It)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(ee,Et)|0)+(N&gt;&gt;&gt;13)|0)+(nr&gt;&gt;&gt;26)|0,nr&amp;=67108863,S=Math.imul(de,rt),N=(N=Math.imul(de,Ae))+Math.imul(ce,rt)|0,O=Math.imul(ce,Ae),S=S+Math.imul(Q,$t)|0,N=(N=N+Math.imul(Q,ht)|0)+Math.imul(te,$t)|0,O=O+Math.imul(te,ht)|0,S=S+Math.imul(R,It)|0,N=(N=N+Math.imul(R,Et)|0)+Math.imul(X,It)|0,O=O+Math.imul(X,Et)|0;var ur=(Z+(S=S+Math.imul(V,qt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(V,yt)|0)+Math.imul(ee,qt)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(ee,yt)|0)+(N&gt;&gt;&gt;13)|0)+(ur&gt;&gt;&gt;26)|0,ur&amp;=67108863,S=Math.imul(fe,rt),N=(N=Math.imul(fe,Ae))+Math.imul(oe,rt)|0,O=Math.imul(oe,Ae),S=S+Math.imul(de,$t)|0,N=(N=N+Math.imul(de,ht)|0)+Math.imul(ce,$t)|0,O=O+Math.imul(ce,ht)|0,S=S+Math.imul(Q,It)|0,N=(N=N+Math.imul(Q,Et)|0)+Math.imul(te,It)|0,O=O+Math.imul(te,Et)|0,S=S+Math.imul(R,qt)|0,N=(N=N+Math.imul(R,yt)|0)+Math.imul(X,qt)|0,O=O+Math.imul(X,yt)|0;var Ar=(Z+(S=S+Math.imul(V,Xt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(V,dt)|0)+Math.imul(ee,Xt)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(ee,dt)|0)+(N&gt;&gt;&gt;13)|0)+(Ar&gt;&gt;&gt;26)|0,Ar&amp;=67108863,S=Math.imul(xe,rt),N=(N=Math.imul(xe,Ae))+Math.imul(pe,rt)|0,O=Math.imul(pe,Ae),S=S+Math.imul(fe,$t)|0,N=(N=N+Math.imul(fe,ht)|0)+Math.imul(oe,$t)|0,O=O+Math.imul(oe,ht)|0,S=S+Math.imul(de,It)|0,N=(N=N+Math.imul(de,Et)|0)+Math.imul(ce,It)|0,O=O+Math.imul(ce,Et)|0,S=S+Math.imul(Q,qt)|0,N=(N=N+Math.imul(Q,yt)|0)+Math.imul(te,qt)|0,O=O+Math.imul(te,yt)|0,S=S+Math.imul(R,Xt)|0,N=(N=N+Math.imul(R,dt)|0)+Math.imul(X,Xt)|0,O=O+Math.imul(X,dt)|0;var he=(Z+(S=S+Math.imul(V,Ht)|0)|0)+((8191&amp;(N=(N=N+Math.imul(V,Nt)|0)+Math.imul(ee,Ht)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(ee,Nt)|0)+(N&gt;&gt;&gt;13)|0)+(he&gt;&gt;&gt;26)|0,he&amp;=67108863,S=Math.imul(we,rt),N=(N=Math.imul(we,Ae))+Math.imul(ke,rt)|0,O=Math.imul(ke,Ae),S=S+Math.imul(xe,$t)|0,N=(N=N+Math.imul(xe,ht)|0)+Math.imul(pe,$t)|0,O=O+Math.imul(pe,ht)|0,S=S+Math.imul(fe,It)|0,N=(N=N+Math.imul(fe,Et)|0)+Math.imul(oe,It)|0,O=O+Math.imul(oe,Et)|0,S=S+Math.imul(de,qt)|0,N=(N=N+Math.imul(de,yt)|0)+Math.imul(ce,qt)|0,O=O+Math.imul(ce,yt)|0,S=S+Math.imul(Q,Xt)|0,N=(N=N+Math.imul(Q,dt)|0)+Math.imul(te,Xt)|0,O=O+Math.imul(te,dt)|0,S=S+Math.imul(R,Ht)|0,N=(N=N+Math.imul(R,Nt)|0)+Math.imul(X,Ht)|0,O=O+Math.imul(X,Nt)|0;var ve=(Z+(S=S+Math.imul(V,Ne)|0)|0)+((8191&amp;(N=(N=N+Math.imul(V,Ie)|0)+Math.imul(ee,Ne)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(ee,Ie)|0)+(N&gt;&gt;&gt;13)|0)+(ve&gt;&gt;&gt;26)|0,ve&amp;=67108863,S=Math.imul(je,rt),N=(N=Math.imul(je,Ae))+Math.imul(De,rt)|0,O=Math.imul(De,Ae),S=S+Math.imul(we,$t)|0,N=(N=N+Math.imul(we,ht)|0)+Math.imul(ke,$t)|0,O=O+Math.imul(ke,ht)|0,S=S+Math.imul(xe,It)|0,N=(N=N+Math.imul(xe,Et)|0)+Math.imul(pe,It)|0,O=O+Math.imul(pe,Et)|0,S=S+Math.imul(fe,qt)|0,N=(N=N+Math.imul(fe,yt)|0)+Math.imul(oe,qt)|0,O=O+Math.imul(oe,yt)|0,S=S+Math.imul(de,Xt)|0,N=(N=N+Math.imul(de,dt)|0)+Math.imul(ce,Xt)|0,O=O+Math.imul(ce,dt)|0,S=S+Math.imul(Q,Ht)|0,N=(N=N+Math.imul(Q,Nt)|0)+Math.imul(te,Ht)|0,O=O+Math.imul(te,Nt)|0,S=S+Math.imul(R,Ne)|0,N=(N=N+Math.imul(R,Ie)|0)+Math.imul(X,Ne)|0,O=O+Math.imul(X,Ie)|0;var Le=(Z+(S=S+Math.imul(V,vt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(V,Je)|0)+Math.imul(ee,vt)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(ee,Je)|0)+(N&gt;&gt;&gt;13)|0)+(Le&gt;&gt;&gt;26)|0,Le&amp;=67108863,S=Math.imul(Ve,rt),N=(N=Math.imul(Ve,Ae))+Math.imul(et,rt)|0,O=Math.imul(et,Ae),S=S+Math.imul(je,$t)|0,N=(N=N+Math.imul(je,ht)|0)+Math.imul(De,$t)|0,O=O+Math.imul(De,ht)|0,S=S+Math.imul(we,It)|0,N=(N=N+Math.imul(we,Et)|0)+Math.imul(ke,It)|0,O=O+Math.imul(ke,Et)|0,S=S+Math.imul(xe,qt)|0,N=(N=N+Math.imul(xe,yt)|0)+Math.imul(pe,qt)|0,O=O+Math.imul(pe,yt)|0,S=S+Math.imul(fe,Xt)|0,N=(N=N+Math.imul(fe,dt)|0)+Math.imul(oe,Xt)|0,O=O+Math.imul(oe,dt)|0,S=S+Math.imul(de,Ht)|0,N=(N=N+Math.imul(de,Nt)|0)+Math.imul(ce,Ht)|0,O=O+Math.imul(ce,Nt)|0,S=S+Math.imul(Q,Ne)|0,N=(N=N+Math.imul(Q,Ie)|0)+Math.imul(te,Ne)|0,O=O+Math.imul(te,Ie)|0,S=S+Math.imul(R,vt)|0,N=(N=N+Math.imul(R,Je)|0)+Math.imul(X,vt)|0,O=O+Math.imul(X,Je)|0;var $e=(Z+(S=S+Math.imul(V,wt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(V,ot)|0)+Math.imul(ee,wt)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(ee,ot)|0)+(N&gt;&gt;&gt;13)|0)+($e&gt;&gt;&gt;26)|0,$e&amp;=67108863,S=Math.imul(Ge,rt),N=(N=Math.imul(Ge,Ae))+Math.imul(ze,rt)|0,O=Math.imul(ze,Ae),S=S+Math.imul(Ve,$t)|0,N=(N=N+Math.imul(Ve,ht)|0)+Math.imul(et,$t)|0,O=O+Math.imul(et,ht)|0,S=S+Math.imul(je,It)|0,N=(N=N+Math.imul(je,Et)|0)+Math.imul(De,It)|0,O=O+Math.imul(De,Et)|0,S=S+Math.imul(we,qt)|0,N=(N=N+Math.imul(we,yt)|0)+Math.imul(ke,qt)|0,O=O+Math.imul(ke,yt)|0,S=S+Math.imul(xe,Xt)|0,N=(N=N+Math.imul(xe,dt)|0)+Math.imul(pe,Xt)|0,O=O+Math.imul(pe,dt)|0,S=S+Math.imul(fe,Ht)|0,N=(N=N+Math.imul(fe,Nt)|0)+Math.imul(oe,Ht)|0,O=O+Math.imul(oe,Nt)|0,S=S+Math.imul(de,Ne)|0,N=(N=N+Math.imul(de,Ie)|0)+Math.imul(ce,Ne)|0,O=O+Math.imul(ce,Ie)|0,S=S+Math.imul(Q,vt)|0,N=(N=N+Math.imul(Q,Je)|0)+Math.imul(te,vt)|0,O=O+Math.imul(te,Je)|0,S=S+Math.imul(R,wt)|0,N=(N=N+Math.imul(R,ot)|0)+Math.imul(X,wt)|0,O=O+Math.imul(X,ot)|0;var ct=(Z+(S=S+Math.imul(V,Ct)|0)|0)+((8191&amp;(N=(N=N+Math.imul(V,Dt)|0)+Math.imul(ee,Ct)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(ee,Dt)|0)+(N&gt;&gt;&gt;13)|0)+(ct&gt;&gt;&gt;26)|0,ct&amp;=67108863,S=Math.imul(Ge,$t),N=(N=Math.imul(Ge,ht))+Math.imul(ze,$t)|0,O=Math.imul(ze,ht),S=S+Math.imul(Ve,It)|0,N=(N=N+Math.imul(Ve,Et)|0)+Math.imul(et,It)|0,O=O+Math.imul(et,Et)|0,S=S+Math.imul(je,qt)|0,N=(N=N+Math.imul(je,yt)|0)+Math.imul(De,qt)|0,O=O+Math.imul(De,yt)|0,S=S+Math.imul(we,Xt)|0,N=(N=N+Math.imul(we,dt)|0)+Math.imul(ke,Xt)|0,O=O+Math.imul(ke,dt)|0,S=S+Math.imul(xe,Ht)|0,N=(N=N+Math.imul(xe,Nt)|0)+Math.imul(pe,Ht)|0,O=O+Math.imul(pe,Nt)|0,S=S+Math.imul(fe,Ne)|0,N=(N=N+Math.imul(fe,Ie)|0)+Math.imul(oe,Ne)|0,O=O+Math.imul(oe,Ie)|0,S=S+Math.imul(de,vt)|0,N=(N=N+Math.imul(de,Je)|0)+Math.imul(ce,vt)|0,O=O+Math.imul(ce,Je)|0,S=S+Math.imul(Q,wt)|0,N=(N=N+Math.imul(Q,ot)|0)+Math.imul(te,wt)|0,O=O+Math.imul(te,ot)|0;var Fe=(Z+(S=S+Math.imul(R,Ct)|0)|0)+((8191&amp;(N=(N=N+Math.imul(R,Dt)|0)+Math.imul(X,Ct)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(X,Dt)|0)+(N&gt;&gt;&gt;13)|0)+(Fe&gt;&gt;&gt;26)|0,Fe&amp;=67108863,S=Math.imul(Ge,It),N=(N=Math.imul(Ge,Et))+Math.imul(ze,It)|0,O=Math.imul(ze,Et),S=S+Math.imul(Ve,qt)|0,N=(N=N+Math.imul(Ve,yt)|0)+Math.imul(et,qt)|0,O=O+Math.imul(et,yt)|0,S=S+Math.imul(je,Xt)|0,N=(N=N+Math.imul(je,dt)|0)+Math.imul(De,Xt)|0,O=O+Math.imul(De,dt)|0,S=S+Math.imul(we,Ht)|0,N=(N=N+Math.imul(we,Nt)|0)+Math.imul(ke,Ht)|0,O=O+Math.imul(ke,Nt)|0,S=S+Math.imul(xe,Ne)|0,N=(N=N+Math.imul(xe,Ie)|0)+Math.imul(pe,Ne)|0,O=O+Math.imul(pe,Ie)|0,S=S+Math.imul(fe,vt)|0,N=(N=N+Math.imul(fe,Je)|0)+Math.imul(oe,vt)|0,O=O+Math.imul(oe,Je)|0,S=S+Math.imul(de,wt)|0,N=(N=N+Math.imul(de,ot)|0)+Math.imul(ce,wt)|0,O=O+Math.imul(ce,ot)|0;var Ye=(Z+(S=S+Math.imul(Q,Ct)|0)|0)+((8191&amp;(N=(N=N+Math.imul(Q,Dt)|0)+Math.imul(te,Ct)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(te,Dt)|0)+(N&gt;&gt;&gt;13)|0)+(Ye&gt;&gt;&gt;26)|0,Ye&amp;=67108863,S=Math.imul(Ge,qt),N=(N=Math.imul(Ge,yt))+Math.imul(ze,qt)|0,O=Math.imul(ze,yt),S=S+Math.imul(Ve,Xt)|0,N=(N=N+Math.imul(Ve,dt)|0)+Math.imul(et,Xt)|0,O=O+Math.imul(et,dt)|0,S=S+Math.imul(je,Ht)|0,N=(N=N+Math.imul(je,Nt)|0)+Math.imul(De,Ht)|0,O=O+Math.imul(De,Nt)|0,S=S+Math.imul(we,Ne)|0,N=(N=N+Math.imul(we,Ie)|0)+Math.imul(ke,Ne)|0,O=O+Math.imul(ke,Ie)|0,S=S+Math.imul(xe,vt)|0,N=(N=N+Math.imul(xe,Je)|0)+Math.imul(pe,vt)|0,O=O+Math.imul(pe,Je)|0,S=S+Math.imul(fe,wt)|0,N=(N=N+Math.imul(fe,ot)|0)+Math.imul(oe,wt)|0,O=O+Math.imul(oe,ot)|0;var Ce=(Z+(S=S+Math.imul(de,Ct)|0)|0)+((8191&amp;(N=(N=N+Math.imul(de,Dt)|0)+Math.imul(ce,Ct)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(ce,Dt)|0)+(N&gt;&gt;&gt;13)|0)+(Ce&gt;&gt;&gt;26)|0,Ce&amp;=67108863,S=Math.imul(Ge,Xt),N=(N=Math.imul(Ge,dt))+Math.imul(ze,Xt)|0,O=Math.imul(ze,dt),S=S+Math.imul(Ve,Ht)|0,N=(N=N+Math.imul(Ve,Nt)|0)+Math.imul(et,Ht)|0,O=O+Math.imul(et,Nt)|0,S=S+Math.imul(je,Ne)|0,N=(N=N+Math.imul(je,Ie)|0)+Math.imul(De,Ne)|0,O=O+Math.imul(De,Ie)|0,S=S+Math.imul(we,vt)|0,N=(N=N+Math.imul(we,Je)|0)+Math.imul(ke,vt)|0,O=O+Math.imul(ke,Je)|0,S=S+Math.imul(xe,wt)|0,N=(N=N+Math.imul(xe,ot)|0)+Math.imul(pe,wt)|0,O=O+Math.imul(pe,ot)|0;var nt=(Z+(S=S+Math.imul(fe,Ct)|0)|0)+((8191&amp;(N=(N=N+Math.imul(fe,Dt)|0)+Math.imul(oe,Ct)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(oe,Dt)|0)+(N&gt;&gt;&gt;13)|0)+(nt&gt;&gt;&gt;26)|0,nt&amp;=67108863,S=Math.imul(Ge,Ht),N=(N=Math.imul(Ge,Nt))+Math.imul(ze,Ht)|0,O=Math.imul(ze,Nt),S=S+Math.imul(Ve,Ne)|0,N=(N=N+Math.imul(Ve,Ie)|0)+Math.imul(et,Ne)|0,O=O+Math.imul(et,Ie)|0,S=S+Math.imul(je,vt)|0,N=(N=N+Math.imul(je,Je)|0)+Math.imul(De,vt)|0,O=O+Math.imul(De,Je)|0,S=S+Math.imul(we,wt)|0,N=(N=N+Math.imul(we,ot)|0)+Math.imul(ke,wt)|0,O=O+Math.imul(ke,ot)|0;var it=(Z+(S=S+Math.imul(xe,Ct)|0)|0)+((8191&amp;(N=(N=N+Math.imul(xe,Dt)|0)+Math.imul(pe,Ct)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(pe,Dt)|0)+(N&gt;&gt;&gt;13)|0)+(it&gt;&gt;&gt;26)|0,it&amp;=67108863,S=Math.imul(Ge,Ne),N=(N=Math.imul(Ge,Ie))+Math.imul(ze,Ne)|0,O=Math.imul(ze,Ie),S=S+Math.imul(Ve,vt)|0,N=(N=N+Math.imul(Ve,Je)|0)+Math.imul(et,vt)|0,O=O+Math.imul(et,Je)|0,S=S+Math.imul(je,wt)|0,N=(N=N+Math.imul(je,ot)|0)+Math.imul(De,wt)|0,O=O+Math.imul(De,ot)|0;var at=(Z+(S=S+Math.imul(we,Ct)|0)|0)+((8191&amp;(N=(N=N+Math.imul(we,Dt)|0)+Math.imul(ke,Ct)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(ke,Dt)|0)+(N&gt;&gt;&gt;13)|0)+(at&gt;&gt;&gt;26)|0,at&amp;=67108863,S=Math.imul(Ge,vt),N=(N=Math.imul(Ge,Je))+Math.imul(ze,vt)|0,O=Math.imul(ze,Je),S=S+Math.imul(Ve,wt)|0,N=(N=N+Math.imul(Ve,ot)|0)+Math.imul(et,wt)|0,O=O+Math.imul(et,ot)|0;var Mt=(Z+(S=S+Math.imul(je,Ct)|0)|0)+((8191&amp;(N=(N=N+Math.imul(je,Dt)|0)+Math.imul(De,Ct)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(De,Dt)|0)+(N&gt;&gt;&gt;13)|0)+(Mt&gt;&gt;&gt;26)|0,Mt&amp;=67108863,S=Math.imul(Ge,wt),N=(N=Math.imul(Ge,ot))+Math.imul(ze,wt)|0,O=Math.imul(ze,ot);var er=(Z+(S=S+Math.imul(Ve,Ct)|0)|0)+((8191&amp;(N=(N=N+Math.imul(Ve,Dt)|0)+Math.imul(et,Ct)|0))&lt;&lt;13)|0;Z=((O=O+Math.imul(et,Dt)|0)+(N&gt;&gt;&gt;13)|0)+(er&gt;&gt;&gt;26)|0,er&amp;=67108863;var Wt=(Z+(S=Math.imul(Ge,Ct))|0)+((8191&amp;(N=(N=Math.imul(Ge,Dt))+Math.imul(ze,Ct)|0))&lt;&lt;13)|0;return Z=((O=Math.imul(ze,Dt))+(N&gt;&gt;&gt;13)|0)+(Wt&gt;&gt;&gt;26)|0,Wt&amp;=67108863,Y[0]=or,Y[1]=Gt,Y[2]=nr,Y[3]=ur,Y[4]=Ar,Y[5]=he,Y[6]=ve,Y[7]=Le,Y[8]=$e,Y[9]=ct,Y[10]=Fe,Y[11]=Ye,Y[12]=Ce,Y[13]=nt,Y[14]=it,Y[15]=at,Y[16]=Mt,Y[17]=er,Y[18]=Wt,Z!==0&amp;&amp;(Y[19]=Z,k.length++),k};function M(E,j,k){k.negative=j.negative^E.negative,k.length=E.length+j.length;for(var S=0,N=0,O=0;O&lt;k.length-1;O++){var D=N;N=0;for(var B=67108863&amp;S,Y=Math.min(O,j.length-1),Z=Math.max(0,O-E.length+1);Z&lt;=Y;Z++){var ne=O-Z,V=(0|E.words[ne])*(0|j.words[Z]),ee=67108863&amp;V;B=67108863&amp;(ee=ee+B|0),N+=(D=(D=D+(V/67108864|0)|0)+(ee&gt;&gt;&gt;26)|0)&gt;&gt;&gt;26,D&amp;=67108863}k.words[O]=B,S=D,D=N}return S!==0?k.words[O]=S:k.length--,k._strip()}function T(E,j,k){return M(E,j,k)}Math.imul||(C=_),a.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?M(this,E,j):T(this,E,j)},a.prototype.mul=function(E){var j=new a(null);return j.words=new Array(this.length+E.length),this.mulTo(E,j)},a.prototype.mulf=function(E){var j=new a(null);return j.words=new Array(this.length+E.length),T(this,E,j)},a.prototype.imul=function(E){return this.clone().mulTo(E,this)},a.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,O=(67108863&amp;N)+(67108863&amp;k);k&gt;&gt;=26,k+=N/67108864|0,k+=O&gt;&gt;&gt;26,this.words[S]=67108863&amp;O}return k!==0&amp;&amp;(this.words[S]=k,this.length++),j?this.ineg():this},a.prototype.muln=function(E){return this.clone().imuln(E)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(E){var j=(function(O){for(var D=new Array(O.bitLength()),B=0;B&lt;D.length;B++){var Y=B/26|0,Z=B%26;D[B]=O.words[Y]&gt;&gt;&gt;Z&amp;1}return D})(E);if(j.length===0)return new a(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},a.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 O=0;for(j=0;j&lt;this.length;j++){var D=this.words[j]&amp;N,B=(0|this.words[j])-D&lt;&lt;k;this.words[j]=B|O,O=D&gt;&gt;&gt;26-k}O&amp;&amp;(this.words[j]=O,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()},a.prototype.ishln=function(E){return u(this.negative===0),this.iushln(E)},a.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,O=Math.min((E-N)/26,this.length),D=67108863^67108863&gt;&gt;&gt;N&lt;&lt;N,B=k;if(S-=O,S=Math.max(0,S),B){for(var Y=0;Y&lt;O;Y++)B.words[Y]=this.words[Y];B.length=O}if(O!==0)if(this.length&gt;O)for(this.length-=O,Y=0;Y&lt;this.length;Y++)this.words[Y]=this.words[Y+O];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 ne=0|this.words[Y];this.words[Y]=Z&lt;&lt;26-N|ne&gt;&gt;&gt;N,Z=ne&amp;D}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()},a.prototype.ishrn=function(E,j,k){return u(this.negative===0),this.iushrn(E,j,k)},a.prototype.shln=function(E){return this.clone().ishln(E)},a.prototype.ushln=function(E){return this.clone().iushln(E)},a.prototype.shrn=function(E){return this.clone().ishrn(E)},a.prototype.ushrn=function(E){return this.clone().iushrn(E)},a.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)},a.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()},a.prototype.maskn=function(E){return this.clone().imaskn(E)},a.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)},a.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},a.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()},a.prototype.addn=function(E){return this.clone().iaddn(E)},a.prototype.subn=function(E){return this.clone().isubn(E)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(E,j,k){var S,N,O=E.length+k;this._expand(O);var D=0;for(S=0;S&lt;E.length;S++){N=(0|this.words[S+k])+D;var B=(0|E.words[S])*j;D=((N-=67108863&amp;B)&gt;&gt;26)-(B/67108864|0),this.words[S+k]=67108863&amp;N}for(;S&lt;this.length-k;S++)D=(N=(0|this.words[S+k])+D)&gt;&gt;26,this.words[S+k]=67108863&amp;N;if(D===0)return this._strip();for(u(D===-1),D=0,S=0;S&lt;this.length;S++)D=(N=-(0|this.words[S])+D)&gt;&gt;26,this.words[S]=67108863&amp;N;return this.negative=1,this._strip()},a.prototype._wordDiv=function(E,j){var k=(this.length,E.length),S=this.clone(),N=E,O=0|N.words[N.length-1];(k=26-this._countBits(O))!==0&amp;&amp;(N=N.ushln(k),S.iushln(k),O=0|N.words[N.length-1]);var D,B=S.length-N.length;if(j!==&quot;mod&quot;){(D=new a(null)).length=B+1,D.words=new Array(D.length);for(var Y=0;Y&lt;D.length;Y++)D.words[Y]=0}var Z=S.clone()._ishlnsubmul(N,1,B);Z.negative===0&amp;&amp;(S=Z,D&amp;&amp;(D.words[B]=1));for(var ne=B-1;ne&gt;=0;ne--){var V=67108864*(0|S.words[N.length+ne])+(0|S.words[N.length+ne-1]);for(V=Math.min(V/O|0,67108863),S._ishlnsubmul(N,V,ne);S.negative!==0;)V--,S.negative=0,S._ishlnsubmul(N,1,ne),S.isZero()||(S.negative^=1);D&amp;&amp;(D.words[ne]=V)}return D&amp;&amp;D._strip(),S._strip(),j!==&quot;div&quot;&amp;&amp;k!==0&amp;&amp;S.iushrn(k),{div:D||null,mod:S}},a.prototype.divmod=function(E,j,k){return u(!E.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:this.negative!==0&amp;&amp;E.negative===0?(O=this.neg().divmod(E,j),j!==&quot;mod&quot;&amp;&amp;(S=O.div.neg()),j!==&quot;div&quot;&amp;&amp;(N=O.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?(O=this.divmod(E.neg(),j),j!==&quot;mod&quot;&amp;&amp;(S=O.div.neg()),{div:S,mod:O.mod}):(this.negative&amp;E.negative)!=0?(O=this.neg().divmod(E.neg(),j),j!==&quot;div&quot;&amp;&amp;(N=O.mod.neg(),k&amp;&amp;N.negative!==0&amp;&amp;N.isub(E)),{div:O.div,mod:N}):E.length&gt;this.length||this.cmp(E)&lt;0?{div:new a(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 a(this.modrn(E.words[0]))}:{div:this.divn(E.words[0]),mod:new a(this.modrn(E.words[0]))}:this._wordDiv(E,j);var S,N,O},a.prototype.div=function(E){return this.divmod(E,&quot;div&quot;,!1).div},a.prototype.mod=function(E){return this.divmod(E,&quot;mod&quot;,!1).mod},a.prototype.umod=function(E){return this.divmod(E,&quot;mod&quot;,!0).mod},a.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),O=k.cmp(S);return O&lt;0||N===1&amp;&amp;O===0?j.div:j.div.negative!==0?j.div.isubn(1):j.div.iaddn(1)},a.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},a.prototype.modn=function(E){return this.modrn(E)},a.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},a.prototype.divn=function(E){return this.clone().idivn(E)},a.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 a(1),N=new a(0),O=new a(0),D=new a(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 ne=0,V=1;(j.words[0]&amp;V)==0&amp;&amp;ne&lt;26;++ne,V&lt;&lt;=1);if(ne&gt;0)for(j.iushrn(ne);ne-- &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;)(O.isOdd()||D.isOdd())&amp;&amp;(O.iadd(Y),D.isub(Z)),O.iushrn(1),D.iushrn(1);j.cmp(k)&gt;=0?(j.isub(k),S.isub(O),N.isub(D)):(k.isub(j),O.isub(S),D.isub(N))}return{a:O,b:D,gcd:k.iushln(B)}},a.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 a(1),O=new a(0),D=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(D),N.iushrn(1);for(var Z=0,ne=1;(k.words[0]&amp;ne)==0&amp;&amp;Z&lt;26;++Z,ne&lt;&lt;=1);if(Z&gt;0)for(k.iushrn(Z);Z-- &gt;0;)O.isOdd()&amp;&amp;O.iadd(D),O.iushrn(1);j.cmp(k)&gt;=0?(j.isub(k),N.isub(O)):(k.isub(j),O.isub(N))}return(S=j.cmpn(1)===0?N:O).cmpn(0)&lt;0&amp;&amp;S.iadd(E),S},a.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 O=j;j=k,k=O}else if(N===0||k.cmpn(1)===0)break;j.isub(k)}return k.iushln(S)},a.prototype.invm=function(E){return this.egcd(E).a.umod(E)},a.prototype.isEven=function(){return(1&amp;this.words[0])==0},a.prototype.isOdd=function(){return(1&amp;this.words[0])==1},a.prototype.andln=function(E){return this.words[0]&amp;E},a.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,O=k;N!==0&amp;&amp;O&lt;this.length;O++){var D=0|this.words[O];N=(D+=N)&gt;&gt;&gt;26,D&amp;=67108863,this.words[O]=D}return N!==0&amp;&amp;(this.words[O]=N,this.length++),this},a.prototype.isZero=function(){return this.length===1&amp;&amp;this.words[0]===0},a.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},a.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},a.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},a.prototype.gtn=function(E){return this.cmpn(E)===1},a.prototype.gt=function(E){return this.cmp(E)===1},a.prototype.gten=function(E){return this.cmpn(E)&gt;=0},a.prototype.gte=function(E){return this.cmp(E)&gt;=0},a.prototype.ltn=function(E){return this.cmpn(E)===-1},a.prototype.lt=function(E){return this.cmp(E)===-1},a.prototype.lten=function(E){return this.cmpn(E)&lt;=0},a.prototype.lte=function(E){return this.cmp(E)&lt;=0},a.prototype.eqn=function(E){return this.cmpn(E)===0},a.prototype.eq=function(E){return this.cmp(E)===0},a.red=function(E){return new P(E)},a.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)},a.prototype.fromRed=function(){return u(this.red,&quot;fromRed works only with numbers in reduction context&quot;),this.red.convertFrom(this)},a.prototype._forceRed=function(E){return this.red=E,this},a.prototype.forceRed=function(E){return u(!this.red,&quot;Already a number in reduction context&quot;),this._forceRed(E)},a.prototype.redAdd=function(E){return u(this.red,&quot;redAdd works only with red numbers&quot;),this.red.add(this,E)},a.prototype.redIAdd=function(E){return u(this.red,&quot;redIAdd works only with red numbers&quot;),this.red.iadd(this,E)},a.prototype.redSub=function(E){return u(this.red,&quot;redSub works only with red numbers&quot;),this.red.sub(this,E)},a.prototype.redISub=function(E){return u(this.red,&quot;redISub works only with red numbers&quot;),this.red.isub(this,E)},a.prototype.redShl=function(E){return u(this.red,&quot;redShl works only with red numbers&quot;),this.red.shl(this,E)},a.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)},a.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)},a.prototype.redSqr=function(){return u(this.red,&quot;redSqr works only with red numbers&quot;),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return u(this.red,&quot;redISqr works only with red numbers&quot;),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return u(this.red,&quot;redSqrt works only with red numbers&quot;),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return u(this.red,&quot;redInvm works only with red numbers&quot;),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return u(this.red,&quot;redNeg works only with red numbers&quot;),this.red._verify1(this),this.red.neg(this)},a.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 $={k256:null,p224:null,p192:null,p25519:null};function F(E,j){this.name=E,this.p=new a(j,16),this.n=this.p.bitLength(),this.k=new a(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 q(){F.call(this,&quot;p192&quot;,&quot;ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff&quot;)}function K(){F.call(this,&quot;25519&quot;,&quot;7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed&quot;)}function P(E){if(typeof E==&quot;string&quot;){var j=a._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 L(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 a(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 a(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)},c(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 O=0|E.words[S];E.words[S-10]=(4194303&amp;O)&lt;&lt;4|N&gt;&gt;&gt;22,N=O}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},c(W,F),c(q,F),c(K,F),K.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},a._prime=function(E){if($[E])return $[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 q;else{if(E!==&quot;p25519&quot;)throw new Error(&quot;Unknown prime &quot;+E);j=new K}return $[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 a(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 O=new a(1).toRed(this),D=O.redNeg(),B=this.m.subn(1).iushrn(1),Y=this.m.bitLength();for(Y=new a(2*Y*Y).toRed(this);this.pow(Y,B).cmp(D)!==0;)Y.redIAdd(D);for(var Z=this.pow(Y,S),ne=this.pow(E,S.addn(1).iushrn(1)),V=this.pow(E,S),ee=N;V.cmp(O)!==0;){for(var z=V,R=0;z.cmp(O)!==0;R++)z=z.redSqr();u(R&lt;ee);var X=this.pow(Z,new a(1).iushln(ee-R-1));ne=ne.redMul(X),Z=X.redSqr(),V=V.redMul(Z),ee=R}return ne},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 a(1).toRed(this);if(j.cmpn(1)===0)return E.clone();var k=new Array(16);k[0]=new a(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],O=0,D=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 ne=Y&gt;&gt;Z&amp;1;N!==k[0]&amp;&amp;(N=this.sqr(N)),ne!==0||O!==0?(O&lt;&lt;=1,O|=ne,(++D===4||S===0&amp;&amp;Z===0)&amp;&amp;(N=this.mul(N,k[O]),D=0,O=0)):D=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},a.mont=function(E){return new L(E)},c(L,P),L.prototype.convertTo=function(E){return this.imod(E.ushln(this.shift))},L.prototype.convertFrom=function(E){var j=this.imod(E.mul(this.rinv));return j.red=null,j},L.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),O=N;return N.cmp(this.m)&gt;=0?O=N.isub(this.m):N.cmpn(0)&lt;0&amp;&amp;(O=N.iadd(this.m)),O._forceRed(this)},L.prototype.mul=function(E,j){if(E.isZero()||j.isZero())return new a(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),O=N;return N.cmp(this.m)&gt;=0?O=N.isub(this.m):N.cmpn(0)&lt;0&amp;&amp;(O=N.iadd(this.m)),O._forceRed(this)},L.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,l){var i;function o(c){this.rand=c}if(n.exports=function(c){return i||(i=new o(null)),i.generate(c)},n.exports.Rand=o,o.prototype.generate=function(c){return this._rand(c)},o.prototype._rand=function(c){if(this.rand.getBytes)return this.rand.getBytes(c);for(var a=new Uint8Array(c),d=0;d&lt;a.length;d++)a[d]=this.rand.getByte();return a},typeof self==&quot;object&quot;)self.crypto&amp;&amp;self.crypto.getRandomValues?o.prototype._rand=function(c){var a=new Uint8Array(c);return self.crypto.getRandomValues(a),a}:self.msCrypto&amp;&amp;self.msCrypto.getRandomValues?o.prototype._rand=function(c){var a=new Uint8Array(c);return self.msCrypto.getRandomValues(a),a}:typeof window==&quot;object&quot;&amp;&amp;(o.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;);o.prototype._rand=function(c){return u.randomBytes(c)}}catch{}},{crypto:188}],188:[function(t,n,l){},{}],189:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer;function o(h){i.isBuffer(h)||(h=i.from(h));for(var m=h.length/4|0,p=new Array(m),x=0;x&lt;m;x++)p[x]=h.readUInt32BE(4*x);return p}function u(h){for(;0&lt;h.length;h++)h[0]=0}function c(h,m,p,x,g){for(var y,v,_,C,M=p[0],T=p[1],$=p[2],F=p[3],H=h[0]^m[0],W=h[1]^m[1],q=h[2]^m[2],K=h[3]^m[3],P=4,L=1;L&lt;g;L++)y=M[H&gt;&gt;&gt;24]^T[W&gt;&gt;&gt;16&amp;255]^$[q&gt;&gt;&gt;8&amp;255]^F[255&amp;K]^m[P++],v=M[W&gt;&gt;&gt;24]^T[q&gt;&gt;&gt;16&amp;255]^$[K&gt;&gt;&gt;8&amp;255]^F[255&amp;H]^m[P++],_=M[q&gt;&gt;&gt;24]^T[K&gt;&gt;&gt;16&amp;255]^$[H&gt;&gt;&gt;8&amp;255]^F[255&amp;W]^m[P++],C=M[K&gt;&gt;&gt;24]^T[H&gt;&gt;&gt;16&amp;255]^$[W&gt;&gt;&gt;8&amp;255]^F[255&amp;q]^m[P++],H=y,W=v,q=_,K=C;return y=(x[H&gt;&gt;&gt;24]&lt;&lt;24|x[W&gt;&gt;&gt;16&amp;255]&lt;&lt;16|x[q&gt;&gt;&gt;8&amp;255]&lt;&lt;8|x[255&amp;K])^m[P++],v=(x[W&gt;&gt;&gt;24]&lt;&lt;24|x[q&gt;&gt;&gt;16&amp;255]&lt;&lt;16|x[K&gt;&gt;&gt;8&amp;255]&lt;&lt;8|x[255&amp;H])^m[P++],_=(x[q&gt;&gt;&gt;24]&lt;&lt;24|x[K&gt;&gt;&gt;16&amp;255]&lt;&lt;16|x[H&gt;&gt;&gt;8&amp;255]&lt;&lt;8|x[255&amp;W])^m[P++],C=(x[K&gt;&gt;&gt;24]&lt;&lt;24|x[H&gt;&gt;&gt;16&amp;255]&lt;&lt;16|x[W&gt;&gt;&gt;8&amp;255]&lt;&lt;8|x[255&amp;q])^m[P++],[y&gt;&gt;&gt;=0,v&gt;&gt;&gt;=0,_&gt;&gt;&gt;=0,C&gt;&gt;&gt;=0]}var a=[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=[],x=[],g=[[],[],[],[]],y=[[],[],[],[]],v=0,_=0,C=0;C&lt;256;++C){var M=_^_&lt;&lt;1^_&lt;&lt;2^_&lt;&lt;3^_&lt;&lt;4;M=M&gt;&gt;&gt;8^255&amp;M^99,p[v]=M,x[M]=v;var T=h[v],$=h[T],F=h[$],H=257*h[M]^16843008*M;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*$^257*T^16843008*v,y[0][M]=H&lt;&lt;24|H&gt;&gt;&gt;8,y[1][M]=H&lt;&lt;16|H&gt;&gt;&gt;16,y[2][M]=H&lt;&lt;8|H&gt;&gt;&gt;24,y[3][M]=H,v===0?v=_=1:(v=T^h[h[h[F^T]]],_^=h[h[_]])}return{SBOX:p,INV_SBOX:x,SUB_MIX:g,INV_SUB_MIX:y}})();function f(h){this._key=o(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,x=4*(p+1),g=[],y=0;y&lt;m;y++)g[y]=h[y];for(y=m;y&lt;x;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^=a[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;x;C++){var M=x-C,T=g[M-(C%4?0:4)];_[C]=C&lt;4||M&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 c(h=o(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=o(h))[1];h[1]=h[3],h[3]=m;var p=c(h,this._invKeySchedule,d.INV_SUB_MIX,d.INV_SBOX,this._nRounds),x=i.allocUnsafe(16);return x.writeUInt32BE(p[0],0),x.writeUInt32BE(p[3],4),x.writeUInt32BE(p[2],8),x.writeUInt32BE(p[1],12),x},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,l){var i=t(&quot;./aes&quot;),o=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;),c=t(&quot;inherits&quot;),a=t(&quot;./ghash&quot;),d=t(&quot;buffer-xor&quot;),f=t(&quot;./incr32&quot;);function h(m,p,x,g){u.call(this);var y=o.alloc(4,0);this._cipher=new i.AES(p);var v=this._cipher.encryptBlock(y);this._ghash=new a(v),x=(function(_,C,M){if(C.length===12)return _._finID=o.concat([C,o.from([0,0,0,1])]),o.concat([C,o.from([0,0,0,2])]);var T=new a(M),$=C.length,F=$%16;T.update(C),F&amp;&amp;(F=16-F,T.update(o.alloc(F,0))),T.update(o.alloc(8,0));var H=8*$,W=o.alloc(8);W.writeUIntBE(H,0,8),T.update(W),_._finID=T.state;var q=o.from(_._finID);return f(q),q})(this,x,v),this._prev=o.from(x),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=g,this._alen=0,this._len=0,this._mode=m,this._authTag=null,this._called=!1}c(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=o.alloc(p,0),this._ghash.update(p))}this._called=!0;var x=this._mode.encrypt(this,m);return this._decrypt?this._ghash.update(m):this._ghash.update(x),this._len+=m.length,x},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,x){var g=0;p.length!==x.length&amp;&amp;g++;for(var y=Math.min(p.length,x.length),v=0;v&lt;y;++v)g+=p[v]^x[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||!o.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,l){var i=t(&quot;./encrypter&quot;),o=t(&quot;./decrypter&quot;),u=t(&quot;./modes/list.json&quot;);l.createCipher=l.Cipher=i.createCipher,l.createCipheriv=l.Cipheriv=i.createCipheriv,l.createDecipher=l.Decipher=o.createDecipher,l.createDecipheriv=l.Decipheriv=o.createDecipheriv,l.listCiphers=l.getCiphers=function(){return Object.keys(u)}},{&quot;./decrypter&quot;:192,&quot;./encrypter&quot;:193,&quot;./modes/list.json&quot;:203}],192:[function(t,n,l){var i=t(&quot;./authCipher&quot;),o=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;./modes&quot;),c=t(&quot;./streamCipher&quot;),a=t(&quot;cipher-base&quot;),d=t(&quot;./aes&quot;),f=t(&quot;evp_bytestokey&quot;);function h(x,g,y){a.call(this),this._cache=new m,this._last=void 0,this._cipher=new d.AES(g),this._prev=o.from(y),this._mode=x,this._autopadding=!0}function m(){this.cache=o.allocUnsafe(0)}function p(x,g,y){var v=u[x.toLowerCase()];if(!v)throw new TypeError(&quot;invalid suite type&quot;);if(typeof y==&quot;string&quot;&amp;&amp;(y=o.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=o.from(g)),g.length!==v.key/8)throw new TypeError(&quot;invalid key length &quot;+g.length);return v.type===&quot;stream&quot;?new c(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,a),h.prototype._update=function(x){var g,y;this._cache.add(x);for(var v=[];g=this._cache.get(this._autopadding);)y=this._mode.decrypt(this,g),v.push(y);return o.concat(v)},h.prototype._final=function(){var x=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,x));if(x)throw new Error(&quot;data not multiple of block length&quot;)},h.prototype.setAutoPadding=function(x){return this._autopadding=!!x,this},m.prototype.add=function(x){this.cache=o.concat([this.cache,x])},m.prototype.get=function(x){var g;if(x){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},l.createDecipher=function(x,g){var y=u[x.toLowerCase()];if(!y)throw new TypeError(&quot;invalid suite type&quot;);var v=f(g,!1,y.key,y.iv);return p(x,v.key,v.iv)},l.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,l){var i=t(&quot;./modes&quot;),o=t(&quot;./authCipher&quot;),u=t(&quot;safe-buffer&quot;).Buffer,c=t(&quot;./streamCipher&quot;),a=t(&quot;cipher-base&quot;),d=t(&quot;./aes&quot;),f=t(&quot;evp_bytestokey&quot;);function h(g,y,v){a.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,a),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 x(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 c(_.module,y,v):_.type===&quot;auth&quot;?new o(_.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])},l.createCipheriv=x,l.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 x(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,l){var i=t(&quot;safe-buffer&quot;).Buffer,o=i.alloc(16,0);function u(a){var d=i.allocUnsafe(16);return d.writeUInt32BE(a[0]&gt;&gt;&gt;0,0),d.writeUInt32BE(a[1]&gt;&gt;&gt;0,4),d.writeUInt32BE(a[2]&gt;&gt;&gt;0,8),d.writeUInt32BE(a[3]&gt;&gt;&gt;0,12),d}function c(a){this.h=a,this.state=i.alloc(16,0),this.cache=i.allocUnsafe(0)}c.prototype.ghash=function(a){for(var d=-1;++d&lt;a.length;)this.state[d]^=a[d];this._multiply()},c.prototype._multiply=function(){for(var a,d,f,h=[(a=this.h).readUInt32BE(0),a.readUInt32BE(4),a.readUInt32BE(8),a.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)},c.prototype.update=function(a){var d;for(this.cache=i.concat([this.cache,a]);this.cache.length&gt;=16;)d=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(d)},c.prototype.final=function(a,d){return this.cache.length&amp;&amp;this.ghash(i.concat([this.cache,o],16)),this.ghash(u([0,a,0,d])),this.state},n.exports=c},{&quot;safe-buffer&quot;:494}],195:[function(t,n,l){n.exports=function(i){for(var o,u=i.length;u--;){if((o=i.readUInt8(u))!==255){o++,i.writeUInt8(o,u);break}i.writeUInt8(0,u)}}},{}],196:[function(t,n,l){var i=t(&quot;buffer-xor&quot;);l.encrypt=function(o,u){var c=i(u,o._prev);return o._prev=o._cipher.encryptBlock(c),o._prev},l.decrypt=function(o,u){var c=o._prev;o._prev=u;var a=o._cipher.decryptBlock(u);return i(a,c)}},{&quot;buffer-xor&quot;:219}],197:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer,o=t(&quot;buffer-xor&quot;);function u(c,a,d){var f=a.length,h=o(a,c._cache);return c._cache=c._cache.slice(f),c._prev=i.concat([c._prev,d?a:h]),h}l.encrypt=function(c,a,d){for(var f,h=i.allocUnsafe(0);a.length;){if(c._cache.length===0&amp;&amp;(c._cache=c._cipher.encryptBlock(c._prev),c._prev=i.allocUnsafe(0)),!(c._cache.length&lt;=a.length)){h=i.concat([h,u(c,a,d)]);break}f=c._cache.length,h=i.concat([h,u(c,a.slice(0,f),d)]),a=a.slice(f)}return h}},{&quot;buffer-xor&quot;:219,&quot;safe-buffer&quot;:494}],198:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer;function o(c,a,d){for(var f,h,m=-1,p=0;++m&lt;8;)f=a&amp;1&lt;&lt;7-m?128:0,p+=(128&amp;(h=c._cipher.encryptBlock(c._prev)[0]^f))&gt;&gt;m%8,c._prev=u(c._prev,d?f:h);return p}function u(c,a){var d=c.length,f=-1,h=i.allocUnsafe(c.length);for(c=i.concat([c,i.from([a])]);++f&lt;d;)h[f]=c[f]&lt;&lt;1|c[f+1]&gt;&gt;7;return h}l.encrypt=function(c,a,d){for(var f=a.length,h=i.allocUnsafe(f),m=-1;++m&lt;f;)h[m]=o(c,a[m],d);return h}},{&quot;safe-buffer&quot;:494}],199:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer;function o(u,c,a){var d=u._cipher.encryptBlock(u._prev)[0]^c;return u._prev=i.concat([u._prev.slice(1),i.from([a?c:d])]),d}l.encrypt=function(u,c,a){for(var d=c.length,f=i.allocUnsafe(d),h=-1;++h&lt;d;)f[h]=o(u,c[h],a);return f}},{&quot;safe-buffer&quot;:494}],200:[function(t,n,l){var i=t(&quot;buffer-xor&quot;),o=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;../incr32&quot;);function c(a){var d=a._cipher.encryptBlockRaw(a._prev);return u(a._prev),d}l.encrypt=function(a,d){var f=Math.ceil(d.length/16),h=a._cache.length;a._cache=o.concat([a._cache,o.allocUnsafe(16*f)]);for(var m=0;m&lt;f;m++){var p=c(a),x=h+16*m;a._cache.writeUInt32BE(p[0],x+0),a._cache.writeUInt32BE(p[1],x+4),a._cache.writeUInt32BE(p[2],x+8),a._cache.writeUInt32BE(p[3],x+12)}var g=a._cache.slice(0,d.length);return a._cache=a._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,l){l.encrypt=function(i,o){return i._cipher.encryptBlock(o)},l.decrypt=function(i,o){return i._cipher.decryptBlock(o)}},{}],202:[function(t,n,l){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;)},o=t(&quot;./list.json&quot;);for(var u in o)o[u].module=i[o[u].mode];n.exports=o},{&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,l){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,l){(function(i){(function(){var o=t(&quot;buffer-xor&quot;);function u(c){return c._prev=c._cipher.encryptBlock(c._prev),c._prev}l.encrypt=function(c,a){for(;c._cache.length&lt;a.length;)c._cache=i.concat([c._cache,u(c)]);var d=c._cache.slice(0,a.length);return c._cache=c._cache.slice(a.length),o(a,d)}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220,&quot;buffer-xor&quot;:219}],205:[function(t,n,l){var i=t(&quot;./aes&quot;),o=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;);function c(a,d,f,h){u.call(this),this._cipher=new i.AES(d),this._prev=o.from(f),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=h,this._mode=a}t(&quot;inherits&quot;)(c,u),c.prototype._update=function(a){return this._mode.encrypt(this,a,this._decrypt)},c.prototype._final=function(){this._cipher.scrub()},n.exports=c},{&quot;./aes&quot;:189,&quot;cipher-base&quot;:221,inherits:440,&quot;safe-buffer&quot;:494}],206:[function(t,n,l){var i=t(&quot;browserify-des&quot;),o=t(&quot;browserify-aes/browser&quot;),u=t(&quot;browserify-aes/modes&quot;),c=t(&quot;browserify-des/modes&quot;),a=t(&quot;evp_bytestokey&quot;);function d(h,m,p){if(h=h.toLowerCase(),u[h])return o.createCipheriv(h,m,p);if(c[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 o.createDecipheriv(h,m,p);if(c[h])return new i({key:m,iv:p,mode:h,decrypt:!0});throw new TypeError(&quot;invalid suite type&quot;)}l.createCipher=l.Cipher=function(h,m){var p,x;if(h=h.toLowerCase(),u[h])p=u[h].key,x=u[h].iv;else{if(!c[h])throw new TypeError(&quot;invalid suite type&quot;);p=8*c[h].key,x=c[h].iv}var g=a(m,!1,p,x);return d(h,g.key,g.iv)},l.createCipheriv=l.Cipheriv=d,l.createDecipher=l.Decipher=function(h,m){var p,x;if(h=h.toLowerCase(),u[h])p=u[h].key,x=u[h].iv;else{if(!c[h])throw new TypeError(&quot;invalid suite type&quot;);p=8*c[h].key,x=c[h].iv}var g=a(m,!1,p,x);return f(h,g.key,g.iv)},l.createDecipheriv=l.Decipheriv=f,l.listCiphers=l.getCiphers=function(){return Object.keys(c).concat(o.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,l){var i=t(&quot;cipher-base&quot;),o=t(&quot;des.js&quot;),u=t(&quot;inherits&quot;),c=t(&quot;safe-buffer&quot;).Buffer,a={&quot;des-ede3-cbc&quot;:o.CBC.instantiate(o.EDE),&quot;des-ede3&quot;:o.EDE,&quot;des-ede-cbc&quot;:o.CBC.instantiate(o.EDE),&quot;des-ede&quot;:o.EDE,&quot;des-cbc&quot;:o.CBC.instantiate(o.DES),&quot;des-ecb&quot;:o.DES};function d(f){i.call(this);var h,m=f.mode.toLowerCase(),p=a[m];h=f.decrypt?&quot;decrypt&quot;:&quot;encrypt&quot;;var x=f.key;c.isBuffer(x)||(x=c.from(x)),m!==&quot;des-ede&quot;&amp;&amp;m!==&quot;des-ede-cbc&quot;||(x=c.concat([x,x.slice(0,8)]));var g=f.iv;c.isBuffer(g)||(g=c.from(g)),this._des=p.create({key:x,iv:g,type:h})}a.des=a[&quot;des-cbc&quot;],a.des3=a[&quot;des-ede3-cbc&quot;],n.exports=d,u(d,i),d.prototype._update=function(f){return c.from(this._des.update(f))},d.prototype._final=function(){return c.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,l){l[&quot;des-ecb&quot;]={key:8,iv:0},l[&quot;des-cbc&quot;]=l.des={key:8,iv:8},l[&quot;des-ede3-cbc&quot;]=l.des3={key:24,iv:8},l[&quot;des-ede3&quot;]={key:24,iv:0},l[&quot;des-ede-cbc&quot;]={key:16,iv:8},l[&quot;des-ede&quot;]={key:16,iv:0}},{}],209:[function(t,n,l){(function(i){(function(){var o=t(&quot;bn.js&quot;),u=t(&quot;randombytes&quot;);function c(d){var f,h=d.modulus.byteLength();do f=new o(u(h));while(f.cmp(d.modulus)&gt;=0||!f.umod(d.prime1)||!f.umod(d.prime2));return f}function a(d,f){var h=(function($){var F=c($);return{blinder:F.toRed(o.mont($.modulus)).redPow(new o($.publicExponent)).fromRed(),unblinder:F.invm($.modulus)}})(f),m=f.modulus.byteLength(),p=new o(d).mul(h.blinder).umod(f.modulus),x=p.toRed(o.mont(f.prime1)),g=p.toRed(o.mont(f.prime2)),y=f.coefficient,v=f.prime1,_=f.prime2,C=x.redPow(f.exponent1).fromRed(),M=g.redPow(f.exponent2).fromRed(),T=C.isub(M).imul(y).umod(v).imul(_);return M.iadd(T).imul(h.unblinder).umod(f.modulus).toArrayLike(i,&quot;be&quot;,m)}a.getr=c,n.exports=a}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;bn.js&quot;:186,buffer:220,randombytes:475}],210:[function(t,n,l){n.exports=t(&quot;./browser/algorithms.json&quot;)},{&quot;./browser/algorithms.json&quot;:211}],211:[function(t,n,l){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,l){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,l){var i=t(&quot;safe-buffer&quot;).Buffer,o=t(&quot;create-hash&quot;),u=t(&quot;readable-stream&quot;),c=t(&quot;inherits&quot;),a=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=o(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=o(y.hash),this._tag=y.id,this._signType=y.sign}function p(g){return new h(g)}function x(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]})),c(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(),_=a(v,g,this._hashType,this._signType,this._tag);return y?_.toString(y):_},c(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:x,createSign:p,createVerify:x}},{&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,l){var i=t(&quot;safe-buffer&quot;).Buffer,o=t(&quot;create-hmac&quot;),u=t(&quot;browserify-rsa&quot;),c=t(&quot;elliptic&quot;).ec,a=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 M=v.length,T=(function(H,W){H=(H=m(H,W)).mod(W);var q=i.from(H.toArray());if(q.length&lt;W.byteLength()){var K=i.alloc(W.byteLength()-q.length);q=i.concat([K,q])}return q})(v,y),$=i.alloc(M);$.fill(1);var F=i.alloc(M);return F=o(_,F).update($).update(i.from([0])).update(g).update(T).digest(),$=o(_,F).update($).digest(),{k:F=o(_,F).update($).update(i.from([1])).update(g).update(T).digest(),v:$=o(_,F).update($).digest()}}function m(g,y){var v=new a(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=o(v,y.k).update(y.v).digest(),_=i.concat([_,y.v]);C=m(_,g),y.k=o(v,y.k).update(y.v).update(i.from([0])).digest(),y.v=o(v,y.k).update(y.v).digest()}while(C.cmp(g)!==-1);return C}function x(g,y,v,_){return g.toRed(a.mont(v)).redPow(y).fromRed().mod(_)}n.exports=function(g,y,v,_,C){var M=d(y);if(M.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 q=f[W.curve.join(&quot;.&quot;)];if(!q)throw new Error(&quot;unknown curve &quot;+W.curve.join(&quot;.&quot;));var K=new c(q).keyFromPrivate(W.privateKey).sign(H);return i.from(K.toDER())})(g,M)}if(M.type===&quot;dsa&quot;){if(_!==&quot;dsa&quot;)throw new Error(&quot;wrong private key type&quot;);return(function(H,W,q){for(var K,P=W.params.priv_key,L=W.params.p,E=W.params.q,j=W.params.g,k=new a(0),S=m(H,E).mod(E),N=!1,O=h(P,E,H,q);N===!1;)K=p(E,O,q),k=x(j,K,L,E),(N=K.invm(E).imul(S.add(P.mul(k))).mod(E)).cmpn(0)===0&amp;&amp;(N=!1,k=new a(0));return(function(D,B){D=D.toArray(),B=B.toArray(),128&amp;D[0]&amp;&amp;(D=[0].concat(D)),128&amp;B[0]&amp;&amp;(B=[0].concat(B));var Y=[48,D.length+B.length+4,2,D.length];return Y=Y.concat(D,[2,B.length],B),i.from(Y)})(k,N)})(g,M,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=M.modulus.byteLength(),$=[0,1];g.length+$.length+1&lt;T;)$.push(255);$.push(0);for(var F=-1;++F&lt;g.length;)$.push(g[F]);return u($,M)},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,l){var i=t(&quot;safe-buffer&quot;).Buffer,o=t(&quot;bn.js&quot;),u=t(&quot;elliptic&quot;).ec,c=t(&quot;parse-asn1&quot;),a=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,x){var g=c(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($,F,H){var W=a[H.data.algorithm.curve.join(&quot;.&quot;)];if(!W)throw new Error(&quot;unknown curve &quot;+H.data.algorithm.curve.join(&quot;.&quot;));var q=new u(W),K=H.data.subjectPrivateKey.data;return q.verify(F,$,K)})(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($,F,H){var W=H.data.p,q=H.data.q,K=H.data.g,P=H.data.pub_key,L=c.signature.decode($,&quot;der&quot;),E=L.s,j=L.r;d(E,q),d(j,q);var k=o.mont(W),S=E.invm(q);return K.toRed(k).redPow(new o(F).mul(S).mod(q)).fromRed().mul(P.toRed(k).redPow(j.mul(S).mod(q)).fromRed()).mod(W).mod(q).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([x,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 M=o.mont(g.modulus);f=(f=new o(f).toRed(M)).redPow(new o(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,l){},{}],217:[function(t,n,l){var i=t(&quot;buffer&quot;),o=i.Buffer;function u(a,d){for(var f in a)d[f]=a[f]}function c(a,d,f){return o(a,d,f)}o.from&amp;&amp;o.alloc&amp;&amp;o.allocUnsafe&amp;&amp;o.allocUnsafeSlow?n.exports=i:(u(i,l),l.Buffer=c),u(o,c),c.from=function(a,d,f){if(typeof a==&quot;number&quot;)throw new TypeError(&quot;Argument must not be a number&quot;);return o(a,d,f)},c.alloc=function(a,d,f){if(typeof a!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);var h=o(a);return d!==void 0?typeof f==&quot;string&quot;?h.fill(d,f):h.fill(d):h.fill(0),h},c.allocUnsafe=function(a){if(typeof a!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return o(a)},c.allocUnsafeSlow=function(a){if(typeof a!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return i.SlowBuffer(a)}},{buffer:220}],218:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer,o=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 M;;)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(M)return;C=(&quot;&quot;+C).toLowerCase(),M=!0}})(v);if(typeof _!=&quot;string&quot;&amp;&amp;(i.isEncoding===o||!o(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=a,y=4;break;case&quot;base64&quot;:this.text=h,this.end=m,y=3;break;default:return this.write=p,void(this.end=x)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(y)}function c(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 a(g){var y=this.lastTotal-this.lastNeed,v=(function(_,C,M){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 x(g){return g&amp;&amp;g.length?this.write(g):&quot;&quot;}l.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,M,T){var $=M.length-1;if($&lt;T)return 0;var F=c(M[$]);return F&gt;=0?(F&gt;0&amp;&amp;(C.lastNeed=F-1),F):--$&lt;T||F===-2?0:(F=c(M[$]))&gt;=0?(F&gt;0&amp;&amp;(C.lastNeed=F-2),F):--$&lt;T||F===-2?0:(F=c(M[$]))&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,l){(function(i){(function(){n.exports=function(o,u){for(var c=Math.min(o.length,u.length),a=new i(c),d=0;d&lt;c;++d)a[d]=o[d]^u[d];return a}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220}],220:[function(t,n,l){(function(i){(function(){var o=t(&quot;base64-js&quot;),u=t(&quot;ieee754&quot;);l.Buffer=a,l.SlowBuffer=function(z){return+z!=z&amp;&amp;(z=0),a.alloc(+z)},l.INSPECT_MAX_BYTES=50;function c(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 R=new Uint8Array(z);return R.__proto__=a.prototype,R}function a(z,R,X){if(typeof z==&quot;number&quot;){if(typeof R==&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,R,X)}function d(z,R,X){if(typeof z==&quot;string&quot;)return(function(te,se){if(typeof se==&quot;string&quot;&amp;&amp;se!==&quot;&quot;||(se=&quot;utf8&quot;),!a.isEncoding(se))throw new TypeError(&quot;Unknown encoding: &quot;+se);var de=0|x(te,se),ce=c(de),ie=ce.write(te,se);return ie!==de&amp;&amp;(ce=ce.slice(0,ie)),ce})(z,R);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(V(z,ArrayBuffer)||z&amp;&amp;V(z.buffer,ArrayBuffer))return(function(te,se,de){if(se&lt;0||te.byteLength&lt;se)throw new RangeError(&#039;&quot;offset&quot; is outside of buffer bounds&#039;);if(te.byteLength&lt;se+(de||0))throw new RangeError(&#039;&quot;length&quot; is outside of buffer bounds&#039;);var ce;return ce=se===void 0&amp;&amp;de===void 0?new Uint8Array(te):de===void 0?new Uint8Array(te,se):new Uint8Array(te,se,de),ce.__proto__=a.prototype,ce})(z,R,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 a.from(re,R,X);var Q=(function(te){if(a.isBuffer(te)){var se=0|p(te.length),de=c(se);return de.length===0||te.copy(de,0,0,se),de}if(te.length!==void 0)return typeof te.length!=&quot;number&quot;||ee(te.length)?c(0):m(te);if(te.type===&quot;Buffer&quot;&amp;&amp;Array.isArray(te.data))return m(te.data)})(z);if(Q)return Q;if(typeof Symbol&lt;&quot;u&quot;&amp;&amp;Symbol.toPrimitive!=null&amp;&amp;typeof z[Symbol.toPrimitive]==&quot;function&quot;)return a.from(z[Symbol.toPrimitive](&quot;string&quot;),R,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),c(z&lt;0?0:0|p(z))}function m(z){for(var R=z.length&lt;0?0:0|p(z.length),X=c(R),re=0;re&lt;R;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 x(z,R){if(a.isBuffer(z))return z.length;if(ArrayBuffer.isView(z)||V(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 Q=!1;;)switch(R){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(Q)return re?-1:Y(z).length;R=(&quot;&quot;+R).toLowerCase(),Q=!0}}function g(z,R,X){var re=!1;if((R===void 0||R&lt;0)&amp;&amp;(R=0),R&gt;this.length||((X===void 0||X&gt;this.length)&amp;&amp;(X=this.length),X&lt;=0)||(X&gt;&gt;&gt;=0)&lt;=(R&gt;&gt;&gt;=0))return&quot;&quot;;for(z||(z=&quot;utf8&quot;);;)switch(z){case&quot;hex&quot;:return L(this,R,X);case&quot;utf8&quot;:case&quot;utf-8&quot;:return q(this,R,X);case&quot;ascii&quot;:return K(this,R,X);case&quot;latin1&quot;:case&quot;binary&quot;:return P(this,R,X);case&quot;base64&quot;:return W(this,R,X);case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return E(this,R,X);default:if(re)throw new TypeError(&quot;Unknown encoding: &quot;+z);z=(z+&quot;&quot;).toLowerCase(),re=!0}}function y(z,R,X){var re=z[R];z[R]=z[X],z[X]=re}function v(z,R,X,re,Q){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=Q?0:z.length-1),X&lt;0&amp;&amp;(X=z.length+X),X&gt;=z.length){if(Q)return-1;X=z.length-1}else if(X&lt;0){if(!Q)return-1;X=0}if(typeof R==&quot;string&quot;&amp;&amp;(R=a.from(R,re)),a.isBuffer(R))return R.length===0?-1:_(z,R,X,re,Q);if(typeof R==&quot;number&quot;)return R&amp;=255,typeof Uint8Array.prototype.indexOf==&quot;function&quot;?Q?Uint8Array.prototype.indexOf.call(z,R,X):Uint8Array.prototype.lastIndexOf.call(z,R,X):_(z,[R],X,re,Q);throw new TypeError(&quot;val must be string, number or Buffer&quot;)}function _(z,R,X,re,Q){var te,se=1,de=z.length,ce=R.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||R.length&lt;2)return-1;se=2,de/=2,ce/=2,X/=2}function ie(xe,pe){return se===1?xe[pe]:xe.readUInt16BE(pe*se)}if(Q){var fe=-1;for(te=X;te&lt;de;te++)if(ie(z,te)===ie(R,fe===-1?0:te-fe)){if(fe===-1&amp;&amp;(fe=te),te-fe+1===ce)return fe*se}else fe!==-1&amp;&amp;(te-=te-fe),fe=-1}else for(X+ce&gt;de&amp;&amp;(X=de-ce),te=X;te&gt;=0;te--){for(var oe=!0,ge=0;ge&lt;ce;ge++)if(ie(z,te+ge)!==ie(R,ge)){oe=!1;break}if(oe)return te}return-1}function C(z,R,X,re){X=Number(X)||0;var Q=z.length-X;re?(re=Number(re))&gt;Q&amp;&amp;(re=Q):re=Q;var te=R.length;re&gt;te/2&amp;&amp;(re=te/2);for(var se=0;se&lt;re;++se){var de=parseInt(R.substr(2*se,2),16);if(ee(de))return se;z[X+se]=de}return se}function M(z,R,X,re){return ne(Y(R,z.length-X),z,X,re)}function T(z,R,X,re){return ne((function(Q){for(var te=[],se=0;se&lt;Q.length;++se)te.push(255&amp;Q.charCodeAt(se));return te})(R),z,X,re)}function $(z,R,X,re){return T(z,R,X,re)}function F(z,R,X,re){return ne(Z(R),z,X,re)}function H(z,R,X,re){return ne((function(Q,te){for(var se,de,ce,ie=[],fe=0;fe&lt;Q.length&amp;&amp;!((te-=2)&lt;0);++fe)se=Q.charCodeAt(fe),de=se&gt;&gt;8,ce=se%256,ie.push(ce),ie.push(de);return ie})(R,z.length-X),z,X,re)}function W(z,R,X){return R===0&amp;&amp;X===z.length?o.fromByteArray(z):o.fromByteArray(z.slice(R,X))}function q(z,R,X){X=Math.min(z.length,X);for(var re=[],Q=R;Q&lt;X;){var te,se,de,ce,ie=z[Q],fe=null,oe=ie&gt;239?4:ie&gt;223?3:ie&gt;191?2:1;if(Q+oe&lt;=X)switch(oe){case 1:ie&lt;128&amp;&amp;(fe=ie);break;case 2:(192&amp;(te=z[Q+1]))==128&amp;&amp;(ce=(31&amp;ie)&lt;&lt;6|63&amp;te)&gt;127&amp;&amp;(fe=ce);break;case 3:te=z[Q+1],se=z[Q+2],(192&amp;te)==128&amp;&amp;(192&amp;se)==128&amp;&amp;(ce=(15&amp;ie)&lt;&lt;12|(63&amp;te)&lt;&lt;6|63&amp;se)&gt;2047&amp;&amp;(ce&lt;55296||ce&gt;57343)&amp;&amp;(fe=ce);break;case 4:te=z[Q+1],se=z[Q+2],de=z[Q+3],(192&amp;te)==128&amp;&amp;(192&amp;se)==128&amp;&amp;(192&amp;de)==128&amp;&amp;(ce=(15&amp;ie)&lt;&lt;18|(63&amp;te)&lt;&lt;12|(63&amp;se)&lt;&lt;6|63&amp;de)&gt;65535&amp;&amp;ce&lt;1114112&amp;&amp;(fe=ce)}fe===null?(fe=65533,oe=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),Q+=oe}return(function(ge){var xe=ge.length;if(xe&lt;=4096)return String.fromCharCode.apply(String,ge);for(var pe=&quot;&quot;,ue=0;ue&lt;xe;)pe+=String.fromCharCode.apply(String,ge.slice(ue,ue+=4096));return pe})(re)}l.kMaxLength=2147483647,a.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}})(),a.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(a.prototype,&quot;parent&quot;,{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,&quot;offset&quot;,{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),typeof Symbol&lt;&quot;u&quot;&amp;&amp;Symbol.species!=null&amp;&amp;a[Symbol.species]===a&amp;&amp;Object.defineProperty(a,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),a.poolSize=8192,a.from=function(z,R,X){return d(z,R,X)},a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,a.alloc=function(z,R,X){return(function(re,Q,te){return f(re),re&lt;=0?c(re):Q!==void 0?typeof te==&quot;string&quot;?c(re).fill(Q,te):c(re).fill(Q):c(re)})(z,R,X)},a.allocUnsafe=function(z){return h(z)},a.allocUnsafeSlow=function(z){return h(z)},a.isBuffer=function(z){return z!=null&amp;&amp;z._isBuffer===!0&amp;&amp;z!==a.prototype},a.compare=function(z,R){if(V(z,Uint8Array)&amp;&amp;(z=a.from(z,z.offset,z.byteLength)),V(R,Uint8Array)&amp;&amp;(R=a.from(R,R.offset,R.byteLength)),!a.isBuffer(z)||!a.isBuffer(R))throw new TypeError(&#039;The &quot;buf1&quot;, &quot;buf2&quot; arguments must be one of type Buffer or Uint8Array&#039;);if(z===R)return 0;for(var X=z.length,re=R.length,Q=0,te=Math.min(X,re);Q&lt;te;++Q)if(z[Q]!==R[Q]){X=z[Q],re=R[Q];break}return X&lt;re?-1:re&lt;X?1:0},a.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}},a.concat=function(z,R){if(!Array.isArray(z))throw new TypeError(&#039;&quot;list&quot; argument must be an Array of Buffers&#039;);if(z.length===0)return a.alloc(0);var X;if(R===void 0)for(R=0,X=0;X&lt;z.length;++X)R+=z[X].length;var re=a.allocUnsafe(R),Q=0;for(X=0;X&lt;z.length;++X){var te=z[X];if(V(te,Uint8Array)&amp;&amp;(te=a.from(te)),!a.isBuffer(te))throw new TypeError(&#039;&quot;list&quot; argument must be an Array of Buffers&#039;);te.copy(re,Q),Q+=te.length}return re},a.byteLength=x,a.prototype._isBuffer=!0,a.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 R=0;R&lt;z;R+=2)y(this,R,R+1);return this},a.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 R=0;R&lt;z;R+=4)y(this,R,R+3),y(this,R+1,R+2);return this},a.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 R=0;R&lt;z;R+=8)y(this,R,R+7),y(this,R+1,R+6),y(this,R+2,R+5),y(this,R+3,R+4);return this},a.prototype.toString=function(){var z=this.length;return z===0?&quot;&quot;:arguments.length===0?q(this,0,z):g.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(z){if(!a.isBuffer(z))throw new TypeError(&quot;Argument must be a Buffer&quot;);return this===z||a.compare(this,z)===0},a.prototype.inspect=function(){var z=&quot;&quot;,R=l.INSPECT_MAX_BYTES;return z=this.toString(&quot;hex&quot;,0,R).replace(/(.{2})/g,&quot;$1 &quot;).trim(),this.length&gt;R&amp;&amp;(z+=&quot; ... &quot;),&quot;&lt;Buffer &quot;+z+&quot;&gt;&quot;},a.prototype.compare=function(z,R,X,re,Q){if(V(z,Uint8Array)&amp;&amp;(z=a.from(z,z.offset,z.byteLength)),!a.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(R===void 0&amp;&amp;(R=0),X===void 0&amp;&amp;(X=z?z.length:0),re===void 0&amp;&amp;(re=0),Q===void 0&amp;&amp;(Q=this.length),R&lt;0||X&gt;z.length||re&lt;0||Q&gt;this.length)throw new RangeError(&quot;out of range index&quot;);if(re&gt;=Q&amp;&amp;R&gt;=X)return 0;if(re&gt;=Q)return-1;if(R&gt;=X)return 1;if(this===z)return 0;for(var te=(Q&gt;&gt;&gt;=0)-(re&gt;&gt;&gt;=0),se=(X&gt;&gt;&gt;=0)-(R&gt;&gt;&gt;=0),de=Math.min(te,se),ce=this.slice(re,Q),ie=z.slice(R,X),fe=0;fe&lt;de;++fe)if(ce[fe]!==ie[fe]){te=ce[fe],se=ie[fe];break}return te&lt;se?-1:se&lt;te?1:0},a.prototype.includes=function(z,R,X){return this.indexOf(z,R,X)!==-1},a.prototype.indexOf=function(z,R,X){return v(this,z,R,X,!0)},a.prototype.lastIndexOf=function(z,R,X){return v(this,z,R,X,!1)},a.prototype.write=function(z,R,X,re){if(R===void 0)re=&quot;utf8&quot;,X=this.length,R=0;else if(X===void 0&amp;&amp;typeof R==&quot;string&quot;)re=R,X=this.length,R=0;else{if(!isFinite(R))throw new Error(&quot;Buffer.write(string, encoding, offset[, length]) is no longer supported&quot;);R&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 Q=this.length-R;if((X===void 0||X&gt;Q)&amp;&amp;(X=Q),z.length&gt;0&amp;&amp;(X&lt;0||R&lt;0)||R&gt;this.length)throw new RangeError(&quot;Attempt to write outside buffer bounds&quot;);re||(re=&quot;utf8&quot;);for(var te=!1;;)switch(re){case&quot;hex&quot;:return C(this,z,R,X);case&quot;utf8&quot;:case&quot;utf-8&quot;:return M(this,z,R,X);case&quot;ascii&quot;:return T(this,z,R,X);case&quot;latin1&quot;:case&quot;binary&quot;:return $(this,z,R,X);case&quot;base64&quot;:return F(this,z,R,X);case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return H(this,z,R,X);default:if(te)throw new TypeError(&quot;Unknown encoding: &quot;+re);re=(&quot;&quot;+re).toLowerCase(),te=!0}},a.prototype.toJSON=function(){return{type:&quot;Buffer&quot;,data:Array.prototype.slice.call(this._arr||this,0)}};function K(z,R,X){var re=&quot;&quot;;X=Math.min(z.length,X);for(var Q=R;Q&lt;X;++Q)re+=String.fromCharCode(127&amp;z[Q]);return re}function P(z,R,X){var re=&quot;&quot;;X=Math.min(z.length,X);for(var Q=R;Q&lt;X;++Q)re+=String.fromCharCode(z[Q]);return re}function L(z,R,X){var re=z.length;(!R||R&lt;0)&amp;&amp;(R=0),(!X||X&lt;0||X&gt;re)&amp;&amp;(X=re);for(var Q=&quot;&quot;,te=R;te&lt;X;++te)Q+=B(z[te]);return Q}function E(z,R,X){for(var re=z.slice(R,X),Q=&quot;&quot;,te=0;te&lt;re.length;te+=2)Q+=String.fromCharCode(re[te]+256*re[te+1]);return Q}function j(z,R,X){if(z%1!=0||z&lt;0)throw new RangeError(&quot;offset is not uint&quot;);if(z+R&gt;X)throw new RangeError(&quot;Trying to access beyond buffer length&quot;)}function k(z,R,X,re,Q,te){if(!a.isBuffer(z))throw new TypeError(&#039;&quot;buffer&quot; argument must be a Buffer instance&#039;);if(R&gt;Q||R&lt;te)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,R,X,re,Q,te){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,R,X,re,Q){return R=+R,X&gt;&gt;&gt;=0,Q||S(z,0,X,4),u.write(z,R,X,re,23,4),X+4}function O(z,R,X,re,Q){return R=+R,X&gt;&gt;&gt;=0,Q||S(z,0,X,8),u.write(z,R,X,re,52,8),X+8}a.prototype.slice=function(z,R){var X=this.length;(z=~~z)&lt;0?(z+=X)&lt;0&amp;&amp;(z=0):z&gt;X&amp;&amp;(z=X),(R=R===void 0?X:~~R)&lt;0?(R+=X)&lt;0&amp;&amp;(R=0):R&gt;X&amp;&amp;(R=X),R&lt;z&amp;&amp;(R=z);var re=this.subarray(z,R);return re.__proto__=a.prototype,re},a.prototype.readUIntLE=function(z,R,X){z&gt;&gt;&gt;=0,R&gt;&gt;&gt;=0,X||j(z,R,this.length);for(var re=this[z],Q=1,te=0;++te&lt;R&amp;&amp;(Q*=256);)re+=this[z+te]*Q;return re},a.prototype.readUIntBE=function(z,R,X){z&gt;&gt;&gt;=0,R&gt;&gt;&gt;=0,X||j(z,R,this.length);for(var re=this[z+--R],Q=1;R&gt;0&amp;&amp;(Q*=256);)re+=this[z+--R]*Q;return re},a.prototype.readUInt8=function(z,R){return z&gt;&gt;&gt;=0,R||j(z,1,this.length),this[z]},a.prototype.readUInt16LE=function(z,R){return z&gt;&gt;&gt;=0,R||j(z,2,this.length),this[z]|this[z+1]&lt;&lt;8},a.prototype.readUInt16BE=function(z,R){return z&gt;&gt;&gt;=0,R||j(z,2,this.length),this[z]&lt;&lt;8|this[z+1]},a.prototype.readUInt32LE=function(z,R){return z&gt;&gt;&gt;=0,R||j(z,4,this.length),(this[z]|this[z+1]&lt;&lt;8|this[z+2]&lt;&lt;16)+16777216*this[z+3]},a.prototype.readUInt32BE=function(z,R){return z&gt;&gt;&gt;=0,R||j(z,4,this.length),16777216*this[z]+(this[z+1]&lt;&lt;16|this[z+2]&lt;&lt;8|this[z+3])},a.prototype.readIntLE=function(z,R,X){z&gt;&gt;&gt;=0,R&gt;&gt;&gt;=0,X||j(z,R,this.length);for(var re=this[z],Q=1,te=0;++te&lt;R&amp;&amp;(Q*=256);)re+=this[z+te]*Q;return re&gt;=(Q*=128)&amp;&amp;(re-=Math.pow(2,8*R)),re},a.prototype.readIntBE=function(z,R,X){z&gt;&gt;&gt;=0,R&gt;&gt;&gt;=0,X||j(z,R,this.length);for(var re=R,Q=1,te=this[z+--re];re&gt;0&amp;&amp;(Q*=256);)te+=this[z+--re]*Q;return te&gt;=(Q*=128)&amp;&amp;(te-=Math.pow(2,8*R)),te},a.prototype.readInt8=function(z,R){return z&gt;&gt;&gt;=0,R||j(z,1,this.length),128&amp;this[z]?-1*(255-this[z]+1):this[z]},a.prototype.readInt16LE=function(z,R){z&gt;&gt;&gt;=0,R||j(z,2,this.length);var X=this[z]|this[z+1]&lt;&lt;8;return 32768&amp;X?4294901760|X:X},a.prototype.readInt16BE=function(z,R){z&gt;&gt;&gt;=0,R||j(z,2,this.length);var X=this[z+1]|this[z]&lt;&lt;8;return 32768&amp;X?4294901760|X:X},a.prototype.readInt32LE=function(z,R){return z&gt;&gt;&gt;=0,R||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},a.prototype.readInt32BE=function(z,R){return z&gt;&gt;&gt;=0,R||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]},a.prototype.readFloatLE=function(z,R){return z&gt;&gt;&gt;=0,R||j(z,4,this.length),u.read(this,z,!0,23,4)},a.prototype.readFloatBE=function(z,R){return z&gt;&gt;&gt;=0,R||j(z,4,this.length),u.read(this,z,!1,23,4)},a.prototype.readDoubleLE=function(z,R){return z&gt;&gt;&gt;=0,R||j(z,8,this.length),u.read(this,z,!0,52,8)},a.prototype.readDoubleBE=function(z,R){return z&gt;&gt;&gt;=0,R||j(z,8,this.length),u.read(this,z,!1,52,8)},a.prototype.writeUIntLE=function(z,R,X,re){z=+z,R&gt;&gt;&gt;=0,X&gt;&gt;&gt;=0,re||k(this,z,R,X,Math.pow(2,8*X)-1,0);var Q=1,te=0;for(this[R]=255&amp;z;++te&lt;X&amp;&amp;(Q*=256);)this[R+te]=z/Q&amp;255;return R+X},a.prototype.writeUIntBE=function(z,R,X,re){z=+z,R&gt;&gt;&gt;=0,X&gt;&gt;&gt;=0,re||k(this,z,R,X,Math.pow(2,8*X)-1,0);var Q=X-1,te=1;for(this[R+Q]=255&amp;z;--Q&gt;=0&amp;&amp;(te*=256);)this[R+Q]=z/te&amp;255;return R+X},a.prototype.writeUInt8=function(z,R,X){return z=+z,R&gt;&gt;&gt;=0,X||k(this,z,R,1,255,0),this[R]=255&amp;z,R+1},a.prototype.writeUInt16LE=function(z,R,X){return z=+z,R&gt;&gt;&gt;=0,X||k(this,z,R,2,65535,0),this[R]=255&amp;z,this[R+1]=z&gt;&gt;&gt;8,R+2},a.prototype.writeUInt16BE=function(z,R,X){return z=+z,R&gt;&gt;&gt;=0,X||k(this,z,R,2,65535,0),this[R]=z&gt;&gt;&gt;8,this[R+1]=255&amp;z,R+2},a.prototype.writeUInt32LE=function(z,R,X){return z=+z,R&gt;&gt;&gt;=0,X||k(this,z,R,4,4294967295,0),this[R+3]=z&gt;&gt;&gt;24,this[R+2]=z&gt;&gt;&gt;16,this[R+1]=z&gt;&gt;&gt;8,this[R]=255&amp;z,R+4},a.prototype.writeUInt32BE=function(z,R,X){return z=+z,R&gt;&gt;&gt;=0,X||k(this,z,R,4,4294967295,0),this[R]=z&gt;&gt;&gt;24,this[R+1]=z&gt;&gt;&gt;16,this[R+2]=z&gt;&gt;&gt;8,this[R+3]=255&amp;z,R+4},a.prototype.writeIntLE=function(z,R,X,re){if(z=+z,R&gt;&gt;&gt;=0,!re){var Q=Math.pow(2,8*X-1);k(this,z,R,X,Q-1,-Q)}var te=0,se=1,de=0;for(this[R]=255&amp;z;++te&lt;X&amp;&amp;(se*=256);)z&lt;0&amp;&amp;de===0&amp;&amp;this[R+te-1]!==0&amp;&amp;(de=1),this[R+te]=(z/se&gt;&gt;0)-de&amp;255;return R+X},a.prototype.writeIntBE=function(z,R,X,re){if(z=+z,R&gt;&gt;&gt;=0,!re){var Q=Math.pow(2,8*X-1);k(this,z,R,X,Q-1,-Q)}var te=X-1,se=1,de=0;for(this[R+te]=255&amp;z;--te&gt;=0&amp;&amp;(se*=256);)z&lt;0&amp;&amp;de===0&amp;&amp;this[R+te+1]!==0&amp;&amp;(de=1),this[R+te]=(z/se&gt;&gt;0)-de&amp;255;return R+X},a.prototype.writeInt8=function(z,R,X){return z=+z,R&gt;&gt;&gt;=0,X||k(this,z,R,1,127,-128),z&lt;0&amp;&amp;(z=255+z+1),this[R]=255&amp;z,R+1},a.prototype.writeInt16LE=function(z,R,X){return z=+z,R&gt;&gt;&gt;=0,X||k(this,z,R,2,32767,-32768),this[R]=255&amp;z,this[R+1]=z&gt;&gt;&gt;8,R+2},a.prototype.writeInt16BE=function(z,R,X){return z=+z,R&gt;&gt;&gt;=0,X||k(this,z,R,2,32767,-32768),this[R]=z&gt;&gt;&gt;8,this[R+1]=255&amp;z,R+2},a.prototype.writeInt32LE=function(z,R,X){return z=+z,R&gt;&gt;&gt;=0,X||k(this,z,R,4,2147483647,-2147483648),this[R]=255&amp;z,this[R+1]=z&gt;&gt;&gt;8,this[R+2]=z&gt;&gt;&gt;16,this[R+3]=z&gt;&gt;&gt;24,R+4},a.prototype.writeInt32BE=function(z,R,X){return z=+z,R&gt;&gt;&gt;=0,X||k(this,z,R,4,2147483647,-2147483648),z&lt;0&amp;&amp;(z=4294967295+z+1),this[R]=z&gt;&gt;&gt;24,this[R+1]=z&gt;&gt;&gt;16,this[R+2]=z&gt;&gt;&gt;8,this[R+3]=255&amp;z,R+4},a.prototype.writeFloatLE=function(z,R,X){return N(this,z,R,!0,X)},a.prototype.writeFloatBE=function(z,R,X){return N(this,z,R,!1,X)},a.prototype.writeDoubleLE=function(z,R,X){return O(this,z,R,!0,X)},a.prototype.writeDoubleBE=function(z,R,X){return O(this,z,R,!1,X)},a.prototype.copy=function(z,R,X,re){if(!a.isBuffer(z))throw new TypeError(&quot;argument should be a Buffer&quot;);if(X||(X=0),re||re===0||(re=this.length),R&gt;=z.length&amp;&amp;(R=z.length),R||(R=0),re&gt;0&amp;&amp;re&lt;X&amp;&amp;(re=X),re===X||z.length===0||this.length===0)return 0;if(R&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-R&lt;re-X&amp;&amp;(re=z.length-R+X);var Q=re-X;if(this===z&amp;&amp;typeof Uint8Array.prototype.copyWithin==&quot;function&quot;)this.copyWithin(R,X,re);else if(this===z&amp;&amp;X&lt;R&amp;&amp;R&lt;re)for(var te=Q-1;te&gt;=0;--te)z[te+R]=this[te+X];else Uint8Array.prototype.set.call(z,this.subarray(X,re),R);return Q},a.prototype.fill=function(z,R,X,re){if(typeof z==&quot;string&quot;){if(typeof R==&quot;string&quot;?(re=R,R=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;!a.isEncoding(re))throw new TypeError(&quot;Unknown encoding: &quot;+re);if(z.length===1){var Q=z.charCodeAt(0);(re===&quot;utf8&quot;&amp;&amp;Q&lt;128||re===&quot;latin1&quot;)&amp;&amp;(z=Q)}}else typeof z==&quot;number&quot;&amp;&amp;(z&amp;=255);if(R&lt;0||this.length&lt;R||this.length&lt;X)throw new RangeError(&quot;Out of range index&quot;);if(X&lt;=R)return this;var te;if(R&gt;&gt;&gt;=0,X=X===void 0?this.length:X&gt;&gt;&gt;0,z||(z=0),typeof z==&quot;number&quot;)for(te=R;te&lt;X;++te)this[te]=z;else{var se=a.isBuffer(z)?z:a.from(z,re),de=se.length;if(de===0)throw new TypeError(&#039;The value &quot;&#039;+z+&#039;&quot; is invalid for argument &quot;value&quot;&#039;);for(te=0;te&lt;X-R;++te)this[te+R]=se[te%de]}return this};var D=/[^+/0-9A-Za-z-_]/g;function B(z){return z&lt;16?&quot;0&quot;+z.toString(16):z.toString(16)}function Y(z,R){var X;R=R||1/0;for(var re=z.length,Q=null,te=[],se=0;se&lt;re;++se){if((X=z.charCodeAt(se))&gt;55295&amp;&amp;X&lt;57344){if(!Q){if(X&gt;56319){(R-=3)&gt;-1&amp;&amp;te.push(239,191,189);continue}if(se+1===re){(R-=3)&gt;-1&amp;&amp;te.push(239,191,189);continue}Q=X;continue}if(X&lt;56320){(R-=3)&gt;-1&amp;&amp;te.push(239,191,189),Q=X;continue}X=65536+(Q-55296&lt;&lt;10|X-56320)}else Q&amp;&amp;(R-=3)&gt;-1&amp;&amp;te.push(239,191,189);if(Q=null,X&lt;128){if((R-=1)&lt;0)break;te.push(X)}else if(X&lt;2048){if((R-=2)&lt;0)break;te.push(X&gt;&gt;6|192,63&amp;X|128)}else if(X&lt;65536){if((R-=3)&lt;0)break;te.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((R-=4)&lt;0)break;te.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 te}function Z(z){return o.toByteArray((function(R){if((R=(R=R.split(&quot;=&quot;)[0]).trim().replace(D,&quot;&quot;)).length&lt;2)return&quot;&quot;;for(;R.length%4!=0;)R+=&quot;=&quot;;return R})(z))}function ne(z,R,X,re){for(var Q=0;Q&lt;re&amp;&amp;!(Q+X&gt;=R.length||Q&gt;=z.length);++Q)R[Q+X]=z[Q];return Q}function V(z,R){return z instanceof R||z!=null&amp;&amp;z.constructor!=null&amp;&amp;z.constructor.name!=null&amp;&amp;z.constructor.name===R.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,l){var i=t(&quot;safe-buffer&quot;).Buffer,o=t(&quot;stream&quot;).Transform,u=t(&quot;string_decoder&quot;).StringDecoder;function c(a){o.call(this),this.hashMode=typeof a==&quot;string&quot;,this.hashMode?this[a]=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;)(c,o),c.prototype.update=function(a,d,f){typeof a==&quot;string&quot;&amp;&amp;(a=i.from(a,d));var h=this._update(a);return this.hashMode?this:(f&amp;&amp;(h=this._toString(h,f)),h)},c.prototype.setAutoPadding=function(){},c.prototype.getAuthTag=function(){throw new Error(&quot;trying to get auth tag in unsupported state&quot;)},c.prototype.setAuthTag=function(){throw new Error(&quot;trying to set auth tag in unsupported state&quot;)},c.prototype.setAAD=function(){throw new Error(&quot;trying to set aad in unsupported state&quot;)},c.prototype._transform=function(a,d,f){var h;try{this.hashMode?this._update(a):this.push(this._update(a))}catch(m){h=m}finally{f(h)}},c.prototype._flush=function(a){var d;try{this.push(this.__final())}catch(f){d=f}a(d)},c.prototype._finalOrDigest=function(a){var d=this.__final()||i.alloc(0);return a&amp;&amp;(d=this._toString(d,a,!0)),d},c.prototype._toString=function(a,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(a);return f&amp;&amp;(h+=this._decoder.end()),h},n.exports=c},{inherits:440,&quot;safe-buffer&quot;:494,stream:505,string_decoder:218}],222:[function(t,n,l){var i=t(&quot;../internals/is-callable&quot;),o=t(&quot;../internals/try-to-string&quot;),u=TypeError;n.exports=function(c){if(i(c))return c;throw new u(o(c)+&quot; is not a function&quot;)}},{&quot;../internals/is-callable&quot;:285,&quot;../internals/try-to-string&quot;:349}],223:[function(t,n,l){var i=t(&quot;../internals/is-constructor&quot;),o=t(&quot;../internals/try-to-string&quot;),u=TypeError;n.exports=function(c){if(i(c))return c;throw new u(o(c)+&quot; is not a constructor&quot;)}},{&quot;../internals/is-constructor&quot;:286,&quot;../internals/try-to-string&quot;:349}],224:[function(t,n,l){var i=t(&quot;../internals/is-callable&quot;),o=String,u=TypeError;n.exports=function(c){if(typeof c==&quot;object&quot;||i(c))return c;throw new u(&quot;Can&#039;t set &quot;+o(c)+&quot; as a prototype&quot;)}},{&quot;../internals/is-callable&quot;:285}],225:[function(t,n,l){var i=t(&quot;../internals/well-known-symbol&quot;),o=t(&quot;../internals/object-create&quot;),u=t(&quot;../internals/object-define-property&quot;).f,c=i(&quot;unscopables&quot;),a=Array.prototype;a[c]===void 0&amp;&amp;u(a,c,{configurable:!0,value:o(null)}),n.exports=function(d){a[c][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,l){var i=t(&quot;../internals/object-is-prototype-of&quot;),o=TypeError;n.exports=function(u,c){if(i(c,u))return u;throw new o(&quot;Incorrect invocation&quot;)}},{&quot;../internals/object-is-prototype-of&quot;:314}],227:[function(t,n,l){var i=t(&quot;../internals/is-object&quot;),o=String,u=TypeError;n.exports=function(c){if(i(c))return c;throw new u(o(c)+&quot; is not an object&quot;)}},{&quot;../internals/is-object&quot;:289}],228:[function(t,n,l){var i=t(&quot;../internals/to-indexed-object&quot;),o=t(&quot;../internals/to-absolute-index&quot;),u=t(&quot;../internals/length-of-array-like&quot;),c=function(a){return function(d,f,h){var m,p=i(d),x=u(p),g=o(h,x);if(a&amp;&amp;f!=f){for(;x&gt;g;)if((m=p[g++])!=m)return!0}else for(;x&gt;g;g++)if((a||g in p)&amp;&amp;p[g]===f)return a||g||0;return!a&amp;&amp;-1}};n.exports={includes:c(!0),indexOf:c(!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,l){var i=t(&quot;../internals/function-bind-context&quot;),o=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/indexed-object&quot;),c=t(&quot;../internals/to-object&quot;),a=t(&quot;../internals/length-of-array-like&quot;),d=t(&quot;../internals/array-species-create&quot;),f=o([].push),h=function(m){var p=m===1,x=m===2,g=m===3,y=m===4,v=m===6,_=m===7,C=m===5||v;return function(M,T,$,F){for(var H,W,q=c(M),K=u(q),P=i(T,$),L=a(K),E=0,j=F||d,k=p?j(M,L):x||_?j(M,0):void 0;L&gt;E;E++)if((C||E in K)&amp;&amp;(W=P(H=K[E],E,q),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,l){var i=t(&quot;../internals/to-absolute-index&quot;),o=t(&quot;../internals/length-of-array-like&quot;),u=t(&quot;../internals/create-property&quot;),c=Array,a=Math.max;n.exports=function(d,f,h){for(var m=o(d),p=i(f,m),x=i(h===void 0?m:h,m),g=c(a(x-p,0)),y=0;p&lt;x;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,l){var i=t(&quot;../internals/function-uncurry-this&quot;);n.exports=i([].slice)},{&quot;../internals/function-uncurry-this&quot;:268}],232:[function(t,n,l){var i=t(&quot;../internals/is-array&quot;),o=t(&quot;../internals/is-constructor&quot;),u=t(&quot;../internals/is-object&quot;),c=t(&quot;../internals/well-known-symbol&quot;)(&quot;species&quot;),a=Array;n.exports=function(d){var f;return i(d)&amp;&amp;(f=d.constructor,(o(f)&amp;&amp;(f===a||i(f.prototype))||u(f)&amp;&amp;(f=f[c])===null)&amp;&amp;(f=void 0)),f===void 0?a: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,l){var i=t(&quot;../internals/array-species-constructor&quot;);n.exports=function(o,u){return new(i(o))(u===0?0:u)}},{&quot;../internals/array-species-constructor&quot;:232}],234:[function(t,n,l){var i=t(&quot;../internals/well-known-symbol&quot;)(&quot;iterator&quot;),o=!1;try{var u=0,c={next:function(){return{done:!!u++}},return:function(){o=!0}};c[i]=function(){return this},Array.from(c,(function(){throw 2}))}catch{}n.exports=function(a,d){try{if(!d&amp;&amp;!o)return!1}catch{return!1}var f=!1;try{var h={};h[i]=function(){return{next:function(){return{done:f=!0}}}},a(h)}catch{}return f}},{&quot;../internals/well-known-symbol&quot;:357}],235:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),o=i({}.toString),u=i(&quot;&quot;.slice);n.exports=function(c){return u(o(c),8,-1)}},{&quot;../internals/function-uncurry-this&quot;:268}],236:[function(t,n,l){var i=t(&quot;../internals/to-string-tag-support&quot;),o=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/classof-raw&quot;),c=t(&quot;../internals/well-known-symbol&quot;)(&quot;toStringTag&quot;),a=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(x,g){try{return x[g]}catch{}})(h=a(f),c))==&quot;string&quot;?m:d?u(h):(p=u(h))===&quot;Object&quot;&amp;&amp;o(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,l){var i=t(&quot;../internals/has-own-property&quot;),o=t(&quot;../internals/own-keys&quot;),u=t(&quot;../internals/object-get-own-property-descriptor&quot;),c=t(&quot;../internals/object-define-property&quot;);n.exports=function(a,d,f){for(var h=o(d),m=c.f,p=u.f,x=0;x&lt;h.length;x++){var g=h[x];i(a,g)||f&amp;&amp;i(f,g)||m(a,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,l){var i=t(&quot;../internals/well-known-symbol&quot;)(&quot;match&quot;);n.exports=function(o){var u=/./;try{&quot;/./&quot;[o](u)}catch{try{return u[i]=!1,&quot;/./&quot;[o](u)}catch{}}return!1}},{&quot;../internals/well-known-symbol&quot;:357}],239:[function(t,n,l){var i=t(&quot;../internals/fails&quot;);n.exports=!i((function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype}))},{&quot;../internals/fails&quot;:260}],240:[function(t,n,l){n.exports=function(i,o){return{value:i,done:o}}},{}],241:[function(t,n,l){var i=t(&quot;../internals/descriptors&quot;),o=t(&quot;../internals/object-define-property&quot;),u=t(&quot;../internals/create-property-descriptor&quot;);n.exports=i?function(c,a,d){return o.f(c,a,u(1,d))}:function(c,a,d){return c[a]=d,c}},{&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/descriptors&quot;:247,&quot;../internals/object-define-property&quot;:308}],242:[function(t,n,l){n.exports=function(i,o){return{enumerable:!(1&amp;i),configurable:!(2&amp;i),writable:!(4&amp;i),value:o}}},{}],243:[function(t,n,l){var i=t(&quot;../internals/to-property-key&quot;),o=t(&quot;../internals/object-define-property&quot;),u=t(&quot;../internals/create-property-descriptor&quot;);n.exports=function(c,a,d){var f=i(a);f in c?o.f(c,f,u(0,d)):c[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,l){var i=t(&quot;../internals/make-built-in&quot;),o=t(&quot;../internals/object-define-property&quot;);n.exports=function(u,c,a){return a.get&amp;&amp;i(a.get,c,{getter:!0}),a.set&amp;&amp;i(a.set,c,{setter:!0}),o.f(u,c,a)}},{&quot;../internals/make-built-in&quot;:300,&quot;../internals/object-define-property&quot;:308}],245:[function(t,n,l){var i=t(&quot;../internals/is-callable&quot;),o=t(&quot;../internals/object-define-property&quot;),u=t(&quot;../internals/make-built-in&quot;),c=t(&quot;../internals/define-global-property&quot;);n.exports=function(a,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?a[d]=f:c(d,f);else{try{h.unsafe?a[d]&amp;&amp;(m=!0):delete a[d]}catch{}m?a[d]=f:o.f(a,d,{value:f,enumerable:!1,configurable:!h.nonConfigurable,writable:!h.nonWritable})}return a}},{&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,l){var i=t(&quot;../internals/global&quot;),o=Object.defineProperty;n.exports=function(u,c){try{o(i,u,{value:c,configurable:!0,writable:!0})}catch{i[u]=c}return c}},{&quot;../internals/global&quot;:274}],247:[function(t,n,l){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,l){var i=typeof document==&quot;object&quot;&amp;&amp;document.all,o=i===void 0&amp;&amp;i!==void 0;n.exports={all:i,IS_HTMLDDA:o}},{}],249:[function(t,n,l){var i=t(&quot;../internals/global&quot;),o=t(&quot;../internals/is-object&quot;),u=i.document,c=o(u)&amp;&amp;o(u.createElement);n.exports=function(a){return c?u.createElement(a):{}}},{&quot;../internals/global&quot;:274,&quot;../internals/is-object&quot;:289}],250:[function(t,n,l){var i=t(&quot;../internals/engine-is-deno&quot;),o=t(&quot;../internals/engine-is-node&quot;);n.exports=!i&amp;&amp;!o&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,l){n.exports=typeof Deno==&quot;object&quot;&amp;&amp;Deno&amp;&amp;typeof Deno.version==&quot;object&quot;},{}],252:[function(t,n,l){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,l){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,l){var i=t(&quot;../internals/global&quot;),o=t(&quot;../internals/classof-raw&quot;);n.exports=o(i.process)===&quot;process&quot;},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/global&quot;:274}],255:[function(t,n,l){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,l){n.exports=typeof navigator&lt;&quot;u&quot;&amp;&amp;String(navigator.userAgent)||&quot;&quot;},{}],257:[function(t,n,l){var i,o,u=t(&quot;../internals/global&quot;),c=t(&quot;../internals/engine-user-agent&quot;),a=u.process,d=u.Deno,f=a&amp;&amp;a.versions||d&amp;&amp;d.version,h=f&amp;&amp;f.v8;h&amp;&amp;(o=(i=h.split(&quot;.&quot;))[0]&gt;0&amp;&amp;i[0]&lt;4?1:+(i[0]+i[1])),!o&amp;&amp;c&amp;&amp;(!(i=c.match(/Edge\/(\d+)/))||i[1]&gt;=74)&amp;&amp;(i=c.match(/Chrome\/(\d+)/))&amp;&amp;(o=+i[1]),n.exports=o},{&quot;../internals/engine-user-agent&quot;:256,&quot;../internals/global&quot;:274}],258:[function(t,n,l){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,l){var i=t(&quot;../internals/global&quot;),o=t(&quot;../internals/object-get-own-property-descriptor&quot;).f,u=t(&quot;../internals/create-non-enumerable-property&quot;),c=t(&quot;../internals/define-built-in&quot;),a=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,x,g,y,v,_=h.target,C=h.global,M=h.stat;if(p=C?i:M?i[_]||a(_,{}):(i[_]||{}).prototype)for(x in m){if(y=m[x],g=h.dontCallGetSet?(v=o(p,x))&amp;&amp;v.value:p[x],!f(C?x:_+(M?&quot;.&quot;:&quot;#&quot;)+x,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),c(p,x,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,l){n.exports=function(i){try{return!!i()}catch{return!0}}},{}],261:[function(t,n,l){var i=t(&quot;../internals/function-bind-native&quot;),o=Function.prototype,u=o.apply,c=o.call;n.exports=typeof Reflect==&quot;object&quot;&amp;&amp;Reflect.apply||(i?c.bind(u):function(){return c.apply(u,arguments)})},{&quot;../internals/function-bind-native&quot;:263}],262:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this-clause&quot;),o=t(&quot;../internals/a-callable&quot;),u=t(&quot;../internals/function-bind-native&quot;),c=i(i.bind);n.exports=function(a,d){return o(a),d===void 0?a:u?c(a,d):function(){return a.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,l){var i=t(&quot;../internals/fails&quot;);n.exports=!i((function(){var o=(function(){}).bind();return typeof o!=&quot;function&quot;||o.hasOwnProperty(&quot;prototype&quot;)}))},{&quot;../internals/fails&quot;:260}],264:[function(t,n,l){var i=t(&quot;../internals/function-bind-native&quot;),o=Function.prototype.call;n.exports=i?o.bind(o):function(){return o.apply(o,arguments)}},{&quot;../internals/function-bind-native&quot;:263}],265:[function(t,n,l){var i=t(&quot;../internals/descriptors&quot;),o=t(&quot;../internals/has-own-property&quot;),u=Function.prototype,c=i&amp;&amp;Object.getOwnPropertyDescriptor,a=o(u,&quot;name&quot;),d=a&amp;&amp;(function(){}).name===&quot;something&quot;,f=a&amp;&amp;(!i||i&amp;&amp;c(u,&quot;name&quot;).configurable);n.exports={EXISTS:a,PROPER:d,CONFIGURABLE:f}},{&quot;../internals/descriptors&quot;:247,&quot;../internals/has-own-property&quot;:275}],266:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),o=t(&quot;../internals/a-callable&quot;);n.exports=function(u,c,a){try{return i(o(Object.getOwnPropertyDescriptor(u,c)[a]))}catch{}}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/function-uncurry-this&quot;:268}],267:[function(t,n,l){var i=t(&quot;../internals/classof-raw&quot;),o=t(&quot;../internals/function-uncurry-this&quot;);n.exports=function(u){if(i(u)===&quot;Function&quot;)return o(u)}},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/function-uncurry-this&quot;:268}],268:[function(t,n,l){var i=t(&quot;../internals/function-bind-native&quot;),o=Function.prototype,u=o.call,c=i&amp;&amp;o.bind.bind(u,u);n.exports=i?c:function(a){return function(){return u.apply(a,arguments)}}},{&quot;../internals/function-bind-native&quot;:263}],269:[function(t,n,l){var i=t(&quot;../internals/global&quot;),o=t(&quot;../internals/is-callable&quot;),u=function(c){return o(c)?c:void 0};n.exports=function(c,a){return arguments.length&lt;2?u(i[c]):i[c]&amp;&amp;i[c][a]}},{&quot;../internals/global&quot;:274,&quot;../internals/is-callable&quot;:285}],270:[function(t,n,l){var i=t(&quot;../internals/classof&quot;),o=t(&quot;../internals/get-method&quot;),u=t(&quot;../internals/is-null-or-undefined&quot;),c=t(&quot;../internals/iterators&quot;),a=t(&quot;../internals/well-known-symbol&quot;)(&quot;iterator&quot;);n.exports=function(d){if(!u(d))return o(d,a)||o(d,&quot;@@iterator&quot;)||c[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,l){var i=t(&quot;../internals/function-call&quot;),o=t(&quot;../internals/a-callable&quot;),u=t(&quot;../internals/an-object&quot;),c=t(&quot;../internals/try-to-string&quot;),a=t(&quot;../internals/get-iterator-method&quot;),d=TypeError;n.exports=function(f,h){var m=arguments.length&lt;2?a(f):h;if(o(m))return u(i(m,f));throw new d(c(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,l){var i=t(&quot;../internals/function-uncurry-this&quot;),o=t(&quot;../internals/is-array&quot;),u=t(&quot;../internals/is-callable&quot;),c=t(&quot;../internals/classof-raw&quot;),a=t(&quot;../internals/to-string&quot;),d=i([].push);n.exports=function(f){if(u(f))return f;if(o(f)){for(var h=f.length,m=[],p=0;p&lt;h;p++){var x=f[p];typeof x==&quot;string&quot;?d(m,x):typeof x!=&quot;number&quot;&amp;&amp;c(x)!==&quot;Number&quot;&amp;&amp;c(x)!==&quot;String&quot;||d(m,a(x))}var g=m.length,y=!0;return function(v,_){if(y)return y=!1,_;if(o(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,l){var i=t(&quot;../internals/a-callable&quot;),o=t(&quot;../internals/is-null-or-undefined&quot;);n.exports=function(u,c){var a=u[c];return o(a)?void 0:i(a)}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/is-null-or-undefined&quot;:288}],274:[function(t,n,l){(function(i){(function(){var o=function(u){return u&amp;&amp;u.Math===Math&amp;&amp;u};n.exports=o(typeof globalThis==&quot;object&quot;&amp;&amp;globalThis)||o(typeof window==&quot;object&quot;&amp;&amp;window)||o(typeof self==&quot;object&quot;&amp;&amp;self)||o(typeof i==&quot;object&quot;&amp;&amp;i)||(function(){return this})()||this||Function(&quot;return this&quot;)()}).call(this)}).call(this,typeof Jt&lt;&quot;u&quot;?Jt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],275:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),o=t(&quot;../internals/to-object&quot;),u=i({}.hasOwnProperty);n.exports=Object.hasOwn||function(c,a){return u(o(c),a)}},{&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/to-object&quot;:344}],276:[function(t,n,l){n.exports={}},{}],277:[function(t,n,l){n.exports=function(i,o){try{arguments.length===1?console.error(i):console.error(i,o)}catch{}}},{}],278:[function(t,n,l){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,l){var i=t(&quot;../internals/descriptors&quot;),o=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/document-create-element&quot;);n.exports=!i&amp;&amp;!o((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,l){var i=t(&quot;../internals/function-uncurry-this&quot;),o=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/classof-raw&quot;),c=Object,a=i(&quot;&quot;.split);n.exports=o((function(){return!c(&quot;z&quot;).propertyIsEnumerable(0)}))?function(d){return u(d)===&quot;String&quot;?a(d,&quot;&quot;):c(d)}:c},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/fails&quot;:260,&quot;../internals/function-uncurry-this&quot;:268}],281:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),o=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/shared-store&quot;),c=i(Function.toString);o(u.inspectSource)||(u.inspectSource=function(a){return c(a)}),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,l){var i,o,u,c=t(&quot;../internals/weak-map-basic-detection&quot;),a=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;),x=t(&quot;../internals/hidden-keys&quot;),g=a.TypeError,y=a.WeakMap;if(c||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,M){if(v.has(C))throw new g(&quot;Object already initialized&quot;);return M.facade=C,v.set(C,M),M},o=function(C){return v.get(C)||{}},u=function(C){return v.has(C)}}else{var _=p(&quot;state&quot;);x[_]=!0,i=function(C,M){if(h(C,_))throw new g(&quot;Object already initialized&quot;);return M.facade=C,f(C,_,M),M},o=function(C){return h(C,_)?C[_]:{}},u=function(C){return h(C,_)}}n.exports={set:i,get:o,has:u,enforce:function(C){return u(C)?o(C):i(C,{})},getterFor:function(C){return function(M){var T;if(!d(M)||(T=o(M)).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,l){var i=t(&quot;../internals/well-known-symbol&quot;),o=t(&quot;../internals/iterators&quot;),u=i(&quot;iterator&quot;),c=Array.prototype;n.exports=function(a){return a!==void 0&amp;&amp;(o.Array===a||c[u]===a)}},{&quot;../internals/iterators&quot;:298,&quot;../internals/well-known-symbol&quot;:357}],284:[function(t,n,l){var i=t(&quot;../internals/classof-raw&quot;);n.exports=Array.isArray||function(o){return i(o)===&quot;Array&quot;}},{&quot;../internals/classof-raw&quot;:235}],285:[function(t,n,l){var i=t(&quot;../internals/document-all&quot;),o=i.all;n.exports=i.IS_HTMLDDA?function(u){return typeof u==&quot;function&quot;||u===o}:function(u){return typeof u==&quot;function&quot;}},{&quot;../internals/document-all&quot;:248}],286:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),o=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/is-callable&quot;),c=t(&quot;../internals/classof&quot;),a=t(&quot;../internals/get-built-in&quot;),d=t(&quot;../internals/inspect-source&quot;),f=function(){},h=[],m=a(&quot;Reflect&quot;,&quot;construct&quot;),p=/^\s*(?:class|function)\b/,x=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(c(_)){case&quot;AsyncFunction&quot;:case&quot;GeneratorFunction&quot;:case&quot;AsyncGeneratorFunction&quot;:return!1}try{return g||!!x(p,d(_))}catch{return!0}};v.sham=!0,n.exports=!m||o((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,l){var i=t(&quot;../internals/fails&quot;),o=t(&quot;../internals/is-callable&quot;),u=/#|\.prototype\./,c=function(m,p){var x=d[a(m)];return x===h||x!==f&amp;&amp;(o(p)?i(p):!!p)},a=c.normalize=function(m){return String(m).replace(u,&quot;.&quot;).toLowerCase()},d=c.data={},f=c.NATIVE=&quot;N&quot;,h=c.POLYFILL=&quot;P&quot;;n.exports=c},{&quot;../internals/fails&quot;:260,&quot;../internals/is-callable&quot;:285}],288:[function(t,n,l){n.exports=function(i){return i==null}},{}],289:[function(t,n,l){var i=t(&quot;../internals/is-callable&quot;),o=t(&quot;../internals/document-all&quot;),u=o.all;n.exports=o.IS_HTMLDDA?function(c){return typeof c==&quot;object&quot;?c!==null:i(c)||c===u}:function(c){return typeof c==&quot;object&quot;?c!==null:i(c)}},{&quot;../internals/document-all&quot;:248,&quot;../internals/is-callable&quot;:285}],290:[function(t,n,l){n.exports=!1},{}],291:[function(t,n,l){var i=t(&quot;../internals/is-object&quot;),o=t(&quot;../internals/classof-raw&quot;),u=t(&quot;../internals/well-known-symbol&quot;)(&quot;match&quot;);n.exports=function(c){var a;return i(c)&amp;&amp;((a=c[u])!==void 0?!!a:o(c)===&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,l){var i=t(&quot;../internals/get-built-in&quot;),o=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/object-is-prototype-of&quot;),c=t(&quot;../internals/use-symbol-as-uid&quot;),a=Object;n.exports=c?function(d){return typeof d==&quot;symbol&quot;}:function(d){var f=i(&quot;Symbol&quot;);return o(f)&amp;&amp;u(f.prototype,a(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,l){var i=t(&quot;../internals/function-bind-context&quot;),o=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/an-object&quot;),c=t(&quot;../internals/try-to-string&quot;),a=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;),x=TypeError,g=function(v,_){this.stopped=v,this.result=_},y=g.prototype;n.exports=function(v,_,C){var M,T,$,F,H,W,q,K=C&amp;&amp;C.that,P=!(!C||!C.AS_ENTRIES),L=!(!C||!C.IS_RECORD),E=!(!C||!C.IS_ITERATOR),j=!(!C||!C.INTERRUPTED),k=i(_,K),S=function(O){return M&amp;&amp;p(M,&quot;normal&quot;,O),new g(!0,O)},N=function(O){return P?(u(O),j?k(O[0],O[1],S):k(O[0],O[1])):j?k(O,S):k(O)};if(L)M=v.iterator;else if(E)M=v;else{if(!(T=m(v)))throw new x(c(v)+&quot; is not iterable&quot;);if(a(T)){for($=0,F=d(v);F&gt;$;$++)if((H=N(v[$]))&amp;&amp;f(y,H))return H;return new g(!1)}M=h(v,T)}for(W=L?v.next:M.next;!(q=o(W,M)).done;){try{H=N(q.value)}catch(O){p(M,&quot;throw&quot;,O)}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,l){var i=t(&quot;../internals/function-call&quot;),o=t(&quot;../internals/an-object&quot;),u=t(&quot;../internals/get-method&quot;);n.exports=function(c,a,d){var f,h;o(c);try{if(!(f=u(c,&quot;return&quot;))){if(a===&quot;throw&quot;)throw d;return d}f=i(f,c)}catch(m){h=!0,f=m}if(a===&quot;throw&quot;)throw d;if(h)throw f;return o(f),d}},{&quot;../internals/an-object&quot;:227,&quot;../internals/function-call&quot;:264,&quot;../internals/get-method&quot;:273}],295:[function(t,n,l){var i=t(&quot;../internals/iterators-core&quot;).IteratorPrototype,o=t(&quot;../internals/object-create&quot;),u=t(&quot;../internals/create-property-descriptor&quot;),c=t(&quot;../internals/set-to-string-tag&quot;),a=t(&quot;../internals/iterators&quot;),d=function(){return this};n.exports=function(f,h,m,p){var x=h+&quot; Iterator&quot;;return f.prototype=o(i,{next:u(+!p,m)}),c(f,x,!1,!0),a[x]=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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/is-pure&quot;),c=t(&quot;../internals/function-name&quot;),a=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;),x=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;),_=c.PROPER,C=c.CONFIGURABLE,M=v.IteratorPrototype,T=v.BUGGY_SAFARI_ITERATORS,$=g(&quot;iterator&quot;),F=function(){return this};n.exports=function(H,W,q,K,P,L,E){d(q,W,K);var j,k,S,N=function(V){if(V===P&amp;&amp;Z)return Z;if(!T&amp;&amp;V&amp;&amp;V in B)return B[V];switch(V){case&quot;keys&quot;:case&quot;values&quot;:case&quot;entries&quot;:return function(){return new q(this,V)}}return function(){return new q(this)}},O=W+&quot; Iterator&quot;,D=!1,B=H.prototype,Y=B[$]||B[&quot;@@iterator&quot;]||P&amp;&amp;B[P],Z=!T&amp;&amp;Y||N(P),ne=W===&quot;Array&quot;&amp;&amp;B.entries||Y;if(ne&amp;&amp;(j=f(ne.call(new H)))!==Object.prototype&amp;&amp;j.next&amp;&amp;(u||f(j)===M||(h?h(j,M):a(j[$])||x(j,$,F)),m(j,O,!0,!0),u&amp;&amp;(y[O]=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;):(D=!0,Z=function(){return o(Y,this)})),P)if(k={values:N(&quot;values&quot;),keys:L?Z:N(&quot;keys&quot;),entries:N(&quot;entries&quot;)},E)for(S in k)(T||D||!(S in B))&amp;&amp;x(B,S,k[S]);else i({target:W,proto:!0,forced:T||D},k);return u&amp;&amp;!E||B[$]===Z||x(B,$,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,l){var i,o,u,c=t(&quot;../internals/fails&quot;),a=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;),x=t(&quot;../internals/is-pure&quot;),g=p(&quot;iterator&quot;),y=!1;[].keys&amp;&amp;(&quot;next&quot;in(u=[].keys())?(o=h(h(u)))!==Object.prototype&amp;&amp;(i=o):y=!0),!d(i)||c((function(){var v={};return i[g].call(v)!==v}))?i={}:x&amp;&amp;(i=f(i)),a(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,l){arguments[4][276][0].apply(l,arguments)},{dup:276}],299:[function(t,n,l){var i=t(&quot;../internals/to-length&quot;);n.exports=function(o){return i(o.length)}},{&quot;../internals/to-length&quot;:343}],300:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),o=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/is-callable&quot;),c=t(&quot;../internals/has-own-property&quot;),a=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,x=String,g=Object.defineProperty,y=i(&quot;&quot;.slice),v=i(&quot;&quot;.replace),_=i([].join),C=a&amp;&amp;!o((function(){return g((function(){}),&quot;length&quot;,{value:8}).length!==8})),M=String(String).split(&quot;String&quot;),T=n.exports=function($,F,H){y(x(F),0,7)===&quot;Symbol(&quot;&amp;&amp;(F=&quot;[&quot;+v(x(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),(!c($,&quot;name&quot;)||d&amp;&amp;$.name!==F)&amp;&amp;(a?g($,&quot;name&quot;,{value:F,configurable:!0}):$.name=F),C&amp;&amp;H&amp;&amp;c(H,&quot;arity&quot;)&amp;&amp;$.length!==H.arity&amp;&amp;g($,&quot;length&quot;,{value:H.arity});try{H&amp;&amp;c(H,&quot;constructor&quot;)&amp;&amp;H.constructor?a&amp;&amp;g($,&quot;prototype&quot;,{writable:!1}):$.prototype&amp;&amp;($.prototype=void 0)}catch{}var W=m($);return c(W,&quot;source&quot;)||(W.source=_(M,typeof F==&quot;string&quot;?F:&quot;&quot;)),$};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,l){var i=Math.ceil,o=Math.floor;n.exports=Math.trunc||function(u){var c=+u;return(c&gt;0?o:i)(c)}},{}],302:[function(t,n,l){var i,o,u,c,a,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;),x=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,M=d.process,T=d.Promise,$=h(d,&quot;queueMicrotask&quot;),F=$&amp;&amp;$.value;if(!F){var H=new p,W=function(){var q,K;for(v&amp;&amp;(q=M.domain)&amp;&amp;q.exit();K=H.get();)try{K()}catch(P){throw H.head&amp;&amp;i(),P}q&amp;&amp;q.enter()};x||v||y||!_||!C?!g&amp;&amp;T&amp;&amp;T.resolve?((c=T.resolve(void 0)).constructor=T,a=f(c.then,c),i=function(){a(W)}):v?i=function(){M.nextTick(W)}:(m=f(m,d),i=function(){m(W)}):(o=!0,u=C.createTextNode(&quot;&quot;),new _(W).observe(u,{characterData:!0}),i=function(){u.data=o=!o}),F=function(q){H.head||i(),H.add(q)}}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,l){var i=t(&quot;../internals/a-callable&quot;),o=TypeError,u=function(c){var a,d;this.promise=new c((function(f,h){if(a!==void 0||d!==void 0)throw new o(&quot;Bad Promise constructor&quot;);a=f,d=h})),this.resolve=i(a),this.reject=i(d)};n.exports.f=function(c){return new u(c)}},{&quot;../internals/a-callable&quot;:222}],304:[function(t,n,l){var i=t(&quot;../internals/is-regexp&quot;),o=TypeError;n.exports=function(u){if(i(u))throw new o(&quot;The method doesn&#039;t accept regular expressions&quot;);return u}},{&quot;../internals/is-regexp&quot;:291}],305:[function(t,n,l){var i=t(&quot;../internals/descriptors&quot;),o=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/function-call&quot;),c=t(&quot;../internals/fails&quot;),a=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,x=Object.defineProperty,g=o([].concat);n.exports=!p||c((function(){if(i&amp;&amp;p({b:1},p(x({},&quot;a&quot;,{enumerable:!0,get:function(){x(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||a(p({},v)).join(&quot;&quot;)!==&quot;abcdefghijklmnopqrst&quot;}))?function(y,v){for(var _=h(y),C=arguments.length,M=1,T=d.f,$=f.f;C&gt;M;)for(var F,H=m(arguments[M++]),W=T?g(a(H),T(H)):a(H),q=W.length,K=0;q&gt;K;)F=W[K++],i&amp;&amp;!u($,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,l){var i,o=t(&quot;../internals/an-object&quot;),u=t(&quot;../internals/object-define-properties&quot;),c=t(&quot;../internals/enum-bug-keys&quot;),a=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(){},x=function(v){return&quot;&lt;script&gt;&quot;+v+&quot;&lt;\/script&gt;&quot;},g=function(v){v.write(x(&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(x(&quot;document.F=Object&quot;)),v.close(),v.F):g(i);for(var C=c.length;C--;)delete y.prototype[c[C]];return y()};a[m]=!0,n.exports=Object.create||function(v,_){var C;return v!==null?(p.prototype=o(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,l){var i=t(&quot;../internals/descriptors&quot;),o=t(&quot;../internals/v8-prototype-define-bug&quot;),u=t(&quot;../internals/object-define-property&quot;),c=t(&quot;../internals/an-object&quot;),a=t(&quot;../internals/to-indexed-object&quot;),d=t(&quot;../internals/object-keys&quot;);l.f=i&amp;&amp;!o?Object.defineProperties:function(f,h){c(f);for(var m,p=a(h),x=d(h),g=x.length,y=0;g&gt;y;)u.f(f,m=x[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,l){var i=t(&quot;../internals/descriptors&quot;),o=t(&quot;../internals/ie8-dom-define&quot;),u=t(&quot;../internals/v8-prototype-define-bug&quot;),c=t(&quot;../internals/an-object&quot;),a=t(&quot;../internals/to-property-key&quot;),d=TypeError,f=Object.defineProperty,h=Object.getOwnPropertyDescriptor;l.f=i?u?function(m,p,x){if(c(m),p=a(p),c(x),typeof m==&quot;function&quot;&amp;&amp;p===&quot;prototype&quot;&amp;&amp;&quot;value&quot;in x&amp;&amp;&quot;writable&quot;in x&amp;&amp;!x.writable){var g=h(m,p);g&amp;&amp;g.writable&amp;&amp;(m[p]=x.value,x={configurable:&quot;configurable&quot;in x?x.configurable:g.configurable,enumerable:&quot;enumerable&quot;in x?x.enumerable:g.enumerable,writable:!1})}return f(m,p,x)}:f:function(m,p,x){if(c(m),p=a(p),c(x),o)try{return f(m,p,x)}catch{}if(&quot;get&quot;in x||&quot;set&quot;in x)throw new d(&quot;Accessors not supported&quot;);return&quot;value&quot;in x&amp;&amp;(m[p]=x.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,l){var i=t(&quot;../internals/descriptors&quot;),o=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/object-property-is-enumerable&quot;),c=t(&quot;../internals/create-property-descriptor&quot;),a=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;l.f=i?m:function(p,x){if(p=a(p),x=d(x),h)try{return m(p,x)}catch{}if(f(p,x))return c(!o(u.f,p,x),p[x])}},{&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,l){var i=t(&quot;../internals/classof-raw&quot;),o=t(&quot;../internals/to-indexed-object&quot;),u=t(&quot;../internals/object-get-own-property-names&quot;).f,c=t(&quot;../internals/array-slice-simple&quot;),a=typeof window==&quot;object&quot;&amp;&amp;window&amp;&amp;Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];n.exports.f=function(d){return a&amp;&amp;i(d)===&quot;Window&quot;?(function(f){try{return u(f)}catch{return c(a)}})(d):u(o(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,l){var i=t(&quot;../internals/object-keys-internal&quot;),o=t(&quot;../internals/enum-bug-keys&quot;).concat(&quot;length&quot;,&quot;prototype&quot;);l.f=Object.getOwnPropertyNames||function(u){return i(u,o)}},{&quot;../internals/enum-bug-keys&quot;:258,&quot;../internals/object-keys-internal&quot;:315}],312:[function(t,n,l){l.f=Object.getOwnPropertySymbols},{}],313:[function(t,n,l){var i=t(&quot;../internals/has-own-property&quot;),o=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/to-object&quot;),c=t(&quot;../internals/shared-key&quot;),a=t(&quot;../internals/correct-prototype-getter&quot;),d=c(&quot;IE_PROTO&quot;),f=Object,h=f.prototype;n.exports=a?f.getPrototypeOf:function(m){var p=u(m);if(i(p,d))return p[d];var x=p.constructor;return o(x)&amp;&amp;p instanceof x?x.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,l){var i=t(&quot;../internals/function-uncurry-this&quot;);n.exports=i({}.isPrototypeOf)},{&quot;../internals/function-uncurry-this&quot;:268}],315:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),o=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/to-indexed-object&quot;),c=t(&quot;../internals/array-includes&quot;).indexOf,a=t(&quot;../internals/hidden-keys&quot;),d=i([].push);n.exports=function(f,h){var m,p=u(f),x=0,g=[];for(m in p)!o(a,m)&amp;&amp;o(p,m)&amp;&amp;d(g,m);for(;h.length&gt;x;)o(p,m=h[x++])&amp;&amp;(~c(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,l){var i=t(&quot;../internals/object-keys-internal&quot;),o=t(&quot;../internals/enum-bug-keys&quot;);n.exports=Object.keys||function(u){return i(u,o)}},{&quot;../internals/enum-bug-keys&quot;:258,&quot;../internals/object-keys-internal&quot;:315}],317:[function(t,n,l){var i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,u=o&amp;&amp;!i.call({1:2},1);l.f=u?function(c){var a=o(this,c);return!!a&amp;&amp;a.enumerable}:i},{}],318:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this-accessor&quot;),o=t(&quot;../internals/an-object&quot;),u=t(&quot;../internals/a-possible-prototype&quot;);n.exports=Object.setPrototypeOf||(&quot;__proto__&quot;in{}?(function(){var c,a=!1,d={};try{(c=i(Object.prototype,&quot;__proto__&quot;,&quot;set&quot;))(d,[]),a=d instanceof Array}catch{}return function(f,h){return o(f),u(h),a?c(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,l){var i=t(&quot;../internals/descriptors&quot;),o=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/function-uncurry-this&quot;),c=t(&quot;../internals/object-get-prototype-of&quot;),a=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;o((function(){var x=Object.create(null);return x[2]=2,!f(x,2)})),p=function(x){return function(g){for(var y,v=d(g),_=a(v),C=m&amp;&amp;c(v)===null,M=_.length,T=0,$=[];M&gt;T;)y=_[T++],i&amp;&amp;!(C?y in v:f(v,y))||h($,x?[y,v[y]]:v[y]);return $}};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,l){var i=t(&quot;../internals/function-call&quot;),o=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/is-object&quot;),c=TypeError;n.exports=function(a,d){var f,h;if(d===&quot;string&quot;&amp;&amp;o(f=a.toString)&amp;&amp;!u(h=i(f,a))||o(f=a.valueOf)&amp;&amp;!u(h=i(f,a))||d!==&quot;string&quot;&amp;&amp;o(f=a.toString)&amp;&amp;!u(h=i(f,a)))return h;throw new c(&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,l){var i=t(&quot;../internals/get-built-in&quot;),o=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/object-get-own-property-names&quot;),c=t(&quot;../internals/object-get-own-property-symbols&quot;),a=t(&quot;../internals/an-object&quot;),d=o([].concat);n.exports=i(&quot;Reflect&quot;,&quot;ownKeys&quot;)||function(f){var h=u.f(a(f)),m=c.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,l){var i=t(&quot;../internals/global&quot;);n.exports=i},{&quot;../internals/global&quot;:274}],323:[function(t,n,l){n.exports=function(i){try{return{error:!1,value:i()}}catch(o){return{error:!0,value:o}}}},{}],324:[function(t,n,l){var i=t(&quot;../internals/global&quot;),o=t(&quot;../internals/promise-native-constructor&quot;),u=t(&quot;../internals/is-callable&quot;),c=t(&quot;../internals/is-forced&quot;),a=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;),x=o&amp;&amp;o.prototype,g=d(&quot;species&quot;),y=!1,v=u(i.PromiseRejectionEvent),_=c(&quot;Promise&quot;,(function(){var C=a(o),M=C!==String(o);if(!M&amp;&amp;p===66||m&amp;&amp;(!x.catch||!x.finally))return!0;if(!p||p&lt;51||!/native code/.test(C)){var T=new o((function(F){F(1)})),$=function(F){F((function(){}),(function(){}))};if((T.constructor={})[g]=$,!(y=T.then((function(){}))instanceof $))return!0}return!M&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,l){var i=t(&quot;../internals/global&quot;);n.exports=i.Promise},{&quot;../internals/global&quot;:274}],326:[function(t,n,l){var i=t(&quot;../internals/an-object&quot;),o=t(&quot;../internals/is-object&quot;),u=t(&quot;../internals/new-promise-capability&quot;);n.exports=function(c,a){if(i(c),o(a)&amp;&amp;a.constructor===c)return a;var d=u.f(c);return(0,d.resolve)(a),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,l){var i=t(&quot;../internals/promise-native-constructor&quot;),o=t(&quot;../internals/check-correctness-of-iteration&quot;),u=t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR;n.exports=u||!o((function(c){i.all(c).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,l){var i=function(){this.head=null,this.tail=null};i.prototype={add:function(o){var u={item:o,next:null},c=this.tail;c?c.next=u:this.head=u,this.tail=u},get:function(){var o=this.head;if(o)return(this.head=o.next)===null&amp;&amp;(this.tail=null),o.item}},n.exports=i},{}],329:[function(t,n,l){var i=t(&quot;../internals/is-null-or-undefined&quot;),o=TypeError;n.exports=function(u){if(i(u))throw new o(&quot;Can&#039;t call method on &quot;+u);return u}},{&quot;../internals/is-null-or-undefined&quot;:288}],330:[function(t,n,l){var i=t(&quot;../internals/get-built-in&quot;),o=t(&quot;../internals/define-built-in-accessor&quot;),u=t(&quot;../internals/well-known-symbol&quot;),c=t(&quot;../internals/descriptors&quot;),a=u(&quot;species&quot;);n.exports=function(d){var f=i(d);c&amp;&amp;f&amp;&amp;!f[a]&amp;&amp;o(f,a,{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,l){var i=t(&quot;../internals/object-define-property&quot;).f,o=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/well-known-symbol&quot;)(&quot;toStringTag&quot;);n.exports=function(c,a,d){c&amp;&amp;!d&amp;&amp;(c=c.prototype),c&amp;&amp;!o(c,u)&amp;&amp;i(c,u,{configurable:!0,value:a})}},{&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,l){var i=t(&quot;../internals/shared&quot;),o=t(&quot;../internals/uid&quot;),u=i(&quot;keys&quot;);n.exports=function(c){return u[c]||(u[c]=o(c))}},{&quot;../internals/shared&quot;:334,&quot;../internals/uid&quot;:350}],333:[function(t,n,l){var i=t(&quot;../internals/global&quot;),o=t(&quot;../internals/define-global-property&quot;),u=i[&quot;__core-js_shared__&quot;]||o(&quot;__core-js_shared__&quot;,{});n.exports=u},{&quot;../internals/define-global-property&quot;:246,&quot;../internals/global&quot;:274}],334:[function(t,n,l){var i=t(&quot;../internals/is-pure&quot;),o=t(&quot;../internals/shared-store&quot;);(n.exports=function(u,c){return o[u]||(o[u]=c!==void 0?c:{})})(&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,l){var i=t(&quot;../internals/an-object&quot;),o=t(&quot;../internals/a-constructor&quot;),u=t(&quot;../internals/is-null-or-undefined&quot;),c=t(&quot;../internals/well-known-symbol&quot;)(&quot;species&quot;);n.exports=function(a,d){var f,h=i(a).constructor;return h===void 0||u(f=i(h)[c])?d:o(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,l){var i=t(&quot;../internals/engine-v8-version&quot;),o=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/global&quot;).String;n.exports=!!Object.getOwnPropertySymbols&amp;&amp;!o((function(){var c=Symbol(&quot;symbol detection&quot;);return!u(c)||!(Object(c)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,l){var i=t(&quot;../internals/function-call&quot;),o=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/well-known-symbol&quot;),c=t(&quot;../internals/define-built-in&quot;);n.exports=function(){var a=o(&quot;Symbol&quot;),d=a&amp;&amp;a.prototype,f=d&amp;&amp;d.valueOf,h=u(&quot;toPrimitive&quot;);d&amp;&amp;!d[h]&amp;&amp;c(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,l){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,l){var i,o,u,c,a=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;),x=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;),M=a.setImmediate,T=a.clearImmediate,$=a.process,F=a.Dispatch,H=a.Function,W=a.MessageChannel,q=a.String,K=0,P={};p((function(){i=a.location}));var L=function(S){if(m(P,S)){var N=P[S];delete P[S],N()}},E=function(S){return function(){L(S)}},j=function(S){L(S.data)},k=function(S){a.postMessage(q(S),i.protocol+&quot;//&quot;+i.host)};M&amp;&amp;T||(M=function(S){v(arguments.length,1);var N=h(S)?S:H(S),O=g(arguments,1);return P[++K]=function(){d(N,void 0,O)},o(K),K},T=function(S){delete P[S]},C?o=function(S){$.nextTick(E(S))}:F&amp;&amp;F.now?o=function(S){F.now(E(S))}:W&amp;&amp;!_?(c=(u=new W).port2,u.port1.onmessage=j,o=f(c.postMessage,c)):a.addEventListener&amp;&amp;h(a.postMessage)&amp;&amp;!a.importScripts&amp;&amp;i&amp;&amp;i.protocol!==&quot;file:&quot;&amp;&amp;!p(k)?(o=k,a.addEventListener(&quot;message&quot;,j,!1)):o=&quot;onreadystatechange&quot;in y(&quot;script&quot;)?function(S){x.appendChild(y(&quot;script&quot;)).onreadystatechange=function(){x.removeChild(this),L(S)}}:function(S){setTimeout(E(S),0)}),n.exports={set:M,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,l){var i=t(&quot;../internals/to-integer-or-infinity&quot;),o=Math.max,u=Math.min;n.exports=function(c,a){var d=i(c);return d&lt;0?o(d+a,0):u(d,a)}},{&quot;../internals/to-integer-or-infinity&quot;:342}],341:[function(t,n,l){var i=t(&quot;../internals/indexed-object&quot;),o=t(&quot;../internals/require-object-coercible&quot;);n.exports=function(u){return i(o(u))}},{&quot;../internals/indexed-object&quot;:280,&quot;../internals/require-object-coercible&quot;:329}],342:[function(t,n,l){var i=t(&quot;../internals/math-trunc&quot;);n.exports=function(o){var u=+o;return u!=u||u===0?0:i(u)}},{&quot;../internals/math-trunc&quot;:301}],343:[function(t,n,l){var i=t(&quot;../internals/to-integer-or-infinity&quot;),o=Math.min;n.exports=function(u){return u&gt;0?o(i(u),9007199254740991):0}},{&quot;../internals/to-integer-or-infinity&quot;:342}],344:[function(t,n,l){var i=t(&quot;../internals/require-object-coercible&quot;),o=Object;n.exports=function(u){return o(i(u))}},{&quot;../internals/require-object-coercible&quot;:329}],345:[function(t,n,l){var i=t(&quot;../internals/function-call&quot;),o=t(&quot;../internals/is-object&quot;),u=t(&quot;../internals/is-symbol&quot;),c=t(&quot;../internals/get-method&quot;),a=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(!o(m)||u(m))return m;var x,g=c(m,h);if(g){if(p===void 0&amp;&amp;(p=&quot;default&quot;),x=i(g,m,p),!o(x)||u(x))return x;throw new f(&quot;Can&#039;t convert object to primitive value&quot;)}return p===void 0&amp;&amp;(p=&quot;number&quot;),a(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,l){var i=t(&quot;../internals/to-primitive&quot;),o=t(&quot;../internals/is-symbol&quot;);n.exports=function(u){var c=i(u,&quot;string&quot;);return o(c)?c:c+&quot;&quot;}},{&quot;../internals/is-symbol&quot;:292,&quot;../internals/to-primitive&quot;:345}],347:[function(t,n,l){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,l){var i=t(&quot;../internals/classof&quot;),o=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 o(u)}},{&quot;../internals/classof&quot;:236}],349:[function(t,n,l){var i=String;n.exports=function(o){try{return i(o)}catch{return&quot;Object&quot;}}},{}],350:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),o=0,u=Math.random(),c=i(1 .toString);n.exports=function(a){return&quot;Symbol(&quot;+(a===void 0?&quot;&quot;:a)+&quot;)_&quot;+c(++o+u,36)}},{&quot;../internals/function-uncurry-this&quot;:268}],351:[function(t,n,l){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,l){var i=t(&quot;../internals/descriptors&quot;),o=t(&quot;../internals/fails&quot;);n.exports=i&amp;&amp;o((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,l){var i=TypeError;n.exports=function(o,u){if(o&lt;u)throw new i(&quot;Not enough arguments&quot;);return o}},{}],354:[function(t,n,l){var i=t(&quot;../internals/global&quot;),o=t(&quot;../internals/is-callable&quot;),u=i.WeakMap;n.exports=o(u)&amp;&amp;/native code/.test(String(u))},{&quot;../internals/global&quot;:274,&quot;../internals/is-callable&quot;:285}],355:[function(t,n,l){var i=t(&quot;../internals/path&quot;),o=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/well-known-symbol-wrapped&quot;),c=t(&quot;../internals/object-define-property&quot;).f;n.exports=function(a){var d=i.Symbol||(i.Symbol={});o(d,a)||c(d,a,{value:u.f(a)})}},{&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,l){var i=t(&quot;../internals/well-known-symbol&quot;);l.f=i},{&quot;../internals/well-known-symbol&quot;:357}],357:[function(t,n,l){var i=t(&quot;../internals/global&quot;),o=t(&quot;../internals/shared&quot;),u=t(&quot;../internals/has-own-property&quot;),c=t(&quot;../internals/uid&quot;),a=t(&quot;../internals/symbol-constructor-detection&quot;),d=t(&quot;../internals/use-symbol-as-uid&quot;),f=i.Symbol,h=o(&quot;wks&quot;),m=d?f.for||f:f&amp;&amp;f.withoutSetter||c;n.exports=function(p){return u(h,p)||(h[p]=a&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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/array-iteration&quot;).findIndex,u=t(&quot;../internals/add-to-unscopables&quot;),c=!0;&quot;findIndex&quot;in[]&amp;&amp;Array(1).findIndex((function(){c=!1})),i({target:&quot;Array&quot;,proto:!0,forced:c},{findIndex:function(a){return o(this,a,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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/array-iteration&quot;).find,u=t(&quot;../internals/add-to-unscopables&quot;),c=!0;&quot;find&quot;in[]&amp;&amp;Array(1).find((function(){c=!1})),i({target:&quot;Array&quot;,proto:!0,forced:c},{find:function(a){return o(this,a,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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/array-includes&quot;).includes,u=t(&quot;../internals/fails&quot;),c=t(&quot;../internals/add-to-unscopables&quot;);i({target:&quot;Array&quot;,proto:!0,forced:u((function(){return!Array(1).includes()}))},{includes:function(a){return o(this,a,arguments.length&gt;1?arguments[1]:void 0)}}),c(&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,l){var i=t(&quot;../internals/to-indexed-object&quot;),o=t(&quot;../internals/add-to-unscopables&quot;),u=t(&quot;../internals/iterators&quot;),c=t(&quot;../internals/internal-state&quot;),a=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=c.set,x=c.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=x(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(o(&quot;keys&quot;),o(&quot;values&quot;),o(&quot;entries&quot;),!h&amp;&amp;m&amp;&amp;g.name!==&quot;values&quot;)try{a(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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/function-apply&quot;),c=t(&quot;../internals/function-call&quot;),a=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;),x=t(&quot;../internals/symbol-constructor-detection&quot;),g=String,y=o(&quot;JSON&quot;,&quot;stringify&quot;),v=a(/./.exec),_=a(&quot;&quot;.charAt),C=a(&quot;&quot;.charCodeAt),M=a(&quot;&quot;.replace),T=a(1 .toString),$=/[\uD800-\uDFFF]/g,F=/^[\uD800-\uDBFF]$/,H=/^[\uDC00-\uDFFF]$/,W=!x||d((function(){var L=o(&quot;Symbol&quot;)(&quot;stringify detection&quot;);return y([L])!==&quot;[null]&quot;||y({a:L})!==&quot;{}&quot;||y(Object(L))!==&quot;{}&quot;})),q=d((function(){return y(&quot;\uDF06\uD834&quot;)!==&#039;&quot;\\udf06\\ud834&quot;&#039;||y(&quot;\uDEAD&quot;)!==&#039;&quot;\\udead&quot;&#039;})),K=function(L,E){var j=m(arguments),k=p(E);if(f(k)||L!==void 0&amp;&amp;!h(L))return j[1]=function(S,N){if(f(k)&amp;&amp;(N=c(k,this,g(S),N)),!h(N))return N},u(y,null,j)},P=function(L,E,j){var k=_(j,E-1),S=_(j,E+1);return v(F,L)&amp;&amp;!v(H,S)||v(H,L)&amp;&amp;!v(F,k)?&quot;\\u&quot;+T(C(L,0),16):L};y&amp;&amp;i({target:&quot;JSON&quot;,stat:!0,arity:3,forced:W||q},{stringify:function(L,E,j){var k=m(arguments),S=u(W?K:y,null,k);return q&amp;&amp;typeof S==&quot;string&quot;?M(S,$,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,l){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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/object-assign&quot;);i({target:&quot;Object&quot;,stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},{&quot;../internals/export&quot;:259,&quot;../internals/object-assign&quot;:305}],365:[function(t,n,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/symbol-constructor-detection&quot;),u=t(&quot;../internals/fails&quot;),c=t(&quot;../internals/object-get-own-property-symbols&quot;),a=t(&quot;../internals/to-object&quot;);i({target:&quot;Object&quot;,stat:!0,forced:!o||u((function(){c.f(1)}))},{getOwnPropertySymbols:function(d){var f=c.f;return f?f(a(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,l){var i=t(&quot;../internals/export&quot;),o=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(c){return u(o(c))}})},{&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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/object-to-array&quot;).values;i({target:&quot;Object&quot;,stat:!0},{values:function(u){return o(u)}})},{&quot;../internals/export&quot;:259,&quot;../internals/object-to-array&quot;:319}],368:[function(t,n,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/a-callable&quot;),c=t(&quot;../internals/new-promise-capability&quot;),a=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=c.f(h),p=m.resolve,x=m.reject,g=a((function(){var y=u(h.resolve),v=[],_=0,C=1;d(f,(function(M){var T=_++,$=!1;C++,o(y,h,M).then((function(F){$||($=!0,v[T]=F,--C||p(v))}),x)})),--C||p(v)}));return g.error&amp;&amp;x(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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/is-pure&quot;),u=t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR,c=t(&quot;../internals/promise-native-constructor&quot;),a=t(&quot;../internals/get-built-in&quot;),d=t(&quot;../internals/is-callable&quot;),f=t(&quot;../internals/define-built-in&quot;),h=c&amp;&amp;c.prototype;if(i({target:&quot;Promise&quot;,proto:!0,forced:u,real:!0},{catch:function(p){return this.then(void 0,p)}}),!o&amp;&amp;d(c)){var m=a(&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,l){var i,o,u,c=t(&quot;../internals/export&quot;),a=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;),x=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;),M=t(&quot;../internals/species-constructor&quot;),T=t(&quot;../internals/task&quot;).set,$=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;),q=t(&quot;../internals/internal-state&quot;),K=t(&quot;../internals/promise-native-constructor&quot;),P=t(&quot;../internals/promise-constructor-detection&quot;),L=t(&quot;../internals/new-promise-capability&quot;),E=P.CONSTRUCTOR,j=P.REJECTION_EVENT,k=P.SUBCLASSING,S=q.getterFor(&quot;Promise&quot;),N=q.set,O=K&amp;&amp;K.prototype,D=K,B=O,Y=f.TypeError,Z=f.document,ne=f.process,V=L.f,ee=V,z=!!(Z&amp;&amp;Z.createEvent&amp;&amp;f.dispatchEvent),R=function(oe){var ge;return!(!_(oe)||!v(ge=oe.then))&amp;&amp;ge},X=function(oe,ge){var xe,pe,ue,we=ge.value,ke=ge.state===1,Te=ke?oe.ok:oe.fail,je=oe.resolve,De=oe.reject,Xe=oe.domain;try{Te?(ke||(ge.rejection===2&amp;&amp;de(ge),ge.rejection=1),Te===!0?xe=we:(Xe&amp;&amp;Xe.enter(),xe=Te(we),Xe&amp;&amp;(Xe.exit(),ue=!0)),xe===oe.promise?De(new Y(&quot;Promise-chain cycle&quot;)):(pe=R(xe))?h(pe,xe,je,De):je(xe)):De(we)}catch(Ve){Xe&amp;&amp;!ue&amp;&amp;Xe.exit(),De(Ve)}},re=function(oe,ge){oe.notified||(oe.notified=!0,$((function(){for(var xe,pe=oe.reactions;xe=pe.get();)X(xe,oe);oe.notified=!1,ge&amp;&amp;!oe.rejection&amp;&amp;te(oe)})))},Q=function(oe,ge,xe){var pe,ue;z?((pe=Z.createEvent(&quot;Event&quot;)).promise=ge,pe.reason=xe,pe.initEvent(oe,!1,!0),f.dispatchEvent(pe)):pe={promise:ge,reason:xe},!j&amp;&amp;(ue=f[&quot;on&quot;+oe])?ue(pe):oe===&quot;unhandledrejection&quot;&amp;&amp;F(&quot;Unhandled promise rejection&quot;,xe)},te=function(oe){h(T,f,(function(){var ge,xe=oe.facade,pe=oe.value;if(se(oe)&amp;&amp;(ge=H((function(){d?ne.emit(&quot;unhandledRejection&quot;,pe,xe):Q(&quot;unhandledrejection&quot;,xe,pe)})),oe.rejection=d||se(oe)?2:1,ge.error))throw ge.value}))},se=function(oe){return oe.rejection!==1&amp;&amp;!oe.parent},de=function(oe){h(T,f,(function(){var ge=oe.facade;d?ne.emit(&quot;rejectionHandled&quot;,ge):Q(&quot;rejectionhandled&quot;,ge,oe.value)}))},ce=function(oe,ge,xe){return function(pe){oe(ge,pe,xe)}},ie=function(oe,ge,xe){oe.done||(oe.done=!0,xe&amp;&amp;(oe=xe),oe.value=ge,oe.state=2,re(oe,!0))},fe=function(oe,ge,xe){if(!oe.done){oe.done=!0,xe&amp;&amp;(oe=xe);try{if(oe.facade===ge)throw new Y(&quot;Promise can&#039;t be resolved itself&quot;);var pe=R(ge);pe?$((function(){var ue={done:!1};try{h(pe,ge,ce(fe,ue,oe),ce(ie,ue,oe))}catch(we){ie(ue,we,oe)}})):(oe.value=ge,oe.state=1,re(oe,!1))}catch(ue){ie({done:!1},ue,oe)}}};if(E&amp;&amp;(B=(D=function(oe){C(this,B),y(oe),h(i,this);var ge=S(this);try{oe(ce(fe,ge),ce(ie,ge))}catch(xe){ie(ge,xe)}}).prototype,(i=function(oe){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(oe,ge){var xe=S(this),pe=V(M(this,D));return xe.parent=!0,pe.ok=!v(oe)||oe,pe.fail=v(ge)&amp;&amp;ge,pe.domain=d?ne.domain:void 0,xe.state===0?xe.reactions.add(pe):$((function(){X(pe,xe)})),pe.promise})),o=function(){var oe=new i,ge=S(oe);this.promise=oe,this.resolve=ce(fe,ge),this.reject=ce(ie,ge)},L.f=V=function(oe){return oe===D||oe===void 0?new o(oe):ee(oe)},!a&amp;&amp;v(K)&amp;&amp;O!==Object.prototype)){u=O.then,k||m(O,&quot;then&quot;,(function(oe,ge){var xe=this;return new D((function(pe,ue){h(u,xe,pe,ue)})).then(oe,ge)}),{unsafe:!0});try{delete O.constructor}catch{}p&amp;&amp;p(O,B)}c({global:!0,constructor:!0,wrap:!0,forced:E},{Promise:D}),x(D,&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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/is-pure&quot;),u=t(&quot;../internals/promise-native-constructor&quot;),c=t(&quot;../internals/fails&quot;),a=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;c((function(){p.finally.call({then:function(){}},(function(){}))}))},{finally:function(g){var y=f(this,a(&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)}}),!o&amp;&amp;d(u)){var x=a(&quot;Promise&quot;).prototype.finally;p.finally!==x&amp;&amp;m(p,&quot;finally&quot;,x,{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,l){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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/a-callable&quot;),c=t(&quot;../internals/new-promise-capability&quot;),a=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=c.f(h),p=m.reject,x=a((function(){var g=u(h.resolve);d(f,(function(y){o(g,h,y).then(m.resolve,p)}))}));return x.error&amp;&amp;p(x.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,l){var i=t(&quot;../internals/export&quot;),o=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(c){var a=u.f(this);return o(a.reject,void 0,c),a.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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/is-pure&quot;),c=t(&quot;../internals/promise-native-constructor&quot;),a=t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR,d=t(&quot;../internals/promise-resolve&quot;),f=o(&quot;Promise&quot;),h=u&amp;&amp;!a;i({target:&quot;Promise&quot;,stat:!0,forced:u||a},{resolve:function(m){return d(h&amp;&amp;this===f?c: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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/to-absolute-index&quot;),c=RangeError,a=String.fromCharCode,d=String.fromCodePoint,f=o([].join);i({target:&quot;String&quot;,stat:!0,arity:1,forced:!!d&amp;&amp;d.length!==1},{fromCodePoint:function(h){for(var m,p=[],x=arguments.length,g=0;x&gt;g;){if(m=+arguments[g++],u(m,1114111)!==m)throw new c(m+&quot; is not a valid code point&quot;);p[g]=m&lt;65536?a(m):a(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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/not-a-regexp&quot;),c=t(&quot;../internals/require-object-coercible&quot;),a=t(&quot;../internals/to-string&quot;),d=t(&quot;../internals/correct-is-regexp-logic&quot;),f=o(&quot;&quot;.indexOf);i({target:&quot;String&quot;,proto:!0,forced:!d(&quot;includes&quot;)},{includes:function(h){return!!~f(a(c(this)),a(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,l){t(&quot;../internals/well-known-symbol-define&quot;)(&quot;asyncIterator&quot;)},{&quot;../internals/well-known-symbol-define&quot;:355}],379:[function(t,n,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/global&quot;),u=t(&quot;../internals/function-call&quot;),c=t(&quot;../internals/function-uncurry-this&quot;),a=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;),x=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;),M=t(&quot;../internals/object-keys&quot;),T=t(&quot;../internals/object-get-own-property-names&quot;),$=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;),q=t(&quot;../internals/object-define-properties&quot;),K=t(&quot;../internals/object-property-is-enumerable&quot;),P=t(&quot;../internals/define-built-in&quot;),L=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;),O=t(&quot;../internals/well-known-symbol-wrapped&quot;),D=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;),ne=t(&quot;../internals/array-iteration&quot;).forEach,V=j(&quot;hidden&quot;),ee=Z.set,z=Z.getterFor(&quot;Symbol&quot;),R=Object.prototype,X=o.Symbol,re=X&amp;&amp;X.prototype,Q=o.RangeError,te=o.TypeError,se=o.QObject,de=H.f,ce=W.f,ie=$.f,fe=K.f,oe=c([].push),ge=E(&quot;symbols&quot;),xe=E(&quot;op-symbols&quot;),pe=E(&quot;wks&quot;),ue=!se||!se.prototype||!se.prototype.findChild,we=function(Ge,ze,Qe){var rt=de(R,ze);rt&amp;&amp;delete R[ze],ce(Ge,ze,Qe),rt&amp;&amp;Ge!==R&amp;&amp;ce(R,ze,rt)},ke=d&amp;&amp;h((function(){return C(ce({},&quot;a&quot;,{get:function(){return ce(this,&quot;a&quot;,{value:7}).a}})).a!==7}))?we:ce,Te=function(Ge,ze){var Qe=ge[Ge]=C(re);return ee(Qe,{type:&quot;Symbol&quot;,tag:Ge,description:ze}),d||(Qe.description=ze),Qe},je=function(Ge,ze,Qe){Ge===R&amp;&amp;je(xe,ze,Qe),x(Ge);var rt=y(ze);return x(Qe),m(ge,rt)?(Qe.enumerable?(m(Ge,V)&amp;&amp;Ge[V][rt]&amp;&amp;(Ge[V][rt]=!1),Qe=C(Qe,{enumerable:_(0,!1)})):(m(Ge,V)||ce(Ge,V,_(1,{})),Ge[V][rt]=!0),ke(Ge,rt,Qe)):ce(Ge,rt,Qe)},De=function(Ge,ze){x(Ge);var Qe=g(ze),rt=M(Qe).concat(st(Qe));return ne(rt,(function(Ae){d&amp;&amp;!u(Xe,Qe,Ae)||je(Ge,Ae,Qe[Ae])})),Ge},Xe=function(Ge){var ze=y(Ge),Qe=u(fe,this,ze);return!(this===R&amp;&amp;m(ge,ze)&amp;&amp;!m(xe,ze))&amp;&amp;(!(Qe||!m(this,ze)||!m(ge,ze)||m(this,V)&amp;&amp;this[V][ze])||Qe)},Ve=function(Ge,ze){var Qe=g(Ge),rt=y(ze);if(Qe!==R||!m(ge,rt)||m(xe,rt)){var Ae=de(Qe,rt);return!Ae||!m(ge,rt)||m(Qe,V)&amp;&amp;Qe[V][rt]||(Ae.enumerable=!0),Ae}},et=function(Ge){var ze=ie(g(Ge)),Qe=[];return ne(ze,(function(rt){m(ge,rt)||m(k,rt)||oe(Qe,rt)})),Qe},st=function(Ge){var ze=Ge===R,Qe=ie(ze?xe:g(Ge)),rt=[];return ne(Qe,(function(Ae){!m(ge,Ae)||ze&amp;&amp;!m(R,Ae)||oe(rt,ge[Ae])})),rt};f||(P(re=(X=function(){if(p(re,this))throw new te(&quot;Symbol is not a constructor&quot;);var Ge=arguments.length&amp;&amp;arguments[0]!==void 0?v(arguments[0]):void 0,ze=S(Ge),Qe=function(rt){this===R&amp;&amp;u(Qe,xe,rt),m(this,V)&amp;&amp;m(this[V],ze)&amp;&amp;(this[V][ze]=!1);var Ae=_(1,rt);try{ke(this,ze,Ae)}catch(ut){if(!(ut instanceof Q))throw ut;we(this,ze,Ae)}};return d&amp;&amp;ue&amp;&amp;ke(R,ze,{configurable:!0,set:Qe}),Te(ze,Ge)}).prototype,&quot;toString&quot;,(function(){return z(this).tag})),P(X,&quot;withoutSetter&quot;,(function(Ge){return Te(S(Ge),Ge)})),K.f=Xe,W.f=je,q.f=De,H.f=Ve,T.f=$.f=et,F.f=st,O.f=function(Ge){return Te(N(Ge),Ge)},d&amp;&amp;(L(re,&quot;description&quot;,{configurable:!0,get:function(){return z(this).description}}),a||P(R,&quot;propertyIsEnumerable&quot;,Xe,{unsafe:!0}))),i({global:!0,constructor:!0,wrap:!0,forced:!f,sham:!f},{Symbol:X}),ne(M(pe),(function(Ge){D(Ge)})),i({target:&quot;Symbol&quot;,stat:!0,forced:!f},{useSetter:function(){ue=!0},useSimple:function(){ue=!1}}),i({target:&quot;Object&quot;,stat:!0,forced:!f,sham:!d},{create:function(Ge,ze){return ze===void 0?C(Ge):De(C(Ge),ze)},defineProperty:je,defineProperties:De,getOwnPropertyDescriptor:Ve}),i({target:&quot;Object&quot;,stat:!0,forced:!f},{getOwnPropertyNames:et}),B(),Y(X,&quot;Symbol&quot;),k[V]=!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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/has-own-property&quot;),c=t(&quot;../internals/to-string&quot;),a=t(&quot;../internals/shared&quot;),d=t(&quot;../internals/symbol-registry-detection&quot;),f=a(&quot;string-to-symbol-registry&quot;),h=a(&quot;symbol-to-string-registry&quot;);i({target:&quot;Symbol&quot;,stat:!0,forced:!d},{for:function(m){var p=c(m);if(u(f,p))return f[p];var x=o(&quot;Symbol&quot;)(p);return f[p]=x,h[x]=p,x}})},{&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,l){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,l){var i=t(&quot;../internals/export&quot;),o=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/is-symbol&quot;),c=t(&quot;../internals/try-to-string&quot;),a=t(&quot;../internals/shared&quot;),d=t(&quot;../internals/symbol-registry-detection&quot;),f=a(&quot;symbol-to-string-registry&quot;);i({target:&quot;Symbol&quot;,stat:!0,forced:!d},{keyFor:function(h){if(!u(h))throw new TypeError(c(h)+&quot; is not a symbol&quot;);if(o(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,l){function i(o){return Object.prototype.toString.call(o)}l.isArray=function(o){return Array.isArray?Array.isArray(o):i(o)===&quot;[object Array]&quot;},l.isBoolean=function(o){return typeof o==&quot;boolean&quot;},l.isNull=function(o){return o===null},l.isNullOrUndefined=function(o){return o==null},l.isNumber=function(o){return typeof o==&quot;number&quot;},l.isString=function(o){return typeof o==&quot;string&quot;},l.isSymbol=function(o){return typeof o==&quot;symbol&quot;},l.isUndefined=function(o){return o===void 0},l.isRegExp=function(o){return i(o)===&quot;[object RegExp]&quot;},l.isObject=function(o){return typeof o==&quot;object&quot;&amp;&amp;o!==null},l.isDate=function(o){return i(o)===&quot;[object Date]&quot;},l.isError=function(o){return i(o)===&quot;[object Error]&quot;||o instanceof Error},l.isFunction=function(o){return typeof o==&quot;function&quot;},l.isPrimitive=function(o){return o===null||typeof o==&quot;boolean&quot;||typeof o==&quot;number&quot;||typeof o==&quot;string&quot;||typeof o==&quot;symbol&quot;||o===void 0},l.isBuffer=t(&quot;buffer&quot;).Buffer.isBuffer},{buffer:220}],384:[function(t,n,l){(function(i){(function(){var o=t(&quot;elliptic&quot;),u=t(&quot;bn.js&quot;);n.exports=function(f){return new a(f)};var c={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 a(f){this.curveType=c[f],this.curveType||(this.curveType={name:f}),this.curve=new o.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 x=new i(m-p.length);x.fill(0),p=i.concat([x,p])}return h?p.toString(h):p}c.p224=c.secp224r1,c.p256=c.secp256r1=c.prime256v1,c.p192=c.secp192r1=c.prime192v1,c.p384=c.secp384r1,c.p521=c.secp521r1,a.prototype.generateKeys=function(f,h){return this.keys=this.curve.genKeyPair(),this.getPublicKey(f,h)},a.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)},a.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)},a.prototype.getPrivateKey=function(f){return d(this.keys.getPrivate(),f)},a.prototype.setPublicKey=function(f,h){return h=h||&quot;utf8&quot;,i.isBuffer(f)||(f=new i(f,h)),this.keys._importPublic(f),this},a.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,l){arguments[4][184][0].apply(l,arguments)},{buffer:188,dup:184}],386:[function(t,n,l){var i=t(&quot;inherits&quot;),o=t(&quot;md5.js&quot;),u=t(&quot;ripemd160&quot;),c=t(&quot;sha.js&quot;),a=t(&quot;cipher-base&quot;);function d(f){a.call(this,&quot;digest&quot;),this._hash=f}i(d,a),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 o:f===&quot;rmd160&quot;||f===&quot;ripemd160&quot;?new u:new d(c(f))}},{&quot;cipher-base&quot;:221,inherits:440,&quot;md5.js&quot;:450,ripemd160:493,&quot;sha.js&quot;:498}],387:[function(t,n,l){var i=t(&quot;md5.js&quot;);n.exports=function(o){return new i().update(o).digest()}},{&quot;md5.js&quot;:450}],388:[function(t,n,l){var i=t(&quot;inherits&quot;),o=t(&quot;./legacy&quot;),u=t(&quot;cipher-base&quot;),c=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;create-hash/md5&quot;),d=t(&quot;ripemd160&quot;),f=t(&quot;sha.js&quot;),h=c.alloc(128);function m(p,x){u.call(this,&quot;digest&quot;),typeof x==&quot;string&quot;&amp;&amp;(x=c.from(x));var g=p===&quot;sha512&quot;||p===&quot;sha384&quot;?128:64;this._alg=p,this._key=x,x.length&gt;g?x=(p===&quot;rmd160&quot;?new d:f(p)).update(x).digest():x.length&lt;g&amp;&amp;(x=c.concat([x,h],g));for(var y=this._ipad=c.allocUnsafe(g),v=this._opad=c.allocUnsafe(g),_=0;_&lt;g;_++)y[_]=54^x[_],v[_]=92^x[_];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,x){return(p=p.toLowerCase())===&quot;rmd160&quot;||p===&quot;ripemd160&quot;?new m(&quot;rmd160&quot;,x):p===&quot;md5&quot;?new o(a,x):new m(p,x)}},{&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,l){var i=t(&quot;inherits&quot;),o=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;),c=o.alloc(128);function a(d,f){u.call(this,&quot;digest&quot;),typeof f==&quot;string&quot;&amp;&amp;(f=o.from(f)),this._alg=d,this._key=f,f.length&gt;64?f=d(f):f.length&lt;64&amp;&amp;(f=o.concat([f,c],64));for(var h=this._ipad=o.allocUnsafe(64),m=this._opad=o.allocUnsafe(64),p=0;p&lt;64;p++)h[p]=54^f[p],m[p]=92^f[p];this._hash=[h]}i(a,u),a.prototype._update=function(d){this._hash.push(d)},a.prototype._final=function(){var d=this._alg(o.concat(this._hash));return this._alg(o.concat([this._opad,d]))},n.exports=a},{&quot;cipher-base&quot;:221,inherits:440,&quot;safe-buffer&quot;:494}],390:[function(t,n,l){l.randomBytes=l.rng=l.pseudoRandomBytes=l.prng=t(&quot;randombytes&quot;),l.createHash=l.Hash=t(&quot;create-hash&quot;),l.createHmac=l.Hmac=t(&quot;create-hmac&quot;);var i=t(&quot;browserify-sign/algos&quot;),o=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(o);l.getHashes=function(){return u};var c=t(&quot;pbkdf2&quot;);l.pbkdf2=c.pbkdf2,l.pbkdf2Sync=c.pbkdf2Sync;var a=t(&quot;browserify-cipher&quot;);l.Cipher=a.Cipher,l.createCipher=a.createCipher,l.Cipheriv=a.Cipheriv,l.createCipheriv=a.createCipheriv,l.Decipher=a.Decipher,l.createDecipher=a.createDecipher,l.Decipheriv=a.Decipheriv,l.createDecipheriv=a.createDecipheriv,l.getCiphers=a.getCiphers,l.listCiphers=a.listCiphers;var d=t(&quot;diffie-hellman&quot;);l.DiffieHellmanGroup=d.DiffieHellmanGroup,l.createDiffieHellmanGroup=d.createDiffieHellmanGroup,l.getDiffieHellman=d.getDiffieHellman,l.createDiffieHellman=d.createDiffieHellman,l.DiffieHellman=d.DiffieHellman;var f=t(&quot;browserify-sign&quot;);l.createSign=f.createSign,l.Sign=f.Sign,l.createVerify=f.createVerify,l.Verify=f.Verify,l.createECDH=t(&quot;create-ecdh&quot;);var h=t(&quot;public-encrypt&quot;);l.publicEncrypt=h.publicEncrypt,l.privateEncrypt=h.privateEncrypt,l.publicDecrypt=h.publicDecrypt,l.privateDecrypt=h.privateDecrypt;var m=t(&quot;randomfill&quot;);l.randomFill=m.randomFill,l.randomFillSync=m.randomFillSync,l.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(`
`))},l.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,l){(function(i,o){typeof l==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=o():(i=typeof globalThis&lt;&quot;u&quot;?globalThis:i||self).dayjs=o()})(void 0,(function(){var i=6e4,o=36e5,u=&quot;millisecond&quot;,c=&quot;second&quot;,a=&quot;minute&quot;,d=&quot;hour&quot;,f=&quot;day&quot;,h=&quot;week&quot;,m=&quot;month&quot;,p=&quot;quarter&quot;,x=&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;}},M=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:M,z:function(j){var k=-j.utcOffset(),S=Math.abs(k),N=Math.floor(S/60),O=S%60;return(k&lt;=0?&quot;+&quot;:&quot;-&quot;)+M(N,2,&quot;0&quot;)+&quot;:&quot;+M(O,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()),O=k.clone().add(N,m),D=S-O&lt;0,B=k.clone().add(N+(D?-1:1),m);return+(-(N+(S-O)/(D?O-B:B-O))||0)},a:function(j){return j&lt;0?Math.ceil(j)||0:Math.floor(j)},p:function(j){return{M:m,y:x,w:h,d:f,D:g,h:d,m:a,s:c,ms:u,Q:p}[j]||String(j||&quot;&quot;).toLowerCase().replace(/s$/,&quot;&quot;)},u:function(j){return j===void 0}},$=&quot;en&quot;,F={};F[$]=C;var H=&quot;$isDayjsObject&quot;,W=function(j){return j instanceof L||!(!j||!j[H])},q=function j(k,S,N){var O;if(!k)return $;if(typeof k==&quot;string&quot;){var D=k.toLowerCase();F[D]&amp;&amp;(O=D),S&amp;&amp;(F[D]=S,O=D);var B=k.split(&quot;-&quot;);if(!O&amp;&amp;B.length&gt;1)return j(B[0])}else{var Y=k.name;F[Y]=k,O=Y}return!N&amp;&amp;O&amp;&amp;($=O),O||!N&amp;&amp;$},K=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 L(S)},P=T;P.l=q,P.i=W,P.w=function(j,k){return K(j,{locale:k.$L,utc:k.$u,x:k.$x,$offset:k.$offset})};var L=(function(){function j(S){this.$L=q(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 O=N.date,D=N.utc;if(O===null)return new Date(NaN);if(P.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O==&quot;string&quot;&amp;&amp;!/Z$/i.test(O)){var B=O.match(v);if(B){var Y=B[2]-1||0,Z=(B[7]||&quot;0&quot;).substring(0,3);return D?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(O)})(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 O=K(S);return this.startOf(N)&lt;=O&amp;&amp;O&lt;=this.endOf(N)},k.isAfter=function(S,N){return K(S)&lt;this.startOf(N)},k.isBefore=function(S,N){return this.endOf(N)&lt;K(S)},k.$g=function(S,N,O){return P.u(S)?this[N]:this.set(O,S)},k.unix=function(){return Math.floor(this.valueOf()/1e3)},k.valueOf=function(){return this.$d.getTime()},k.startOf=function(S,N){var O=this,D=!!P.u(N)||N,B=P.p(S),Y=function(re,Q){var te=P.w(O.$u?Date.UTC(O.$y,Q,re):new Date(O.$y,Q,re),O);return D?te:te.endOf(f)},Z=function(re,Q){return P.w(O.toDate()[re].apply(O.toDate(&quot;s&quot;),(D?[0,0,0,0]:[23,59,59,999]).slice(Q)),O)},ne=this.$W,V=this.$M,ee=this.$D,z=&quot;set&quot;+(this.$u?&quot;UTC&quot;:&quot;&quot;);switch(B){case x:return D?Y(1,0):Y(31,11);case m:return D?Y(1,V):Y(0,V+1);case h:var R=this.$locale().weekStart||0,X=(ne&lt;R?ne+7:ne)-R;return Y(D?ee-X:ee+(6-X),V);case f:case g:return Z(z+&quot;Hours&quot;,0);case d:return Z(z+&quot;Minutes&quot;,1);case a:return Z(z+&quot;Seconds&quot;,2);case c: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 O,D=P.p(S),B=&quot;set&quot;+(this.$u?&quot;UTC&quot;:&quot;&quot;),Y=(O={},O[f]=B+&quot;Date&quot;,O[g]=B+&quot;Date&quot;,O[m]=B+&quot;Month&quot;,O[x]=B+&quot;FullYear&quot;,O[d]=B+&quot;Hours&quot;,O[a]=B+&quot;Minutes&quot;,O[c]=B+&quot;Seconds&quot;,O[u]=B+&quot;Milliseconds&quot;,O)[D],Z=D===f?this.$D+(N-this.$W):N;if(D===m||D===x){var ne=this.clone().set(g,1);ne.$d[Y](Z),ne.init(),this.$d=ne.set(g,Math.min(this.$D,ne.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 O,D=this;S=Number(S);var B=P.p(N),Y=function(V){var ee=K(D);return P.w(ee.date(ee.date()+Math.round(V*S)),D)};if(B===m)return this.set(m,this.$M+S);if(B===x)return this.set(x,this.$y+S);if(B===f)return Y(1);if(B===h)return Y(7);var Z=(O={},O[a]=i,O[d]=o,O[c]=1e3,O)[B]||1,ne=this.$d.getTime()+S*Z;return P.w(ne,this)},k.subtract=function(S,N){return this.add(-1*S,N)},k.format=function(S){var N=this,O=this.$locale();if(!this.isValid())return O.invalidDate||y;var D=S||&quot;YYYY-MM-DDTHH:mm:ssZ&quot;,B=P.z(this),Y=this.$H,Z=this.$m,ne=this.$M,V=O.weekdays,ee=O.months,z=O.meridiem,R=function(Q,te,se,de){return Q&amp;&amp;(Q[te]||Q(N,D))||se[te].slice(0,de)},X=function(Q){return P.s(Y%12||12,Q,&quot;0&quot;)},re=z||function(Q,te,se){var de=Q&lt;12?&quot;AM&quot;:&quot;PM&quot;;return se?de.toLowerCase():de};return D.replace(_,(function(Q,te){return te||(function(se){switch(se){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 ne+1;case&quot;MM&quot;:return P.s(ne+1,2,&quot;0&quot;);case&quot;MMM&quot;:return R(O.monthsShort,ne,ee,3);case&quot;MMMM&quot;:return R(ee,ne);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 R(O.weekdaysMin,N.$W,V,2);case&quot;ddd&quot;:return R(O.weekdaysShort,N.$W,V,3);case&quot;dddd&quot;:return V[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})(Q)||B.replace(&quot;:&quot;,&quot;&quot;)}))},k.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},k.diff=function(S,N,O){var D,B=this,Y=P.p(N),Z=K(S),ne=(Z.utcOffset()-this.utcOffset())*i,V=this-Z,ee=function(){return P.m(B,Z)};switch(Y){case x:D=ee()/12;break;case m:D=ee();break;case p:D=ee()/3;break;case h:D=(V-ne)/6048e5;break;case f:D=(V-ne)/864e5;break;case d:D=V/o;break;case a:D=V/i;break;case c:D=V/1e3;break;default:D=V}return O?D:P.a(D)},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 O=this.clone(),D=q(S,N,!0);return D&amp;&amp;(O.$L=D),O},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=L.prototype;return K.prototype=E,[[&quot;$ms&quot;,u],[&quot;$s&quot;,c],[&quot;$m&quot;,a],[&quot;$H&quot;,d],[&quot;$W&quot;,f],[&quot;$M&quot;,m],[&quot;$y&quot;,x],[&quot;$D&quot;,g]].forEach((function(j){E[j[1]]=function(k){return this.$g(k,j[0],j[1])}})),K.extend=function(j,k){return j.$i||(j(k,L,K),j.$i=!0),K},K.locale=q,K.isDayjs=W,K.unix=function(j){return K(1e3*j)},K.en=F[$],K.Ls=F,K.p={},K}))},{}],392:[function(t,n,l){(function(i,o){typeof l==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=o():(i=typeof globalThis&lt;&quot;u&quot;?globalThis:i||self).dayjs_plugin_customParseFormat=o()})(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;},o=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,u=/\d\d/,c=/\d\d?/,a=/\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),M=60*C[1]+(+C[2]||0);return M===0?0:C[0]===&quot;+&quot;?-M:M})(v)}],p=function(v){var _=d[v];return _&amp;&amp;(_.indexOf?_:_.s.concat(_.f))},x=function(v,_){var C,M=d.meridiem;if(M){for(var T=1;T&lt;=24;T+=1)if(v.indexOf(M(T,0,_))&gt;-1){C=T&gt;12;break}}else C=v===(_?&quot;pm&quot;:&quot;PM&quot;);return C},g={A:[a,function(v){this.afternoon=x(v,!1)}],a:[a,function(v){this.afternoon=x(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:[c,h(&quot;seconds&quot;)],ss:[c,h(&quot;seconds&quot;)],m:[c,h(&quot;minutes&quot;)],mm:[c,h(&quot;minutes&quot;)],H:[c,h(&quot;hours&quot;)],h:[c,h(&quot;hours&quot;)],HH:[c,h(&quot;hours&quot;)],hh:[c,h(&quot;hours&quot;)],D:[c,h(&quot;day&quot;)],DD:[u,h(&quot;day&quot;)],Do:[a,function(v){var _=d.ordinal,C=v.match(/\d+/);if(this.day=C[0],_)for(var M=1;M&lt;=31;M+=1)_(M).replace(/\[|\]/g,&quot;&quot;)===v&amp;&amp;(this.day=M)}],M:[c,h(&quot;month&quot;)],MM:[u,h(&quot;month&quot;)],MMM:[a,function(v){var _=p(&quot;months&quot;),C=(p(&quot;monthsShort&quot;)||_.map((function(M){return M.slice(0,3)}))).indexOf(v)+1;if(C&lt;1)throw new Error;this.month=C%12||C}],MMMM:[a,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 M=(v=_.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(K,P,L){var E=L&amp;&amp;L.toUpperCase();return P||C[L]||i[L]||C[E].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(j,k,S){return k||S.slice(1)}))}))).match(o),T=M.length,$=0;$&lt;T;$+=1){var F=M[$],H=g[F],W=H&amp;&amp;H[0],q=H&amp;&amp;H[1];M[$]=q?{regex:W,parser:q}:F.replace(/^\[|\]$/g,&quot;&quot;)}return function(K){for(var P={},L=0,E=0;L&lt;T;L+=1){var j=M[L];if(typeof j==&quot;string&quot;)E+=j.length;else{var k=j.regex,S=j.parser,N=K.slice(E),O=k.exec(N)[0];S.call(P,O),K=K.replace(O,&quot;&quot;)}}return(function(D){var B=D.afternoon;if(B!==void 0){var Y=D.hours;B?Y&lt;12&amp;&amp;(D.hours+=12):Y===12&amp;&amp;(D.hours=0),delete D.afternoon}})(P),P}}return function(v,_,C){C.p.customParseFormat=!0,v&amp;&amp;v.parseTwoDigitYear&amp;&amp;(f=v.parseTwoDigitYear);var M=_.prototype,T=M.parse;M.parse=function($){var F=$.date,H=$.utc,W=$.args;this.$u=H;var q=W[1];if(typeof q==&quot;string&quot;){var K=W[2]===!0,P=W[3]===!0,L=K||P,E=W[2];P&amp;&amp;(E=W[2]),d=this.$locale(),!K&amp;&amp;E&amp;&amp;(d=C.Ls[E]),this.$d=(function(N,O,D){try{if([&quot;x&quot;,&quot;X&quot;].indexOf(O)&gt;-1)return new Date((O===&quot;X&quot;?1e3:1)*N);var B=y(O)(N),Y=B.year,Z=B.month,ne=B.day,V=B.hours,ee=B.minutes,z=B.seconds,R=B.milliseconds,X=B.zone,re=new Date,Q=ne||(Y||Z?1:re.getDate()),te=Y||re.getFullYear(),se=0;Y&amp;&amp;!Z||(se=Z&gt;0?Z-1:re.getMonth());var de=V||0,ce=ee||0,ie=z||0,fe=R||0;return X?new Date(Date.UTC(te,se,Q,de,ce,ie,fe+60*X.offset*1e3)):D?new Date(Date.UTC(te,se,Q,de,ce,ie,fe)):new Date(te,se,Q,de,ce,ie,fe)}catch{return new Date(&quot;&quot;)}})(F,q,H),this.init(),E&amp;&amp;E!==!0&amp;&amp;(this.$L=this.locale(E).$L),L&amp;&amp;F!=this.format(q)&amp;&amp;(this.$d=new Date(&quot;&quot;)),d={}}else if(q instanceof Array)for(var j=q.length,k=1;k&lt;=j;k+=1){W[1]=q[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,$)}}}))},{}],393:[function(t,n,l){(function(i,o){typeof l==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=o():(i=typeof globalThis&lt;&quot;u&quot;?globalThis:i||self).dayjs_plugin_utc=o()})(void 0,(function(){var i=&quot;minute&quot;,o=/[+-]\d\d(?::?\d\d)?/g,u=/([+-]|\d\d)/g;return function(c,a,d){var f=a.prototype;d.utc=function(v){var _={date:v,utc:!0,args:arguments};return new a(_)},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(o);if(!H)return null;var W=(&quot;&quot;+H[0]).match(u)||[&quot;-&quot;,0,0],q=W[0],K=60*+W[1]+ +W[2];return K===0?0:q===&quot;+&quot;?K:-K})(v))===null)return this;var M=Math.abs(v)&lt;=16?60*v:v,T=this;if(_)return T.$offset=M,T.$u=v===0,T;if(v!==0){var $=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(T=this.local().add(M+$,i)).$offset=M,T.$x.$localOffset=$}else T=this.utc();return T};var x=f.format;f.format=function(v){var _=v||(this.$u?&quot;YYYY-MM-DDTHH:mm:ss[Z]&quot;:&quot;&quot;);return x.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 M=this.local(),T=d(v).local();return y.call(M,T,_,C)}}}))},{}],394:[function(t,n,l){l.utils=t(&quot;./des/utils&quot;),l.Cipher=t(&quot;./des/cipher&quot;),l.DES=t(&quot;./des/des&quot;),l.CBC=t(&quot;./des/cbc&quot;),l.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,l){var i=t(&quot;minimalistic-assert&quot;),o=t(&quot;inherits&quot;),u={};function c(a){i.equal(a.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]=a[d]}l.instantiate=function(a){function d(p){a.call(this,p),this._cbcInit()}o(d,a);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 a=new c(this.options.iv);this._cbcState=a},u._update=function(a,d,f,h){var m=this._cbcState,p=this.constructor.super_.prototype,x=m.iv;if(this.type===&quot;encrypt&quot;){for(var g=0;g&lt;this.blockSize;g++)x[g]^=a[d+g];for(p._update.call(this,x,0,f,h),g=0;g&lt;this.blockSize;g++)x[g]=f[h+g]}else{for(p._update.call(this,a,d,f,h),g=0;g&lt;this.blockSize;g++)f[h+g]^=x[g];for(g=0;g&lt;this.blockSize;g++)x[g]=a[d+g]}}},{inherits:440,&quot;minimalistic-assert&quot;:453}],396:[function(t,n,l){var i=t(&quot;minimalistic-assert&quot;);function o(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=o,o.prototype._init=function(){},o.prototype.update=function(u){return u.length===0?[]:this.type===&quot;decrypt&quot;?this._updateDecrypt(u):this._updateEncrypt(u)},o.prototype._buffer=function(u,c){for(var a=Math.min(this.buffer.length-this.bufferOff,u.length-c),d=0;d&lt;a;d++)this.buffer[this.bufferOff+d]=u[c+d];return this.bufferOff+=a,a},o.prototype._flushBuffer=function(u,c){return this._update(this.buffer,0,u,c),this.bufferOff=0,this.blockSize},o.prototype._updateEncrypt=function(u){var c=0,a=0,d=(this.bufferOff+u.length)/this.blockSize|0,f=new Array(d*this.blockSize);this.bufferOff!==0&amp;&amp;(c+=this._buffer(u,c),this.bufferOff===this.buffer.length&amp;&amp;(a+=this._flushBuffer(f,a)));for(var h=u.length-(u.length-c)%this.blockSize;c&lt;h;c+=this.blockSize)this._update(u,c,f,a),a+=this.blockSize;for(;c&lt;u.length;c++,this.bufferOff++)this.buffer[this.bufferOff]=u[c];return f},o.prototype._updateDecrypt=function(u){for(var c=0,a=0,d=Math.ceil((this.bufferOff+u.length)/this.blockSize)-1,f=new Array(d*this.blockSize);d&gt;0;d--)c+=this._buffer(u,c),a+=this._flushBuffer(f,a);return c+=this._buffer(u,c),f},o.prototype.final=function(u){var c,a;return u&amp;&amp;(c=this.update(u)),a=this.type===&quot;encrypt&quot;?this._finalEncrypt():this._finalDecrypt(),c?c.concat(a):a},o.prototype._pad=function(u,c){if(c===0)return!1;for(;c&lt;u.length;)u[c++]=0;return!0},o.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},o.prototype._unpad=function(u){return u},o.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,l){var i=t(&quot;minimalistic-assert&quot;),o=t(&quot;inherits&quot;),u=t(&quot;./utils&quot;),c=t(&quot;./cipher&quot;);function a(){this.tmp=new Array(2),this.keys=null}function d(h){c.call(this,h);var m=new a;this._desState=m,this.deriveKeys(m,h.key)}o(d,c),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),x=u.readUInt32BE(m,4);u.pc1(p,x,h.tmp,0),p=h.tmp[0],x=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),x=u.r28shl(x,y),u.pc2(p,x,h.keys,g)}},d.prototype._update=function(h,m,p,x){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,x),u.writeUInt32BE(p,v,x+4)},d.prototype._pad=function(h,m){if(this.padding===!1)return!1;for(var p=h.length-m,x=m;x&lt;h.length;x++)h[x]=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,x,g){for(var y=m,v=p,_=0;_&lt;h.keys.length;_+=2){var C=h.keys[_],M=h.keys[_+1];u.expand(v,h.tmp,0),C^=h.tmp[0],M^=h.tmp[1];var T=u.substitute(C,M),$=v;v=(y^u.permute(T))&gt;&gt;&gt;0,y=$}u.rip(v,y,x,g)},d.prototype._decrypt=function(h,m,p,x,g){for(var y=p,v=m,_=h.keys.length-2;_&gt;=0;_-=2){var C=h.keys[_],M=h.keys[_+1];u.expand(y,h.tmp,0),C^=h.tmp[0],M^=h.tmp[1];var T=u.substitute(C,M),$=y;y=(v^u.permute(T))&gt;&gt;&gt;0,v=$}u.rip(y,v,x,g)}},{&quot;./cipher&quot;:396,&quot;./utils&quot;:399,inherits:440,&quot;minimalistic-assert&quot;:453}],398:[function(t,n,l){var i=t(&quot;minimalistic-assert&quot;),o=t(&quot;inherits&quot;),u=t(&quot;./cipher&quot;),c=t(&quot;./des&quot;);function a(f,h){i.equal(h.length,24,&quot;Invalid key length&quot;);var m=h.slice(0,8),p=h.slice(8,16),x=h.slice(16,24);this.ciphers=f===&quot;encrypt&quot;?[c.create({type:&quot;encrypt&quot;,key:m}),c.create({type:&quot;decrypt&quot;,key:p}),c.create({type:&quot;encrypt&quot;,key:x})]:[c.create({type:&quot;decrypt&quot;,key:x}),c.create({type:&quot;encrypt&quot;,key:p}),c.create({type:&quot;decrypt&quot;,key:m})]}function d(f){u.call(this,f);var h=new a(this.type,this.options.key);this._edeState=h}o(d,u),n.exports=d,d.create=function(f){return new d(f)},d.prototype._update=function(f,h,m,p){var x=this._edeState;x.ciphers[0]._update(f,h,m,p),x.ciphers[1]._update(m,p,m,p),x.ciphers[2]._update(m,p,m,p)},d.prototype._pad=c.prototype._pad,d.prototype._unpad=c.prototype._unpad},{&quot;./cipher&quot;:396,&quot;./des&quot;:397,inherits:440,&quot;minimalistic-assert&quot;:453}],399:[function(t,n,l){l.readUInt32BE=function(c,a){return(c[0+a]&lt;&lt;24|c[1+a]&lt;&lt;16|c[2+a]&lt;&lt;8|c[3+a])&gt;&gt;&gt;0},l.writeUInt32BE=function(c,a,d){c[0+d]=a&gt;&gt;&gt;24,c[1+d]=a&gt;&gt;&gt;16&amp;255,c[2+d]=a&gt;&gt;&gt;8&amp;255,c[3+d]=255&amp;a},l.ip=function(c,a,d,f){for(var h=0,m=0,p=6;p&gt;=0;p-=2){for(var x=0;x&lt;=24;x+=8)h&lt;&lt;=1,h|=a&gt;&gt;&gt;x+p&amp;1;for(x=0;x&lt;=24;x+=8)h&lt;&lt;=1,h|=c&gt;&gt;&gt;x+p&amp;1}for(p=6;p&gt;=0;p-=2){for(x=1;x&lt;=25;x+=8)m&lt;&lt;=1,m|=a&gt;&gt;&gt;x+p&amp;1;for(x=1;x&lt;=25;x+=8)m&lt;&lt;=1,m|=c&gt;&gt;&gt;x+p&amp;1}d[f+0]=h&gt;&gt;&gt;0,d[f+1]=m&gt;&gt;&gt;0},l.rip=function(c,a,d,f){for(var h=0,m=0,p=0;p&lt;4;p++)for(var x=24;x&gt;=0;x-=8)h&lt;&lt;=1,h|=a&gt;&gt;&gt;x+p&amp;1,h&lt;&lt;=1,h|=c&gt;&gt;&gt;x+p&amp;1;for(p=4;p&lt;8;p++)for(x=24;x&gt;=0;x-=8)m&lt;&lt;=1,m|=a&gt;&gt;&gt;x+p&amp;1,m&lt;&lt;=1,m|=c&gt;&gt;&gt;x+p&amp;1;d[f+0]=h&gt;&gt;&gt;0,d[f+1]=m&gt;&gt;&gt;0},l.pc1=function(c,a,d,f){for(var h=0,m=0,p=7;p&gt;=5;p--){for(var x=0;x&lt;=24;x+=8)h&lt;&lt;=1,h|=a&gt;&gt;x+p&amp;1;for(x=0;x&lt;=24;x+=8)h&lt;&lt;=1,h|=c&gt;&gt;x+p&amp;1}for(x=0;x&lt;=24;x+=8)h&lt;&lt;=1,h|=a&gt;&gt;x+p&amp;1;for(p=1;p&lt;=3;p++){for(x=0;x&lt;=24;x+=8)m&lt;&lt;=1,m|=a&gt;&gt;x+p&amp;1;for(x=0;x&lt;=24;x+=8)m&lt;&lt;=1,m|=c&gt;&gt;x+p&amp;1}for(x=0;x&lt;=24;x+=8)m&lt;&lt;=1,m|=c&gt;&gt;x+p&amp;1;d[f+0]=h&gt;&gt;&gt;0,d[f+1]=m&gt;&gt;&gt;0},l.r28shl=function(c,a){return c&lt;&lt;a&amp;268435455|c&gt;&gt;&gt;28-a};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];l.pc2=function(c,a,d,f){for(var h=0,m=0,p=i.length&gt;&gt;&gt;1,x=0;x&lt;p;x++)h&lt;&lt;=1,h|=c&gt;&gt;&gt;i[x]&amp;1;for(x=p;x&lt;i.length;x++)m&lt;&lt;=1,m|=a&gt;&gt;&gt;i[x]&amp;1;d[f+0]=h&gt;&gt;&gt;0,d[f+1]=m&gt;&gt;&gt;0},l.expand=function(c,a,d){var f=0,h=0;f=(1&amp;c)&lt;&lt;5|c&gt;&gt;&gt;27;for(var m=23;m&gt;=15;m-=4)f&lt;&lt;=6,f|=c&gt;&gt;&gt;m&amp;63;for(m=11;m&gt;=3;m-=4)h|=c&gt;&gt;&gt;m&amp;63,h&lt;&lt;=6;h|=(31&amp;c)&lt;&lt;1|c&gt;&gt;&gt;31,a[d+0]=f&gt;&gt;&gt;0,a[d+1]=h&gt;&gt;&gt;0};var o=[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];l.substitute=function(c,a){for(var d=0,f=0;f&lt;4;f++)d&lt;&lt;=4,d|=o[64*f+(c&gt;&gt;&gt;18-6*f&amp;63)];for(f=0;f&lt;4;f++)d&lt;&lt;=4,d|=o[256+64*f+(a&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];l.permute=function(c){for(var a=0,d=0;d&lt;u.length;d++)a&lt;&lt;=1,a|=c&gt;&gt;&gt;u[d]&amp;1;return a&gt;&gt;&gt;0},l.padSplit=function(c,a,d){for(var f=c.toString(2);f.length&lt;a;)f=&quot;0&quot;+f;for(var h=[],m=0;m&lt;a;m+=d)h.push(f.slice(m,m+d));return h.join(&quot; &quot;)}},{}],400:[function(t,n,l){(function(i){(function(){var o=t(&quot;./lib/generatePrime&quot;),u=t(&quot;./lib/primes.json&quot;),c=t(&quot;./lib/dh&quot;),a={binary:!0,hex:!0,base64:!0};l.DiffieHellmanGroup=l.createDiffieHellmanGroup=l.getDiffieHellman=function(d){var f=new i(u[d].prime,&quot;hex&quot;),h=new i(u[d].gen,&quot;hex&quot;);return new c(f,h)},l.createDiffieHellman=l.DiffieHellman=function d(f,h,m,p){return i.isBuffer(h)||a[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 c(o(f,m),m,!0):(i.isBuffer(f)||(f=new i(f,h)),new c(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,l){(function(i){(function(){var o=t(&quot;bn.js&quot;),u=new(t(&quot;miller-rabin&quot;)),c=new o(24),a=new o(11),d=new o(10),f=new o(3),h=new o(7),m=t(&quot;./generatePrime&quot;),p=t(&quot;randombytes&quot;);function x(C,M){return M=M||&quot;utf8&quot;,i.isBuffer(C)||(C=new i(C,M)),this._pub=new o(C),this}function g(C,M){return M=M||&quot;utf8&quot;,i.isBuffer(C)||(C=new i(C,M)),this._priv=new o(C),this}n.exports=v;var y={};function v(C,M,T){this.setGenerator(M),this.__prime=new o(C),this._prime=o.mont(this.__prime),this._primeLen=C.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,T?(this.setPublicKey=x,this.setPrivateKey=g):this._primeCode=8}function _(C,M){var T=new i(C.toArray());return M?T.toString(M):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,M){var T=M.toString(&quot;hex&quot;),$=[T,C.toString(16)].join(&quot;_&quot;);if($ in y)return y[$];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[$]=H,H;switch(u.test(C.shrn(1))||(H+=2),T){case&quot;02&quot;:C.mod(c).cmp(a)&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[$]=H,H})(this.__prime,this.__gen)),this._primeCode}}),v.prototype.generateKeys=function(){return this._priv||(this._priv=new o(p(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},v.prototype.computeSecret=function(C){var M=(C=(C=new o(C)).toRed(this._prime)).redPow(this._priv).fromRed(),T=new i(M.toArray()),$=this.getPrime();if(T.length&lt;$.length){var F=new i($.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,M){return M=M||&quot;utf8&quot;,i.isBuffer(C)||(C=new i(C,M)),this.__gen=C,this._gen=new o(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,l){var i=t(&quot;randombytes&quot;);n.exports=C,C.simpleSieve=v,C.fermatTest=_;var o=t(&quot;bn.js&quot;),u=new o(24),c=new(t(&quot;miller-rabin&quot;)),a=new o(1),d=new o(2),f=new o(5),h=(new o(16),new o(8),new o(10)),m=new o(3),p=(new o(7),new o(11)),x=new o(4),g=(new o(12),null);function y(){if(g!==null)return g;var M=[];M[0]=2;for(var T=1,$=3;$&lt;1048576;$+=2){for(var F=Math.ceil(Math.sqrt($)),H=0;H&lt;T&amp;&amp;M[H]&lt;=F&amp;&amp;$%M[H]!=0;H++);T!==H&amp;&amp;M[H]&lt;=F||(M[T++]=$)}return g=M,M}function v(M){for(var T=y(),$=0;$&lt;T.length;$++)if(M.modn(T[$])===0)return M.cmpn(T[$])===0;return!0}function _(M){var T=o.mont(M);return d.toRed(T).redPow(M.subn(1)).fromRed().cmpn(1)===0}function C(M,T){if(M&lt;16)return new o(T===2||T===5?[140,123]:[140,39]);var $,F;for(T=new o(T);;){for($=new o(i(Math.ceil(M/8)));$.bitLength()&gt;M;)$.ishrn(1);if($.isEven()&amp;&amp;$.iadd(a),$.testn(1)||$.iadd(d),T.cmp(d)){if(!T.cmp(f))for(;$.mod(h).cmp(m);)$.iadd(x)}else for(;$.mod(u).cmp(p);)$.iadd(x);if(v(F=$.shrn(1))&amp;&amp;v($)&amp;&amp;_(F)&amp;&amp;_($)&amp;&amp;c.test(F)&amp;&amp;c.test($))return $}}},{&quot;bn.js&quot;:404,&quot;miller-rabin&quot;:451,randombytes:475}],403:[function(t,n,l){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,l){arguments[4][184][0].apply(l,arguments)},{buffer:188,dup:184}],405:[function(t,n,l){var i=l;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,l){var i=t(&quot;bn.js&quot;),o=t(&quot;../utils&quot;),u=o.getNAF,c=o.getJSF,a=o.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){a(h.precomputed);var p=h._getDoubles(),x=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;x.length;y+=p.step){v=0;for(var C=y+p.step-1;C&gt;=y;C--)v=(v&lt;&lt;1)+x[C];_.push(v)}for(var M=this.jpoint(null,null,null),T=this.jpoint(null,null,null),$=g;$&gt;0;$--){for(y=0;y&lt;_.length;y++)(v=_[y])===$?T=T.mixedAdd(p.points[y]):v===-$&amp;&amp;(T=T.mixedAdd(p.points[y].neg()));M=M.add(T)}return M.toP()},d.prototype._wnafMul=function(h,m){var p=4,x=h._getNAFPoints(p);p=x.wnd;for(var g=x.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 M=y[_];a(M!==0),v=h.type===&quot;affine&quot;?M&gt;0?v.mixedAdd(g[M-1&gt;&gt;1]):v.mixedAdd(g[-M-1&gt;&gt;1].neg()):M&gt;0?v.add(g[M-1&gt;&gt;1]):v.add(g[-M-1&gt;&gt;1].neg())}return h.type===&quot;affine&quot;?v.toP():v},d.prototype._wnafMulAdd=function(h,m,p,x,g){var y,v,_,C=this._wnafT1,M=this._wnafT2,T=this._wnafT3,$=0;for(y=0;y&lt;x;y++){var F=(_=m[y])._getNAFPoints(h);C[y]=F.wnd,M[y]=F.points}for(y=x-1;y&gt;=1;y-=2){var H=y-1,W=y;if(C[H]===1&amp;&amp;C[W]===1){var q=[m[H],null,null,m[W]];m[H].y.cmp(m[W].y)===0?(q[1]=m[H].add(m[W]),q[2]=m[H].toJ().mixedAdd(m[W].neg())):m[H].y.cmp(m[W].y.redNeg())===0?(q[1]=m[H].toJ().mixedAdd(m[W]),q[2]=m[H].add(m[W].neg())):(q[1]=m[H].toJ().mixedAdd(m[W]),q[2]=m[H].toJ().mixedAdd(m[W].neg()));var K=[-3,-1,-5,-7,0,7,5,1,3],P=c(p[H],p[W]);for($=Math.max(P[0].length,$),T[H]=new Array($),T[W]=new Array($),v=0;v&lt;$;v++){var L=0|P[0][v],E=0|P[1][v];T[H][v]=K[3*(L+1)+(E+1)],T[W][v]=0,M[H]=q}}else T[H]=u(p[H],C[H],this._bitLength),T[W]=u(p[W],C[W],this._bitLength),$=Math.max(T[H].length,$),$=Math.max(T[W].length,$)}var j=this.jpoint(null,null,null),k=this._wnafT4;for(y=$;y&gt;=0;y--){for(var S=0;y&gt;=0;){var N=!0;for(v=0;v&lt;x;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;x;v++){var O=k[v];O!==0&amp;&amp;(O&gt;0?_=M[v][O-1&gt;&gt;1]:O&lt;0&amp;&amp;(_=M[v][-O-1&gt;&gt;1].neg()),j=_.type===&quot;affine&quot;?j.mixedAdd(_):j.add(_))}}for(y=0;y&lt;x;y++)M[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=o.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?a(h[h.length-1]%2==0):h[0]===7&amp;&amp;a(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 o.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],x=this,g=0;g&lt;m;g+=h){for(var y=0;y&lt;h;y++)x=x.dbl();p.push(x)}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,x=p===1?null:this.dbl(),g=1;g&lt;p;g++)m[g]=m[g-1].add(x);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,l){var i=t(&quot;../utils&quot;),o=t(&quot;bn.js&quot;),u=t(&quot;inherits&quot;),c=t(&quot;./base&quot;),a=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,c.call(this,&quot;edwards&quot;,h),this.a=new o(h.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(h.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(h.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|h.c)==1}function f(h,m,p,x,g){c.BasePoint.call(this,h,&quot;projective&quot;),m===null&amp;&amp;p===null&amp;&amp;x===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 o(m,16),this.y=new o(p,16),this.z=x?new o(x,16):this.curve.one,this.t=g&amp;&amp;new o(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,c),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,x){return this.point(h,m,p,x)},d.prototype.pointFromX=function(h,m){(h=new o(h,16)).red||(h=h.toRed(this.red));var p=h.redSqr(),x=this.c2.redSub(this.a.redMul(p)),g=this.one.redSub(this.c2.redMul(this.d).redMul(p)),y=x.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 o(h,16)).red||(h=h.toRed(this.red));var p=h.redSqr(),x=p.redSub(this.c2),g=p.redMul(this.d).redMul(this.c2).redSub(this.a),y=x.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(),x=m.redMul(this.a).redAdd(p),g=this.c2.redMul(this.one.redAdd(this.d.redMul(m).redMul(p)));return x.cmp(g)===0},u(f,c.BasePoint),d.prototype.pointFromJSON=function(h){return f.fromJSON(this,h)},d.prototype.point=function(h,m,p,x){return new f(this,h,m,p,x)},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 x=this.curve._mulA(h),g=this.x.redAdd(this.y).redSqr().redISub(h).redISub(m),y=x.redAdd(m),v=y.redSub(p),_=x.redSub(m),C=g.redMul(v),M=y.redMul(_),T=g.redMul(_),$=v.redMul(y);return this.curve.point(C,M,$,T)},f.prototype._projDbl=function(){var h,m,p,x,g,y,v=this.x.redAdd(this.y).redSqr(),_=this.x.redSqr(),C=this.y.redSqr();if(this.curve.twisted){var M=(x=this.curve._mulA(_)).redAdd(C);this.zOne?(h=v.redSub(_).redSub(C).redMul(M.redSub(this.curve.two)),m=M.redMul(x.redSub(C)),p=M.redSqr().redSub(M).redSub(M)):(g=this.z.redSqr(),y=M.redSub(g).redISub(g),h=v.redSub(_).redISub(C).redMul(y),m=M.redMul(x.redSub(C)),p=M.redMul(y))}else x=_.redAdd(C),g=this.curve._mulC(this.z).redSqr(),y=x.redSub(g).redSub(g),h=this.curve._mulC(v.redISub(x)).redMul(y),m=this.curve._mulC(x).redMul(_.redISub(C)),p=x.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)),x=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(x),_=g.redAdd(x),C=p.redAdd(m),M=y.redMul(v),T=_.redMul(C),$=y.redMul(C),F=v.redMul(_);return this.curve.point(M,T,F,$)},f.prototype._projAdd=function(h){var m,p,x=this.z.redMul(h.z),g=x.redSqr(),y=this.x.redMul(h.x),v=this.y.redMul(h.y),_=this.curve.d.redMul(y).redMul(v),C=g.redSub(_),M=g.redAdd(_),T=this.x.redAdd(this.y).redMul(h.x.redAdd(h.y)).redISub(y).redISub(v),$=x.redMul(C).redMul(T);return this.curve.twisted?(m=x.redMul(M).redMul(v.redSub(this.curve._mulA(y))),p=C.redMul(M)):(m=x.redMul(M).redMul(v.redSub(y)),p=this.curve._mulC(C).redMul(M)),this.curve.point($,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(),x=this.curve.redN.redMul(this.z);;){if(p.iadd(this.curve.n),p.cmp(this.curve.p)&gt;=0)return!1;if(m.redIAdd(x),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,l){var i=l;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,l){var i=t(&quot;bn.js&quot;),o=t(&quot;inherits&quot;),u=t(&quot;./base&quot;),c=t(&quot;../utils&quot;);function a(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)))}o(a,u),n.exports=a,a.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},o(d,u.BasePoint),a.prototype.decodePoint=function(f,h){return this.point(c.toArray(f,h),1)},a.prototype.point=function(f,h){return new d(this,f,h)},a.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),x=m.redMul(h.redAdd(this.curve.a24.redMul(m)));return this.curve.point(p,x)},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),x=f.x.redAdd(f.z),g=f.x.redSub(f.z).redMul(m),y=x.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),x=[];h.cmpn(0)!==0;h.iushrn(1))x.push(h.andln(1));for(var g=x.length-1;g&gt;=0;g--)x[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,l){var i=t(&quot;../utils&quot;),o=t(&quot;bn.js&quot;),u=t(&quot;inherits&quot;),c=t(&quot;./base&quot;),a=i.assert;function d(m){c.call(this,&quot;short&quot;,m),this.a=new o(m.a,16).toRed(this.red),this.b=new o(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,x,g){c.BasePoint.call(this,m,&quot;affine&quot;),p===null&amp;&amp;x===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new o(p,16),this.y=new o(x,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,x,g){c.BasePoint.call(this,m,&quot;jacobian&quot;),p===null&amp;&amp;x===null&amp;&amp;g===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o(0)):(this.x=new o(p,16),this.y=new o(x,16),this.z=new o(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,c),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,x;if(m.beta)p=new o(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)x=new o(m.lambda,16);else{var y=this._getEndoRoots(this.n);this.g.mul(y[0]).x.cmp(this.g.x.redMul(p))===0?x=y[0]:(x=y[1],a(this.g.mul(x).x.cmp(this.g.x.redMul(p))===0))}return{beta:p,lambda:x,basis:m.basis?m.basis.map((function(v){return{a:new o(v.a,16),b:new o(v.b,16)}})):this._getEndoBasis(x)}}},d.prototype._getEndoRoots=function(m){var p=m===this.p?this.red:o.mont(m),x=new o(2).toRed(p).redInvm(),g=x.redNeg(),y=new o(3).toRed(p).redNeg().redSqrt().redMul(x);return[g.redAdd(y).fromRed(),g.redSub(y).fromRed()]},d.prototype._getEndoBasis=function(m){for(var p,x,g,y,v,_,C,M,T,$=this.n.ushrn(Math.floor(this.n.bitLength()/2)),F=m,H=this.n.clone(),W=new o(1),q=new o(0),K=new o(0),P=new o(1),L=0;F.cmpn(0)!==0;){var E=H.div(F);M=H.sub(E.mul(F)),T=K.sub(E.mul(W));var j=P.sub(E.mul(q));if(!g&amp;&amp;M.cmp($)&lt;0)p=C.neg(),x=W,g=M.neg(),y=T;else if(g&amp;&amp;++L==2)break;C=M,H=F,F=M,K=W,W=T,P=q,q=j}v=M.neg(),_=T;var k=g.sqr().add(y.sqr());return v.sqr().add(_.sqr()).cmp(k)&gt;=0&amp;&amp;(v=p,_=x),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,x=p[0],g=p[1],y=g.b.mul(m).divRound(this.n),v=x.b.neg().mul(m).divRound(this.n),_=y.mul(x.a),C=v.mul(g.a),M=y.mul(x.b),T=v.mul(g.b);return{k1:m.sub(_).sub(C),k2:M.add(T).neg()}},d.prototype.pointFromX=function(m,p){(m=new o(m,16)).red||(m=m.toRed(this.red));var x=m.redSqr().redMul(m).redIAdd(m.redMul(this.a)).redIAdd(this.b),g=x.redSqrt();if(g.redSqr().redSub(x).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,x=m.y,g=this.a.redMul(p),y=p.redSqr().redMul(p).redIAdd(g).redIAdd(this.b);return x.redSqr().redISub(y).cmpn(0)===0},d.prototype._endoWnafMulAdd=function(m,p,x){for(var g=this._endoWnafT1,y=this._endoWnafT2,v=0;v&lt;m.length;v++){var _=this._endoSplit(p[v]),C=m[v],M=C._getBeta();_.k1.negative&amp;&amp;(_.k1.ineg(),C=C.neg(!0)),_.k2.negative&amp;&amp;(_.k2.ineg(),M=M.neg(!0)),g[2*v]=C,g[2*v+1]=M,y[2*v]=_.k1,y[2*v+1]=_.k2}for(var T=this._wnafMulAdd(1,g,y,2*v,x),$=0;$&lt;2*v;$++)g[$]=null,y[$]=null;return T},u(f,c.BasePoint),d.prototype.point=function(m,p,x){return new f(this,m,p,x)},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 x=this.curve,g=function(y){return x.point(y.x.redMul(x.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,x){typeof p==&quot;string&quot;&amp;&amp;(p=JSON.parse(p));var g=m.point(p[0],p[1],x);if(!p[2])return g;function y(_){return m.point(_[0],_[1],x)}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 x=p.redSqr().redISub(this.x).redISub(m.x),g=p.redMul(this.x.redSub(x)).redISub(this.y);return this.curve.point(x,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,x=this.x.redSqr(),g=m.redInvm(),y=x.redAdd(x).redIAdd(x).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 o(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,x){var g=[this,p],y=[m,x];return this.curve.endo?this.curve._endoWnafMulAdd(g,y):this.curve._wnafMulAdd(1,g,y,2)},f.prototype.jmulAdd=function(m,p,x){var g=[this,p],y=[m,x];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 x=this.precomputed,g=function(y){return y.neg()};p.precomputed={naf:x.naf&amp;&amp;{wnd:x.naf.wnd,points:x.naf.points.map(g)},doubles:x.doubles&amp;&amp;{step:x.doubles.step,points:x.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,c.BasePoint),d.prototype.jpoint=function(m,p,x){return new h(this,m,p,x)},h.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var m=this.z.redInvm(),p=m.redSqr(),x=this.x.redMul(p),g=this.y.redMul(p).redMul(m);return this.curve.point(x,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(),x=this.z.redSqr(),g=this.x.redMul(p),y=m.x.redMul(x),v=this.y.redMul(p.redMul(m.z)),_=m.y.redMul(x.redMul(this.z)),C=g.redSub(y),M=v.redSub(_);if(C.cmpn(0)===0)return M.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var T=C.redSqr(),$=T.redMul(C),F=g.redMul(T),H=M.redSqr().redIAdd($).redISub(F).redISub(F),W=M.redMul(F.redISub(H)).redISub(v.redMul($)),q=this.z.redMul(m.z).redMul(C);return this.curve.jpoint(H,W,q)},h.prototype.mixedAdd=function(m){if(this.isInfinity())return m.toJ();if(m.isInfinity())return this;var p=this.z.redSqr(),x=this.x,g=m.x.redMul(p),y=this.y,v=m.y.redMul(p).redMul(this.z),_=x.redSub(g),C=y.redSub(v);if(_.cmpn(0)===0)return C.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var M=_.redSqr(),T=M.redMul(_),$=x.redMul(M),F=C.redSqr().redIAdd(T).redISub($).redISub($),H=C.redMul($.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 x=this;for(p=0;p&lt;m;p++)x=x.dbl();return x}var g=this.curve.a,y=this.curve.tinv,v=this.x,_=this.y,C=this.z,M=C.redSqr().redSqr(),T=_.redAdd(_);for(p=0;p&lt;m;p++){var $=v.redSqr(),F=T.redSqr(),H=F.redSqr(),W=$.redAdd($).redIAdd($).redIAdd(g.redMul(M)),q=v.redMul(F),K=W.redSqr().redISub(q.redAdd(q)),P=q.redISub(K),L=W.redMul(P);L=L.redIAdd(L).redISub(H);var E=T.redMul(C);p+1&lt;m&amp;&amp;(M=M.redMul(H)),v=K,C=E,T=L}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,x;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),M=C.redSqr().redISub(_).redISub(_),T=v.redIAdd(v);T=(T=T.redIAdd(T)).redIAdd(T),m=M,p=C.redMul(_.redISub(M)).redISub(T),x=this.y.redAdd(this.y)}else{var $=this.x.redSqr(),F=this.y.redSqr(),H=F.redSqr(),W=this.x.redAdd(F).redSqr().redISub($).redISub(H);W=W.redIAdd(W);var q=$.redAdd($).redIAdd($),K=q.redSqr(),P=H.redIAdd(H);P=(P=P.redIAdd(P)).redIAdd(P),m=K.redISub(W).redISub(W),p=q.redMul(W.redISub(m)).redISub(P),x=(x=this.y.redMul(this.z)).redIAdd(x)}return this.curve.jpoint(m,p,x)},h.prototype._threeDbl=function(){var m,p,x;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),M=C.redSqr().redISub(_).redISub(_);m=M;var T=v.redIAdd(v);T=(T=T.redIAdd(T)).redIAdd(T),p=C.redMul(_.redISub(M)).redISub(T),x=this.y.redAdd(this.y)}else{var $=this.z.redSqr(),F=this.y.redSqr(),H=this.x.redMul(F),W=this.x.redSub($).redMul(this.x.redAdd($));W=W.redAdd(W).redIAdd(W);var q=H.redIAdd(H),K=(q=q.redIAdd(q)).redAdd(q);m=W.redSqr().redISub(K),x=this.y.redAdd(this.z).redSqr().redISub(F).redISub($);var P=F.redSqr();P=(P=(P=P.redIAdd(P)).redIAdd(P)).redIAdd(P),p=W.redMul(q.redISub(m)).redISub(P)}return this.curve.jpoint(m,p,x)},h.prototype._dbl=function(){var m=this.curve.a,p=this.x,x=this.y,g=this.z,y=g.redSqr().redSqr(),v=p.redSqr(),_=x.redSqr(),C=v.redAdd(v).redIAdd(v).redIAdd(m.redMul(y)),M=p.redAdd(p),T=(M=M.redIAdd(M)).redMul(_),$=C.redSqr().redISub(T.redAdd(T)),F=T.redISub($),H=_.redSqr();H=(H=(H=H.redIAdd(H)).redIAdd(H)).redIAdd(H);var W=C.redMul(F).redISub(H),q=x.redAdd(x).redMul(g);return this.curve.jpoint($,W,q)},h.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var m=this.x.redSqr(),p=this.y.redSqr(),x=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(),M=g.redIAdd(g);M=(M=(M=M.redIAdd(M)).redIAdd(M)).redIAdd(M);var T=y.redIAdd(_).redSqr().redISub(v).redISub(C).redISub(M),$=p.redMul(T);$=($=$.redIAdd($)).redIAdd($);var F=this.x.redMul(C).redISub($);F=(F=F.redIAdd(F)).redIAdd(F);var H=this.y.redMul(T.redMul(M.redISub(T)).redISub(_.redMul(C)));H=(H=(H=H.redIAdd(H)).redIAdd(H)).redIAdd(H);var W=this.z.redAdd(_).redSqr().redISub(x).redISub(C);return this.curve.jpoint(F,H,W)},h.prototype.mul=function(m,p){return m=new o(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(),x=m.z.redSqr();if(this.x.redMul(x).redISub(m.x.redMul(p)).cmpn(0)!==0)return!1;var g=p.redMul(this.z),y=x.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(),x=m.toRed(this.curve.red).redMul(p);if(this.x.cmp(x)===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(x.redIAdd(y),this.x.cmp(x)===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,l){var i,o=l,u=t(&quot;hash.js&quot;),c=t(&quot;./curve&quot;),a=t(&quot;./utils&quot;).assert;function d(h){h.type===&quot;short&quot;?this.curve=new c.short(h):h.type===&quot;edwards&quot;?this.curve=new c.edwards(h):this.curve=new c.mont(h),this.g=this.curve.g,this.n=this.curve.n,this.hash=h.hash,a(this.g.validate(),&quot;Invalid curve&quot;),a(this.g.mul(this.n).isInfinity(),&quot;Invalid curve, G*N != O&quot;)}function f(h,m){Object.defineProperty(o,h,{configurable:!0,enumerable:!0,get:function(){var p=new d(m);return Object.defineProperty(o,h,{configurable:!0,enumerable:!0,value:p}),p}})}o.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,l){var i=t(&quot;bn.js&quot;),o=t(&quot;hmac-drbg&quot;),u=t(&quot;../utils&quot;),c=t(&quot;../curves&quot;),a=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(c,p),&quot;Unknown curve &quot;+p),p=c[p]),p instanceof c.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,x){return f.fromPrivate(this,p,x)},m.prototype.keyFromPublic=function(p,x){return f.fromPublic(this,p,x)},m.prototype.genKeyPair=function(p){p||(p={});for(var x=new o({hash:this.hash,pers:p.pers,persEnc:p.persEnc||&quot;utf8&quot;,entropy:p.entropy||a(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(x.generate(g));if(!(v.cmp(y)&gt;0))return v.iaddn(1),this.keyFromPrivate(v)}},m.prototype._truncateToN=function(p,x){var g=8*p.byteLength()-this.n.bitLength();return g&gt;0&amp;&amp;(p=p.ushrn(g)),!x&amp;&amp;p.cmp(this.n)&gt;=0?p.sub(this.n):p},m.prototype.sign=function(p,x,g,y){typeof g==&quot;object&quot;&amp;&amp;(y=g,g=null),y||(y={}),x=this.keyFromPrivate(x,g),p=this._truncateToN(new i(p,16));for(var v=this.n.byteLength(),_=x.getPrivate().toArray(&quot;be&quot;,v),C=p.toArray(&quot;be&quot;,v),M=new o({hash:this.hash,entropy:_,nonce:C,pers:y.pers,persEnc:y.persEnc||&quot;utf8&quot;}),T=this.n.sub(new i(1)),$=0;;$++){var F=y.k?y.k($):new i(M.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(),q=W.umod(this.n);if(q.cmpn(0)!==0){var K=F.invm(this.n).mul(q.mul(x.getPrivate()).iadd(p));if((K=K.umod(this.n)).cmpn(0)!==0){var P=(H.getY().isOdd()?1:0)|(W.cmp(q)!==0?2:0);return y.canonical&amp;&amp;K.cmp(this.nh)&gt;0&amp;&amp;(K=this.n.sub(K),P^=1),new h({r:q,s:K,recoveryParam:P})}}}}}},m.prototype.verify=function(p,x,g,y){p=this._truncateToN(new i(p,16)),g=this.keyFromPublic(g,y);var v=(x=new h(x,&quot;hex&quot;)).r,_=x.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,M=_.invm(this.n),T=M.mul(p).umod(this.n),$=M.mul(v).umod(this.n);return this.curve._maxwellTrick?!(C=this.g.jmulAdd(T,g.getPublic(),$)).isInfinity()&amp;&amp;C.eqXToP(v):!(C=this.g.mulAdd(T,g.getPublic(),$)).isInfinity()&amp;&amp;C.getX().umod(this.n).cmp(v)===0},m.prototype.recoverPubKey=function(p,x,g,y){d((3&amp;g)===g,&quot;The recovery param is more than two bits&quot;),x=new h(x,y);var v=this.n,_=new i(p),C=x.r,M=x.s,T=1&amp;g,$=g&gt;&gt;1;if(C.cmp(this.curve.p.umod(this.curve.n))&gt;=0&amp;&amp;$)throw new Error(&quot;Unable to find sencond key candinate&quot;);C=$?this.curve.pointFromX(C.add(this.curve.n),T):this.curve.pointFromX(C,T);var F=x.r.invm(v),H=v.sub(_).mul(F).umod(v),W=M.mul(F).umod(v);return this.g.mulAdd(H,C,W)},m.prototype.getKeyRecoveryParam=function(p,x,g,y){if((x=new h(x,y)).recoveryParam!==null)return x.recoveryParam;for(var v=0;v&lt;4;v++){var _;try{_=this.recoverPubKey(p,x,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,l){var i=t(&quot;bn.js&quot;),o=t(&quot;../utils&quot;).assert;function u(c,a){this.ec=c,this.priv=null,this.pub=null,a.priv&amp;&amp;this._importPrivate(a.priv,a.privEnc),a.pub&amp;&amp;this._importPublic(a.pub,a.pubEnc)}n.exports=u,u.fromPublic=function(c,a,d){return a instanceof u?a:new u(c,{pub:a,pubEnc:d})},u.fromPrivate=function(c,a,d){return a instanceof u?a:new u(c,{priv:a,privEnc:d})},u.prototype.validate=function(){var c=this.getPublic();return c.isInfinity()?{result:!1,reason:&quot;Invalid public key&quot;}:c.validate()?c.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(c,a){return typeof c==&quot;string&quot;&amp;&amp;(a=c,c=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),a?this.pub.encode(a,c):this.pub},u.prototype.getPrivate=function(c){return c===&quot;hex&quot;?this.priv.toString(16,2):this.priv},u.prototype._importPrivate=function(c,a){this.priv=new i(c,a||16),this.priv=this.priv.umod(this.ec.curve.n)},u.prototype._importPublic=function(c,a){if(c.x||c.y)return this.ec.curve.type===&quot;mont&quot;?o(c.x,&quot;Need x coordinate&quot;):this.ec.curve.type!==&quot;short&quot;&amp;&amp;this.ec.curve.type!==&quot;edwards&quot;||o(c.x&amp;&amp;c.y,&quot;Need both x and y coordinate&quot;),void(this.pub=this.ec.curve.point(c.x,c.y));this.pub=this.ec.curve.decodePoint(c,a)},u.prototype.derive=function(c){return c.validate()||o(c.validate(),&quot;public point not validated&quot;),c.mul(this.priv).getX()},u.prototype.sign=function(c,a,d){return this.ec.sign(c,this,a,d)},u.prototype.verify=function(c,a){return this.ec.verify(c,a,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,l){var i=t(&quot;bn.js&quot;),o=t(&quot;../utils&quot;),u=o.assert;function c(m,p){if(m instanceof c)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 a(){this.place=0}function d(m,p){var x=m[p.place++];if(!(128&amp;x))return x;var g=15&amp;x;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,x=m.length-1;!m[p]&amp;&amp;!(128&amp;m[p+1])&amp;&amp;p&lt;x;)p++;return p===0?m:m.slice(p)}function h(m,p){if(p&lt;128)m.push(p);else{var x=1+(Math.log(p)/Math.LN2&gt;&gt;&gt;3);for(m.push(128|x);--x;)m.push(p&gt;&gt;&gt;(x&lt;&lt;3)&amp;255);m.push(p)}}n.exports=c,c.prototype._importDER=function(m,p){m=o.toArray(m,p);var x=new a;if(m[x.place++]!==48)return!1;var g=d(m,x);if(g===!1||g+x.place!==m.length||m[x.place++]!==2)return!1;var y=d(m,x);if(y===!1)return!1;var v=m.slice(x.place,y+x.place);if(x.place+=y,m[x.place++]!==2)return!1;var _=d(m,x);if(_===!1||m.length!==_+x.place)return!1;var C=m.slice(x.place,_+x.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},c.prototype.toDER=function(m){var p=this.r.toArray(),x=this.s.toArray();for(128&amp;p[0]&amp;&amp;(p=[0].concat(p)),128&amp;x[0]&amp;&amp;(x=[0].concat(x)),p=f(p),x=f(x);!(x[0]||128&amp;x[1]);)x=x.slice(1);var g=[2];h(g,p.length),(g=g.concat(p)).push(2),h(g,x.length);var y=g.concat(x),v=[48];return h(v,y.length),v=v.concat(y),o.encode(v,m)}},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],415:[function(t,n,l){var i=t(&quot;hash.js&quot;),o=t(&quot;../curves&quot;),u=t(&quot;../utils&quot;),c=u.assert,a=u.parseBytes,d=t(&quot;./key&quot;),f=t(&quot;./signature&quot;);function h(m){if(c(m===&quot;ed25519&quot;,&quot;only tested with ed25519 so far&quot;),!(this instanceof h))return new h(m);m=o[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=a(m);var x=this.keyFromSecret(p),g=this.hashInt(x.messagePrefix(),m),y=this.g.mul(g),v=this.encodePoint(y),_=this.hashInt(v,x.pubBytes(),m).mul(x.priv()),C=g.add(_).umod(this.curve.n);return this.makeSignature({R:y,S:C,Rencoded:v})},h.prototype.verify=function(m,p,x){m=a(m),p=this.makeSignature(p);var g=this.keyFromPublic(x),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,x=m.slice(0,p).concat(-129&amp;m[p]),g=(128&amp;m[p])!=0,y=u.intFromLE(x);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,l){var i=t(&quot;../utils&quot;),o=i.assert,u=i.parseBytes,c=i.cachedProperty;function a(d,f){this.eddsa=d,this._secret=u(f.secret),d.isPoint(f.pub)?this._pub=f.pub:this._pubBytes=u(f.pub)}a.fromPublic=function(d,f){return f instanceof a?f:new a(d,{pub:f})},a.fromSecret=function(d,f){return f instanceof a?f:new a(d,{secret:f})},a.prototype.secret=function(){return this._secret},c(a,&quot;pubBytes&quot;,(function(){return this.eddsa.encodePoint(this.pub())})),c(a,&quot;pub&quot;,(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),c(a,&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})),c(a,&quot;priv&quot;,(function(){return this.eddsa.decodeInt(this.privBytes())})),c(a,&quot;hash&quot;,(function(){return this.eddsa.hash().update(this.secret()).digest()})),c(a,&quot;messagePrefix&quot;,(function(){return this.hash().slice(this.eddsa.encodingLength)})),a.prototype.sign=function(d){return o(this._secret,&quot;KeyPair can only verify&quot;),this.eddsa.sign(d,this)},a.prototype.verify=function(d,f){return this.eddsa.verify(d,f,this)},a.prototype.getSecret=function(d){return o(this._secret,&quot;KeyPair is public only&quot;),i.encode(this.secret(),d)},a.prototype.getPublic=function(d){return i.encode(this.pubBytes(),d)},n.exports=a},{&quot;../utils&quot;:419}],417:[function(t,n,l){var i=t(&quot;bn.js&quot;),o=t(&quot;../utils&quot;),u=o.assert,c=o.cachedProperty,a=o.parseBytes;function d(f,h){this.eddsa=f,typeof h!=&quot;object&quot;&amp;&amp;(h=a(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}c(d,&quot;S&quot;,(function(){return this.eddsa.decodeInt(this.Sencoded())})),c(d,&quot;R&quot;,(function(){return this.eddsa.decodePoint(this.Rencoded())})),c(d,&quot;Rencoded&quot;,(function(){return this.eddsa.encodePoint(this.R())})),c(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 o.encode(this.toBytes(),&quot;hex&quot;).toUpperCase()},n.exports=d},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],418:[function(t,n,l){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,l){var i=l,o=t(&quot;bn.js&quot;),u=t(&quot;minimalistic-assert&quot;),c=t(&quot;minimalistic-crypto-utils&quot;);i.assert=u,i.toArray=c.toArray,i.zero2=c.zero2,i.toHex=c.toHex,i.encode=c.encode,i.getNAF=function(a,d,f){var h=new Array(Math.max(a.bitLength(),f)+1);h.fill(0);for(var m=1&lt;&lt;d+1,p=a.clone(),x=0;x&lt;h.length;x++){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[x]=g,p.iushrn(1)}return h},i.getJSF=function(a,d){var f=[[],[]];a=a.clone(),d=d.clone();for(var h,m=0,p=0;a.cmpn(-m)&gt;0||d.cmpn(-p)&gt;0;){var x,g,y=a.andln(3)+m&amp;3,v=d.andln(3)+p&amp;3;y===3&amp;&amp;(y=-1),v===3&amp;&amp;(v=-1),x=(1&amp;y)==0?0:(h=a.andln(7)+m&amp;7)!==3&amp;&amp;h!==5||v!==2?y:-y,f[0].push(x),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===x+1&amp;&amp;(m=1-m),2*p===g+1&amp;&amp;(p=1-p),a.iushrn(1),d.iushrn(1)}return f},i.cachedProperty=function(a,d,f){var h=&quot;_&quot;+d;a.prototype[d]=function(){return this[h]!==void 0?this[h]:this[h]=f.call(this)}},i.parseBytes=function(a){return typeof a==&quot;string&quot;?i.toArray(a,&quot;hex&quot;):a},i.intFromLE=function(a){return new o(a,&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,l){arguments[4][184][0].apply(l,arguments)},{buffer:188,dup:184}],421:[function(t,n,l){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,l){var i=Object.create||function(F){var H=function(){};return H.prototype=F,new H},o=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 c(){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=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._maxListeners=void 0;var a,d=10;try{var f={};Object.defineProperty&amp;&amp;Object.defineProperty(f,&quot;x&quot;,{value:0}),a=f.x===0}catch{a=!1}function h(F){return F._maxListeners===void 0?c.defaultMaxListeners:F._maxListeners}function m(F,H,W){if(H)F.call(W);else for(var q=F.length,K=$(F,q),P=0;P&lt;q;++P)K[P].call(W)}function p(F,H,W,q){if(H)F.call(W,q);else for(var K=F.length,P=$(F,K),L=0;L&lt;K;++L)P[L].call(W,q)}function x(F,H,W,q,K){if(H)F.call(W,q,K);else for(var P=F.length,L=$(F,P),E=0;E&lt;P;++E)L[E].call(W,q,K)}function g(F,H,W,q,K,P){if(H)F.call(W,q,K,P);else for(var L=F.length,E=$(F,L),j=0;j&lt;L;++j)E[j].call(W,q,K,P)}function y(F,H,W,q){if(H)F.apply(W,q);else for(var K=F.length,P=$(F,K),L=0;L&lt;K;++L)P[L].apply(W,q)}function v(F,H,W,q){var K,P,L;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),L=P[H]):(P=F._events=i(null),F._eventsCount=0),L){if(typeof L==&quot;function&quot;?L=P[H]=q?[W,L]:[L,W]:q?L.unshift(W):L.push(W),!L.warned&amp;&amp;(K=h(F))&amp;&amp;K&gt;0&amp;&amp;L.length&gt;K){L.warned=!0;var E=new Error(&quot;Possible EventEmitter memory leak detected. &quot;+L.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=L.length,typeof console==&quot;object&quot;&amp;&amp;console.warn&amp;&amp;console.warn(&quot;%s: %s&quot;,E.name,E.message)}}else L=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 q={fired:!1,wrapFn:void 0,target:F,type:H,listener:W},K=u.call(_,q);return K.listener=W,q.wrapFn=K,K}function M(F,H,W){var q=F._events;if(!q)return[];var K=q[H];return K?typeof K==&quot;function&quot;?W?[K.listener||K]:[K]:W?(function(P){for(var L=new Array(P.length),E=0;E&lt;L.length;++E)L[E]=P[E].listener||P[E];return L})(K):$(K,K.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 $(F,H){for(var W=new Array(H),q=0;q&lt;H;++q)W[q]=F[q];return W}a?Object.defineProperty(c,&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}}):c.defaultMaxListeners=d,c.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},c.prototype.getMaxListeners=function(){return h(this)},c.prototype.emit=function(F){var H,W,q,K,P,L,E=F===&quot;error&quot;;if(L=this._events)E=E&amp;&amp;L.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=L[F]))return!1;var k=typeof W==&quot;function&quot;;switch(q=arguments.length){case 1:m(W,k,this);break;case 2:p(W,k,this,arguments[1]);break;case 3:x(W,k,this,arguments[1],arguments[2]);break;case 4:g(W,k,this,arguments[1],arguments[2],arguments[3]);break;default:for(K=new Array(q-1),P=1;P&lt;q;P++)K[P-1]=arguments[P];y(W,k,this,K)}return!0},c.prototype.addListener=function(F,H){return v(this,F,H,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(F,H){return v(this,F,H,!0)},c.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},c.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},c.prototype.removeListener=function(F,H){var W,q,K,P,L;if(typeof H!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);if(!(q=this._events))return this;if(!(W=q[F]))return this;if(W===H||W.listener===H)--this._eventsCount==0?this._events=i(null):(delete q[F],q.removeListener&amp;&amp;this.emit(&quot;removeListener&quot;,F,W.listener||H));else if(typeof W!=&quot;function&quot;){for(K=-1,P=W.length-1;P&gt;=0;P--)if(W[P]===H||W[P].listener===H){L=W[P].listener,K=P;break}if(K&lt;0)return this;K===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,K),W.length===1&amp;&amp;(q[F]=W[0]),q.removeListener&amp;&amp;this.emit(&quot;removeListener&quot;,F,L||H)}return this},c.prototype.removeAllListeners=function(F){var H,W,q;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 K,P=o(W);for(q=0;q&lt;P.length;++q)(K=P[q])!==&quot;removeListener&quot;&amp;&amp;this.removeAllListeners(K);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(q=H.length-1;q&gt;=0;q--)this.removeListener(F,H[q]);return this},c.prototype.listeners=function(F){return M(this,F,!0)},c.prototype.rawListeners=function(F){return M(this,F,!1)},c.listenerCount=function(F,H){return typeof F.listenerCount==&quot;function&quot;?F.listenerCount(H):T.call(F,H)},c.prototype.listenerCount=T,c.prototype.eventNames=function(){return this._eventsCount&gt;0?Reflect.ownKeys(this._events):[]}},{}],423:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer,o=t(&quot;md5.js&quot;);n.exports=function(u,c,a,d){if(i.isBuffer(u)||(u=i.from(u,&quot;binary&quot;)),c&amp;&amp;(i.isBuffer(c)||(c=i.from(c,&quot;binary&quot;)),c.length!==8))throw new RangeError(&quot;salt should be Buffer with 8 byte length&quot;);for(var f=a/8,h=i.alloc(f),m=i.alloc(d||0),p=i.alloc(0);f&gt;0||d&gt;0;){var x=new o;x.update(p),x.update(u),c&amp;&amp;x.update(c),p=x.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,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.CsvParserStream=l.ParserOptions=l.parseFile=l.parseStream=l.parseString=l.parse=l.FormatterOptions=l.CsvFormatterStream=l.writeToPath=l.writeToString=l.writeToBuffer=l.writeToStream=l.write=l.format=void 0;var i=t(&quot;@fast-csv/format&quot;);Object.defineProperty(l,&quot;format&quot;,{enumerable:!0,get:function(){return i.format}}),Object.defineProperty(l,&quot;write&quot;,{enumerable:!0,get:function(){return i.write}}),Object.defineProperty(l,&quot;writeToStream&quot;,{enumerable:!0,get:function(){return i.writeToStream}}),Object.defineProperty(l,&quot;writeToBuffer&quot;,{enumerable:!0,get:function(){return i.writeToBuffer}}),Object.defineProperty(l,&quot;writeToString&quot;,{enumerable:!0,get:function(){return i.writeToString}}),Object.defineProperty(l,&quot;writeToPath&quot;,{enumerable:!0,get:function(){return i.writeToPath}}),Object.defineProperty(l,&quot;CsvFormatterStream&quot;,{enumerable:!0,get:function(){return i.CsvFormatterStream}}),Object.defineProperty(l,&quot;FormatterOptions&quot;,{enumerable:!0,get:function(){return i.FormatterOptions}});var o=t(&quot;@fast-csv/parse&quot;);Object.defineProperty(l,&quot;parse&quot;,{enumerable:!0,get:function(){return o.parse}}),Object.defineProperty(l,&quot;parseString&quot;,{enumerable:!0,get:function(){return o.parseString}}),Object.defineProperty(l,&quot;parseStream&quot;,{enumerable:!0,get:function(){return o.parseStream}}),Object.defineProperty(l,&quot;parseFile&quot;,{enumerable:!0,get:function(){return o.parseFile}}),Object.defineProperty(l,&quot;ParserOptions&quot;,{enumerable:!0,get:function(){return o.ParserOptions}}),Object.defineProperty(l,&quot;CsvParserStream&quot;,{enumerable:!0,get:function(){return o.CsvParserStream}})},{&quot;@fast-csv/format&quot;:151,&quot;@fast-csv/parse&quot;:155}],425:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer,o=t(&quot;readable-stream&quot;).Transform;function u(c){o.call(this),this._block=i.allocUnsafe(c),this._blockSize=c,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}t(&quot;inherits&quot;)(u,o),u.prototype._transform=function(c,a,d){var f=null;try{this.update(c,a)}catch(h){f=h}d(f)},u.prototype._flush=function(c){var a=null;try{this.push(this.digest())}catch(d){a=d}c(a)},u.prototype.update=function(c,a){if((function(x,g){if(!i.isBuffer(x)&amp;&amp;typeof x!=&quot;string&quot;)throw new TypeError(g+&quot; must be a string or a buffer&quot;)})(c,&quot;Data&quot;),this._finalized)throw new Error(&quot;Digest already called&quot;);i.isBuffer(c)||(c=i.from(c,a));for(var d=this._block,f=0;this._blockOffset+c.length-f&gt;=this._blockSize;){for(var h=this._blockOffset;h&lt;this._blockSize;)d[h++]=c[f++];this._update(),this._blockOffset=0}for(;f&lt;c.length;)d[this._blockOffset++]=c[f++];for(var m=0,p=8*c.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(c){if(this._finalized)throw new Error(&quot;Digest already called&quot;);this._finalized=!0;var a=this._digest();c!==void 0&amp;&amp;(a=a.toString(c)),this._block.fill(0),this._blockOffset=0;for(var d=0;d&lt;4;++d)this._length[d]=0;return a},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,l){var i=l;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,l){var i=t(&quot;./utils&quot;),o=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}l.BlockHash=u,u.prototype.update=function(c,a){if(c=i.toArray(c,a),this.pending?this.pending=this.pending.concat(c):this.pending=c,this.pendingTotal+=c.length,this.pending.length&gt;=this._delta8){var d=(c=this.pending).length%this._delta8;this.pending=c.slice(c.length-d,c.length),this.pending.length===0&amp;&amp;(this.pending=null),c=i.join32(c,0,c.length-d,this.endian);for(var f=0;f&lt;c.length;f+=this._delta32)this._update(c,f,f+this._delta32)}return this},u.prototype.digest=function(c){return this.update(this._pad()),o(this.pending===null),this._digest(c)},u.prototype._pad=function(){var c=this.pendingTotal,a=this._delta8,d=a-(c+this.padLength)%a,f=new Array(d+this.padLength);f[0]=128;for(var h=1;h&lt;d;h++)f[h]=0;if(c&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++]=c&gt;&gt;&gt;24&amp;255,f[h++]=c&gt;&gt;&gt;16&amp;255,f[h++]=c&gt;&gt;&gt;8&amp;255,f[h++]=255&amp;c}else for(f[h++]=255&amp;c,f[h++]=c&gt;&gt;&gt;8&amp;255,f[h++]=c&gt;&gt;&gt;16&amp;255,f[h++]=c&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,l){var i=t(&quot;./utils&quot;),o=t(&quot;minimalistic-assert&quot;);function u(c,a,d){if(!(this instanceof u))return new u(c,a,d);this.Hash=c,this.blockSize=c.blockSize/8,this.outSize=c.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(a,d))}n.exports=u,u.prototype._init=function(c){c.length&gt;this.blockSize&amp;&amp;(c=new this.Hash().update(c).digest()),o(c.length&lt;=this.blockSize);for(var a=c.length;a&lt;this.blockSize;a++)c.push(0);for(a=0;a&lt;c.length;a++)c[a]^=54;for(this.inner=new this.Hash().update(c),a=0;a&lt;c.length;a++)c[a]^=106;this.outer=new this.Hash().update(c)},u.prototype.update=function(c,a){return this.inner.update(c,a),this},u.prototype.digest=function(c){return this.outer.update(this.inner.digest()),this.outer.digest(c)}},{&quot;./utils&quot;:437,&quot;minimalistic-assert&quot;:453}],429:[function(t,n,l){var i=t(&quot;./utils&quot;),o=t(&quot;./common&quot;),u=i.rotl32,c=i.sum32,a=i.sum32_3,d=i.sum32_4,f=o.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,M,T,$){return C&lt;=15?M^T^$:C&lt;=31?M&amp;T|~M&amp;$:C&lt;=47?(M|~T)^$:C&lt;=63?M&amp;$|T&amp;~$:M^(T|~$)}function p(C){return C&lt;=15?0:C&lt;=31?1518500249:C&lt;=47?1859775393:C&lt;=63?2400959708:2840853838}function x(C){return C&lt;=15?1352829926:C&lt;=31?1548603684:C&lt;=47?1836072691:C&lt;=63?2053994217:0}i.inherits(h,f),l.ripemd160=h,h.blockSize=512,h.outSize=160,h.hmacStrength=192,h.padLength=64,h.prototype._update=function(C,M){for(var T=this.h[0],$=this.h[1],F=this.h[2],H=this.h[3],W=this.h[4],q=T,K=$,P=F,L=H,E=W,j=0;j&lt;80;j++){var k=c(u(d(T,m(j,$,F,H),C[g[j]+M],p(j)),v[j]),W);T=W,W=H,H=u(F,10),F=$,$=k,k=c(u(d(q,m(79-j,K,P,L),C[y[j]+M],x(j)),_[j]),E),q=E,E=L,L=u(P,10),P=K,K=k}k=a(this.h[1],F,L),this.h[1]=a(this.h[2],H,E),this.h[2]=a(this.h[3],W,q),this.h[3]=a(this.h[4],T,K),this.h[4]=a(this.h[0],$,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,l){l.sha1=t(&quot;./sha/1&quot;),l.sha224=t(&quot;./sha/224&quot;),l.sha256=t(&quot;./sha/256&quot;),l.sha384=t(&quot;./sha/384&quot;),l.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,l){var i=t(&quot;../utils&quot;),o=t(&quot;../common&quot;),u=t(&quot;./common&quot;),c=i.rotl32,a=i.sum32,d=i.sum32_5,f=u.ft_1,h=o.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(x,g){for(var y=this.W,v=0;v&lt;16;v++)y[v]=x[g+v];for(;v&lt;y.length;v++)y[v]=c(y[v-3]^y[v-8]^y[v-14]^y[v-16],1);var _=this.h[0],C=this.h[1],M=this.h[2],T=this.h[3],$=this.h[4];for(v=0;v&lt;y.length;v++){var F=~~(v/20),H=d(c(_,5),f(F,C,M,T),$,y[v],m[F]);$=T,T=M,M=c(C,30),C=_,_=H}this.h[0]=a(this.h[0],_),this.h[1]=a(this.h[1],C),this.h[2]=a(this.h[2],M),this.h[3]=a(this.h[3],T),this.h[4]=a(this.h[4],$)},p.prototype._digest=function(x){return x===&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,l){var i=t(&quot;../utils&quot;),o=t(&quot;./256&quot;);function u(){if(!(this instanceof u))return new u;o.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}i.inherits(u,o),n.exports=u,u.blockSize=512,u.outSize=224,u.hmacStrength=192,u.padLength=64,u.prototype._digest=function(c){return c===&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,l){var i=t(&quot;../utils&quot;),o=t(&quot;../common&quot;),u=t(&quot;./common&quot;),c=t(&quot;minimalistic-assert&quot;),a=i.sum32,d=i.sum32_4,f=i.sum32_5,h=u.ch32,m=u.maj32,p=u.s0_256,x=u.s1_256,g=u.g0_256,y=u.g1_256,v=o.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(M,T){for(var $=this.W,F=0;F&lt;16;F++)$[F]=M[T+F];for(;F&lt;$.length;F++)$[F]=d(y($[F-2]),$[F-7],g($[F-15]),$[F-16]);var H=this.h[0],W=this.h[1],q=this.h[2],K=this.h[3],P=this.h[4],L=this.h[5],E=this.h[6],j=this.h[7];for(c(this.k.length===$.length),F=0;F&lt;$.length;F++){var k=f(j,x(P),h(P,L,E),this.k[F],$[F]),S=a(p(H),m(H,W,q));j=E,E=L,L=P,P=a(K,k),K=q,q=W,W=H,H=a(k,S)}this.h[0]=a(this.h[0],H),this.h[1]=a(this.h[1],W),this.h[2]=a(this.h[2],q),this.h[3]=a(this.h[3],K),this.h[4]=a(this.h[4],P),this.h[5]=a(this.h[5],L),this.h[6]=a(this.h[6],E),this.h[7]=a(this.h[7],j)},C.prototype._digest=function(M){return M===&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,l){var i=t(&quot;../utils&quot;),o=t(&quot;./512&quot;);function u(){if(!(this instanceof u))return new u;o.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}i.inherits(u,o),n.exports=u,u.blockSize=1024,u.outSize=384,u.hmacStrength=192,u.padLength=128,u.prototype._digest=function(c){return c===&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,l){var i=t(&quot;../utils&quot;),o=t(&quot;../common&quot;),u=t(&quot;minimalistic-assert&quot;),c=i.rotr64_hi,a=i.rotr64_lo,d=i.shr64_hi,f=i.shr64_lo,h=i.sum64,m=i.sum64_hi,p=i.sum64_lo,x=i.sum64_4_hi,g=i.sum64_4_lo,y=i.sum64_5_hi,v=i.sum64_5_lo,_=o.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 M(){if(!(this instanceof M))return new M;_.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,O,D,B){var Y=S&amp;O^~S&amp;B;return Y&lt;0&amp;&amp;(Y+=4294967296),Y}function $(S,N,O,D,B,Y){var Z=N&amp;D^~N&amp;Y;return Z&lt;0&amp;&amp;(Z+=4294967296),Z}function F(S,N,O,D,B){var Y=S&amp;O^S&amp;B^O&amp;B;return Y&lt;0&amp;&amp;(Y+=4294967296),Y}function H(S,N,O,D,B,Y){var Z=N&amp;D^N&amp;Y^D&amp;Y;return Z&lt;0&amp;&amp;(Z+=4294967296),Z}function W(S,N){var O=c(S,N,28)^c(N,S,2)^c(N,S,7);return O&lt;0&amp;&amp;(O+=4294967296),O}function q(S,N){var O=a(S,N,28)^a(N,S,2)^a(N,S,7);return O&lt;0&amp;&amp;(O+=4294967296),O}function K(S,N){var O=c(S,N,14)^c(S,N,18)^c(N,S,9);return O&lt;0&amp;&amp;(O+=4294967296),O}function P(S,N){var O=a(S,N,14)^a(S,N,18)^a(N,S,9);return O&lt;0&amp;&amp;(O+=4294967296),O}function L(S,N){var O=c(S,N,1)^c(S,N,8)^d(S,N,7);return O&lt;0&amp;&amp;(O+=4294967296),O}function E(S,N){var O=a(S,N,1)^a(S,N,8)^f(S,N,7);return O&lt;0&amp;&amp;(O+=4294967296),O}function j(S,N){var O=c(S,N,19)^c(N,S,29)^d(S,N,6);return O&lt;0&amp;&amp;(O+=4294967296),O}function k(S,N){var O=a(S,N,19)^a(N,S,29)^f(S,N,6);return O&lt;0&amp;&amp;(O+=4294967296),O}i.inherits(M,_),n.exports=M,M.blockSize=1024,M.outSize=512,M.hmacStrength=192,M.padLength=128,M.prototype._prepareBlock=function(S,N){for(var O=this.W,D=0;D&lt;32;D++)O[D]=S[N+D];for(;D&lt;O.length;D+=2){var B=j(O[D-4],O[D-3]),Y=k(O[D-4],O[D-3]),Z=O[D-14],ne=O[D-13],V=L(O[D-30],O[D-29]),ee=E(O[D-30],O[D-29]),z=O[D-32],R=O[D-31];O[D]=x(B,Y,Z,ne,V,ee,z,R),O[D+1]=g(B,Y,Z,ne,V,ee,z,R)}},M.prototype._update=function(S,N){this._prepareBlock(S,N);var O=this.W,D=this.h[0],B=this.h[1],Y=this.h[2],Z=this.h[3],ne=this.h[4],V=this.h[5],ee=this.h[6],z=this.h[7],R=this.h[8],X=this.h[9],re=this.h[10],Q=this.h[11],te=this.h[12],se=this.h[13],de=this.h[14],ce=this.h[15];u(this.k.length===O.length);for(var ie=0;ie&lt;O.length;ie+=2){var fe=de,oe=ce,ge=K(R,X),xe=P(R,X),pe=T(R,X,re,Q,te),ue=$(R,X,re,Q,te,se),we=this.k[ie],ke=this.k[ie+1],Te=O[ie],je=O[ie+1],De=y(fe,oe,ge,xe,pe,ue,we,ke,Te,je),Xe=v(fe,oe,ge,xe,pe,ue,we,ke,Te,je);fe=W(D,B),oe=q(D,B),ge=F(D,B,Y,Z,ne),xe=H(D,B,Y,Z,ne,V);var Ve=m(fe,oe,ge,xe),et=p(fe,oe,ge,xe);de=te,ce=se,te=re,se=Q,re=R,Q=X,R=m(ee,z,De,Xe),X=p(z,z,De,Xe),ee=ne,z=V,ne=Y,V=Z,Y=D,Z=B,D=m(De,Xe,Ve,et),B=p(De,Xe,Ve,et)}h(this.h,0,D,B),h(this.h,2,Y,Z),h(this.h,4,ne,V),h(this.h,6,ee,z),h(this.h,8,R,X),h(this.h,10,re,Q),h(this.h,12,te,se),h(this.h,14,de,ce)},M.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,l){var i=t(&quot;../utils&quot;).rotr32;function o(a,d,f){return a&amp;d^~a&amp;f}function u(a,d,f){return a&amp;d^a&amp;f^d&amp;f}function c(a,d,f){return a^d^f}l.ft_1=function(a,d,f,h){return a===0?o(d,f,h):a===1||a===3?c(d,f,h):a===2?u(d,f,h):void 0},l.ch32=o,l.maj32=u,l.p32=c,l.s0_256=function(a){return i(a,2)^i(a,13)^i(a,22)},l.s1_256=function(a){return i(a,6)^i(a,11)^i(a,25)},l.g0_256=function(a){return i(a,7)^i(a,18)^a&gt;&gt;&gt;3},l.g1_256=function(a){return i(a,17)^i(a,19)^a&gt;&gt;&gt;10}},{&quot;../utils&quot;:437}],437:[function(t,n,l){var i=t(&quot;minimalistic-assert&quot;),o=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 c(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 a(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}l.inherits=o,l.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),x=0;x&lt;f.length;x+=2)m.push(parseInt(f[x]+f[x+1],16))}else for(var p=0,x=0;x&lt;f.length;x++){var g=f.charCodeAt(x);g&lt;128?m[p++]=g:g&lt;2048?(m[p++]=g&gt;&gt;6|192,m[p++]=63&amp;g|128):u(f,x)?(g=65536+((1023&amp;g)&lt;&lt;10)+(1023&amp;f.charCodeAt(++x)),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(x=0;x&lt;f.length;x++)m[x]=0|f[x];return m},l.toHex=function(f){for(var h=&quot;&quot;,m=0;m&lt;f.length;m++)h+=a(f[m].toString(16));return h},l.htonl=c,l.toHex32=function(f,h){for(var m=&quot;&quot;,p=0;p&lt;f.length;p++){var x=f[p];h===&quot;little&quot;&amp;&amp;(x=c(x)),m+=d(x.toString(16))}return m},l.zero2=a,l.zero8=d,l.join32=function(f,h,m,p){var x=m-h;i(x%4==0);for(var g=new Array(x/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},l.split32=function(f,h){for(var m=new Array(4*f.length),p=0,x=0;p&lt;f.length;p++,x+=4){var g=f[p];h===&quot;big&quot;?(m[x]=g&gt;&gt;&gt;24,m[x+1]=g&gt;&gt;&gt;16&amp;255,m[x+2]=g&gt;&gt;&gt;8&amp;255,m[x+3]=255&amp;g):(m[x+3]=g&gt;&gt;&gt;24,m[x+2]=g&gt;&gt;&gt;16&amp;255,m[x+1]=g&gt;&gt;&gt;8&amp;255,m[x]=255&amp;g)}return m},l.rotr32=function(f,h){return f&gt;&gt;&gt;h|f&lt;&lt;32-h},l.rotl32=function(f,h){return f&lt;&lt;h|f&gt;&gt;&gt;32-h},l.sum32=function(f,h){return f+h&gt;&gt;&gt;0},l.sum32_3=function(f,h,m){return f+h+m&gt;&gt;&gt;0},l.sum32_4=function(f,h,m,p){return f+h+m+p&gt;&gt;&gt;0},l.sum32_5=function(f,h,m,p,x){return f+h+m+p+x&gt;&gt;&gt;0},l.sum64=function(f,h,m,p){var x=f[h],g=p+f[h+1]&gt;&gt;&gt;0,y=(g&lt;p?1:0)+m+x;f[h]=y&gt;&gt;&gt;0,f[h+1]=g},l.sum64_hi=function(f,h,m,p){return(h+p&gt;&gt;&gt;0&lt;h?1:0)+f+m&gt;&gt;&gt;0},l.sum64_lo=function(f,h,m,p){return h+p&gt;&gt;&gt;0},l.sum64_4_hi=function(f,h,m,p,x,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+x+y+(_+=(C=C+v&gt;&gt;&gt;0)&lt;v?1:0)&gt;&gt;&gt;0},l.sum64_4_lo=function(f,h,m,p,x,g,y,v){return h+p+g+v&gt;&gt;&gt;0},l.sum64_5_hi=function(f,h,m,p,x,g,y,v,_,C){var M=0,T=h;return M+=(T=T+p&gt;&gt;&gt;0)&lt;h?1:0,M+=(T=T+g&gt;&gt;&gt;0)&lt;g?1:0,M+=(T=T+v&gt;&gt;&gt;0)&lt;v?1:0,f+m+x+y+_+(M+=(T=T+C&gt;&gt;&gt;0)&lt;C?1:0)&gt;&gt;&gt;0},l.sum64_5_lo=function(f,h,m,p,x,g,y,v,_,C){return h+p+g+v+C&gt;&gt;&gt;0},l.rotr64_hi=function(f,h,m){return(h&lt;&lt;32-m|f&gt;&gt;&gt;m)&gt;&gt;&gt;0},l.rotr64_lo=function(f,h,m){return(f&lt;&lt;32-m|h&gt;&gt;&gt;m)&gt;&gt;&gt;0},l.shr64_hi=function(f,h,m){return f&gt;&gt;&gt;m},l.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,l){var i=t(&quot;hash.js&quot;),o=t(&quot;minimalistic-crypto-utils&quot;),u=t(&quot;minimalistic-assert&quot;);function c(a){if(!(this instanceof c))return new c(a);this.hash=a.hash,this.predResist=!!a.predResist,this.outLen=this.hash.outSize,this.minEntropy=a.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var d=o.toArray(a.entropy,a.entropyEnc||&quot;hex&quot;),f=o.toArray(a.nonce,a.nonceEnc||&quot;hex&quot;),h=o.toArray(a.pers,a.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=c,c.prototype._init=function(a,d,f){var h=a.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},c.prototype._hmac=function(){return new i.hmac(this.hash,this.K)},c.prototype._update=function(a){var d=this._hmac().update(this.V).update([0]);a&amp;&amp;(d=d.update(a)),this.K=d.digest(),this.V=this._hmac().update(this.V).digest(),a&amp;&amp;(this.K=this._hmac().update(this.V).update([1]).update(a).digest(),this.V=this._hmac().update(this.V).digest())},c.prototype.reseed=function(a,d,f,h){typeof d!=&quot;string&quot;&amp;&amp;(h=f,f=d,d=null),a=o.toArray(a,d),f=o.toArray(f,h),u(a.length&gt;=this.minEntropy/8,&quot;Not enough entropy. Minimum is: &quot;+this.minEntropy+&quot; bits&quot;),this._update(a.concat(f||[])),this._reseed=1},c.prototype.generate=function(a,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=o.toArray(f,h||&quot;hex&quot;),this._update(f));for(var m=[];m.length&lt;a;)this.V=this._hmac().update(this.V).digest(),m=m.concat(this.V);var p=m.slice(0,a);return this._update(f),this._reseed++,o.encode(p,d)}},{&quot;hash.js&quot;:426,&quot;minimalistic-assert&quot;:453,&quot;minimalistic-crypto-utils&quot;:454}],439:[function(t,n,l){l.read=function(i,o,u,c,a){var d,f,h=8*a-c-1,m=(1&lt;&lt;h)-1,p=m&gt;&gt;1,x=-7,g=u?a-1:0,y=u?-1:1,v=i[o+g];for(g+=y,d=v&amp;(1&lt;&lt;-x)-1,v&gt;&gt;=-x,x+=h;x&gt;0;d=256*d+i[o+g],g+=y,x-=8);for(f=d&amp;(1&lt;&lt;-x)-1,d&gt;&gt;=-x,x+=c;x&gt;0;f=256*f+i[o+g],g+=y,x-=8);if(d===0)d=1-p;else{if(d===m)return f?NaN:1/0*(v?-1:1);f+=Math.pow(2,c),d-=p}return(v?-1:1)*f*Math.pow(2,d-c)},l.write=function(i,o,u,c,a,d){var f,h,m,p=8*d-a-1,x=(1&lt;&lt;p)-1,g=x&gt;&gt;1,y=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=c?0:d-1,_=c?1:-1,C=o&lt;0||o===0&amp;&amp;1/o&lt;0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(h=isNaN(o)?1:0,f=x):(f=Math.floor(Math.log(o)/Math.LN2),o*(m=Math.pow(2,-f))&lt;1&amp;&amp;(f--,m*=2),(o+=f+g&gt;=1?y/m:y*Math.pow(2,1-g))*m&gt;=2&amp;&amp;(f++,m/=2),f+g&gt;=x?(h=0,f=x):f+g&gt;=1?(h=(o*m-1)*Math.pow(2,a),f+=g):(h=o*Math.pow(2,g-1)*Math.pow(2,a),f=0));a&gt;=8;i[u+v]=255&amp;h,v+=_,h/=256,a-=8);for(f=f&lt;&lt;a|h,p+=a;p&gt;0;i[u+v]=255&amp;f,v+=_,f/=256,p-=8);i[u+v-_]|=128*C}},{}],440:[function(t,n,l){typeof Object.create==&quot;function&quot;?n.exports=function(i,o){o&amp;&amp;(i.super_=o,i.prototype=Object.create(o.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}))}:n.exports=function(i,o){if(o){i.super_=o;var u=function(){};u.prototype=o.prototype,i.prototype=new u,i.prototype.constructor=i}}},{}],441:[function(t,n,l){(function(i,o,u,c,a,d,f,h){(function(){(function(m){typeof l==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=m():(typeof window&lt;&quot;u&quot;?window:o!==void 0?o:typeof self&lt;&quot;u&quot;?self:this).JSZip=m()})((function(){return(function m(p,x,g){function y(C,M){if(!x[C]){if(!p[C]){var T=typeof t==&quot;function&quot;&amp;&amp;t;if(!M&amp;&amp;T)return T(C,!0);if(v)return v(C,!0);var $=new Error(&quot;Cannot find module &#039;&quot;+C+&quot;&#039;&quot;);throw $.code=&quot;MODULE_NOT_FOUND&quot;,$}var F=x[C]={exports:{}};p[C][0].call(F.exports,(function(H){return y(p[C][1][H]||H)}),F,F.exports,m,p,x,g)}return x[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,x){var g=m(&quot;./utils&quot;),y=m(&quot;./support&quot;),v=&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=&quot;;x.encode=function(_){for(var C,M,T,$,F,H,W,q=[],K=0,P=_.length,L=P,E=g.getTypeOf(_)!==&quot;string&quot;;K&lt;_.length;)L=P-K,T=E?(C=_[K++],M=K&lt;P?_[K++]:0,K&lt;P?_[K++]:0):(C=_.charCodeAt(K++),M=K&lt;P?_.charCodeAt(K++):0,K&lt;P?_.charCodeAt(K++):0),$=C&gt;&gt;2,F=(3&amp;C)&lt;&lt;4|M&gt;&gt;4,H=1&lt;L?(15&amp;M)&lt;&lt;2|T&gt;&gt;6:64,W=2&lt;L?63&amp;T:64,q.push(v.charAt($)+v.charAt(F)+v.charAt(H)+v.charAt(W));return q.join(&quot;&quot;)},x.decode=function(_){var C,M,T,$,F,H,W=0,q=0,K=&quot;data:&quot;;if(_.substr(0,K.length)===K)throw new Error(&quot;Invalid base64 input, it looks like a data url.&quot;);var P,L=3*(_=_.replace(/[^A-Za-z0-9+/=]/g,&quot;&quot;)).length/4;if(_.charAt(_.length-1)===v.charAt(64)&amp;&amp;L--,_.charAt(_.length-2)===v.charAt(64)&amp;&amp;L--,L%1!=0)throw new Error(&quot;Invalid base64 input, bad content length.&quot;);for(P=y.uint8array?new Uint8Array(0|L):new Array(0|L);W&lt;_.length;)C=v.indexOf(_.charAt(W++))&lt;&lt;2|($=v.indexOf(_.charAt(W++)))&gt;&gt;4,M=(15&amp;$)&lt;&lt;4|(F=v.indexOf(_.charAt(W++)))&gt;&gt;2,T=(3&amp;F)&lt;&lt;6|(H=v.indexOf(_.charAt(W++))),P[q++]=C,F!==64&amp;&amp;(P[q++]=M),H!==64&amp;&amp;(P[q++]=T);return P}},{&quot;./support&quot;:30,&quot;./utils&quot;:32}],2:[function(m,p,x){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(M,T,$,F,H){this.compressedSize=M,this.uncompressedSize=T,this.crc32=$,this.compression=F,this.compressedContent=H}C.prototype={getContentWorker:function(){var M=new y(g.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new _(&quot;data_length&quot;)),T=this;return M.on(&quot;end&quot;,(function(){if(this.streamInfo.data_length!==T.uncompressedSize)throw new Error(&quot;Bug : uncompressed data size mismatch&quot;)})),M},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(M,T,$){return M.pipe(new v).pipe(new _(&quot;uncompressedSize&quot;)).pipe(T.compressWorker($)).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,x){var g=m(&quot;./stream/GenericWorker&quot;);x.STORE={magic:&quot;\0\0&quot;,compressWorker:function(){return new g(&quot;STORE compression&quot;)},uncompressWorker:function(){return new g(&quot;STORE decompression&quot;)}},x.DEFLATE=m(&quot;./flate&quot;)},{&quot;./flate&quot;:7,&quot;./stream/GenericWorker&quot;:28}],4:[function(m,p,x){var g=m(&quot;./utils&quot;),y=(function(){for(var v,_=[],C=0;C&lt;256;C++){v=C;for(var M=0;M&lt;8;M++)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,M,T,$){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^M[W])];return-1^C})(0|_,v,v.length):(function(C,M,T,$){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^M.charCodeAt(W))];return-1^C})(0|_,v,v.length):0}},{&quot;./utils&quot;:32}],5:[function(m,p,x){x.base64=!1,x.binary=!1,x.dir=!1,x.createFolders=!0,x.date=null,x.compression=null,x.compressionOptions=null,x.comment=null,x.unixPermissions=null,x.dosPermissions=null},{}],6:[function(m,p,x){var g;g=typeof Promise&lt;&quot;u&quot;?Promise:m(&quot;lie&quot;),p.exports={Promise:g}},{lie:37}],7:[function(m,p,x){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 M(T,$){_.call(this,&quot;FlateWorker/&quot;+T),this._pako=null,this._pakoAction=T,this._pakoOptions=$,this.meta={}}x.magic=&quot;\b\0&quot;,v.inherits(M,_),M.prototype.processChunk=function(T){this.meta=T.meta,this._pako===null&amp;&amp;this._createPako(),this._pako.push(v.transformTo(C,T.data),!1)},M.prototype.flush=function(){_.prototype.flush.call(this),this._pako===null&amp;&amp;this._createPako(),this._pako.push([],!0)},M.prototype.cleanUp=function(){_.prototype.cleanUp.call(this),this._pako=null},M.prototype._createPako=function(){this._pako=new y[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var T=this;this._pako.onData=function($){T.push({data:$,meta:T.meta})}},x.compressWorker=function(T){return new M(&quot;Deflate&quot;,T)},x.uncompressWorker=function(){return new M(&quot;Inflate&quot;,{})}},{&quot;./stream/GenericWorker&quot;:28,&quot;./utils&quot;:32,pako:38}],8:[function(m,p,x){function g(F,H){var W,q=&quot;&quot;;for(W=0;W&lt;H;W++)q+=String.fromCharCode(255&amp;F),F&gt;&gt;&gt;=8;return q}function y(F,H,W,q,K,P){var L,E,j=F.file,k=F.compression,S=P!==C.utf8encode,N=v.transformTo(&quot;string&quot;,P(j.name)),O=v.transformTo(&quot;string&quot;,C.utf8encode(j.name)),D=j.comment,B=v.transformTo(&quot;string&quot;,P(D)),Y=v.transformTo(&quot;string&quot;,C.utf8encode(D)),Z=O.length!==j.name.length,ne=Y.length!==D.length,V=&quot;&quot;,ee=&quot;&quot;,z=&quot;&quot;,R=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 Q=0;H&amp;&amp;(Q|=8),S||!Z&amp;&amp;!ne||(Q|=2048);var te=0,se=0;R&amp;&amp;(te|=16),K===&quot;UNIX&quot;?(se=798,te|=(function(ce,ie){var fe=ce;return ce||(fe=ie?16893:33204),(65535&amp;fe)&lt;&lt;16})(j.unixPermissions,R)):(se=20,te|=(function(ce){return 63&amp;(ce||0)})(j.dosPermissions)),L=X.getUTCHours(),L&lt;&lt;=6,L|=X.getUTCMinutes(),L&lt;&lt;=5,L|=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(M(N),4)+O,V+=&quot;up&quot;+g(ee.length,2)+ee),ne&amp;&amp;(z=g(1,1)+g(M(B),4)+Y,V+=&quot;uc&quot;+g(z.length,2)+z);var de=&quot;&quot;;return de+=`
\0`,de+=g(Q,2),de+=k.magic,de+=g(L,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(V.length,2),{fileRecord:T.LOCAL_FILE_HEADER+de+N+V,dirRecord:T.CENTRAL_FILE_HEADER+g(se,2)+de+g(B.length,2)+&quot;\0\0\0\0&quot;+g(te,4)+g(q,4)+N+V+B}}var v=m(&quot;../utils&quot;),_=m(&quot;../stream/GenericWorker&quot;),C=m(&quot;../utf8&quot;),M=m(&quot;../crc32&quot;),T=m(&quot;../signature&quot;);function $(F,H,W,q){_.call(this,&quot;ZipFileWorker&quot;),this.bytesWritten=0,this.zipComment=H,this.zipPlatform=W,this.encodeFileName=q,this.streamFiles=F,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}v.inherits($,_),$.prototype.push=function(F){var H=F.meta.percent||0,W=this.entriesCount,q=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-q-1))/W:100}}))},$.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},$.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(q){return T.DATA_DESCRIPTOR+g(q.crc32,4)+g(q.compressedSize,4)+g(q.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},$.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,q=(function(K,P,L,E,j){var k=v.transformTo(&quot;string&quot;,j(E));return T.CENTRAL_DIRECTORY_END+&quot;\0\0\0\0&quot;+g(K,2)+g(K,2)+g(P,4)+g(L,4)+g(k.length,2)+k})(this.dirRecords.length,W,F,this.zipComment,this.encodeFileName);this.push({data:q,meta:{percent:100}})},$.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},$.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},$.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))},$.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},$.prototype.lock=function(){_.prototype.lock.call(this);for(var F=this._sources,H=0;H&lt;F.length;H++)F[H].lock()},p.exports=$},{&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,x){var g=m(&quot;../compressions&quot;),y=m(&quot;./ZipFileWorker&quot;);x.generateWorker=function(v,_,C){var M=new y(_.streamFiles,C,_.platform,_.encodeFileName),T=0;try{v.forEach((function($,F){T++;var H=(function(P,L){var E=P||L,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||{},q=F.dir,K=F.date;F._compressWorker(H,W).withStreamInfo(&quot;file&quot;,{name:$,dir:q,date:K,comment:F.comment||&quot;&quot;,unixPermissions:F.unixPermissions,dosPermissions:F.dosPermissions}).pipe(M)})),M.entriesCount=T}catch($){M.error($)}return M}},{&quot;../compressions&quot;:3,&quot;./ZipFileWorker&quot;:8}],10:[function(m,p,x){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,x){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;),M=m(&quot;./nodejsUtils&quot;);function T($){return new y.Promise((function(F,H){var W=$.decompressed.getContentWorker().pipe(new C);W.on(&quot;error&quot;,(function(q){H(q)})).on(&quot;end&quot;,(function(){W.streamInfo.crc32!==$.decompressed.crc32?H(new Error(&quot;Corrupted zip : CRC32 mismatch&quot;)):F()})).resume()}))}p.exports=function($,F){var H=this;return F=g.extend(F||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:v.utf8decode}),M.isNode&amp;&amp;M.isStream($)?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;,$,!0,F.optimizedBinaryString,F.base64).then((function(W){var q=new _(F);return q.load(W),q})).then((function(W){var q=[y.Promise.resolve(W)],K=W.files;if(F.checkCRC32)for(var P=0;P&lt;K.length;P++)q.push(T(K[P]));return y.Promise.all(q)})).then((function(W){for(var q=W.shift(),K=q.files,P=0;P&lt;K.length;P++){var L=K[P],E=L.fileNameStr,j=g.resolve(L.fileNameStr);H.file(j,L.decompressed,{binary:!0,optimizedBinaryString:!0,date:L.date,dir:L.dir,comment:L.fileCommentStr.length?L.fileCommentStr:null,unixPermissions:L.unixPermissions,dosPermissions:L.dosPermissions,createFolders:F.createFolders}),L.dir||(H.file(j).unsafeOriginalName=E)}return q.zipComment.length&amp;&amp;(H.comment=q.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,x){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(M){C.push({data:M,meta:{percent:0}})})).on(&quot;error&quot;,(function(M){C.isPaused?this.generatedError=M:C.error(M)})).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,x){var g=m(&quot;readable-stream&quot;).Readable;function y(v,_,C){g.call(this,_),this._helper=v;var M=this;v.on(&quot;data&quot;,(function(T,$){M.push(T)||M._helper.pause(),C&amp;&amp;C($)})).on(&quot;error&quot;,(function(T){M.emit(&quot;error&quot;,T)})).on(&quot;end&quot;,(function(){M.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,x){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,x){function g(j,k,S){var N,O=v.getTypeOf(k),D=v.extend(S||{},M);D.date=D.date||new Date,D.compression!==null&amp;&amp;(D.compression=D.compression.toUpperCase()),typeof D.unixPermissions==&quot;string&quot;&amp;&amp;(D.unixPermissions=parseInt(D.unixPermissions,8)),D.unixPermissions&amp;&amp;16384&amp;D.unixPermissions&amp;&amp;(D.dir=!0),D.dosPermissions&amp;&amp;16&amp;D.dosPermissions&amp;&amp;(D.dir=!0),D.dir&amp;&amp;(j=K(j)),D.createFolders&amp;&amp;(N=q(j))&amp;&amp;P.call(this,N,!0);var B=O===&quot;string&quot;&amp;&amp;D.binary===!1&amp;&amp;D.base64===!1;S&amp;&amp;S.binary!==void 0||(D.binary=!B),(k instanceof T&amp;&amp;k.uncompressedSize===0||D.dir||!k||k.length===0)&amp;&amp;(D.base64=!1,D.binary=!0,k=&quot;&quot;,D.compression=&quot;STORE&quot;,O=&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,D.binary,D.optimizedBinaryString,D.base64);var Z=new $(j,Y,D);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;),M=m(&quot;./defaults&quot;),T=m(&quot;./compressedObject&quot;),$=m(&quot;./zipObject&quot;),F=m(&quot;./generate&quot;),H=m(&quot;./nodejsUtils&quot;),W=m(&quot;./nodejs/NodejsStreamInputAdapter&quot;),q=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;},K=function(j){return j.slice(-1)!==&quot;/&quot;&amp;&amp;(j+=&quot;/&quot;),j},P=function(j,k){return k=k!==void 0?k:M.createFolders,j=K(j),this.files[j]||g.call(this,j,null,{dir:!0,createFolders:k}),this.files[j]};function L(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(L(j)){var N=j;return this.filter((function(D,B){return!B.dir&amp;&amp;N.test(D)}))}var O=this.files[this.root+j];return O&amp;&amp;!O.dir?O:null},folder:function(j){if(!j)return this;if(L(j))return this.filter((function(O,D){return D.dir&amp;&amp;j.test(O)}));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(O,D){return D.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(O){(k=new _(&quot;error&quot;)).error(O)}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,x){p.exports=m(&quot;stream&quot;)},{stream:void 0}],17:[function(m,p,x){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),M=v.charCodeAt(2),T=v.charCodeAt(3),$=this.length-4;0&lt;=$;--$)if(this.data[$]===_&amp;&amp;this.data[$+1]===C&amp;&amp;this.data[$+2]===M&amp;&amp;this.data[$+3]===T)return $-this.zero;return-1},y.prototype.readAndCheckSignature=function(v){var _=v.charCodeAt(0),C=v.charCodeAt(1),M=v.charCodeAt(2),T=v.charCodeAt(3),$=this.readData(4);return _===$[0]&amp;&amp;C===$[1]&amp;&amp;M===$[2]&amp;&amp;T===$[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,x){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,x){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,x){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,x){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,x){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;),M=m(&quot;./Uint8ArrayReader&quot;);p.exports=function(T){var $=g.getTypeOf(T);return g.checkSupport($),$!==&quot;string&quot;||y.uint8array?$===&quot;nodebuffer&quot;?new C(T):y.uint8array?new M(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,x){x.LOCAL_FILE_HEADER=&quot;PK&quot;,x.CENTRAL_FILE_HEADER=&quot;PK&quot;,x.CENTRAL_DIRECTORY_END=&quot;PK&quot;,x.ZIP64_CENTRAL_DIRECTORY_LOCATOR=&quot;PK\x07&quot;,x.ZIP64_CENTRAL_DIRECTORY_END=&quot;PK&quot;,x.DATA_DESCRIPTOR=&quot;PK\x07\b&quot;},{}],24:[function(m,p,x){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,x){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,x){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,x){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(M){C.dataIsReady=!0,C.data=M,C.max=M&amp;&amp;M.length||0,C.type=g.getTypeOf(M),C.isPaused||C._tickAndRepeat()}),(function(M){C.error(M)}))}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,x){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,x){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;),M=m(&quot;../external&quot;),T=null;if(C.nodestream)try{T=m(&quot;../nodejs/NodejsStreamOutputAdapter&quot;)}catch{}function $(F,H,W){var q=H;switch(H){case&quot;blob&quot;:case&quot;arraybuffer&quot;:q=&quot;uint8array&quot;;break;case&quot;base64&quot;:q=&quot;string&quot;}try{this._internalType=q,this._outputType=H,this._mimeType=W,g.checkSupport(q),this._worker=F.pipe(new y(q)),F.lock()}catch(K){this._worker=new v(&quot;error&quot;),this._worker.error(K)}}$.prototype={accumulate:function(F){return(function(H,W){return new M.Promise((function(q,K){var P=[],L=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(k)})).on(&quot;end&quot;,(function(){try{var k=(function(S,N,O){switch(S){case&quot;blob&quot;:return g.newBlob(g.transformTo(&quot;arraybuffer&quot;,N),O);case&quot;base64&quot;:return _.encode(N);default:return g.transformTo(S,N)}})(E,(function(S,N){var O,D=0,B=null,Y=0;for(O=0;O&lt;N.length;O++)Y+=N[O].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),O=0;O&lt;N.length;O++)B.set(N[O],D),D+=N[O].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;)}})(L,P),j);q(k)}catch(S){K(S)}P=[]})).resume()}))})(this,F)},on:function(F,H){var W=this;return F===&quot;data&quot;?this._worker.on(F,(function(q){H.call(W,q.data,q.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=$},{&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,x){if(x.base64=!0,x.array=!0,x.string=!0,x.arraybuffer=typeof ArrayBuffer&lt;&quot;u&quot;&amp;&amp;typeof Uint8Array&lt;&quot;u&quot;,x.nodebuffer=u!==void 0,x.uint8array=typeof Uint8Array&lt;&quot;u&quot;,typeof ArrayBuffer&gt;&quot;u&quot;)x.blob=!1;else{var g=new ArrayBuffer(0);try{x.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),x.blob=y.getBlob(&quot;application/zip&quot;).size===0}catch{x.blob=!1}}}try{x.nodestream=!!m(&quot;readable-stream&quot;).Readable}catch{x.nodestream=!1}},{&quot;readable-stream&quot;:16}],31:[function(m,p,x){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),M=0;M&lt;256;M++)C[M]=252&lt;=M?6:248&lt;=M?5:240&lt;=M?4:224&lt;=M?3:192&lt;=M?2:1;function T(){_.call(this,&quot;utf-8 decode&quot;),this.leftOver=null}function $(){_.call(this,&quot;utf-8 encode&quot;)}C[254]=C[254]=1,x.utf8encode=function(F){return y.nodebuffer?v.newBufferFrom(F,&quot;utf-8&quot;):(function(H){var W,q,K,P,L,E=H.length,j=0;for(P=0;P&lt;E;P++)(64512&amp;(q=H.charCodeAt(P)))==55296&amp;&amp;P+1&lt;E&amp;&amp;(64512&amp;(K=H.charCodeAt(P+1)))==56320&amp;&amp;(q=65536+(q-55296&lt;&lt;10)+(K-56320),P++),j+=q&lt;128?1:q&lt;2048?2:q&lt;65536?3:4;for(W=y.uint8array?new Uint8Array(j):new Array(j),P=L=0;L&lt;j;P++)(64512&amp;(q=H.charCodeAt(P)))==55296&amp;&amp;P+1&lt;E&amp;&amp;(64512&amp;(K=H.charCodeAt(P+1)))==56320&amp;&amp;(q=65536+(q-55296&lt;&lt;10)+(K-56320),P++),q&lt;128?W[L++]=q:(q&lt;2048?W[L++]=192|q&gt;&gt;&gt;6:(q&lt;65536?W[L++]=224|q&gt;&gt;&gt;12:(W[L++]=240|q&gt;&gt;&gt;18,W[L++]=128|q&gt;&gt;&gt;12&amp;63),W[L++]=128|q&gt;&gt;&gt;6&amp;63),W[L++]=128|63&amp;q);return W})(F)},x.utf8decode=function(F){return y.nodebuffer?g.transformTo(&quot;nodebuffer&quot;,F).toString(&quot;utf-8&quot;):(function(H){var W,q,K,P,L=H.length,E=new Array(2*L);for(W=q=0;W&lt;L;)if((K=H[W++])&lt;128)E[q++]=K;else if(4&lt;(P=C[K]))E[q++]=65533,W+=P-1;else{for(K&amp;=P===2?31:P===3?15:7;1&lt;P&amp;&amp;W&lt;L;)K=K&lt;&lt;6|63&amp;H[W++],P--;1&lt;P?E[q++]=65533:K&lt;65536?E[q++]=K:(K-=65536,E[q++]=55296|K&gt;&gt;10&amp;1023,E[q++]=56320|1023&amp;K)}return E.length!==q&amp;&amp;(E.subarray?E=E.subarray(0,q):E.length=q),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 q=(function(P,L){var E;for((L=L||P.length)&gt;P.length&amp;&amp;(L=P.length),E=L-1;0&lt;=E&amp;&amp;(192&amp;P[E])==128;)E--;return E&lt;0||E===0?L:E+C[P[E]]&gt;L?E:L})(H),K=H;q!==H.length&amp;&amp;(y.uint8array?(K=H.subarray(0,q),this.leftOver=H.subarray(q,H.length)):(K=H.slice(0,q),this.leftOver=H.slice(q,H.length))),this.push({data:x.utf8decode(K),meta:F.meta})},T.prototype.flush=function(){this.leftOver&amp;&amp;this.leftOver.length&amp;&amp;(this.push({data:x.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},x.Utf8DecodeWorker=T,g.inherits($,_),$.prototype.processChunk=function(F){this.push({data:x.utf8encode(F.data),meta:F.meta})},x.Utf8EncodeWorker=$},{&quot;./nodejsUtils&quot;:14,&quot;./stream/GenericWorker&quot;:28,&quot;./support&quot;:30,&quot;./utils&quot;:32}],32:[function(m,p,x){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 M(W,q){for(var K=0;K&lt;W.length;++K)q[K]=255&amp;W.charCodeAt(K);return q}m(&quot;setimmediate&quot;),x.newBlob=function(W,q){x.checkSupport(&quot;blob&quot;);try{return new Blob([W],{type:q})}catch{try{var K=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return K.append(W),K.getBlob(q)}catch{throw new Error(&quot;Bug : can&#039;t construct the Blob.&quot;)}}};var T={stringifyByChunk:function(W,q,K){var P=[],L=0,E=W.length;if(E&lt;=K)return String.fromCharCode.apply(null,W);for(;L&lt;E;)q===&quot;array&quot;||q===&quot;nodebuffer&quot;?P.push(String.fromCharCode.apply(null,W.slice(L,Math.min(L+K,E)))):P.push(String.fromCharCode.apply(null,W.subarray(L,Math.min(L+K,E)))),L+=K;return P.join(&quot;&quot;)},stringifyByChar:function(W){for(var q=&quot;&quot;,K=0;K&lt;W.length;K++)q+=String.fromCharCode(W[K]);return q},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 $(W){var q=65536,K=x.getTypeOf(W),P=!0;if(K===&quot;uint8array&quot;?P=T.applyCanBeUsed.uint8array:K===&quot;nodebuffer&quot;&amp;&amp;(P=T.applyCanBeUsed.nodebuffer),P)for(;1&lt;q;)try{return T.stringifyByChunk(W,K,q)}catch{q=Math.floor(q/2)}return T.stringifyByChar(W)}function F(W,q){for(var K=0;K&lt;W.length;K++)q[K]=W[K];return q}x.applyFromCharCode=$;var H={};H.string={string:C,array:function(W){return M(W,new Array(W.length))},arraybuffer:function(W){return H.string.uint8array(W).buffer},uint8array:function(W){return M(W,new Uint8Array(W.length))},nodebuffer:function(W){return M(W,v.allocBuffer(W.length))}},H.array={string:$,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 $(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:$,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:$,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},x.transformTo=function(W,q){if(q=q||&quot;&quot;,!W)return q;x.checkSupport(W);var K=x.getTypeOf(q);return H[K][W](q)},x.resolve=function(W){for(var q=W.split(&quot;/&quot;),K=[],P=0;P&lt;q.length;P++){var L=q[P];L===&quot;.&quot;||L===&quot;&quot;&amp;&amp;P!==0&amp;&amp;P!==q.length-1||(L===&quot;..&quot;?K.pop():K.push(L))}return K.join(&quot;/&quot;)},x.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},x.checkSupport=function(W){if(!g[W.toLowerCase()])throw new Error(W+&quot; is not supported by this platform&quot;)},x.MAX_VALUE_16BITS=65535,x.MAX_VALUE_32BITS=-1,x.pretty=function(W){var q,K,P=&quot;&quot;;for(K=0;K&lt;(W||&quot;&quot;).length;K++)P+=&quot;\\x&quot;+((q=W.charCodeAt(K))&lt;16?&quot;0&quot;:&quot;&quot;)+q.toString(16).toUpperCase();return P},x.delay=function(W,q,K){h((function(){W.apply(K||null,q||[])}))},x.inherits=function(W,q){function K(){}K.prototype=q.prototype,W.prototype=new K},x.extend=function(){var W,q,K={};for(W=0;W&lt;arguments.length;W++)for(q in arguments[W])Object.prototype.hasOwnProperty.call(arguments[W],q)&amp;&amp;K[q]===void 0&amp;&amp;(K[q]=arguments[W][q]);return K},x.prepareContent=function(W,q,K,P,L){return _.Promise.resolve(q).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=x.getTypeOf(E);return j?(j===&quot;arraybuffer&quot;?E=x.transformTo(&quot;uint8array&quot;,E):j===&quot;string&quot;&amp;&amp;(L?E=y.decode(E):K&amp;&amp;P!==!0&amp;&amp;(E=(function(k){return M(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,x){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 M(T){this.files=[],this.loadOptions=T}M.prototype={checkSignature:function(T){if(!this.reader.readAndCheckSignature(T)){this.reader.index-=4;var $=this.reader.readString(4);throw new Error(&quot;Corrupted zip or bug: unexpected signature (&quot;+y.pretty($)+&quot;, expected &quot;+y.pretty(T)+&quot;)&quot;)}},isSignature:function(T,$){var F=this.reader.index;this.reader.setIndex(T);var H=this.reader.readString(4)===$;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),$=C.uint8array?&quot;uint8array&quot;:&quot;array&quot;,F=y.transformTo($,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,$,F,H=this.zip64EndOfCentralSize-44;0&lt;H;)T=this.reader.readInt(2),$=this.reader.readInt(4),F=this.reader.readData($),this.zip64ExtensibleData[T]={id:T,length:$,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,$;for(T=0;T&lt;this.files.length;T++)$=this.files[T],this.reader.setIndex($.localHeaderOffset),this.checkSignature(v.LOCAL_FILE_HEADER),$.readLocalPart(this.reader),$.handleUTF8(),$.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 $=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=$-F;if(0&lt;H)this.isSignature($,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=M},{&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,x){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;),M=m(&quot;./compressions&quot;),T=m(&quot;./support&quot;);function $(F,H){this.options=F,this.loadOptions=H}$.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(q){for(var K in M)if(Object.prototype.hasOwnProperty.call(M,K)&amp;&amp;M[K].magic===q)return M[K];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,q,K=F.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});F.index+4&lt;K;)H=F.readInt(2),W=F.readInt(2),q=F.readData(W),this.extraFields[H]={id:H,length:W,value:q};F.setIndex(K)},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 q=this.findExtraFieldUnicodeComment();if(q!==null)this.fileCommentStr=q;else{var K=y.transformTo(F,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(K)}}},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=$},{&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,x){function g(H,W,q){this.name=H,this.dir=q.dir,this.date=q.date,this.comment=q.comment,this.unixPermissions=q.unixPermissions,this.dosPermissions=q.dosPermissions,this._data=W,this._dataBinary=q.binary,this.options={compression:q.compression,compressionOptions:q.compressionOptions}}var y=m(&quot;./stream/StreamHelper&quot;),v=m(&quot;./stream/DataWorker&quot;),_=m(&quot;./utf8&quot;),C=m(&quot;./compressedObject&quot;),M=m(&quot;./stream/GenericWorker&quot;);g.prototype={internalStream:function(H){var W=null,q=&quot;string&quot;;try{if(!H)throw new Error(&quot;No output type specified.&quot;);var K=(q=H.toLowerCase())===&quot;string&quot;||q===&quot;text&quot;;q!==&quot;binarystring&quot;&amp;&amp;q!==&quot;text&quot;||(q=&quot;string&quot;),W=this._decompressWorker();var P=!this._dataBinary;P&amp;&amp;!K&amp;&amp;(W=W.pipe(new _.Utf8EncodeWorker)),!P&amp;&amp;K&amp;&amp;(W=W.pipe(new _.Utf8DecodeWorker))}catch(L){(W=new M(&quot;error&quot;)).error(L)}return new y(W,q,&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 q=this._decompressWorker();return this._dataBinary||(q=q.pipe(new _.Utf8EncodeWorker)),C.createWorkerFrom(q,H,W)},_decompressWorker:function(){return this._data instanceof C?this._data.getContentWorker():this._data instanceof M?this._data:new v(this._data)}};for(var T=[&quot;asText&quot;,&quot;asBinary&quot;,&quot;asNodeBuffer&quot;,&quot;asUint8Array&quot;,&quot;asArrayBuffer&quot;],$=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]]=$;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,x){(function(g){var y,v,_=g.MutationObserver||g.WebKitMutationObserver;if(_){var C=0,M=new _(H),T=g.document.createTextNode(&quot;&quot;);M.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 $=new g.MessageChannel;$.port1.onmessage=H,y=function(){$.port2.postMessage(0)}}var F=[];function H(){var W,q;v=!0;for(var K=F.length;K;){for(q=F,F=[],W=-1;++W&lt;K;)q[W]();K=F.length}v=!1}p.exports=function(W){F.push(W)!==1||v||y()}}).call(this,o!==void 0?o:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],37:[function(m,p,x){var g=m(&quot;immediate&quot;);function y(){}var v={},_=[&quot;REJECTED&quot;],C=[&quot;FULFILLED&quot;],M=[&quot;PENDING&quot;];function T(K){if(typeof K!=&quot;function&quot;)throw new TypeError(&quot;resolver must be a function&quot;);this.state=M,this.queue=[],this.outcome=void 0,K!==y&amp;&amp;W(this,K)}function $(K,P,L){this.promise=K,typeof P==&quot;function&quot;&amp;&amp;(this.onFulfilled=P,this.callFulfilled=this.otherCallFulfilled),typeof L==&quot;function&quot;&amp;&amp;(this.onRejected=L,this.callRejected=this.otherCallRejected)}function F(K,P,L){g((function(){var E;try{E=P(L)}catch(j){return v.reject(K,j)}E===K?v.reject(K,new TypeError(&quot;Cannot resolve promise with itself&quot;)):v.resolve(K,E)}))}function H(K){var P=K&amp;&amp;K.then;if(K&amp;&amp;(typeof K==&quot;object&quot;||typeof K==&quot;function&quot;)&amp;&amp;typeof P==&quot;function&quot;)return function(){P.apply(K,arguments)}}function W(K,P){var L=!1;function E(S){L||(L=!0,v.reject(K,S))}function j(S){L||(L=!0,v.resolve(K,S))}var k=q((function(){P(j,E)}));k.status===&quot;error&quot;&amp;&amp;E(k.value)}function q(K,P){var L={};try{L.value=K(P),L.status=&quot;success&quot;}catch(E){L.status=&quot;error&quot;,L.value=E}return L}(p.exports=T).prototype.finally=function(K){if(typeof K!=&quot;function&quot;)return this;var P=this.constructor;return this.then((function(L){return P.resolve(K()).then((function(){return L}))}),(function(L){return P.resolve(K()).then((function(){throw L}))}))},T.prototype.catch=function(K){return this.then(null,K)},T.prototype.then=function(K,P){if(typeof K!=&quot;function&quot;&amp;&amp;this.state===C||typeof P!=&quot;function&quot;&amp;&amp;this.state===_)return this;var L=new this.constructor(y);return this.state!==M?F(L,this.state===C?K:P,this.outcome):this.queue.push(new $(L,K,P)),L},$.prototype.callFulfilled=function(K){v.resolve(this.promise,K)},$.prototype.otherCallFulfilled=function(K){F(this.promise,this.onFulfilled,K)},$.prototype.callRejected=function(K){v.reject(this.promise,K)},$.prototype.otherCallRejected=function(K){F(this.promise,this.onRejected,K)},v.resolve=function(K,P){var L=q(H,P);if(L.status===&quot;error&quot;)return v.reject(K,L.value);var E=L.value;if(E)W(K,E);else{K.state=C,K.outcome=P;for(var j=-1,k=K.queue.length;++j&lt;k;)K.queue[j].callFulfilled(P)}return K},v.reject=function(K,P){K.state=_,K.outcome=P;for(var L=-1,E=K.queue.length;++L&lt;E;)K.queue[L].callRejected(P);return K},T.resolve=function(K){return K instanceof this?K:v.resolve(new this(y),K)},T.reject=function(K){var P=new this(y);return v.reject(P,K)},T.all=function(K){var P=this;if(Object.prototype.toString.call(K)!==&quot;[object Array]&quot;)return this.reject(new TypeError(&quot;must be an array&quot;));var L=K.length,E=!1;if(!L)return this.resolve([]);for(var j=new Array(L),k=0,S=-1,N=new this(y);++S&lt;L;)O(K[S],S);return N;function O(D,B){P.resolve(D).then((function(Y){j[B]=Y,++k!==L||E||(E=!0,v.resolve(N,j))}),(function(Y){E||(E=!0,v.reject(N,Y))}))}},T.race=function(K){if(Object.prototype.toString.call(K)!==&quot;[object Array]&quot;)return this.reject(new TypeError(&quot;must be an array&quot;));var P=K.length,L=!1;if(!P)return this.resolve([]);for(var E,j=-1,k=new this(y);++j&lt;P;)E=K[j],this.resolve(E).then((function(S){L||(L=!0,v.resolve(k,S))}),(function(S){L||(L=!0,v.reject(k,S))}));return k}},{immediate:36}],38:[function(m,p,x){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,x){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;),M=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 q;if(q=typeof H.dictionary==&quot;string&quot;?v.string2buf(H.dictionary):M.call(H.dictionary)===&quot;[object ArrayBuffer]&quot;?new Uint8Array(H.dictionary):H.dictionary,(W=g.deflateSetDictionary(this.strm,q))!==0)throw new Error(_[W]);this._dict_set=!0}}function $(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,q,K=this.strm,P=this.options.chunkSize;if(this.ended)return!1;q=H===~~H?H:H===!0?4:0,typeof F==&quot;string&quot;?K.input=v.string2buf(F):M.call(F)===&quot;[object ArrayBuffer]&quot;?K.input=new Uint8Array(F):K.input=F,K.next_in=0,K.avail_in=K.input.length;do{if(K.avail_out===0&amp;&amp;(K.output=new y.Buf8(P),K.next_out=0,K.avail_out=P),(W=g.deflate(K,q))!==1&amp;&amp;W!==0)return this.onEnd(W),!(this.ended=!0);K.avail_out!==0&amp;&amp;(K.avail_in!==0||q!==4&amp;&amp;q!==2)||(this.options.to===&quot;string&quot;?this.onData(v.buf2binstring(y.shrinkBuf(K.output,K.next_out))):this.onData(y.shrinkBuf(K.output,K.next_out)))}while((0&lt;K.avail_in||K.avail_out===0)&amp;&amp;W!==1);return q===4?(W=g.deflateEnd(this.strm),this.onEnd(W),this.ended=!0,W===0):q!==2||(this.onEnd(0),!(K.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},x.Deflate=T,x.deflate=$,x.deflateRaw=function(F,H){return(H=H||{}).raw=!0,$(F,H)},x.gzip=function(F,H){return(H=H||{}).gzip=!0,$(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,x){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;),M=m(&quot;./zlib/zstream&quot;),T=m(&quot;./zlib/gzheader&quot;),$=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 q=this.options;q.raw&amp;&amp;0&lt;=q.windowBits&amp;&amp;q.windowBits&lt;16&amp;&amp;(q.windowBits=-q.windowBits,q.windowBits===0&amp;&amp;(q.windowBits=-15)),!(0&lt;=q.windowBits&amp;&amp;q.windowBits&lt;16)||W&amp;&amp;W.windowBits||(q.windowBits+=32),15&lt;q.windowBits&amp;&amp;q.windowBits&lt;48&amp;&amp;(15&amp;q.windowBits)==0&amp;&amp;(q.windowBits|=15),this.err=0,this.msg=&quot;&quot;,this.ended=!1,this.chunks=[],this.strm=new M,this.strm.avail_out=0;var K=g.inflateInit2(this.strm,q.windowBits);if(K!==_.Z_OK)throw new Error(C[K]);this.header=new T,g.inflateGetHeader(this.strm,this.header)}function H(W,q){var K=new F(q);if(K.push(W,!0),K.err)throw K.msg||C[K.err];return K.result}F.prototype.push=function(W,q){var K,P,L,E,j,k,S=this.strm,N=this.options.chunkSize,O=this.options.dictionary,D=!1;if(this.ended)return!1;P=q===~~q?q:q===!0?_.Z_FINISH:_.Z_NO_FLUSH,typeof W==&quot;string&quot;?S.input=v.binstring2buf(W):$.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),(K=g.inflate(S,_.Z_NO_FLUSH))===_.Z_NEED_DICT&amp;&amp;O&amp;&amp;(k=typeof O==&quot;string&quot;?v.string2buf(O):$.call(O)===&quot;[object ArrayBuffer]&quot;?new Uint8Array(O):O,K=g.inflateSetDictionary(this.strm,k)),K===_.Z_BUF_ERROR&amp;&amp;D===!0&amp;&amp;(K=_.Z_OK,D=!1),K!==_.Z_STREAM_END&amp;&amp;K!==_.Z_OK)return this.onEnd(K),!(this.ended=!0);S.next_out&amp;&amp;(S.avail_out!==0&amp;&amp;K!==_.Z_STREAM_END&amp;&amp;(S.avail_in!==0||P!==_.Z_FINISH&amp;&amp;P!==_.Z_SYNC_FLUSH)||(this.options.to===&quot;string&quot;?(L=v.utf8border(S.output,S.next_out),E=S.next_out-L,j=v.buf2string(S.output,L),S.next_out=E,S.avail_out=N-E,E&amp;&amp;y.arraySet(S.output,S.output,L,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;(D=!0)}while((0&lt;S.avail_in||S.avail_out===0)&amp;&amp;K!==_.Z_STREAM_END);return K===_.Z_STREAM_END&amp;&amp;(P=_.Z_FINISH),P===_.Z_FINISH?(K=g.inflateEnd(this.strm),this.onEnd(K),this.ended=!0,K===_.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},x.Inflate=F,x.inflate=H,x.inflateRaw=function(W,q){return(q=q||{}).raw=!0,H(W,q)},x.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,x){var g=typeof Uint8Array&lt;&quot;u&quot;&amp;&amp;typeof Uint16Array&lt;&quot;u&quot;&amp;&amp;typeof Int32Array&lt;&quot;u&quot;;x.assign=function(_){for(var C=Array.prototype.slice.call(arguments,1);C.length;){var M=C.shift();if(M){if(typeof M!=&quot;object&quot;)throw new TypeError(M+&quot;must be non-object&quot;);for(var T in M)M.hasOwnProperty(T)&amp;&amp;(_[T]=M[T])}}return _},x.shrinkBuf=function(_,C){return _.length===C?_:_.subarray?_.subarray(0,C):(_.length=C,_)};var y={arraySet:function(_,C,M,T,$){if(C.subarray&amp;&amp;_.subarray)_.set(C.subarray(M,M+T),$);else for(var F=0;F&lt;T;F++)_[$+F]=C[M+F]},flattenChunks:function(_){var C,M,T,$,F,H;for(C=T=0,M=_.length;C&lt;M;C++)T+=_[C].length;for(H=new Uint8Array(T),C=$=0,M=_.length;C&lt;M;C++)F=_[C],H.set(F,$),$+=F.length;return H}},v={arraySet:function(_,C,M,T,$){for(var F=0;F&lt;T;F++)_[$+F]=C[M+F]},flattenChunks:function(_){return[].concat.apply([],_)}};x.setTyped=function(_){_?(x.Buf8=Uint8Array,x.Buf16=Uint16Array,x.Buf32=Int32Array,x.assign(x,y)):(x.Buf8=Array,x.Buf16=Array,x.Buf32=Array,x.assign(x,v))},x.setTyped(g)},{}],42:[function(m,p,x){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 M(T,$){if($&lt;65537&amp;&amp;(T.subarray&amp;&amp;v||!T.subarray&amp;&amp;y))return String.fromCharCode.apply(null,g.shrinkBuf(T,$));for(var F=&quot;&quot;,H=0;H&lt;$;H++)F+=String.fromCharCode(T[H]);return F}_[254]=_[254]=1,x.string2buf=function(T){var $,F,H,W,q,K=T.length,P=0;for(W=0;W&lt;K;W++)(64512&amp;(F=T.charCodeAt(W)))==55296&amp;&amp;W+1&lt;K&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($=new g.Buf8(P),W=q=0;q&lt;P;W++)(64512&amp;(F=T.charCodeAt(W)))==55296&amp;&amp;W+1&lt;K&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?$[q++]=F:(F&lt;2048?$[q++]=192|F&gt;&gt;&gt;6:(F&lt;65536?$[q++]=224|F&gt;&gt;&gt;12:($[q++]=240|F&gt;&gt;&gt;18,$[q++]=128|F&gt;&gt;&gt;12&amp;63),$[q++]=128|F&gt;&gt;&gt;6&amp;63),$[q++]=128|63&amp;F);return $},x.buf2binstring=function(T){return M(T,T.length)},x.binstring2buf=function(T){for(var $=new g.Buf8(T.length),F=0,H=$.length;F&lt;H;F++)$[F]=T.charCodeAt(F);return $},x.buf2string=function(T,$){var F,H,W,q,K=$||T.length,P=new Array(2*K);for(F=H=0;F&lt;K;)if((W=T[F++])&lt;128)P[H++]=W;else if(4&lt;(q=_[W]))P[H++]=65533,F+=q-1;else{for(W&amp;=q===2?31:q===3?15:7;1&lt;q&amp;&amp;F&lt;K;)W=W&lt;&lt;6|63&amp;T[F++],q--;1&lt;q?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 M(P,H)},x.utf8border=function(T,$){var F;for(($=$||T.length)&gt;T.length&amp;&amp;($=T.length),F=$-1;0&lt;=F&amp;&amp;(192&amp;T[F])==128;)F--;return F&lt;0||F===0?$:F+_[T[F]]&gt;$?F:$}},{&quot;./common&quot;:41}],43:[function(m,p,x){p.exports=function(g,y,v,_){for(var C=65535&amp;g|0,M=g&gt;&gt;&gt;16&amp;65535|0,T=0;v!==0;){for(v-=T=2e3&lt;v?2e3:v;M=M+(C=C+y[_++]|0)|0,--T;);C%=65521,M%=65521}return C|M&lt;&lt;16|0}},{}],44:[function(m,p,x){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,x){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 M=g,T=C+_;y^=-1;for(var $=C;$&lt;T;$++)y=y&gt;&gt;&gt;8^M[255&amp;(y^v[$])];return-1^y}},{}],46:[function(m,p,x){var g,y=m(&quot;../utils/common&quot;),v=m(&quot;./trees&quot;),_=m(&quot;./adler32&quot;),C=m(&quot;./crc32&quot;),M=m(&quot;./messages&quot;),T=-2,$=258,F=262,H=113;function W(V,ee){return V.msg=M[ee],ee}function q(V){return(V&lt;&lt;1)-(4&lt;V?9:0)}function K(V){for(var ee=V.length;0&lt;=--ee;)V[ee]=0}function P(V){var ee=V.state,z=ee.pending;z&gt;V.avail_out&amp;&amp;(z=V.avail_out),z!==0&amp;&amp;(y.arraySet(V.output,ee.pending_buf,ee.pending_out,z,V.next_out),V.next_out+=z,ee.pending_out+=z,V.total_out+=z,V.avail_out-=z,ee.pending-=z,ee.pending===0&amp;&amp;(ee.pending_out=0))}function L(V,ee){v._tr_flush_block(V,0&lt;=V.block_start?V.block_start:-1,V.strstart-V.block_start,ee),V.block_start=V.strstart,P(V.strm)}function E(V,ee){V.pending_buf[V.pending++]=ee}function j(V,ee){V.pending_buf[V.pending++]=ee&gt;&gt;&gt;8&amp;255,V.pending_buf[V.pending++]=255&amp;ee}function k(V,ee){var z,R,X=V.max_chain_length,re=V.strstart,Q=V.prev_length,te=V.nice_match,se=V.strstart&gt;V.w_size-F?V.strstart-(V.w_size-F):0,de=V.window,ce=V.w_mask,ie=V.prev,fe=V.strstart+$,oe=de[re+Q-1],ge=de[re+Q];V.prev_length&gt;=V.good_match&amp;&amp;(X&gt;&gt;=2),te&gt;V.lookahead&amp;&amp;(te=V.lookahead);do if(de[(z=ee)+Q]===ge&amp;&amp;de[z+Q-1]===oe&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(R=$-(fe-re),re=fe-$,Q&lt;R){if(V.match_start=ee,te&lt;=(Q=R))break;oe=de[re+Q-1],ge=de[re+Q]}}while((ee=ie[ee&amp;ce])&gt;se&amp;&amp;--X!=0);return Q&lt;=V.lookahead?Q:V.lookahead}function S(V){var ee,z,R,X,re,Q,te,se,de,ce,ie=V.w_size;do{if(X=V.window_size-V.lookahead-V.strstart,V.strstart&gt;=ie+(ie-F)){for(y.arraySet(V.window,V.window,ie,ie,0),V.match_start-=ie,V.strstart-=ie,V.block_start-=ie,ee=z=V.hash_size;R=V.head[--ee],V.head[ee]=ie&lt;=R?R-ie:0,--z;);for(ee=z=ie;R=V.prev[--ee],V.prev[ee]=ie&lt;=R?R-ie:0,--z;);X+=ie}if(V.strm.avail_in===0)break;if(Q=V.strm,te=V.window,se=V.strstart+V.lookahead,ce=void 0,(de=X)&lt;(ce=Q.avail_in)&amp;&amp;(ce=de),z=ce===0?0:(Q.avail_in-=ce,y.arraySet(te,Q.input,Q.next_in,ce,se),Q.state.wrap===1?Q.adler=_(Q.adler,te,ce,se):Q.state.wrap===2&amp;&amp;(Q.adler=C(Q.adler,te,ce,se)),Q.next_in+=ce,Q.total_in+=ce,ce),V.lookahead+=z,V.lookahead+V.insert&gt;=3)for(re=V.strstart-V.insert,V.ins_h=V.window[re],V.ins_h=(V.ins_h&lt;&lt;V.hash_shift^V.window[re+1])&amp;V.hash_mask;V.insert&amp;&amp;(V.ins_h=(V.ins_h&lt;&lt;V.hash_shift^V.window[re+3-1])&amp;V.hash_mask,V.prev[re&amp;V.w_mask]=V.head[V.ins_h],V.head[V.ins_h]=re,re++,V.insert--,!(V.lookahead+V.insert&lt;3)););}while(V.lookahead&lt;F&amp;&amp;V.strm.avail_in!==0)}function N(V,ee){for(var z,R;;){if(V.lookahead&lt;F){if(S(V),V.lookahead&lt;F&amp;&amp;ee===0)return 1;if(V.lookahead===0)break}if(z=0,V.lookahead&gt;=3&amp;&amp;(V.ins_h=(V.ins_h&lt;&lt;V.hash_shift^V.window[V.strstart+3-1])&amp;V.hash_mask,z=V.prev[V.strstart&amp;V.w_mask]=V.head[V.ins_h],V.head[V.ins_h]=V.strstart),z!==0&amp;&amp;V.strstart-z&lt;=V.w_size-F&amp;&amp;(V.match_length=k(V,z)),V.match_length&gt;=3)if(R=v._tr_tally(V,V.strstart-V.match_start,V.match_length-3),V.lookahead-=V.match_length,V.match_length&lt;=V.max_lazy_match&amp;&amp;V.lookahead&gt;=3){for(V.match_length--;V.strstart++,V.ins_h=(V.ins_h&lt;&lt;V.hash_shift^V.window[V.strstart+3-1])&amp;V.hash_mask,z=V.prev[V.strstart&amp;V.w_mask]=V.head[V.ins_h],V.head[V.ins_h]=V.strstart,--V.match_length!=0;);V.strstart++}else V.strstart+=V.match_length,V.match_length=0,V.ins_h=V.window[V.strstart],V.ins_h=(V.ins_h&lt;&lt;V.hash_shift^V.window[V.strstart+1])&amp;V.hash_mask;else R=v._tr_tally(V,0,V.window[V.strstart]),V.lookahead--,V.strstart++;if(R&amp;&amp;(L(V,!1),V.strm.avail_out===0))return 1}return V.insert=V.strstart&lt;2?V.strstart:2,ee===4?(L(V,!0),V.strm.avail_out===0?3:4):V.last_lit&amp;&amp;(L(V,!1),V.strm.avail_out===0)?1:2}function O(V,ee){for(var z,R,X;;){if(V.lookahead&lt;F){if(S(V),V.lookahead&lt;F&amp;&amp;ee===0)return 1;if(V.lookahead===0)break}if(z=0,V.lookahead&gt;=3&amp;&amp;(V.ins_h=(V.ins_h&lt;&lt;V.hash_shift^V.window[V.strstart+3-1])&amp;V.hash_mask,z=V.prev[V.strstart&amp;V.w_mask]=V.head[V.ins_h],V.head[V.ins_h]=V.strstart),V.prev_length=V.match_length,V.prev_match=V.match_start,V.match_length=2,z!==0&amp;&amp;V.prev_length&lt;V.max_lazy_match&amp;&amp;V.strstart-z&lt;=V.w_size-F&amp;&amp;(V.match_length=k(V,z),V.match_length&lt;=5&amp;&amp;(V.strategy===1||V.match_length===3&amp;&amp;4096&lt;V.strstart-V.match_start)&amp;&amp;(V.match_length=2)),V.prev_length&gt;=3&amp;&amp;V.match_length&lt;=V.prev_length){for(X=V.strstart+V.lookahead-3,R=v._tr_tally(V,V.strstart-1-V.prev_match,V.prev_length-3),V.lookahead-=V.prev_length-1,V.prev_length-=2;++V.strstart&lt;=X&amp;&amp;(V.ins_h=(V.ins_h&lt;&lt;V.hash_shift^V.window[V.strstart+3-1])&amp;V.hash_mask,z=V.prev[V.strstart&amp;V.w_mask]=V.head[V.ins_h],V.head[V.ins_h]=V.strstart),--V.prev_length!=0;);if(V.match_available=0,V.match_length=2,V.strstart++,R&amp;&amp;(L(V,!1),V.strm.avail_out===0))return 1}else if(V.match_available){if((R=v._tr_tally(V,0,V.window[V.strstart-1]))&amp;&amp;L(V,!1),V.strstart++,V.lookahead--,V.strm.avail_out===0)return 1}else V.match_available=1,V.strstart++,V.lookahead--}return V.match_available&amp;&amp;(R=v._tr_tally(V,0,V.window[V.strstart-1]),V.match_available=0),V.insert=V.strstart&lt;2?V.strstart:2,ee===4?(L(V,!0),V.strm.avail_out===0?3:4):V.last_lit&amp;&amp;(L(V,!1),V.strm.avail_out===0)?1:2}function D(V,ee,z,R,X){this.good_length=V,this.max_lazy=ee,this.nice_length=z,this.max_chain=R,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),K(this.dyn_ltree),K(this.dyn_dtree),K(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),K(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new y.Buf16(573),K(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(V){var ee;return V&amp;&amp;V.state?(V.total_in=V.total_out=0,V.data_type=2,(ee=V.state).pending=0,ee.pending_out=0,ee.wrap&lt;0&amp;&amp;(ee.wrap=-ee.wrap),ee.status=ee.wrap?42:H,V.adler=ee.wrap===2?0:1,ee.last_flush=0,v._tr_init(ee),0):W(V,T)}function Z(V){var ee=Y(V);return ee===0&amp;&amp;(function(z){z.window_size=2*z.w_size,K(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})(V.state),ee}function ne(V,ee,z,R,X,re){if(!V)return T;var Q=1;if(ee===-1&amp;&amp;(ee=6),R&lt;0?(Q=0,R=-R):15&lt;R&amp;&amp;(Q=2,R-=16),X&lt;1||9&lt;X||z!==8||R&lt;8||15&lt;R||ee&lt;0||9&lt;ee||re&lt;0||4&lt;re)return W(V,T);R===8&amp;&amp;(R=9);var te=new B;return(V.state=te).strm=V,te.wrap=Q,te.gzhead=null,te.w_bits=R,te.w_size=1&lt;&lt;te.w_bits,te.w_mask=te.w_size-1,te.hash_bits=X+7,te.hash_size=1&lt;&lt;te.hash_bits,te.hash_mask=te.hash_size-1,te.hash_shift=~~((te.hash_bits+3-1)/3),te.window=new y.Buf8(2*te.w_size),te.head=new y.Buf16(te.hash_size),te.prev=new y.Buf16(te.w_size),te.lit_bufsize=1&lt;&lt;X+6,te.pending_buf_size=4*te.lit_bufsize,te.pending_buf=new y.Buf8(te.pending_buf_size),te.d_buf=1*te.lit_bufsize,te.l_buf=3*te.lit_bufsize,te.level=ee,te.strategy=re,te.method=z,Z(V)}g=[new D(0,0,0,0,(function(V,ee){var z=65535;for(z&gt;V.pending_buf_size-5&amp;&amp;(z=V.pending_buf_size-5);;){if(V.lookahead&lt;=1){if(S(V),V.lookahead===0&amp;&amp;ee===0)return 1;if(V.lookahead===0)break}V.strstart+=V.lookahead,V.lookahead=0;var R=V.block_start+z;if((V.strstart===0||V.strstart&gt;=R)&amp;&amp;(V.lookahead=V.strstart-R,V.strstart=R,L(V,!1),V.strm.avail_out===0)||V.strstart-V.block_start&gt;=V.w_size-F&amp;&amp;(L(V,!1),V.strm.avail_out===0))return 1}return V.insert=0,ee===4?(L(V,!0),V.strm.avail_out===0?3:4):(V.strstart&gt;V.block_start&amp;&amp;(L(V,!1),V.strm.avail_out),1)})),new D(4,4,8,4,N),new D(4,5,16,8,N),new D(4,6,32,32,N),new D(4,4,16,16,O),new D(8,16,32,32,O),new D(8,16,128,128,O),new D(8,32,128,256,O),new D(32,128,258,1024,O),new D(32,258,258,4096,O)],x.deflateInit=function(V,ee){return ne(V,ee,8,15,8,0)},x.deflateInit2=ne,x.deflateReset=Z,x.deflateResetKeep=Y,x.deflateSetHeader=function(V,ee){return V&amp;&amp;V.state?V.state.wrap!==2?T:(V.state.gzhead=ee,0):T},x.deflate=function(V,ee){var z,R,X,re;if(!V||!V.state||5&lt;ee||ee&lt;0)return V?W(V,T):T;if(R=V.state,!V.output||!V.input&amp;&amp;V.avail_in!==0||R.status===666&amp;&amp;ee!==4)return W(V,V.avail_out===0?-5:T);if(R.strm=V,z=R.last_flush,R.last_flush=ee,R.status===42)if(R.wrap===2)V.adler=0,E(R,31),E(R,139),E(R,8),R.gzhead?(E(R,(R.gzhead.text?1:0)+(R.gzhead.hcrc?2:0)+(R.gzhead.extra?4:0)+(R.gzhead.name?8:0)+(R.gzhead.comment?16:0)),E(R,255&amp;R.gzhead.time),E(R,R.gzhead.time&gt;&gt;8&amp;255),E(R,R.gzhead.time&gt;&gt;16&amp;255),E(R,R.gzhead.time&gt;&gt;24&amp;255),E(R,R.level===9?2:2&lt;=R.strategy||R.level&lt;2?4:0),E(R,255&amp;R.gzhead.os),R.gzhead.extra&amp;&amp;R.gzhead.extra.length&amp;&amp;(E(R,255&amp;R.gzhead.extra.length),E(R,R.gzhead.extra.length&gt;&gt;8&amp;255)),R.gzhead.hcrc&amp;&amp;(V.adler=C(V.adler,R.pending_buf,R.pending,0)),R.gzindex=0,R.status=69):(E(R,0),E(R,0),E(R,0),E(R,0),E(R,0),E(R,R.level===9?2:2&lt;=R.strategy||R.level&lt;2?4:0),E(R,3),R.status=H);else{var Q=8+(R.w_bits-8&lt;&lt;4)&lt;&lt;8;Q|=(2&lt;=R.strategy||R.level&lt;2?0:R.level&lt;6?1:R.level===6?2:3)&lt;&lt;6,R.strstart!==0&amp;&amp;(Q|=32),Q+=31-Q%31,R.status=H,j(R,Q),R.strstart!==0&amp;&amp;(j(R,V.adler&gt;&gt;&gt;16),j(R,65535&amp;V.adler)),V.adler=1}if(R.status===69)if(R.gzhead.extra){for(X=R.pending;R.gzindex&lt;(65535&amp;R.gzhead.extra.length)&amp;&amp;(R.pending!==R.pending_buf_size||(R.gzhead.hcrc&amp;&amp;R.pending&gt;X&amp;&amp;(V.adler=C(V.adler,R.pending_buf,R.pending-X,X)),P(V),X=R.pending,R.pending!==R.pending_buf_size));)E(R,255&amp;R.gzhead.extra[R.gzindex]),R.gzindex++;R.gzhead.hcrc&amp;&amp;R.pending&gt;X&amp;&amp;(V.adler=C(V.adler,R.pending_buf,R.pending-X,X)),R.gzindex===R.gzhead.extra.length&amp;&amp;(R.gzindex=0,R.status=73)}else R.status=73;if(R.status===73)if(R.gzhead.name){X=R.pending;do{if(R.pending===R.pending_buf_size&amp;&amp;(R.gzhead.hcrc&amp;&amp;R.pending&gt;X&amp;&amp;(V.adler=C(V.adler,R.pending_buf,R.pending-X,X)),P(V),X=R.pending,R.pending===R.pending_buf_size)){re=1;break}re=R.gzindex&lt;R.gzhead.name.length?255&amp;R.gzhead.name.charCodeAt(R.gzindex++):0,E(R,re)}while(re!==0);R.gzhead.hcrc&amp;&amp;R.pending&gt;X&amp;&amp;(V.adler=C(V.adler,R.pending_buf,R.pending-X,X)),re===0&amp;&amp;(R.gzindex=0,R.status=91)}else R.status=91;if(R.status===91)if(R.gzhead.comment){X=R.pending;do{if(R.pending===R.pending_buf_size&amp;&amp;(R.gzhead.hcrc&amp;&amp;R.pending&gt;X&amp;&amp;(V.adler=C(V.adler,R.pending_buf,R.pending-X,X)),P(V),X=R.pending,R.pending===R.pending_buf_size)){re=1;break}re=R.gzindex&lt;R.gzhead.comment.length?255&amp;R.gzhead.comment.charCodeAt(R.gzindex++):0,E(R,re)}while(re!==0);R.gzhead.hcrc&amp;&amp;R.pending&gt;X&amp;&amp;(V.adler=C(V.adler,R.pending_buf,R.pending-X,X)),re===0&amp;&amp;(R.status=103)}else R.status=103;if(R.status===103&amp;&amp;(R.gzhead.hcrc?(R.pending+2&gt;R.pending_buf_size&amp;&amp;P(V),R.pending+2&lt;=R.pending_buf_size&amp;&amp;(E(R,255&amp;V.adler),E(R,V.adler&gt;&gt;8&amp;255),V.adler=0,R.status=H)):R.status=H),R.pending!==0){if(P(V),V.avail_out===0)return R.last_flush=-1,0}else if(V.avail_in===0&amp;&amp;q(ee)&lt;=q(z)&amp;&amp;ee!==4)return W(V,-5);if(R.status===666&amp;&amp;V.avail_in!==0)return W(V,-5);if(V.avail_in!==0||R.lookahead!==0||ee!==0&amp;&amp;R.status!==666){var te=R.strategy===2?(function(se,de){for(var ce;;){if(se.lookahead===0&amp;&amp;(S(se),se.lookahead===0)){if(de===0)return 1;break}if(se.match_length=0,ce=v._tr_tally(se,0,se.window[se.strstart]),se.lookahead--,se.strstart++,ce&amp;&amp;(L(se,!1),se.strm.avail_out===0))return 1}return se.insert=0,de===4?(L(se,!0),se.strm.avail_out===0?3:4):se.last_lit&amp;&amp;(L(se,!1),se.strm.avail_out===0)?1:2})(R,ee):R.strategy===3?(function(se,de){for(var ce,ie,fe,oe,ge=se.window;;){if(se.lookahead&lt;=$){if(S(se),se.lookahead&lt;=$&amp;&amp;de===0)return 1;if(se.lookahead===0)break}if(se.match_length=0,se.lookahead&gt;=3&amp;&amp;0&lt;se.strstart&amp;&amp;(ie=ge[fe=se.strstart-1])===ge[++fe]&amp;&amp;ie===ge[++fe]&amp;&amp;ie===ge[++fe]){oe=se.strstart+$;do;while(ie===ge[++fe]&amp;&amp;ie===ge[++fe]&amp;&amp;ie===ge[++fe]&amp;&amp;ie===ge[++fe]&amp;&amp;ie===ge[++fe]&amp;&amp;ie===ge[++fe]&amp;&amp;ie===ge[++fe]&amp;&amp;ie===ge[++fe]&amp;&amp;fe&lt;oe);se.match_length=$-(oe-fe),se.match_length&gt;se.lookahead&amp;&amp;(se.match_length=se.lookahead)}if(se.match_length&gt;=3?(ce=v._tr_tally(se,1,se.match_length-3),se.lookahead-=se.match_length,se.strstart+=se.match_length,se.match_length=0):(ce=v._tr_tally(se,0,se.window[se.strstart]),se.lookahead--,se.strstart++),ce&amp;&amp;(L(se,!1),se.strm.avail_out===0))return 1}return se.insert=0,de===4?(L(se,!0),se.strm.avail_out===0?3:4):se.last_lit&amp;&amp;(L(se,!1),se.strm.avail_out===0)?1:2})(R,ee):g[R.level].func(R,ee);if(te!==3&amp;&amp;te!==4||(R.status=666),te===1||te===3)return V.avail_out===0&amp;&amp;(R.last_flush=-1),0;if(te===2&amp;&amp;(ee===1?v._tr_align(R):ee!==5&amp;&amp;(v._tr_stored_block(R,0,0,!1),ee===3&amp;&amp;(K(R.head),R.lookahead===0&amp;&amp;(R.strstart=0,R.block_start=0,R.insert=0))),P(V),V.avail_out===0))return R.last_flush=-1,0}return ee!==4?0:R.wrap&lt;=0?1:(R.wrap===2?(E(R,255&amp;V.adler),E(R,V.adler&gt;&gt;8&amp;255),E(R,V.adler&gt;&gt;16&amp;255),E(R,V.adler&gt;&gt;24&amp;255),E(R,255&amp;V.total_in),E(R,V.total_in&gt;&gt;8&amp;255),E(R,V.total_in&gt;&gt;16&amp;255),E(R,V.total_in&gt;&gt;24&amp;255)):(j(R,V.adler&gt;&gt;&gt;16),j(R,65535&amp;V.adler)),P(V),0&lt;R.wrap&amp;&amp;(R.wrap=-R.wrap),R.pending!==0?0:1)},x.deflateEnd=function(V){var ee;return V&amp;&amp;V.state?(ee=V.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(V,T):(V.state=null,ee===H?W(V,-3):0):T},x.deflateSetDictionary=function(V,ee){var z,R,X,re,Q,te,se,de,ce=ee.length;if(!V||!V.state||(re=(z=V.state).wrap)===2||re===1&amp;&amp;z.status!==42||z.lookahead)return T;for(re===1&amp;&amp;(V.adler=_(V.adler,ee,ce,0)),z.wrap=0,ce&gt;=z.w_size&amp;&amp;(re===0&amp;&amp;(K(z.head),z.strstart=0,z.block_start=0,z.insert=0),de=new y.Buf8(z.w_size),y.arraySet(de,ee,ce-z.w_size,z.w_size,0),ee=de,ce=z.w_size),Q=V.avail_in,te=V.next_in,se=V.input,V.avail_in=ce,V.next_in=0,V.input=ee,S(z);z.lookahead&gt;=3;){for(R=z.strstart,X=z.lookahead-2;z.ins_h=(z.ins_h&lt;&lt;z.hash_shift^z.window[R+3-1])&amp;z.hash_mask,z.prev[R&amp;z.w_mask]=z.head[z.ins_h],z.head[z.ins_h]=R,R++,--X;);z.strstart=R,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,V.next_in=te,V.input=se,V.avail_in=Q,z.wrap=re,0},x.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,x){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,x){p.exports=function(g,y){var v,_,C,M,T,$,F,H,W,q,K,P,L,E,j,k,S,N,O,D,B,Y,Z,ne,V;v=g.state,_=g.next_in,ne=g.input,C=_+(g.avail_in-5),M=g.next_out,V=g.output,T=M-(y-g.avail_out),$=M+(g.avail_out-257),F=v.dmax,H=v.wsize,W=v.whave,q=v.wnext,K=v.window,P=v.hold,L=v.bits,E=v.lencode,j=v.distcode,k=(1&lt;&lt;v.lenbits)-1,S=(1&lt;&lt;v.distbits)-1;e:do{L&lt;15&amp;&amp;(P+=ne[_++]&lt;&lt;L,L+=8,P+=ne[_++]&lt;&lt;L,L+=8),N=E[P&amp;k];t:for(;;){if(P&gt;&gt;&gt;=O=N&gt;&gt;&gt;24,L-=O,(O=N&gt;&gt;&gt;16&amp;255)==0)V[M++]=65535&amp;N;else{if(!(16&amp;O)){if((64&amp;O)==0){N=E[(65535&amp;N)+(P&amp;(1&lt;&lt;O)-1)];continue t}if(32&amp;O){v.mode=12;break e}g.msg=&quot;invalid literal/length code&quot;,v.mode=30;break e}D=65535&amp;N,(O&amp;=15)&amp;&amp;(L&lt;O&amp;&amp;(P+=ne[_++]&lt;&lt;L,L+=8),D+=P&amp;(1&lt;&lt;O)-1,P&gt;&gt;&gt;=O,L-=O),L&lt;15&amp;&amp;(P+=ne[_++]&lt;&lt;L,L+=8,P+=ne[_++]&lt;&lt;L,L+=8),N=j[P&amp;S];r:for(;;){if(P&gt;&gt;&gt;=O=N&gt;&gt;&gt;24,L-=O,!(16&amp;(O=N&gt;&gt;&gt;16&amp;255))){if((64&amp;O)==0){N=j[(65535&amp;N)+(P&amp;(1&lt;&lt;O)-1)];continue r}g.msg=&quot;invalid distance code&quot;,v.mode=30;break e}if(B=65535&amp;N,L&lt;(O&amp;=15)&amp;&amp;(P+=ne[_++]&lt;&lt;L,(L+=8)&lt;O&amp;&amp;(P+=ne[_++]&lt;&lt;L,L+=8)),F&lt;(B+=P&amp;(1&lt;&lt;O)-1)){g.msg=&quot;invalid distance too far back&quot;,v.mode=30;break e}if(P&gt;&gt;&gt;=O,L-=O,(O=M-T)&lt;B){if(W&lt;(O=B-O)&amp;&amp;v.sane){g.msg=&quot;invalid distance too far back&quot;,v.mode=30;break e}if(Z=K,(Y=0)===q){if(Y+=H-O,O&lt;D){for(D-=O;V[M++]=K[Y++],--O;);Y=M-B,Z=V}}else if(q&lt;O){if(Y+=H+q-O,(O-=q)&lt;D){for(D-=O;V[M++]=K[Y++],--O;);if(Y=0,q&lt;D){for(D-=O=q;V[M++]=K[Y++],--O;);Y=M-B,Z=V}}}else if(Y+=q-O,O&lt;D){for(D-=O;V[M++]=K[Y++],--O;);Y=M-B,Z=V}for(;2&lt;D;)V[M++]=Z[Y++],V[M++]=Z[Y++],V[M++]=Z[Y++],D-=3;D&amp;&amp;(V[M++]=Z[Y++],1&lt;D&amp;&amp;(V[M++]=Z[Y++]))}else{for(Y=M-B;V[M++]=V[Y++],V[M++]=V[Y++],V[M++]=V[Y++],2&lt;(D-=3););D&amp;&amp;(V[M++]=V[Y++],1&lt;D&amp;&amp;(V[M++]=V[Y++]))}break}}break}}while(_&lt;C&amp;&amp;M&lt;$);_-=D=L&gt;&gt;3,P&amp;=(1&lt;&lt;(L-=D&lt;&lt;3))-1,g.next_in=_,g.next_out=M,g.avail_in=_&lt;C?C-_+5:5-(_-C),g.avail_out=M&lt;$?$-M+257:257-(M-$),v.hold=P,v.bits=L}},{}],49:[function(m,p,x){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;),M=-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 $(){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):M}function H(k){var S;return k&amp;&amp;k.state?((S=k.state).wsize=0,S.whave=0,S.wnext=0,F(k)):M}function W(k,S){var N,O;return k&amp;&amp;k.state?(O=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)?M:(O.window!==null&amp;&amp;O.wbits!==S&amp;&amp;(O.window=null),O.wrap=N,O.wbits=S,H(k))):M}function q(k,S){var N,O;return k?(O=new $,(k.state=O).window=null,(N=W(k,S))!==0&amp;&amp;(k.state=null),N):M}var K,P,L=!0;function E(k){if(L){var S;for(K=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,K,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}),L=!1}k.lencode=K,k.lenbits=9,k.distcode=P,k.distbits=5}function j(k,S,N,O){var D,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)),O&gt;=B.wsize?(g.arraySet(B.window,S,N-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(O&lt;(D=B.wsize-B.wnext)&amp;&amp;(D=O),g.arraySet(B.window,S,N-O,D,B.wnext),(O-=D)?(g.arraySet(B.window,S,N-O,O,0),B.wnext=O,B.whave=B.wsize):(B.wnext+=D,B.wnext===B.wsize&amp;&amp;(B.wnext=0),B.whave&lt;B.wsize&amp;&amp;(B.whave+=D))),0}x.inflateReset=H,x.inflateReset2=W,x.inflateResetKeep=F,x.inflateInit=function(k){return q(k,15)},x.inflateInit2=q,x.inflate=function(k,S){var N,O,D,B,Y,Z,ne,V,ee,z,R,X,re,Q,te,se,de,ce,ie,fe,oe,ge,xe,pe,ue=0,we=new g.Buf8(4),ke=[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 M;(N=k.state).mode===12&amp;&amp;(N.mode=13),Y=k.next_out,D=k.output,ne=k.avail_out,B=k.next_in,O=k.input,Z=k.avail_in,V=N.hold,ee=N.bits,z=Z,R=ne,ge=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--,V+=O[B++]&lt;&lt;ee,ee+=8}if(2&amp;N.wrap&amp;&amp;V===35615){we[N.check=0]=255&amp;V,we[1]=V&gt;&gt;&gt;8&amp;255,N.check=v(N.check,we,2,0),ee=V=0,N.mode=2;break}if(N.flags=0,N.head&amp;&amp;(N.head.done=!1),!(1&amp;N.wrap)||(((255&amp;V)&lt;&lt;8)+(V&gt;&gt;8))%31){k.msg=&quot;incorrect header check&quot;,N.mode=30;break}if((15&amp;V)!=8){k.msg=&quot;unknown compression method&quot;,N.mode=30;break}if(ee-=4,oe=8+(15&amp;(V&gt;&gt;&gt;=4)),N.wbits===0)N.wbits=oe;else if(oe&gt;N.wbits){k.msg=&quot;invalid window size&quot;,N.mode=30;break}N.dmax=1&lt;&lt;oe,k.adler=N.check=1,N.mode=512&amp;V?10:12,ee=V=0;break;case 2:for(;ee&lt;16;){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}if(N.flags=V,(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=V&gt;&gt;8&amp;1),512&amp;N.flags&amp;&amp;(we[0]=255&amp;V,we[1]=V&gt;&gt;&gt;8&amp;255,N.check=v(N.check,we,2,0)),ee=V=0,N.mode=3;case 3:for(;ee&lt;32;){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}N.head&amp;&amp;(N.head.time=V),512&amp;N.flags&amp;&amp;(we[0]=255&amp;V,we[1]=V&gt;&gt;&gt;8&amp;255,we[2]=V&gt;&gt;&gt;16&amp;255,we[3]=V&gt;&gt;&gt;24&amp;255,N.check=v(N.check,we,4,0)),ee=V=0,N.mode=4;case 4:for(;ee&lt;16;){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}N.head&amp;&amp;(N.head.xflags=255&amp;V,N.head.os=V&gt;&gt;8),512&amp;N.flags&amp;&amp;(we[0]=255&amp;V,we[1]=V&gt;&gt;&gt;8&amp;255,N.check=v(N.check,we,2,0)),ee=V=0,N.mode=5;case 5:if(1024&amp;N.flags){for(;ee&lt;16;){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}N.length=V,N.head&amp;&amp;(N.head.extra_len=V),512&amp;N.flags&amp;&amp;(we[0]=255&amp;V,we[1]=V&gt;&gt;&gt;8&amp;255,N.check=v(N.check,we,2,0)),ee=V=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;(oe=N.head.extra_len-N.length,N.head.extra||(N.head.extra=new Array(N.head.extra_len)),g.arraySet(N.head.extra,O,B,X,oe)),512&amp;N.flags&amp;&amp;(N.check=v(N.check,O,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;oe=O[B+X++],N.head&amp;&amp;oe&amp;&amp;N.length&lt;65536&amp;&amp;(N.head.name+=String.fromCharCode(oe)),oe&amp;&amp;X&lt;Z;);if(512&amp;N.flags&amp;&amp;(N.check=v(N.check,O,X,B)),Z-=X,B+=X,oe)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;oe=O[B+X++],N.head&amp;&amp;oe&amp;&amp;N.length&lt;65536&amp;&amp;(N.head.comment+=String.fromCharCode(oe)),oe&amp;&amp;X&lt;Z;);if(512&amp;N.flags&amp;&amp;(N.check=v(N.check,O,X,B)),Z-=X,B+=X,oe)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--,V+=O[B++]&lt;&lt;ee,ee+=8}if(V!==(65535&amp;N.check)){k.msg=&quot;header crc mismatch&quot;,N.mode=30;break}ee=V=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--,V+=O[B++]&lt;&lt;ee,ee+=8}k.adler=N.check=T(V),ee=V=0,N.mode=11;case 11:if(N.havedict===0)return k.next_out=Y,k.avail_out=ne,k.next_in=B,k.avail_in=Z,N.hold=V,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){V&gt;&gt;&gt;=7&amp;ee,ee-=7&amp;ee,N.mode=27;break}for(;ee&lt;3;){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}switch(N.last=1&amp;V,ee-=1,3&amp;(V&gt;&gt;&gt;=1)){case 0:N.mode=14;break;case 1:if(E(N),N.mode=20,S!==6)break;V&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}V&gt;&gt;&gt;=2,ee-=2;break;case 14:for(V&gt;&gt;&gt;=7&amp;ee,ee-=7&amp;ee;ee&lt;32;){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}if((65535&amp;V)!=(V&gt;&gt;&gt;16^65535)){k.msg=&quot;invalid stored block lengths&quot;,N.mode=30;break}if(N.length=65535&amp;V,ee=V=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),ne&lt;X&amp;&amp;(X=ne),X===0)break e;g.arraySet(D,O,B,X,Y),Z-=X,B+=X,ne-=X,Y+=X,N.length-=X;break}N.mode=12;break;case 17:for(;ee&lt;14;){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}if(N.nlen=257+(31&amp;V),V&gt;&gt;&gt;=5,ee-=5,N.ndist=1+(31&amp;V),V&gt;&gt;&gt;=5,ee-=5,N.ncode=4+(15&amp;V),V&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--,V+=O[B++]&lt;&lt;ee,ee+=8}N.lens[ke[N.have++]]=7&amp;V,V&gt;&gt;&gt;=3,ee-=3}for(;N.have&lt;19;)N.lens[ke[N.have++]]=0;if(N.lencode=N.lendyn,N.lenbits=7,xe={bits:N.lenbits},ge=C(0,N.lens,0,19,N.lencode,0,N.work,xe),N.lenbits=xe.bits,ge){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(;se=(ue=N.lencode[V&amp;(1&lt;&lt;N.lenbits)-1])&gt;&gt;&gt;16&amp;255,de=65535&amp;ue,!((te=ue&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}if(de&lt;16)V&gt;&gt;&gt;=te,ee-=te,N.lens[N.have++]=de;else{if(de===16){for(pe=te+2;ee&lt;pe;){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}if(V&gt;&gt;&gt;=te,ee-=te,N.have===0){k.msg=&quot;invalid bit length repeat&quot;,N.mode=30;break}oe=N.lens[N.have-1],X=3+(3&amp;V),V&gt;&gt;&gt;=2,ee-=2}else if(de===17){for(pe=te+3;ee&lt;pe;){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}ee-=te,oe=0,X=3+(7&amp;(V&gt;&gt;&gt;=te)),V&gt;&gt;&gt;=3,ee-=3}else{for(pe=te+7;ee&lt;pe;){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}ee-=te,oe=0,X=11+(127&amp;(V&gt;&gt;&gt;=te)),V&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++]=oe}}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,xe={bits:N.lenbits},ge=C(1,N.lens,0,N.nlen,N.lencode,0,N.work,xe),N.lenbits=xe.bits,ge){k.msg=&quot;invalid literal/lengths set&quot;,N.mode=30;break}if(N.distbits=6,N.distcode=N.distdyn,xe={bits:N.distbits},ge=C(2,N.lens,N.nlen,N.ndist,N.distcode,0,N.work,xe),N.distbits=xe.bits,ge){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;=ne){k.next_out=Y,k.avail_out=ne,k.next_in=B,k.avail_in=Z,N.hold=V,N.bits=ee,_(k,R),Y=k.next_out,D=k.output,ne=k.avail_out,B=k.next_in,O=k.input,Z=k.avail_in,V=N.hold,ee=N.bits,N.mode===12&amp;&amp;(N.back=-1);break}for(N.back=0;se=(ue=N.lencode[V&amp;(1&lt;&lt;N.lenbits)-1])&gt;&gt;&gt;16&amp;255,de=65535&amp;ue,!((te=ue&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}if(se&amp;&amp;(240&amp;se)==0){for(ce=te,ie=se,fe=de;se=(ue=N.lencode[fe+((V&amp;(1&lt;&lt;ce+ie)-1)&gt;&gt;ce)])&gt;&gt;&gt;16&amp;255,de=65535&amp;ue,!(ce+(te=ue&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}V&gt;&gt;&gt;=ce,ee-=ce,N.back+=ce}if(V&gt;&gt;&gt;=te,ee-=te,N.back+=te,N.length=de,se===0){N.mode=26;break}if(32&amp;se){N.back=-1,N.mode=12;break}if(64&amp;se){k.msg=&quot;invalid literal/length code&quot;,N.mode=30;break}N.extra=15&amp;se,N.mode=22;case 22:if(N.extra){for(pe=N.extra;ee&lt;pe;){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}N.length+=V&amp;(1&lt;&lt;N.extra)-1,V&gt;&gt;&gt;=N.extra,ee-=N.extra,N.back+=N.extra}N.was=N.length,N.mode=23;case 23:for(;se=(ue=N.distcode[V&amp;(1&lt;&lt;N.distbits)-1])&gt;&gt;&gt;16&amp;255,de=65535&amp;ue,!((te=ue&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}if((240&amp;se)==0){for(ce=te,ie=se,fe=de;se=(ue=N.distcode[fe+((V&amp;(1&lt;&lt;ce+ie)-1)&gt;&gt;ce)])&gt;&gt;&gt;16&amp;255,de=65535&amp;ue,!(ce+(te=ue&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}V&gt;&gt;&gt;=ce,ee-=ce,N.back+=ce}if(V&gt;&gt;&gt;=te,ee-=te,N.back+=te,64&amp;se){k.msg=&quot;invalid distance code&quot;,N.mode=30;break}N.offset=de,N.extra=15&amp;se,N.mode=24;case 24:if(N.extra){for(pe=N.extra;ee&lt;pe;){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}N.offset+=V&amp;(1&lt;&lt;N.extra)-1,V&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(ne===0)break e;if(X=R-ne,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),Q=N.window}else Q=D,re=Y-N.offset,X=N.length;for(ne&lt;X&amp;&amp;(X=ne),ne-=X,N.length-=X;D[Y++]=Q[re++],--X;);N.length===0&amp;&amp;(N.mode=21);break;case 26:if(ne===0)break e;D[Y++]=N.length,ne--,N.mode=21;break;case 27:if(N.wrap){for(;ee&lt;32;){if(Z===0)break e;Z--,V|=O[B++]&lt;&lt;ee,ee+=8}if(R-=ne,k.total_out+=R,N.total+=R,R&amp;&amp;(k.adler=N.check=N.flags?v(N.check,D,R,Y-R):y(N.check,D,R,Y-R)),R=ne,(N.flags?V:T(V))!==N.check){k.msg=&quot;incorrect data check&quot;,N.mode=30;break}ee=V=0}N.mode=28;case 28:if(N.wrap&amp;&amp;N.flags){for(;ee&lt;32;){if(Z===0)break e;Z--,V+=O[B++]&lt;&lt;ee,ee+=8}if(V!==(4294967295&amp;N.total)){k.msg=&quot;incorrect length check&quot;,N.mode=30;break}ee=V=0}N.mode=29;case 29:ge=1;break e;case 30:ge=-3;break e;case 31:return-4;default:return M}return k.next_out=Y,k.avail_out=ne,k.next_in=B,k.avail_in=Z,N.hold=V,N.bits=ee,(N.wsize||R!==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,R-k.avail_out)?(N.mode=31,-4):(z-=k.avail_in,R-=k.avail_out,k.total_in+=z,k.total_out+=R,N.total+=R,N.wrap&amp;&amp;R&amp;&amp;(k.adler=N.check=N.flags?v(N.check,D,R,k.next_out-R):y(N.check,D,R,k.next_out-R)),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;R===0||S===4)&amp;&amp;ge===0&amp;&amp;(ge=-5),ge)},x.inflateEnd=function(k){if(!k||!k.state)return M;var S=k.state;return S.window&amp;&amp;(S.window=null),k.state=null,0},x.inflateGetHeader=function(k,S){var N;return k&amp;&amp;k.state?(2&amp;(N=k.state).wrap)==0?M:((N.head=S).done=!1,0):M},x.inflateSetDictionary=function(k,S){var N,O=S.length;return k&amp;&amp;k.state?(N=k.state).wrap!==0&amp;&amp;N.mode!==11?M:N.mode===11&amp;&amp;y(1,S,O,0)!==N.check?-3:j(k,S,O,O)?(N.mode=31,-4):(N.havedict=1,0):M},x.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,x){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(M,T,$,F,H,W,q,K){var P,L,E,j,k,S,N,O,D,B=K.bits,Y=0,Z=0,ne=0,V=0,ee=0,z=0,R=0,X=0,re=0,Q=0,te=null,se=0,de=new g.Buf16(16),ce=new g.Buf16(16),ie=null,fe=0;for(Y=0;Y&lt;=15;Y++)de[Y]=0;for(Z=0;Z&lt;F;Z++)de[T[$+Z]]++;for(ee=B,V=15;1&lt;=V&amp;&amp;de[V]===0;V--);if(V&lt;ee&amp;&amp;(ee=V),V===0)return H[W++]=20971520,H[W++]=20971520,K.bits=1,0;for(ne=1;ne&lt;V&amp;&amp;de[ne]===0;ne++);for(ee&lt;ne&amp;&amp;(ee=ne),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;(M===0||V!==1))return-1;for(ce[1]=0,Y=1;Y&lt;15;Y++)ce[Y+1]=ce[Y]+de[Y];for(Z=0;Z&lt;F;Z++)T[$+Z]!==0&amp;&amp;(q[ce[T[$+Z]]++]=Z);if(S=M===0?(te=ie=q,19):M===1?(te=y,se-=257,ie=v,fe-=257,256):(te=_,ie=C,-1),Y=ne,k=W,R=Z=Q=0,E=-1,j=(re=1&lt;&lt;(z=ee))-1,M===1&amp;&amp;852&lt;re||M===2&amp;&amp;592&lt;re)return 1;for(;;){for(N=Y-R,D=q[Z]&lt;S?(O=0,q[Z]):q[Z]&gt;S?(O=ie[fe+q[Z]],te[se+q[Z]]):(O=96,0),P=1&lt;&lt;Y-R,ne=L=1&lt;&lt;z;H[k+(Q&gt;&gt;R)+(L-=P)]=N&lt;&lt;24|O&lt;&lt;16|D|0,L!==0;);for(P=1&lt;&lt;Y-1;Q&amp;P;)P&gt;&gt;=1;if(P!==0?(Q&amp;=P-1,Q+=P):Q=0,Z++,--de[Y]==0){if(Y===V)break;Y=T[$+q[Z]]}if(ee&lt;Y&amp;&amp;(Q&amp;j)!==E){for(R===0&amp;&amp;(R=ee),k+=ne,X=1&lt;&lt;(z=Y-R);z+R&lt;V&amp;&amp;!((X-=de[z+R])&lt;=0);)z++,X&lt;&lt;=1;if(re+=1&lt;&lt;z,M===1&amp;&amp;852&lt;re||M===2&amp;&amp;592&lt;re)return 1;H[E=Q&amp;j]=ee&lt;&lt;24|z&lt;&lt;16|k-W|0}}return Q!==0&amp;&amp;(H[k+Q]=Y-R&lt;&lt;24|64&lt;&lt;16|0),K.bits=ee,0}},{&quot;../utils/common&quot;:41}],51:[function(m,p,x){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,x){var g=m(&quot;../utils/common&quot;);function y(ie){for(var fe=ie.length;0&lt;=--fe;)ie[fe]=0}var v=256,_=286,C=30,M=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],$=[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 q=new Array(60);y(q);var K=new Array(512);y(K);var P=new Array(256);y(P);var L=new Array(29);y(L);var E,j,k,S=new Array(C);function N(ie,fe,oe,ge,xe){this.static_tree=ie,this.extra_bits=fe,this.extra_base=oe,this.elems=ge,this.max_length=xe,this.has_stree=ie&amp;&amp;ie.length}function O(ie,fe){this.dyn_tree=ie,this.max_code=0,this.stat_desc=fe}function D(ie){return ie&lt;256?K[ie]:K[256+(ie&gt;&gt;&gt;7)]}function B(ie,fe){ie.pending_buf[ie.pending++]=255&amp;fe,ie.pending_buf[ie.pending++]=fe&gt;&gt;&gt;8&amp;255}function Y(ie,fe,oe){ie.bi_valid&gt;16-oe?(ie.bi_buf|=fe&lt;&lt;ie.bi_valid&amp;65535,B(ie,ie.bi_buf),ie.bi_buf=fe&gt;&gt;16-ie.bi_valid,ie.bi_valid+=oe-16):(ie.bi_buf|=fe&lt;&lt;ie.bi_valid&amp;65535,ie.bi_valid+=oe)}function Z(ie,fe,oe){Y(ie,oe[2*fe],oe[2*fe+1])}function ne(ie,fe){for(var oe=0;oe|=1&amp;ie,ie&gt;&gt;&gt;=1,oe&lt;&lt;=1,0&lt;--fe;);return oe&gt;&gt;&gt;1}function V(ie,fe,oe){var ge,xe,pe=new Array(16),ue=0;for(ge=1;ge&lt;=M;ge++)pe[ge]=ue=ue+oe[ge-1]&lt;&lt;1;for(xe=0;xe&lt;=fe;xe++){var we=ie[2*xe+1];we!==0&amp;&amp;(ie[2*xe]=ne(pe[we]++,we))}}function ee(ie){var fe;for(fe=0;fe&lt;_;fe++)ie.dyn_ltree[2*fe]=0;for(fe=0;fe&lt;C;fe++)ie.dyn_dtree[2*fe]=0;for(fe=0;fe&lt;19;fe++)ie.bl_tree[2*fe]=0;ie.dyn_ltree[512]=1,ie.opt_len=ie.static_len=0,ie.last_lit=ie.matches=0}function z(ie){8&lt;ie.bi_valid?B(ie,ie.bi_buf):0&lt;ie.bi_valid&amp;&amp;(ie.pending_buf[ie.pending++]=ie.bi_buf),ie.bi_buf=0,ie.bi_valid=0}function R(ie,fe,oe,ge){var xe=2*fe,pe=2*oe;return ie[xe]&lt;ie[pe]||ie[xe]===ie[pe]&amp;&amp;ge[fe]&lt;=ge[oe]}function X(ie,fe,oe){for(var ge=ie.heap[oe],xe=oe&lt;&lt;1;xe&lt;=ie.heap_len&amp;&amp;(xe&lt;ie.heap_len&amp;&amp;R(fe,ie.heap[xe+1],ie.heap[xe],ie.depth)&amp;&amp;xe++,!R(fe,ge,ie.heap[xe],ie.depth));)ie.heap[oe]=ie.heap[xe],oe=xe,xe&lt;&lt;=1;ie.heap[oe]=ge}function re(ie,fe,oe){var ge,xe,pe,ue,we=0;if(ie.last_lit!==0)for(;ge=ie.pending_buf[ie.d_buf+2*we]&lt;&lt;8|ie.pending_buf[ie.d_buf+2*we+1],xe=ie.pending_buf[ie.l_buf+we],we++,ge===0?Z(ie,xe,fe):(Z(ie,(pe=P[xe])+v+1,fe),(ue=T[pe])!==0&amp;&amp;Y(ie,xe-=L[pe],ue),Z(ie,pe=D(--ge),oe),(ue=$[pe])!==0&amp;&amp;Y(ie,ge-=S[pe],ue)),we&lt;ie.last_lit;);Z(ie,256,fe)}function Q(ie,fe){var oe,ge,xe,pe=fe.dyn_tree,ue=fe.stat_desc.static_tree,we=fe.stat_desc.has_stree,ke=fe.stat_desc.elems,Te=-1;for(ie.heap_len=0,ie.heap_max=573,oe=0;oe&lt;ke;oe++)pe[2*oe]!==0?(ie.heap[++ie.heap_len]=Te=oe,ie.depth[oe]=0):pe[2*oe+1]=0;for(;ie.heap_len&lt;2;)pe[2*(xe=ie.heap[++ie.heap_len]=Te&lt;2?++Te:0)]=1,ie.depth[xe]=0,ie.opt_len--,we&amp;&amp;(ie.static_len-=ue[2*xe+1]);for(fe.max_code=Te,oe=ie.heap_len&gt;&gt;1;1&lt;=oe;oe--)X(ie,pe,oe);for(xe=ke;oe=ie.heap[1],ie.heap[1]=ie.heap[ie.heap_len--],X(ie,pe,1),ge=ie.heap[1],ie.heap[--ie.heap_max]=oe,ie.heap[--ie.heap_max]=ge,pe[2*xe]=pe[2*oe]+pe[2*ge],ie.depth[xe]=(ie.depth[oe]&gt;=ie.depth[ge]?ie.depth[oe]:ie.depth[ge])+1,pe[2*oe+1]=pe[2*ge+1]=xe,ie.heap[1]=xe++,X(ie,pe,1),2&lt;=ie.heap_len;);ie.heap[--ie.heap_max]=ie.heap[1],(function(je,De){var Xe,Ve,et,st,Ge,ze,Qe=De.dyn_tree,rt=De.max_code,Ae=De.stat_desc.static_tree,ut=De.stat_desc.has_stree,$t=De.stat_desc.extra_bits,ht=De.stat_desc.extra_base,Tt=De.stat_desc.max_length,It=0;for(st=0;st&lt;=M;st++)je.bl_count[st]=0;for(Qe[2*je.heap[je.heap_max]+1]=0,Xe=je.heap_max+1;Xe&lt;573;Xe++)Tt&lt;(st=Qe[2*Qe[2*(Ve=je.heap[Xe])+1]+1]+1)&amp;&amp;(st=Tt,It++),Qe[2*Ve+1]=st,rt&lt;Ve||(je.bl_count[st]++,Ge=0,ht&lt;=Ve&amp;&amp;(Ge=$t[Ve-ht]),ze=Qe[2*Ve],je.opt_len+=ze*(st+Ge),ut&amp;&amp;(je.static_len+=ze*(Ae[2*Ve+1]+Ge)));if(It!==0){do{for(st=Tt-1;je.bl_count[st]===0;)st--;je.bl_count[st]--,je.bl_count[st+1]+=2,je.bl_count[Tt]--,It-=2}while(0&lt;It);for(st=Tt;st!==0;st--)for(Ve=je.bl_count[st];Ve!==0;)rt&lt;(et=je.heap[--Xe])||(Qe[2*et+1]!==st&amp;&amp;(je.opt_len+=(st-Qe[2*et+1])*Qe[2*et],Qe[2*et+1]=st),Ve--)}})(ie,fe),V(pe,Te,ie.bl_count)}function te(ie,fe,oe){var ge,xe,pe=-1,ue=fe[1],we=0,ke=7,Te=4;for(ue===0&amp;&amp;(ke=138,Te=3),fe[2*(oe+1)+1]=65535,ge=0;ge&lt;=oe;ge++)xe=ue,ue=fe[2*(ge+1)+1],++we&lt;ke&amp;&amp;xe===ue||(we&lt;Te?ie.bl_tree[2*xe]+=we:xe!==0?(xe!==pe&amp;&amp;ie.bl_tree[2*xe]++,ie.bl_tree[32]++):we&lt;=10?ie.bl_tree[34]++:ie.bl_tree[36]++,pe=xe,Te=(we=0)===ue?(ke=138,3):xe===ue?(ke=6,3):(ke=7,4))}function se(ie,fe,oe){var ge,xe,pe=-1,ue=fe[1],we=0,ke=7,Te=4;for(ue===0&amp;&amp;(ke=138,Te=3),ge=0;ge&lt;=oe;ge++)if(xe=ue,ue=fe[2*(ge+1)+1],!(++we&lt;ke&amp;&amp;xe===ue)){if(we&lt;Te)for(;Z(ie,xe,ie.bl_tree),--we!=0;);else xe!==0?(xe!==pe&amp;&amp;(Z(ie,xe,ie.bl_tree),we--),Z(ie,16,ie.bl_tree),Y(ie,we-3,2)):we&lt;=10?(Z(ie,17,ie.bl_tree),Y(ie,we-3,3)):(Z(ie,18,ie.bl_tree),Y(ie,we-11,7));pe=xe,Te=(we=0)===ue?(ke=138,3):xe===ue?(ke=6,3):(ke=7,4)}}y(S);var de=!1;function ce(ie,fe,oe,ge){Y(ie,0+(ge?1:0),3),(function(xe,pe,ue,we){z(xe),B(xe,ue),B(xe,~ue),g.arraySet(xe.pending_buf,xe.window,pe,ue,xe.pending),xe.pending+=ue})(ie,fe,oe)}x._tr_init=function(ie){de||((function(){var fe,oe,ge,xe,pe,ue=new Array(16);for(xe=ge=0;xe&lt;28;xe++)for(L[xe]=ge,fe=0;fe&lt;1&lt;&lt;T[xe];fe++)P[ge++]=xe;for(P[ge-1]=xe,xe=pe=0;xe&lt;16;xe++)for(S[xe]=pe,fe=0;fe&lt;1&lt;&lt;$[xe];fe++)K[pe++]=xe;for(pe&gt;&gt;=7;xe&lt;C;xe++)for(S[xe]=pe&lt;&lt;7,fe=0;fe&lt;1&lt;&lt;$[xe]-7;fe++)K[256+pe++]=xe;for(oe=0;oe&lt;=M;oe++)ue[oe]=0;for(fe=0;fe&lt;=143;)W[2*fe+1]=8,fe++,ue[8]++;for(;fe&lt;=255;)W[2*fe+1]=9,fe++,ue[9]++;for(;fe&lt;=279;)W[2*fe+1]=7,fe++,ue[7]++;for(;fe&lt;=287;)W[2*fe+1]=8,fe++,ue[8]++;for(V(W,287,ue),fe=0;fe&lt;C;fe++)q[2*fe+1]=5,q[2*fe]=ne(fe,5);E=new N(W,T,257,_,M),j=new N(q,$,0,C,M),k=new N(new Array(0),F,0,19,7)})(),de=!0),ie.l_desc=new O(ie.dyn_ltree,E),ie.d_desc=new O(ie.dyn_dtree,j),ie.bl_desc=new O(ie.bl_tree,k),ie.bi_buf=0,ie.bi_valid=0,ee(ie)},x._tr_stored_block=ce,x._tr_flush_block=function(ie,fe,oe,ge){var xe,pe,ue=0;0&lt;ie.level?(ie.strm.data_type===2&amp;&amp;(ie.strm.data_type=(function(we){var ke,Te=4093624447;for(ke=0;ke&lt;=31;ke++,Te&gt;&gt;&gt;=1)if(1&amp;Te&amp;&amp;we.dyn_ltree[2*ke]!==0)return 0;if(we.dyn_ltree[18]!==0||we.dyn_ltree[20]!==0||we.dyn_ltree[26]!==0)return 1;for(ke=32;ke&lt;v;ke++)if(we.dyn_ltree[2*ke]!==0)return 1;return 0})(ie)),Q(ie,ie.l_desc),Q(ie,ie.d_desc),ue=(function(we){var ke;for(te(we,we.dyn_ltree,we.l_desc.max_code),te(we,we.dyn_dtree,we.d_desc.max_code),Q(we,we.bl_desc),ke=18;3&lt;=ke&amp;&amp;we.bl_tree[2*H[ke]+1]===0;ke--);return we.opt_len+=3*(ke+1)+5+5+4,ke})(ie),xe=ie.opt_len+3+7&gt;&gt;&gt;3,(pe=ie.static_len+3+7&gt;&gt;&gt;3)&lt;=xe&amp;&amp;(xe=pe)):xe=pe=oe+5,oe+4&lt;=xe&amp;&amp;fe!==-1?ce(ie,fe,oe,ge):ie.strategy===4||pe===xe?(Y(ie,2+(ge?1:0),3),re(ie,W,q)):(Y(ie,4+(ge?1:0),3),(function(we,ke,Te,je){var De;for(Y(we,ke-257,5),Y(we,Te-1,5),Y(we,je-4,4),De=0;De&lt;je;De++)Y(we,we.bl_tree[2*H[De]+1],3);se(we,we.dyn_ltree,ke-1),se(we,we.dyn_dtree,Te-1)})(ie,ie.l_desc.max_code+1,ie.d_desc.max_code+1,ue+1),re(ie,ie.dyn_ltree,ie.dyn_dtree)),ee(ie),ge&amp;&amp;z(ie)},x._tr_tally=function(ie,fe,oe){return ie.pending_buf[ie.d_buf+2*ie.last_lit]=fe&gt;&gt;&gt;8&amp;255,ie.pending_buf[ie.d_buf+2*ie.last_lit+1]=255&amp;fe,ie.pending_buf[ie.l_buf+ie.last_lit]=255&amp;oe,ie.last_lit++,fe===0?ie.dyn_ltree[2*oe]++:(ie.matches++,fe--,ie.dyn_ltree[2*(P[oe]+v+1)]++,ie.dyn_dtree[2*D(fe)]++),ie.last_lit===ie.lit_bufsize-1},x._tr_align=function(ie){Y(ie,2,3),Z(ie,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)})(ie)}},{&quot;../utils/common&quot;:41}],53:[function(m,p,x){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,x){(function(g){(function(y,v){if(!y.setImmediate){var _,C,M,T,$=1,F={},H=!1,W=y.document,q=Object.getPrototypeOf&amp;&amp;Object.getPrototypeOf(y);q=q&amp;&amp;q.setTimeout?q: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;,L,!1):y.attachEvent(&quot;onmessage&quot;,L),function(E){y.postMessage(T+E,&quot;*&quot;)}):y.MessageChannel?((M=new MessageChannel).port1.onmessage=function(E){P(E.data)},function(E){M.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)},q.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[$]=S,_($),$++},q.clearImmediate=K}function K(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{K(E),H=!1}}}}function L(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,o!==void 0?o: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 Jt&lt;&quot;u&quot;?Jt: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,l){(function(i){(function(){var o=/[\\^$.*+?()[\]{}|]/g,u=RegExp(o.source),c=typeof i==&quot;object&quot;&amp;&amp;i&amp;&amp;i.Object===Object&amp;&amp;i,a=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,d=c||a||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 x(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;:x(y))&amp;&amp;u.test(g)?g.replace(o,&quot;\\$&amp;&quot;):g}}).call(this)}).call(this,typeof Jt&lt;&quot;u&quot;?Jt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],443:[function(t,n,l){(function(i){(function(){var o=&quot;[object Arguments]&quot;,u=&quot;[object Map]&quot;,c=&quot;[object Object]&quot;,a=&quot;[object Set]&quot;,d=/\.|\[(?:[^[\]]*|([&quot;&#039;])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f=/^\w*$/,h=/^\./,m=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|([&quot;&#039;])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,x=/^\[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[o]=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[c]=y[&quot;[object RegExp]&quot;]=y[a]=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;)(),M=typeof l==&quot;object&quot;&amp;&amp;l&amp;&amp;!l.nodeType&amp;&amp;l,T=M&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;n&amp;&amp;!n.nodeType&amp;&amp;n,$=T&amp;&amp;T.exports===M&amp;&amp;v.process,F=(function(){try{return $&amp;&amp;$.binding(&quot;util&quot;)}catch{}})(),H=F&amp;&amp;F.isTypedArray;function W(he,ve,Le,$e){for(var ct=-1,Fe=he?he.length:0;++ct&lt;Fe;){var Ye=he[ct];ve($e,Ye,Le(Ye),he)}return $e}function q(he,ve){for(var Le=-1,$e=he?he.length:0;++Le&lt;$e;)if(ve(he[Le],Le,he))return!0;return!1}function K(he){var ve=!1;if(he!=null&amp;&amp;typeof he.toString!=&quot;function&quot;)try{ve=!!(he+&quot;&quot;)}catch{}return ve}function P(he){var ve=-1,Le=Array(he.size);return he.forEach((function($e,ct){Le[++ve]=[ct,$e]})),Le}function L(he){var ve=-1,Le=Array(he.size);return he.forEach((function($e){Le[++ve]=$e})),Le}var E,j,k,S=Array.prototype,N=Function.prototype,O=Object.prototype,D=C[&quot;__core-js_shared__&quot;],B=(E=/[^.]+$/.exec(D&amp;&amp;D.keys&amp;&amp;D.keys.IE_PROTO||&quot;&quot;))?&quot;Symbol(src)_1.&quot;+E:&quot;&quot;,Y=N.toString,Z=O.hasOwnProperty,ne=O.toString,V=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,R=O.propertyIsEnumerable,X=S.splice,re=(j=Object.keys,k=Object,function(he){return j(k(he))}),Q=yt(C,&quot;DataView&quot;),te=yt(C,&quot;Map&quot;),se=yt(C,&quot;Promise&quot;),de=yt(C,&quot;Set&quot;),ce=yt(C,&quot;WeakMap&quot;),ie=yt(Object,&quot;create&quot;),fe=Ne(Q),oe=Ne(te),ge=Ne(se),xe=Ne(de),pe=Ne(ce),ue=ee?ee.prototype:void 0,we=ue?ue.valueOf:void 0,ke=ue?ue.toString:void 0;function Te(he){var ve=-1,Le=he?he.length:0;for(this.clear();++ve&lt;Le;){var $e=he[ve];this.set($e[0],$e[1])}}function je(he){var ve=-1,Le=he?he.length:0;for(this.clear();++ve&lt;Le;){var $e=he[ve];this.set($e[0],$e[1])}}function De(he){var ve=-1,Le=he?he.length:0;for(this.clear();++ve&lt;Le;){var $e=he[ve];this.set($e[0],$e[1])}}function Xe(he){var ve=-1,Le=he?he.length:0;for(this.__data__=new De;++ve&lt;Le;)this.add(he[ve])}function Ve(he){this.__data__=new je(he)}function et(he,ve){var Le=wt(he)||St(he)?(function(Ye,Ce){for(var nt=-1,it=Array(Ye);++nt&lt;Ye;)it[nt]=Ce(nt);return it})(he.length,String):[],$e=Le.length,ct=!!$e;for(var Fe in he)!Z.call(he,Fe)||ct&amp;&amp;(Fe==&quot;length&quot;||Xt(Fe,$e))||Le.push(Fe);return Le}function st(he,ve){for(var Le=he.length;Le--;)if(Je(he[Le][0],ve))return Le;return-1}function Ge(he,ve,Le,$e){return Qe(he,(function(ct,Fe,Ye){ve($e,ct,Le(ct),Ye)})),$e}Te.prototype.clear=function(){this.__data__=ie?ie(null):{}},Te.prototype.delete=function(he){return this.has(he)&amp;&amp;delete this.__data__[he]},Te.prototype.get=function(he){var ve=this.__data__;if(ie){var Le=ve[he];return Le===&quot;__lodash_hash_undefined__&quot;?void 0:Le}return Z.call(ve,he)?ve[he]:void 0},Te.prototype.has=function(he){var ve=this.__data__;return ie?ve[he]!==void 0:Z.call(ve,he)},Te.prototype.set=function(he,ve){return this.__data__[he]=ie&amp;&amp;ve===void 0?&quot;__lodash_hash_undefined__&quot;:ve,this},je.prototype.clear=function(){this.__data__=[]},je.prototype.delete=function(he){var ve=this.__data__,Le=st(ve,he);return!(Le&lt;0)&amp;&amp;(Le==ve.length-1?ve.pop():X.call(ve,Le,1),!0)},je.prototype.get=function(he){var ve=this.__data__,Le=st(ve,he);return Le&lt;0?void 0:ve[Le][1]},je.prototype.has=function(he){return st(this.__data__,he)&gt;-1},je.prototype.set=function(he,ve){var Le=this.__data__,$e=st(Le,he);return $e&lt;0?Le.push([he,ve]):Le[$e][1]=ve,this},De.prototype.clear=function(){this.__data__={hash:new Te,map:new(te||je),string:new Te}},De.prototype.delete=function(he){return qt(this,he).delete(he)},De.prototype.get=function(he){return qt(this,he).get(he)},De.prototype.has=function(he){return qt(this,he).has(he)},De.prototype.set=function(he,ve){return qt(this,he).set(he,ve),this},Xe.prototype.add=Xe.prototype.push=function(he){return this.__data__.set(he,&quot;__lodash_hash_undefined__&quot;),this},Xe.prototype.has=function(he){return this.__data__.has(he)},Ve.prototype.clear=function(){this.__data__=new je},Ve.prototype.delete=function(he){return this.__data__.delete(he)},Ve.prototype.get=function(he){return this.__data__.get(he)},Ve.prototype.has=function(he){return this.__data__.has(he)},Ve.prototype.set=function(he,ve){var Le=this.__data__;if(Le instanceof je){var $e=Le.__data__;if(!te||$e.length&lt;199)return $e.push([he,ve]),this;Le=this.__data__=new De($e)}return Le.set(he,ve),this};var ze,Qe=(ze=function(he,ve){return he&amp;&amp;rt(he,ve,ur)},function(he,ve){if(he==null)return he;if(!ot(he))return ze(he,ve);for(var Le=he.length,$e=-1,ct=Object(he);++$e&lt;Le&amp;&amp;ve(ct[$e],$e,ct)!==!1;);return he}),rt=(function(he){return function(ve,Le,$e){for(var ct=-1,Fe=Object(ve),Ye=$e(ve),Ce=Ye.length;Ce--;){var nt=Ye[++ct];if(Le(Fe[nt],nt,Fe)===!1)break}return ve}})();function Ae(he,ve){for(var Le=0,$e=(ve=dt(ve,he)?[ve]:Et(ve)).length;he!=null&amp;&amp;Le&lt;$e;)he=he[be(ve[Le++])];return Le&amp;&amp;Le==$e?he:void 0}function ut(he,ve){return he!=null&amp;&amp;ve in Object(he)}function $t(he,ve,Le,$e,ct){return he===ve||(he==null||ve==null||!Dt(he)&amp;&amp;!or(ve)?he!=he&amp;&amp;ve!=ve:(function(Fe,Ye,Ce,nt,it,at){var Mt=wt(Fe),er=wt(Ye),Wt=&quot;[object Array]&quot;,gr=&quot;[object Array]&quot;;Mt||(Wt=(Wt=Rt(Fe))==o?c:Wt),er||(gr=(gr=Rt(Ye))==o?c:gr);var tr=Wt==c&amp;&amp;!K(Fe),Lr=gr==c&amp;&amp;!K(Ye),_r=Wt==gr;if(_r&amp;&amp;!tr)return at||(at=new Ve),Mt||nr(Fe)?Ut(Fe,Ye,Ce,nt,it,at):(function(Zt,Vt,Mr,bi,ks,jt,Tn){switch(Mr){case&quot;[object DataView]&quot;:if(Zt.byteLength!=Vt.byteLength||Zt.byteOffset!=Vt.byteOffset)return!1;Zt=Zt.buffer,Vt=Vt.buffer;case&quot;[object ArrayBuffer]&quot;:return!(Zt.byteLength!=Vt.byteLength||!bi(new z(Zt),new z(Vt)));case&quot;[object Boolean]&quot;:case&quot;[object Date]&quot;:case&quot;[object Number]&quot;:return Je(+Zt,+Vt);case&quot;[object Error]&quot;:return Zt.name==Vt.name&amp;&amp;Zt.message==Vt.message;case&quot;[object RegExp]&quot;:case&quot;[object String]&quot;:return Zt==Vt+&quot;&quot;;case u:var ai=P;case a:var Mi=2&amp;jt;if(ai||(ai=L),Zt.size!=Vt.size&amp;&amp;!Mi)return!1;var on=Tn.get(Zt);if(on)return on==Vt;jt|=1,Tn.set(Zt,Vt);var oi=Ut(ai(Zt),ai(Vt),bi,ks,jt,Tn);return Tn.delete(Zt),oi;case&quot;[object Symbol]&quot;:if(we)return we.call(Zt)==we.call(Vt)}return!1})(Fe,Ye,Wt,Ce,nt,it,at);if(!(2&amp;it)){var Pn=tr&amp;&amp;Z.call(Fe,&quot;__wrapped__&quot;),Qi=Lr&amp;&amp;Z.call(Ye,&quot;__wrapped__&quot;);if(Pn||Qi){var Ji=Pn?Fe.value():Fe,xi=Qi?Ye.value():Ye;return at||(at=new Ve),Ce(Ji,xi,nt,it,at)}}return _r?(at||(at=new Ve),(function(Zt,Vt,Mr,bi,ks,jt){var Tn=2&amp;ks,ai=ur(Zt),Mi=ai.length,on=ur(Vt).length;if(Mi!=on&amp;&amp;!Tn)return!1;for(var oi=Mi;oi--;){var Hn=ai[oi];if(!(Tn?Hn in Vt:Z.call(Vt,Hn)))return!1}var Hs=jt.get(Zt);if(Hs&amp;&amp;jt.get(Vt))return Hs==Vt;var yi=!0;jt.set(Zt,Vt),jt.set(Vt,Zt);for(var yn=Tn;++oi&lt;Mi;){Hn=ai[oi];var In=Zt[Hn],Rn=Vt[Hn];if(bi)var vn=Tn?bi(Rn,In,Hn,Vt,Zt,jt):bi(In,Rn,Hn,Zt,Vt,jt);if(!(vn===void 0?In===Rn||Mr(In,Rn,bi,ks,jt):vn)){yi=!1;break}yn||(yn=Hn==&quot;constructor&quot;)}if(yi&amp;&amp;!yn){var Dn=Zt.constructor,Wn=Vt.constructor;Dn==Wn||!(&quot;constructor&quot;in Zt)||!(&quot;constructor&quot;in Vt)||typeof Dn==&quot;function&quot;&amp;&amp;Dn instanceof Dn&amp;&amp;typeof Wn==&quot;function&quot;&amp;&amp;Wn instanceof Wn||(yi=!1)}return jt.delete(Zt),jt.delete(Vt),yi})(Fe,Ye,Ce,nt,it,at)):!1})(he,ve,$t,Le,$e,ct))}function ht(he){return!(!Dt(he)||(function(ve){return!!B&amp;&amp;B in ve})(he))&amp;&amp;(At(he)||K(he)?V:x).test(Ne(he))}function Tt(he){return typeof he==&quot;function&quot;?he:he==null?Ar:typeof he==&quot;object&quot;?wt(he)?(function($e,ct){return dt($e)&amp;&amp;Ft(ct)?Ht(be($e),ct):function(Fe){var Ye=(function(Ce,nt,it){var at=Ce==null?void 0:Ae(Ce,nt);return at===void 0?it:at})(Fe,$e);return Ye===void 0&amp;&amp;Ye===ct?(function(Ce,nt){return Ce!=null&amp;&amp;(function(it,at,Mt){at=dt(at,it)?[at]:Et(at);for(var er,Wt=-1,gr=at.length;++Wt&lt;gr;){var tr=be(at[Wt]);if(!(er=it!=null&amp;&amp;Mt(it,tr)))break;it=it[tr]}return er||!!(gr=it?it.length:0)&amp;&amp;Ct(gr)&amp;&amp;Xt(tr,gr)&amp;&amp;(wt(it)||St(it))})(Ce,nt,ut)})(Fe,$e):$t(ct,Ye,void 0,3)}})(he[0],he[1]):(function($e){var ct=(function(Fe){for(var Ye=ur(Fe),Ce=Ye.length;Ce--;){var nt=Ye[Ce],it=Fe[nt];Ye[Ce]=[nt,it,Ft(it)]}return Ye})($e);return ct.length==1&amp;&amp;ct[0][2]?Ht(ct[0][0],ct[0][1]):function(Fe){return Fe===$e||(function(Ye,Ce,nt,it){var at=nt.length,Mt=at;if(Ye==null)return!Mt;for(Ye=Object(Ye);at--;){var er=nt[at];if(er[2]?er[1]!==Ye[er[0]]:!(er[0]in Ye))return!1}for(;++at&lt;Mt;){var Wt=(er=nt[at])[0],gr=Ye[Wt],tr=er[1];if(er[2]){if(gr===void 0&amp;&amp;!(Wt in Ye))return!1}else{var Lr=new Ve,_r;if(!(_r===void 0?$t(tr,gr,it,3,Lr):_r))return!1}}return!0})(Fe,$e,ct)}})(he):dt(ve=he)?(Le=be(ve),function($e){return $e?.[Le]}):(function($e){return function(ct){return Ae(ct,$e)}})(ve);var ve,Le}function It(he){if(Le=(ve=he)&amp;&amp;ve.constructor,$e=typeof Le==&quot;function&quot;&amp;&amp;Le.prototype||O,ve!==$e)return re(he);var ve,Le,$e,ct=[];for(var Fe in Object(he))Z.call(he,Fe)&amp;&amp;Fe!=&quot;constructor&quot;&amp;&amp;ct.push(Fe);return ct}function Et(he){return wt(he)?he:Nt(he)}function Ut(he,ve,Le,$e,ct,Fe){var Ye=2&amp;ct,Ce=he.length,nt=ve.length;if(Ce!=nt&amp;&amp;!(Ye&amp;&amp;nt&gt;Ce))return!1;var it=Fe.get(he);if(it&amp;&amp;Fe.get(ve))return it==ve;var at=-1,Mt=!0,er=1&amp;ct?new Xe:void 0;for(Fe.set(he,ve),Fe.set(ve,he);++at&lt;Ce;){var Wt=he[at],gr=ve[at];if($e)var tr=Ye?$e(gr,Wt,at,ve,he,Fe):$e(Wt,gr,at,he,ve,Fe);if(tr!==void 0){if(tr)continue;Mt=!1;break}if(er){if(!q(ve,(function(Lr,_r){if(!er.has(_r)&amp;&amp;(Wt===Lr||Le(Wt,Lr,$e,ct,Fe)))return er.add(_r)}))){Mt=!1;break}}else if(Wt!==gr&amp;&amp;!Le(Wt,gr,$e,ct,Fe)){Mt=!1;break}}return Fe.delete(he),Fe.delete(ve),Mt}function qt(he,ve){var Le,$e,ct=he.__data__;return(($e=typeof(Le=ve))==&quot;string&quot;||$e==&quot;number&quot;||$e==&quot;symbol&quot;||$e==&quot;boolean&quot;?Le!==&quot;__proto__&quot;:Le===null)?ct[typeof ve==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:ct.map}function yt(he,ve){var Le=(function($e,ct){return $e?.[ct]})(he,ve);return ht(Le)?Le:void 0}var Rt=function(he){return ne.call(he)};function Xt(he,ve){return!!(ve=ve??9007199254740991)&amp;&amp;(typeof he==&quot;number&quot;||g.test(he))&amp;&amp;he&gt;-1&amp;&amp;he%1==0&amp;&amp;he&lt;ve}function dt(he,ve){if(wt(he))return!1;var Le=typeof he;return!(Le!=&quot;number&quot;&amp;&amp;Le!=&quot;symbol&quot;&amp;&amp;Le!=&quot;boolean&quot;&amp;&amp;he!=null&amp;&amp;!Gt(he))||f.test(he)||!d.test(he)||ve!=null&amp;&amp;he in Object(ve)}function Ft(he){return he==he&amp;&amp;!Dt(he)}function Ht(he,ve){return function(Le){return Le!=null&amp;&amp;Le[he]===ve&amp;&amp;(ve!==void 0||he in Object(Le))}}(Q&amp;&amp;Rt(new Q(new ArrayBuffer(1)))!=&quot;[object DataView]&quot;||te&amp;&amp;Rt(new te)!=u||se&amp;&amp;Rt(se.resolve())!=&quot;[object Promise]&quot;||de&amp;&amp;Rt(new de)!=a||ce&amp;&amp;Rt(new ce)!=&quot;[object WeakMap]&quot;)&amp;&amp;(Rt=function(he){var ve=ne.call(he),Le=ve==c?he.constructor:void 0,$e=Le?Ne(Le):void 0;if($e)switch($e){case fe:return&quot;[object DataView]&quot;;case oe:return u;case ge:return&quot;[object Promise]&quot;;case xe:return a;case pe:return&quot;[object WeakMap]&quot;}return ve});var Nt=vt((function(he){var ve;he=(ve=he)==null?&quot;&quot;:(function($e){if(typeof $e==&quot;string&quot;)return $e;if(Gt($e))return ke?ke.call($e):&quot;&quot;;var ct=$e+&quot;&quot;;return ct==&quot;0&quot;&amp;&amp;1/$e==-1/0?&quot;-0&quot;:ct})(ve);var Le=[];return h.test(he)&amp;&amp;Le.push(&quot;&quot;),he.replace(m,(function($e,ct,Fe,Ye){Le.push(Fe?Ye.replace(p,&quot;$1&quot;):ct||$e)})),Le}));function be(he){if(typeof he==&quot;string&quot;||Gt(he))return he;var ve=he+&quot;&quot;;return ve==&quot;0&quot;&amp;&amp;1/he==-1/0?&quot;-0&quot;:ve}function Ne(he){if(he!=null){try{return Y.call(he)}catch{}try{return he+&quot;&quot;}catch{}}return&quot;&quot;}var Ie,Ke=(Ie=function(he,ve,Le){Z.call(he,Le)?he[Le].push(ve):he[Le]=[ve]},function(he,ve){var Le=wt(he)?W:Ge,$e={};return Le(he,Ie,Tt(ve),$e)});function vt(he,ve){if(typeof he!=&quot;function&quot;||ve&amp;&amp;typeof ve!=&quot;function&quot;)throw new TypeError(&quot;Expected a function&quot;);var Le=function(){var $e=arguments,ct=ve?ve.apply(this,$e):$e[0],Fe=Le.cache;if(Fe.has(ct))return Fe.get(ct);var Ye=he.apply(this,$e);return Le.cache=Fe.set(ct,Ye),Ye};return Le.cache=new(vt.Cache||De),Le}function Je(he,ve){return he===ve||he!=he&amp;&amp;ve!=ve}function St(he){return(function(ve){return or(ve)&amp;&amp;ot(ve)})(he)&amp;&amp;Z.call(he,&quot;callee&quot;)&amp;&amp;(!R.call(he,&quot;callee&quot;)||ne.call(he)==o)}vt.Cache=De;var wt=Array.isArray;function ot(he){return he!=null&amp;&amp;Ct(he.length)&amp;&amp;!At(he)}function At(he){var ve=Dt(he)?ne.call(he):&quot;&quot;;return ve==&quot;[object Function]&quot;||ve==&quot;[object GeneratorFunction]&quot;}function Ct(he){return typeof he==&quot;number&quot;&amp;&amp;he&gt;-1&amp;&amp;he%1==0&amp;&amp;he&lt;=9007199254740991}function Dt(he){var ve=typeof he;return!!he&amp;&amp;(ve==&quot;object&quot;||ve==&quot;function&quot;)}function or(he){return!!he&amp;&amp;typeof he==&quot;object&quot;}function Gt(he){return typeof he==&quot;symbol&quot;||or(he)&amp;&amp;ne.call(he)==&quot;[object Symbol]&quot;}var nr=H?(function(he){return function(ve){return he(ve)}})(H):function(he){return or(he)&amp;&amp;Ct(he.length)&amp;&amp;!!y[ne.call(he)]};function ur(he){return ot(he)?et(he):It(he)}function Ar(he){return he}n.exports=Ke}).call(this)}).call(this,typeof Jt&lt;&quot;u&quot;?Jt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],444:[function(t,n,l){var i=Object.prototype.toString;n.exports=function(o){return o===!0||o===!1||(function(u){return!!u&amp;&amp;typeof u==&quot;object&quot;})(o)&amp;&amp;i.call(o)==&quot;[object Boolean]&quot;}},{}],445:[function(t,n,l){(function(i){(function(){var o=&quot;[object Arguments]&quot;,u=&quot;[object Map]&quot;,c=&quot;[object Object]&quot;,a=&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[o]=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[c]=h[&quot;[object RegExp]&quot;]=h[a]=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,x=m||p||Function(&quot;return this&quot;)(),g=typeof l==&quot;object&quot;&amp;&amp;l&amp;&amp;!l.nodeType&amp;&amp;l,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{}})(),M=C&amp;&amp;C.isTypedArray;function T(be,Ne){for(var Ie=-1,Ke=be==null?0:be.length;++Ie&lt;Ke;)if(Ne(be[Ie],Ie,be))return!0;return!1}function $(be){var Ne=-1,Ie=Array(be.size);return be.forEach((function(Ke,vt){Ie[++Ne]=[vt,Ke]})),Ie}function F(be){var Ne=-1,Ie=Array(be.size);return be.forEach((function(Ke){Ie[++Ne]=Ke})),Ie}var H,W,q,K=Array.prototype,P=Function.prototype,L=Object.prototype,E=x[&quot;__core-js_shared__&quot;],j=P.toString,k=L.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=L.toString,O=RegExp(&quot;^&quot;+j.call(k).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),D=v?x.Buffer:void 0,B=x.Symbol,Y=x.Uint8Array,Z=L.propertyIsEnumerable,ne=K.splice,V=B?B.toStringTag:void 0,ee=Object.getOwnPropertySymbols,z=D?D.isBuffer:void 0,R=(W=Object.keys,q=Object,function(be){return W(q(be))}),X=ut(x,&quot;DataView&quot;),re=ut(x,&quot;Map&quot;),Q=ut(x,&quot;Promise&quot;),te=ut(x,&quot;Set&quot;),se=ut(x,&quot;WeakMap&quot;),de=ut(Object,&quot;create&quot;),ce=It(X),ie=It(re),fe=It(Q),oe=It(te),ge=It(se),xe=B?B.prototype:void 0,pe=xe?xe.valueOf:void 0;function ue(be){var Ne=-1,Ie=be==null?0:be.length;for(this.clear();++Ne&lt;Ie;){var Ke=be[Ne];this.set(Ke[0],Ke[1])}}function we(be){var Ne=-1,Ie=be==null?0:be.length;for(this.clear();++Ne&lt;Ie;){var Ke=be[Ne];this.set(Ke[0],Ke[1])}}function ke(be){var Ne=-1,Ie=be==null?0:be.length;for(this.clear();++Ne&lt;Ie;){var Ke=be[Ne];this.set(Ke[0],Ke[1])}}function Te(be){var Ne=-1,Ie=be==null?0:be.length;for(this.__data__=new ke;++Ne&lt;Ie;)this.add(be[Ne])}function je(be){var Ne=this.__data__=new we(be);this.size=Ne.size}function De(be,Ne){var Ie=qt(be),Ke=!Ie&amp;&amp;Ut(be),vt=!Ie&amp;&amp;!Ke&amp;&amp;yt(be),Je=!Ie&amp;&amp;!Ke&amp;&amp;!vt&amp;&amp;Ht(be),St=Ie||Ke||vt||Je,wt=St?(function(Ct,Dt){for(var or=-1,Gt=Array(Ct);++or&lt;Ct;)Gt[or]=Dt(or);return Gt})(be.length,String):[],ot=wt.length;for(var At in be)!k.call(be,At)||St&amp;&amp;(At==&quot;length&quot;||vt&amp;&amp;(At==&quot;offset&quot;||At==&quot;parent&quot;)||Je&amp;&amp;(At==&quot;buffer&quot;||At==&quot;byteLength&quot;||At==&quot;byteOffset&quot;)||Tt(At,ot))||wt.push(At);return wt}function Xe(be,Ne){for(var Ie=be.length;Ie--;)if(Et(be[Ie][0],Ne))return Ie;return-1}function Ve(be){return be==null?be===void 0?&quot;[object Undefined]&quot;:&quot;[object Null]&quot;:V&amp;&amp;V in Object(be)?(function(Ne){var Ie=k.call(Ne,V),Ke=Ne[V];try{Ne[V]=void 0;var vt=!0}catch{}var Je=N.call(Ne);return vt&amp;&amp;(Ie?Ne[V]=Ke:delete Ne[V]),Je})(be):(function(Ne){return N.call(Ne)})(be)}function et(be){return Ft(be)&amp;&amp;Ve(be)==o}function st(be,Ne,Ie,Ke,vt){return be===Ne||(be==null||Ne==null||!Ft(be)&amp;&amp;!Ft(Ne)?be!=be&amp;&amp;Ne!=Ne:(function(Je,St,wt,ot,At,Ct){var Dt=qt(Je),or=qt(St),Gt=Dt?&quot;[object Array]&quot;:ht(Je),nr=or?&quot;[object Array]&quot;:ht(St),ur=(Gt=Gt==o?c:Gt)==c,Ar=(nr=nr==o?c:nr)==c,he=Gt==nr;if(he&amp;&amp;yt(Je)){if(!yt(St))return!1;Dt=!0,ur=!1}if(he&amp;&amp;!ur)return Ct||(Ct=new je),Dt||Ht(Je)?Qe(Je,St,wt,ot,At,Ct):(function(Fe,Ye,Ce,nt,it,at,Mt){switch(Ce){case&quot;[object DataView]&quot;:if(Fe.byteLength!=Ye.byteLength||Fe.byteOffset!=Ye.byteOffset)return!1;Fe=Fe.buffer,Ye=Ye.buffer;case&quot;[object ArrayBuffer]&quot;:return!(Fe.byteLength!=Ye.byteLength||!at(new Y(Fe),new Y(Ye)));case&quot;[object Boolean]&quot;:case&quot;[object Date]&quot;:case&quot;[object Number]&quot;:return Et(+Fe,+Ye);case&quot;[object Error]&quot;:return Fe.name==Ye.name&amp;&amp;Fe.message==Ye.message;case&quot;[object RegExp]&quot;:case&quot;[object String]&quot;:return Fe==Ye+&quot;&quot;;case u:var er=$;case a:var Wt=1&amp;nt;if(er||(er=F),Fe.size!=Ye.size&amp;&amp;!Wt)return!1;var gr=Mt.get(Fe);if(gr)return gr==Ye;nt|=2,Mt.set(Fe,Ye);var tr=Qe(er(Fe),er(Ye),nt,it,at,Mt);return Mt.delete(Fe),tr;case&quot;[object Symbol]&quot;:if(pe)return pe.call(Fe)==pe.call(Ye)}return!1})(Je,St,Gt,wt,ot,At,Ct);if(!(1&amp;wt)){var ve=ur&amp;&amp;k.call(Je,&quot;__wrapped__&quot;),Le=Ar&amp;&amp;k.call(St,&quot;__wrapped__&quot;);if(ve||Le){var $e=ve?Je.value():Je,ct=Le?St.value():St;return Ct||(Ct=new je),At($e,ct,wt,ot,Ct)}}return he?(Ct||(Ct=new je),(function(Fe,Ye,Ce,nt,it,at){var Mt=1&amp;Ce,er=rt(Fe),Wt=er.length,gr=rt(Ye).length;if(Wt!=gr&amp;&amp;!Mt)return!1;for(var tr=Wt;tr--;){var Lr=er[tr];if(!(Mt?Lr in Ye:k.call(Ye,Lr)))return!1}var _r=at.get(Fe);if(_r&amp;&amp;at.get(Ye))return _r==Ye;var Pn=!0;at.set(Fe,Ye),at.set(Ye,Fe);for(var Qi=Mt;++tr&lt;Wt;){Lr=er[tr];var Ji=Fe[Lr],xi=Ye[Lr];if(nt)var Zt=Mt?nt(xi,Ji,Lr,Ye,Fe,at):nt(Ji,xi,Lr,Fe,Ye,at);if(!(Zt===void 0?Ji===xi||it(Ji,xi,Ce,nt,at):Zt)){Pn=!1;break}Qi||(Qi=Lr==&quot;constructor&quot;)}if(Pn&amp;&amp;!Qi){var Vt=Fe.constructor,Mr=Ye.constructor;Vt==Mr||!(&quot;constructor&quot;in Fe)||!(&quot;constructor&quot;in Ye)||typeof Vt==&quot;function&quot;&amp;&amp;Vt instanceof Vt&amp;&amp;typeof Mr==&quot;function&quot;&amp;&amp;Mr instanceof Mr||(Pn=!1)}return at.delete(Fe),at.delete(Ye),Pn})(Je,St,wt,ot,At,Ct)):!1})(be,Ne,Ie,Ke,st,vt))}function Ge(be){return!(!dt(be)||(function(Ne){return!!S&amp;&amp;S in Ne})(be))&amp;&amp;(Rt(be)?O:d).test(It(be))}function ze(be){if(Ie=(Ne=be)&amp;&amp;Ne.constructor,Ke=typeof Ie==&quot;function&quot;&amp;&amp;Ie.prototype||L,Ne!==Ke)return R(be);var Ne,Ie,Ke,vt=[];for(var Je in Object(be))k.call(be,Je)&amp;&amp;Je!=&quot;constructor&quot;&amp;&amp;vt.push(Je);return vt}function Qe(be,Ne,Ie,Ke,vt,Je){var St=1&amp;Ie,wt=be.length,ot=Ne.length;if(wt!=ot&amp;&amp;!(St&amp;&amp;ot&gt;wt))return!1;var At=Je.get(be);if(At&amp;&amp;Je.get(Ne))return At==Ne;var Ct=-1,Dt=!0,or=2&amp;Ie?new Te:void 0;for(Je.set(be,Ne),Je.set(Ne,be);++Ct&lt;wt;){var Gt=be[Ct],nr=Ne[Ct];if(Ke)var ur=St?Ke(nr,Gt,Ct,Ne,be,Je):Ke(Gt,nr,Ct,be,Ne,Je);if(ur!==void 0){if(ur)continue;Dt=!1;break}if(or){if(!T(Ne,(function(Ar,he){if(ve=he,!or.has(ve)&amp;&amp;(Gt===Ar||vt(Gt,Ar,Ie,Ke,Je)))return or.push(he);var ve}))){Dt=!1;break}}else if(Gt!==nr&amp;&amp;!vt(Gt,nr,Ie,Ke,Je)){Dt=!1;break}}return Je.delete(be),Je.delete(Ne),Dt}function rt(be){return(function(Ne,Ie,Ke){var vt=Ie(Ne);return qt(Ne)?vt:(function(Je,St){for(var wt=-1,ot=St.length,At=Je.length;++wt&lt;ot;)Je[At+wt]=St[wt];return Je})(vt,Ke(Ne))})(be,Nt,$t)}function Ae(be,Ne){var Ie,Ke,vt=be.__data__;return((Ke=typeof(Ie=Ne))==&quot;string&quot;||Ke==&quot;number&quot;||Ke==&quot;symbol&quot;||Ke==&quot;boolean&quot;?Ie!==&quot;__proto__&quot;:Ie===null)?vt[typeof Ne==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:vt.map}function ut(be,Ne){var Ie=(function(Ke,vt){return Ke?.[vt]})(be,Ne);return Ge(Ie)?Ie:void 0}ue.prototype.clear=function(){this.__data__=de?de(null):{},this.size=0},ue.prototype.delete=function(be){var Ne=this.has(be)&amp;&amp;delete this.__data__[be];return this.size-=Ne?1:0,Ne},ue.prototype.get=function(be){var Ne=this.__data__;if(de){var Ie=Ne[be];return Ie===&quot;__lodash_hash_undefined__&quot;?void 0:Ie}return k.call(Ne,be)?Ne[be]:void 0},ue.prototype.has=function(be){var Ne=this.__data__;return de?Ne[be]!==void 0:k.call(Ne,be)},ue.prototype.set=function(be,Ne){var Ie=this.__data__;return this.size+=this.has(be)?0:1,Ie[be]=de&amp;&amp;Ne===void 0?&quot;__lodash_hash_undefined__&quot;:Ne,this},we.prototype.clear=function(){this.__data__=[],this.size=0},we.prototype.delete=function(be){var Ne=this.__data__,Ie=Xe(Ne,be);return!(Ie&lt;0)&amp;&amp;(Ie==Ne.length-1?Ne.pop():ne.call(Ne,Ie,1),--this.size,!0)},we.prototype.get=function(be){var Ne=this.__data__,Ie=Xe(Ne,be);return Ie&lt;0?void 0:Ne[Ie][1]},we.prototype.has=function(be){return Xe(this.__data__,be)&gt;-1},we.prototype.set=function(be,Ne){var Ie=this.__data__,Ke=Xe(Ie,be);return Ke&lt;0?(++this.size,Ie.push([be,Ne])):Ie[Ke][1]=Ne,this},ke.prototype.clear=function(){this.size=0,this.__data__={hash:new ue,map:new(re||we),string:new ue}},ke.prototype.delete=function(be){var Ne=Ae(this,be).delete(be);return this.size-=Ne?1:0,Ne},ke.prototype.get=function(be){return Ae(this,be).get(be)},ke.prototype.has=function(be){return Ae(this,be).has(be)},ke.prototype.set=function(be,Ne){var Ie=Ae(this,be),Ke=Ie.size;return Ie.set(be,Ne),this.size+=Ie.size==Ke?0:1,this},Te.prototype.add=Te.prototype.push=function(be){return this.__data__.set(be,&quot;__lodash_hash_undefined__&quot;),this},Te.prototype.has=function(be){return this.__data__.has(be)},je.prototype.clear=function(){this.__data__=new we,this.size=0},je.prototype.delete=function(be){var Ne=this.__data__,Ie=Ne.delete(be);return this.size=Ne.size,Ie},je.prototype.get=function(be){return this.__data__.get(be)},je.prototype.has=function(be){return this.__data__.has(be)},je.prototype.set=function(be,Ne){var Ie=this.__data__;if(Ie instanceof we){var Ke=Ie.__data__;if(!re||Ke.length&lt;199)return Ke.push([be,Ne]),this.size=++Ie.size,this;Ie=this.__data__=new ke(Ke)}return Ie.set(be,Ne),this.size=Ie.size,this};var $t=ee?function(be){return be==null?[]:(be=Object(be),(function(Ne,Ie){for(var Ke=-1,vt=Ne==null?0:Ne.length,Je=0,St=[];++Ke&lt;vt;){var wt=Ne[Ke];Ie(wt,Ke,Ne)&amp;&amp;(St[Je++]=wt)}return St})(ee(be),(function(Ne){return Z.call(be,Ne)})))}:function(){return[]},ht=Ve;function Tt(be,Ne){return!!(Ne=Ne??9007199254740991)&amp;&amp;(typeof be==&quot;number&quot;||f.test(be))&amp;&amp;be&gt;-1&amp;&amp;be%1==0&amp;&amp;be&lt;Ne}function It(be){if(be!=null){try{return j.call(be)}catch{}try{return be+&quot;&quot;}catch{}}return&quot;&quot;}function Et(be,Ne){return be===Ne||be!=be&amp;&amp;Ne!=Ne}(X&amp;&amp;ht(new X(new ArrayBuffer(1)))!=&quot;[object DataView]&quot;||re&amp;&amp;ht(new re)!=u||Q&amp;&amp;ht(Q.resolve())!=&quot;[object Promise]&quot;||te&amp;&amp;ht(new te)!=a||se&amp;&amp;ht(new se)!=&quot;[object WeakMap]&quot;)&amp;&amp;(ht=function(be){var Ne=Ve(be),Ie=Ne==c?be.constructor:void 0,Ke=Ie?It(Ie):&quot;&quot;;if(Ke)switch(Ke){case ce:return&quot;[object DataView]&quot;;case ie:return u;case fe:return&quot;[object Promise]&quot;;case oe:return a;case ge:return&quot;[object WeakMap]&quot;}return Ne});var Ut=et((function(){return arguments})())?et:function(be){return Ft(be)&amp;&amp;k.call(be,&quot;callee&quot;)&amp;&amp;!Z.call(be,&quot;callee&quot;)},qt=Array.isArray,yt=z||function(){return!1};function Rt(be){if(!dt(be))return!1;var Ne=Ve(be);return Ne==&quot;[object Function]&quot;||Ne==&quot;[object GeneratorFunction]&quot;||Ne==&quot;[object AsyncFunction]&quot;||Ne==&quot;[object Proxy]&quot;}function Xt(be){return typeof be==&quot;number&quot;&amp;&amp;be&gt;-1&amp;&amp;be%1==0&amp;&amp;be&lt;=9007199254740991}function dt(be){var Ne=typeof be;return be!=null&amp;&amp;(Ne==&quot;object&quot;||Ne==&quot;function&quot;)}function Ft(be){return be!=null&amp;&amp;typeof be==&quot;object&quot;}var Ht=M?(function(be){return function(Ne){return be(Ne)}})(M):function(be){return Ft(be)&amp;&amp;Xt(be.length)&amp;&amp;!!h[Ve(be)]};function Nt(be){return(Ne=be)!=null&amp;&amp;Xt(Ne.length)&amp;&amp;!Rt(Ne)?De(be):ze(be);var Ne}n.exports=function(be,Ne){return st(be,Ne)}}).call(this)}).call(this,typeof Jt&lt;&quot;u&quot;?Jt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],446:[function(t,n,l){(function(i){(function(){var o=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,c=o||u||Function(&quot;return this&quot;)(),a=Object.prototype,d=a.hasOwnProperty,f=a.toString,h=c.Symbol,m=h?h.toStringTag:void 0;function p(x){return x==null?x===void 0?&quot;[object Undefined]&quot;:&quot;[object Null]&quot;:m&amp;&amp;m in Object(x)?(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})(x):(function(g){return f.call(g)})(x)}n.exports=function(x){if(!(function(y){var v=typeof y;return y!=null&amp;&amp;(v==&quot;object&quot;||v==&quot;function&quot;)})(x))return!1;var g=p(x);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 Jt&lt;&quot;u&quot;?Jt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],447:[function(t,n,l){n.exports=function(i){return i==null}},{}],448:[function(t,n,l){n.exports=function(i){return i===void 0}},{}],449:[function(t,n,l){(function(i){(function(){var o=/^\[object .+?Constructor\]$/,u=typeof i==&quot;object&quot;&amp;&amp;i&amp;&amp;i.Object===Object&amp;&amp;i,c=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,a=u||c||Function(&quot;return this&quot;)();function d(B,Y){return!!(B&amp;&amp;B.length)&amp;&amp;(function(Z,ne,V){if(ne!=ne)return(function(R,X,re,Q){for(var te=R.length,se=re+-1;++se&lt;te;)if(X(R[se],se,R))return se;return-1})(Z,f,V);for(var ee=V-1,z=Z.length;++ee&lt;z;)if(Z[ee]===ne)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(ne){Z[++Y]=ne})),Z}var p,x=Array.prototype,g=Function.prototype,y=Object.prototype,v=a[&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,M=y.hasOwnProperty,T=y.toString,$=RegExp(&quot;^&quot;+C.call(M).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),F=x.splice,H=O(a,&quot;Map&quot;),W=O(a,&quot;Set&quot;),q=O(Object,&quot;create&quot;);function K(B){var Y=-1,Z=B?B.length:0;for(this.clear();++Y&lt;Z;){var ne=B[Y];this.set(ne[0],ne[1])}}function P(B){var Y=-1,Z=B?B.length:0;for(this.clear();++Y&lt;Z;){var ne=B[Y];this.set(ne[0],ne[1])}}function L(B){var Y=-1,Z=B?B.length:0;for(this.clear();++Y&lt;Z;){var ne=B[Y];this.set(ne[0],ne[1])}}function E(B){var Y=-1,Z=B?B.length:0;for(this.__data__=new L;++Y&lt;Z;)this.add(B[Y])}function j(B,Y){for(var Z,ne,V=B.length;V--;)if((Z=B[V][0])===(ne=Y)||Z!=Z&amp;&amp;ne!=ne)return V;return-1}function k(B){return!(!D(B)||(Y=B,_&amp;&amp;_ in Y))&amp;&amp;((function(Z){var ne=D(Z)?T.call(Z):&quot;&quot;;return ne==&quot;[object Function]&quot;||ne==&quot;[object GeneratorFunction]&quot;})(B)||(function(Z){var ne=!1;if(Z!=null&amp;&amp;typeof Z.toString!=&quot;function&quot;)try{ne=!!(Z+&quot;&quot;)}catch{}return ne})(B)?$:o).test((function(Z){if(Z!=null){try{return C.call(Z)}catch{}try{return Z+&quot;&quot;}catch{}}return&quot;&quot;})(B));var Y}K.prototype.clear=function(){this.__data__=q?q(null):{}},K.prototype.delete=function(B){return this.has(B)&amp;&amp;delete this.__data__[B]},K.prototype.get=function(B){var Y=this.__data__;if(q){var Z=Y[B];return Z===&quot;__lodash_hash_undefined__&quot;?void 0:Z}return M.call(Y,B)?Y[B]:void 0},K.prototype.has=function(B){var Y=this.__data__;return q?Y[B]!==void 0:M.call(Y,B)},K.prototype.set=function(B,Y){return this.__data__[B]=q&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__,ne=j(Z,B);return ne&lt;0?Z.push([B,Y]):Z[ne][1]=Y,this},L.prototype.clear=function(){this.__data__={hash:new K,map:new(H||P),string:new K}},L.prototype.delete=function(B){return N(this,B).delete(B)},L.prototype.get=function(B){return N(this,B).get(B)},L.prototype.has=function(B){return N(this,B).has(B)},L.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,ne,V=B.__data__;return((ne=typeof(Z=Y))==&quot;string&quot;||ne==&quot;number&quot;||ne==&quot;symbol&quot;||ne==&quot;boolean&quot;?Z!==&quot;__proto__&quot;:Z===null)?V[typeof Y==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:V.map}function O(B,Y){var Z=(function(ne,V){return ne?.[V]})(B,Y);return k(Z)?Z:void 0}function D(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,ne){var V=-1,ee=d,z=Y.length,R=!0,X=[],re=X;if(z&gt;=200){var Q=S(Y);if(Q)return m(Q);R=!1,ee=h,re=new E}else re=X;e:for(;++V&lt;z;){var te=Y[V],se=te;if(te=te!==0?te:0,R&amp;&amp;se==se){for(var de=re.length;de--;)if(re[de]===se)continue e;X.push(te)}else ee(re,se,ne)||(re!==X&amp;&amp;re.push(se),X.push(te))}return X})(B):[]}}).call(this)}).call(this,typeof Jt&lt;&quot;u&quot;?Jt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],450:[function(t,n,l){var i=t(&quot;inherits&quot;),o=t(&quot;hash-base&quot;),u=t(&quot;safe-buffer&quot;).Buffer,c=new Array(16);function a(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function d(x,g){return x&lt;&lt;g|x&gt;&gt;&gt;32-g}function f(x,g,y,v,_,C,M){return d(x+(g&amp;y|~g&amp;v)+_+C|0,M)+g|0}function h(x,g,y,v,_,C,M){return d(x+(g&amp;v|y&amp;~v)+_+C|0,M)+g|0}function m(x,g,y,v,_,C,M){return d(x+(g^y^v)+_+C|0,M)+g|0}function p(x,g,y,v,_,C,M){return d(x+(y^(g|~v))+_+C|0,M)+g|0}i(a,o),a.prototype._update=function(){for(var x=c,g=0;g&lt;16;++g)x[g]=this._block.readInt32LE(4*g);var y=this._a,v=this._b,_=this._c,C=this._d;y=f(y,v,_,C,x[0],3614090360,7),C=f(C,y,v,_,x[1],3905402710,12),_=f(_,C,y,v,x[2],606105819,17),v=f(v,_,C,y,x[3],3250441966,22),y=f(y,v,_,C,x[4],4118548399,7),C=f(C,y,v,_,x[5],1200080426,12),_=f(_,C,y,v,x[6],2821735955,17),v=f(v,_,C,y,x[7],4249261313,22),y=f(y,v,_,C,x[8],1770035416,7),C=f(C,y,v,_,x[9],2336552879,12),_=f(_,C,y,v,x[10],4294925233,17),v=f(v,_,C,y,x[11],2304563134,22),y=f(y,v,_,C,x[12],1804603682,7),C=f(C,y,v,_,x[13],4254626195,12),_=f(_,C,y,v,x[14],2792965006,17),y=h(y,v=f(v,_,C,y,x[15],1236535329,22),_,C,x[1],4129170786,5),C=h(C,y,v,_,x[6],3225465664,9),_=h(_,C,y,v,x[11],643717713,14),v=h(v,_,C,y,x[0],3921069994,20),y=h(y,v,_,C,x[5],3593408605,5),C=h(C,y,v,_,x[10],38016083,9),_=h(_,C,y,v,x[15],3634488961,14),v=h(v,_,C,y,x[4],3889429448,20),y=h(y,v,_,C,x[9],568446438,5),C=h(C,y,v,_,x[14],3275163606,9),_=h(_,C,y,v,x[3],4107603335,14),v=h(v,_,C,y,x[8],1163531501,20),y=h(y,v,_,C,x[13],2850285829,5),C=h(C,y,v,_,x[2],4243563512,9),_=h(_,C,y,v,x[7],1735328473,14),y=m(y,v=h(v,_,C,y,x[12],2368359562,20),_,C,x[5],4294588738,4),C=m(C,y,v,_,x[8],2272392833,11),_=m(_,C,y,v,x[11],1839030562,16),v=m(v,_,C,y,x[14],4259657740,23),y=m(y,v,_,C,x[1],2763975236,4),C=m(C,y,v,_,x[4],1272893353,11),_=m(_,C,y,v,x[7],4139469664,16),v=m(v,_,C,y,x[10],3200236656,23),y=m(y,v,_,C,x[13],681279174,4),C=m(C,y,v,_,x[0],3936430074,11),_=m(_,C,y,v,x[3],3572445317,16),v=m(v,_,C,y,x[6],76029189,23),y=m(y,v,_,C,x[9],3654602809,4),C=m(C,y,v,_,x[12],3873151461,11),_=m(_,C,y,v,x[15],530742520,16),y=p(y,v=m(v,_,C,y,x[2],3299628645,23),_,C,x[0],4096336452,6),C=p(C,y,v,_,x[7],1126891415,10),_=p(_,C,y,v,x[14],2878612391,15),v=p(v,_,C,y,x[5],4237533241,21),y=p(y,v,_,C,x[12],1700485571,6),C=p(C,y,v,_,x[3],2399980690,10),_=p(_,C,y,v,x[10],4293915773,15),v=p(v,_,C,y,x[1],2240044497,21),y=p(y,v,_,C,x[8],1873313359,6),C=p(C,y,v,_,x[15],4264355552,10),_=p(_,C,y,v,x[6],2734768916,15),v=p(v,_,C,y,x[13],1309151649,21),y=p(y,v,_,C,x[4],4149444226,6),C=p(C,y,v,_,x[11],3174756917,10),_=p(_,C,y,v,x[2],718787259,15),v=p(v,_,C,y,x[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},a.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 x=u.allocUnsafe(16);return x.writeInt32LE(this._a,0),x.writeInt32LE(this._b,4),x.writeInt32LE(this._c,8),x.writeInt32LE(this._d,12),x},n.exports=a},{&quot;hash-base&quot;:425,inherits:440,&quot;safe-buffer&quot;:494}],451:[function(t,n,l){var i=t(&quot;bn.js&quot;),o=t(&quot;brorand&quot;);function u(c){this.rand=c||new o.Rand}n.exports=u,u.create=function(c){return new u(c)},u.prototype._randbelow=function(c){var a=c.bitLength(),d=Math.ceil(a/8);do var f=new i(this.rand.generate(d));while(f.cmp(c)&gt;=0);return f},u.prototype._randrange=function(c,a){var d=a.sub(c);return c.add(this._randbelow(d))},u.prototype.test=function(c,a,d){var f=c.bitLength(),h=i.mont(c),m=new i(1).toRed(h);a||(a=Math.max(1,f/48|0));for(var p=c.subn(1),x=0;!p.testn(x);x++);for(var g=c.shrn(x),y=p.toRed(h);a&gt;0;a--){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;x;C++){if((_=_.redSqr()).cmp(m)===0)return!1;if(_.cmp(y)===0)break}if(C===x)return!1}}return!0},u.prototype.getDivisor=function(c,a){var d=c.bitLength(),f=i.mont(c),h=new i(1).toRed(f);a||(a=Math.max(1,d/48|0));for(var m=c.subn(1),p=0;!m.testn(p);p++);for(var x=c.shrn(p),g=m.toRed(f);a&gt;0;a--){var y=this._randrange(new i(2),m),v=c.gcd(y);if(v.cmpn(1)!==0)return v;var _=y.toRed(f).redPow(x);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(c);if(_.cmp(g)===0)break}if(C===p)return(_=_.redSqr()).fromRed().subn(1).gcd(c)}}return!1}},{&quot;bn.js&quot;:452,brorand:187}],452:[function(t,n,l){arguments[4][184][0].apply(l,arguments)},{buffer:188,dup:184}],453:[function(t,n,l){function i(o,u){if(!o)throw new Error(u||&quot;Assertion failed&quot;)}n.exports=i,i.equal=function(o,u,c){if(o!=u)throw new Error(c||&quot;Assertion failed: &quot;+o+&quot; != &quot;+u)}},{}],454:[function(t,n,l){var i=l;function o(c){return c.length===1?&quot;0&quot;+c:c}function u(c){for(var a=&quot;&quot;,d=0;d&lt;c.length;d++)a+=o(c[d].toString(16));return a}i.toArray=function(c,a){if(Array.isArray(c))return c.slice();if(!c)return[];var d=[];if(typeof c!=&quot;string&quot;){for(var f=0;f&lt;c.length;f++)d[f]=0|c[f];return d}if(a===&quot;hex&quot;)for((c=c.replace(/[^a-z0-9]+/gi,&quot;&quot;)).length%2!=0&amp;&amp;(c=&quot;0&quot;+c),f=0;f&lt;c.length;f+=2)d.push(parseInt(c[f]+c[f+1],16));else for(f=0;f&lt;c.length;f++){var h=c.charCodeAt(f),m=h&gt;&gt;8,p=255&amp;h;m?d.push(m,p):d.push(p)}return d},i.zero2=o,i.toHex=u,i.encode=function(c,a){return a===&quot;hex&quot;?u(c):c}},{}],455:[function(t,n,l){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,l){var i=t(&quot;asn1.js&quot;);l.certificate=t(&quot;./certificate&quot;);var o=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())}));l.RSAPrivateKey=o;var u=i.define(&quot;RSAPublicKey&quot;,(function(){this.seq().obj(this.key(&quot;modulus&quot;).int(),this.key(&quot;publicExponent&quot;).int())}));l.RSAPublicKey=u;var c=i.define(&quot;SubjectPublicKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).use(a),this.key(&quot;subjectPublicKey&quot;).bitstr())}));l.PublicKey=c;var a=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(a),this.key(&quot;subjectPrivateKey&quot;).octstr())}));l.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())}));l.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())}));l.DSAPrivateKey=h,l.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())}));l.ECPrivateKey=m;var p=i.define(&quot;ECParameters&quot;,(function(){this.choice({namedCurve:this.objid()})}));l.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,l){var i=t(&quot;asn1.js&quot;),o=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())})),c=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())})),a=i.define(&quot;SubjectPublicKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).use(c),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(o),this.key(&quot;notAfter&quot;).use(o))})),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())})),x=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(c),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(a),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(x),this.key(&quot;signatureAlgorithm&quot;).use(c),this.key(&quot;signatureValue&quot;).bitstr())}));n.exports=g},{&quot;asn1.js&quot;:170}],458:[function(t,n,l){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,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,u=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,c=t(&quot;evp_bytestokey&quot;),a=t(&quot;browserify-aes&quot;),d=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(f,h){var m,p=f.toString(),x=p.match(i);if(x){var g=&quot;aes&quot;+x[1],y=d.from(x[2],&quot;hex&quot;),v=d.from(x[3].replace(/[\r\n]/g,&quot;&quot;),&quot;base64&quot;),_=c(h,y.slice(0,8),parseInt(x[1],10)).key,C=[],M=a.createDecipheriv(g,_,y);C.push(M.update(v)),C.push(M.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(o)[1],data:m}}},{&quot;browserify-aes&quot;:191,evp_bytestokey:423,&quot;safe-buffer&quot;:494}],459:[function(t,n,l){var i=t(&quot;./asn1&quot;),o=t(&quot;./aesid.json&quot;),u=t(&quot;./fixProc&quot;),c=t(&quot;browserify-aes&quot;),a=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,x,g=u(h,m),y=g.tag,v=g.data;switch(y){case&quot;CERTIFICATE&quot;:x=i.certificate.decode(v,&quot;der&quot;).tbsCertificate.subjectPublicKeyInfo;case&quot;PUBLIC KEY&quot;:switch(x||(x=i.PublicKey.decode(v,&quot;der&quot;)),p=x.algorithm.algorithm.join(&quot;.&quot;)){case&quot;1.2.840.113549.1.1.1&quot;:return i.RSAPublicKey.decode(x.subjectPublicKey.data,&quot;der&quot;);case&quot;1.2.840.10045.2.1&quot;:return x.subjectPrivateKey=x.subjectPublicKey,{type:&quot;ec&quot;,data:x};case&quot;1.2.840.10040.4.1&quot;:return x.algorithm.params.pub_key=i.DSAparam.decode(x.subjectPublicKey.data,&quot;der&quot;),{type:&quot;dsa&quot;,data:x.algorithm.params};default:throw new Error(&quot;unknown key id &quot;+p)}case&quot;ENCRYPTED PRIVATE KEY&quot;:v=(function(_,C){var M=_.algorithm.decrypt.kde.kdeparams.salt,T=parseInt(_.algorithm.decrypt.kde.kdeparams.iters.toString(),10),$=o[_.algorithm.decrypt.cipher.algo.join(&quot;.&quot;)],F=_.algorithm.decrypt.cipher.iv,H=_.subjectPrivateKey,W=parseInt($.split(&quot;-&quot;)[1],10)/8,q=a.pbkdf2Sync(C,M,T,W,&quot;sha1&quot;),K=c.createDecipheriv($,q,F),P=[];return P.push(K.update(H)),P.push(K.final()),d.concat(P)})(v=i.EncryptedPrivateKey.decode(v,&quot;der&quot;),m);case&quot;PRIVATE KEY&quot;:switch(p=(x=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(x.subjectPrivateKey,&quot;der&quot;);case&quot;1.2.840.10045.2.1&quot;:return{curve:x.algorithm.curve,privateKey:i.ECPrivateKey.decode(x.subjectPrivateKey,&quot;der&quot;).privateKey};case&quot;1.2.840.10040.4.1&quot;:return x.algorithm.params.priv_key=i.DSAparam.decode(x.subjectPrivateKey,&quot;der&quot;),{type:&quot;dsa&quot;,params:x.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,l){l.pbkdf2=t(&quot;./lib/async&quot;),l.pbkdf2Sync=t(&quot;./lib/sync&quot;)},{&quot;./lib/async&quot;:461,&quot;./lib/sync&quot;:464}],461:[function(t,n,l){(function(i){(function(){var o,u,c=t(&quot;safe-buffer&quot;).Buffer,a=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;},x=[];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,M,T){return m.importKey(&quot;raw&quot;,v,{name:&quot;PBKDF2&quot;},!1,[&quot;deriveBits&quot;]).then((function($){return m.deriveBits({name:&quot;PBKDF2&quot;,salt:_,iterations:C,hash:{name:T}},$,M&lt;&lt;3)})).then((function($){return c.from($)}))}n.exports=function(v,_,C,M,T,$){typeof T==&quot;function&quot;&amp;&amp;($=T,T=void 0);var F=p[(T=T||&quot;sha1&quot;).toLowerCase()];if(F&amp;&amp;typeof i.Promise==&quot;function&quot;){if(a(C,M),v=h(v,d,&quot;Password&quot;),_=h(_,d,&quot;Salt&quot;),typeof $!=&quot;function&quot;)throw new Error(&quot;No callback provided to pbkdf2&quot;);(function(H,W){H.then((function(q){g()((function(){W(null,q)}))}),(function(q){g()((function(){W(q)}))}))})((function(H){if(i.process&amp;&amp;!i.process.browser||!m||!m.importKey||!m.deriveBits)return Promise.resolve(!1);if(x[H]!==void 0)return x[H];var W=y(o=o||c.alloc(8),o,10,128,H).then((function(){return!0})).catch((function(){return!1}));return x[H]=W,W})(F).then((function(H){return H?y(v,_,C,M,F):f(v,_,C,M,T)})),$)}else g()((function(){var H;try{H=f(v,_,C,M,T)}catch(W){return $(W)}$(null,H)}))}}).call(this)}).call(this,typeof Jt&lt;&quot;u&quot;?Jt: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,l){(function(i,o){(function(){var u;o.process&amp;&amp;o.process.browser?u=&quot;utf-8&quot;:o.process&amp;&amp;o.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 Jt&lt;&quot;u&quot;?Jt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{_process:467}],463:[function(t,n,l){var i=Math.pow(2,30)-1;n.exports=function(o,u){if(typeof o!=&quot;number&quot;)throw new TypeError(&quot;Iterations not a number&quot;);if(o&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,l){var i=t(&quot;create-hash/md5&quot;),o=t(&quot;ripemd160&quot;),u=t(&quot;sha.js&quot;),c=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;./precondition&quot;),d=t(&quot;./default-encoding&quot;),f=t(&quot;./to-buffer&quot;),h=c.alloc(128),m={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function p(x,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 o().update(W).digest()}:F===&quot;md5&quot;?i:H})(x),_=x===&quot;sha512&quot;||x===&quot;sha384&quot;?128:64;g.length&gt;_?g=v(g):g.length&lt;_&amp;&amp;(g=c.concat([g,h],_));for(var C=c.allocUnsafe(_+m[x]),M=c.allocUnsafe(_+m[x]),T=0;T&lt;_;T++)C[T]=54^g[T],M[T]=92^g[T];var $=c.allocUnsafe(_+y+4);C.copy($,0,0,_),this.ipad1=$,this.ipad2=C,this.opad=M,this.alg=x,this.blocksize=_,this.hash=v,this.size=m[x]}p.prototype.run=function(x,g){return x.copy(g,this.blocksize),this.hash(g).copy(this.opad,this.blocksize),this.hash(this.opad)},n.exports=function(x,g,y,v,_){a(y,v);var C=new p(_=_||&quot;sha1&quot;,x=f(x,d,&quot;Password&quot;),(g=f(g,d,&quot;Salt&quot;)).length),M=c.allocUnsafe(v),T=c.allocUnsafe(g.length+4);g.copy(T,0,0,g.length);for(var $=0,F=m[_],H=Math.ceil(v/F),W=1;W&lt;=H;W++){T.writeUInt32BE(W,g.length);for(var q=C.run(T,C.ipad1),K=q,P=1;P&lt;y;P++){K=C.run(K,C.ipad2);for(var L=0;L&lt;F;L++)q[L]^=K[L]}q.copy(M,$),$+=F}return M}},{&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,l){var i=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(o,u,c){if(i.isBuffer(o))return o;if(typeof o==&quot;string&quot;)return i.from(o,u);if(ArrayBuffer.isView(o))return i.from(o.buffer);throw new TypeError(c+&quot; must be a string, a Buffer, a typed array or a DataView&quot;)}},{&quot;safe-buffer&quot;:494}],466:[function(t,n,l){(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(o,u,c,a){if(typeof o!=&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(o);case 2:return i.nextTick((function(){o.call(null,u)}));case 3:return i.nextTick((function(){o.call(null,u,c)}));case 4:return i.nextTick((function(){o.call(null,u,c,a)}));default:for(d=new Array(h-1),f=0;f&lt;d.length;)d[f++]=arguments[f];return i.nextTick((function(){o.apply(null,d)}))}}}:n.exports=i}).call(this)}).call(this,t(&quot;_process&quot;))},{_process:467}],467:[function(t,n,l){var i,o,u=n.exports={};function c(){throw new Error(&quot;setTimeout has not been defined&quot;)}function a(){throw new Error(&quot;clearTimeout has not been defined&quot;)}function d(_){if(i===setTimeout)return setTimeout(_,0);if((i===c||!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:c}catch{i=c}try{o=typeof clearTimeout==&quot;function&quot;?clearTimeout:a}catch{o=a}})();var f,h=[],m=!1,p=-1;function x(){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(x);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(M){if(o===clearTimeout)return clearTimeout(M);if((o===a||!o)&amp;&amp;clearTimeout)return o=clearTimeout,clearTimeout(M);try{o(M)}catch{try{return o.call(null,M)}catch{return o.call(this,M)}}})(_)}}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 M=1;M&lt;arguments.length;M++)C[M-1]=arguments[M];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,l){l.publicEncrypt=t(&quot;./publicEncrypt&quot;),l.privateDecrypt=t(&quot;./privateDecrypt&quot;),l.privateEncrypt=function(i,o){return l.publicEncrypt(i,o,!0)},l.publicDecrypt=function(i,o){return l.privateDecrypt(i,o,!0)}},{&quot;./privateDecrypt&quot;:471,&quot;./publicEncrypt&quot;:472}],469:[function(t,n,l){var i=t(&quot;create-hash&quot;),o=t(&quot;safe-buffer&quot;).Buffer;function u(c){var a=o.allocUnsafe(4);return a.writeUInt32BE(c,0),a}n.exports=function(c,a){for(var d,f=o.alloc(0),h=0;f.length&lt;a;)d=u(h++),f=o.concat([f,i(&quot;sha1&quot;).update(c).update(d).digest()]);return f.slice(0,a)}},{&quot;create-hash&quot;:386,&quot;safe-buffer&quot;:494}],470:[function(t,n,l){arguments[4][184][0].apply(l,arguments)},{buffer:188,dup:184}],471:[function(t,n,l){var i=t(&quot;parse-asn1&quot;),o=t(&quot;./mgf&quot;),u=t(&quot;./xor&quot;),c=t(&quot;bn.js&quot;),a=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,x){var g;g=m.padding?m.padding:x?1:4;var y,v=i(m),_=v.modulus.byteLength();if(p.length&gt;_||new c(p).cmp(v.modulus)&gt;=0)throw new Error(&quot;decryption error&quot;);y=x?f(new c(p),v):a(p,v);var C=h.alloc(_-y.length);if(y=h.concat([C,y],_),g===4)return(function(M,T){var $=M.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),q=T.slice(H+1),K=u(W,o(q,H)),P=u(q,o(K,$-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 L=H;P[L]===0;)L++;if(P[L++]!==1)throw new Error(&quot;decryption error&quot;);return P.slice(L)})(v,y);if(g===1)return(function(M,T,$){for(var F=T.slice(0,2),H=2,W=0;T[H++]!==0;)if(H&gt;=T.length){W++;break}var q=T.slice(2,H-1);if((F.toString(&quot;hex&quot;)!==&quot;0002&quot;&amp;&amp;!$||F.toString(&quot;hex&quot;)!==&quot;0001&quot;&amp;&amp;$)&amp;&amp;W++,q.length&lt;8&amp;&amp;W++,W)throw new Error(&quot;decryption error&quot;);return T.slice(H)})(0,y,x);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,l){var i=t(&quot;parse-asn1&quot;),o=t(&quot;randombytes&quot;),u=t(&quot;create-hash&quot;),c=t(&quot;./mgf&quot;),a=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,x,g){var y;y=p.padding?p.padding:g?1:4;var v,_=i(p);if(y===4)v=(function(C,M){var T=C.modulus.byteLength(),$=M.length,F=u(&quot;sha1&quot;).update(m.alloc(0)).digest(),H=F.length,W=2*H;if($&gt;T-W-2)throw new Error(&quot;message too long&quot;);var q=m.alloc(T-$-W-2),K=T-H-1,P=o(H),L=a(m.concat([F,q,m.alloc(1,1),M],K),c(P,K)),E=a(P,c(L,H));return new d(m.concat([m.alloc(1),E,L],T))})(_,x);else if(y===1)v=(function(C,M,T){var $,F=M.length,H=C.modulus.byteLength();if(F&gt;H-11)throw new Error(&quot;message too long&quot;);return $=T?m.alloc(H-F-3,255):(function(W){for(var q,K=m.allocUnsafe(W),P=0,L=o(2*W),E=0;P&lt;W;)E===L.length&amp;&amp;(L=o(2*W),E=0),(q=L[E++])&amp;&amp;(K[P++]=q);return K})(H-F-3),new d(m.concat([m.from([0,T?1:2]),$,m.alloc(1),M],H))})(_,x,g);else{if(y!==3)throw new Error(&quot;unknown padding&quot;);if((v=new d(x)).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,l){var i=t(&quot;bn.js&quot;),o=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(u,c){return o.from(u.toRed(i.mont(c.modulus)).redPow(new i(c.publicExponent)).fromRed().toArray())}},{&quot;bn.js&quot;:470,&quot;safe-buffer&quot;:494}],474:[function(t,n,l){n.exports=function(i,o){for(var u=i.length,c=-1;++c&lt;u;)i[c]^=o[c];return i}},{}],475:[function(t,n,l){(function(i,o){(function(){var u=t(&quot;safe-buffer&quot;).Buffer,c=o.crypto||o.msCrypto;c&amp;&amp;c.getRandomValues?n.exports=function(a,d){if(a&gt;4294967295)throw new RangeError(&quot;requested too many random bytes&quot;);var f=u.allocUnsafe(a);if(a&gt;0)if(a&gt;65536)for(var h=0;h&lt;a;h+=65536)c.getRandomValues(f.slice(h,h+65536));else c.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 Jt&lt;&quot;u&quot;?Jt: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,l){(function(i,o){(function(){function u(){throw new Error(`secure random number generation not supported by this browser
use chrome, FireFox or Internet Explorer 11`)}var c=t(&quot;safe-buffer&quot;),a=t(&quot;randombytes&quot;),d=c.Buffer,f=c.kMaxLength,h=o.crypto||o.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 x(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 M=y.buffer,T=new Uint8Array(M,v,_);return h.getRandomValues(T),C?void i.nextTick((function(){C(null,y)})):y}if(!C)return a(_).copy(y,v),y;a(_,(function($,F){if($)return C($);F.copy(y,v),C(null,y)}))}h&amp;&amp;h.getRandomValues||!i.browser?(l.randomFill=function(y,v,_,C){if(!(d.isBuffer(y)||y instanceof o.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),x(_,v,y.length),g(y,v,_,C)},l.randomFillSync=function(y,v,_){if(v===void 0&amp;&amp;(v=0),!(d.isBuffer(y)||y instanceof o.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),x(_,v,y.length),g(y,v,_)}):(l.randomFill=u,l.randomFillSync=u)}).call(this)}).call(this,t(&quot;_process&quot;),typeof Jt&lt;&quot;u&quot;?Jt: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,l){var i={};function o(c,a,d){d||(d=Error);var f=(function(h){var m,p;function x(g,y,v){return h.call(this,(function(_,C,M){return typeof a==&quot;string&quot;?a:a(_,C,M)})(g,y,v))||this}return p=h,(m=x).prototype=Object.create(p.prototype),m.prototype.constructor=m,m.__proto__=p,x})(d);f.prototype.name=d.name,f.prototype.code=c,i[c]=f}function u(c,a){if(Array.isArray(c)){var d=c.length;return c=c.map((function(f){return String(f)})),d&gt;2?&quot;one of &quot;.concat(a,&quot; &quot;).concat(c.slice(0,d-1).join(&quot;, &quot;),&quot;, or &quot;)+c[d-1]:d===2?&quot;one of &quot;.concat(a,&quot; &quot;).concat(c[0],&quot; or &quot;).concat(c[1]):&quot;of &quot;.concat(a,&quot; &quot;).concat(c[0])}return&quot;of &quot;.concat(a,&quot; &quot;).concat(String(c))}o(&quot;ERR_INVALID_OPT_VALUE&quot;,(function(c,a){return&#039;The value &quot;&#039;+a+&#039;&quot; is invalid for option &quot;&#039;+c+&#039;&quot;&#039;}),TypeError),o(&quot;ERR_INVALID_ARG_TYPE&quot;,(function(c,a,d){var f,h,m;if(typeof a==&quot;string&quot;&amp;&amp;(h=&quot;not &quot;,a.substr(0,h.length)===h)?(f=&quot;must not be&quot;,a=a.replace(/^not /,&quot;&quot;)):f=&quot;must be&quot;,(function(x,g,y){return(y===void 0||y&gt;x.length)&amp;&amp;(y=x.length),x.substring(y-g.length,y)===g})(c,&quot; argument&quot;))m=&quot;The &quot;.concat(c,&quot; &quot;).concat(f,&quot; &quot;).concat(u(a,&quot;type&quot;));else{var p=(function(x,g,y){return typeof y!=&quot;number&quot;&amp;&amp;(y=0),!(y+g.length&gt;x.length)&amp;&amp;x.indexOf(g,y)!==-1})(c,&quot;.&quot;)?&quot;property&quot;:&quot;argument&quot;;m=&#039;The &quot;&#039;.concat(c,&#039;&quot; &#039;).concat(p,&quot; &quot;).concat(f,&quot; &quot;).concat(u(a,&quot;type&quot;))}return m+=&quot;. Received type &quot;.concat(typeof d)}),TypeError),o(&quot;ERR_STREAM_PUSH_AFTER_EOF&quot;,&quot;stream.push() after EOF&quot;),o(&quot;ERR_METHOD_NOT_IMPLEMENTED&quot;,(function(c){return&quot;The &quot;+c+&quot; method is not implemented&quot;})),o(&quot;ERR_STREAM_PREMATURE_CLOSE&quot;,&quot;Premature close&quot;),o(&quot;ERR_STREAM_DESTROYED&quot;,(function(c){return&quot;Cannot call &quot;+c+&quot; after a stream was destroyed&quot;})),o(&quot;ERR_MULTIPLE_CALLBACK&quot;,&quot;Callback called multiple times&quot;),o(&quot;ERR_STREAM_CANNOT_PIPE&quot;,&quot;Cannot pipe, not readable&quot;),o(&quot;ERR_STREAM_WRITE_AFTER_END&quot;,&quot;write after end&quot;),o(&quot;ERR_STREAM_NULL_VALUES&quot;,&quot;May not write null values to stream&quot;,TypeError),o(&quot;ERR_UNKNOWN_ENCODING&quot;,(function(c){return&quot;Unknown encoding: &quot;+c}),TypeError),o(&quot;ERR_STREAM_UNSHIFT_AFTER_END_EVENT&quot;,&quot;stream.unshift() after end event&quot;),n.exports.codes=i},{}],478:[function(t,n,l){(function(i){(function(){var o=Object.keys||function(x){var g=[];for(var y in x)g.push(y);return g};n.exports=h;var u=t(&quot;./_stream_readable&quot;),c=t(&quot;./_stream_writable&quot;);t(&quot;inherits&quot;)(h,u);for(var a=o(c.prototype),d=0;d&lt;a.length;d++){var f=a[d];h.prototype[f]||(h.prototype[f]=c.prototype[f])}function h(x){if(!(this instanceof h))return new h(x);u.call(this,x),c.call(this,x),this.allowHalfOpen=!0,x&amp;&amp;(x.readable===!1&amp;&amp;(this.readable=!1),x.writable===!1&amp;&amp;(this.writable=!1),x.allowHalfOpen===!1&amp;&amp;(this.allowHalfOpen=!1,this.once(&quot;end&quot;,m)))}function m(){this._writableState.ended||i.nextTick(p,this)}function p(x){x.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(x){this._readableState!==void 0&amp;&amp;this._writableState!==void 0&amp;&amp;(this._readableState.destroyed=x,this._writableState.destroyed=x)}})}).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,l){n.exports=o;var i=t(&quot;./_stream_transform&quot;);function o(u){if(!(this instanceof o))return new o(u);i.call(this,u)}t(&quot;inherits&quot;)(o,i),o.prototype._transform=function(u,c,a){a(null,u)}},{&quot;./_stream_transform&quot;:481,inherits:440}],480:[function(t,n,l){(function(i,o){(function(){var u;n.exports=K,K.ReadableState=q,t(&quot;events&quot;).EventEmitter;var c=function(z,R){return z.listeners(R).length},a=t(&quot;./internal/streams/stream&quot;),d=t(&quot;buffer&quot;).Buffer,f=(o!==void 0?o: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,x,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,M=C.ERR_INVALID_ARG_TYPE,T=C.ERR_STREAM_PUSH_AFTER_EOF,$=C.ERR_METHOD_NOT_IMPLEMENTED,F=C.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;t(&quot;inherits&quot;)(K,a);var H=v.errorOrDestroy,W=[&quot;error&quot;,&quot;close&quot;,&quot;destroy&quot;,&quot;pause&quot;,&quot;resume&quot;];function q(z,R,X){u=u||t(&quot;./_stream_duplex&quot;),z=z||{},typeof X!=&quot;boolean&quot;&amp;&amp;(X=R 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 K(z){if(u=u||t(&quot;./_stream_duplex&quot;),!(this instanceof K))return new K(z);var R=this instanceof u;this._readableState=new q(z,this,R),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)),a.call(this)}function P(z,R,X,re,Q){h(&quot;readableAddChunk&quot;,R);var te,se=z._readableState;if(R===null)se.reading=!1,(function(de,ce){if(h(&quot;onEofChunk&quot;),!ce.ended){if(ce.decoder){var ie=ce.decoder.end();ie&amp;&amp;ie.length&amp;&amp;(ce.buffer.push(ie),ce.length+=ce.objectMode?1:ie.length)}ce.ended=!0,ce.sync?j(de):(ce.needReadable=!1,ce.emittedReadable||(ce.emittedReadable=!0,k(de)))}})(z,se);else if(Q||(te=(function(de,ce){var ie;fe=ce,d.isBuffer(fe)||fe instanceof f||typeof ce==&quot;string&quot;||ce===void 0||de.objectMode||(ie=new M(&quot;chunk&quot;,[&quot;string&quot;,&quot;Buffer&quot;,&quot;Uint8Array&quot;],ce));var fe;return ie})(se,R)),te)H(z,te);else if(se.objectMode||R&amp;&amp;R.length&gt;0)if(typeof R==&quot;string&quot;||se.objectMode||Object.getPrototypeOf(R)===d.prototype||(R=(function(de){return d.from(de)})(R)),re)se.endEmitted?H(z,new F):L(z,se,R,!0);else if(se.ended)H(z,new T);else{if(se.destroyed)return!1;se.reading=!1,se.decoder&amp;&amp;!X?(R=se.decoder.write(R),se.objectMode||R.length!==0?L(z,se,R,!1):S(z,se)):L(z,se,R,!1)}else re||(se.reading=!1,S(z,se));return!se.ended&amp;&amp;(se.length&lt;se.highWaterMark||se.length===0)}function L(z,R,X,re){R.flowing&amp;&amp;R.length===0&amp;&amp;!R.sync?(R.awaitDrain=0,z.emit(&quot;data&quot;,X)):(R.length+=R.objectMode?1:X.length,re?R.buffer.unshift(X):R.buffer.push(X),R.needReadable&amp;&amp;j(z)),S(z,R)}Object.defineProperty(K.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)}}),K.prototype.destroy=v.destroy,K.prototype._undestroy=v.undestroy,K.prototype._destroy=function(z,R){R(z)},K.prototype.push=function(z,R){var X,re=this._readableState;return re.objectMode?X=!0:typeof z==&quot;string&quot;&amp;&amp;((R=R||re.defaultEncoding)!==re.encoding&amp;&amp;(z=d.from(z,R),R=&quot;&quot;),X=!0),P(this,z,R,!1,X)},K.prototype.unshift=function(z){return P(this,z,null,!0,!1)},K.prototype.isPaused=function(){return this._readableState.flowing===!1},K.prototype.setEncoding=function(z){p||(p=t(&quot;string_decoder/&quot;).StringDecoder);var R=new p(z);this._readableState.decoder=R,this._readableState.encoding=this._readableState.decoder.encoding;for(var X=this._readableState.buffer.head,re=&quot;&quot;;X!==null;)re+=R.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,R){return z&lt;=0||R.length===0&amp;&amp;R.ended?0:R.objectMode?1:z!=z?R.flowing&amp;&amp;R.length?R.buffer.head.data.length:R.length:(z&gt;R.highWaterMark&amp;&amp;(R.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;=R.length?z:R.ended?R.length:(R.needReadable=!0,0))}function j(z){var R=z._readableState;h(&quot;emitReadable&quot;,R.needReadable,R.emittedReadable),R.needReadable=!1,R.emittedReadable||(h(&quot;emitReadable&quot;,R.flowing),R.emittedReadable=!0,i.nextTick(k,z))}function k(z){var R=z._readableState;h(&quot;emitReadable_&quot;,R.destroyed,R.length,R.ended),R.destroyed||!R.length&amp;&amp;!R.ended||(z.emit(&quot;readable&quot;),R.emittedReadable=!1),R.needReadable=!R.flowing&amp;&amp;!R.ended&amp;&amp;R.length&lt;=R.highWaterMark,Y(z)}function S(z,R){R.readingMore||(R.readingMore=!0,i.nextTick(N,z,R))}function N(z,R){for(;!R.reading&amp;&amp;!R.ended&amp;&amp;(R.length&lt;R.highWaterMark||R.flowing&amp;&amp;R.length===0);){var X=R.length;if(h(&quot;maybeReadMore read 0&quot;),z.read(0),X===R.length)break}R.readingMore=!1}function O(z){var R=z._readableState;R.readableListening=z.listenerCount(&quot;readable&quot;)&gt;0,R.resumeScheduled&amp;&amp;!R.paused?R.flowing=!0:z.listenerCount(&quot;data&quot;)&gt;0&amp;&amp;z.resume()}function D(z){h(&quot;readable nexttick read 0&quot;),z.read(0)}function B(z,R){h(&quot;resume&quot;,R.reading),R.reading||z.read(0),R.resumeScheduled=!1,z.emit(&quot;resume&quot;),Y(z),R.flowing&amp;&amp;!R.reading&amp;&amp;z.read(0)}function Y(z){var R=z._readableState;for(h(&quot;flow&quot;,R.flowing);R.flowing&amp;&amp;z.read()!==null;);}function Z(z,R){return R.length===0?null:(R.objectMode?X=R.buffer.shift():!z||z&gt;=R.length?(X=R.decoder?R.buffer.join(&quot;&quot;):R.buffer.length===1?R.buffer.first():R.buffer.concat(R.length),R.buffer.clear()):X=R.buffer.consume(z,R.decoder),X);var X}function ne(z){var R=z._readableState;h(&quot;endReadable&quot;,R.endEmitted),R.endEmitted||(R.ended=!0,i.nextTick(V,R,z))}function V(z,R){if(h(&quot;endReadableNT&quot;,z.endEmitted,z.length),!z.endEmitted&amp;&amp;z.length===0&amp;&amp;(z.endEmitted=!0,R.readable=!1,R.emit(&quot;end&quot;),z.autoDestroy)){var X=R._writableState;(!X||X.autoDestroy&amp;&amp;X.finished)&amp;&amp;R.destroy()}}function ee(z,R){for(var X=0,re=z.length;X&lt;re;X++)if(z[X]===R)return X;return-1}K.prototype.read=function(z){h(&quot;read&quot;,z),z=parseInt(z,10);var R=this._readableState,X=z;if(z!==0&amp;&amp;(R.emittedReadable=!1),z===0&amp;&amp;R.needReadable&amp;&amp;((R.highWaterMark!==0?R.length&gt;=R.highWaterMark:R.length&gt;0)||R.ended))return h(&quot;read: emitReadable&quot;,R.length,R.ended),R.length===0&amp;&amp;R.ended?ne(this):j(this),null;if((z=E(z,R))===0&amp;&amp;R.ended)return R.length===0&amp;&amp;ne(this),null;var re,Q=R.needReadable;return h(&quot;need readable&quot;,Q),(R.length===0||R.length-z&lt;R.highWaterMark)&amp;&amp;h(&quot;length less than watermark&quot;,Q=!0),R.ended||R.reading?h(&quot;reading or ended&quot;,Q=!1):Q&amp;&amp;(h(&quot;do read&quot;),R.reading=!0,R.sync=!0,R.length===0&amp;&amp;(R.needReadable=!0),this._read(R.highWaterMark),R.sync=!1,R.reading||(z=E(X,R))),(re=z&gt;0?Z(z,R):null)===null?(R.needReadable=R.length&lt;=R.highWaterMark,z=0):(R.length-=z,R.awaitDrain=0),R.length===0&amp;&amp;(R.ended||(R.needReadable=!0),X!==z&amp;&amp;R.ended&amp;&amp;ne(this)),re!==null&amp;&amp;this.emit(&quot;data&quot;,re),re},K.prototype._read=function(z){H(this,new $(&quot;_read()&quot;))},K.prototype.pipe=function(z,R){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,R);var Q=(!R||R.end!==!1)&amp;&amp;z!==i.stdout&amp;&amp;z!==i.stderr?se:xe;function te(pe,ue){h(&quot;onunpipe&quot;),pe===X&amp;&amp;ue&amp;&amp;ue.hasUnpiped===!1&amp;&amp;(ue.hasUnpiped=!0,h(&quot;cleanup&quot;),z.removeListener(&quot;close&quot;,oe),z.removeListener(&quot;finish&quot;,ge),z.removeListener(&quot;drain&quot;,de),z.removeListener(&quot;error&quot;,fe),z.removeListener(&quot;unpipe&quot;,te),X.removeListener(&quot;end&quot;,se),X.removeListener(&quot;end&quot;,xe),X.removeListener(&quot;data&quot;,ie),ce=!0,!re.awaitDrain||z._writableState&amp;&amp;!z._writableState.needDrain||de())}function se(){h(&quot;onend&quot;),z.end()}re.endEmitted?i.nextTick(Q):X.once(&quot;end&quot;,Q),z.on(&quot;unpipe&quot;,te);var de=(function(pe){return function(){var ue=pe._readableState;h(&quot;pipeOnDrain&quot;,ue.awaitDrain),ue.awaitDrain&amp;&amp;ue.awaitDrain--,ue.awaitDrain===0&amp;&amp;c(pe,&quot;data&quot;)&amp;&amp;(ue.flowing=!0,Y(pe))}})(X);z.on(&quot;drain&quot;,de);var ce=!1;function ie(pe){h(&quot;ondata&quot;);var ue=z.write(pe);h(&quot;dest.write&quot;,ue),ue===!1&amp;&amp;((re.pipesCount===1&amp;&amp;re.pipes===z||re.pipesCount&gt;1&amp;&amp;ee(re.pipes,z)!==-1)&amp;&amp;!ce&amp;&amp;(h(&quot;false write response, pause&quot;,re.awaitDrain),re.awaitDrain++),X.pause())}function fe(pe){h(&quot;onerror&quot;,pe),xe(),z.removeListener(&quot;error&quot;,fe),c(z,&quot;error&quot;)===0&amp;&amp;H(z,pe)}function oe(){z.removeListener(&quot;finish&quot;,ge),xe()}function ge(){h(&quot;onfinish&quot;),z.removeListener(&quot;close&quot;,oe),xe()}function xe(){h(&quot;unpipe&quot;),X.unpipe(z)}return X.on(&quot;data&quot;,ie),(function(pe,ue,we){if(typeof pe.prependListener==&quot;function&quot;)return pe.prependListener(ue,we);pe._events&amp;&amp;pe._events[ue]?Array.isArray(pe._events[ue])?pe._events[ue].unshift(we):pe._events[ue]=[we,pe._events[ue]]:pe.on(ue,we)})(z,&quot;error&quot;,fe),z.once(&quot;close&quot;,oe),z.once(&quot;finish&quot;,ge),z.emit(&quot;pipe&quot;,X),re.flowing||(h(&quot;pipe resume&quot;),X.resume()),z},K.prototype.unpipe=function(z){var R=this._readableState,X={hasUnpiped:!1};if(R.pipesCount===0)return this;if(R.pipesCount===1)return z&amp;&amp;z!==R.pipes||(z||(z=R.pipes),R.pipes=null,R.pipesCount=0,R.flowing=!1,z&amp;&amp;z.emit(&quot;unpipe&quot;,this,X)),this;if(!z){var re=R.pipes,Q=R.pipesCount;R.pipes=null,R.pipesCount=0,R.flowing=!1;for(var te=0;te&lt;Q;te++)re[te].emit(&quot;unpipe&quot;,this,{hasUnpiped:!1});return this}var se=ee(R.pipes,z);return se===-1||(R.pipes.splice(se,1),R.pipesCount-=1,R.pipesCount===1&amp;&amp;(R.pipes=R.pipes[0]),z.emit(&quot;unpipe&quot;,this,X)),this},K.prototype.on=function(z,R){var X=a.prototype.on.call(this,z,R),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(D,this))),X},K.prototype.addListener=K.prototype.on,K.prototype.removeListener=function(z,R){var X=a.prototype.removeListener.call(this,z,R);return z===&quot;readable&quot;&amp;&amp;i.nextTick(O,this),X},K.prototype.removeAllListeners=function(z){var R=a.prototype.removeAllListeners.apply(this,arguments);return z!==&quot;readable&quot;&amp;&amp;z!==void 0||i.nextTick(O,this),R},K.prototype.resume=function(){var z=this._readableState;return z.flowing||(h(&quot;resume&quot;),z.flowing=!z.readableListening,(function(R,X){X.resumeScheduled||(X.resumeScheduled=!0,i.nextTick(B,R,X))})(this,z)),z.paused=!1,this},K.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},K.prototype.wrap=function(z){var R=this,X=this._readableState,re=!1;for(var Q in z.on(&quot;end&quot;,(function(){if(h(&quot;wrapped end&quot;),X.decoder&amp;&amp;!X.ended){var se=X.decoder.end();se&amp;&amp;se.length&amp;&amp;R.push(se)}R.push(null)})),z.on(&quot;data&quot;,(function(se){h(&quot;wrapped data&quot;),X.decoder&amp;&amp;(se=X.decoder.write(se)),X.objectMode&amp;&amp;se==null||(X.objectMode||se&amp;&amp;se.length)&amp;&amp;(R.push(se)||(re=!0,z.pause()))})),z)this[Q]===void 0&amp;&amp;typeof z[Q]==&quot;function&quot;&amp;&amp;(this[Q]=(function(se){return function(){return z[se].apply(z,arguments)}})(Q));for(var te=0;te&lt;W.length;te++)z.on(W[te],this.emit.bind(this,W[te]));return this._read=function(se){h(&quot;wrapped _read&quot;,se),re&amp;&amp;(re=!1,z.resume())},this},typeof Symbol==&quot;function&quot;&amp;&amp;(K.prototype[Symbol.asyncIterator]=function(){return x===void 0&amp;&amp;(x=t(&quot;./internal/streams/async_iterator&quot;)),x(this)}),Object.defineProperty(K.prototype,&quot;readableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(K.prototype,&quot;readableBuffer&quot;,{enumerable:!1,get:function(){return this._readableState&amp;&amp;this._readableState.buffer}}),Object.defineProperty(K.prototype,&quot;readableFlowing&quot;,{enumerable:!1,get:function(){return this._readableState.flowing},set:function(z){this._readableState&amp;&amp;(this._readableState.flowing=z)}}),K._fromList=Z,Object.defineProperty(K.prototype,&quot;readableLength&quot;,{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol==&quot;function&quot;&amp;&amp;(K.from=function(z,R){return g===void 0&amp;&amp;(g=t(&quot;./internal/streams/from&quot;)),g(K,z,R)})}).call(this)}).call(this,t(&quot;_process&quot;),typeof Jt&lt;&quot;u&quot;?Jt: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,l){n.exports=h;var i=t(&quot;../errors&quot;).codes,o=i.ERR_METHOD_NOT_IMPLEMENTED,u=i.ERR_MULTIPLE_CALLBACK,c=i.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=i.ERR_TRANSFORM_WITH_LENGTH_0,d=t(&quot;./_stream_duplex&quot;);function f(x,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(x);var _=this._readableState;_.reading=!1,(_.needReadable||_.length&lt;_.highWaterMark)&amp;&amp;this._read(_.highWaterMark)}function h(x){if(!(this instanceof h))return new h(x);d.call(this,x),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,x&amp;&amp;(typeof x.transform==&quot;function&quot;&amp;&amp;(this._transform=x.transform),typeof x.flush==&quot;function&quot;&amp;&amp;(this._flush=x.flush)),this.on(&quot;prefinish&quot;,m)}function m(){var x=this;typeof this._flush!=&quot;function&quot;||this._readableState.destroyed?p(this,null,null):this._flush((function(g,y){p(x,g,y)}))}function p(x,g,y){if(g)return x.emit(&quot;error&quot;,g);if(y!=null&amp;&amp;x.push(y),x._writableState.length)throw new a;if(x._transformState.transforming)throw new c;return x.push(null)}t(&quot;inherits&quot;)(h,d),h.prototype.push=function(x,g){return this._transformState.needTransform=!1,d.prototype.push.call(this,x,g)},h.prototype._transform=function(x,g,y){y(new o(&quot;_transform()&quot;))},h.prototype._write=function(x,g,y){var v=this._transformState;if(v.writecb=y,v.writechunk=x,v.writeencoding=g,!v.transforming){var _=this._readableState;(v.needTransform||_.needReadable||_.length&lt;_.highWaterMark)&amp;&amp;this._read(_.highWaterMark)}},h.prototype._read=function(x){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(x,g){d.prototype._destroy.call(this,x,(function(y){g(y)}))}},{&quot;../errors&quot;:477,&quot;./_stream_duplex&quot;:478,inherits:440}],482:[function(t,n,l){(function(i,o){(function(){function u(N){var O=this;this.next=null,this.entry=null,this.finish=function(){(function(D,B,Y){var Z=D.entry;for(D.entry=null;Z;){var ne=Z.callback;B.pendingcb--,ne(Y),Z=Z.next}B.corkedRequestsFree.next=D})(O,N)}}var c;n.exports=K,K.WritableState=q;var a={deprecate:t(&quot;util-deprecate&quot;)},d=t(&quot;./internal/streams/stream&quot;),f=t(&quot;buffer&quot;).Buffer,h=(o!==void 0?o:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},m,p=t(&quot;./internal/streams/destroy&quot;),x=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,M=g.ERR_STREAM_DESTROYED,T=g.ERR_STREAM_NULL_VALUES,$=g.ERR_STREAM_WRITE_AFTER_END,F=g.ERR_UNKNOWN_ENCODING,H=p.errorOrDestroy;function W(){}function q(N,O,D){c=c||t(&quot;./_stream_duplex&quot;),N=N||{},typeof D!=&quot;boolean&quot;&amp;&amp;(D=O instanceof c),this.objectMode=!!N.objectMode,D&amp;&amp;(this.objectMode=this.objectMode||!!N.writableObjectMode),this.highWaterMark=x(this,N,&quot;writableHighWaterMark&quot;,D),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,ne){var V=Z._writableState,ee=V.sync,z=V.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})(V),ne)(function(X,re,Q,te,se){--re.pendingcb,Q?(i.nextTick(se,te),i.nextTick(S,X,re),X._writableState.errorEmitted=!0,H(X,te)):(se(te),X._writableState.errorEmitted=!0,H(X,te),S(X,re))})(Z,V,ee,ne,z);else{var R=j(V)||Z.destroyed;R||V.corked||V.bufferProcessing||!V.bufferedRequest||E(Z,V),ee?i.nextTick(L,Z,V,R,z):L(Z,V,R,z)}})(O,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 K(N){var O=this instanceof(c=c||t(&quot;./_stream_duplex&quot;));if(!O&amp;&amp;!m.call(K,this))return new K(N);this._writableState=new q(N,this,O),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,O,D,B,Y,Z,ne){O.writelen=B,O.writecb=ne,O.writing=!0,O.sync=!0,O.destroyed?O.onwrite(new M(&quot;write&quot;)):D?N._writev(Y,O.onwrite):N._write(Y,Z,O.onwrite),O.sync=!1}function L(N,O,D,B){D||(function(Y,Z){Z.length===0&amp;&amp;Z.needDrain&amp;&amp;(Z.needDrain=!1,Y.emit(&quot;drain&quot;))})(N,O),O.pendingcb--,B(),S(N,O)}function E(N,O){O.bufferProcessing=!0;var D=O.bufferedRequest;if(N._writev&amp;&amp;D&amp;&amp;D.next){var B=O.bufferedRequestCount,Y=new Array(B),Z=O.corkedRequestsFree;Z.entry=D;for(var ne=0,V=!0;D;)Y[ne]=D,D.isBuf||(V=!1),D=D.next,ne+=1;Y.allBuffers=V,P(N,O,!0,O.length,Y,&quot;&quot;,Z.finish),O.pendingcb++,O.lastBufferedRequest=null,Z.next?(O.corkedRequestsFree=Z.next,Z.next=null):O.corkedRequestsFree=new u(O),O.bufferedRequestCount=0}else{for(;D;){var ee=D.chunk,z=D.encoding,R=D.callback;if(P(N,O,!1,O.objectMode?1:ee.length,ee,z,R),D=D.next,O.bufferedRequestCount--,O.writing)break}D===null&amp;&amp;(O.lastBufferedRequest=null)}O.bufferedRequest=D,O.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,O){N._final((function(D){O.pendingcb--,D&amp;&amp;H(N,D),O.prefinished=!0,N.emit(&quot;prefinish&quot;),S(N,O)}))}function S(N,O){var D=j(O);if(D&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,O),O.pendingcb===0&amp;&amp;(O.finished=!0,N.emit(&quot;finish&quot;),O.autoDestroy))){var B=N._readableState;(!B||B.autoDestroy&amp;&amp;B.endEmitted)&amp;&amp;N.destroy()}return D}t(&quot;inherits&quot;)(K,d),q.prototype.getBuffer=function(){for(var N=this.bufferedRequest,O=[];N;)O.push(N),N=N.next;return O},(function(){try{Object.defineProperty(q.prototype,&quot;buffer&quot;,{get:a.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(K,Symbol.hasInstance,{value:function(N){return!!m.call(this,N)||this===K&amp;&amp;N&amp;&amp;N._writableState instanceof q}})):m=function(N){return N instanceof this},K.prototype.pipe=function(){H(this,new C)},K.prototype.write=function(N,O,D){var B,Y=this._writableState,Z=!1,ne=!Y.objectMode&amp;&amp;(B=N,f.isBuffer(B)||B instanceof h);return ne&amp;&amp;!f.isBuffer(N)&amp;&amp;(N=(function(V){return f.from(V)})(N)),typeof O==&quot;function&quot;&amp;&amp;(D=O,O=null),ne?O=&quot;buffer&quot;:O||(O=Y.defaultEncoding),typeof D!=&quot;function&quot;&amp;&amp;(D=W),Y.ending?(function(V,ee){var z=new $;H(V,z),i.nextTick(ee,z)})(this,D):(ne||(function(V,ee,z,R){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(V,X),i.nextTick(R,X),!1)})(this,Y,N,D))&amp;&amp;(Y.pendingcb++,Z=(function(V,ee,z,R,X,re){if(!z){var Q=(function(ce,ie,fe){return ce.objectMode||ce.decodeStrings===!1||typeof ie!=&quot;string&quot;||(ie=f.from(ie,fe)),ie})(ee,R,X);R!==Q&amp;&amp;(z=!0,X=&quot;buffer&quot;,R=Q)}var te=ee.objectMode?1:R.length;ee.length+=te;var se=ee.length&lt;ee.highWaterMark;if(se||(ee.needDrain=!0),ee.writing||ee.corked){var de=ee.lastBufferedRequest;ee.lastBufferedRequest={chunk:R,encoding:X,isBuf:z,callback:re,next:null},de?de.next=ee.lastBufferedRequest:ee.bufferedRequest=ee.lastBufferedRequest,ee.bufferedRequestCount+=1}else P(V,ee,!1,te,R,X,re);return se})(this,Y,ne,N,O,D)),Z},K.prototype.cork=function(){this._writableState.corked++},K.prototype.uncork=function(){var N=this._writableState;N.corked&amp;&amp;(N.corked--,N.writing||N.corked||N.bufferProcessing||!N.bufferedRequest||E(this,N))},K.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(K.prototype,&quot;writableBuffer&quot;,{enumerable:!1,get:function(){return this._writableState&amp;&amp;this._writableState.getBuffer()}}),Object.defineProperty(K.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),K.prototype._write=function(N,O,D){D(new v(&quot;_write()&quot;))},K.prototype._writev=null,K.prototype.end=function(N,O,D){var B=this._writableState;return typeof N==&quot;function&quot;?(D=N,N=null,O=null):typeof O==&quot;function&quot;&amp;&amp;(D=O,O=null),N!=null&amp;&amp;this.write(N,O),B.corked&amp;&amp;(B.corked=1,this.uncork()),B.ending||(function(Y,Z,ne){Z.ending=!0,S(Y,Z),ne&amp;&amp;(Z.finished?i.nextTick(ne):Y.once(&quot;finish&quot;,ne)),Z.ended=!0,Y.writable=!1})(this,B,D),this},Object.defineProperty(K.prototype,&quot;writableLength&quot;,{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(K.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)}}),K.prototype.destroy=p.destroy,K.prototype._undestroy=p.undestroy,K.prototype._destroy=function(N,O){O(N)}}).call(this)}).call(this,t(&quot;_process&quot;),typeof Jt&lt;&quot;u&quot;?Jt: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,l){(function(i){(function(){var o;function u(M,T,$){return(T=(function(F){var H=(function(W,q){if(typeof W!=&quot;object&quot;||W===null)return W;var K=W[Symbol.toPrimitive];if(K!==void 0){var P=K.call(W,q);if(typeof P!=&quot;object&quot;)return P;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(q===&quot;string&quot;?String:Number)(W)})(F,&quot;string&quot;);return typeof H==&quot;symbol&quot;?H:String(H)})(T))in M?Object.defineProperty(M,T,{value:$,enumerable:!0,configurable:!0,writable:!0}):M[T]=$,M}var c=t(&quot;./end-of-stream&quot;),a=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;),x=Symbol(&quot;stream&quot;);function g(M,T){return{value:M,done:T}}function y(M){var T=M[a];if(T!==null){var $=M[x].read();$!==null&amp;&amp;(M[m]=null,M[a]=null,M[d]=null,T(g($,!1)))}}function v(M){i.nextTick(y,M)}var _=Object.getPrototypeOf((function(){})),C=Object.setPrototypeOf((u(o={get stream(){return this[x]},next:function(){var M=this,T=this[f];if(T!==null)return Promise.reject(T);if(this[h])return Promise.resolve(g(void 0,!0));if(this[x].destroyed)return new Promise((function(W,q){i.nextTick((function(){M[f]?q(M[f]):W(g(void 0,!0))}))}));var $,F=this[m];if(F)$=new Promise((function(W,q){return function(K,P){W.then((function(){q[h]?K(g(void 0,!0)):q[p](K,P)}),P)}})(F,this));else{var H=this[x].read();if(H!==null)return Promise.resolve(g(H,!1));$=new Promise(this[p])}return this[m]=$,$}},Symbol.asyncIterator,(function(){return this})),u(o,&quot;return&quot;,(function(){var M=this;return new Promise((function(T,$){M[x].destroy(null,(function(F){F?$(F):T(g(void 0,!0))}))}))})),o),_);n.exports=function(M){var T,$=Object.create(C,(u(T={},x,{value:M,writable:!0}),u(T,a,{value:null,writable:!0}),u(T,d,{value:null,writable:!0}),u(T,f,{value:null,writable:!0}),u(T,h,{value:M._readableState.endEmitted,writable:!0}),u(T,p,{value:function(F,H){var W=$[x].read();W?($[m]=null,$[a]=null,$[d]=null,F(g(W,!1))):($[a]=F,$[d]=H)},writable:!0}),T));return $[m]=null,c(M,(function(F){if(F&amp;&amp;F.code!==&quot;ERR_STREAM_PREMATURE_CLOSE&quot;){var H=$[d];return H!==null&amp;&amp;($[m]=null,$[a]=null,$[d]=null,H(F)),void($[f]=F)}var W=$[a];W!==null&amp;&amp;($[m]=null,$[a]=null,$[d]=null,W(g(void 0,!0))),$[h]=!0})),M.on(&quot;readable&quot;,v.bind(null,$)),$}}).call(this)}).call(this,t(&quot;_process&quot;))},{&quot;./end-of-stream&quot;:486,_process:467}],484:[function(t,n,l){function i(m,p){var x=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}))),x.push.apply(x,g)}return x}function o(m){for(var p=1;p&lt;arguments.length;p++){var x=arguments[p]!=null?arguments[p]:{};p%2?i(Object(x),!0).forEach((function(g){u(m,g,x[g])})):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(x)):i(Object(x)).forEach((function(g){Object.defineProperty(m,g,Object.getOwnPropertyDescriptor(x,g))}))}return m}function u(m,p,x){return(p=a(p))in m?Object.defineProperty(m,p,{value:x,enumerable:!0,configurable:!0,writable:!0}):m[p]=x,m}function c(m,p){for(var x=0;x&lt;p.length;x++){var g=p[x];g.enumerable=g.enumerable||!1,g.configurable=!0,&quot;value&quot;in g&amp;&amp;(g.writable=!0),Object.defineProperty(m,a(g.key),g)}}function a(m){var p=(function(x,g){if(typeof x!=&quot;object&quot;||x===null)return x;var y=x[Symbol.toPrimitive];if(y!==void 0){var v=y.call(x,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)(x)})(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,x;return p=m,(x=[{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),M=this.head,T=0;M;)y=M.data,v=C,_=T,d.prototype.copy.call(y,v,_),T+=M.data.length,M=M.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,M=g&gt;C.length?C.length:g;if(M===C.length?_+=C:_+=C.slice(0,g),(g-=M)==0){M===C.length?(++v,y.next?this.head=y.next:this.head=this.tail=null):(this.head=y,y.data=C.slice(M));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,M=g&gt;C.length?C.length:g;if(C.copy(y,y.length-g,0,M),(g-=M)==0){M===C.length?(++_,v.next?this.head=v.next:this.head=this.tail=null):(this.head=v,v.data=C.slice(M));break}++_}return this.length-=_,y}},{key:h,value:function(g,y){return f(this,o(o({},y),{},{depth:0,customInspect:!1}))}}])&amp;&amp;c(p.prototype,x),Object.defineProperty(p,&quot;prototype&quot;,{writable:!1}),m})()},{buffer:220,util:188}],485:[function(t,n,l){(function(i){(function(){function o(a,d){c(a,d),u(a)}function u(a){a._writableState&amp;&amp;!a._writableState.emitClose||a._readableState&amp;&amp;!a._readableState.emitClose||a.emit(&quot;close&quot;)}function c(a,d){a.emit(&quot;error&quot;,d)}n.exports={destroy:function(a,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(a):a&amp;&amp;(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,i.nextTick(c,this,a)):i.nextTick(c,this,a)),this):(this._readableState&amp;&amp;(this._readableState.destroyed=!0),this._writableState&amp;&amp;(this._writableState.destroyed=!0),this._destroy(a||null,(function(p){!d&amp;&amp;p?f._writableState?f._writableState.errorEmitted?i.nextTick(u,f):(f._writableState.errorEmitted=!0,i.nextTick(o,f,p)):i.nextTick(o,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(a,d){var f=a._readableState,h=a._writableState;f&amp;&amp;f.autoDestroy||h&amp;&amp;h.autoDestroy?a.destroy(d):a.emit(&quot;error&quot;,d)}}}).call(this)}).call(this,t(&quot;_process&quot;))},{_process:467}],486:[function(t,n,l){var i=t(&quot;../../../errors&quot;).codes.ERR_STREAM_PREMATURE_CLOSE;function o(){}n.exports=function u(c,a,d){if(typeof a==&quot;function&quot;)return u(c,null,a);a||(a={}),d=(function(M){var T=!1;return function(){if(!T){T=!0;for(var $=arguments.length,F=new Array($),H=0;H&lt;$;H++)F[H]=arguments[H];M.apply(this,F)}}})(d||o);var f=a.readable||a.readable!==!1&amp;&amp;c.readable,h=a.writable||a.writable!==!1&amp;&amp;c.writable,m=function(){c.writable||x()},p=c._writableState&amp;&amp;c._writableState.finished,x=function(){h=!1,p=!0,f||d.call(c)},g=c._readableState&amp;&amp;c._readableState.endEmitted,y=function(){f=!1,g=!0,h||d.call(c)},v=function(M){d.call(c,M)},_=function(){var M;return f&amp;&amp;!g?(c._readableState&amp;&amp;c._readableState.ended||(M=new i),d.call(c,M)):h&amp;&amp;!p?(c._writableState&amp;&amp;c._writableState.ended||(M=new i),d.call(c,M)):void 0},C=function(){c.req.on(&quot;finish&quot;,x)};return(function(M){return M.setHeader&amp;&amp;typeof M.abort==&quot;function&quot;})(c)?(c.on(&quot;complete&quot;,x),c.on(&quot;abort&quot;,_),c.req?C():c.on(&quot;request&quot;,C)):h&amp;&amp;!c._writableState&amp;&amp;(c.on(&quot;end&quot;,m),c.on(&quot;close&quot;,m)),c.on(&quot;end&quot;,y),c.on(&quot;finish&quot;,x),a.error!==!1&amp;&amp;c.on(&quot;error&quot;,v),c.on(&quot;close&quot;,_),function(){c.removeListener(&quot;complete&quot;,x),c.removeListener(&quot;abort&quot;,_),c.removeListener(&quot;request&quot;,C),c.req&amp;&amp;c.req.removeListener(&quot;finish&quot;,x),c.removeListener(&quot;end&quot;,m),c.removeListener(&quot;close&quot;,m),c.removeListener(&quot;finish&quot;,x),c.removeListener(&quot;end&quot;,y),c.removeListener(&quot;error&quot;,v),c.removeListener(&quot;close&quot;,_)}}},{&quot;../../../errors&quot;:477}],487:[function(t,n,l){n.exports=function(){throw new Error(&quot;Readable.from is not available in the browser&quot;)}},{}],488:[function(t,n,l){var i,o=t(&quot;../../../errors&quot;).codes,u=o.ERR_MISSING_ARGS,c=o.ERR_STREAM_DESTROYED;function a(p){if(p)throw p}function d(p,x,g,y){y=(function(C){var M=!1;return function(){M||(M=!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:x,writable:g},(function(C){if(C)return y(C);v=!0,y()}));var _=!1;return function(C){if(!v&amp;&amp;!_)return _=!0,(function(M){return M.setHeader&amp;&amp;typeof M.abort==&quot;function&quot;})(p)?p.abort():typeof p.destroy==&quot;function&quot;?p.destroy():void y(C||new c(&quot;pipe&quot;))}}function f(p){p()}function h(p,x){return p.pipe(x)}function m(p){return p.length?typeof p[p.length-1]!=&quot;function&quot;?a:p.pop():a}n.exports=function(){for(var p=arguments.length,x=new Array(p),g=0;g&lt;p;g++)x[g]=arguments[g];var y,v=m(x);if(Array.isArray(x[0])&amp;&amp;(x=x[0]),x.length&lt;2)throw new u(&quot;streams&quot;);var _=x.map((function(C,M){var T=M&lt;x.length-1;return d(C,T,M&gt;0,(function($){y||(y=$),$&amp;&amp;_.forEach(f),T||(_.forEach(f),v(y))}))}));return x.reduce(h)}},{&quot;../../../errors&quot;:477,&quot;./end-of-stream&quot;:486}],489:[function(t,n,l){var i=t(&quot;../../../errors&quot;).codes.ERR_INVALID_OPT_VALUE;n.exports={getHighWaterMark:function(o,u,c,a){var d=(function(f,h,m){return f.highWaterMark!=null?f.highWaterMark:h?f[m]:null})(u,a,c);if(d!=null){if(!isFinite(d)||Math.floor(d)!==d||d&lt;0)throw new i(a?c:&quot;highWaterMark&quot;,d);return Math.floor(d)}return o.objectMode?16:16384}}},{&quot;../../../errors&quot;:477}],490:[function(t,n,l){n.exports=t(&quot;events&quot;).EventEmitter},{events:422}],491:[function(t,n,l){(l=n.exports=t(&quot;./lib/_stream_readable.js&quot;)).Stream=l,l.Readable=l,l.Writable=t(&quot;./lib/_stream_writable.js&quot;),l.Duplex=t(&quot;./lib/_stream_duplex.js&quot;),l.Transform=t(&quot;./lib/_stream_transform.js&quot;),l.PassThrough=t(&quot;./lib/_stream_passthrough.js&quot;),l.finished=t(&quot;./lib/internal/streams/end-of-stream.js&quot;),l.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,l){var i=(function(o){var u=Object.prototype,c=u.hasOwnProperty,a=Object.defineProperty||function(S,N,O){S[N]=O.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,O){return Object.defineProperty(S,N,{value:O,enumerable:!0,configurable:!0,writable:!0}),S[N]}try{p({},&quot;&quot;)}catch{p=function(N,O,D){return N[O]=D}}function x(S,N,O,D){var B=N&amp;&amp;N.prototype instanceof v?N:v,Y=Object.create(B.prototype),Z=new E(D||[]);return a(Y,&quot;_invoke&quot;,{value:q(S,O,Z)}),Y}function g(S,N,O){try{return{type:&quot;normal&quot;,arg:S.call(N,O)}}catch(D){return{type:&quot;throw&quot;,arg:D}}}o.wrap=x;var y={};function v(){}function _(){}function C(){}var M={};p(M,f,(function(){return this}));var T=Object.getPrototypeOf,$=T&amp;&amp;T(T(j([])));$&amp;&amp;$!==u&amp;&amp;c.call($,f)&amp;&amp;(M=$);var F=C.prototype=v.prototype=Object.create(M);function H(S){[&quot;next&quot;,&quot;throw&quot;,&quot;return&quot;].forEach((function(N){p(S,N,(function(O){return this._invoke(N,O)}))}))}function W(S,N){var O;a(this,&quot;_invoke&quot;,{value:function(D,B){function Y(){return new N((function(Z,ne){(function V(ee,z,R,X){var re=g(S[ee],S,z);if(re.type!==&quot;throw&quot;){var Q=re.arg,te=Q.value;return te&amp;&amp;typeof te==&quot;object&quot;&amp;&amp;c.call(te,&quot;__await&quot;)?N.resolve(te.__await).then((function(se){V(&quot;next&quot;,se,R,X)}),(function(se){V(&quot;throw&quot;,se,R,X)})):N.resolve(te).then((function(se){Q.value=se,R(Q)}),(function(se){return V(&quot;throw&quot;,se,R,X)}))}X(re.arg)})(D,B,Z,ne)}))}return O=O?O.then(Y,Y):Y()}})}function q(S,N,O){var D=&quot;suspendedStart&quot;;return function(B,Y){if(D===&quot;executing&quot;)throw new Error(&quot;Generator is already running&quot;);if(D===&quot;completed&quot;){if(B===&quot;throw&quot;)throw Y;return k()}for(O.method=B,O.arg=Y;;){var Z=O.delegate;if(Z){var ne=K(Z,O);if(ne){if(ne===y)continue;return ne}}if(O.method===&quot;next&quot;)O.sent=O._sent=O.arg;else if(O.method===&quot;throw&quot;){if(D===&quot;suspendedStart&quot;)throw D=&quot;completed&quot;,O.arg;O.dispatchException(O.arg)}else O.method===&quot;return&quot;&amp;&amp;O.abrupt(&quot;return&quot;,O.arg);D=&quot;executing&quot;;var V=g(S,N,O);if(V.type===&quot;normal&quot;){if(D=O.done?&quot;completed&quot;:&quot;suspendedYield&quot;,V.arg===y)continue;return{value:V.arg,done:O.done}}V.type===&quot;throw&quot;&amp;&amp;(D=&quot;completed&quot;,O.method=&quot;throw&quot;,O.arg=V.arg)}}}function K(S,N){var O=N.method,D=S.iterator[O];if(D===void 0)return N.delegate=null,O===&quot;throw&quot;&amp;&amp;S.iterator.return&amp;&amp;(N.method=&quot;return&quot;,N.arg=void 0,K(S,N),N.method===&quot;throw&quot;)||O!==&quot;return&quot;&amp;&amp;(N.method=&quot;throw&quot;,N.arg=new TypeError(&quot;The iterator does not provide a &#039;&quot;+O+&quot;&#039; method&quot;)),y;var B=g(D,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 L(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 O=-1,D=function B(){for(;++O&lt;S.length;)if(c.call(S,O))return B.value=S[O],B.done=!1,B;return B.value=void 0,B.done=!0,B};return D.next=D}}return{next:k}}function k(){return{value:void 0,done:!0}}return _.prototype=C,a(F,&quot;constructor&quot;,{value:C,configurable:!0}),a(C,&quot;constructor&quot;,{value:_,configurable:!0}),_.displayName=p(C,m,&quot;GeneratorFunction&quot;),o.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;)},o.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},o.awrap=function(S){return{__await:S}},H(W.prototype),p(W.prototype,h,(function(){return this})),o.AsyncIterator=W,o.async=function(S,N,O,D,B){B===void 0&amp;&amp;(B=Promise);var Y=new W(x(S,N,O,D),B);return o.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;})),o.keys=function(S){var N=Object(S),O=[];for(var D in N)O.push(D);return O.reverse(),function B(){for(;O.length;){var Y=O.pop();if(Y in N)return B.value=Y,B.done=!1,B}return B.done=!0,B}},o.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(L),!S)for(var N in this)N.charAt(0)===&quot;t&quot;&amp;&amp;c.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 O(V,ee){return Y.type=&quot;throw&quot;,Y.arg=S,N.next=V,ee&amp;&amp;(N.method=&quot;next&quot;,N.arg=void 0),!!ee}for(var D=this.tryEntries.length-1;D&gt;=0;--D){var B=this.tryEntries[D],Y=B.completion;if(B.tryLoc===&quot;root&quot;)return O(&quot;end&quot;);if(B.tryLoc&lt;=this.prev){var Z=c.call(B,&quot;catchLoc&quot;),ne=c.call(B,&quot;finallyLoc&quot;);if(Z&amp;&amp;ne){if(this.prev&lt;B.catchLoc)return O(B.catchLoc,!0);if(this.prev&lt;B.finallyLoc)return O(B.finallyLoc)}else if(Z){if(this.prev&lt;B.catchLoc)return O(B.catchLoc,!0)}else{if(!ne)throw new Error(&quot;try statement without catch or finally&quot;);if(this.prev&lt;B.finallyLoc)return O(B.finallyLoc)}}}},abrupt:function(S,N){for(var O=this.tryEntries.length-1;O&gt;=0;--O){var D=this.tryEntries[O];if(D.tryLoc&lt;=this.prev&amp;&amp;c.call(D,&quot;finallyLoc&quot;)&amp;&amp;this.prev&lt;D.finallyLoc){var B=D;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 O=this.tryEntries[N];if(O.finallyLoc===S)return this.complete(O.completion,O.afterLoc),L(O),y}},catch:function(S){for(var N=this.tryEntries.length-1;N&gt;=0;--N){var O=this.tryEntries[N];if(O.tryLoc===S){var D=O.completion;if(D.type===&quot;throw&quot;){var B=D.arg;L(O)}return B}}throw new Error(&quot;illegal catch attempt&quot;)},delegateYield:function(S,N,O){return this.delegate={iterator:j(S),resultName:N,nextLoc:O},this.method===&quot;next&quot;&amp;&amp;(this.arg=void 0),y}},o})(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,l){var i=t(&quot;buffer&quot;).Buffer,o=t(&quot;inherits&quot;),u=t(&quot;hash-base&quot;),c=new Array(16),a=[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 x(){u.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function g(T,$){return T&lt;&lt;$|T&gt;&gt;&gt;32-$}function y(T,$,F,H,W,q,K,P){return g(T+($^F^H)+q+K|0,P)+W|0}function v(T,$,F,H,W,q,K,P){return g(T+($&amp;F|~$&amp;H)+q+K|0,P)+W|0}function _(T,$,F,H,W,q,K,P){return g(T+(($|~F)^H)+q+K|0,P)+W|0}function C(T,$,F,H,W,q,K,P){return g(T+($&amp;H|F&amp;~H)+q+K|0,P)+W|0}function M(T,$,F,H,W,q,K,P){return g(T+($^(F|~H))+q+K|0,P)+W|0}o(x,u),x.prototype._update=function(){for(var T=c,$=0;$&lt;16;++$)T[$]=this._block.readInt32LE(4*$);for(var F=0|this._a,H=0|this._b,W=0|this._c,q=0|this._d,K=0|this._e,P=0|this._a,L=0|this._b,E=0|this._c,j=0|this._d,k=0|this._e,S=0;S&lt;80;S+=1){var N,O;S&lt;16?(N=y(F,H,W,q,K,T[a[S]],m[0],f[S]),O=M(P,L,E,j,k,T[d[S]],p[0],h[S])):S&lt;32?(N=v(F,H,W,q,K,T[a[S]],m[1],f[S]),O=C(P,L,E,j,k,T[d[S]],p[1],h[S])):S&lt;48?(N=_(F,H,W,q,K,T[a[S]],m[2],f[S]),O=_(P,L,E,j,k,T[d[S]],p[2],h[S])):S&lt;64?(N=C(F,H,W,q,K,T[a[S]],m[3],f[S]),O=v(P,L,E,j,k,T[d[S]],p[3],h[S])):(N=M(F,H,W,q,K,T[a[S]],m[4],f[S]),O=y(P,L,E,j,k,T[d[S]],p[4],h[S])),F=K,K=q,q=g(W,10),W=H,H=N,P=k,k=j,j=g(E,10),E=L,L=O}var D=this._b+W+j|0;this._b=this._c+q+k|0,this._c=this._d+K+P|0,this._d=this._e+F+L|0,this._e=this._a+H+E|0,this._a=D},x.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=x},{buffer:220,&quot;hash-base&quot;:425,inherits:440}],494:[function(t,n,l){var i=t(&quot;buffer&quot;),o=i.Buffer;function u(a,d){for(var f in a)d[f]=a[f]}function c(a,d,f){return o(a,d,f)}o.from&amp;&amp;o.alloc&amp;&amp;o.allocUnsafe&amp;&amp;o.allocUnsafeSlow?n.exports=i:(u(i,l),l.Buffer=c),c.prototype=Object.create(o.prototype),u(o,c),c.from=function(a,d,f){if(typeof a==&quot;number&quot;)throw new TypeError(&quot;Argument must not be a number&quot;);return o(a,d,f)},c.alloc=function(a,d,f){if(typeof a!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);var h=o(a);return d!==void 0?typeof f==&quot;string&quot;?h.fill(d,f):h.fill(d):h.fill(0),h},c.allocUnsafe=function(a){if(typeof a!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return o(a)},c.allocUnsafeSlow=function(a){if(typeof a!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return i.SlowBuffer(a)}},{buffer:220}],495:[function(t,n,l){(function(i){(function(){var o,u=t(&quot;buffer&quot;),c=u.Buffer,a={};for(o in u)u.hasOwnProperty(o)&amp;&amp;o!==&quot;SlowBuffer&quot;&amp;&amp;o!==&quot;Buffer&quot;&amp;&amp;(a[o]=u[o]);var d=a.Buffer={};for(o in c)c.hasOwnProperty(o)&amp;&amp;o!==&quot;allocUnsafe&quot;&amp;&amp;o!==&quot;allocUnsafeSlow&quot;&amp;&amp;(d[o]=c[o]);if(a.Buffer.prototype=c.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 c(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=c(f);return h&amp;&amp;h.length!==0?typeof m==&quot;string&quot;?p.fill(h,m):p.fill(h):p.fill(0),p}),!a.kStringMaxLength)try{a.kStringMaxLength=i.binding(&quot;buffer&quot;).kStringMaxLength}catch{}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&amp;&amp;(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),n.exports=a}).call(this)}).call(this,t(&quot;_process&quot;))},{_process:467,buffer:220}],496:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0});const i=t(&quot;xmlchars/xml/1.0/ed5&quot;),o=t(&quot;xmlchars/xml/1.1/ed2&quot;),u=t(&quot;xmlchars/xmlns/1.0/ed3&quot;);var c=i.isS,a=i.isChar,d=i.isNameStartChar,f=i.isNameChar,h=i.S_LIST,m=i.NAME_RE,p=o.isChar,x=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:_},M={__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,$=[34,39],F=[...$,91,62],H=[...$,60,93],W=[61,63,...h],q=[...h,62,38,60];function K(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),L=j=&gt;m.test(j);l.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;};l.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=x,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,O){for(const D of Object.keys(O))K(N,D,O[D])})(this,S),Object.assign(this.ns,S))}else this.nameStartCheck=d,this.nameCheck=f,this.isName=L,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(M),(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:O}=this;for(this.chunk=j,this.i=0;this.i&lt;S;)O[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 O=j.charCodeAt(k+1);O!==10&amp;&amp;O!==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(),O=N===-2,D=O?10:N;if(D===-1||j.includes(D))return this.text+=S.slice(k,this.prevI),D;O&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||!c(j))return j}}setXMLVersion(j){this.currentXMLVersion=j,j===&quot;1.0&quot;?(this.isChar=a,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 O;this.state=S,N===&quot;&quot;?(this.fail(&quot;empty entity name.&quot;),O=&quot;&amp;;&quot;):(O=this.parseEntity(N),this.entity=&quot;&quot;),S===13&amp;&amp;this.textHandler===void 0||(this.text+=O);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||c(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||c(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:c(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(c(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;);c(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;);c(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?(c(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:c(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:c(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):c(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();c(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(q);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():c(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:O}=this,D=S.slice(j,this.prevI);O.length!==0?(N(O+D),this.text=&quot;&quot;):D.length!==0&amp;&amp;N(D)}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 O=this.getCode();switch(O){case 60:if(this.state=15,S!==void 0){const{text:D}=this,B=k.slice(j,this.prevI);D.length!==0?(S(D+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:c(O)||(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:O}=this.qname(j),D={name:j,prefix:N,local:O,value:k};if(this.attribList.push(D),(S=this.attributeHandler)===null||S===void 0||S.call(this,D),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[O]=B,K(this,O,B)}else if(j===&quot;xmlns&quot;){const B=k.trim();this.topNS[&quot;&quot;]=B,K(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 O=S.pop();this.fail(&quot;unclosed tag: &quot;+O.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:O}=this;for(let D=O.length-1;D&gt;=0;D--)if(N=O[D].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:D,local:B}=this.qname(S.name);S.prefix=D,S.local=B;const Y=S.uri=(j=this.resolve(D))!==null&amp;&amp;j!==void 0?j:&quot;&quot;;D!==&quot;&quot;&amp;&amp;(D===&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(D)}.`),S.uri=D))}if(k.length===0)return;const{attributes:N}=S,O=new Set;for(const D of k){const{name:B,prefix:Y,local:Z}=D;let ne,V;Y===&quot;&quot;?(ne=B===&quot;xmlns&quot;?_:&quot;&quot;,V=B):(ne=this.resolve(Y),ne===void 0&amp;&amp;(this.fail(`unbound namespace prefix: ${JSON.stringify(Y)}.`),ne=Y),V=`{${ne}}${Z}`),O.has(V)&amp;&amp;this.fail(`duplicate attribute: ${V}.`),O.add(V),D.uri=ne,N[B]=D}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,O=this.tag;O.isSelfClosing=!0,(j=this.openTagHandler)===null||j===void 0||j.call(this,O),(k=this.closeTagHandler)===null||k===void 0||k.call(this,O),(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 O=this.tag=j.pop();if(this.topNS=O.ns,S?.(O),O.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,l){var i=t(&quot;safe-buffer&quot;).Buffer;function o(u,c){this._block=i.alloc(u),this._finalSize=c,this._blockSize=u,this._len=0}o.prototype.update=function(u,c){typeof u==&quot;string&quot;&amp;&amp;(c=c||&quot;utf8&quot;,u=i.from(u,c));for(var a=this._block,d=this._blockSize,f=u.length,h=this._len,m=0;m&lt;f;){for(var p=h%d,x=Math.min(f-m,d-p),g=0;g&lt;x;g++)a[p+g]=u[m+g];m+=x,(h+=x)%d==0&amp;&amp;this._update(a)}return this._len+=f,this},o.prototype.digest=function(u){var c=this._len%this._blockSize;this._block[c]=128,this._block.fill(0,c+1),c&gt;=this._finalSize&amp;&amp;(this._update(this._block),this._block.fill(0));var a=8*this._len;if(a&lt;=4294967295)this._block.writeUInt32BE(a,this._blockSize-4);else{var d=(4294967295&amp;a)&gt;&gt;&gt;0,f=(a-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},o.prototype._update=function(){throw new Error(&quot;_update must be implemented by subclass&quot;)},n.exports=o},{&quot;safe-buffer&quot;:494}],498:[function(t,n,l){var i=n.exports=function(o){o=o.toLowerCase();var u=i[o];if(!u)throw new Error(o+&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,l){var i=t(&quot;inherits&quot;),o=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,c=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function d(){this.init(),this._w=a,o.call(this,64,56)}function f(m){return m&lt;&lt;30|m&gt;&gt;&gt;2}function h(m,p,x,g){return m===0?p&amp;x|~p&amp;g:m===2?p&amp;x|p&amp;g|x&amp;g:p^x^g}i(d,o),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,x=this._w,g=0|this._a,y=0|this._b,v=0|this._c,_=0|this._d,C=0|this._e,M=0;M&lt;16;++M)x[M]=m.readInt32BE(4*M);for(;M&lt;80;++M)x[M]=x[M-3]^x[M-8]^x[M-14]^x[M-16];for(var T=0;T&lt;80;++T){var $=~~(T/20),F=0|((p=g)&lt;&lt;5|p&gt;&gt;&gt;27)+h($,y,v,_)+C+x[T]+c[$];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,l){var i=t(&quot;inherits&quot;),o=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,c=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function d(){this.init(),this._w=a,o.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,x,g,y){return p===0?x&amp;g|~x&amp;y:p===2?x&amp;g|x&amp;y|g&amp;y:x^g^y}i(d,o),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 x,g=this._w,y=0|this._a,v=0|this._b,_=0|this._c,C=0|this._d,M=0|this._e,T=0;T&lt;16;++T)g[T]=p.readInt32BE(4*T);for(;T&lt;80;++T)g[T]=(x=g[T-3]^g[T-8]^g[T-14]^g[T-16])&lt;&lt;1|x&gt;&gt;&gt;31;for(var $=0;$&lt;80;++$){var F=~~($/20),H=f(y)+m(F,v,_,C)+M+g[$]+c[F]|0;M=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=M+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,l){var i=t(&quot;inherits&quot;),o=t(&quot;./sha256&quot;),u=t(&quot;./hash&quot;),c=t(&quot;safe-buffer&quot;).Buffer,a=new Array(64);function d(){this.init(),this._w=a,u.call(this,64,56)}i(d,o),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=c.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,l){var i=t(&quot;inherits&quot;),o=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,c=[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],a=new Array(64);function d(){this.init(),this._w=a,o.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 x(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,o),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,M=0|this._c,T=0|this._d,$=0|this._e,F=0|this._f,H=0|this._g,W=0|this._h,q=0;q&lt;16;++q)v[q]=g.readInt32BE(4*q);for(;q&lt;64;++q)v[q]=0|(((y=v[q-2])&gt;&gt;&gt;17|y&lt;&lt;15)^(y&gt;&gt;&gt;19|y&lt;&lt;13)^y&gt;&gt;&gt;10)+v[q-7]+x(v[q-15])+v[q-16];for(var K=0;K&lt;64;++K){var P=W+p($)+f($,F,H)+c[K]+v[K]|0,L=m(_)+h(_,C,M)|0;W=H,H=F,F=$,$=T+P|0,T=M,M=C,C=_,_=P+L|0}this._a=_+this._a|0,this._b=C+this._b|0,this._c=M+this._c|0,this._d=T+this._d|0,this._e=$+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,l){var i=t(&quot;inherits&quot;),o=t(&quot;./sha512&quot;),u=t(&quot;./hash&quot;),c=t(&quot;safe-buffer&quot;).Buffer,a=new Array(160);function d(){this.init(),this._w=a,u.call(this,128,112)}i(d,o),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=c.allocUnsafe(48);function h(m,p,x){f.writeInt32BE(m,x),f.writeInt32BE(p,x+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,l){var i=t(&quot;inherits&quot;),o=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,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],a=new Array(160);function d(){this.init(),this._w=a,o.call(this,128,112)}function f(C,M,T){return T^C&amp;(M^T)}function h(C,M,T){return C&amp;M|T&amp;(C|M)}function m(C,M){return(C&gt;&gt;&gt;28|M&lt;&lt;4)^(M&gt;&gt;&gt;2|C&lt;&lt;30)^(M&gt;&gt;&gt;7|C&lt;&lt;25)}function p(C,M){return(C&gt;&gt;&gt;14|M&lt;&lt;18)^(C&gt;&gt;&gt;18|M&lt;&lt;14)^(M&gt;&gt;&gt;9|C&lt;&lt;23)}function x(C,M){return(C&gt;&gt;&gt;1|M&lt;&lt;31)^(C&gt;&gt;&gt;8|M&lt;&lt;24)^C&gt;&gt;&gt;7}function g(C,M){return(C&gt;&gt;&gt;1|M&lt;&lt;31)^(C&gt;&gt;&gt;8|M&lt;&lt;24)^(C&gt;&gt;&gt;7|M&lt;&lt;25)}function y(C,M){return(C&gt;&gt;&gt;19|M&lt;&lt;13)^(M&gt;&gt;&gt;29|C&lt;&lt;3)^C&gt;&gt;&gt;6}function v(C,M){return(C&gt;&gt;&gt;19|M&lt;&lt;13)^(M&gt;&gt;&gt;29|C&lt;&lt;3)^(C&gt;&gt;&gt;6|M&lt;&lt;26)}function _(C,M){return C&gt;&gt;&gt;0&lt;M&gt;&gt;&gt;0?1:0}i(d,o),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 M=this._w,T=0|this._ah,$=0|this._bh,F=0|this._ch,H=0|this._dh,W=0|this._eh,q=0|this._fh,K=0|this._gh,P=0|this._hh,L=0|this._al,E=0|this._bl,j=0|this._cl,k=0|this._dl,S=0|this._el,N=0|this._fl,O=0|this._gl,D=0|this._hl,B=0;B&lt;32;B+=2)M[B]=C.readInt32BE(4*B),M[B+1]=C.readInt32BE(4*B+4);for(;B&lt;160;B+=2){var Y=M[B-30],Z=M[B-30+1],ne=x(Y,Z),V=g(Z,Y),ee=y(Y=M[B-4],Z=M[B-4+1]),z=v(Z,Y),R=M[B-14],X=M[B-14+1],re=M[B-32],Q=M[B-32+1],te=V+X|0,se=ne+R+_(te,V)|0;se=(se=se+ee+_(te=te+z|0,z)|0)+re+_(te=te+Q|0,Q)|0,M[B]=se,M[B+1]=te}for(var de=0;de&lt;160;de+=2){se=M[de],te=M[de+1];var ce=h(T,$,F),ie=h(L,E,j),fe=m(T,L),oe=m(L,T),ge=p(W,S),xe=p(S,W),pe=c[de],ue=c[de+1],we=f(W,q,K),ke=f(S,N,O),Te=D+xe|0,je=P+ge+_(Te,D)|0;je=(je=(je=je+we+_(Te=Te+ke|0,ke)|0)+pe+_(Te=Te+ue|0,ue)|0)+se+_(Te=Te+te|0,te)|0;var De=oe+ie|0,Xe=fe+ce+_(De,oe)|0;P=K,D=O,K=q,O=N,q=W,N=S,W=H+je+_(S=k+Te|0,k)|0,H=F,k=j,F=$,j=E,$=T,E=L,T=je+Xe+_(L=Te+De|0,Te)|0}this._al=this._al+L|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+O|0,this._hl=this._hl+D|0,this._ah=this._ah+T+_(this._al,L)|0,this._bh=this._bh+$+_(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+q+_(this._fl,N)|0,this._gh=this._gh+K+_(this._gl,O)|0,this._hh=this._hh+P+_(this._hl,D)|0},d.prototype._hash=function(){var C=u.allocUnsafe(64);function M(T,$,F){C.writeInt32BE(T,F),C.writeInt32BE($,F+4)}return M(this._ah,this._al,0),M(this._bh,this._bl,8),M(this._ch,this._cl,16),M(this._dh,this._dl,24),M(this._eh,this._el,32),M(this._fh,this._fl,40),M(this._gh,this._gl,48),M(this._hh,this._hl,56),C},n.exports=d},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],505:[function(t,n,l){n.exports=o;var i=t(&quot;events&quot;).EventEmitter;function o(){i.call(this)}t(&quot;inherits&quot;)(o,i),o.Readable=t(&quot;readable-stream/readable.js&quot;),o.Writable=t(&quot;readable-stream/writable.js&quot;),o.Duplex=t(&quot;readable-stream/duplex.js&quot;),o.Transform=t(&quot;readable-stream/transform.js&quot;),o.PassThrough=t(&quot;readable-stream/passthrough.js&quot;),o.Stream=o,o.prototype.pipe=function(u,c){var a=this;function d(y){u.writable&amp;&amp;u.write(y)===!1&amp;&amp;a.pause&amp;&amp;a.pause()}function f(){a.readable&amp;&amp;a.resume&amp;&amp;a.resume()}a.on(&quot;data&quot;,d),u.on(&quot;drain&quot;,f),u._isStdio||c&amp;&amp;c.end===!1||(a.on(&quot;end&quot;,m),a.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 x(y){if(g(),i.listenerCount(this,&quot;error&quot;)===0)throw y}function g(){a.removeListener(&quot;data&quot;,d),u.removeListener(&quot;drain&quot;,f),a.removeListener(&quot;end&quot;,m),a.removeListener(&quot;close&quot;,p),a.removeListener(&quot;error&quot;,x),u.removeListener(&quot;error&quot;,x),a.removeListener(&quot;end&quot;,g),a.removeListener(&quot;close&quot;,g),u.removeListener(&quot;close&quot;,g)}return a.on(&quot;error&quot;,x),u.on(&quot;error&quot;,x),a.on(&quot;end&quot;,g),a.on(&quot;close&quot;,g),u.on(&quot;close&quot;,g),u.emit(&quot;pipe&quot;,a),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,l){var i={}.toString;n.exports=Array.isArray||function(o){return i.call(o)==&quot;[object Array]&quot;}},{}],507:[function(t,n,l){n.exports=t(&quot;./lib/_stream_duplex.js&quot;)},{&quot;./lib/_stream_duplex.js&quot;:508}],508:[function(t,n,l){var i=t(&quot;process-nextick-args&quot;),o=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 c=t(&quot;./_stream_readable&quot;),a=t(&quot;./_stream_writable&quot;);u.inherits(m,c);for(var d=o(a.prototype),f=0;f&lt;d.length;f++){var h=d[f];m.prototype[h]||(m.prototype[h]=a.prototype[h])}function m(g){if(!(this instanceof m))return new m(g);c.call(this,g),a.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(x,this)}function x(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,l){n.exports=u;var i=t(&quot;./_stream_transform&quot;),o=Object.create(t(&quot;core-util-is&quot;));function u(c){if(!(this instanceof u))return new u(c);i.call(this,c)}o.inherits=t(&quot;inherits&quot;),o.inherits(u,i),u.prototype._transform=function(c,a,d){d(null,c)}},{&quot;./_stream_transform&quot;:511,&quot;core-util-is&quot;:383,inherits:440}],510:[function(t,n,l){(function(i,o){(function(){var u=t(&quot;process-nextick-args&quot;);n.exports=T;var c,a=t(&quot;isarray&quot;);T.ReadableState=M,t(&quot;events&quot;).EventEmitter;var d=function(D,B){return D.listeners(B).length},f=t(&quot;./internal/streams/stream&quot;),h=t(&quot;safe-buffer&quot;).Buffer,m=(o!==void 0?o: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 x=t(&quot;util&quot;),g=void 0;g=x&amp;&amp;x.debuglog?x.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 M(D,B){D=D||{};var Y=B instanceof(c=c||t(&quot;./_stream_duplex&quot;));this.objectMode=!!D.objectMode,Y&amp;&amp;(this.objectMode=this.objectMode||!!D.readableObjectMode);var Z=D.highWaterMark,ne=D.readableHighWaterMark,V=this.objectMode?16:16384;this.highWaterMark=Z||Z===0?Z:Y&amp;&amp;(ne||ne===0)?ne:V,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=D.defaultEncoding||&quot;utf8&quot;,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,D.encoding&amp;&amp;(y||(y=t(&quot;string_decoder/&quot;).StringDecoder),this.decoder=new y(D.encoding),this.encoding=D.encoding)}function T(D){if(c=c||t(&quot;./_stream_duplex&quot;),!(this instanceof T))return new T(D);this._readableState=new M(D,this),this.readable=!0,D&amp;&amp;(typeof D.read==&quot;function&quot;&amp;&amp;(this._read=D.read),typeof D.destroy==&quot;function&quot;&amp;&amp;(this._destroy=D.destroy)),f.call(this)}function $(D,B,Y,Z,ne){var V,ee=D._readableState;return B===null?(ee.reading=!1,(function(z,R){if(!R.ended){if(R.decoder){var X=R.decoder.end();X&amp;&amp;X.length&amp;&amp;(R.buffer.push(X),R.length+=R.objectMode?1:X.length)}R.ended=!0,W(z)}})(D,ee)):(ne||(V=(function(z,R){var X;re=R,h.isBuffer(re)||re instanceof m||typeof R==&quot;string&quot;||R===void 0||z.objectMode||(X=new TypeError(&quot;Invalid non-string/buffer chunk&quot;));var re;return X})(ee,B)),V?D.emit(&quot;error&quot;,V):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?D.emit(&quot;error&quot;,new Error(&quot;stream.unshift() after end event&quot;)):F(D,ee,B,!0):ee.ended?D.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(D,ee,B,!1):K(D,ee)):F(D,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(D,B,Y,Z){B.flowing&amp;&amp;B.length===0&amp;&amp;!B.sync?(D.emit(&quot;data&quot;,Y),D.read(0)):(B.length+=B.objectMode?1:Y.length,Z?B.buffer.unshift(Y):B.buffer.push(Y),B.needReadable&amp;&amp;W(D)),K(D,B)}Object.defineProperty(T.prototype,&quot;destroyed&quot;,{get:function(){return this._readableState!==void 0&amp;&amp;this._readableState.destroyed},set:function(D){this._readableState&amp;&amp;(this._readableState.destroyed=D)}}),T.prototype.destroy=_.destroy,T.prototype._undestroy=_.undestroy,T.prototype._destroy=function(D,B){this.push(null),B(D)},T.prototype.push=function(D,B){var Y,Z=this._readableState;return Z.objectMode?Y=!0:typeof D==&quot;string&quot;&amp;&amp;((B=B||Z.defaultEncoding)!==Z.encoding&amp;&amp;(D=h.from(D,B),B=&quot;&quot;),Y=!0),$(this,D,B,!1,Y)},T.prototype.unshift=function(D){return $(this,D,null,!0,!1)},T.prototype.isPaused=function(){return this._readableState.flowing===!1},T.prototype.setEncoding=function(D){return y||(y=t(&quot;string_decoder/&quot;).StringDecoder),this._readableState.decoder=new y(D),this._readableState.encoding=D,this};function H(D,B){return D&lt;=0||B.length===0&amp;&amp;B.ended?0:B.objectMode?1:D!=D?B.flowing&amp;&amp;B.length?B.buffer.head.data.length:B.length:(D&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})(D)),D&lt;=B.length?D:B.ended?B.length:(B.needReadable=!0,0))}function W(D){var B=D._readableState;B.needReadable=!1,B.emittedReadable||(g(&quot;emitReadable&quot;,B.flowing),B.emittedReadable=!0,B.sync?u.nextTick(q,D):q(D))}function q(D){g(&quot;emit readable&quot;),D.emit(&quot;readable&quot;),j(D)}function K(D,B){B.readingMore||(B.readingMore=!0,u.nextTick(P,D,B))}function P(D,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;),D.read(0),Y!==B.length);)Y=B.length;B.readingMore=!1}function L(D){g(&quot;readable nexttick read 0&quot;),D.read(0)}function E(D,B){B.reading||(g(&quot;resume read 0&quot;),D.read(0)),B.resumeScheduled=!1,B.awaitDrain=0,D.emit(&quot;resume&quot;),j(D),B.flowing&amp;&amp;!B.reading&amp;&amp;D.read(0)}function j(D){var B=D._readableState;for(g(&quot;flow&quot;,B.flowing);B.flowing&amp;&amp;D.read()!==null;);}function k(D,B){return B.length===0?null:(B.objectMode?Y=B.buffer.shift():!D||D&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,ne,V){var ee;return Z&lt;ne.head.data.length?(ee=ne.head.data.slice(0,Z),ne.head.data=ne.head.data.slice(Z)):ee=Z===ne.head.data.length?ne.shift():V?(function(z,R){var X=R.head,re=1,Q=X.data;for(z-=Q.length;X=X.next;){var te=X.data,se=z&gt;te.length?te.length:z;if(se===te.length?Q+=te:Q+=te.slice(0,z),(z-=se)===0){se===te.length?(++re,X.next?R.head=X.next:R.head=R.tail=null):(R.head=X,X.data=te.slice(se));break}++re}return R.length-=re,Q})(Z,ne):(function(z,R){var X=h.allocUnsafe(z),re=R.head,Q=1;for(re.data.copy(X),z-=re.data.length;re=re.next;){var te=re.data,se=z&gt;te.length?te.length:z;if(te.copy(X,X.length-z,0,se),(z-=se)===0){se===te.length?(++Q,re.next?R.head=re.next:R.head=R.tail=null):(R.head=re,re.data=te.slice(se));break}++Q}return R.length-=Q,X})(Z,ne),ee})(D,B.buffer,B.decoder),Y);var Y}function S(D){var B=D._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,D))}function N(D,B){D.endEmitted||D.length!==0||(D.endEmitted=!0,B.readable=!1,B.emit(&quot;end&quot;))}function O(D,B){for(var Y=0,Z=D.length;Y&lt;Z;Y++)if(D[Y]===B)return Y;return-1}T.prototype.read=function(D){g(&quot;read&quot;,D),D=parseInt(D,10);var B=this._readableState,Y=D;if(D!==0&amp;&amp;(B.emittedReadable=!1),D===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((D=H(D,B))===0&amp;&amp;B.ended)return B.length===0&amp;&amp;S(this),null;var Z,ne=B.needReadable;return g(&quot;need readable&quot;,ne),(B.length===0||B.length-D&lt;B.highWaterMark)&amp;&amp;g(&quot;length less than watermark&quot;,ne=!0),B.ended||B.reading?g(&quot;reading or ended&quot;,ne=!1):ne&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||(D=H(Y,B))),(Z=D&gt;0?k(D,B):null)===null?(B.needReadable=!0,D=0):B.length-=D,B.length===0&amp;&amp;(B.ended||(B.needReadable=!0),Y!==D&amp;&amp;B.ended&amp;&amp;S(this)),Z!==null&amp;&amp;this.emit(&quot;data&quot;,Z),Z},T.prototype._read=function(D){this.emit(&quot;error&quot;,new Error(&quot;_read() is not implemented&quot;))},T.prototype.pipe=function(D,B){var Y=this,Z=this._readableState;switch(Z.pipesCount){case 0:Z.pipes=D;break;case 1:Z.pipes=[Z.pipes,D];break;default:Z.pipes.push(D)}Z.pipesCount+=1,g(&quot;pipe count=%d opts=%j&quot;,Z.pipesCount,B);var ne=(!B||B.end!==!1)&amp;&amp;D!==i.stdout&amp;&amp;D!==i.stderr?ee:de;function V(ce,ie){g(&quot;onunpipe&quot;),ce===Y&amp;&amp;ie&amp;&amp;ie.hasUnpiped===!1&amp;&amp;(ie.hasUnpiped=!0,g(&quot;cleanup&quot;),D.removeListener(&quot;close&quot;,te),D.removeListener(&quot;finish&quot;,se),D.removeListener(&quot;drain&quot;,z),D.removeListener(&quot;error&quot;,Q),D.removeListener(&quot;unpipe&quot;,V),Y.removeListener(&quot;end&quot;,ee),Y.removeListener(&quot;end&quot;,de),Y.removeListener(&quot;data&quot;,re),R=!0,!Z.awaitDrain||D._writableState&amp;&amp;!D._writableState.needDrain||z())}function ee(){g(&quot;onend&quot;),D.end()}Z.endEmitted?u.nextTick(ne):Y.once(&quot;end&quot;,ne),D.on(&quot;unpipe&quot;,V);var z=(function(ce){return function(){var ie=ce._readableState;g(&quot;pipeOnDrain&quot;,ie.awaitDrain),ie.awaitDrain&amp;&amp;ie.awaitDrain--,ie.awaitDrain===0&amp;&amp;d(ce,&quot;data&quot;)&amp;&amp;(ie.flowing=!0,j(ce))}})(Y);D.on(&quot;drain&quot;,z);var R=!1,X=!1;function re(ce){g(&quot;ondata&quot;),X=!1,D.write(ce)!==!1||X||((Z.pipesCount===1&amp;&amp;Z.pipes===D||Z.pipesCount&gt;1&amp;&amp;O(Z.pipes,D)!==-1)&amp;&amp;!R&amp;&amp;(g(&quot;false write response, pause&quot;,Z.awaitDrain),Z.awaitDrain++,X=!0),Y.pause())}function Q(ce){g(&quot;onerror&quot;,ce),de(),D.removeListener(&quot;error&quot;,Q),d(D,&quot;error&quot;)===0&amp;&amp;D.emit(&quot;error&quot;,ce)}function te(){D.removeListener(&quot;finish&quot;,se),de()}function se(){g(&quot;onfinish&quot;),D.removeListener(&quot;close&quot;,te),de()}function de(){g(&quot;unpipe&quot;),Y.unpipe(D)}return Y.on(&quot;data&quot;,re),(function(ce,ie,fe){if(typeof ce.prependListener==&quot;function&quot;)return ce.prependListener(ie,fe);ce._events&amp;&amp;ce._events[ie]?a(ce._events[ie])?ce._events[ie].unshift(fe):ce._events[ie]=[fe,ce._events[ie]]:ce.on(ie,fe)})(D,&quot;error&quot;,Q),D.once(&quot;close&quot;,te),D.once(&quot;finish&quot;,se),D.emit(&quot;pipe&quot;,Y),Z.flowing||(g(&quot;pipe resume&quot;),Y.resume()),D},T.prototype.unpipe=function(D){var B=this._readableState,Y={hasUnpiped:!1};if(B.pipesCount===0)return this;if(B.pipesCount===1)return D&amp;&amp;D!==B.pipes||(D||(D=B.pipes),B.pipes=null,B.pipesCount=0,B.flowing=!1,D&amp;&amp;D.emit(&quot;unpipe&quot;,this,Y)),this;if(!D){var Z=B.pipes,ne=B.pipesCount;B.pipes=null,B.pipesCount=0,B.flowing=!1;for(var V=0;V&lt;ne;V++)Z[V].emit(&quot;unpipe&quot;,this,{hasUnpiped:!1});return this}var ee=O(B.pipes,D);return ee===-1||(B.pipes.splice(ee,1),B.pipesCount-=1,B.pipesCount===1&amp;&amp;(B.pipes=B.pipes[0]),D.emit(&quot;unpipe&quot;,this,Y)),this},T.prototype.on=function(D,B){var Y=f.prototype.on.call(this,D,B);if(D===&quot;data&quot;)this._readableState.flowing!==!1&amp;&amp;this.resume();else if(D===&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(L,this))}return Y},T.prototype.addListener=T.prototype.on,T.prototype.resume=function(){var D=this._readableState;return D.flowing||(g(&quot;resume&quot;),D.flowing=!0,(function(B,Y){Y.resumeScheduled||(Y.resumeScheduled=!0,u.nextTick(E,B,Y))})(this,D)),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(D){var B=this,Y=this._readableState,Z=!1;for(var ne in D.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)})),D.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,D.pause()))})),D)this[ne]===void 0&amp;&amp;typeof D[ne]==&quot;function&quot;&amp;&amp;(this[ne]=(function(ee){return function(){return D[ee].apply(D,arguments)}})(ne));for(var V=0;V&lt;C.length;V++)D.on(C[V],this.emit.bind(this,C[V]));return this._read=function(ee){g(&quot;wrapped _read&quot;,ee),Z&amp;&amp;(Z=!1,D.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 Jt&lt;&quot;u&quot;?Jt: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,l){n.exports=c;var i=t(&quot;./_stream_duplex&quot;),o=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 x=this._readableState;x.reading=!1,(x.needReadable||x.length&lt;x.highWaterMark)&amp;&amp;this._read(x.highWaterMark)}function c(f){if(!(this instanceof c))return new c(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;,a)}function a(){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)}o.inherits=t(&quot;inherits&quot;),o.inherits(c,i),c.prototype.push=function(f,h){return this._transformState.needTransform=!1,i.prototype.push.call(this,f,h)},c.prototype._transform=function(f,h,m){throw new Error(&quot;_transform() is not implemented&quot;)},c.prototype._write=function(f,h,m){var p=this._transformState;if(p.writecb=m,p.writechunk=f,p.writeencoding=h,!p.transforming){var x=this._readableState;(p.needTransform||x.needReadable||x.length&lt;x.highWaterMark)&amp;&amp;this._read(x.highWaterMark)}},c.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},c.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,l){(function(i,o,u){(function(){var c=t(&quot;process-nextick-args&quot;);function a(K){var P=this;this.next=null,this.entry=null,this.finish=function(){(function(L,E,j){var k=L.entry;for(L.entry=null;k;){var S=k.callback;E.pendingcb--,S(j),k=k.next}E.corkedRequestsFree.next=L})(P,K)}}n.exports=M;var d,f=!i.browser&amp;&amp;[&quot;v0.10&quot;,&quot;v0.9.&quot;].indexOf(i.version.slice(0,5))&gt;-1?u:c.nextTick;M.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;),x=t(&quot;safe-buffer&quot;).Buffer,g=(o!==void 0?o: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(K,P){d=d||t(&quot;./_stream_duplex&quot;),K=K||{};var L=P instanceof d;this.objectMode=!!K.objectMode,L&amp;&amp;(this.objectMode=this.objectMode||!!K.writableObjectMode);var E=K.highWaterMark,j=K.writableHighWaterMark,k=this.objectMode?16:16384;this.highWaterMark=E||E===0?E:L&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=K.decodeStrings===!1;this.decodeStrings=!S,this.defaultEncoding=K.defaultEncoding||&quot;utf8&quot;,this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(N){(function(O,D){var B=O._writableState,Y=B.sync,Z=B.writecb;if((function(V){V.writing=!1,V.writecb=null,V.length-=V.writelen,V.writelen=0})(B),D)(function(V,ee,z,R,X){--ee.pendingcb,z?(c.nextTick(X,R),c.nextTick(q,V,ee),V._writableState.errorEmitted=!0,V.emit(&quot;error&quot;,R)):(X(R),V._writableState.errorEmitted=!0,V.emit(&quot;error&quot;,R),q(V,ee))})(O,B,Y,D,Z);else{var ne=H(B);ne||B.corked||B.bufferProcessing||!B.bufferedRequest||F(O,B),Y?f($,O,B,ne,Z):$(O,B,ne,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 a(this)}function M(K){if(d=d||t(&quot;./_stream_duplex&quot;),!(y.call(M,this)||this instanceof d))return new M(K);this._writableState=new C(K,this),this.writable=!0,K&amp;&amp;(typeof K.write==&quot;function&quot;&amp;&amp;(this._write=K.write),typeof K.writev==&quot;function&quot;&amp;&amp;(this._writev=K.writev),typeof K.destroy==&quot;function&quot;&amp;&amp;(this._destroy=K.destroy),typeof K.final==&quot;function&quot;&amp;&amp;(this._final=K.final)),p.call(this)}function T(K,P,L,E,j,k,S){P.writelen=E,P.writecb=S,P.writing=!0,P.sync=!0,L?K._writev(j,P.onwrite):K._write(j,k,P.onwrite),P.sync=!1}function $(K,P,L,E){L||(function(j,k){k.length===0&amp;&amp;k.needDrain&amp;&amp;(k.needDrain=!1,j.emit(&quot;drain&quot;))})(K,P),P.pendingcb--,E(),q(K,P)}function F(K,P){P.bufferProcessing=!0;var L=P.bufferedRequest;if(K._writev&amp;&amp;L&amp;&amp;L.next){var E=P.bufferedRequestCount,j=new Array(E),k=P.corkedRequestsFree;k.entry=L;for(var S=0,N=!0;L;)j[S]=L,L.isBuf||(N=!1),L=L.next,S+=1;j.allBuffers=N,T(K,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 a(P),P.bufferedRequestCount=0}else{for(;L;){var O=L.chunk,D=L.encoding,B=L.callback;if(T(K,P,!1,P.objectMode?1:O.length,O,D,B),L=L.next,P.bufferedRequestCount--,P.writing)break}L===null&amp;&amp;(P.lastBufferedRequest=null)}P.bufferedRequest=L,P.bufferProcessing=!1}function H(K){return K.ending&amp;&amp;K.length===0&amp;&amp;K.bufferedRequest===null&amp;&amp;!K.finished&amp;&amp;!K.writing}function W(K,P){K._final((function(L){P.pendingcb--,L&amp;&amp;K.emit(&quot;error&quot;,L),P.prefinished=!0,K.emit(&quot;prefinish&quot;),q(K,P)}))}function q(K,P){var L=H(P);return L&amp;&amp;((function(E,j){j.prefinished||j.finalCalled||(typeof E._final==&quot;function&quot;?(j.pendingcb++,j.finalCalled=!0,c.nextTick(W,E,j)):(j.prefinished=!0,E.emit(&quot;prefinish&quot;)))})(K,P),P.pendingcb===0&amp;&amp;(P.finished=!0,K.emit(&quot;finish&quot;))),L}h.inherits(M,p),C.prototype.getBuffer=function(){for(var K=this.bufferedRequest,P=[];K;)P.push(K),K=K.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(M,Symbol.hasInstance,{value:function(K){return!!y.call(this,K)||this===M&amp;&amp;K&amp;&amp;K._writableState instanceof C}})):y=function(K){return K instanceof this},M.prototype.pipe=function(){this.emit(&quot;error&quot;,new Error(&quot;Cannot pipe, not readable&quot;))},M.prototype.write=function(K,P,L){var E,j=this._writableState,k=!1,S=!j.objectMode&amp;&amp;(E=K,x.isBuffer(E)||E instanceof g);return S&amp;&amp;!x.isBuffer(K)&amp;&amp;(K=(function(N){return x.from(N)})(K)),typeof P==&quot;function&quot;&amp;&amp;(L=P,P=null),S?P=&quot;buffer&quot;:P||(P=j.defaultEncoding),typeof L!=&quot;function&quot;&amp;&amp;(L=_),j.ended?(function(N,O){var D=new Error(&quot;write after end&quot;);N.emit(&quot;error&quot;,D),c.nextTick(O,D)})(this,L):(S||(function(N,O,D,B){var Y=!0,Z=!1;return D===null?Z=new TypeError(&quot;May not write null values to stream&quot;):typeof D==&quot;string&quot;||D===void 0||O.objectMode||(Z=new TypeError(&quot;Invalid non-string/buffer chunk&quot;)),Z&amp;&amp;(N.emit(&quot;error&quot;,Z),c.nextTick(B,Z),Y=!1),Y})(this,j,K,L))&amp;&amp;(j.pendingcb++,k=(function(N,O,D,B,Y,Z){if(!D){var ne=(function(R,X,re){return R.objectMode||R.decodeStrings===!1||typeof X!=&quot;string&quot;||(X=x.from(X,re)),X})(O,B,Y);B!==ne&amp;&amp;(D=!0,Y=&quot;buffer&quot;,B=ne)}var V=O.objectMode?1:B.length;O.length+=V;var ee=O.length&lt;O.highWaterMark;if(ee||(O.needDrain=!0),O.writing||O.corked){var z=O.lastBufferedRequest;O.lastBufferedRequest={chunk:B,encoding:Y,isBuf:D,callback:Z,next:null},z?z.next=O.lastBufferedRequest:O.bufferedRequest=O.lastBufferedRequest,O.bufferedRequestCount+=1}else T(N,O,!1,V,B,Y,Z);return ee})(this,j,S,K,P,L)),k},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var K=this._writableState;K.corked&amp;&amp;(K.corked--,K.writing||K.corked||K.bufferProcessing||!K.bufferedRequest||F(this,K))},M.prototype.setDefaultEncoding=function(K){if(typeof K==&quot;string&quot;&amp;&amp;(K=K.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((K+&quot;&quot;).toLowerCase())&gt;-1))throw new TypeError(&quot;Unknown encoding: &quot;+K);return this._writableState.defaultEncoding=K,this},Object.defineProperty(M.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(K,P,L){L(new Error(&quot;_write() is not implemented&quot;))},M.prototype._writev=null,M.prototype.end=function(K,P,L){var E=this._writableState;typeof K==&quot;function&quot;?(L=K,K=null,P=null):typeof P==&quot;function&quot;&amp;&amp;(L=P,P=null),K!=null&amp;&amp;this.write(K,P),E.corked&amp;&amp;(E.corked=1,this.uncork()),E.ending||(function(j,k,S){k.ending=!0,q(j,k),S&amp;&amp;(k.finished?c.nextTick(S):j.once(&quot;finish&quot;,S)),k.ended=!0,j.writable=!1})(this,E,L)},Object.defineProperty(M.prototype,&quot;destroyed&quot;,{get:function(){return this._writableState!==void 0&amp;&amp;this._writableState.destroyed},set:function(K){this._writableState&amp;&amp;(this._writableState.destroyed=K)}}),M.prototype.destroy=v.destroy,M.prototype._undestroy=v.undestroy,M.prototype._destroy=function(K,P){this.end(),P(K)}}).call(this)}).call(this,t(&quot;_process&quot;),typeof Jt&lt;&quot;u&quot;?Jt: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,l){var i=t(&quot;safe-buffer&quot;).Buffer,o=t(&quot;util&quot;);n.exports=(function(){function u(){(function(c,a){if(!(c instanceof a))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(c){var a={data:c,next:null};this.length&gt;0?this.tail.next=a:this.head=a,this.tail=a,++this.length},u.prototype.unshift=function(c){var a={data:c,next:this.head};this.length===0&amp;&amp;(this.tail=a),this.head=a,++this.length},u.prototype.shift=function(){if(this.length!==0){var c=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,c}},u.prototype.clear=function(){this.head=this.tail=null,this.length=0},u.prototype.join=function(c){if(this.length===0)return&quot;&quot;;for(var a=this.head,d=&quot;&quot;+a.data;a=a.next;)d+=c+a.data;return d},u.prototype.concat=function(c){if(this.length===0)return i.alloc(0);for(var a,d,f,h=i.allocUnsafe(c&gt;&gt;&gt;0),m=this.head,p=0;m;)a=m.data,d=h,f=p,a.copy(d,f),p+=m.data.length,m=m.next;return h},u})(),o&amp;&amp;o.inspect&amp;&amp;o.inspect.custom&amp;&amp;(n.exports.prototype[o.inspect.custom]=function(){var u=o.inspect({length:this.length});return this.constructor.name+&quot; &quot;+u})},{&quot;safe-buffer&quot;:520,util:188}],514:[function(t,n,l){var i=t(&quot;process-nextick-args&quot;);function o(u,c){u.emit(&quot;error&quot;,c)}n.exports={destroy:function(u,c){var a=this,d=this._readableState&amp;&amp;this._readableState.destroyed,f=this._writableState&amp;&amp;this._writableState.destroyed;return d||f?(c?c(u):u&amp;&amp;(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,i.nextTick(o,this,u)):i.nextTick(o,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){!c&amp;&amp;h?a._writableState?a._writableState.errorEmitted||(a._writableState.errorEmitted=!0,i.nextTick(o,a,h)):i.nextTick(o,a,h):c&amp;&amp;c(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,l){arguments[4][490][0].apply(l,arguments)},{dup:490,events:422}],516:[function(t,n,l){n.exports=t(&quot;./readable&quot;).PassThrough},{&quot;./readable&quot;:517}],517:[function(t,n,l){(l=n.exports=t(&quot;./lib/_stream_readable.js&quot;)).Stream=l,l.Readable=l,l.Writable=t(&quot;./lib/_stream_writable.js&quot;),l.Duplex=t(&quot;./lib/_stream_duplex.js&quot;),l.Transform=t(&quot;./lib/_stream_transform.js&quot;),l.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,l){n.exports=t(&quot;./readable&quot;).Transform},{&quot;./readable&quot;:517}],519:[function(t,n,l){n.exports=t(&quot;./lib/_stream_writable.js&quot;)},{&quot;./lib/_stream_writable.js&quot;:512}],520:[function(t,n,l){arguments[4][217][0].apply(l,arguments)},{buffer:220,dup:217}],521:[function(t,n,l){arguments[4][218][0].apply(l,arguments)},{dup:218,&quot;safe-buffer&quot;:520}],522:[function(t,n,l){arguments[4][218][0].apply(l,arguments)},{dup:218,&quot;safe-buffer&quot;:494}],523:[function(t,n,l){(function(i,o){(function(){var u=t(&quot;process/browser.js&quot;).nextTick,c=Function.prototype.apply,a=Array.prototype.slice,d={},f=0;function h(m,p){this._id=m,this._clearFn=p}l.setTimeout=function(){return new h(c.call(setTimeout,window,arguments),clearTimeout)},l.setInterval=function(){return new h(c.call(setInterval,window,arguments),clearInterval)},l.clearTimeout=l.clearInterval=function(m){m.close()},h.prototype.unref=h.prototype.ref=function(){},h.prototype.close=function(){this._clearFn.call(window,this._id)},l.enroll=function(m,p){clearTimeout(m._idleTimeoutId),m._idleTimeout=p},l.unenroll=function(m){clearTimeout(m._idleTimeoutId),m._idleTimeout=-1},l._unrefActive=l.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))},l.setImmediate=typeof i==&quot;function&quot;?i:function(m){var p=f++,x=!(arguments.length&lt;2)&amp;&amp;a.call(arguments,1);return d[p]=!0,u((function(){d[p]&amp;&amp;(x?m.apply(null,x):m.call(null),l.clearImmediate(p))})),p},l.clearImmediate=typeof o==&quot;function&quot;?o: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,l){(function(i){(function(){function o(u){try{if(!i.localStorage)return!1}catch{return!1}var c=i.localStorage[u];return c!=null&amp;&amp;String(c).toLowerCase()===&quot;true&quot;}n.exports=function(u,c){if(o(&quot;noDeprecation&quot;))return u;var a=!1;return function(){if(!a){if(o(&quot;throwDeprecation&quot;))throw new Error(c);o(&quot;traceDeprecation&quot;)?console.trace(c):console.warn(c),a=!0}return u.apply(this,arguments)}}}).call(this)}).call(this,typeof Jt&lt;&quot;u&quot;?Jt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],525:[function(t,n,l){typeof Object.create==&quot;function&quot;?n.exports=function(i,o){i.super_=o,i.prototype=Object.create(o.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}})}:n.exports=function(i,o){i.super_=o;var u=function(){};u.prototype=o.prototype,i.prototype=new u,i.prototype.constructor=i}},{}],526:[function(t,n,l){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,l){(function(i,o){(function(){var u=/%[sdj%]/g;l.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,O=N.length,D=String(j).replace(u,(function(Y){if(Y===&quot;%%&quot;)return&quot;%&quot;;if(S&gt;=O)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;O;B=N[++S])v(B)||!$(B)?D+=&quot; &quot;+B:D+=&quot; &quot;+d(B);return D},l.deprecate=function(j,k){if(M(o.process))return function(){return l.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 c,a={};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;l._extend(S,k),M(S.showHidden)&amp;&amp;(S.showHidden=!1),M(S.depth)&amp;&amp;(S.depth=2),M(S.colors)&amp;&amp;(S.colors=!1),M(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!==l.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 O=(function(z,R){if(M(R))return z.stylize(&quot;undefined&quot;,&quot;undefined&quot;);if(C(R)){var X=&quot;&#039;&quot;+JSON.stringify(R).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(_(R))return z.stylize(&quot;&quot;+R,&quot;number&quot;);if(y(R))return z.stylize(&quot;&quot;+R,&quot;boolean&quot;);if(v(R))return z.stylize(&quot;null&quot;,&quot;null&quot;)})(j,k);if(O)return O;var D=Object.keys(k),B=(function(z){var R={};return z.forEach((function(X,re){R[X]=!0})),R})(D);if(j.showHidden&amp;&amp;(D=Object.getOwnPropertyNames(k)),H(k)&amp;&amp;(D.indexOf(&quot;message&quot;)&gt;=0||D.indexOf(&quot;description&quot;)&gt;=0))return p(k);if(D.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,ne=&quot;&quot;,V=!1,ee=[&quot;{&quot;,&quot;}&quot;];return g(k)&amp;&amp;(V=!0,ee=[&quot;[&quot;,&quot;]&quot;]),W(k)&amp;&amp;(ne=&quot; [Function&quot;+(k.name?&quot;: &quot;+k.name:&quot;&quot;)+&quot;]&quot;),T(k)&amp;&amp;(ne=&quot; &quot;+RegExp.prototype.toString.call(k)),F(k)&amp;&amp;(ne=&quot; &quot;+Date.prototype.toUTCString.call(k)),H(k)&amp;&amp;(ne=&quot; &quot;+p(k)),D.length!==0||V&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=V?(function(z,R,X,re,Q){for(var te=[],se=0,de=R.length;se&lt;de;++se)E(R,String(se))?te.push(x(z,R,X,re,String(se),!0)):te.push(&quot;&quot;);return Q.forEach((function(ce){ce.match(/^\d+$/)||te.push(x(z,R,X,re,ce,!0))})),te})(j,k,S,B,D):D.map((function(z){return x(j,k,S,B,z,V)})),j.seen.pop(),(function(z,R,X){return z.reduce((function(re,Q){return Q.indexOf(`
`)&gt;=0,re+Q.replace(/\u001b\[\d\d?m/g,&quot;&quot;).length+1}),0)&gt;60?X[0]+(R===&quot;&quot;?&quot;&quot;:R+`
 `)+&quot; &quot;+z.join(`,
  `)+&quot; &quot;+X[1]:X[0]+R+&quot; &quot;+z.join(&quot;, &quot;)+&quot; &quot;+X[1]})(Z,ne,ee)):ee[0]+ne+ee[1]}function p(j){return&quot;[&quot;+Error.prototype.toString.call(j)+&quot;]&quot;}function x(j,k,S,N,O,D){var B,Y,Z;if((Z=Object.getOwnPropertyDescriptor(k,O)||{value:k[O]}).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,O)||(B=&quot;[&quot;+O+&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=D?Y.split(`
`).map((function(ne){return&quot;  &quot;+ne})).join(`
`).substr(2):`
`+Y.split(`
`).map((function(ne){return&quot;   &quot;+ne})).join(`
`)):Y=j.stylize(&quot;[Circular]&quot;,&quot;special&quot;)),M(B)){if(D&amp;&amp;O.match(/^\d+$/))return Y;(B=JSON.stringify(&quot;&quot;+O)).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 M(j){return j===void 0}function T(j){return $(j)&amp;&amp;q(j)===&quot;[object RegExp]&quot;}function $(j){return typeof j==&quot;object&quot;&amp;&amp;j!==null}function F(j){return $(j)&amp;&amp;q(j)===&quot;[object Date]&quot;}function H(j){return $(j)&amp;&amp;(q(j)===&quot;[object Error]&quot;||j instanceof Error)}function W(j){return typeof j==&quot;function&quot;}function q(j){return Object.prototype.toString.call(j)}function K(j){return j&lt;10?&quot;0&quot;+j.toString(10):j.toString(10)}l.debuglog=function(j){if(M(c)&amp;&amp;(c=i.env.NODE_DEBUG||&quot;&quot;),j=j.toUpperCase(),!a[j])if(new RegExp(&quot;\\b&quot;+j+&quot;\\b&quot;,&quot;i&quot;).test(c)){var k=i.pid;a[j]=function(){var S=l.format.apply(l,arguments);console.error(&quot;%s %d: %s&quot;,j,k,S)}}else a[j]=function(){};return a[j]},l.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;},l.isArray=g,l.isBoolean=y,l.isNull=v,l.isNullOrUndefined=function(j){return j==null},l.isNumber=_,l.isString=C,l.isSymbol=function(j){return typeof j==&quot;symbol&quot;},l.isUndefined=M,l.isRegExp=T,l.isObject=$,l.isDate=F,l.isError=H,l.isFunction=W,l.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},l.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 L(){var j=new Date,k=[K(j.getHours()),K(j.getMinutes()),K(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)}l.log=function(){console.log(&quot;%s - %s&quot;,L(),l.format.apply(l,arguments))},l.inherits=t(&quot;inherits&quot;),l._extend=function(j,k){if(!k||!$(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 Jt&lt;&quot;u&quot;?Jt: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,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),Object.defineProperty(l,&quot;v1&quot;,{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(l,&quot;v3&quot;,{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,&quot;v4&quot;,{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(l,&quot;v5&quot;,{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(l,&quot;NIL&quot;,{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(l,&quot;version&quot;,{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(l,&quot;validate&quot;,{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(l,&quot;stringify&quot;,{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(l,&quot;parse&quot;,{enumerable:!0,get:function(){return m.default}});var i=p(t(&quot;./v1.js&quot;)),o=p(t(&quot;./v3.js&quot;)),u=p(t(&quot;./v4.js&quot;)),c=p(t(&quot;./v5.js&quot;)),a=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(x){return x&amp;&amp;x.__esModule?x:{default:x}}},{&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,l){function i(m){return 14+(m+64&gt;&gt;&gt;9&lt;&lt;4)+1}function o(m,p){const x=(65535&amp;m)+(65535&amp;p);return(m&gt;&gt;16)+(p&gt;&gt;16)+(x&gt;&gt;16)&lt;&lt;16|65535&amp;x}function u(m,p,x,g,y,v){return o((_=o(o(p,m),o(g,v)))&lt;&lt;(C=y)|_&gt;&gt;&gt;32-C,x);var _,C}function c(m,p,x,g,y,v,_){return u(p&amp;x|~p&amp;g,m,p,y,v,_)}function a(m,p,x,g,y,v,_){return u(p&amp;g|x&amp;~g,m,p,y,v,_)}function d(m,p,x,g,y,v,_){return u(p^x^g,m,p,y,v,_)}function f(m,p,x,g,y,v,_){return u(x^(p|~g),m,p,y,v,_)}Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.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 x=0;x&lt;p.length;++x)m[x]=p.charCodeAt(x)}return(function(p){const x=[],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);x.push(_)}return x})((function(p,x){p[x&gt;&gt;5]|=128&lt;&lt;x%32,p[i(x)-1]=x;let g=1732584193,y=-271733879,v=-1732584194,_=271733878;for(let C=0;C&lt;p.length;C+=16){const M=g,T=y,$=v,F=_;g=c(g,y,v,_,p[C],7,-680876936),_=c(_,g,y,v,p[C+1],12,-389564586),v=c(v,_,g,y,p[C+2],17,606105819),y=c(y,v,_,g,p[C+3],22,-1044525330),g=c(g,y,v,_,p[C+4],7,-176418897),_=c(_,g,y,v,p[C+5],12,1200080426),v=c(v,_,g,y,p[C+6],17,-1473231341),y=c(y,v,_,g,p[C+7],22,-45705983),g=c(g,y,v,_,p[C+8],7,1770035416),_=c(_,g,y,v,p[C+9],12,-1958414417),v=c(v,_,g,y,p[C+10],17,-42063),y=c(y,v,_,g,p[C+11],22,-1990404162),g=c(g,y,v,_,p[C+12],7,1804603682),_=c(_,g,y,v,p[C+13],12,-40341101),v=c(v,_,g,y,p[C+14],17,-1502002290),y=c(y,v,_,g,p[C+15],22,1236535329),g=a(g,y,v,_,p[C+1],5,-165796510),_=a(_,g,y,v,p[C+6],9,-1069501632),v=a(v,_,g,y,p[C+11],14,643717713),y=a(y,v,_,g,p[C],20,-373897302),g=a(g,y,v,_,p[C+5],5,-701558691),_=a(_,g,y,v,p[C+10],9,38016083),v=a(v,_,g,y,p[C+15],14,-660478335),y=a(y,v,_,g,p[C+4],20,-405537848),g=a(g,y,v,_,p[C+9],5,568446438),_=a(_,g,y,v,p[C+14],9,-1019803690),v=a(v,_,g,y,p[C+3],14,-187363961),y=a(y,v,_,g,p[C+8],20,1163531501),g=a(g,y,v,_,p[C+13],5,-1444681467),_=a(_,g,y,v,p[C+2],9,-51403784),v=a(v,_,g,y,p[C+7],14,1735328473),y=a(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=o(g,M),y=o(y,T),v=o(v,$),_=o(_,F)}return[g,y,v,_]})((function(p){if(p.length===0)return[];const x=8*p.length,g=new Uint32Array(i(x));for(let y=0;y&lt;x;y+=8)g[y&gt;&gt;5]|=(255&amp;p[y/8])&lt;&lt;y%32;return g})(m),8*m.length))};l.default=h},{}],530:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0,l.default=&quot;00000000-0000-0000-0000-000000000000&quot;},{}],531:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i,o=(i=t(&quot;./validate.js&quot;))&amp;&amp;i.__esModule?i:{default:i},u=function(c){if(!(0,o.default)(c))throw TypeError(&quot;Invalid UUID&quot;);let a;const d=new Uint8Array(16);return d[0]=(a=parseInt(c.slice(0,8),16))&gt;&gt;&gt;24,d[1]=a&gt;&gt;&gt;16&amp;255,d[2]=a&gt;&gt;&gt;8&amp;255,d[3]=255&amp;a,d[4]=(a=parseInt(c.slice(9,13),16))&gt;&gt;&gt;8,d[5]=255&amp;a,d[6]=(a=parseInt(c.slice(14,18),16))&gt;&gt;&gt;8,d[7]=255&amp;a,d[8]=(a=parseInt(c.slice(19,23),16))&gt;&gt;&gt;8,d[9]=255&amp;a,d[10]=(a=parseInt(c.slice(24,36),16))/1099511627776&amp;255,d[11]=a/4294967296&amp;255,d[12]=a&gt;&gt;&gt;24&amp;255,d[13]=a&gt;&gt;&gt;16&amp;255,d[14]=a&gt;&gt;&gt;8&amp;255,d[15]=255&amp;a,d};l.default=u},{&quot;./validate.js&quot;:541}],532:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0,l.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,l){let i;Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.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(o)};const o=new Uint8Array(16)},{}],534:[function(t,n,l){function i(c,a,d,f){switch(c){case 0:return a&amp;d^~a&amp;f;case 1:return a^d^f;case 2:return a&amp;d^a&amp;f^d&amp;f;case 3:return a^d^f}}function o(c,a){return c&lt;&lt;a|c&gt;&gt;&gt;32-a}Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var u=function(c){const a=[1518500249,1859775393,2400959708,3395469782],d=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof c==&quot;string&quot;){const p=unescape(encodeURIComponent(c));c=[];for(let x=0;x&lt;p.length;++x)c.push(p.charCodeAt(x))}else Array.isArray(c)||(c=Array.prototype.slice.call(c));c.push(128);const f=c.length/4+2,h=Math.ceil(f/16),m=new Array(h);for(let p=0;p&lt;h;++p){const x=new Uint32Array(16);for(let g=0;g&lt;16;++g)x[g]=c[64*p+4*g]&lt;&lt;24|c[64*p+4*g+1]&lt;&lt;16|c[64*p+4*g+2]&lt;&lt;8|c[64*p+4*g+3];m[p]=x}m[h-1][14]=8*(c.length-1)/Math.pow(2,32),m[h-1][14]=Math.floor(m[h-1][14]),m[h-1][15]=8*(c.length-1)&amp;4294967295;for(let p=0;p&lt;h;++p){const x=new Uint32Array(80);for(let M=0;M&lt;16;++M)x[M]=m[p][M];for(let M=16;M&lt;80;++M)x[M]=o(x[M-3]^x[M-8]^x[M-14]^x[M-16],1);let g=d[0],y=d[1],v=d[2],_=d[3],C=d[4];for(let M=0;M&lt;80;++M){const T=Math.floor(M/20),$=o(g,5)+i(T,y,v,_)+C+a[T]+x[M]&gt;&gt;&gt;0;C=_,_=v,v=o(y,30)&gt;&gt;&gt;0,y=g,g=$}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]]};l.default=u},{}],535:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i,o=(i=t(&quot;./validate.js&quot;))&amp;&amp;i.__esModule?i:{default:i};const u=[];for(let a=0;a&lt;256;++a)u.push((a+256).toString(16).substr(1));var c=function(a){let d=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0;const f=(u[a[d+0]]+u[a[d+1]]+u[a[d+2]]+u[a[d+3]]+&quot;-&quot;+u[a[d+4]]+u[a[d+5]]+&quot;-&quot;+u[a[d+6]]+u[a[d+7]]+&quot;-&quot;+u[a[d+8]]+u[a[d+9]]+&quot;-&quot;+u[a[d+10]]+u[a[d+11]]+u[a[d+12]]+u[a[d+13]]+u[a[d+14]]+u[a[d+15]]).toLowerCase();if(!(0,o.default)(f))throw TypeError(&quot;Stringified UUID is invalid&quot;);return f};l.default=c},{&quot;./validate.js&quot;:541}],536:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i=u(t(&quot;./rng.js&quot;)),o=u(t(&quot;./stringify.js&quot;));function u(m){return m&amp;&amp;m.__esModule?m:{default:m}}let c,a,d=0,f=0;var h=function(m,p,x){let g=p&amp;&amp;x||0;const y=p||new Array(16);let v=(m=m||{}).node||c,_=m.clockseq!==void 0?m.clockseq:a;if(v==null||_==null){const H=m.random||(m.rng||i.default)();v==null&amp;&amp;(v=c=[1|H[0],H[1],H[2],H[3],H[4],H[5]]),_==null&amp;&amp;(_=a=16383&amp;(H[6]&lt;&lt;8|H[7]))}let C=m.msecs!==void 0?m.msecs:Date.now(),M=m.nsecs!==void 0?m.nsecs:f+1;const T=C-d+(M-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;(M=0),M&gt;=1e4)throw new Error(&quot;uuid.v1(): Can&#039;t create more than 10M uuids/sec&quot;);d=C,f=M,a=_,C+=122192928e5;const $=(1e4*(268435455&amp;C)+M)%4294967296;y[g++]=$&gt;&gt;&gt;24&amp;255,y[g++]=$&gt;&gt;&gt;16&amp;255,y[g++]=$&gt;&gt;&gt;8&amp;255,y[g++]=255&amp;$;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,o.default)(y)};l.default=h},{&quot;./rng.js&quot;:533,&quot;./stringify.js&quot;:535}],537:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i=u(t(&quot;./v35.js&quot;)),o=u(t(&quot;./md5.js&quot;));function u(a){return a&amp;&amp;a.__esModule?a:{default:a}}var c=(0,i.default)(&quot;v3&quot;,48,o.default);l.default=c},{&quot;./md5.js&quot;:529,&quot;./v35.js&quot;:538}],538:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=function(d,f,h){function m(p,x,g,y){if(typeof p==&quot;string&quot;&amp;&amp;(p=(function(_){_=unescape(encodeURIComponent(_));const C=[];for(let M=0;M&lt;_.length;++M)C.push(_.charCodeAt(M));return C})(p)),typeof x==&quot;string&quot;&amp;&amp;(x=(0,o.default)(x)),x.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(x),v.set(p,x.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=c,m.URL=a,m},l.URL=l.DNS=void 0;var i=u(t(&quot;./stringify.js&quot;)),o=u(t(&quot;./parse.js&quot;));function u(d){return d&amp;&amp;d.__esModule?d:{default:d}}const c=&quot;6ba7b810-9dad-11d1-80b4-00c04fd430c8&quot;;l.DNS=c;const a=&quot;6ba7b811-9dad-11d1-80b4-00c04fd430c8&quot;;l.URL=a},{&quot;./parse.js&quot;:531,&quot;./stringify.js&quot;:535}],539:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i=u(t(&quot;./rng.js&quot;)),o=u(t(&quot;./stringify.js&quot;));function u(a){return a&amp;&amp;a.__esModule?a:{default:a}}var c=function(a,d,f){const h=(a=a||{}).random||(a.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,o.default)(h)};l.default=c},{&quot;./rng.js&quot;:533,&quot;./stringify.js&quot;:535}],540:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i=u(t(&quot;./v35.js&quot;)),o=u(t(&quot;./sha1.js&quot;));function u(a){return a&amp;&amp;a.__esModule?a:{default:a}}var c=(0,i.default)(&quot;v5&quot;,80,o.default);l.default=c},{&quot;./sha1.js&quot;:534,&quot;./v35.js&quot;:538}],541:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i,o=(i=t(&quot;./regex.js&quot;))&amp;&amp;i.__esModule?i:{default:i},u=function(c){return typeof c==&quot;string&quot;&amp;&amp;o.default.test(c)};l.default=u},{&quot;./regex.js&quot;:532}],542:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i,o=(i=t(&quot;./validate.js&quot;))&amp;&amp;i.__esModule?i:{default:i},u=function(c){if(!(0,o.default)(c))throw TypeError(&quot;Invalid UUID&quot;);return parseInt(c.substr(14,1),16)};l.default=u},{&quot;./validate.js&quot;:541}],543:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.CHAR=`	
\r -퟿-�𐀀-􏿿`,l.S=` 	\r
`,l.NAME_START_CHAR=&quot;:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,l.NAME_CHAR=&quot;-&quot;+l.NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,l.CHAR_RE=new RegExp(&quot;^[&quot;+l.CHAR+&quot;]$&quot;,&quot;u&quot;),l.S_RE=new RegExp(&quot;^[&quot;+l.S+&quot;]+$&quot;,&quot;u&quot;),l.NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+l.NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),l.NAME_CHAR_RE=new RegExp(&quot;^[&quot;+l.NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),l.NAME_RE=new RegExp(&quot;^[&quot;+l.NAME_START_CHAR+&quot;][&quot;+l.NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),l.NMTOKEN_RE=new RegExp(&quot;^[&quot;+l.NAME_CHAR+&quot;]+$&quot;,&quot;u&quot;);function i(o){return o&gt;=65&amp;&amp;o&lt;=90||o&gt;=97&amp;&amp;o&lt;=122||o===58||o===95||o===8204||o===8205||o&gt;=192&amp;&amp;o&lt;=214||o&gt;=216&amp;&amp;o&lt;=246||o&gt;=248&amp;&amp;o&lt;=767||o&gt;=880&amp;&amp;o&lt;=893||o&gt;=895&amp;&amp;o&lt;=8191||o&gt;=8304&amp;&amp;o&lt;=8591||o&gt;=11264&amp;&amp;o&lt;=12271||o&gt;=12289&amp;&amp;o&lt;=55295||o&gt;=63744&amp;&amp;o&lt;=64975||o&gt;=65008&amp;&amp;o&lt;=65533||o&gt;=65536&amp;&amp;o&lt;=983039}l.S_LIST=[32,10,13,9],l.isChar=function(o){return o&gt;=32&amp;&amp;o&lt;=55295||o===10||o===13||o===9||o&gt;=57344&amp;&amp;o&lt;=65533||o&gt;=65536&amp;&amp;o&lt;=1114111},l.isS=function(o){return o===32||o===10||o===13||o===9},l.isNameStartChar=i,l.isNameChar=function(o){return i(o)||o&gt;=48&amp;&amp;o&lt;=57||o===45||o===46||o===183||o&gt;=768&amp;&amp;o&lt;=879||o&gt;=8255&amp;&amp;o&lt;=8256}},{}],544:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.CHAR=&quot;-퟿-�𐀀-􏿿&quot;,l.RESTRICTED_CHAR=&quot;-\b\v\f---&quot;,l.S=` 	\r
`,l.NAME_START_CHAR=&quot;:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,l.NAME_CHAR=&quot;-&quot;+l.NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,l.CHAR_RE=new RegExp(&quot;^[&quot;+l.CHAR+&quot;]$&quot;,&quot;u&quot;),l.RESTRICTED_CHAR_RE=new RegExp(&quot;^[&quot;+l.RESTRICTED_CHAR+&quot;]$&quot;,&quot;u&quot;),l.S_RE=new RegExp(&quot;^[&quot;+l.S+&quot;]+$&quot;,&quot;u&quot;),l.NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+l.NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),l.NAME_CHAR_RE=new RegExp(&quot;^[&quot;+l.NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),l.NAME_RE=new RegExp(&quot;^[&quot;+l.NAME_START_CHAR+&quot;][&quot;+l.NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),l.NMTOKEN_RE=new RegExp(&quot;^[&quot;+l.NAME_CHAR+&quot;]+$&quot;,&quot;u&quot;);function i(o){return o&gt;=65&amp;&amp;o&lt;=90||o&gt;=97&amp;&amp;o&lt;=122||o===58||o===95||o===8204||o===8205||o&gt;=192&amp;&amp;o&lt;=214||o&gt;=216&amp;&amp;o&lt;=246||o&gt;=248&amp;&amp;o&lt;=767||o&gt;=880&amp;&amp;o&lt;=893||o&gt;=895&amp;&amp;o&lt;=8191||o&gt;=8304&amp;&amp;o&lt;=8591||o&gt;=11264&amp;&amp;o&lt;=12271||o&gt;=12289&amp;&amp;o&lt;=55295||o&gt;=63744&amp;&amp;o&lt;=64975||o&gt;=65008&amp;&amp;o&lt;=65533||o&gt;=65536&amp;&amp;o&lt;=983039}l.S_LIST=[32,10,13,9],l.isChar=function(o){return o&gt;=1&amp;&amp;o&lt;=55295||o&gt;=57344&amp;&amp;o&lt;=65533||o&gt;=65536&amp;&amp;o&lt;=1114111},l.isRestrictedChar=function(o){return o&gt;=1&amp;&amp;o&lt;=8||o===11||o===12||o&gt;=14&amp;&amp;o&lt;=31||o&gt;=127&amp;&amp;o&lt;=132||o&gt;=134&amp;&amp;o&lt;=159},l.isCharAndNotRestricted=function(o){return o===9||o===10||o===13||o&gt;31&amp;&amp;o&lt;127||o===133||o&gt;159&amp;&amp;o&lt;=55295||o&gt;=57344&amp;&amp;o&lt;=65533||o&gt;=65536&amp;&amp;o&lt;=1114111},l.isS=function(o){return o===32||o===10||o===13||o===9},l.isNameStartChar=i,l.isNameChar=function(o){return i(o)||o&gt;=48&amp;&amp;o&lt;=57||o===45||o===46||o===183||o&gt;=768&amp;&amp;o&lt;=879||o&gt;=8255&amp;&amp;o&lt;=8256}},{}],545:[function(t,n,l){function i(o){return o&gt;=65&amp;&amp;o&lt;=90||o===95||o&gt;=97&amp;&amp;o&lt;=122||o&gt;=192&amp;&amp;o&lt;=214||o&gt;=216&amp;&amp;o&lt;=246||o&gt;=248&amp;&amp;o&lt;=767||o&gt;=880&amp;&amp;o&lt;=893||o&gt;=895&amp;&amp;o&lt;=8191||o&gt;=8204&amp;&amp;o&lt;=8205||o&gt;=8304&amp;&amp;o&lt;=8591||o&gt;=11264&amp;&amp;o&lt;=12271||o&gt;=12289&amp;&amp;o&lt;=55295||o&gt;=63744&amp;&amp;o&lt;=64975||o&gt;=65008&amp;&amp;o&lt;=65533||o&gt;=65536&amp;&amp;o&lt;=983039}Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.NC_NAME_START_CHAR=&quot;A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,l.NC_NAME_CHAR=&quot;-&quot;+l.NC_NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,l.NC_NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+l.NC_NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),l.NC_NAME_CHAR_RE=new RegExp(&quot;^[&quot;+l.NC_NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),l.NC_NAME_RE=new RegExp(&quot;^[&quot;+l.NC_NAME_START_CHAR+&quot;][&quot;+l.NC_NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),l.isNCNameStartChar=i,l.isNCNameChar=function(o){return i(o)||o===45||o===46||o&gt;=48&amp;&amp;o&lt;=57||o===183||o&gt;=768&amp;&amp;o&lt;=879||o&gt;=8255&amp;&amp;o&lt;=8256}},{}]},{},[15])(15)}))})(my)),my.exports}var Oie=Mie();const Pie=_s(Oie);function pd(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(a=&gt;n.map(d=&gt;{const f=a[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(`
`),o=new Blob([&quot;\uFEFF&quot;+i],{type:&quot;text/csv;charset=utf-8;&quot;}),u=document.createElement(&quot;a&quot;),c=URL.createObjectURL(o);u.setAttribute(&quot;href&quot;,c),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(c)}async function ua(e,r,t=&quot;Données&quot;,n){if(e.length===0){alert(&quot;Aucune donnée à exporter&quot;);return}const l=Object.keys(e[0]),i=new Pie.Workbook,o=i.addWorksheet(t);o.addRow(l);const u=o.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=l.map(p=&gt;{const x=h[p];return x??&quot;&quot;});o.addRow(m)}),l.forEach((h,m)=&gt;{const p=o.getColumn(m+1);p.width=Math.max(h.length+2,15)});const c=await i.xlsx.writeBuffer(),a=new Blob([c],{type:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&quot;}),d=document.createElement(&quot;a&quot;),f=URL.createObjectURL(a);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 Tie(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 Iie(e){return e?e===&quot;homme&quot;?&quot;Homme&quot;:e===&quot;femme&quot;?&quot;Femme&quot;:e:&quot;&quot;}function Rie(e){return e?{primaire:&quot;Primaire&quot;,secondaire_2:&quot;Secondaire 2e cycle&quot;,universitaire:&quot;Universitaire&quot;}[e]||e:&quot;&quot;}function Die(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 Lie(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 gd(e){return e?{paypal:&quot;PayPal&quot;,card_visa:&quot;Carte de crédit (Visa)&quot;,mobile_money:&quot;Mobile Money (en ligne ou en direct)&quot;,national_office:&quot;Envoi d&#039;argent (RIA, Western ou MoneyGram)&quot;,bank_transfer:&quot;Virement bancaire&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;}[e]||e:&quot;&quot;}function Fie(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 Xk(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;:Fie(t),&quot;Méthode de paiement&quot;:gd(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;:Tie(t.seminar_marital_status),&quot;Âge (séminaire)&quot;:t.seminar_age??&quot;&quot;,&quot;Genre (séminaire)&quot;:Iie(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;:Rie(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;:Die(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;:Lie(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 Gk(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 Yk(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 Zk(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 Bie(e){if(e.movement_type===&quot;transfer&quot;){const n=e.from_account_name??`#${e.from_treasury_account_id}`,l=e.to_account_name??`#${e.to_treasury_account_id}`;return`${n} → ${l}`}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 Qk(e){return e.map(r=&gt;({ID:r.id,Type:r.movement_type===&quot;transfer&quot;?&quot;Transfert&quot;:&quot;Ajustement&quot;,Détail:Bie(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 zie(){const[e,r]=Ud(),t=e.get(&quot;view&quot;),n=t===&quot;seminar&quot;||t===&quot;recommendations&quot;?t:&quot;summit&quot;,l=Gi(),{isAuthenticated:i,isParticipant:o,loading:u,can:c,roles:a}=qs(),[d,f]=I.useState({}),[h,m]=I.useState(1),[p,x]=I.useState(20),[g,y]=I.useState(1),[v,_]=I.useState(20),[C,M]=I.useState(null),[T,$]=I.useState(null),[F,H]=I.useState(!1),[W,q]=I.useState(!1),[K,P]=I.useState(!1),[L,E]=I.useState(!1),[j,k]=I.useState(!1),[S,N]=I.useState(!1),[O,D]=I.useState(!1),[B,Y]=I.useState(null),[Z,ne]=I.useState(null),V=I.useRef(null),ee=()=&gt;{const Ce=V.current;Ce&amp;&amp;(Ce.open=!1)},z=I.useMemo(()=&gt;{const Ce=d.status;return!Ce||Ce.length===0?null:Ce.length===1?Ce[0]:&quot;multiple&quot;},[d.status]),{events:R}=Mp(),X=I.useMemo(()=&gt;R.filter(Ce=&gt;Ce.event_type===&quot;summit&quot;).map(Ce=&gt;Ce.id),[R]),re=I.useMemo(()=&gt;R.filter(Ce=&gt;Ce.event_type===&quot;seminar&quot;).map(Ce=&gt;Ce.id),[R]),Q=a.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!a.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),te=a.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!a.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),se=a.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!a.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),de=a.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!a.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!a.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),ce=Q||de?!1:c(&quot;registrations.read&quot;),ie=te||se?!1:c(&quot;registrations.read&quot;),fe=Q||se?!1:c(&quot;recommendations.read&quot;),oe=ce||ie||fe,ge=c(&quot;registrations.update_status&quot;),xe=c(&quot;registrations.send_to_correction&quot;),pe=c(&quot;registrations.update&quot;),ue=c(&quot;registrations.delete&quot;),we=c(&quot;registrations.export&quot;),ke=(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;a.includes(&quot;COMMISSION_COMMUNICATION&quot;),Te=a.includes(&quot;COMMISSION_ADMINISTRATION&quot;)&amp;&amp;!a.includes(&quot;SUPER_ADMIN&quot;),je=a.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;)&amp;&amp;!a.includes(&quot;SUPER_ADMIN&quot;),De=Te&amp;&amp;n===&quot;seminar&quot;||je&amp;&amp;n===&quot;summit&quot;,Xe=De?!1:ge,Ve=De?!1:pe,et=De?!1:ue,st=ge&amp;&amp;!(Te&amp;&amp;C?.event?.event_type===&quot;seminar&quot;)&amp;&amp;!(je&amp;&amp;C?.event?.event_type===&quot;summit&quot;);I.useEffect(()=&gt;{const Ce=[];ce&amp;&amp;Ce.push(&quot;summit&quot;),ie&amp;&amp;Ce.push(&quot;seminar&quot;),fe&amp;&amp;Ce.push(&quot;recommendations&quot;),Ce.length&gt;0&amp;&amp;!Ce.includes(n)&amp;&amp;r({view:Ce[0]},{replace:!0})},[ce,ie,fe,n,r]),I.useEffect(()=&gt;{const Ce=V.current;Ce&amp;&amp;(Ce.open=!1)},[n]);const Ge=I.useMemo(()=&gt;{const Ce={...d,page:h,per_page:p};return n===&quot;summit&quot;&amp;&amp;X.length&gt;0?(Ce.event_type=&quot;summit&quot;,X.length===1?Ce.event_id=X[0]:d.event_id&amp;&amp;!X.includes(d.event_id)&amp;&amp;(Ce.event_id=void 0)):n===&quot;seminar&quot;&amp;&amp;re.length&gt;0&amp;&amp;(Ce.event_type=&quot;seminar&quot;,re.length===1?Ce.event_id=re[0]:d.event_id&amp;&amp;!re.includes(d.event_id)&amp;&amp;(Ce.event_id=void 0)),Ce},[d,h,p,n,X,re]),{data:ze,loading:Qe,error:rt,refetch:Ae}=KF(Ge,oe&amp;&amp;i&amp;&amp;(n===&quot;summit&quot;||n===&quot;seminar&quot;)),ut=I.useMemo(()=&gt;{const Ce={created_from:d.created_from,created_to:d.created_to};return n===&quot;summit&quot;&amp;&amp;X.length&gt;0?X.length===1?Ce.event_id=X[0]:Ce.event_type=&quot;summit&quot;:n===&quot;seminar&quot;&amp;&amp;re.length&gt;0?re.length===1?Ce.event_id=re[0]:Ce.event_type=&quot;seminar&quot;:Ge.event_id&amp;&amp;(Ce.event_id=Ge.event_id),Ce},[n,X,re,d.created_from,d.created_to,Ge.event_id]),{data:$t,loading:ht,refetch:Tt}=XF(ut,oe&amp;&amp;i&amp;&amp;(n===&quot;summit&quot;||n===&quot;seminar&quot;)),{data:It,refetch:Et}=GF(ut,oe&amp;&amp;i&amp;&amp;(n===&quot;summit&quot;||n===&quot;seminar&quot;)),{data:Ut,loading:qt,error:yt,refetch:Rt}=YF({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),Xt=async()=&gt;{D(!0);try{const Ce=[Ae(),Tt(),Et()];fe&amp;&amp;Ce.push(Rt()),await Promise.all(Ce)}finally{D(!1)}};if(u)return s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!i)return s.jsx(pi,{to:&quot;/login&quot;,replace:!0});if(o)return s.jsx(pi,{to:&quot;/account&quot;,replace:!0});if(!oe)return s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[s.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Accès non autorisé&quot;}),s.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(rt){if(rt.status===403&amp;&amp;(c(&quot;finance.dashboard&quot;)||c(&quot;payments.read&quot;)))return l(&quot;/admin/finance&quot;,{replace:!0}),null;const Ce=rt.status===401?&quot;Vous devez être connecté pour accéder à cette page.&quot;:rt.status===403?&quot;Vous n&#039;avez pas les permissions nécessaires.&quot;:rt.data?.message||&quot;Une erreur est survenue.&quot;;return s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[s.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Erreur&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-4&quot;,children:Ce}),s.jsx(Re,{variant:&quot;primary&quot;,onClick:()=&gt;window.location.reload(),children:&quot;Recharger la page&quot;})]})})}const dt=Ce=&gt;{M(Ce),H(!0)},Ft=Ce=&gt;{M(Ce),q(!0)},Ht=Ce=&gt;{M(Ce),P(!0)},Nt=Ce=&gt;{M(Ce),E(!0)},be=()=&gt;{Ae(),Tt(),C&amp;&amp;(H(!1),H(!0))},Ne=()=&gt;{Ae(),Tt(),C&amp;&amp;(H(!1),H(!0))},Ie=()=&gt;{Ae(),Tt(),M(null)},Ke=Ce=&gt;{ne(Ce)},vt=()=&gt;{ne(null),Ae(),Tt()},Je=async Ce=&gt;{Y(Ce.id);try{await _a.resendActivationEmail(Ce.id),alert(&quot;Email d’activation renvoyé. Le participant recevra le lien pour confirmer et choisir son mot de passe.&quot;)}catch(nt){if(nt instanceof Bt){const it=nt.data.errors?.status?.[0]||nt.data.errors?.registration?.[0]||nt.data.message;alert(it||nt.message)}else alert(&quot;Erreur lors de l’envoi de l’email.&quot;)}finally{Y(null)}},St=Ce=&gt;{m(Ce),window.scrollTo({top:0,behavior:&quot;smooth&quot;})},wt=Ce=&gt;{x(Ce),m(1)},ot=Ce=&gt;{m(1),f(Ce)},At=Ce=&gt;{m(1),f(Ce===&quot;total&quot;?nt=&gt;({...nt,status:void 0}):nt=&gt;({...nt,status:[Ce]}))},Ct=Ce=&gt;{$(Ce),console.log(&quot;Recommandation sélectionnée:&quot;,Ce),alert(`Recommandation #${Ce.id}

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

Recommandeur: ${Ce.recommender_first_name} ${Ce.recommender_last_name} (${Ce.recommender_email})`)},Dt=Ce=&gt;{$(Ce),k(!0)},or=()=&gt;{Rt()},Gt=c(&quot;recommendations.delete&quot;),nr=c(&quot;recommendations.update_status&quot;),ur=Ce=&gt;{confirm(`Supprimer la recommandation pour ${Ce.recommended_full_name} ? Cette action est irréversible.`)&amp;&amp;Sd.delete(Ce.id).then(()=&gt;Rt()).catch(nt=&gt;{alert(nt?.data?.message??&quot;Erreur lors de la suppression.&quot;)})},Ar=Ce=&gt;{y(Ce),window.scrollTo({top:0,behavior:&quot;smooth&quot;})},he=Ce=&gt;{_(Ce),y(1)},ve=async()=&gt;{const Ce=[];let nt=1,it=!0;for(;it;)try{const at=await _a.list({...Ge,page:nt,per_page:100});Ce.push(...at.data),nt&gt;=at.meta.last_page?it=!1:nt++}catch(at){throw console.error(&quot;Erreur lors de la récupération des inscriptions:&quot;,at),at}return Ce},Le=async()=&gt;{const Ce=[];let nt=1,it=!0;for(;it;)try{const at=await Sd.list({status:d.status,q:d.q,created_from:d.created_from,created_to:d.created_to,page:nt,per_page:100});Ce.push(...at.data),nt&gt;=at.meta.last_page?it=!1:nt++}catch(at){throw console.error(&quot;Erreur lors de la récupération des recommandations:&quot;,at),at}return Ce},$e=async()=&gt;{ee(),N(!0);try{const Ce=await ve(),it=Xk(Ce,n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0),Mt=`inscriptions_${n===&quot;summit&quot;?&quot;sommet&quot;:&quot;seminaire&quot;}_${new Date().toISOString().split(&quot;T&quot;)[0]}`;pd(it,Mt)}catch(Ce){alert(&quot;Erreur lors de l&#039;export CSV: &quot;+(Ce instanceof Error?Ce.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}},ct=async()=&gt;{ee(),N(!0);try{const Ce=await ve(),it=Xk(Ce,n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0),Mt=`inscriptions_${n===&quot;summit&quot;?&quot;sommet&quot;:&quot;seminaire&quot;}_${new Date().toISOString().split(&quot;T&quot;)[0]}`;await ua(it,Mt,n===&quot;summit&quot;?&quot;Inscriptions Sommet&quot;:&quot;Inscriptions Séminaire&quot;)}catch(Ce){alert(&quot;Erreur lors de l&#039;export XLSX: &quot;+(Ce instanceof Error?Ce.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}},Fe=async()=&gt;{ee(),N(!0);try{const Ce=await Le(),nt=Gk(Ce),it=`recommandations_${new Date().toISOString().split(&quot;T&quot;)[0]}`;pd(nt,it)}catch(Ce){alert(&quot;Erreur lors de l&#039;export CSV: &quot;+(Ce instanceof Error?Ce.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}},Ye=async()=&gt;{ee(),N(!0);try{const Ce=await Le(),nt=Gk(Ce),it=`recommandations_${new Date().toISOString().split(&quot;T&quot;)[0]}`;await ua(nt,it,&quot;Recommandations&quot;)}catch(Ce){alert(&quot;Erreur lors de l&#039;export XLSX: &quot;+(Ce instanceof Error?Ce.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}};return s.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[s.jsx(Tp,{showRefresh:!0,refreshing:O,onRefresh:Xt}),s.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-1&quot;,children:[s.jsx(Ip,{currentSection:&quot;registrations&quot;,registrationView:n,showSommet:ce,showSeminar:ie,showRecommendations:fe,showUsers:!1,showFinance:se||de?!1:c(&quot;finance.dashboard&quot;)||c(&quot;payments.read&quot;),showSettings:Q||te||se||de?!1:c(&quot;settings.read&quot;)||c(&quot;settings.update&quot;)}),s.jsxs(&quot;main&quot;,{className:&quot;min-w-0 flex-1 lg:ml-48 pb-16 lg:pb-0&quot;,children:[s.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:[s.jsx(RB,{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;!ke&amp;&amp;we&amp;&amp;!(Te&amp;&amp;n===&quot;seminar&quot;)&amp;&amp;!(je&amp;&amp;n===&quot;summit&quot;)||n===&quot;recommendations&quot;&amp;&amp;!Te&amp;&amp;nr?s.jsxs(&quot;details&quot;,{ref:V,className:&quot;relative&quot;,children:[s.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;,s.jsx(Uy,{className:&quot;h-4 w-4 shrink-0 opacity-70&quot;,&quot;aria-hidden&quot;:!0})]}),s.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:Ce=&gt;Ce.stopPropagation(),children:[(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;!ke&amp;&amp;we&amp;&amp;!(Te&amp;&amp;n===&quot;seminar&quot;)&amp;&amp;!(je&amp;&amp;n===&quot;summit&quot;)?s.jsxs(s.Fragment,{children:[s.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;{$e()},children:[s.jsx(km,{className:&quot;h-4 w-4 shrink-0&quot;,&quot;aria-hidden&quot;:!0}),S?&quot;Export…&quot;:&quot;Export CSV&quot;]}),s.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;{ct()},children:[s.jsx(F4,{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;!Te&amp;&amp;nr?s.jsxs(s.Fragment,{children:[s.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;{Fe()},children:[s.jsx(km,{className:&quot;h-4 w-4 shrink-0&quot;,&quot;aria-hidden&quot;:!0}),S?&quot;Export…&quot;:&quot;Export CSV&quot;]}),s.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;{Ye()},children:[s.jsx(F4,{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}),s.jsx(DB,{children:s.jsx(IB,{filters:d,onFiltersChange:ot,hideEventFilter:n===&quot;summit&quot;||n===&quot;seminar&quot;,showCountryFilter:n===&quot;summit&quot;||n===&quot;seminar&quot;,countryShortcuts:It})}),(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;!ke&amp;&amp;s.jsxs(LB,{children:[s.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;}),s.jsx(Aie,{counts:$t?.by_status??{},loading:ht,activeSingleStatus:z,onKpiClick:At})]}),n===&quot;summit&quot;||n===&quot;seminar&quot;?s.jsxs(s.Fragment,{children:[s.jsx(&quot;div&quot;,{className:&quot;mb-2 min-w-0 sm:mb-4&quot;,children:ke?s.jsx(UB,{registrations:ze?.data??[],loading:Qe}):s.jsx($B,{registrations:ze?.data||[],loading:Qe,eventType:n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0,onViewDetails:dt,onUpdateStatus:Xe?Ft:void 0,onEdit:Ve?Ht:void 0,onDelete:et?Nt:void 0,onResendActivation:Ve?Je:void 0,onResetParticipantPassword:Ve?Ke:void 0,canUpdateStatus:Xe,canEdit:Ve,canDelete:et,canResendActivation:Ve,canResetParticipantPassword:Ve,resendingActivationId:B})}),ze?.meta&amp;&amp;ze.meta.last_page&gt;1&amp;&amp;s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap items-center gap-3&quot;,children:[s.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;]}),s.jsxs(&quot;select&quot;,{value:p,onChange:Ce=&gt;wt(Number(Ce.target.value)),className:&quot;px-3 py-1 border border-gray-300 rounded-lg text-sm&quot;,children:[s.jsx(&quot;option&quot;,{value:20,children:&quot;20 par page&quot;}),s.jsx(&quot;option&quot;,{value:50,children:&quot;50 par page&quot;}),s.jsx(&quot;option&quot;,{value:100,children:&quot;100 par page&quot;})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex shrink-0 items-center gap-2&quot;,children:[s.jsx(Re,{variant:&quot;outline&quot;,onClick:()=&gt;St(h-1),disabled:h===1,children:&quot;Précédent&quot;}),s.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]}),s.jsx(Re,{variant:&quot;outline&quot;,onClick:()=&gt;St(h+1),disabled:h&gt;=ze.meta.last_page,children:&quot;Suivant&quot;})]})]}),!ke&amp;&amp;s.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:[s.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;,s.jsx(Uy,{className:&quot;h-4 w-4 shrink-0 text-ink-500 sm:h-5 sm:w-5&quot;,&quot;aria-hidden&quot;:!0})]}),s.jsx(&quot;div&quot;,{className:&quot;border-t border-gray-100 px-3 py-3 sm:px-4 sm:py-4&quot;,children:s.jsx(Eie,{stats:$t,loading:ht})})]})]}):s.jsxs(s.Fragment,{children:[s.jsxs(&quot;div&quot;,{className:&quot;mb-6 min-w-0&quot;,children:[yt&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-xl p-4 mb-4&quot;,children:s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:[&quot;Erreur lors du chargement des recommandations: &quot;,yt.message]})}),s.jsx(VB,{recommendations:Ut?.data||[],loading:qt,onViewDetails:Ct,onTreat:nr&amp;&amp;!Te?Dt:void 0,onDelete:ur,canDelete:Te?!1:Gt})]}),Ut?.meta&amp;&amp;Ut.meta.last_page&gt;1&amp;&amp;s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap items-center gap-3&quot;,children:[s.jsxs(&quot;span&quot;,{className:&quot;min-w-0 text-sm text-ink-500&quot;,children:[&quot;Affichage de &quot;,Ut.meta.from,&quot; à &quot;,Ut.meta.to,&quot; sur&quot;,&quot; &quot;,Ut.meta.total,&quot; recommandations&quot;]}),s.jsxs(&quot;select&quot;,{value:v,onChange:Ce=&gt;he(Number(Ce.target.value)),className:&quot;px-3 py-1 border border-gray-300 rounded-lg text-sm&quot;,children:[s.jsx(&quot;option&quot;,{value:20,children:&quot;20 par page&quot;}),s.jsx(&quot;option&quot;,{value:50,children:&quot;50 par page&quot;}),s.jsx(&quot;option&quot;,{value:100,children:&quot;100 par page&quot;})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex shrink-0 items-center gap-2&quot;,children:[s.jsx(Re,{variant:&quot;outline&quot;,onClick:()=&gt;Ar(g-1),disabled:g===1,children:&quot;Précédent&quot;}),s.jsxs(&quot;span&quot;,{className:&quot;whitespace-nowrap px-2 text-sm text-ink-500&quot;,children:[&quot;Page &quot;,g,&quot; sur &quot;,Ut.meta.last_page]}),s.jsx(Re,{variant:&quot;outline&quot;,onClick:()=&gt;Ar(g+1),disabled:g&gt;=Ut.meta.last_page,children:&quot;Suivant&quot;})]})]})]})]}),s.jsx(qB,{registration:C,isOpen:F,onClose:()=&gt;{H(!1),M(null)},onUpdateStatus:st?Ft:void 0,canUpdateStatus:st,onResetParticipantPassword:Ve?Ke:void 0}),Z&amp;&amp;s.jsx(HB,{registration:Z,onClose:()=&gt;ne(null),onSuccess:vt}),s.jsx(WB,{registration:C,isOpen:W,onClose:()=&gt;{q(!1),M(null)},onSuccess:be,canSendToCorrection:xe}),s.jsx(KB,{registration:C,isOpen:K,onClose:()=&gt;{P(!1),M(null)},onSuccess:Ne}),s.jsx(XB,{registration:C,isOpen:L,onClose:()=&gt;{E(!1),M(null)},onSuccess:Ie}),s.jsx(YB,{recommendation:T,isOpen:j,onClose:()=&gt;{k(!1),$(null)},onSuccess:or})]})]})]})}function $ie(){const{isAuthenticated:e,isParticipant:r,loading:t,can:n,roles:l}=qs(),i=l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),o=l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),u=l.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),c=l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),[a,d]=I.useState(&quot;&quot;),[f,h]=I.useState(&quot;&quot;),[m,p]=I.useState(&quot;&quot;),[x,g]=I.useState(!1),[y,v]=I.useState(!1),[_,C]=I.useState(!1),[M,T]=I.useState(null),[$,F]=I.useState({}),H=async W=&gt;{W.preventDefault(),T(null),F({}),C(!1),v(!0);try{await dC.changePassword({current_password:a,new_password:f,new_password_confirmation:m,revoke_other_tokens:x}),C(!0),d(&quot;&quot;),h(&quot;&quot;),p(&quot;&quot;)}catch(q){const K=q;if(T(K.data?.message??&quot;Erreur lors du changement de mot de passe.&quot;),K.data?.errors){const P={};for(const[L,E]of Object.entries(K.data.errors))P[L]=Array.isArray(E)?E[0]:String(E);F(P)}}finally{v(!1)}};return t?s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):e?r?s.jsx(pi,{to:&quot;/account&quot;,replace:!0}):s.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[s.jsx(Tp,{}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[s.jsx(Ip,{currentSection:&quot;account&quot;,showSommet:i||c?!1:n(&quot;registrations.read&quot;),showSeminar:o||u?!1:n(&quot;registrations.read&quot;),showRecommendations:i||u?!1:n(&quot;recommendations.read&quot;),showUsers:!1,showFinance:u||c?!1:n(&quot;finance.dashboard&quot;)||n(&quot;payments.read&quot;),showSettings:i||o||u||c?!1:n(&quot;settings.read&quot;)||n(&quot;settings.update&quot;)}),s.jsx(&quot;main&quot;,{className:&quot;flex-1 w-full lg:ml-48 pb-16 lg:pb-0&quot;,children:s.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:[s.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-bold text-ink-900 mb-2&quot;,children:&quot;Mon compte&quot;}),s.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;}),s.jsxs(An,{className:&quot;p-6&quot;,children:[_&amp;&amp;s.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;}),M&amp;&amp;s.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:M}),s.jsxs(&quot;form&quot;,{onSubmit:H,className:&quot;space-y-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Mot de passe actuel&quot;}),s.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:a,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;}),$.current_password&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:$.current_password})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nouveau mot de passe&quot;}),s.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;}),$.new_password&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:$.new_password})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,id:&quot;revoke&quot;,checked:x,onChange:W=&gt;g(W.target.checked),className:&quot;rounded border-gray-300&quot;}),s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 pt-4&quot;,children:[s.jsx(Re,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:y,children:y?&quot;Enregistrement...&quot;:&quot;Changer le mot de passe&quot;}),s.jsx(dr,{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;})]})]})]})]})})]})]}):s.jsx(pi,{to:&quot;/login&quot;,replace:!0})}const PM=&quot;fr-FR&quot;,Sw=new Intl.NumberFormat(PM,{useGrouping:!0,maximumFractionDigits:0,minimumFractionDigits:0}),Uie=new Intl.NumberFormat(PM,{useGrouping:!0,minimumFractionDigits:2,maximumFractionDigits:2});function kw(e){return e.replace(/\u202f/g,&quot; &quot;).replace(/\u2009/g,&quot; &quot;)}function Nw(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 Vie(e){const r=Nw(e);return r===null?&quot;—&quot;:kw(Sw.format(Math.trunc(r)))}function wr(e){const r=Nw(e);return r===null?&quot;—&quot;:`${kw(Sw.format(Math.trunc(r)))} XOF`}function qie(e,r){const t=Nw(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=kw(n===&quot;EUR&quot;?Uie.format(t):Sw.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;?wr(e):qie(e,r)}function Jk(e,r){const t=wr(e);return t===&quot;—&quot;?&quot;—&quot;:r===&quot;expense&quot;?`-${Vie(e)} XOF`:t}function eN(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 Hie(e){const r=new Map;for(const t of e){const n=t.budget_category_id,l=Number(t.amount_realized)||0,i=r.get(n);i?i.amount_realized+=l:r.set(n,{category_name:t.category_name,category_type:t.category_type,amount_realized:l})}return[...r.entries()].map(([t,n])=&gt;({budget_category_id:t,...n})).sort((t,n)=&gt;{const l=o=&gt;o===&quot;revenue&quot;?0:o===&quot;expense&quot;?1:2,i=l(t.category_type)-l(n.category_type);return i!==0?i:t.category_name.localeCompare(n.category_name,&quot;fr&quot;,{sensitivity:&quot;base&quot;})})}function Wie({hasSelectedEvent:e,readOnly:r,alerts:t,table:n,writable:l}){const[i,o]=I.useState(null),{linesError:u,saveMessage:c}=t,{lines:a,loading:d,totals:f,moveLineLoading:h,onMoveUp:m,onMoveDown:p,onOpenEdit:x,onDelete:g}=n,y=I.useMemo(()=&gt;Hie(a),[a]);return s.jsxs(s.Fragment,{children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Budget&quot;}),s.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?s.jsxs(s.Fragment,{children:[u&amp;&amp;s.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}),c&amp;&amp;s.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:c}),s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden mb-6 shadow-sm&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;px-4 py-3 border-b border-gray-100 bg-gray-50/80&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-900&quot;,children:&quot;Budget prévisionnel&quot;}),s.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;})]}),s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full text-left min-w-[560px]&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.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;}),s.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;}),s.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;}),s.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;}),s.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;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:d?s.jsx(&quot;tr&quot;,{children:s.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;})}):a.length===0?s.jsx(&quot;tr&quot;,{children:s.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;})}):a.map(v=&gt;s.jsxs(&quot;tr&quot;,{className:eN(v.category_type),children:[s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium&quot;,children:v.category_name}),s.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;}),s.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;}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-right tabular-nums whitespace-nowrap font-medium&quot;,children:Jk(v.amount_planned,v.category_type)}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:!r&amp;&amp;s.jsx(xa,{rowId:v.id,openMenuId:i,setOpenMenuId:o,onEdit:()=&gt;x(v),editLabel:&quot;Modifier&quot;,menuItems:[{id:&quot;up&quot;,label:&quot;Monter&quot;,onSelect:()=&gt;m(v),disabled:!!h||a[0]?.id===v.id,title:&quot;Monter la ligne&quot;},{id:&quot;down&quot;,label:&quot;Descendre&quot;,onSelect:()=&gt;p(v),disabled:!!h||a[a.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))})]})}),a.length&gt;0&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;border-t border-gray-200 divide-y divide-gray-200&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;bg-amber-50/50 px-4 py-4&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-x-8 gap-y-2 text-sm&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Recettes (prévu) :&quot;}),&quot; &quot;,s.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:wr(f.totalRevenuePlanned)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Dépenses (prévu) :&quot;}),&quot; &quot;,s.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:wr(f.totalExpensePlanned)})]})]}),s.jsx(&quot;div&quot;,{className:&quot;mt-3 pt-3 border-t border-amber-200&quot;,children:f.shortfall&gt;0?s.jsxs(&quot;p&quot;,{className:&quot;text-amber-800 font-medium tabular-nums whitespace-nowrap&quot;,children:[&quot;Fonds à rechercher : &quot;,wr(f.shortfall)]}):f.surplus&gt;0?s.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;,wr(f.surplus)]}):s.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?s.jsxs(&quot;div&quot;,{className:&quot;bg-white px-0&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;px-4 py-3 border-b border-gray-100 bg-slate-50/90&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-900&quot;,children:&quot;Réalisation — synthèse par catégorie&quot;}),s.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;})]}),s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full text-left min-w-[480px]&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-slate-100/80 border-b border-gray-200&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.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;}),s.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;}),s.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;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:y.map(v=&gt;s.jsxs(&quot;tr&quot;,{className:eN(v.category_type),children:[s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium&quot;,children:v.category_name}),s.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;}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-right tabular-nums whitespace-nowrap font-medium&quot;,children:Jk(v.amount_realized,v.category_type)})]},v.budget_category_id))})]})})]}):null,s.jsxs(&quot;div&quot;,{className:&quot;bg-green-50/50 px-4 py-4&quot;,children:[s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-x-8 gap-y-2 text-sm&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Recettes (réalisé) :&quot;}),&quot; &quot;,s.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums&quot;,children:wr(f.totalRevenueRealized)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Dépenses (réalisé) :&quot;}),&quot; &quot;,s.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums&quot;,children:wr(f.totalExpenseRealized)})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;mt-3 pt-3 border-t border-green-200&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-ink-600 font-medium&quot;,children:&quot;Solde : &quot;}),s.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:wr(f.totalRevenueRealized-f.totalExpenseRealized)})]})]})]})]}),l&amp;&amp;s.jsxs(s.Fragment,{children:[s.jsxs(&quot;div&quot;,{className:&quot;p-4 sm:p-5 bg-gray-50 rounded-xl border border-gray-200 mb-4&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-800 mb-3&quot;,children:&quot;Nouvelle ligne de budget&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-12 gap-4 items-end&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-3&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2 mb-1.5&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700&quot;,children:&quot;Catégorie&quot;}),l.addLine.onOpenCategoryModal?s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:l.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]}),s.jsxs(&quot;select&quot;,{value:l.addLine.categoryId,onChange:v=&gt;l.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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),l.addLine.categories.map(v=&gt;s.jsx(&quot;option&quot;,{value:v.id,children:v.name},v.id))]})]}),s.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-4&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Libellé (optionnel)&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.addLine.label,onChange:v=&gt;l.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;sm:max-w-[12rem] lg:col-span-2&quot;,children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:l.addLine.amount||&quot;&quot;,onChange:v=&gt;l.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;})]}),s.jsx(&quot;div&quot;,{className:&quot;lg:col-span-3 flex sm:justify-start&quot;,children:s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:l.addLine.onSubmit,disabled:l.addLine.submitting,className:&quot;w-full sm:w-auto min-h-[42px]&quot;,children:l.addLine.submitting?&quot;Ajout en cours…&quot;:&quot;Ajouter une ligne&quot;})})]})]}),l.addLine.error&amp;&amp;s.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:l.addLine.error}),s.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:[s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:l.exportBar.onExportCsv,disabled:!!l.exportBar.exportFinanceLoading||l.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:[s.jsx(wa,{size:14,&quot;aria-hidden&quot;:!0}),l.exportBar.exportFinanceLoading===&quot;budget-csv&quot;?&quot;Export…&quot;:&quot;Export CSV&quot;]}),s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:l.exportBar.onExportXlsx,disabled:!!l.exportBar.exportFinanceLoading||l.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:[s.jsx(wa,{size:14,&quot;aria-hidden&quot;:!0}),l.exportBar.exportFinanceLoading===&quot;budget-xlsx&quot;?&quot;Export…&quot;:&quot;Export XLSX&quot;]}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:l.exportBar.onSave,className:&quot;min-h-[42px]&quot;,children:&quot;Enregistrer le budget&quot;})]})]})]}):s.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;,s.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 Kie({open:e,onClose:r,eventType:t,categories:n,onCategoriesChanged:l,onCreatedSelect:i}){const[o,u]=I.useState(&quot;new&quot;),[c,a]=I.useState(null),[d,f]=I.useState({name:&quot;&quot;,code:&quot;&quot;,type:&quot;expense&quot;,event_type:&quot;&quot;,sort_order:0}),[h,m]=I.useState(!1),[p,x]=I.useState(!1),[g,y]=I.useState(null),v=I.useCallback(()=&gt;{u(&quot;new&quot;),a(null),f({name:&quot;&quot;,code:&quot;&quot;,type:&quot;expense&quot;,event_type:t??&quot;&quot;,sort_order:0}),y(null)},[t]);I.useEffect(()=&gt;{e&amp;&amp;v()},[e,v]);const _=T=&gt;{const $=n.find(F=&gt;F.id===T);$&amp;&amp;(u(&quot;edit&quot;),a(T),f({name:$.name,code:$.code??&quot;&quot;,type:$.type,event_type:$.event_type??&quot;&quot;,sort_order:$.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 $={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(o===&quot;new&quot;){const F=await xo.create($);l(),i?.(F.id),r()}else c!=null&amp;&amp;(await xo.update(c,$),l(),r())}catch(F){if(F instanceof Bt){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)}},M=async()=&gt;{if(!(c==null||o!==&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;)){x(!0),y(null);try{await xo.delete(c),l(),r()}catch(T){T instanceof Bt?y(T.data?.message??T.message??&quot;Suppression impossible.&quot;):y(T instanceof Error?T.message:&quot;Suppression impossible.&quot;)}finally{x(!1)}}};return e?s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-[60] overflow-y-auto&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;flex min-h-full items-center justify-center p-4&quot;,children:[s.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()}),s.jsxs(&quot;div&quot;,{className:&quot;relative w-full max-w-lg rounded-xl bg-white shadow-xl border border-gray-200&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-start justify-between gap-3 border-b border-gray-100 px-5 py-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Catégorie de budget&quot;}),s.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;})]}),s.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:s.jsx(pr,{size:22})})]}),s.jsxs(&quot;div&quot;,{className:&quot;px-5 py-4 space-y-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Catégorie à éditer&quot;}),s.jsxs(&quot;select&quot;,{value:o===&quot;new&quot;?&quot;&quot;:String(c??&quot;&quot;),onChange:T=&gt;{const $=T.target.value;$===&quot;&quot;?v():_(Number($))},disabled:h||p,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Nouvelle catégorie —&quot;}),n.map(T=&gt;s.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))]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.name,onChange:T=&gt;f($=&gt;({...$,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})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Code (optionnel)&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.code,onChange:T=&gt;f($=&gt;({...$,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})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 gap-3&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Type&quot;}),s.jsxs(&quot;select&quot;,{value:d.type,onChange:T=&gt;f($=&gt;({...$,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:[s.jsx(&quot;option&quot;,{value:&quot;expense&quot;,children:&quot;Dépense&quot;}),s.jsx(&quot;option&quot;,{value:&quot;revenue&quot;,children:&quot;Recette&quot;})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Portée événement&quot;}),s.jsxs(&quot;select&quot;,{value:d.event_type===&quot;&quot;?&quot;&quot;:d.event_type,onChange:T=&gt;f($=&gt;({...$,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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les types d’événements&quot;}),s.jsx(&quot;option&quot;,{value:&quot;summit&quot;,children:&quot;Sommet&quot;}),s.jsx(&quot;option&quot;,{value:&quot;seminar&quot;,children:&quot;Séminaire&quot;}),s.jsx(&quot;option&quot;,{value:&quot;other&quot;,children:&quot;Autre&quot;})]})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Ordre d’affichage&quot;}),s.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:d.sort_order,onChange:T=&gt;f($=&gt;({...$,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;s.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})]}),s.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:[s.jsx(&quot;div&quot;,{children:o===&quot;edit&quot;&amp;&amp;s.jsx(Re,{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;{M()},children:p?&quot;Suppression…&quot;:&quot;Supprimer&quot;})}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2 justify-end&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,disabled:h||p,onClick:r,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,disabled:h||p,onClick:()=&gt;{C()},children:h?&quot;Enregistrement…&quot;:o===&quot;new&quot;?&quot;Créer&quot;:&quot;Enregistrer&quot;})]})]})]})]})}):null}const ca=&quot;https://api.sommetfrancophone.org/api&quot;;function em(e){const{review_note:r,reference:t,proof:n,treasury_account_id:l}=e;if(n){const o=new FormData;return r?.trim()&amp;&amp;o.append(&quot;review_note&quot;,r.trim()),t?.trim()&amp;&amp;o.append(&quot;reference&quot;,t.trim()),l!=null&amp;&amp;o.append(&quot;treasury_account_id&quot;,String(l)),o.append(&quot;proof&quot;,n),o}const i={...r?.trim()&amp;&amp;{review_note:r.trim()},...t?.trim()&amp;&amp;{reference:t.trim()}};return l!=null&amp;&amp;(i.treasury_account_id=Number(l)),i}const Kr={async getEvents(){const e=await Be.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),Be.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),Be.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),Be.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),Be.get(&quot;/finance/debtors&quot;,{params:r,requireAuth:!0})},getDebtorDetail(e){return Be.get(`/finance/debtors/${e}/detail`,{requireAuth:!0})},getDebtorsExport(e){return Be.get(&quot;/finance/debtors/export&quot;,{params:{event_id:e.event_id},requireAuth:!0})},getConfirmedPaymentsExport(e){return Be.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),Be.get(&quot;/finance/reminders/expected-payments&quot;,{params:r,requireAuth:!0,unwrapResponse:!1})},getExpectedPaymentsForMonthExport(e){return Be.get(&quot;/finance/reminders/expected-payments/export&quot;,{params:e,requireAuth:!0,unwrapResponse:!1})},sendInstallmentReminderEmails(e){return Be.post(&quot;/finance/reminders/expected-payments/send-emails&quot;,e,{requireAuth:!0})},confirmPayment(e,r){const t=em(r??{});return t instanceof FormData?Be.postForm(`/finance/payments/${e}/confirm`,t,{requireAuth:!0}):Be.post(`/finance/payments/${e}/confirm`,Object.keys(t).length?t:{},{requireAuth:!0})},rejectPayment(e,r){const t=em(r??{});return t instanceof FormData?Be.postForm(`/finance/payments/${e}/reject`,t,{requireAuth:!0}):Be.post(`/finance/payments/${e}/reject`,Object.keys(t).length?t:{},{requireAuth:!0})},confirmDonation(e,r){const t=em(r??{});return t instanceof FormData?Be.postForm(`/finance/donations/${e}/confirm`,t,{requireAuth:!0}):Be.post(`/finance/donations/${e}/confirm`,Object.keys(t).length?t:{},{requireAuth:!0})},rejectDonation(e,r){const t=em(r??{});return t instanceof FormData?Be.postForm(`/finance/donations/${e}/reject`,t,{requireAuth:!0}):Be.post(`/finance/donations/${e}/reject`,Object.keys(t).length?t:{},{requireAuth:!0})},initPayment(e,r){const{amount:t,method:n,paid_at:l,treasury_account_id:i,reference:o,notes:u,proof:c}=r,a=new FormData;return a.append(&quot;amount&quot;,String(t)),a.append(&quot;method&quot;,n),a.append(&quot;paid_at&quot;,l),a.append(&quot;treasury_account_id&quot;,String(i)),o?.trim()&amp;&amp;a.append(&quot;reference&quot;,o.trim()),u?.trim()&amp;&amp;a.append(&quot;notes&quot;,u.trim()),c&amp;&amp;a.append(&quot;proof&quot;,c),Be.postForm(`/finance/registrations/${e}/payments`,a,{requireAuth:!0})},issuePaymentReceipt(e){return Be.post(`/finance/payments/${e}/receipt`,{},{requireAuth:!0})},sendPaymentReceiptEmail(e){return Be.post(`/finance/payments/${e}/receipt/send-email`,{},{requireAuth:!0})},issueDonationReceipt(e){return Be.post(`/finance/donations/${e}/receipt`,{},{requireAuth:!0})},downloadReceiptUrl(e){return`${ca.endsWith(&quot;/&quot;)?ca.slice(0,-1):ca}/receipts/${e}/download`},async downloadReceipt(e,r){const n=`${ca.endsWith(&quot;/&quot;)?ca.slice(0,-1):ca}/receipts/${e}/download`,l=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,i=await fetch(n,{headers:{Accept:&quot;application/pdf&quot;,...l&amp;&amp;{Authorization:`Bearer ${l}`}}});if(!i.ok){const c=await i.json().catch(()=&gt;({message:i.statusText}));throw{status:i.status,data:c}}const o=await i.blob(),u=document.createElement(&quot;a&quot;);u.href=URL.createObjectURL(o),u.download=r||`receipt-${e}.pdf`,u.click(),URL.revokeObjectURL(u.href)},async openPaymentProofInNewTab(e){const t=`${ca.endsWith(&quot;/&quot;)?ca.slice(0,-1):ca}/finance/payments/${e}/proof`,n=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,l=await fetch(t,{headers:{...n&amp;&amp;{Authorization:`Bearer ${n}`}}});if(!l.ok){const u=await l.json().catch(()=&gt;({message:l.statusText}));throw{status:l.status,data:u}}const i=await l.blob(),o=URL.createObjectURL(i);window.open(o,&quot;_blank&quot;,&quot;noopener,noreferrer&quot;),window.setTimeout(()=&gt;URL.revokeObjectURL(o),12e4)}};function Xie({payments:e,readOnly:r,exportLoading:t=!1,onExportXlsx:n,receipt:l}){const[i,o]=I.useState(null),[u,c]=I.useState(null),[a,d]=I.useState(null),[f,h]=I.useState(null),[m,p]=I.useState(&quot;&quot;),x=I.useMemo(()=&gt;{const $=m.trim();if(!$)return e;const F=$.toLowerCase().split(/\s+/).filter(Boolean);return e.filter(H=&gt;{const W=(H.registration?.first_name??&quot;&quot;).toLowerCase(),q=(H.registration?.last_name??&quot;&quot;).toLowerCase(),K=(H.registration?.email??&quot;&quot;).toLowerCase(),P=`${W} ${q}`.trim(),L=(H.reference??&quot;&quot;).toLowerCase(),E=(H.receipt?.receipt_number??&quot;&quot;).toLowerCase(),j=`${P} ${K} ${L} ${E}`;return F.every(k=&gt;j.includes(k))})},[e,m]),{error:g,actionPending:y,isLoading:v,onDownloadReceipt:_,onIssueReceipt:C,onSendReceiptEmail:M}=l,T=async $=&gt;{d(null),h($);try{await Kr.openPaymentProofInNewTab($)}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 s.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:[s.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:[s.jsx(&quot;h3&quot;,{className:&quot;text-sm font-bold text-ink-900 shrink-0&quot;,children:&quot;Paiements confirmés — Reçus&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2 flex-1 justify-end min-w-0&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;relative flex-1 min-w-[12rem] max-w-md&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;sr-only&quot;,children:&quot;Rechercher dans la liste&quot;}),s.jsx(lC,{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}),s.jsx(&quot;input&quot;,{type:&quot;search&quot;,value:m,onChange:$=&gt;p($.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?s.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;s.jsx(&quot;div&quot;,{className:&quot;mx-4 mt-3 bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-xs text-red-700&quot;,children:g})}),s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm min-w-[640px]&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.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;}),s.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;}),s.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;}),s.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;}),s.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;})]})}),s.jsxs(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:[x.map($=&gt;{const F=`cp-${$.id}`,H=[];return $.receipt&amp;&amp;H.push({id:&quot;download-receipt-pdf&quot;,label:v(`payment-${$.id}`,&quot;download&quot;)?&quot;Téléchargement…&quot;:&quot;Télécharger le PDF du reçu&quot;,onSelect:()=&gt;_($.receipt.id,$.receipt.receipt_number),disabled:y,title:&quot;Télécharger le reçu au format PDF&quot;}),$.receipt&amp;&amp;H.push({id:&quot;email&quot;,label:v(`payment-${$.id}`,&quot;email&quot;)?&quot;Envoi…&quot;:&quot;Envoyer par e-mail&quot;,onSelect:()=&gt;M($.id),disabled:y,title:&quot;Envoyer le reçu par email au participant&quot;}),s.jsxs(&quot;tr&quot;,{className:&quot;align-middle hover:bg-gray-50/60&quot;,children:[s.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-900&quot;,children:[s.jsxs(&quot;span&quot;,{className:&quot;font-medium&quot;,children:[$.registration?.first_name,&quot; &quot;,$.registration?.last_name]}),$.registration?.email&amp;&amp;s.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500 truncate max-w-[200px]&quot;,title:$.registration.email,children:$.registration.email})]}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 whitespace-nowrap tabular-nums font-medium text-ink-900&quot;,children:En($.amount,$.currency)}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600 whitespace-nowrap text-sm&quot;,children:$.paid_at?new Date($.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:$.receipt?s.jsx(&quot;span&quot;,{className:&quot;text-xs font-mono text-ink-700&quot;,children:$.receipt.receipt_number}):s.jsx(&quot;span&quot;,{className:&quot;text-ink-400 text-xs&quot;,children:&quot;Non émis&quot;})}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:r?s.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;text-xs font-medium text-brand-700 hover:underline&quot;,onClick:()=&gt;c($),children:&quot;Voir&quot;}):s.jsx(xa,{rowId:F,openMenuId:i,setOpenMenuId:o,onView:()=&gt;c($),viewLabel:&quot;Voir&quot;,viewDisabled:y,onEdit:$.receipt?void 0:()=&gt;C($.id),editLabel:&quot;Générer le reçu&quot;,editDisabled:y,menuItems:H})})]},$.id)}),e.length&gt;0&amp;&amp;x.length===0&amp;&amp;s.jsx(&quot;tr&quot;,{children:s.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?s.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;c(null),children:s.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:$=&gt;$.stopPropagation(),children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-start justify-between gap-3 px-5 py-4 border-b border-gray-100&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.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]}),s.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?s.jsx(&quot;span&quot;,{className:&quot;block truncate&quot;,children:u.registration.email}):null]})]}),s.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;c(null),children:s.jsx(pr,{size:22})})]}),s.jsxs(&quot;div&quot;,{className:&quot;px-5 py-4 space-y-3 text-sm&quot;,children:[s.jsxs(&quot;dl&quot;,{className:&quot;grid grid-cols-[minmax(0,11rem)_1fr] gap-x-3 gap-y-2&quot;,children:[s.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Montant&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;font-medium tabular-nums&quot;,children:En(u.amount,u.currency)}),s.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Méthode&quot;}),s.jsx(&quot;dd&quot;,{children:gd(u.method)}),s.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Date du paiement&quot;}),s.jsx(&quot;dd&quot;,{children:u.paid_at?new Date(u.paid_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;}),s.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Référence&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;break-all&quot;,children:u.reference?.trim()||&quot;—&quot;}),s.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Passerelle&quot;}),s.jsx(&quot;dd&quot;,{children:u.payment_gateway??&quot;— (manuel)&quot;}),s.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Origine&quot;}),s.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;}),s.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Validé le&quot;}),s.jsx(&quot;dd&quot;,{children:u.reviewed_at?new Date(u.reviewed_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;}),s.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Notes&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-ink-800 whitespace-pre-wrap&quot;,children:u.notes?.trim()||&quot;—&quot;}),s.jsx(&quot;dt&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Note validation&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-ink-800 whitespace-pre-wrap&quot;,children:u.review_note?.trim()||&quot;—&quot;})]}),a?s.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:a}):null,u.has_proof?s.jsxs(&quot;div&quot;,{className:&quot;pt-2 border-t border-gray-100&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-xs font-semibold text-ink-700 mb-2&quot;,children:&quot;Justificatif&quot;}),s.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;}),s.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?s.jsx(&quot;div&quot;,{className:&quot;pt-2 border-t border-gray-100&quot;,children:s.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Reçu :&quot;,&quot; &quot;,s.jsx(&quot;span&quot;,{className:&quot;font-mono font-medium&quot;,children:u.receipt.receipt_number})]})}):null]}),s.jsx(&quot;div&quot;,{className:&quot;px-5 py-3 border-t border-gray-100 flex justify-end&quot;,children:s.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;c(null),children:&quot;Fermer&quot;})})]})}):null]})}function Gie({loading:e,rows:r,registrationsForPayment:t,readOnly:n,initPaymentModalOpen:l,exportLoading:i,meta:o,page:u,perPage:c,onPageChange:a,onPerPageChange:d,onInitPayment:f,onView:h,onExportXlsx:m,searchQuery:p,onSearchChange:x}){const[g,y]=I.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;,M=T=&gt;T===&quot;late&quot;?&quot;En retard&quot;:T===&quot;ahead&quot;?&quot;En avance&quot;:&quot;À jour&quot;;return s.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:[s.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:[s.jsxs(&quot;h3&quot;,{className:&quot;text-sm font-bold text-ink-900 flex items-center gap-2 shrink-0&quot;,children:[s.jsx(Cm,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Débiteurs (solde &gt; 0)&quot;]}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2 flex-1 justify-end min-w-0&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;relative flex-1 min-w-[12rem] max-w-md&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;sr-only&quot;,children:&quot;Rechercher parmi les débiteurs&quot;}),s.jsx(lC,{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}),s.jsx(&quot;input&quot;,{type:&quot;search&quot;,value:p,onChange:T=&gt;x(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;})]}),s.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;})]})]}),s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm min-w-[760px]&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.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;}),s.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;}),s.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;}),s.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;}),s.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;}),s.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;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:e?s.jsx(&quot;tr&quot;,{children:s.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?s.jsx(&quot;tr&quot;,{children:s.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 $=t.find(F=&gt;F.id===T.registration_id);return s.jsxs(&quot;tr&quot;,{className:&quot;align-middle hover:bg-gray-50/60&quot;,children:[s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-900 font-medium&quot;,children:T.name}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600 truncate max-w-[180px]&quot;,title:T.email,children:T.email}),s.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;text-xs text-ink-700 font-medium&quot;,children:T.installments_label??&quot;1 éch.&quot;}),s.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;})]}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right font-semibold tabular-nums whitespace-nowrap text-ink-900&quot;,children:wr(T.balance)}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:s.jsx(&quot;span&quot;,{className:`px-2 py-0.5 rounded-md text-xs font-medium ${C(T.financial_situation)}`,children:M(T.financial_situation)})}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:$?s.jsx(xa,{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($),disabled:l,title:&quot;Saisir un encaissement pour ce participant&quot;}]}):null})]},T.registration_id)})})]})}),o&amp;&amp;o.total&gt;0&amp;&amp;s.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:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:o.last_page&gt;1&amp;&amp;o.from!=null&amp;&amp;o.to!=null?`Débiteurs ${o.from} à ${o.to} sur ${o.total}`:`Total : ${o.total} débiteur${o.total!==1?&quot;s&quot;:&quot;&quot;}`}),o.last_page&gt;1&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;text-xs text-ink-500 flex items-center gap-1&quot;,children:[&quot;Par page&quot;,s.jsx(&quot;select&quot;,{value:c,onChange:T=&gt;{d(Number(T.target.value)),a(1)},className:&quot;text-sm border border-gray-300 rounded px-2 py-0.5&quot;,children:[10,20,50].map(T=&gt;s.jsx(&quot;option&quot;,{value:T,children:T},T))})]}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:u&lt;=1,onClick:()=&gt;a(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;}),s.jsxs(&quot;span&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Page &quot;,u,&quot; / &quot;,o.last_page]}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:u&gt;=o.last_page,onClick:()=&gt;a(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 Yie({hasSelectedEvent:e,readOnly:r,alerts:t,exportRow:n,table:l,form:i}){const{error:o}=t,{rows:u,loading:c,onDelete:a,onOpenProof:d}=l;return s.jsxs(s.Fragment,{children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Dépenses&quot;}),s.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?s.jsxs(s.Fragment,{children:[o&amp;&amp;s.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}),n&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2 mb-3&quot;,children:[s.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:[s.jsx(wa,{size:14,&quot;aria-hidden&quot;:!0}),n.exportFinanceLoading===&quot;expenses-csv&quot;?&quot;Export…&quot;:&quot;Export CSV&quot;]}),s.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:[s.jsx(wa,{size:14,&quot;aria-hidden&quot;:!0}),n.exportFinanceLoading===&quot;expenses-xlsx&quot;?&quot;Export…&quot;:&quot;Export XLSX&quot;]})]}),s.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden mb-6 shadow-sm&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full text-left min-w-[800px]&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.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;}),s.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;}),s.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;}),s.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;}),s.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;}),s.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;}),s.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;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:c?s.jsx(&quot;tr&quot;,{children:s.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?s.jsx(&quot;tr&quot;,{children:s.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;s.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[s.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;}),s.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;}),s.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;}),s.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}),s.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:wr(f.amount)}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-center&quot;,children:f.has_proof&amp;&amp;d?s.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:[s.jsx(oC,{size:14,&quot;aria-hidden&quot;:!0}),&quot;Voir&quot;]}):s.jsx(&quot;span&quot;,{className:&quot;text-ink-400 text-xs&quot;,children:&quot;—&quot;})}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:!r&amp;&amp;s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;a(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:s.jsx(pr,{size:16,&quot;aria-hidden&quot;:!0})})})]},f.id))})]})})}),s.jsxs(&quot;div&quot;,{className:&quot;p-4 sm:p-5 bg-gray-50 rounded-xl border border-gray-200 mb-4&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-800 mb-3&quot;,children:&quot;Nouvelle dépense&quot;}),s.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:[s.jsxs(&quot;div&quot;,{className:&quot;xl:col-span-2&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Date&quot;}),s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;sm:col-span-2 lg:col-span-2 xl:col-span-4 min-w-0&quot;,children:[s.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;}),s.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 min-w-[12rem] max-w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px] text-sm&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),i.budgetLines.map(f=&gt;s.jsx(&quot;option&quot;,{value:f.id,children:f.category_name??f.label??`Ligne #${f.id}`},f.id))]})]}),s.jsxs(&quot;div&quot;,{className:&quot;sm:col-span-2 lg:col-span-2 xl:col-span-2 min-w-0&quot;,children:[s.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;}),s.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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),i.treasuryAccounts.map(f=&gt;s.jsxs(&quot;option&quot;,{value:f.id,children:[f.name,&quot; — &quot;,f.context_display]},f.id))]})]}),s.jsxs(&quot;div&quot;,{className:&quot;xl:col-span-2&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Montant (XOF) *&quot;}),s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;sm:col-span-2 xl:col-span-2&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Libellé *&quot;}),s.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})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;border-t border-gray-200 pt-4 mt-4&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:[&quot;Pièce justificative &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-3&quot;,children:[s.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?s.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]}),s.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;})]}),s.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:s.jsx(Re,{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;s.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})]}):s.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;,s.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 tN(e){if(e.movement_type===&quot;transfer&quot;){const n=e.from_account_name??`#${e.from_treasury_account_id}`,l=e.to_account_name??`#${e.to_treasury_account_id}`;return`${n} → ${l}`}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 Zie(e){return e===&quot;transfer&quot;?&quot;Transfert&quot;:&quot;Ajustement&quot;}function Qie({hasSelectedEvent:e,readOnly:r,alerts:t,exportRow:n,table:l,movementKind:i,onMovementKindChange:o,transferForm:u,adjustmentForm:c}){const{error:a}=t,{rows:d,loading:f,onOpenProof:h}=l;return s.jsxs(s.Fragment,{children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Mouvements de trésorerie&quot;}),s.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;}),s.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?s.jsxs(s.Fragment,{children:[a&amp;&amp;s.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;s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2 mb-3&quot;,children:[s.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:[s.jsx(wa,{size:14,&quot;aria-hidden&quot;:!0}),n.exportFinanceLoading===&quot;movements-csv&quot;?&quot;Export…&quot;:&quot;Export CSV&quot;]}),s.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:[s.jsx(wa,{size:14,&quot;aria-hidden&quot;:!0}),n.exportFinanceLoading===&quot;movements-xlsx&quot;?&quot;Export…&quot;:&quot;Export XLSX&quot;]})]}),s.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden mb-6 shadow-sm&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full text-left min-w-[960px]&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.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;}),s.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;}),s.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;}),s.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;}),s.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;}),s.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;}),s.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;}),s.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;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:f?s.jsx(&quot;tr&quot;,{children:s.jsx(&quot;td&quot;,{colSpan:8,className:&quot;px-4 py-10 text-center text-ink-500 text-sm&quot;,children:&quot;Chargement des mouvements…&quot;})}):d.length===0?s.jsx(&quot;tr&quot;,{children:s.jsx(&quot;td&quot;,{colSpan:8,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(m=&gt;s.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-800 whitespace-nowrap&quot;,children:Zie(m.movement_type)}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700 max-w-[280px]&quot;,title:tN(m),children:s.jsx(&quot;span&quot;,{className:&quot;line-clamp-2&quot;,children:tN(m)})}),s.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(m.amount,m.currency)}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900 max-w-[180px] truncate&quot;,title:m.label,children:m.label}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-600 max-w-[200px] truncate&quot;,title:m.notes??void 0,children:m.notes??&quot;—&quot;}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700 whitespace-nowrap&quot;,children:m.created_at?new Date(m.created_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-600 max-w-[140px] truncate&quot;,children:m.created_by_name??&quot;—&quot;}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-center&quot;,children:m.has_proof&amp;&amp;h?s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;h(m),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:[s.jsx(oC,{size:14,&quot;aria-hidden&quot;:!0}),&quot;Voir&quot;]}):s.jsx(&quot;span&quot;,{className:&quot;text-ink-400 text-xs&quot;,children:&quot;—&quot;})})]},m.id))})]})})}),!r&amp;&amp;s.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:[s.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-800&quot;,children:&quot;Nouveau mouvement&quot;}),s.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:[s.jsx(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;tab&quot;,&quot;aria-selected&quot;:i===&quot;transfer&quot;,onClick:()=&gt;o(&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;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;tab&quot;,&quot;aria-selected&quot;:i===&quot;adjustment&quot;,onClick:()=&gt;o(&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;?s.jsxs(s.Fragment,{children:[s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-12 gap-4 items-end&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-4&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Compte source *&quot;}),s.jsxs(&quot;select&quot;,{value:u.fromId,onChange:m=&gt;u.onFromChange(m.target.value===&quot;&quot;?&quot;&quot;:Number(m.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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),u.treasuryAccounts.map(m=&gt;s.jsxs(&quot;option&quot;,{value:m.id,children:[m.name,&quot; — &quot;,m.context_display]},m.id))]})]}),s.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-4&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Compte destination *&quot;}),s.jsxs(&quot;select&quot;,{value:u.toId,onChange:m=&gt;u.onToChange(m.target.value===&quot;&quot;?&quot;&quot;:Number(m.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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),u.treasuryAccounts.map(m=&gt;s.jsxs(&quot;option&quot;,{value:m.id,children:[m.name,&quot; — &quot;,m.context_display]},m.id))]})]}),s.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-2&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Montant *&quot;}),s.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:1,value:u.amount||&quot;&quot;,onChange:m=&gt;u.onAmountChange(parseInt(m.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-2&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Libellé *&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:u.label,onChange:m=&gt;u.onLabelChange(m.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;})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Notes (optionnel)&quot;}),s.jsx(&quot;textarea&quot;,{value:u.notes,onChange:m=&gt;u.onNotesChange(m.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Pièce justificative (PDF/Image) *&quot;}),s.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;.pdf,.jpg,.jpeg,.png,.gif,.webp&quot;,onChange:m=&gt;u.onProofChange(m.target.files?.[0]??null),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 text-sm bg-white&quot;},u.proofInputKey)]}),s.jsx(&quot;div&quot;,{className:&quot;flex flex-col sm:flex-row sm:justify-end pt-2 border-t border-gray-200&quot;,children:s.jsx(Re,{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;s.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})]}):s.jsxs(s.Fragment,{children:[s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-12 gap-4 items-end&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-4&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Compte *&quot;}),s.jsxs(&quot;select&quot;,{value:c.accountId,onChange:m=&gt;c.onAccountChange(m.target.value===&quot;&quot;?&quot;&quot;:Number(m.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:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),c.treasuryAccounts.map(m=&gt;s.jsxs(&quot;option&quot;,{value:m.id,children:[m.name,&quot; — &quot;,m.context_display]},m.id))]})]}),s.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-3&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Sens *&quot;}),s.jsxs(&quot;select&quot;,{value:c.direction,onChange:m=&gt;c.onDirectionChange(m.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:[s.jsx(&quot;option&quot;,{value:&quot;increase&quot;,children:&quot;Augmentation du solde&quot;}),s.jsx(&quot;option&quot;,{value:&quot;decrease&quot;,children:&quot;Diminution du solde&quot;})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-2&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Montant *&quot;}),s.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:1,value:c.amount||&quot;&quot;,onChange:m=&gt;c.onAmountChange(parseInt(m.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-3&quot;,children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Libellé *&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.label,onChange:m=&gt;c.onLabelChange(m.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;})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Notes (optionnel)&quot;}),s.jsx(&quot;textarea&quot;,{value:c.notes,onChange:m=&gt;c.onNotesChange(m.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Pièce justificative (PDF/Image) *&quot;}),s.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;.pdf,.jpg,.jpeg,.png,.gif,.webp&quot;,onChange:m=&gt;c.onProofChange(m.target.files?.[0]??null),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 text-sm bg-white&quot;},c.proofInputKey)]}),s.jsx(&quot;div&quot;,{className:&quot;flex flex-col sm:flex-row sm:justify-end pt-2 border-t border-gray-200&quot;,children:s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:c.onSubmit,disabled:c.submitting,className:&quot;w-full sm:w-auto min-h-[42px] min-w-[12rem]&quot;,children:c.submitting?&quot;Enregistrement…&quot;:&quot;Enregistrer l’ajustement&quot;})}),c.error&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:c.error})]})]})]}):s.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;,s.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 Jie({hasSelectedEvent:e,loading:r,error:t,data:n,readOnly:l,eventId:i,eventSlug:o,onRequestReload:u}){const c=n?.totals_by_currency?Object.entries(n.totals_by_currency).sort(([W],[q])=&gt;W.localeCompare(q)):[],[a,d]=I.useState({}),[f,h]=I.useState(!1),[m,p]=I.useState(null),[x,g]=I.useState(!1),[y,v]=I.useState([]),[_,C]=I.useState(!1),[M,T]=I.useState(!1);I.useEffect(()=&gt;{if(!n?.accounts)return;const W={};n.accounts.forEach(q=&gt;{W[q.id]=q.breakdown.opening_balance}),d(W)},[n]),I.useEffect(()=&gt;{if(!i||!e){v([]);return}C(!0),vc.listSnapshots(i).then(v).catch(()=&gt;v([])).finally(()=&gt;C(!1))},[i,e,n?.meta?.schema_version]);const $=async()=&gt;{if(i){g(!0);try{await vc.downloadCsv(i,o)}finally{g(!1)}}},F=async()=&gt;{if(!(!i||!n)){p(null),h(!0);try{await vc.upsertOpeningBalances({event_id:i,balances:n.accounts.map(W=&gt;({treasury_account_id:W.id,amount:a[W.id]??W.breakdown.opening_balance}))}),u()}catch(W){const q=W&amp;&amp;typeof W==&quot;object&quot;&amp;&amp;&quot;data&quot;in W?W.data?.message:null;p(q??&quot;Erreur lors de l’enregistrement des soldes d’ouverture.&quot;)}finally{h(!1)}}},H=async()=&gt;{if(i){T(!0);try{await vc.captureSnapshot(i);const W=await vc.listSnapshots(i);v(W)}finally{T(!1)}}};return s.jsxs(s.Fragment,{children:[s.jsxs(&quot;div&quot;,{className:&quot;flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Trésorerie&quot;}),s.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;s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2 shrink-0&quot;,children:[s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:$,disabled:x,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:[s.jsx(wa,{size:14,&quot;aria-hidden&quot;:!0}),x?&quot;Export…&quot;:&quot;Export CSV&quot;]}),!l&amp;&amp;s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:H,disabled:M,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:[s.jsx(wL,{size:14,&quot;aria-hidden&quot;:!0}),M?&quot;…&quot;:&quot;Instantané&quot;]})]})]}),e?s.jsxs(s.Fragment,{children:[t&amp;&amp;s.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;s.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?s.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 shadow-sm py-14 px-6 text-center&quot;,children:s.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?s.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?s.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[c.length&gt;0&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2 items-center&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-xs font-semibold text-ink-600 uppercase tracking-wide&quot;,children:&quot;Totaux par devise&quot;}),c.map(([W,q])=&gt;s.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(q,W)},W))]}),s.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden shadow-sm&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full text-left min-w-[720px]&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.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;}),s.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;}),s.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;}),s.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;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:n.accounts.map(W=&gt;s.jsx(ese,{row:W},W.id))})]})})}),!l&amp;&amp;i!=null&amp;&amp;n.accounts.length&gt;0&amp;&amp;s.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:[s.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-800&quot;,children:&quot;Soldes d&#039;ouverture (V3)&quot;}),s.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;}),s.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;s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1 truncate&quot;,title:W.name,children:W.name}),s.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:a[W.id]??0,onChange:q=&gt;d(K=&gt;({...K,[W.id]:parseInt(q.target.value,10)||0}))})]},W.id))}),m&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-600&quot;,children:m}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:F,disabled:f,children:f?&quot;Enregistrement…&quot;:&quot;Enregistrer les ouvertures&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-gray-200 bg-white p-4&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-800 mb-2&quot;,children:&quot;Instantanés enregistrés&quot;}),_?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Chargement…&quot;}):y.length===0?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucun instantané pour cet événement.&quot;}):s.jsx(&quot;ul&quot;,{className:&quot;text-sm text-ink-700 space-y-1&quot;,children:y.map(W=&gt;s.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]}):s.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;,s.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 ese({row:e}){const r=e.breakdown;return s.jsxs(s.Fragment,{children:[s.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900 align-top&quot;,children:e.name}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-600 align-top&quot;,children:e.context_display}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700 whitespace-nowrap align-top&quot;,children:e.currency}),s.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)})]}),s.jsx(&quot;tr&quot;,{className:&quot;bg-gray-50/60&quot;,children:s.jsxs(&quot;td&quot;,{colSpan:4,className:&quot;px-4 py-2 text-xs text-ink-600 border-b border-gray-100&quot;,children:[s.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 tse({kpi:e}){return s.jsxs(&quot;section&quot;,{className:&quot;space-y-3&quot;,&quot;aria-label&quot;:&quot;Indicateurs clés&quot;,children:[s.jsx(&quot;h4&quot;,{className:&quot;text-xs font-semibold uppercase tracking-wider text-ink-500&quot;,children:&quot;Indicateurs&quot;}),s.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:[s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[s.jsx(qy,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Total dû (inscriptions)&quot;]}),s.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:wr(e.total_due_registrations)})]}),s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[s.jsx(vF,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Encaissé confirmé&quot;]}),s.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-green-700 tabular-nums whitespace-nowrap&quot;,children:wr(e.total_confirmed_payments)})]}),s.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:[s.jsx(&quot;div&quot;,{className:&quot;text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:&quot;Reste à encaisser&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-amber-700 tabular-nums whitespace-nowrap&quot;,children:wr(e.remaining_to_collect)})]}),s.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:[s.jsx(&quot;div&quot;,{className:&quot;text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:&quot;Dons confirmés&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-green-700 tabular-nums whitespace-nowrap&quot;,children:wr(e.donations_confirmed_total)})]}),s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[s.jsx(Vy,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;À valider&quot;]}),s.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:e.pending_review_count})]}),s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[s.jsx(Cm,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Non soldés / partiels&quot;]}),s.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 rse({title:e,subtitle:r,showReadOnlyBanner:t}){return s.jsxs(s.Fragment,{children:[s.jsxs(&quot;header&quot;,{className:&quot;mb-8 pb-6 border-b border-gray-200&quot;,children:[s.jsx(&quot;h2&quot;,{className:&quot;text-3xl font-bold text-ink-900 tracking-tight&quot;,children:e}),s.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mt-2 text-base leading-relaxed max-w-3xl&quot;,children:r})]}),t&amp;&amp;s.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:[s.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 nse({activeTab:e,onTabChange:r,ariaLabel:t=&quot;Sections finance&quot;,showReconciliationTab:n=!1}){return s.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:[s.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:[s.jsx(cF,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),s.jsx(&quot;span&quot;,{className:&quot;text-left&quot;,children:&quot;Validation recettes et dons&quot;})]}),s.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:[s.jsx(cC,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Budget&quot;]}),s.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:[s.jsx(RL,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Dépenses&quot;]}),s.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:[s.jsx(gL,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Mouvements&quot;]}),n&amp;&amp;s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;tab&quot;,&quot;aria-selected&quot;:e===&quot;reconciliation&quot;,onClick:()=&gt;r(&quot;reconciliation&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;reconciliation&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:[s.jsx(fF,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),s.jsx(&quot;span&quot;,{className:&quot;text-left&quot;,children:&quot;Rapprochement&quot;})]}),s.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:[s.jsx(GL,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Trésorerie&quot;]})]})}function ise({pendingPayments:e,pendingDonations:r,donationsPaymentInProgress:t,readOnly:n,actionLoading:l,onConfirmPayment:i,onRejectPayment:o,onConfirmDonation:u,onRejectDonation:c,onOpenDonationsList:a}){return s.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:[s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden flex flex-col&quot;,children:[s.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;}),s.jsx(&quot;div&quot;,{className:&quot;divide-y divide-gray-100 flex-1&quot;,children:e.length===0?s.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;s.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:[s.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[s.jsxs(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[d.registration?.first_name,&quot; &quot;,d.registration?.last_name]}),s.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;s.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 shrink-0 justify-end&quot;,children:[s.jsx(Re,{variant:&quot;primary&quot;,onClick:()=&gt;i(d),disabled:l,title:&quot;Confirmer ce paiement&quot;,&quot;aria-label&quot;:&quot;Confirmer ce paiement&quot;,className:&quot;p-1.5&quot;,children:s.jsx(D4,{size:16,&quot;aria-hidden&quot;:!0})}),s.jsx(Re,{variant:&quot;outline&quot;,onClick:()=&gt;o(d),disabled:l,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:s.jsx(pr,{size:16,&quot;aria-hidden&quot;:!0})})]})]},d.id))})]}),s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden flex flex-col&quot;,children:[s.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;}),s.jsx(&quot;div&quot;,{className:&quot;divide-y divide-gray-100 flex-1&quot;,children:r.length===0?s.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;s.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:[s.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[s.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;}),s.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;s.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 shrink-0 justify-end&quot;,children:[s.jsx(Re,{variant:&quot;primary&quot;,onClick:()=&gt;u(d),disabled:l,title:&quot;Confirmer ce don&quot;,&quot;aria-label&quot;:&quot;Confirmer ce don&quot;,className:&quot;p-1.5&quot;,children:s.jsx(D4,{size:16,&quot;aria-hidden&quot;:!0})}),s.jsx(Re,{variant:&quot;outline&quot;,onClick:()=&gt;c(d),disabled:l,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:s.jsx(pr,{size:16,&quot;aria-hidden&quot;:!0})})]})]},d.id))})]}),s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden flex flex-col&quot;,children:[s.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:[s.jsx(&quot;h3&quot;,{className:&quot;text-sm font-bold text-ink-900&quot;,children:&quot;Dons SycaPay en cours&quot;}),a?s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:a,className:&quot;text-xs font-semibold shrink-0 !py-1.5 !px-2.5&quot;,children:&quot;Voir la liste des dons&quot;}):null]}),s.jsx(&quot;div&quot;,{className:&quot;divide-y divide-gray-100 flex-1&quot;,children:t.length===0?s.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;s.jsxs(&quot;div&quot;,{className:&quot;px-5 py-3 flex flex-col gap-1.5 text-sm&quot;,children:[s.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;}),s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600 tabular-nums whitespace-nowrap&quot;,children:En(d.amount,d.currency)}),s.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:[&quot;Don: &quot;,s.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:d.status}),d.latest_gateway_payment?.status?s.jsxs(s.Fragment,{children:[&quot; &quot;,&quot;• Paiement: &quot;,s.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:d.latest_gateway_payment.status})]}):null]}),d.latest_gateway_payment?.provider_status?s.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?s.jsx(&quot;p&quot;,{className:&quot;text-xs text-red-700&quot;,children:d.latest_gateway_payment.provider_last_error}):null]},d.id))})]})]})}const sse={draft:&quot;Brouillon&quot;,in_review:&quot;En revue&quot;,validated:&quot;Validée&quot;,closed:&quot;Clôturée&quot;},rN={bank:&quot;Banque&quot;,cash:&quot;Espèces&quot;,mobile_money:&quot;Mobile Money&quot;};function ase(e){switch(e){case&quot;draft&quot;:return&quot;bg-slate-100 text-slate-800 border-slate-200&quot;;case&quot;in_review&quot;:return&quot;bg-amber-50 text-amber-900 border-amber-200&quot;;case&quot;validated&quot;:return&quot;bg-emerald-50 text-emerald-900 border-emerald-200&quot;;case&quot;closed&quot;:return&quot;bg-gray-100 text-gray-800 border-gray-200&quot;;default:return&quot;bg-gray-50 text-gray-700 border-gray-200&quot;}}function nd(e){return e instanceof Bt?(e.data.error?.code===&quot;RECON_INVALID_TRANSITION&quot;,e.data.error?.message??e.message):e instanceof Error?e.message:&quot;Erreur inconnue.&quot;}function ose({eventId:e,canWrite:r,canApprove:t,canReopen:n}){const[l,i]=I.useState([]),[o,u]=I.useState(!1),[c,a]=I.useState(null),[d,f]=I.useState(!1),[h,m]=I.useState(!1),[p,x]=I.useState(null),[g,y]=I.useState(&quot;bank&quot;),[v,_]=I.useState(&quot;&quot;),[C,M]=I.useState(&quot;&quot;),[T,$]=I.useState(&quot;&quot;),[F,H]=I.useState(null),[W,q]=I.useState(&quot;&quot;),[K,P]=I.useState(!1),[L,E]=I.useState(null),[j,k]=I.useState(null),[S,N]=I.useState(&quot;&quot;),[O,D]=I.useState(!1),[B,Y]=I.useState(null),[Z,ne]=I.useState(null),[V,ee]=I.useState(null),z=I.useCallback(async()=&gt;{if(e===&quot;&quot;){i([]);return}u(!0),a(null);try{const ce=await gc.listSessions({event_id:e});i(ce)}catch(ce){a(nd(ce)),i([])}finally{u(!1)}},[e]);I.useEffect(()=&gt;{z()},[z]);const R=()=&gt;{x(null);const ce=new Date().toISOString().slice(0,10);_(ce.slice(0,8)+&quot;01&quot;),M(ce),y(&quot;bank&quot;),$(&quot;&quot;),f(!0)},X=async()=&gt;{if(e!==&quot;&quot;){m(!0),x(null);try{await gc.createSession({event_id:e,channel:g,period_start:v,period_end:C,...g===&quot;mobile_money&quot;&amp;&amp;T.trim()?{mobile_operator:T.trim()}:{}}),f(!1),await z()}catch(ce){x(nd(ce))}finally{m(!1)}}},re=async(ce,ie)=&gt;{ee(null),ne(ce);try{return await ie(),await z(),!0}catch(fe){return ee(nd(fe)),!1}finally{ne(null)}},Q=ce=&gt;{E(null),q(&quot;&quot;),H(ce)},te=async()=&gt;{if(F){P(!0),E(null);try{await gc.closeSession(F.id,{close_notes:W.trim()||void 0}),H(null),await z()}catch(ce){ce instanceof Bt&amp;&amp;ce.status===422&amp;&amp;ce.data.error?.code===&quot;RECON_CLOSE_BLOCKED&quot;?E({type:&quot;blocked&quot;,summary:ce.data.error.message,details:ce.data.error.details??[]}):E({type:&quot;blocked&quot;,summary:nd(ce),details:[]})}finally{P(!1)}}},se=async()=&gt;{if(j){D(!0),Y(null);try{await gc.reopenSession(j.id,{reopen_reason:S.trim()}),k(null),N(&quot;&quot;),await z()}catch(ce){Y(nd(ce))}finally{D(!1)}}},de=e!==&quot;&quot;;return s.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,role:&quot;tabpanel&quot;,&quot;aria-label&quot;:&quot;Rapprochement comptable&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Rapprochement comptable&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:&quot;Sessions de rapprochement du relevé avec les encaissements internes — distinct de la réconciliation technique SycaPay.&quot;})]}),!de&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;rounded-xl border border-amber-200 bg-amber-50 px-4 py-3 text-sm text-amber-900&quot;,children:&quot;Sélectionnez un événement pour afficher les sessions de rapprochement.&quot;}),de&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-3&quot;,children:[r&amp;&amp;s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:R,children:&quot;Nouvelle session&quot;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:()=&gt;{z()},disabled:o,children:&quot;Actualiser&quot;})]}),c&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;rounded-xl border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-800&quot;,role:&quot;alert&quot;,children:c}),V&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;rounded-xl border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-800&quot;,role:&quot;alert&quot;,children:V}),de&amp;&amp;o&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Chargement des sessions…&quot;}),de&amp;&amp;!o&amp;&amp;l.length===0&amp;&amp;!c&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucune session pour cet événement.&quot;}),l.length&gt;0&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto rounded-xl border border-gray-200 bg-white shadow-sm&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;min-w-full divide-y divide-gray-200 text-sm&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.jsx(&quot;th&quot;,{scope:&quot;col&quot;,className:&quot;px-4 py-3 text-left font-semibold text-ink-700&quot;,children:&quot;Période&quot;}),s.jsx(&quot;th&quot;,{scope:&quot;col&quot;,className:&quot;px-4 py-3 text-left font-semibold text-ink-700&quot;,children:&quot;Canal&quot;}),s.jsx(&quot;th&quot;,{scope:&quot;col&quot;,className:&quot;px-4 py-3 text-left font-semibold text-ink-700&quot;,children:&quot;Statut&quot;}),s.jsx(&quot;th&quot;,{scope:&quot;col&quot;,className:&quot;px-4 py-3 text-right font-semibold text-ink-700&quot;,children:&quot;Actions&quot;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:l.map(ce=&gt;s.jsxs(&quot;tr&quot;,{children:[s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 whitespace-nowrap text-ink-800&quot;,children:(ce.period_start??&quot;—&quot;)+&quot; → &quot;+(ce.period_end??&quot;—&quot;)}),s.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:[rN[ce.channel]??ce.channel,ce.channel===&quot;mobile_money&quot;&amp;&amp;ce.mobile_operator&amp;&amp;s.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500&quot;,children:ce.mobile_operator})]}),s.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[s.jsx(&quot;span&quot;,{className:`inline-flex rounded-full border px-2.5 py-0.5 text-xs font-semibold ${ase(ce.status)}`,children:sse[ce.status]??ce.status}),typeof ce.reopen_count==&quot;number&quot;&amp;&amp;ce.reopen_count&gt;0&amp;&amp;s.jsxs(&quot;span&quot;,{className:&quot;ml-2 text-xs text-ink-500&quot;,children:[&quot;Réouvertures : &quot;,ce.reopen_count]})]}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap justify-end gap-2&quot;,children:[ce.status===&quot;draft&quot;&amp;&amp;r&amp;&amp;s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;!px-3 !py-2 text-xs uppercase&quot;,disabled:Z!==null,onClick:()=&gt;{re(`submit-${ce.id}`,()=&gt;gc.submitReview(ce.id))},children:Z===`submit-${ce.id}`?&quot;…&quot;:&quot;Soumettre en revue&quot;}),ce.status===&quot;in_review&quot;&amp;&amp;t&amp;&amp;s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;!px-3 !py-2 text-xs uppercase&quot;,disabled:Z!==null,onClick:()=&gt;{re(`validate-${ce.id}`,()=&gt;gc.validateSession(ce.id))},children:Z===`validate-${ce.id}`?&quot;…&quot;:&quot;Valider&quot;}),ce.status===&quot;validated&quot;&amp;&amp;t&amp;&amp;s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;!px-3 !py-2 text-xs uppercase&quot;,disabled:Z!==null,onClick:()=&gt;Q(ce),children:&quot;Clôturer&quot;}),ce.status===&quot;closed&quot;&amp;&amp;n&amp;&amp;s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;!px-3 !py-2 text-xs uppercase&quot;,disabled:Z!==null,onClick:()=&gt;{Y(null),N(&quot;&quot;),k(ce)},children:&quot;Rouvrir&quot;})]})})]},ce.id))})]})}),d&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4&quot;,role:&quot;dialog&quot;,&quot;aria-modal&quot;:&quot;true&quot;,&quot;aria-labelledby&quot;:&quot;recon-create-title&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;w-full max-w-md rounded-xl bg-white p-6 shadow-xl border border-gray-200&quot;,children:[s.jsx(&quot;h4&quot;,{id:&quot;recon-create-title&quot;,className:&quot;text-lg font-bold text-ink-900&quot;,children:&quot;Nouvelle session de rapprochement&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;mt-4 space-y-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Canal&quot;}),s.jsxs(&quot;select&quot;,{value:g,onChange:ce=&gt;y(ce.target.value),className:&quot;w-full rounded-lg border border-gray-300 px-3 py-2 text-sm&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;bank&quot;,children:&quot;Banque&quot;}),s.jsx(&quot;option&quot;,{value:&quot;cash&quot;,children:&quot;Espèces&quot;}),s.jsx(&quot;option&quot;,{value:&quot;mobile_money&quot;,children:&quot;Mobile Money&quot;})]})]}),g===&quot;mobile_money&quot;&amp;&amp;s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Opérateur Mobile Money&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:T,onChange:ce=&gt;$(ce.target.value),className:&quot;w-full rounded-lg border border-gray-300 px-3 py-2 text-sm&quot;,placeholder:&quot;ex. ORANGE_MONEY&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 gap-3&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Début de période&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:v,onChange:ce=&gt;_(ce.target.value),className:&quot;w-full rounded-lg border border-gray-300 px-3 py-2 text-sm&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Fin de période&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:C,onChange:ce=&gt;M(ce.target.value),className:&quot;w-full rounded-lg border border-gray-300 px-3 py-2 text-sm&quot;})]})]})]}),p&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-3 text-sm text-red-700&quot;,role:&quot;alert&quot;,children:p}),s.jsxs(&quot;div&quot;,{className:&quot;mt-6 flex justify-end gap-2&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:()=&gt;f(!1),disabled:h,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:()=&gt;{X()},disabled:h||!v||!C,children:h?&quot;Création…&quot;:&quot;Créer&quot;})]})]})}),F&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4&quot;,role:&quot;dialog&quot;,&quot;aria-modal&quot;:&quot;true&quot;,&quot;aria-labelledby&quot;:&quot;recon-close-title&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;w-full max-w-lg rounded-xl bg-white p-6 shadow-xl border border-gray-200 max-h-[90vh] overflow-y-auto&quot;,children:[s.jsx(&quot;h4&quot;,{id:&quot;recon-close-title&quot;,className:&quot;text-lg font-bold text-ink-900&quot;,children:&quot;Clôturer la session&quot;}),s.jsxs(&quot;p&quot;,{className:&quot;mt-2 text-sm text-ink-600&quot;,children:[&quot;Période &quot;,(F.period_start??&quot;&quot;)+&quot; → &quot;+(F.period_end??&quot;&quot;),&quot; —&quot;,&quot; &quot;,rN[F.channel]??F.channel]}),s.jsx(&quot;label&quot;,{className:&quot;mt-4 block text-sm font-medium text-ink-700&quot;,children:&quot;Notes de clôture (optionnel)&quot;}),s.jsx(&quot;textarea&quot;,{value:W,onChange:ce=&gt;q(ce.target.value),rows:3,className:&quot;mt-1 w-full rounded-lg border border-gray-300 px-3 py-2 text-sm&quot;,placeholder:&quot;Référence dossier, commentaire pour l’audit…&quot;}),L&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;mt-4 rounded-lg border border-red-200 bg-red-50 px-3 py-3 text-sm text-red-900&quot;,role:&quot;alert&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;font-semibold&quot;,children:L.summary}),L.details.length&gt;0&amp;&amp;s.jsx(&quot;ul&quot;,{className:&quot;mt-2 list-disc space-y-1 pl-5&quot;,children:L.details.map((ce,ie)=&gt;s.jsx(&quot;li&quot;,{children:ce.message},`${ce.code}-${ie}`))})]}),s.jsxs(&quot;div&quot;,{className:&quot;mt-6 flex justify-end gap-2&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:()=&gt;H(null),disabled:K,children:&quot;Fermer&quot;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:()=&gt;{te()},disabled:K,children:K?&quot;Clôture…&quot;:&quot;Confirmer la clôture&quot;})]})]})}),j&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4&quot;,role:&quot;dialog&quot;,&quot;aria-modal&quot;:&quot;true&quot;,&quot;aria-labelledby&quot;:&quot;recon-reopen-title&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;w-full max-w-md rounded-xl bg-white p-6 shadow-xl border border-gray-200&quot;,children:[s.jsx(&quot;h4&quot;,{id:&quot;recon-reopen-title&quot;,className:&quot;text-lg font-bold text-ink-900&quot;,children:&quot;Rouvrir la session&quot;}),s.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-ink-600&quot;,children:&quot;La session repassera en « En revue ». Motif obligatoire (audit).&quot;}),s.jsx(&quot;label&quot;,{className:&quot;mt-4 block text-sm font-medium text-ink-700&quot;,children:&quot;Motif&quot;}),s.jsx(&quot;textarea&quot;,{value:S,onChange:ce=&gt;N(ce.target.value),rows:4,className:&quot;mt-1 w-full rounded-lg border border-gray-300 px-3 py-2 text-sm&quot;,placeholder:&quot;Au moins quelques caractères…&quot;}),B&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-700&quot;,role:&quot;alert&quot;,children:B}),s.jsxs(&quot;div&quot;,{className:&quot;mt-6 flex justify-end gap-2&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:()=&gt;k(null),disabled:O,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:()=&gt;{se()},disabled:O||S.trim().length&lt;5,children:O?&quot;Envoi…&quot;:&quot;Confirmer&quot;})]})]})})]})}const lse=&quot;Sommet Haggai Franco 2026&quot;;function nN(e){return(e??&quot;&quot;).trim().toLowerCase()}function cse(){const{can:e,roles:r,loading:t}=qs(),{events:n}=Mp(),[l,i]=I.useState([]),[o,u]=I.useState(!0),[c,a]=I.useState(null),d=e(&quot;finance.dashboard&quot;)||e(&quot;payments.read&quot;);I.useEffect(()=&gt;{d&amp;&amp;(u(!0),a(null),Kr.getEvents().then(i).catch(le=&gt;{const Se=le?.data?.message,We=le?.status;a(We===404||Se===&quot;Not Found&quot;?&quot;Module finance indisponible. Vérifiez que l’API est à jour (cache des routes) ou contactez l’administrateur.&quot;:Se??&quot;Impossible de charger les événements.&quot;)}).finally(()=&gt;u(!1)))},[d]);const f=I.useMemo(()=&gt;(l?.length?l:n)??[],[l,n]),h=I.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 le=r.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;),Se=r.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;);return le&amp;&amp;Se?[&quot;summit&quot;,&quot;seminar&quot;]:le?[&quot;summit&quot;]:Se?[&quot;seminar&quot;]:[]},[r]),m=r.includes(&quot;COMMISSARIAT_GENERAL&quot;),p=e(&quot;finance.reconciliation.read&quot;),x=I.useMemo(()=&gt;(f??[]).filter(le=&gt;h.includes(le.event_type)),[f,h]),g=I.useMemo(()=&gt;x.length&gt;0?x:r.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;(f?.length??0)&gt;0?f??[]:x,[r,f,x]),[y,v]=I.useState(&quot;&quot;);I.useEffect(()=&gt;{y&amp;&amp;!g.some(le=&gt;le.id===y)&amp;&amp;v(&quot;&quot;)},[y,g]),I.useEffect(()=&gt;{if(y===&quot;&quot;&amp;&amp;g.length&gt;0){const le=nN(lse),Se=g.find(We=&gt;nN(We.name)===le);v(Se?.id??g[0].id)}},[y,g]);const[_,C]=I.useState(null),[M,T]=I.useState(!0),[$,F]=I.useState(null),[H,W]=I.useState(null),[q,K]=I.useState(null),[P,L]=I.useState(&quot;&quot;),[E,j]=I.useState(&quot;&quot;),[k,S]=I.useState(null),[N,O]=I.useState(null),[D,B]=I.useState(&quot;&quot;),[Y,Z]=I.useState([]),[ne,V]=I.useState(0),[ee,z]=I.useState(null),[R,X]=I.useState(&quot;&quot;),[re,Q]=I.useState(&quot;orange_money&quot;),[te,se]=I.useState(()=&gt;new Date().toISOString().slice(0,16)),[de,ce]=I.useState(&quot;&quot;),[ie,fe]=I.useState(&quot;&quot;),[oe,ge]=I.useState(null),[xe,pe]=I.useState(null),[ue,we]=I.useState(!1),[ke,Te]=I.useState(&quot;&quot;),[je,De]=I.useState([]),[Xe,Ve]=I.useState([]),[et,st]=I.useState(null),[Ge,ze]=I.useState(null),[Qe,rt]=I.useState([]),[Ae,ut]=I.useState(!1),[$t,ht]=I.useState(1),[Tt,It]=I.useState(20),[Et,Ut]=I.useState(null),[qt,yt]=I.useState(&quot;&quot;),[Rt,Xt]=I.useState(&quot;&quot;),[dt,Ft]=I.useState(null),[Ht,Nt]=I.useState(!1),[be,Ne]=I.useState(null),[Ie,Ke]=I.useState(!1),[vt,Je]=I.useState(!1),[St,wt]=I.useState(!1),[ot,At]=I.useState([]),[Ct,Dt]=I.useState(!1),[or,Gt]=I.useState(null),[nr,ur]=I.useState(1),[Ar,he]=I.useState(20),[ve,Le]=I.useState(null),[$e,ct]=I.useState(!1),[Fe,Ye]=I.useState(&quot;validation&quot;),[Ce,nt]=I.useState(&quot;dashboard&quot;);I.useEffect(()=&gt;{p||Ye(le=&gt;le===&quot;reconciliation&quot;?&quot;validation&quot;:le)},[p]);const[it,at]=I.useState(()=&gt;new Date().toISOString().slice(0,7)),[Mt,er]=I.useState(&quot;exact&quot;),[Wt,gr]=I.useState(&quot;all&quot;),[tr,Lr]=I.useState(&quot;all&quot;),[_r,Pn]=I.useState([]),[Qi,Ji]=I.useState(!1),[xi,Zt]=I.useState(null),[Vt,Mr]=I.useState(1),[bi,ks]=I.useState(20),[jt,Tn]=I.useState(null),[ai,Mi]=I.useState(!1),[on,oi]=I.useState(new Set),[Hn,Hs]=I.useState(!1),[yi,yn]=I.useState(null),[In,Rn]=I.useState([]),[vn,Dn]=I.useState([]),[Wn,mf]=I.useState(!1),[pf,Kn]=I.useState(null),[Rl,Dl]=I.useState(&quot;&quot;),[Mo,ru]=I.useState(&quot;&quot;),[gf,Fa]=I.useState(0),[Oo,Ws]=I.useState(!1),[Ll,Fl]=I.useState(null),[C0,Bl]=I.useState(null),[Ns,Ks]=I.useState(null),[nu,es]=I.useState(&quot;&quot;),[zl,Po]=I.useState(0),[iu,To]=I.useState(0),[Io,su]=I.useState(0),[Or,Xs]=I.useState(!1),[$l,ts]=I.useState(null),[E0,Ba]=I.useState(null),[Ro,ln]=I.useState(null),[Ul,au]=I.useState(!1),[za,ou]=I.useState([]),[A0,Vl]=I.useState(!1),[M0,Gs]=I.useState(null),[O0,P0]=I.useState([]),[T0,xf]=I.useState([]),[bf,I0]=I.useState(()=&gt;new Date().toISOString().slice(0,10)),[yf,vf]=I.useState(0),[Do,R0]=I.useState(&quot;&quot;),[ql,D0]=I.useState(&quot;&quot;),[lu,wf]=I.useState(&quot;&quot;),[cu,_f]=I.useState(null),[L0,F0]=I.useState(0),[B0,jf]=I.useState(!1),[uu,vi]=I.useState(null),[$a,Hl]=I.useState([]),[Sf,du]=I.useState(!1),[kf,Ys]=I.useState(null),[rs,z0]=I.useState([]),[$0,U0]=I.useState(&quot;transfer&quot;),[Ua,Nf]=I.useState(&quot;&quot;),[ns,Lo]=I.useState(&quot;&quot;),[Cf,Fo]=I.useState(0),[Ef,fu]=I.useState(&quot;&quot;),[Wl,Kl]=I.useState(&quot;&quot;),[Xl,hu]=I.useState(null),[Af,V0]=I.useState(0),[q0,Mf]=I.useState(!1),[H0,is]=I.useState(null),[Xn,Bo]=I.useState(&quot;&quot;),[mu,Of]=I.useState(&quot;increase&quot;),[pu,gu]=I.useState(0),[Gl,Pf]=I.useState(&quot;&quot;),[Tf,Zs]=I.useState(&quot;&quot;),[zo,Va]=I.useState(null),[xu,If]=I.useState(0),[Yl,Qs]=I.useState(!1),[bu,Cs]=I.useState(null),[Zl,Rf]=I.useState(null),[Df,yu]=I.useState(!1),[Lf,vu]=I.useState(null),Gn=g.find(le=&gt;le.id===y)??f?.find(le=&gt;le.id===y),Yn=Gn?.event_type??null,Ql=I.useCallback(()=&gt;{d&amp;&amp;(T(!0),F(null),Kr.getDashboard(y?{event_id:y}:void 0).then(C).catch(le=&gt;F(le?.data?.message||&quot;Erreur chargement dashboard finance.&quot;)).finally(()=&gt;T(!1)))},[d,y]);I.useEffect(()=&gt;{d&amp;&amp;Ql()},[d,y,ne,Ql]),I.useEffect(()=&gt;{y&amp;&amp;typeof y==&quot;number&quot;&amp;&amp;(ht(1),Mr(1),yt(&quot;&quot;),Xt(&quot;&quot;))},[y]),I.useEffect(()=&gt;{const le=window.setTimeout(()=&gt;Xt(qt.trim()),400);return()=&gt;window.clearTimeout(le)},[qt]),I.useEffect(()=&gt;{ht(1)},[Rt]),I.useEffect(()=&gt;{const le=y===&quot;&quot;?null:Number(y);if(!d||Fe!==&quot;validation&quot;||le==null||Number.isNaN(le)){rt([]),Ut(null);return}ut(!0),Kr.getDebtors({event_id:le,page:$t,per_page:Tt,...Rt!==&quot;&quot;?{q:Rt}:{}}).then(Se=&gt;{rt(Array.isArray(Se.data)?Se.data:[]),Ut(Se.meta??null)}).catch(()=&gt;{rt([]),Ut(null)}).finally(()=&gt;ut(!1))},[d,Fe,y,$t,Tt,Rt,ne]),I.useEffect(()=&gt;{const le=y===&quot;&quot;?void 0:Number(y);St&amp;&amp;(Dt(!0),Gt(null),Kr.getDonations({event_id:Number.isNaN(le)?void 0:le,page:nr,per_page:Ar}).then(Se=&gt;{At(Se.data??[]),Le(Se.meta??null)}).catch(Se=&gt;{At([]),Le(null),Gt(Se?.data?.message??Se?.message??&quot;Erreur lors du chargement des dons.&quot;)}).finally(()=&gt;Dt(!1)))},[St,nr,Ar,y,ne]),I.useEffect(()=&gt;{const le=y===&quot;&quot;?null:Number(y);if(!d||Ce!==&quot;reminders&quot;||le==null||Number.isNaN(le)){Pn([]),Tn(null);return}Ji(!0),Zt(null),Kr.getExpectedPaymentsForMonth({event_id:le,month:it,month_scope:Mt,installment_status:Wt===&quot;all&quot;?void 0:Wt,financial_situation:tr===&quot;all&quot;?void 0:tr,page:Vt,per_page:bi}).then(Se=&gt;{Pn(Se.data??[]),Tn(Se.meta??null)}).catch(Se=&gt;{Pn([]),Tn(null),Zt(Se?.data?.message??Se?.message??&quot;Erreur lors du chargement relance.&quot;)}).finally(()=&gt;Ji(!1))},[d,Ce,y,it,Mt,Wt,tr,Vt,bi,ne]),I.useEffect(()=&gt;{oi(new Set),yn(null)},[y,it,Mt,Wt,tr]);const $o=le=&gt;`${le.registration_id}-${le.installment_index}`,wu=I.useCallback(()=&gt;{if(!Yn){Rn([]);return}xo.list({event_type:Yn}).then(le=&gt;Rn(Array.isArray(le)?le:[]))},[Yn]),Uo=I.useCallback(()=&gt;{if(!y||typeof y!=&quot;number&quot;){Dn([]);return}mf(!0),Kn(null),sl.list(y).then(Dn).catch(le=&gt;Kn(le?.data?.message??&quot;Erreur chargement des lignes.&quot;)).finally(()=&gt;mf(!1))},[y]);I.useEffect(()=&gt;{Fe===&quot;budget&quot;&amp;&amp;wu()},[Fe,Yn,wu]),I.useEffect(()=&gt;{Fe!==&quot;budget&quot;||!y||Uo()},[Fe,y,Uo]);const qa=I.useCallback(()=&gt;{!y||typeof y!=&quot;number&quot;||(Vl(!0),Gs(null),Mh.list(y).then(ou).catch(le=&gt;Gs(le?.data?.message??&quot;Erreur chargement des dépenses.&quot;)).finally(()=&gt;Vl(!1)))},[y]);I.useEffect(()=&gt;{Fe!==&quot;expenses&quot;||!y||(qa(),sl.list(y).then(le=&gt;{P0(le.filter(Se=&gt;Se.category_type===&quot;expense&quot;))}),Ds.list({event_id:y}).then(le=&gt;{const Se=Array.isArray(le)?le:le?.data??[];xf(Se.filter(We=&gt;We.is_active&amp;&amp;We.usage!==&quot;sycapay_transit&quot;))}))},[Fe,y,qa]),I.useEffect(()=&gt;{Fe!==&quot;movements&quot;||!y||typeof y!=&quot;number&quot;||(du(!0),Ys(null),Oh.list(y).then(Hl).catch(le=&gt;Ys(le?.data?.message??&quot;Erreur chargement des mouvements.&quot;)).finally(()=&gt;du(!1)),Ds.list({event_id:y}).then(le=&gt;{const Se=Array.isArray(le)?le:le?.data??[];z0(Se.filter(We=&gt;We.is_active))}))},[Fe,y]),I.useEffect(()=&gt;{Fe!==&quot;treasury&quot;||!y||typeof y!=&quot;number&quot;||(yu(!0),vu(null),vc.get(y).then(Rf).catch(le=&gt;vu(le?.data?.message??&quot;Erreur chargement des soldes.&quot;)).finally(()=&gt;yu(!1)))},[Fe,y,ne]);const W0=()=&gt;{if(!y||typeof y!=&quot;number&quot;){vi(&quot;Sélectionnez un événement.&quot;);return}if(ql===&quot;&quot;||typeof ql!=&quot;number&quot;){vi(&quot;Choisissez un compte de trésorerie.&quot;);return}const le=lu.trim();if(!le){vi(&quot;Le libellé est obligatoire.&quot;);return}const Se=Number(yf);if(isNaN(Se)||Se&lt;1){vi(&quot;Montant invalide.&quot;);return}if(!cu){vi(&quot;La pièce justificative est obligatoire.&quot;);return}vi(null),jf(!0),Mh.create({event_id:y,treasury_account_id:ql,event_budget_line_id:Do===&quot;&quot;?null:Do,amount:Se,paid_at:bf,label:le,proof:cu}).then(We=&gt;{ou(tt=&gt;[We,...tt]),vf(0),wf(&quot;&quot;),_f(null),F0(tt=&gt;tt+1)}).catch(We=&gt;vi(We?.data?.message??&quot;Erreur lors de l&#039;ajout.&quot;)).finally(()=&gt;jf(!1))},Ff=le=&gt;{Gs(null),Mh.openExpenseProofInNewTab(le.id).catch(Se=&gt;Gs(Se&amp;&amp;typeof Se==&quot;object&quot;&amp;&amp;&quot;data&quot;in Se&amp;&amp;Se.data?.message?String(Se.data?.message):Se instanceof Error?Se.message:&quot;Impossible d’ouvrir le justificatif.&quot;))},Bf=le=&gt;{Ys(null),Oh.openMovementProofInNewTab(le.id).catch(Se=&gt;Ys(Se&amp;&amp;typeof Se==&quot;object&quot;&amp;&amp;&quot;data&quot;in Se&amp;&amp;Se.data?.message?String(Se.data?.message):Se instanceof Error?Se.message:&quot;Impossible d’ouvrir le justificatif.&quot;))},xr=le=&gt;{confirm(&quot;Supprimer cette dépense ? La réalisation budgétaire sera mise à jour.&quot;)&amp;&amp;Mh.delete(le.id).then(()=&gt;ou(Se=&gt;Se.filter(We=&gt;We.id!==le.id))).catch(Se=&gt;Gs(Se?.data?.message??&quot;Erreur suppression.&quot;))},_u=(le,Se)=&gt;{O(null),W({type:&quot;confirm-payment&quot;,id:le}),Kr.confirmPayment(le,Se).then(()=&gt;{K(null),L(&quot;&quot;),j(&quot;&quot;),S(null),V(We=&gt;We+1)}).catch(We=&gt;{O(We?.data?.message||We?.message||&quot;Erreur lors de la confirmation.&quot;)}).finally(()=&gt;W(null))},Jl=(le,Se)=&gt;{O(null),W({type:&quot;reject-payment&quot;,id:le}),Kr.rejectPayment(le,Se).then(()=&gt;{K(null),L(&quot;&quot;),j(&quot;&quot;),S(null),V(We=&gt;We+1)}).catch(We=&gt;{O(We?.data?.message||We?.message||&quot;Erreur lors du rejet.&quot;)}).finally(()=&gt;W(null))},Vo=(le,Se)=&gt;{O(null),W({type:&quot;confirm-donation&quot;,id:le}),Kr.confirmDonation(le,Se).then(()=&gt;{K(null),L(&quot;&quot;),j(&quot;&quot;),S(null),V(We=&gt;We+1)}).catch(We=&gt;{O(We?.data?.message||We?.message||&quot;Erreur lors de la confirmation.&quot;)}).finally(()=&gt;W(null))},zf=(le,Se)=&gt;{O(null),W({type:&quot;reject-donation&quot;,id:le}),Kr.rejectDonation(le,Se).then(()=&gt;{K(null),L(&quot;&quot;),j(&quot;&quot;),S(null),V(We=&gt;We+1)}).catch(We=&gt;{O(We?.data?.message||We?.message||&quot;Erreur lors du rejet.&quot;)}).finally(()=&gt;W(null))},Ha=(le,Se)=&gt;{K({action:le,target:Se}),L(&quot;&quot;),j(&quot;&quot;),S(null),O(null),B(&quot;&quot;),Z([])};I.useEffect(()=&gt;{if(!q||q.action!==&quot;confirm&quot;)return;const le=q.target;if(le.type!==&quot;payment&quot;&amp;&amp;le.type!==&quot;donation&quot;)return;const Se=le.event_id??&quot;&quot;;if(Se===&quot;&quot;||Se===void 0){Z([]);return}Ds.list({event_id:typeof Se==&quot;number&quot;?Se:Number(Se)}).then(We=&gt;{const tt=Array.isArray(We)?We:We?.data??[];Z(tt.filter(Kt=&gt;Kt.usage!==&quot;sycapay_transit&quot;))}).catch(()=&gt;Z([]))},[q]);const qo=()=&gt;{if(!q)return;if(q.action===&quot;confirm&quot;&amp;&amp;q.target.type===&quot;payment&quot;&amp;&amp;(D===&quot;&quot;||D===void 0)){O(&quot;Veuillez sélectionner le compte de trésorerie impacté par l&#039;encaissement.&quot;);return}const le=q.target,Se={review_note:P.trim()||void 0,reference:E.trim()||void 0,proof:k||void 0,...q.action===&quot;confirm&quot;&amp;&amp;(le.type===&quot;payment&quot;||le.type===&quot;donation&quot;)&amp;&amp;D!==&quot;&quot;&amp;&amp;{treasury_account_id:Number(D)}};q.target.type===&quot;payment&quot;?q.action===&quot;confirm&quot;?_u(q.target.id,Se):Jl(q.target.id,Se):q.action===&quot;confirm&quot;?Vo(q.target.id,Se):zf(q.target.id,Se)};I.useEffect(()=&gt;{if(!ee?.event?.id){De([]);return}Ds.list({event_id:ee.event.id}).then(le=&gt;{const Se=Array.isArray(le)?le:le?.data??[];De(Se.filter(We=&gt;We.usage!==&quot;sycapay_transit&quot;))}).catch(()=&gt;De([]))},[ee]);const ec=le=&gt;{z(le),X(String(le.balance)),Q(&quot;orange_money&quot;),se(new Date().toISOString().slice(0,16)),ce(&quot;&quot;),fe(&quot;&quot;),ge(null),Te(&quot;&quot;),pe(null),Ve([])},Es=I.useMemo(()=&gt;!ee||!ee.installment_due_items?.length?0:ee.installment_due_items.filter(le=&gt;Xe.includes(le.index)).reduce((le,Se)=&gt;le+Se.amount_due_remaining,0),[ee,Xe]),$f=le=&gt;{Ve(Se=&gt;Se.includes(le)?Se.filter(We=&gt;We!==le):[...Se,le])},K0=()=&gt;{const le=ee?.installment_due_items??[];Ve(le.map(Se=&gt;Se.index))},X0=()=&gt;Ve([]),Uf=()=&gt;{if(!ee)return;if(ke===&quot;&quot;||typeof ke!=&quot;number&quot;){pe(&quot;Veuillez sélectionner le compte de trésorerie à utiliser.&quot;);return}const le=parseInt(R,10);if(isNaN(le)||le&lt;=0){pe(&quot;Montant invalide.&quot;);return}if(le&gt;ee.balance){pe(`Le montant ne peut pas dépasser le solde (${wr(ee.balance)}).`);return}if(!de.trim()&amp;&amp;!oe){pe(&quot;Veuillez renseigner la référence transaction et/ou joindre une preuve (image ou scan).&quot;);return}pe(null),we(!0),Kr.initPayment(ee.id,{amount:le,method:re,paid_at:new Date(te).toISOString(),treasury_account_id:Number(ke),reference:de.trim()||void 0,notes:ie.trim()||void 0,proof:oe||void 0}).then(()=&gt;{z(null),V(Se=&gt;Se+1)}).catch(Se=&gt;{const We=Se?.data?.message||Se?.message||&quot;Erreur lors de l&#039;enregistrement.&quot;,tt=Se?.data?.errors;pe(tt?Object.values(tt).flat().join(&quot; &quot;):We)}).finally(()=&gt;we(!1))},Ho=le=&gt;{Nt(!0),Ne(null),Ft(null),Kr.getDebtorDetail(le).then(Se=&gt;Ft(Se.data)).catch(Se=&gt;{Ne(Se?.data?.message??Se?.message??&quot;Impossible de charger le détail débiteur.&quot;)}).finally(()=&gt;Nt(!1))},tc=async()=&gt;{if(!(!y||typeof y!=&quot;number&quot;)){Ke(!0);try{const Se=((await Kr.getDebtorsExport({event_id:y})).data??[]).map(tt=&gt;({&quot;ID inscription&quot;:tt.registration_id,Événement:tt.event_name??&quot;—&quot;,Nom:tt.name,Email:tt.email,&quot;Montant dû&quot;:tt.amount_due,&quot;Déjà payé&quot;:tt.paid,&quot;Solde restant&quot;:tt.balance,Échéances:tt.installments_label,&quot;Échéances restantes&quot;:tt.installments_open_count,Situation:tt.financial_situation_label,&quot;Calendrier des échéances (dates, statuts, montants)&quot;:tt.installments_schedule_detail??&quot;&quot;,&quot;Échéances en retard (résumé relance)&quot;:tt.installments_late_open_summary??&quot;&quot;})),We=Gn?.slug??y;await ua(Se,`debiteurs_${We}_${new Date().toISOString().slice(0,10)}`,&quot;Débiteurs&quot;)}catch(le){F(le instanceof Error?le.message:&quot;Erreur lors de l’export XLSX des débiteurs.&quot;)}finally{Ke(!1)}}},ju=async()=&gt;{if(!(!y||typeof y!=&quot;number&quot;)){Je(!0);try{const Se=((await Kr.getConfirmedPaymentsExport({event_id:y})).data??[]).map(tt=&gt;({&quot;ID paiement&quot;:tt.payment_id,&quot;ID inscription&quot;:tt.registration_id??&quot;—&quot;,Événement:tt.event_name??&quot;—&quot;,Participant:tt.participant_name??&quot;—&quot;,Email:tt.participant_email??&quot;—&quot;,Montant:tt.amount,Devise:tt.currency,Méthode:gd(tt.method),&quot;Date paiement&quot;:tt.paid_at?new Date(tt.paid_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;,&quot;Date validation&quot;:tt.reviewed_at?new Date(tt.reviewed_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;,Passerelle:tt.payment_gateway??&quot;—&quot;,&quot;Référence (n° commande SycaPay ou réf. transaction déclarée)&quot;:tt.payment_reference||&quot;—&quot;,&quot;Complément référence (ex. ID transaction agrégateur)&quot;:tt.payment_reference_extra??&quot;—&quot;,&quot;Réf. déclaration (champ brut)&quot;:tt.declared_reference??&quot;—&quot;,&quot;N° commande / provider_ref (brut)&quot;:tt.provider_ref??&quot;—&quot;,&quot;N° reçu&quot;:tt.receipt_number??&quot;—&quot;})),We=Gn?.slug??y;await ua(Se,`paiements_confirmes_${We}_${new Date().toISOString().slice(0,10)}`,&quot;Paiements reçus&quot;)}catch(le){F(le instanceof Error?le.message:&quot;Erreur lors de l’export XLSX des paiements confirmés.&quot;)}finally{Je(!1)}}},Su=async()=&gt;{Gt(null),ct(!0);try{const le=y===&quot;&quot;?void 0:Number(y),tt=((await Kr.getDonationsExport(le!=null&amp;&amp;!Number.isNaN(le)?{event_id:le}:void 0)).data??[]).map(Qt=&gt;({ID:Qt.id,Événement:Qt.event?.name??&quot;—&quot;,Donateur:Qt.donor_name||&quot;Anonyme&quot;,Email:Qt.donor_email??&quot;—&quot;,Montant:Qt.amount,Devise:Qt.currency,Méthode:gd(Qt.method)||&quot;—&quot;,Statut:Qt.status,Référence:Qt.reference??&quot;—&quot;,Notes:Qt.notes??&quot;—&quot;,&quot;Note validation&quot;:Qt.review_note??&quot;—&quot;,&quot;Créé le&quot;:Qt.created_at?new Date(Qt.created_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;,&quot;Payé / déclaré le&quot;:Qt.paid_at?new Date(Qt.paid_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;})),Kt=Gn?.slug??(typeof y==&quot;number&quot;&amp;&amp;!Number.isNaN(y)?String(y):&quot;donations&quot;);await ua(tt,`dons_${Kt}_${new Date().toISOString().slice(0,10)}`,&quot;Dons&quot;)}catch(le){le instanceof Bt?Gt(le.data?.message??le.message??&quot;Erreur lors de l’export XLSX des dons.&quot;):Gt(le instanceof Error?le.message:&quot;Erreur lors de l’export XLSX des dons.&quot;)}finally{ct(!1)}},ku=async()=&gt;{if(!(!y||typeof y!=&quot;number&quot;)){Mi(!0);try{const Se=((await Kr.getExpectedPaymentsForMonthExport({event_id:y,month:it,month_scope:Mt,installment_status:Wt===&quot;all&quot;?void 0:Wt,financial_situation:tr===&quot;all&quot;?void 0:tr})).data??[]).map(tt=&gt;({&quot;ID inscription&quot;:tt.registration_id,Événement:tt.event_name??&quot;—&quot;,Nom:tt.name,Email:tt.email,Téléphone:tt.phone??&quot;&quot;,Échéance:`${tt.installment_label} (${tt.installment_month})`,Fenêtre:tt.installment_due_window,&quot;Montant échéance&quot;:tt.installment_amount,&quot;Déjà payé échéance&quot;:tt.installment_paid_amount,&quot;Reste échéance&quot;:tt.installment_remaining_amount,&quot;Statut échéance&quot;:tt.installment_status===&quot;late&quot;?&quot;En retard&quot;:&quot;Ouverte&quot;,&quot;Situation globale&quot;:tt.financial_situation_label})),We=Gn?.slug??y;await ua(Se,`relance_${We}_${it}_${Mt}_${Wt}_${new Date().toISOString().slice(0,10)}`,&quot;Relance échéances&quot;)}catch(le){F(le instanceof Error?le.message:&quot;Erreur export relance.&quot;)}finally{Mi(!1)}}},Nu=le=&gt;{oi(Se=&gt;{const We=new Set(Se);return We.has(le)?We.delete(le):We.add(le),We})},G0=()=&gt;{const le=_r.map($o),Se=le.length&gt;0&amp;&amp;le.every(We=&gt;on.has(We));oi(We=&gt;{const tt=new Set(We);return Se?le.forEach(Kt=&gt;tt.delete(Kt)):le.forEach(Kt=&gt;tt.add(Kt)),tt})},Cu=async le=&gt;{if(!(!y||typeof y!=&quot;number&quot;||le.length===0||m)){Hs(!0),yn(null);try{const Se=le.map(Kt=&gt;{const Qt=/^(\d+)-(\d+)$/.exec(Kt);if(!Qt)throw new Error(&quot;Sélection de ligne invalide.&quot;);return{registration_id:Number(Qt[1]),installment_index:Number(Qt[2])}}),We=await Kr.sendInstallmentReminderEmails({event_id:y,items:Se}),tt=We.skipped.length&gt;0?` ${We.skipped.length} ligne${We.skipped.length&gt;1?&quot;s&quot;:&quot;&quot;} non envoyée${We.skipped.length&gt;1?&quot;s&quot;:&quot;&quot;} (vérifiez email ou solde).`:&quot;&quot;;yn({type:&quot;ok&quot;,text:`${We.message}${tt}`}),oi(Kt=&gt;{const Qt=new Set(Kt);return We.sent.forEach(ta=&gt;Qt.delete(`${ta.registration_id}-${ta.installment_index}`)),Qt}),V(Kt=&gt;Kt+1)}catch(Se){const We=Se instanceof Bt?Se.data?.message??Se.message:Se instanceof Error?Se.message:&quot;Erreur lors de l’envoi des relances.&quot;;yn({type:&quot;err&quot;,text:We})}finally{Hs(!1)}}},Y0=le=&gt;{ze(null),st({key:`payment-${le}`,action:&quot;issue&quot;}),Kr.issuePaymentReceipt(le).then(()=&gt;V(Se=&gt;Se+1)).catch(Se=&gt;ze(Se?.data?.message||Se?.message||&quot;Erreur.&quot;)).finally(()=&gt;st(null))},Z0=(le,Se)=&gt;{ze(null),st({key:`receipt-${le}`,action:&quot;download&quot;}),Kr.downloadReceipt(le,`${Se}.pdf`).catch(We=&gt;ze(We?.data?.message||We?.message||&quot;Erreur téléchargement.&quot;)).finally(()=&gt;st(null))},Eu=le=&gt;{ze(null),st({key:`payment-${le}`,action:&quot;email&quot;}),Kr.sendPaymentReceiptEmail(le).then(()=&gt;V(Se=&gt;Se+1)).catch(Se=&gt;ze(Se?.data?.message||Se?.message||&quot;Erreur envoi email.&quot;)).finally(()=&gt;st(null))},As=(le,Se)=&gt;et?.key===le&amp;&amp;et?.action===Se,Vf=()=&gt;{if(!y||typeof y!=&quot;number&quot;||Rl===&quot;&quot;||typeof Rl!=&quot;number&quot;){Fl(&quot;Veuillez choisir un événement et une catégorie.&quot;);return}const le=Number(gf);if(isNaN(le)||le&lt;0){Fl(&quot;Montant prévu invalide.&quot;);return}Fl(null),Ws(!0),sl.create(y,{budget_category_id:Rl,label:Mo.trim()||void 0,amount_planned:le}).then(Se=&gt;{Dn(We=&gt;[...We,Se]),Dl(&quot;&quot;),ru(&quot;&quot;),Fa(0)}).catch(Se=&gt;Fl(Se?.data?.message??&quot;Erreur lors de l&#039;ajout.&quot;)).finally(()=&gt;Ws(!1))},Wa=le=&gt;{Ba(le.id),Kn(null),sl.moveUp(le.id).then(()=&gt;Uo()).catch(Se=&gt;Kn(Se?.data?.message??&quot;Erreur lors du déplacement.&quot;)).finally(()=&gt;Ba(null))},Oi=le=&gt;{Ba(le.id),Kn(null),sl.moveDown(le.id).then(()=&gt;Uo()).catch(Se=&gt;Kn(Se?.data?.message??&quot;Erreur lors du déplacement.&quot;)).finally(()=&gt;Ba(null))},Wo=le=&gt;{confirm(&quot;Supprimer cette ligne de budget ?&quot;)&amp;&amp;sl.delete(le.id).then(()=&gt;Dn(Se=&gt;Se.filter(We=&gt;We.id!==le.id))).catch(Se=&gt;Kn(Se?.data?.message??&quot;Erreur suppression.&quot;))},ss=le=&gt;{Ks(le),es(le.label??&quot;&quot;),Po(le.amount_planned??0),To(le.amount_realized??0),su(le.sort_order??0),ts(null)},Au=()=&gt;{if(!Ns)return;const le=Number(zl),Se=Number(iu);if(isNaN(le)||le&lt;0){ts(&quot;Montant prévu invalide.&quot;);return}if(isNaN(Se)||Se&lt;0){ts(&quot;Montant réalisé invalide.&quot;);return}ts(null),Xs(!0),sl.update(Ns.id,{label:nu.trim()||null,amount_planned:le,amount_realized:Se,sort_order:Io}).then(We=&gt;{Dn(tt=&gt;tt.map(Kt=&gt;Kt.id===Ns.id?We:Kt)),Ks(null)}).catch(We=&gt;ts(We?.data?.message??&quot;Erreur lors de l&#039;enregistrement.&quot;)).finally(()=&gt;Xs(!1))},Q0=()=&gt;{Uo(),Bl(&quot;Budget enregistré.&quot;),setTimeout(()=&gt;Bl(null),3e3)},J0=()=&gt;{if(!(!y||vn.length===0)){ln(&quot;budget-csv&quot;);try{const le=Yk(vn),Se=Gn?.slug??y;pd(le,`budget_${Se}_${new Date().toISOString().slice(0,10)}`)}catch(le){Kn(le instanceof Error?le.message:&quot;Erreur export.&quot;)}finally{ln(null)}}},Js=async()=&gt;{if(!(!y||vn.length===0)){ln(&quot;budget-xlsx&quot;);try{const le=Yk(vn),Se=Gn?.slug??y;await ua(le,`budget_${Se}_${new Date().toISOString().slice(0,10)}`,&quot;Lignes budget&quot;)}catch(le){Kn(le instanceof Error?le.message:&quot;Erreur export.&quot;)}finally{ln(null)}}},Ko=()=&gt;{if(!(!y||za.length===0)){ln(&quot;expenses-csv&quot;);try{const le=Zk(za),Se=Gn?.slug??y;pd(le,`depenses_${Se}_${new Date().toISOString().slice(0,10)}`)}catch(le){Gs(le instanceof Error?le.message:&quot;Erreur export.&quot;)}finally{ln(null)}}},Ka=async()=&gt;{if(!(!y||za.length===0)){ln(&quot;expenses-xlsx&quot;);try{const le=Zk(za),Se=Gn?.slug??y;await ua(le,`depenses_${Se}_${new Date().toISOString().slice(0,10)}`,&quot;Dépenses&quot;)}catch(le){Gs(le instanceof Error?le.message:&quot;Erreur export.&quot;)}finally{ln(null)}}},rc=()=&gt;{if(!y||typeof y!=&quot;number&quot;){is(&quot;Sélectionnez un événement.&quot;);return}if(Ua===&quot;&quot;||ns===&quot;&quot;){is(&quot;Choisissez les deux comptes.&quot;);return}if(Ua===ns){is(&quot;Le compte destination doit être différent du compte source.&quot;);return}const le=rs.find(Kt=&gt;Kt.id===Ua),Se=rs.find(Kt=&gt;Kt.id===ns);if(le&amp;&amp;Se&amp;&amp;le.currency!==Se.currency){is(&quot;Les deux comptes doivent avoir la même devise.&quot;);return}const We=Ef.trim();if(!We){is(&quot;Le libellé est obligatoire.&quot;);return}const tt=Number(Cf);if(isNaN(tt)||tt&lt;1){is(&quot;Montant invalide.&quot;);return}if(!Xl){is(&quot;La pièce justificative est obligatoire.&quot;);return}is(null),Mf(!0),Oh.create({event_id:y,movement_type:&quot;transfer&quot;,amount:tt,label:We,notes:Wl.trim()||null,proof:Xl,from_treasury_account_id:Ua,to_treasury_account_id:ns}).then(Kt=&gt;{Hl(Qt=&gt;[Kt,...Qt]),Fo(0),fu(&quot;&quot;),Kl(&quot;&quot;),hu(null),V0(Qt=&gt;Qt+1)}).catch(Kt=&gt;is(Kt?.data?.message??&quot;Erreur lors de l’enregistrement.&quot;)).finally(()=&gt;Mf(!1))},Mu=()=&gt;{if(!y||typeof y!=&quot;number&quot;){Cs(&quot;Sélectionnez un événement.&quot;);return}if(Xn===&quot;&quot;){Cs(&quot;Choisissez un compte.&quot;);return}const le=Gl.trim();if(!le){Cs(&quot;Le libellé est obligatoire.&quot;);return}const Se=Number(pu);if(isNaN(Se)||Se&lt;1){Cs(&quot;Montant invalide.&quot;);return}if(!zo){Cs(&quot;La pièce justificative est obligatoire.&quot;);return}Cs(null),Qs(!0),Oh.create({event_id:y,movement_type:&quot;adjustment&quot;,amount:Se,label:le,notes:Tf.trim()||null,proof:zo,treasury_account_id:Xn,adjustment_direction:mu}).then(We=&gt;{Hl(tt=&gt;[We,...tt]),gu(0),Pf(&quot;&quot;),Zs(&quot;&quot;),Va(null),If(tt=&gt;tt+1)}).catch(We=&gt;Cs(We?.data?.message??&quot;Erreur lors de l’enregistrement.&quot;)).finally(()=&gt;Qs(!1))},Xa=()=&gt;{if(!(!y||$a.length===0)){ln(&quot;movements-csv&quot;);try{const le=Qk($a),Se=Gn?.slug??y;pd(le,`mouvements_tresorerie_${Se}_${new Date().toISOString().slice(0,10)}`)}catch(le){Ys(le instanceof Error?le.message:&quot;Erreur export.&quot;)}finally{ln(null)}}},Ms=async()=&gt;{if(!(!y||$a.length===0)){ln(&quot;movements-xlsx&quot;);try{const le=Qk($a),Se=Gn?.slug??y;await ua(le,`mouvements_tresorerie_${Se}_${new Date().toISOString().slice(0,10)}`,&quot;Mouvements&quot;)}catch(le){Ys(le instanceof Error?le.message:&quot;Erreur export.&quot;)}finally{ln(null)}}},br=I.useMemo(()=&gt;{let le=0,Se=0,We=0,tt=0;vn.forEach(Qt=&gt;{const ta=Qt.amount_planned??0,Ou=Qt.amount_realized??0;Qt.category_type===&quot;revenue&quot;?(le+=ta,We+=Ou):Qt.category_type===&quot;expense&quot;&amp;&amp;(Se+=ta,tt+=Ou)});const Kt=le-Se;return{totalRevenuePlanned:le,totalExpensePlanned:Se,totalRevenueRealized:We,totalExpenseRealized:tt,balancePlanned:Kt,shortfall:Kt&lt;0?Math.abs(Kt):0,surplus:Kt&gt;0?Kt:0}},[vn]);if(t)return s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!d)return s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-ink-600&quot;,children:&quot;Vous n&#039;avez pas accès au module Finance.&quot;})});const lr=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;),as=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;),Hr=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;),wn=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;),ea=lr||wn?!1:e(&quot;registrations.read&quot;),Ga=as||Hr?!1:e(&quot;registrations.read&quot;),Ln=lr||Hr?!1:e(&quot;recommendations.read&quot;),nc=lr||as||Hr||wn?!1:e(&quot;settings.read&quot;)||e(&quot;settings.update&quot;);return s.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[s.jsx(Tp,{}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[s.jsx(Ip,{currentSection:&quot;finance&quot;,registrationView:&quot;summit&quot;,showSommet:ea,showSeminar:Ga,showRecommendations:Ln,showUsers:!1,showFinance:d,showSettings:nc}),s.jsx(&quot;main&quot;,{className:&quot;flex-1 lg:ml-48 pb-16 lg:pb-0&quot;,children:s.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:[s.jsx(rse,{title:&quot;Dashboard Finance&quot;,subtitle:&quot;Pilotage des encaissements — paiements et dons&quot;,showReadOnlyBanner:m}),s.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:[s.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:`rounded-lg px-4 py-2 text-sm font-semibold transition-colors ${Ce===&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;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:`rounded-lg px-4 py-2 text-sm font-semibold transition-colors ${Ce===&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;})]}),s.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:[s.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;}),s.jsxs(&quot;select&quot;,{id:&quot;finance-event-select&quot;,value:y,onChange:le=&gt;v(le.target.value===&quot;&quot;?&quot;&quot;:Number(le.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:o,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:o?&quot;Chargement...&quot;:Ce===&quot;reminders&quot;||Fe===&quot;budget&quot;||Fe===&quot;movements&quot;||Fe===&quot;treasury&quot;||Fe===&quot;reconciliation&quot;?&quot;- Choisir un événement -&quot;:&quot;Tous&quot;}),g.map(le=&gt;s.jsx(&quot;option&quot;,{value:le.id,children:le.name},le.id))]}),c&amp;&amp;s.jsx(&quot;span&quot;,{className:&quot;text-sm text-red-600&quot;,role:&quot;alert&quot;,children:c}),!o&amp;&amp;g.length===0&amp;&amp;!c&amp;&amp;s.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucun événement actif pour le moment.&quot;})]}),Ce===&quot;dashboard&quot;&amp;&amp;s.jsx(nse,{activeTab:Fe,onTabChange:Ye,showReconciliationTab:p}),Ce===&quot;dashboard&quot;&amp;&amp;Fe===&quot;budget&quot;&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;mt-6 space-y-6&quot;,role:&quot;tabpanel&quot;,children:s.jsx(Wie,{hasSelectedEvent:!!y,readOnly:m,alerts:{linesError:pf,saveMessage:C0},table:{lines:vn,loading:Wn,totals:br,moveLineLoading:E0,onMoveUp:Wa,onMoveDown:Oi,onOpenEdit:ss,onDelete:Wo},writable:m?void 0:{addLine:{categories:In,categoryId:Rl,label:Mo,amount:gf,submitting:Oo,error:Ll,onCategoryChange:Dl,onLabelChange:ru,onAmountChange:Fa,onSubmit:Vf,onOpenCategoryModal:Yn!=null?()=&gt;au(!0):void 0},exportBar:{exportFinanceLoading:Ro,linesCount:vn.length,onExportCsv:J0,onExportXlsx:Js,onSave:Q0}}})}),Ce===&quot;dashboard&quot;&amp;&amp;Fe===&quot;expenses&quot;&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;mt-6 space-y-6&quot;,role:&quot;tabpanel&quot;,children:s.jsx(Yie,{hasSelectedEvent:!!y,readOnly:m,alerts:{error:M0},exportRow:!m&amp;&amp;za.length&gt;0?{exportFinanceLoading:Ro,onExportCsv:Ko,onExportXlsx:Ka}:void 0,table:{rows:za,loading:A0,onDelete:xr,onOpenProof:Ff},form:{paidAt:bf,budgetLineId:Do,treasuryAccountId:ql,amount:yf,label:lu,proofFile:cu,proofInputKey:L0,submitting:B0,error:uu,budgetLines:O0,treasuryAccounts:T0,onPaidAtChange:I0,onBudgetLineChange:R0,onTreasuryAccountChange:D0,onAmountChange:vf,onLabelChange:wf,onProofChange:_f,onSubmit:W0}})}),Ce===&quot;dashboard&quot;&amp;&amp;Fe===&quot;movements&quot;&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;mt-6 space-y-6&quot;,role:&quot;tabpanel&quot;,children:s.jsx(Qie,{hasSelectedEvent:!!y,readOnly:m,alerts:{error:kf},exportRow:!m&amp;&amp;$a.length&gt;0?{exportFinanceLoading:Ro,onExportCsv:Xa,onExportXlsx:Ms}:void 0,table:{rows:$a,loading:Sf,onOpenProof:Bf},movementKind:$0,onMovementKindChange:U0,transferForm:{fromId:Ua,toId:ns,amount:Cf,label:Ef,notes:Wl,proof:Xl,proofInputKey:Af,submitting:q0,error:H0,treasuryAccounts:rs,onFromChange:Nf,onToChange:Lo,onAmountChange:Fo,onLabelChange:fu,onNotesChange:Kl,onProofChange:hu,onSubmit:rc},adjustmentForm:{accountId:Xn,direction:mu,amount:pu,label:Gl,notes:Tf,proof:zo,proofInputKey:xu,submitting:Yl,error:bu,treasuryAccounts:rs,onAccountChange:Bo,onDirectionChange:Of,onAmountChange:gu,onLabelChange:Pf,onNotesChange:Zs,onProofChange:Va,onSubmit:Mu}})}),Ce===&quot;dashboard&quot;&amp;&amp;Fe===&quot;treasury&quot;&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;mt-6 space-y-6&quot;,role:&quot;tabpanel&quot;,children:s.jsx(Jie,{hasSelectedEvent:!!y,loading:Df,error:Lf,data:Zl,readOnly:m,eventId:typeof y==&quot;number&quot;?y:null,eventSlug:Gn?.slug??y,onRequestReload:()=&gt;V(le=&gt;le+1)})}),Ce===&quot;dashboard&quot;&amp;&amp;Fe===&quot;reconciliation&quot;&amp;&amp;p&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;mt-6 space-y-6&quot;,children:s.jsx(ose,{eventId:y,canWrite:e(&quot;finance.reconciliation.write&quot;),canApprove:e(&quot;finance.reconciliation.approve&quot;),canReopen:e(&quot;finance.reconciliation.reopen&quot;)})}),Ce===&quot;dashboard&quot;&amp;&amp;Fe===&quot;validation&quot;&amp;&amp;s.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:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Encaissements &amp; validation&quot;}),s.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;})]}),$&amp;&amp;s.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:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-800 font-medium&quot;,children:$})}),M&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 shadow-sm py-14 px-6 text-center&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-ink-600 text-sm font-medium&quot;,children:&quot;Chargement du tableau de bord finance…&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-ink-400 text-xs mt-2&quot;,children:&quot;Merci de patienter quelques instants.&quot;})]}),!M&amp;&amp;_&amp;&amp;s.jsxs(s.Fragment,{children:[s.jsx(tse,{kpi:_.kpi}),s.jsx(ise,{pendingPayments:_.pending_payments,pendingDonations:_.pending_donations,donationsPaymentInProgress:_.donations_payment_in_progress??[],readOnly:m,actionLoading:!!H,onConfirmPayment:le=&gt;Ha(&quot;confirm&quot;,{type:&quot;payment&quot;,id:le.id,label:`${le.registration?.first_name} ${le.registration?.last_name}`,event_id:le.registration?.event?.id??null}),onRejectPayment:le=&gt;Ha(&quot;reject&quot;,{type:&quot;payment&quot;,id:le.id,label:`${le.registration?.first_name} ${le.registration?.last_name}`}),onConfirmDonation:le=&gt;Ha(&quot;confirm&quot;,{type:&quot;donation&quot;,id:le.id,label:le.donor_name||&quot;Don&quot;,event_id:le.event_id}),onRejectDonation:le=&gt;Ha(&quot;reject&quot;,{type:&quot;donation&quot;,id:le.id,label:le.donor_name||&quot;Don&quot;,event_id:le.event_id}),onOpenDonationsList:()=&gt;{ur(1),wt(!0)}}),(_.confirmed_payments?.length??0)&gt;0&amp;&amp;s.jsx(Xie,{payments:_.confirmed_payments??[],readOnly:m,exportLoading:vt,onExportXlsx:ju,receipt:{error:Ge,actionPending:!!et,isLoading:As,onDownloadReceipt:Z0,onIssueReceipt:Y0,onSendReceiptEmail:Eu}}),s.jsx(Gie,{loading:Ae,rows:Qe??[],registrationsForPayment:_.registrations_for_payment??[],readOnly:m,initPaymentModalOpen:!!ee,exportLoading:Ie,meta:Et,page:$t,perPage:Tt,onPageChange:ht,onPerPageChange:It,onInitPayment:ec,onView:Ho,onExportXlsx:tc,searchQuery:qt,onSearchChange:yt})]})]}),Ce===&quot;reminders&quot;&amp;&amp;s.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:[y===&quot;&quot;&amp;&amp;s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-brand-100 bg-brand-50/60 px-4 py-3&quot;,children:[s.jsxs(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-900&quot;,children:[jt?.total??0,&quot; dossier&quot;,(jt?.total??0)&gt;1?&quot;s&quot;:&quot;&quot;,&quot; à relancer&quot;]}),s.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-600 mt-0.5&quot;,children:[&quot;Filtre actif : &quot;,Wt===&quot;all&quot;?&quot;Tous statuts échéance&quot;:Wt===&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;,tr===&quot;all&quot;?&quot;Toutes situations globales&quot;:tr===&quot;late&quot;?&quot;Situation globale : En retard&quot;:tr===&quot;ahead&quot;?&quot;Situation globale : En avance&quot;:&quot;Situation globale : À jour&quot;]})]}),yi&amp;&amp;s.jsx(&quot;div&quot;,{className:`rounded-xl border px-4 py-3 text-sm ${yi.type===&quot;ok&quot;?&quot;border-green-200 bg-green-50 text-green-900&quot;:&quot;border-red-200 bg-red-50 text-red-800&quot;}`,children:yi.text}),s.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:[s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;month&quot;,value:it,onChange:le=&gt;{at(le.target.value),Mr(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Statut échéance&quot;}),s.jsxs(&quot;select&quot;,{value:Wt,onChange:le=&gt;{const Se=le.target.value;gr(Se),Mr(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[190px]&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;all&quot;,children:&quot;Tous&quot;}),s.jsx(&quot;option&quot;,{value:&quot;late&quot;,children:&quot;En retard&quot;}),s.jsx(&quot;option&quot;,{value:&quot;open&quot;,children:&quot;Ouvertes (hors retard)&quot;})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Portée temporelle&quot;}),s.jsxs(&quot;select&quot;,{value:Mt,onChange:le=&gt;{const Se=le.target.value;er(Se),Mr(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[220px]&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;exact&quot;,children:&quot;Mois ciblé&quot;}),s.jsx(&quot;option&quot;,{value:&quot;up_to&quot;,children:&quot;Cumul jusqu’au mois&quot;})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Situation globale&quot;}),s.jsxs(&quot;select&quot;,{value:tr,onChange:le=&gt;{const Se=le.target.value;Lr(Se),Mr(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[220px]&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;all&quot;,children:&quot;Toutes&quot;}),s.jsx(&quot;option&quot;,{value:&quot;late&quot;,children:&quot;En retard&quot;}),s.jsx(&quot;option&quot;,{value:&quot;on_track&quot;,children:&quot;À jour&quot;}),s.jsx(&quot;option&quot;,{value:&quot;ahead&quot;,children:&quot;En avance&quot;})]})]}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:ku,disabled:ai||_r.length===0||!y,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:ai?&quot;Export...&quot;:&quot;Exporter XLSX&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2 sm:ml-auto&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:on.size&gt;0?`${on.size} ligne${on.size&gt;1?&quot;s&quot;:&quot;&quot;} sélectionnée${on.size&gt;1?&quot;s&quot;:&quot;&quot;}`:&quot;Cochez des lignes ou utilisez le bouton sur chaque ligne.&quot;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;text-sm py-2&quot;,disabled:m||Hn||on.size===0||!y,onClick:()=&gt;{Cu(Array.from(on))},children:Hn?&quot;Envoi…&quot;:`Envoyer la relance (${on.size})`})]})]}),s.jsxs(&quot;section&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm min-w-[980px]&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.jsx(&quot;th&quot;,{className:&quot;px-3 py-3 w-10 text-center&quot;,children:s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,className:&quot;rounded border-gray-300 text-brand-700 focus:ring-brand-700&quot;,checked:_r.length&gt;0&amp;&amp;_r.every(le=&gt;on.has($o(le))),disabled:m||Qi||_r.length===0,onChange:G0,title:&quot;Tout sélectionner sur cette page&quot;,&quot;aria-label&quot;:&quot;Tout sélectionner sur cette page&quot;})}),s.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;}),s.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;}),s.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;}),s.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;}),s.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;}),s.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;}),s.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;}),s.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Actions&quot;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:Qi?s.jsx(&quot;tr&quot;,{children:s.jsx(&quot;td&quot;,{colSpan:9,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;})}):xi?s.jsx(&quot;tr&quot;,{children:s.jsx(&quot;td&quot;,{colSpan:9,className:&quot;px-4 py-8 text-center text-red-600&quot;,children:xi})}):_r.length===0?s.jsx(&quot;tr&quot;,{children:s.jsx(&quot;td&quot;,{colSpan:9,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucune échéance ouverte pour ce mois.&quot;})}):_r.map(le=&gt;{const Se=$o(le);return s.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/50&quot;,children:[s.jsx(&quot;td&quot;,{className:&quot;px-3 py-3 text-center align-middle&quot;,children:s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,className:&quot;rounded border-gray-300 text-brand-700 focus:ring-brand-700&quot;,checked:on.has(Se),disabled:m,onChange:()=&gt;Nu(Se),&quot;aria-label&quot;:`Sélectionner ${le.name}`})}),s.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:le.name}),s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:le.email})]}),s.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:[le.installment_label,&quot; — &quot;,le.installment_month]}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600&quot;,children:le.installment_due_window}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right tabular-nums&quot;,children:wr(le.installment_amount)}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right tabular-nums&quot;,children:wr(le.installment_paid_amount)}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right tabular-nums font-semibold text-ink-900&quot;,children:wr(le.installment_remaining_amount)}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:s.jsx(&quot;span&quot;,{className:`px-2 py-0.5 rounded-md text-xs font-medium ${le.installment_status===&quot;late&quot;?&quot;bg-red-100 text-red-800&quot;:&quot;bg-amber-100 text-amber-800&quot;}`,children:le.installment_status===&quot;late&quot;?&quot;En retard&quot;:&quot;Ouverte&quot;})}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-end gap-2&quot;,children:[s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;Ho(le.registration_id),className:&quot;text-xs text-brand-700 hover:underline font-medium&quot;,children:&quot;Voir&quot;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:m||Hn,onClick:()=&gt;{Cu([Se])},className:&quot;text-xs text-ink-800 hover:underline font-medium disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:&quot;Envoi Email de relance&quot;})]})})]},Se)})})]})}),jt&amp;&amp;jt.total&gt;0&amp;&amp;s.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:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:jt.last_page&gt;1&amp;&amp;jt.from!=null&amp;&amp;jt.to!=null?`Lignes ${jt.from} à ${jt.to} sur ${jt.total}`:`Total : ${jt.total} ligne${jt.total!==1?&quot;s&quot;:&quot;&quot;}`}),jt.last_page&gt;1&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;text-xs text-ink-500 flex items-center gap-1&quot;,children:[&quot;Par page&quot;,s.jsx(&quot;select&quot;,{value:bi,onChange:le=&gt;{ks(Number(le.target.value)),Mr(1)},className:&quot;text-sm border border-gray-300 rounded px-2 py-0.5&quot;,children:[10,20,50].map(le=&gt;s.jsx(&quot;option&quot;,{value:le,children:le},le))})]}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:Vt&lt;=1,onClick:()=&gt;Mr(le=&gt;Math.max(1,le-1)),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50&quot;,children:&quot;Précédent&quot;}),s.jsxs(&quot;span&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Page &quot;,Vt,&quot; / &quot;,jt.last_page]}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:Vt&gt;=jt.last_page,onClick:()=&gt;Mr(le=&gt;le+1),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50&quot;,children:&quot;Suivant&quot;})]})]})]})]})]})})]}),s.jsx(Kie,{open:Ul,onClose:()=&gt;au(!1),eventType:Yn,categories:In,onCategoriesChanged:()=&gt;{wu()},onCreatedSelect:le=&gt;Dl(le)}),St&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:s.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:[s.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}),s.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:s.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-5&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between gap-3 mb-4 flex-wrap&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Liste des dons&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 shrink-0&quot;,children:[s.jsx(Re,{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:$e||Ct||!ve||ve.total===0,onClick:()=&gt;{Su()},children:$e?&quot;Export…&quot;:&quot;Exporter XLSX&quot;}),s.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:s.jsx(pr,{size:24})})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 overflow-hidden&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm min-w-[860px]&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.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;}),s.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;}),s.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;}),s.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;}),s.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;}),s.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;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:Ct?s.jsx(&quot;tr&quot;,{children:s.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;})}):or?s.jsx(&quot;tr&quot;,{children:s.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-red-600&quot;,children:or})}):ot.length===0?s.jsx(&quot;tr&quot;,{children:s.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucun don trouvé.&quot;})}):ot.map(le=&gt;s.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/50&quot;,children:[s.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:[&quot;#&quot;,le.id]}),s.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:le.donor_name||&quot;Anonyme&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:le.donor_email||&quot;—&quot;})]}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right tabular-nums&quot;,children:En(le.amount,le.currency)}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:gd(le.method)||&quot;—&quot;}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:le.status}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600&quot;,children:le.created_at?new Date(le.created_at).toLocaleString():&quot;—&quot;})]},le.id))})]})}),ve&amp;&amp;ve.total&gt;0&amp;&amp;s.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:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:ve.from!=null&amp;&amp;ve.to!=null?`Lignes ${ve.from} à ${ve.to} sur ${ve.total}`:`Total : ${ve.total}`}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;text-xs text-ink-500 flex items-center gap-1&quot;,children:[&quot;Par page&quot;,s.jsx(&quot;select&quot;,{value:Ar,onChange:le=&gt;{he(Number(le.target.value)),ur(1)},className:&quot;text-sm border border-gray-300 rounded px-2 py-0.5&quot;,children:[10,20,50].map(le=&gt;s.jsx(&quot;option&quot;,{value:le,children:le},le))})]}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:nr&lt;=1,onClick:()=&gt;ur(le=&gt;Math.max(1,le-1)),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50&quot;,children:&quot;Précédent&quot;}),s.jsxs(&quot;span&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Page &quot;,nr,&quot; / &quot;,ve.last_page]}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:nr&gt;=ve.last_page,onClick:()=&gt;ur(le=&gt;le+1),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50&quot;,children:&quot;Suivant&quot;})]})]})]})]})})]})}),(Ht||dt||be)&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:s.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:[s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;{Ht||(Ft(null),Ne(null))},&quot;aria-hidden&quot;:!0}),s.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:s.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-5&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Détail débiteur&quot;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;{Ht||(Ft(null),Ne(null))},className:&quot;text-gray-400 hover:text-gray-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:s.jsx(pr,{size:24})})]}),Ht&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Chargement du détail…&quot;}),be&amp;&amp;!Ht&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;rounded-lg border border-red-200 bg-red-50 p-3 text-sm text-red-700&quot;,children:be}),dt&amp;&amp;!Ht&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 bg-gray-50 p-4&quot;,children:[s.jsxs(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[dt.registration.first_name,&quot; &quot;,dt.registration.last_name]}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600&quot;,children:dt.registration.email}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mt-1&quot;,children:dt.registration.event?.name??&quot;—&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 gap-3 sm:grid-cols-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 p-3&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Montant dû&quot;}),s.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:wr(dt.financial.amount_due)})]}),s.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 p-3&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Déjà payé&quot;}),s.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:wr(dt.financial.paid)})]}),s.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 p-3&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Reste à payer&quot;}),s.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:wr(dt.financial.balance)})]}),s.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 p-3&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Situation&quot;}),s.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:dt.financial.financial_situation_label})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200&quot;,children:[s.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;,dt.financial.installments_label,&quot;, &quot;,dt.financial.installments_open_count,&quot; restantes)&quot;]}),s.jsx(&quot;div&quot;,{className:&quot;max-h-72 overflow-y-auto&quot;,children:dt.financial.installments.map(le=&gt;s.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:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:[le.label,&quot; &quot;,le.month?`— ${le.month}`:&quot;&quot;]}),s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:wr(le.amount)})]}),s.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[s.jsx(&quot;p&quot;,{className:`text-xs font-semibold ${le.paid?&quot;text-green-700&quot;:&quot;text-amber-700&quot;}`,children:le.paid?&quot;Payée&quot;:&quot;Ouverte&quot;}),le.is_late&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-[11px] text-red-700&quot;,children:&quot;En retard&quot;}),le.is_ahead&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-[11px] text-blue-700&quot;,children:&quot;Payée en avance&quot;})]})]},le.index))})]})]})]})})]})}),Ns&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:s.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:[s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;!Or&amp;&amp;Ks(null),&quot;aria-hidden&quot;:!0}),s.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:s.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Modifier la ligne de budget&quot;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!Or&amp;&amp;Ks(null),className:&quot;text-gray-400 hover:text-gray-600 p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:s.jsx(pr,{size:24})})]}),s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-4&quot;,children:[&quot;Catégorie : &quot;,Ns.category_name]}),$l&amp;&amp;s.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:$l}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Libellé (optionnel)&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:nu,onChange:le=&gt;es(le.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:!!Or})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant prévu (XOF) *&quot;}),s.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:zl||&quot;&quot;,onChange:le=&gt;Po(parseInt(le.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:!!Or})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant réalisé (XOF)&quot;}),s.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:iu||&quot;&quot;,onChange:le=&gt;To(parseInt(le.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:!!Or}),s.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Ordre d&#039;affichage&quot;}),s.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:Io,onChange:le=&gt;su(parseInt(le.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:!!Or}),s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2 pt-2&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:()=&gt;Ks(null),disabled:!!Or,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Au,disabled:!!Or,children:Or?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})]})}),q&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:s.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:[s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;!H&amp;&amp;K(null),&quot;aria-hidden&quot;:!0}),s.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:s.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[q.action===&quot;confirm&quot;?q.target.type===&quot;payment&quot;?&quot;Confirmer le paiement&quot;:&quot;Confirmer le don&quot;:q.target.type===&quot;payment&quot;?&quot;Rejeter le paiement&quot;:&quot;Rejeter le don&quot;,&quot; — &quot;,s.jsx(&quot;span&quot;,{className:&quot;font-normal text-ink-600&quot;,children:q.target.label})]}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!H&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:s.jsx(pr,{size:24})})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[N&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:N})}),q.action===&quot;confirm&quot;&amp;&amp;(q.target.type===&quot;payment&quot;||q.target.type===&quot;donation&quot;)&amp;&amp;s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-2&quot;,children:q.target.type===&quot;payment&quot;?s.jsxs(s.Fragment,{children:[&quot;Compte de trésorerie impacté &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}):s.jsx(s.Fragment,{children:&quot;Compte de trésorerie (optionnel — ventilation dans les soldes)&quot;})}),s.jsxs(&quot;select&quot;,{value:D,onChange:le=&gt;B(le.target.value===&quot;&quot;?&quot;&quot;:Number(le.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:!!H,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir un compte -&quot;}),Y.filter(le=&gt;le.is_active).map(le=&gt;s.jsxs(&quot;option&quot;,{value:le.id,children:[le.name,&quot; &quot;,le.identifier?`(${le.identifier})`:&quot;&quot;,&quot; — &quot;,le.context_display]},le.id))]}),Y.length===0&amp;&amp;!H&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-600 mt-1&quot;,children:&quot;Chargement des comptes…&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;textarea&quot;,{value:P,onChange:le=&gt;L(le.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:!!H})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:E,onChange:le=&gt;j(le.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:!!H})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;.jpg,.jpeg,.png,.gif,.webp,.pdf&quot;,onChange:le=&gt;S(le.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:!!H}),s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:()=&gt;K(null),disabled:!!H,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:qo,disabled:!!H,children:H?&quot;En cours...&quot;:q.action===&quot;confirm&quot;?&quot;Valider&quot;:&quot;Rejeter&quot;})]})]})]})})]})}),ee&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:s.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:[s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;!ue&amp;&amp;z(null),&quot;aria-hidden&quot;:!0}),s.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:s.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Initier un paiement — &quot;,ee.first_name,&quot; &quot;,ee.last_name]}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!ue&amp;&amp;z(null),className:&quot;text-gray-400 hover:text-gray-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:s.jsx(pr,{size:24})})]}),s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-4&quot;,children:[&quot;Solde restant : &quot;,s.jsx(&quot;strong&quot;,{className:&quot;tabular-nums whitespace-nowrap&quot;,children:wr(ee.balance)})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[xe&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:xe})}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Compte de trésorerie &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;select&quot;,{value:ke===&quot;&quot;?&quot;&quot;:ke,onChange:le=&gt;Te(le.target.value===&quot;&quot;?&quot;&quot;:Number(le.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:!!ue,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir un compte -&quot;}),je.filter(le=&gt;le.is_active).map(le=&gt;s.jsxs(&quot;option&quot;,{value:le.id,children:[le.name,&quot; &quot;,le.identifier?`(${le.identifier})`:&quot;&quot;,&quot; — &quot;,le.context_display]},le.id))]}),je.length===0&amp;&amp;!ue&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-600 mt-1&quot;,children:&quot;Chargement des comptes…&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Montant &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),(ee.installment_due_items?.length??0)&gt;0&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;mb-2 rounded-lg border border-gray-200 bg-gray-50 p-3&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;mb-2 flex items-center justify-between gap-2&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-ink-700&quot;,children:&quot;Échéances encore dues&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[s.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;text-xs text-brand-700 hover:underline&quot;,onClick:K0,disabled:!!ue,children:&quot;Tout sélectionner&quot;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;text-xs text-ink-500 hover:underline&quot;,onClick:X0,disabled:!!ue,children:&quot;Effacer&quot;})]})]}),s.jsx(&quot;div&quot;,{className:&quot;max-h-28 overflow-y-auto space-y-1.5 pr-1&quot;,children:ee.installment_due_items.map(le=&gt;{const Se=Xe.includes(le.index);return s.jsxs(&quot;label&quot;,{className:&quot;flex items-center justify-between gap-2 text-xs&quot;,children:[s.jsxs(&quot;span&quot;,{className:&quot;inline-flex items-center gap-2 text-ink-700&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:Se,onChange:()=&gt;$f(le.index),disabled:!!ue}),le.label,le.month?` — ${le.month}`:&quot;&quot;]}),s.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-800&quot;,children:wr(le.amount_due_remaining)})]},le.index)})}),s.jsxs(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center justify-between gap-2&quot;,children:[s.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Total sélectionné : &quot;,s.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:wr(Es)})]}),s.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;X(String(Es)),disabled:!!ue||Es&lt;=0,children:&quot;Utiliser la sélection&quot;})]})]}),s.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:1,max:ee.balance,value:R,onChange:le=&gt;X(le.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:!!ue})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Méthode &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsxs(&quot;select&quot;,{value:re,onChange:le=&gt;Q(le.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:!!ue,children:[s.jsx(&quot;option&quot;,{value:&quot;orange_money&quot;,children:&quot;Orange Money&quot;}),s.jsx(&quot;option&quot;,{value:&quot;moov_money&quot;,children:&quot;Moov Money&quot;}),s.jsx(&quot;option&quot;,{value:&quot;ria&quot;,children:&quot;RIA&quot;}),s.jsx(&quot;option&quot;,{value:&quot;western_union&quot;,children:&quot;WESTERN UNION&quot;}),s.jsx(&quot;option&quot;,{value:&quot;moneygram&quot;,children:&quot;MONEYGRAM&quot;}),s.jsx(&quot;option&quot;,{value:&quot;cash&quot;,children:&quot;ESPÈCE&quot;}),s.jsx(&quot;option&quot;,{value:&quot;bank_transfer&quot;,children:&quot;VIREMENT BANCAIRE&quot;})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Date du paiement &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),s.jsx(&quot;input&quot;,{type:&quot;datetime-local&quot;,value:te,onChange:le=&gt;se(le.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:!!ue})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Référence transaction&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:de,onChange:le=&gt;ce(le.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:!!ue}),s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-400 mt-1&quot;,children:&quot;Référence et/ou preuve requises&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Preuve (image ou scan)&quot;}),s.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;.jpg,.jpeg,.png,.gif,.webp,.pdf&quot;,onChange:le=&gt;ge(le.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:!!ue}),s.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Notes (optionnel)&quot;}),s.jsx(&quot;textarea&quot;,{value:ie,onChange:le=&gt;fe(le.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:!!ue})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:()=&gt;z(null),disabled:!!ue,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Uf,disabled:!!ue||ke===&quot;&quot;,children:ue?&quot;Enregistrement...&quot;:&quot;Enregistrer et confirmer le paiement&quot;})]})]})]})})]})})]})}function iN({events:e,accountTypes:r,currencies:t,account:n=null,eventFilter:l=&quot;&quot;,onClose:i,onSuccess:o}){const u=!!n,[c,a]=I.useState(!1),[d,f]=I.useState(null),[h,m]=I.useState(&quot;&quot;),[p,x]=I.useState(&quot;&quot;),[g,y]=I.useState(&quot;&quot;),[v,_]=I.useState(&quot;XOF&quot;),[C,M]=I.useState(&quot;&quot;),[T,$]=I.useState(&quot;standard&quot;),[F,H]=I.useState(!0);I.useEffect(()=&gt;{n?(m(n.name),x(n.type),y(n.identifier),_(n.currency),M(n.event_id??&quot;&quot;),$(n.usage??&quot;standard&quot;),H(n.is_active)):(m(&quot;&quot;),x(r[0]??&quot;&quot;),y(&quot;&quot;),_(&quot;XOF&quot;),M(&quot;&quot;),$(&quot;standard&quot;),H(!0))},[n,r]);const W=async q=&gt;{q.preventDefault(),q.stopPropagation(),f(null),a(!0);try{if(u)await Ds.update(n.id,{name:h,type:p,identifier:g,currency:v,event_id:C===&quot;&quot;?null:C,usage:T,is_active:F}),o();else{const K=await Ds.create({name:h,type:p,identifier:g,currency:v,event_id:C===&quot;&quot;?null:C,usage:T,is_active:F}),P=K?.data??K;if(!P||typeof P!=&quot;object&quot;||!(&quot;id&quot;in P)){f(&quot;Le serveur n&#039;a pas retourné le compte créé. Vérifiez l’onglet Réseau (POST sur treasury-accounts).&quot;),a(!1);return}try{const L=await Ds.list({event_id:l});if(!(Array.isArray(L)?L:L?.data??[]).some(k=&gt;k.id===P.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;),a(!1);return}}catch{f(&quot;Impossible de vérifier la liste après création.&quot;),a(!1);return}o(P)}}catch(K){const P=K,L=P?.data?.message??P?.message??(typeof K==&quot;object&quot;&amp;&amp;K!==null&amp;&amp;&quot;message&quot;in K?String(K.message):null)??(u?&quot;Erreur lors de la mise à jour.&quot;:&quot;Erreur lors de la création.&quot;),E=P?.data?.errors&amp;&amp;typeof P.data.errors==&quot;object&quot;?Object.values(P.data.errors).flat().filter(Boolean).join(&quot;, &quot;):&quot;&quot;,j=E?`${L} — ${E}`:L;f(j)}finally{a(!1)}};return s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[s.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;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:i,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:s.jsx(pr,{size:20})})]}),s.jsxs(&quot;form&quot;,{onSubmit:q=&gt;(q.preventDefault(),q.stopPropagation(),W(q),!1),className:&quot;p-4 space-y-4&quot;,children:[d&amp;&amp;s.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}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:h,onChange:q=&gt;m(q.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Type&quot;}),s.jsx(&quot;select&quot;,{value:p,onChange:q=&gt;x(q.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:r.map(q=&gt;s.jsx(&quot;option&quot;,{value:q,children:q},q))})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Identifiant&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:g,onChange:q=&gt;y(q.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;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Devise&quot;}),s.jsx(&quot;select&quot;,{value:v,onChange:q=&gt;_(q.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:t.map(q=&gt;s.jsx(&quot;option&quot;,{value:q,children:q},q))})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Usage&quot;}),s.jsxs(&quot;select&quot;,{value:T,onChange:q=&gt;$(q.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;standard&quot;,children:&quot;Standard&quot;}),s.jsx(&quot;option&quot;,{value:&quot;sycapay_transit&quot;,children:&quot;Transit SycaPay&quot;})]}),T===&quot;sycapay_transit&quot;&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-amber-700&quot;,children:&quot;Ce compte est réservé au transit SycaPay : pas de dépense directe ni d’ajustement manuel.&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Contexte&quot;}),s.jsxs(&quot;select&quot;,{value:C,onChange:q=&gt;M(q.target.value===&quot;&quot;?&quot;&quot;:Number(q.target.value)),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Global&quot;}),e.map(q=&gt;s.jsx(&quot;option&quot;,{value:q.id,children:q.name},q.id))]})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,id:&quot;is_active&quot;,checked:F,onChange:q=&gt;H(q.target.checked),className:&quot;rounded border-gray-300&quot;}),s.jsx(&quot;label&quot;,{htmlFor:&quot;is_active&quot;,className:&quot;text-sm font-medium text-ink-700&quot;,children:&quot;Compte actif&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 pt-2&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:i,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,disabled:c,className:&quot;flex-1&quot;,onClick:q=&gt;{q.preventDefault(),q.stopPropagation(),W(q)},children:c?&quot;Enregistrement...&quot;:u?&quot;Enregistrer&quot;:&quot;Créer&quot;})]})]})]})})}function use({account:e,onClose:r,onDeleted:t}){const[n,l]=I.useState(!1),[i,o]=I.useState(null),u=async()=&gt;{o(null),l(!0);try{await Ds.delete(e.id),t()}catch(c){o(c.data?.message??&quot;Erreur lors de la suppression.&quot;)}finally{l(!1)}};return s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Supprimer le compte&quot;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:s.jsx(pr,{size:20})})]}),s.jsxs(&quot;div&quot;,{className:&quot;p-4&quot;,children:[i&amp;&amp;s.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}),s.jsxs(&quot;p&quot;,{className:&quot;text-ink-700 mb-4&quot;,children:[&quot;Êtes-vous sûr de vouloir supprimer le compte &quot;,s.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.identifier,&quot;) ? Cette action est irréversible.&quot;]}),s.jsxs(&quot;div&quot;,{className:&quot;flex gap-2&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),s.jsx(Re,{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 dse=[{value:&quot;revenue&quot;,label:&quot;Recettes&quot;},{value:&quot;expense&quot;,label:&quot;Dépenses&quot;}],fse=[{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 sN({category:e=null,onClose:r,onSuccess:t}){const n=!!e,[l,i]=I.useState(!1),[o,u]=I.useState(null),[c,a]=I.useState(&quot;&quot;),[d,f]=I.useState(&quot;&quot;),[h,m]=I.useState(&quot;expense&quot;),[p,x]=I.useState(&quot;&quot;),[g,y]=I.useState(0);I.useEffect(()=&gt;{e?(a(e.name),f(e.code??&quot;&quot;),m(e.type??&quot;expense&quot;),x(e.event_type??&quot;&quot;),y(e.sort_order??0)):(a(&quot;&quot;),f(&quot;&quot;),m(&quot;expense&quot;),x(&quot;&quot;),y(0))},[e]);const v=async _=&gt;{_.preventDefault(),_.stopPropagation(),u(null),i(!0);try{const C={name:c.trim(),code:d.trim()||null,type:h,event_type:p===&quot;&quot;?null:p,sort_order:g};if(n)await xo.update(e.id,C),t();else{const M=await xo.create(C);t(M)}}catch(C){const M=C instanceof Bt?C.data?.message:&quot;Erreur lors de l&#039;enregistrement.&quot;;u(M??&quot;Erreur&quot;)}finally{i(!1)}};return s.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:s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[s.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;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 text-ink-500 hover:text-ink-700 rounded&quot;,children:s.jsx(pr,{size:20})})]}),s.jsxs(&quot;form&quot;,{onSubmit:v,className:&quot;p-4 space-y-4&quot;,children:[o&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:o}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{id:&quot;bc-name&quot;,type:&quot;text&quot;,value:c,onChange:_=&gt;a(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,required:!0})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.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})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.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:dse.map(_=&gt;s.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value))})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;select&quot;,{id:&quot;bc-event-type&quot;,value:p,onChange:_=&gt;x(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,children:fse.map(_=&gt;s.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value||&quot;all&quot;))})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2 pt-2&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:r,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:l,children:l?&quot;Enregistrement...&quot;:n?&quot;Enregistrer&quot;:&quot;Créer&quot;})]})]})]})})}function hse({category:e,onClose:r,onDeleted:t}){const[n,l]=I.useState(!1),[i,o]=I.useState(null),u=async()=&gt;{o(null),l(!0);try{await xo.delete(e.id),t()}catch(c){const a=c instanceof Bt?c.data?.message:&quot;Erreur lors de la suppression.&quot;;o(a??&quot;Erreur&quot;)}finally{l(!1)}};return s.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:s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-lg max-w-md w-full p-4&quot;,onClick:c=&gt;c.stopPropagation(),children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Supprimer la catégorie&quot;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 text-ink-500 hover:text-ink-700 rounded&quot;,children:s.jsx(pr,{size:20})})]}),s.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;s.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}),s.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:r,children:&quot;Annuler&quot;}),s.jsx(Re,{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 mse({user:e,openMenuId:r,setOpenMenuId:t,canUpdate:n,canDelete:l,isCurrentUser:i,sendingActivation:o,reactivatingId:u,onEdit:c,onResetPassword:a,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:a},{id:&quot;send-activation&quot;,label:o===e.id?&quot;Envoi…&quot;:&quot;Envoyer le lien d’activation&quot;,onSelect:d,disabled:o===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}),l&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}),s.jsx(xa,{rowId:e.id,openMenuId:r,setOpenMenuId:t,onEdit:n&amp;&amp;e.is_active!==!1?c:void 0,editLabel:&quot;Modifier&quot;,menuItems:m})}function pse({onClose:e,onSuccess:r}){const[t,n]=I.useState(!1),[l,i]=I.useState(null),[o,u]=I.useState({}),[c,a]=I.useState(&quot;&quot;),[d,f]=I.useState(&quot;&quot;),[h,m]=I.useState(Xy[0]),[p,x]=I.useState(&quot;&quot;),[g,y]=I.useState(&quot;&quot;),v=async _=&gt;{_.preventDefault(),i(null),u({}),n(!0);try{await wo.create({name:c,email:d,role:h,...p?{password:p,password_confirmation:g}:{}}),r()}catch(C){const M=C;if(i(M.data?.message??&quot;Erreur lors de la création.&quot;),M.data?.errors){const T={};for(const[$,F]of Object.entries(M.data.errors))T[$]=Array.isArray(F)?F[0]:String(F);u(T)}}finally{n(!1)}};return s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Créer un utilisateur&quot;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:e,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:s.jsx(pr,{size:20})})]}),s.jsxs(&quot;form&quot;,{onSubmit:v,className:&quot;p-4 space-y-4&quot;,children:[l&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:l}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c,onChange:_=&gt;a(_.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),o.name&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:o.name})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),s.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;}),o.email&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:o.email})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Rôle&quot;}),s.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:Xy.map(_=&gt;s.jsx(&quot;option&quot;,{value:_,children:Em(_)},_))})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:p,onChange:_=&gt;x(_.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;s.jsxs(s.Fragment,{children:[s.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;}),s.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;}),o.password&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:o.password})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end pt-4&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:e,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:t,children:t?&quot;Création...&quot;:&quot;Créer&quot;})]})]})]})})}function gse({user:e,onClose:r,onSuccess:t,onSendActivation:n,sendingActivation:l}){const[i,o]=I.useState(!1),[u,c]=I.useState(null),[a,d]=I.useState({}),[f,h]=I.useState(e.name),[m,p]=I.useState(e.email),x=e.role??e.roles?.[0]??&quot;&quot;,[g,y]=I.useState(V4(x)||om[0]);I.useEffect(()=&gt;{h(e.name),p(e.email);const M=e.role??e.roles?.[0]??&quot;&quot;;y(V4(M)||om[0])},[e]);const v=async M=&gt;{M.preventDefault(),c(null),d({}),o(!0);try{await wo.update(e.id,{name:f,email:m,role:g}),t()}catch(T){const $=T;if(c($.data?.message??&quot;Erreur lors de la mise à jour.&quot;),$.data?.errors){const F={};for(const[H,W]of Object.entries($.data.errors))F[H]=Array.isArray(W)?W[0]:String(W);d(F)}}finally{o(!1)}},_=!e.is_only_super_admin,C=[...om];return s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Modifier l&#039;utilisateur&quot;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:s.jsx(pr,{size:20})})]}),s.jsxs(&quot;form&quot;,{onSubmit:v,className:&quot;p-4 space-y-4&quot;,children:[u&amp;&amp;s.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}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:f,onChange:M=&gt;h(M.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.name})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),s.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:m,onChange:M=&gt;p(M.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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.email})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Rôle&quot;}),s.jsx(&quot;select&quot;,{value:g,onChange:M=&gt;y(M.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(M=&gt;s.jsx(&quot;option&quot;,{value:M,children:Em(M)},M))}),e.is_only_super_admin&amp;&amp;s.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;}),a.role&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.role})]}),s.jsxs(&quot;div&quot;,{className:&quot;border-t border-gray-200 pt-4&quot;,children:[s.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;}),s.jsxs(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:n,disabled:l,className:&quot;flex items-center gap-2&quot;,children:[s.jsx(mo,{size:16}),l?&quot;Envoi...&quot;:&quot;Envoyer lien d&#039;activation&quot;]})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end pt-4&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:i,children:i?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})}function xse({user:e,onClose:r,onSuccess:t,isCurrentUser:n}){const[l,i]=I.useState(!1),[o,u]=I.useState(!1),[c,a]=I.useState(null),d=e.has_financial_activity===!0,f=async()=&gt;{if(!n){a(null),i(!0);try{await wo.delete(e.id),t()}catch(m){const p=m;a(p.data?.message??p.data?.errors?.user?.[0]??&quot;Erreur lors de la suppression.&quot;)}finally{i(!1)}}},h=async()=&gt;{if(!n){a(null),u(!0);try{await wo.setDeactivated(e.id,!0),t()}catch(m){const p=m;a(p.data?.message??p.data?.errors?.user?.[0]??&quot;Erreur lors de la désactivation.&quot;)}finally{u(!1)}}};return s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full p-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.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;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:s.jsx(pr,{size:20})})]}),n?s.jsx(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:&quot;Vous ne pouvez pas supprimer votre propre compte.&quot;}):d?s.jsxs(s.Fragment,{children:[s.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;,s.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;]}),s.jsxs(&quot;p&quot;,{className:&quot;text-ink-500 text-sm mb-4&quot;,children:[&quot;Utilisateur : &quot;,s.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;)&quot;]}),c&amp;&amp;s.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:c}),s.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:h,disabled:o,className:&quot;bg-amber-600 hover:bg-amber-700&quot;,children:o?&quot;Désactivation...&quot;:&quot;Désactiver le compte&quot;})]})]}):s.jsxs(s.Fragment,{children:[s.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;,s.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;) ? Cette action est irréversible.&quot;]}),c&amp;&amp;s.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:c}),s.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:f,disabled:l,className:&quot;bg-red-600 hover:bg-red-700&quot;,children:l?&quot;Suppression...&quot;:&quot;Supprimer&quot;})]})]})]})})}function bse({user:e,onClose:r,onSuccess:t}){const[n,l]=I.useState(&quot;&quot;),[i,o]=I.useState(&quot;&quot;),[u,c]=I.useState(!1),[a,d]=I.useState(null),[f,h]=I.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}c(!0);try{await wo.resetPassword(e.id,{password:n,password_confirmation:i}),t()}catch(x){const g=x;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{c(!1)}};return s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full p-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Réinitialiser le mot de passe&quot;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:s.jsx(pr,{size:20})})]}),s.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;,s.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;). L&#039;utilisateur devra le changer à sa première connexion.&quot;]}),s.jsxs(&quot;form&quot;,{onSubmit:m,children:[a&amp;&amp;s.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:a}),s.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[s.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;}),s.jsx(&quot;input&quot;,{id:&quot;reset-password&quot;,type:&quot;password&quot;,value:n,onChange:p=&gt;l(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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:f.password})]}),s.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[s.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;}),s.jsx(&quot;input&quot;,{id:&quot;reset-password-confirm&quot;,type:&quot;password&quot;,value:i,onChange:p=&gt;o(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;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:f.password_confirmation})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:u,children:u?&quot;En cours...&quot;:&quot;Réinitialiser&quot;})]})]})]})})}function yse(){const{can:e,user:r}=qs(),[t,n]=I.useState(1),[l]=I.useState(20),[i,o]=I.useState(&quot;&quot;),[u,c]=I.useState(&quot;&quot;),[a,d]=I.useState(!1),[f,h]=I.useState(null),[m,p]=I.useState(null),[x,g]=I.useState(null),[y,v]=I.useState(null),[_,C]=I.useState(null),[M,T]=I.useState(null),[$,F]=I.useState(null),H=async j=&gt;{T(j.id);try{await wo.setDeactivated(j.id,!1),P()}finally{T(null)}},{data:W,loading:q,error:K,refetch:P}=ZF({page:t,per_page:l,role:i||void 0,q:u||void 0},!0),L=async j=&gt;{v(j.id),C(null);try{await wo.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 s.jsxs(s.Fragment,{children:[s.jsxs(&quot;div&quot;,{className:&quot;mb-8 flex flex-wrap items-center justify-between gap-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 mb-1 flex items-center gap-2&quot;,children:[s.jsx(Nm,{size:22,className:&quot;text-brand-700&quot;}),&quot;Gestion des utilisateurs&quot;]}),s.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;s.jsxs(Re,{variant:&quot;primary&quot;,onClick:()=&gt;d(!0),className:&quot;flex items-center gap-2&quot;,children:[s.jsx(am,{size:18}),&quot;Créer un utilisateur&quot;]})]}),_&amp;&amp;s.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.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap gap-4&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;search&quot;,placeholder:&quot;Rechercher (nom, email)...&quot;,value:u,onChange:j=&gt;c(j.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm w-64&quot;}),s.jsxs(&quot;select&quot;,{value:i,onChange:j=&gt;o(j.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les rôles&quot;}),DF.map(j=&gt;s.jsx(&quot;option&quot;,{value:j,children:Em(j)},j))]})]}),K&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-red-700&quot;,children:K.data?.message??&quot;Erreur lors du chargement.&quot;})}),q&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;py-12 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;}),!q&amp;&amp;W&amp;&amp;s.jsxs(s.Fragment,{children:[s.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden shadow-soft&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.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;}),s.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;}),s.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;}),s.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;}),s.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;}),s.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;}),s.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;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:W.data.length===0?s.jsx(&quot;tr&quot;,{children:s.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;s.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[s.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}),s.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}),s.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-700 whitespace-nowrap truncate&quot;,children:Em(j.role??j.roles?.[0]??&quot;&quot;)||&quot;—&quot;}),s.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm whitespace-nowrap&quot;,children:j.email_verified_at?s.jsx(&quot;span&quot;,{className:&quot;text-green-600&quot;,children:&quot;Oui&quot;}):s.jsx(&quot;span&quot;,{className:&quot;text-amber-600&quot;,children:&quot;Non&quot;})}),s.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;}),s.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm whitespace-nowrap&quot;,children:j.is_active===!1?s.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}),s.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 whitespace-nowrap text-right&quot;,children:s.jsx(mse,{user:j,openMenuId:$,setOpenMenuId:F,canUpdate:!!e(&quot;users.update&quot;),canDelete:!!e(&quot;users.delete&quot;),isCurrentUser:!!E(j),sendingActivation:y,reactivatingId:M,onEdit:()=&gt;h(j),onResetPassword:()=&gt;g(j),onSendActivation:()=&gt;L(j),onReactivate:()=&gt;H(j),onDelete:()=&gt;p(j)})})]},j.id))})]})})}),W.meta.last_page&gt;1&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;mt-6 flex items-center justify-between&quot;,children:[s.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;]}),s.jsxs(&quot;div&quot;,{className:&quot;flex gap-2&quot;,children:[s.jsx(Re,{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;}),s.jsx(Re,{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;})]})]})]}),a&amp;&amp;e(&quot;users.create&quot;)&amp;&amp;s.jsx(pse,{onClose:()=&gt;d(!1),onSuccess:()=&gt;{d(!1),P()}}),f&amp;&amp;e(&quot;users.update&quot;)&amp;&amp;s.jsx(gse,{user:f,onClose:()=&gt;h(null),onSuccess:()=&gt;{h(null),P()},onSendActivation:()=&gt;L(f),sendingActivation:y===f.id}),m&amp;&amp;e(&quot;users.delete&quot;)&amp;&amp;s.jsx(xse,{user:m,onClose:()=&gt;p(null),onSuccess:()=&gt;{p(null),P()},isCurrentUser:!!(m&amp;&amp;E(m))}),x&amp;&amp;e(&quot;users.update&quot;)&amp;&amp;s.jsx(bse,{user:x,onClose:()=&gt;g(null),onSuccess:()=&gt;{g(null),P()}})]})}function vse(){const[e,r]=I.useState(1),t=25,[n,l]=I.useState(&quot;&quot;),[i,o]=I.useState(&quot;&quot;),[u,c]=I.useState(&quot;&quot;),[a,d]=I.useState(&quot;&quot;),[f,h]=I.useState(!1),[m,p]=I.useState(null),[x,g]=I.useState(&quot;&quot;),[y,v]=I.useState(!1),[_,C]=I.useState(null),[M,T]=I.useState(null),[$,F]=I.useState(!1),[H,W]=I.useState(&quot;&quot;),q=&quot;PURGER&quot;,K=I.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()},...a.trim()&amp;&amp;{subject_type:a.trim()}}),[e,n,i,u,a]),{data:P,loading:L,error:E,refetch:j}=QF(K,!0),k=P?.data??[],S=P?.meta,N=S?.last_page??1,O=V=&gt;{try{return new Date(V).toLocaleString(&quot;fr-FR&quot;,{dateStyle:&quot;short&quot;,timeStyle:&quot;medium&quot;})}catch{return V}},D=V=&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;registration.installment_reminder_email_sent&quot;:&quot;Email de relance échéance envoyé&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;})[V]??V,B=async()=&gt;{p(null),h(!0);try{await Yy.exportCsv({date_from:n||void 0,date_to:i||void 0,action:u.trim()||void 0,subject_type:a.trim()||void 0})}catch(V){const ee=V&amp;&amp;typeof V==&quot;object&quot;&amp;&amp;&quot;data&quot;in V&amp;&amp;V.data?.message;p(typeof ee==&quot;string&quot;?ee:&quot;Erreur lors de l&#039;export CSV.&quot;)}finally{h(!1)}},Y=()=&gt;{x&amp;&amp;(W(&quot;&quot;),T(null),C(null),F(!0))},Z=()=&gt;{F(!1),W(&quot;&quot;)},ne=async()=&gt;{if(!(H!==q||!x)){T(null),C(null),v(!0);try{const V=await Yy.purge(x);C(V.message),Z(),j()}catch(V){const ee=V&amp;&amp;typeof V==&quot;object&quot;&amp;&amp;&quot;data&quot;in V&amp;&amp;V.data?.message;T(typeof ee==&quot;string&quot;?ee:&quot;Erreur lors de la purge.&quot;)}finally{v(!1)}}};return s.jsxs(s.Fragment,{children:[s.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[s.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 mb-1 flex items-center gap-2&quot;,children:[s.jsx(km,{size:22,className:&quot;text-brand-700&quot;}),&quot;Journal d&#039;audit&quot;]}),s.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;s.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}),s.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex flex-wrap items-center gap-4&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Du :&quot;,s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:n,onChange:V=&gt;{l(V.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Au :&quot;,s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i,onChange:V=&gt;{o(V.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Action :&quot;,s.jsx(&quot;input&quot;,{type:&quot;text&quot;,placeholder:&quot;ex. user.created&quot;,value:u,onChange:V=&gt;{c(V.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[160px]&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Type ressource :&quot;,s.jsx(&quot;input&quot;,{type:&quot;text&quot;,placeholder:&quot;ex. App\\Models\\User&quot;,value:a,onChange:V=&gt;{d(V.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[180px]&quot;})]})]}),s.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex flex-wrap items-center gap-4&quot;,children:[s.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:[s.jsx(FL,{size:18,&quot;aria-hidden&quot;:!0}),f?&quot;Export en cours…&quot;:&quot;Exporter en CSV&quot;]}),s.jsxs(&quot;div&quot;,{className:&quot;inline-flex items-center gap-2&quot;,children:[s.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;}),s.jsx(&quot;input&quot;,{id:&quot;audit-purge-before&quot;,type:&quot;date&quot;,value:x,onChange:V=&gt;g(V.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:Y,disabled:y||!x,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:[s.jsx(bF,{size:18,&quot;aria-hidden&quot;:!0}),&quot;Purger&quot;]})]})]}),_&amp;&amp;s.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:_}),M&amp;&amp;s.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}),E&amp;&amp;s.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}),$&amp;&amp;s.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:s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-lg max-w-md w-full p-6&quot;,onClick:V=&gt;V.stopPropagation(),children:[s.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;}),s.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 text-sm mb-4&quot;,children:[&quot;Vous allez supprimer &quot;,s.jsx(&quot;strong&quot;,{children:&quot;définitivement&quot;}),&quot; toutes les entrées du journal d&#039;audit dont la date est &quot;,s.jsxs(&quot;strong&quot;,{children:[&quot;avant le &quot;,x]}),&quot;. Cette action est irréversible.&quot;]}),s.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 text-sm mb-2&quot;,children:[&quot;Pour confirmer, saisissez &quot;,s.jsx(&quot;strong&quot;,{children:q}),&quot; ci-dessous :&quot;]}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:H,onChange:V=&gt;W(V.target.value),placeholder:q,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;}),s.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2&quot;,children:[s.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;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:ne,disabled:y||H!==q,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;})]})]})}),s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:[L?s.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement du journal...&quot;}):s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full text-left text-sm&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.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;}),s.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;}),s.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;}),s.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;}),s.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;}),s.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;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:k.length===0?s.jsx(&quot;tr&quot;,{children:s.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(V=&gt;s.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700 whitespace-nowrap&quot;,children:O(V.created_at)}),s.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-900&quot;,children:V.user_name??&quot;—&quot;}),V.user_email&amp;&amp;s.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500&quot;,children:V.user_email})]}),s.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-800&quot;,children:D(V.action)}),s.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500&quot;,children:V.action})]}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:V.subject_type?`${V.subject_type.replace(/^App\\Models\\/,&quot;&quot;)}${V.subject_id!=null?` #${V.subject_id}`:&quot;&quot;}`:&quot;—&quot;}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600 max-w-xs truncate&quot;,title:V.description??void 0,children:V.description??&quot;—&quot;}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-500 text-xs&quot;,children:V.ip??&quot;—&quot;})]},V.id))})]})}),S&amp;&amp;S.total&gt;0&amp;&amp;s.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:[s.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;]}),s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;r(V=&gt;Math.max(1,V-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;}),s.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-600&quot;,children:[&quot;Page &quot;,S.current_page,&quot; / &quot;,N]}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;r(V=&gt;Math.min(N,V+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;})]})]})]})]})}function wse({events:e,row:r=null,onClose:t,onSuccess:n}){const l=!!r,[i,o]=I.useState(!1),[u,c]=I.useState(null),[a,d]=I.useState(&quot;&quot;),[f,h]=I.useState(&quot;XOF&quot;),[m,p]=I.useState(&quot;&quot;),[x,g]=I.useState([]),[y,v]=I.useState(!1),_=a===&quot;&quot;?null:Number(a);I.useEffect(()=&gt;{r?(d(r.event_id),h(r.currency),p(r.treasury_account_id)):(d(e[0]?.id??&quot;&quot;),h(&quot;XOF&quot;),p(&quot;&quot;))},[r,e]),I.useEffect(()=&gt;{if(_==null){g([]);return}v(!0),Ds.list({event_id:_}).then(T=&gt;{const $=Array.isArray(T?.data)?T.data:Array.isArray(T)?T:[];g(Array.isArray($)?$:[])}).catch(()=&gt;g([])).finally(()=&gt;v(!1))},[_]);const C=I.useMemo(()=&gt;x.filter(T=&gt;T.is_active&amp;&amp;T.currency===f&amp;&amp;T.usage===&quot;sycapay_transit&quot;),[x,f]),M=async T=&gt;{if(T.preventDefault(),c(null),_==null||m===&quot;&quot;){c(&quot;Sélectionnez un événement et un compte de trésorerie.&quot;);return}o(!0);try{l&amp;&amp;r?await Am.update(r.id,{event_id:_,currency:f,treasury_account_id:Number(m)}):await Am.create({event_id:_,currency:f,treasury_account_id:Number(m)}),n(),t()}catch($){const F=$ instanceof Bt?$.data.message:$ instanceof Error?$.message:&quot;Erreur lors de l’enregistrement.&quot;;c(F)}finally{o(!1)}};return s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/40&quot;,role:&quot;dialog&quot;,&quot;aria-modal&quot;:&quot;true&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-lg max-w-lg w-full max-h-[90vh] overflow-y-auto&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between px-5 py-4 border-b border-gray-200&quot;,children:[s.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:l?&quot;Modifier le mapping transit SycaPay&quot;:&quot;Nouveau mapping transit SycaPay&quot;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:t,className:&quot;p-1 rounded-lg text-ink-500 hover:bg-gray-100&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:s.jsx(pr,{size:22})})]}),s.jsxs(&quot;form&quot;,{onSubmit:M,className:&quot;p-5 space-y-4&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600&quot;,children:&quot;Associe chaque événement et devise au compte de trésorerie où les encaissements SycaPay confirmés sont ventilés (transit), avant transfert manuel vers les comptes finaux.&quot;}),u&amp;&amp;s.jsx(&quot;div&quot;,{className:&quot;p-3 rounded-lg bg-red-50 border border-red-200 text-red-800 text-sm&quot;,role:&quot;alert&quot;,children:u}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;transit-event&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Événement&quot;}),s.jsxs(&quot;select&quot;,{id:&quot;transit-event&quot;,value:a===&quot;&quot;?&quot;&quot;:String(a),onChange:T=&gt;{const $=T.target.value;d($===&quot;&quot;?&quot;&quot;:Number($)),p(&quot;&quot;)},className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,required:!0,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Choisir —&quot;}),e.map(T=&gt;s.jsx(&quot;option&quot;,{value:T.id,children:T.name},T.id))]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;transit-currency&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Devise&quot;}),s.jsxs(&quot;select&quot;,{id:&quot;transit-currency&quot;,value:f,onChange:T=&gt;{h(T.target.value),p(&quot;&quot;)},className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;XOF&quot;,children:&quot;XOF&quot;}),s.jsx(&quot;option&quot;,{value:&quot;EUR&quot;,children:&quot;EUR&quot;})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;transit-account&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Compte de trésorerie (transit)&quot;}),y?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Chargement des comptes…&quot;}):s.jsxs(&quot;select&quot;,{id:&quot;transit-account&quot;,value:m===&quot;&quot;?&quot;&quot;:String(m),onChange:T=&gt;{const $=T.target.value;p($===&quot;&quot;?&quot;&quot;:Number($))},className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,required:!0,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Choisir —&quot;}),C.map(T=&gt;s.jsxs(&quot;option&quot;,{value:T.id,children:[T.name,&quot; (&quot;,T.currency,&quot;)&quot;]},T.id))]}),_!=null&amp;&amp;!y&amp;&amp;C.length===0&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-amber-700&quot;,children:&quot;Aucun compte actif pour cette devise. Créez d’abord un compte de trésorerie (onglet Comptes de trésorerie) en usage « Transit SycaPay », utilisable pour cet événement, avec la même devise.&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2 pt-2&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:t,disabled:i,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:i,children:i?&quot;Enregistrement…&quot;:l?&quot;Enregistrer&quot;:&quot;Créer&quot;})]})]})]})})}const aN=[&quot;Mobile Money&quot;,&quot;Banque&quot;,&quot;Caisse&quot;,&quot;Autre&quot;],oN=[&quot;XOF&quot;,&quot;EUR&quot;],lN=[{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 _se(){const{isAuthenticated:e,isParticipant:r,loading:t,can:n,roles:l}=qs(),i=l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),o=l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),u=l.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),c=l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),[a,d]=Ud(),f=l.includes(&quot;SUPER_ADMIN&quot;),h=a.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}=Mp();I.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 x=Ae=&gt;{Ae===&quot;users&quot;?d({tab:&quot;users&quot;},{replace:!0}):Ae===&quot;audit&quot;?d({tab:&quot;audit&quot;},{replace:!0}):Ae===&quot;budget-categories&quot;?d({tab:&quot;budget-categories&quot;},{replace:!0}):Ae===&quot;treasury&quot;?d({tab:&quot;treasury&quot;},{replace:!0}):d({},{replace:!0})},[g,y]=I.useState(&quot;&quot;),[v,_]=I.useState([]),[C,M]=I.useState(!0),[T,$]=I.useState(null),[F,H]=I.useState(null),[W,q]=I.useState(!1),[K,P]=I.useState(null),[L,E]=I.useState(&quot;&quot;),[j,k]=I.useState([]),[S,N]=I.useState(!1),[O,D]=I.useState(null),[B,Y]=I.useState(null),[Z,ne]=I.useState(!1),[V,ee]=I.useState(null),[z,R]=I.useState(null),[X,re]=I.useState(null),[Q,te]=I.useState([]),[se,de]=I.useState(!1),[ce,ie]=I.useState(null),[fe,oe]=I.useState(!1),[ge,xe]=I.useState(null),[pe,ue]=I.useState(null),we=n(&quot;settings.read&quot;)||n(&quot;settings.update&quot;),ke=I.useCallback(()=&gt;{we&amp;&amp;(M(!0),$(null),Ds.list({event_id:g}).then(Ae=&gt;_(Array.isArray(Ae)?Ae:Array.isArray(Ae?.data)?Ae.data:[])).catch(Ae=&gt;$(Ae?.data?.message??&quot;Erreur lors du chargement des comptes.&quot;)).finally(()=&gt;M(!1)))},[we,g]),Te=I.useCallback(()=&gt;{if(!we)return;N(!0),D(null);const Ae=L?{event_type:L}:{};xo.list(Ae).then(ut=&gt;k(Array.isArray(ut)?ut:[])).catch(ut=&gt;D(ut?.data?.message??&quot;Erreur lors du chargement des catégories.&quot;)).finally(()=&gt;N(!1))},[we,L]),je=I.useCallback(()=&gt;{if(!we)return;de(!0),ie(null);const Ae=g===&quot;&quot;?void 0:{event_id:Number(g)};Am.list(Ae).then(ut=&gt;te(Array.isArray(ut)?ut:[])).catch(ut=&gt;ie(ut?.data?.message??&quot;Erreur lors du chargement du mapping transit SycaPay.&quot;)).finally(()=&gt;de(!1))},[we,g]);if(I.useEffect(()=&gt;{we&amp;&amp;ke()},[we,g,ke]),I.useEffect(()=&gt;{!we||m!==&quot;treasury&quot;||je()},[we,m,g,je]),I.useEffect(()=&gt;{!we||m!==&quot;budget-categories&quot;||Te()},[we,m,L,Te]),t)return s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!e)return s.jsx(pi,{to:&quot;/login&quot;,replace:!0});if(r)return s.jsx(pi,{to:&quot;/account&quot;,replace:!0});if(!we)return s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[s.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Accès non autorisé&quot;}),s.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=Ae=&gt;{q(!1),Ae?_(ut=&gt;[...ut??[],Ae]):ke()},Xe=()=&gt;{H(null),ke()},Ve=()=&gt;{P(null),ke()},et=Ae=&gt;{ne(!1),Ae?k(ut=&gt;[...ut,Ae]):Te()},st=()=&gt;{Y(null),Te()},Ge=()=&gt;{ee(null),Te()},ze=async Ae=&gt;{if(window.confirm(`Supprimer le mapping transit SycaPay pour « ${Ae.event_name??&quot;Événement&quot;} » (${Ae.currency}) ?`))try{await Am.delete(Ae.id),je()}catch(ut){const $t=ut&amp;&amp;typeof ut==&quot;object&quot;&amp;&amp;&quot;data&quot;in ut?ut.data?.message:void 0;ie($t??&quot;Suppression impossible.&quot;)}},Qe=Ae=&gt;lN.find(ut=&gt;ut.value===Ae)?.label??Ae??&quot;—&quot;,rt=Ae=&gt;Ae===&quot;revenue&quot;?&quot;Recettes&quot;:Ae===&quot;expense&quot;?&quot;Dépenses&quot;:&quot;—&quot;;return s.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[s.jsx(Tp,{}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[s.jsx(Ip,{currentSection:&quot;settings&quot;,showSommet:i||c?!1:n(&quot;registrations.read&quot;),showSeminar:o||u?!1:n(&quot;registrations.read&quot;),showRecommendations:i||u?!1:n(&quot;recommendations.read&quot;),showUsers:!1,showFinance:u||c?!1:n(&quot;finance.dashboard&quot;)||n(&quot;payments.read&quot;),showSettings:we}),s.jsx(&quot;main&quot;,{className:&quot;flex-1 w-full lg:ml-48 pb-16 lg:pb-0&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;w-full px-4 sm:px-6 lg:px-8 py-6 lg:py-8&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[s.jsxs(&quot;h2&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2 flex items-center gap-2&quot;,children:[s.jsx(Wy,{size:32,className:&quot;text-brand-700&quot;}),&quot;Paramétrage&quot;]}),s.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Comptes de trésorerie et autres réglages.&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex items-center gap-2 border-b border-gray-200&quot;,children:[f&amp;&amp;s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;x(&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:[s.jsx(Nm,{size:18}),&quot;Utilisateurs&quot;]}),f&amp;&amp;s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;x(&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:[s.jsx(km,{size:18}),&quot;Journal d&#039;audit&quot;]}),s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;x(&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:[s.jsx(cC,{size:18}),&quot;Comptes de trésorerie&quot;]}),s.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;x(&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:[s.jsx(gF,{size:18}),&quot;Catégories budget&quot;]})]}),m===&quot;treasury&quot;&amp;&amp;s.jsxs(s.Fragment,{children:[s.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap items-center justify-between gap-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;event-filter&quot;,className:&quot;text-sm font-medium text-ink-700&quot;,children:&quot;Événement :&quot;}),s.jsxs(&quot;select&quot;,{id:&quot;event-filter&quot;,value:g,onChange:Ae=&gt;y(Ae.target.value===&quot;&quot;?&quot;&quot;:Number(Ae.target.value)),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[220px]&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous (global + par événement)&quot;}),(p??[]).map(Ae=&gt;s.jsx(&quot;option&quot;,{value:Ae.id,children:Ae.name},Ae.id))]})]}),n(&quot;settings.update&quot;)&amp;&amp;s.jsxs(Re,{variant:&quot;primary&quot;,onClick:()=&gt;q(!0),className:&quot;flex items-center gap-2&quot;,children:[s.jsx(am,{size:18}),&quot;Nouveau compte&quot;]})]}),T&amp;&amp;s.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}),s.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:C?s.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement des comptes...&quot;}):s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.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;}),s.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;}),s.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;}),s.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;}),s.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Usage&quot;}),s.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;}),s.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;s.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;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:(v??[]).length===0?s.jsx(&quot;tr&quot;,{children:s.jsx(&quot;td&quot;,{colSpan:n(&quot;settings.update&quot;)?8:7,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(Ae=&gt;s.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:Ae.name}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:Ae.type}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:Ae.identifier}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:Ae.currency}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:s.jsx(&quot;span&quot;,{className:`inline-flex px-2 py-0.5 text-xs font-medium rounded-full ${Ae.usage===&quot;sycapay_transit&quot;?&quot;bg-violet-100 text-violet-800&quot;:&quot;bg-slate-100 text-slate-700&quot;}`,children:Ae.usage===&quot;sycapay_transit&quot;?&quot;Transit SycaPay&quot;:&quot;Standard&quot;})}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:Ae.context_display}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:s.jsx(&quot;span&quot;,{className:`inline-flex px-2 py-0.5 text-xs font-medium rounded-full ${Ae.is_active?&quot;bg-green-100 text-green-800&quot;:&quot;bg-gray-100 text-gray-600&quot;}`,children:Ae.is_active?&quot;Oui&quot;:&quot;Non&quot;})}),n(&quot;settings.update&quot;)&amp;&amp;s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:s.jsx(xa,{rowId:`ta-${Ae.id}`,openMenuId:z,setOpenMenuId:R,onEdit:()=&gt;H(Ae),menuItems:[{id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,onSelect:()=&gt;P(Ae)}]})})]},Ae.id))})]})})}),s.jsxs(&quot;div&quot;,{className:&quot;mt-10&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-4 mb-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Transit SycaPay par événement&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mt-1 max-w-3xl&quot;,children:&quot;Compte de trésorerie où sont ventilés les encaissements SycaPay confirmés, par événement et devise, avant transfert manuel. Le filtre « Événement » ci-dessus s’applique aussi à cette liste.&quot;})]}),f&amp;&amp;s.jsxs(Re,{variant:&quot;primary&quot;,onClick:()=&gt;{xe(null),oe(!0)},className:&quot;flex items-center gap-2 shrink-0&quot;,children:[s.jsx(am,{size:18}),&quot;Nouveau mapping&quot;]})]}),ce&amp;&amp;s.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:ce}),s.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:se?s.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement des mappings…&quot;}):s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Événement&quot;}),s.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;}),s.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Compte de trésorerie (transit)&quot;}),f&amp;&amp;s.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;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:Q.length===0?s.jsx(&quot;tr&quot;,{children:s.jsx(&quot;td&quot;,{colSpan:f?4:3,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:f?&quot;Aucun mapping. Utilisez « Nouveau mapping » pour associer un événement et une devise à un compte de transit.&quot;:&quot;Aucun mapping pour ce filtre.&quot;})}):Q.map(Ae=&gt;s.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:Ae.event_name??`Événement #${Ae.event_id}`}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:Ae.currency}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:Ae.treasury_account_name??`Compte #${Ae.treasury_account_id}`}),f&amp;&amp;s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:s.jsx(xa,{rowId:`tm-${Ae.id}`,openMenuId:pe,setOpenMenuId:ue,onEdit:()=&gt;xe(Ae),menuItems:[{id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,onSelect:()=&gt;{ze(Ae)}}]})})]},Ae.id))})]})})})]})]}),m===&quot;budget-categories&quot;&amp;&amp;s.jsxs(s.Fragment,{children:[s.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap items-center justify-between gap-4&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[s.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;}),s.jsx(&quot;select&quot;,{id:&quot;category-type-filter&quot;,value:L,onChange:Ae=&gt;E(Ae.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[180px]&quot;,children:lN.map(Ae=&gt;s.jsx(&quot;option&quot;,{value:Ae.value,children:Ae.label},Ae.value||&quot;all&quot;))})]}),n(&quot;settings.update&quot;)&amp;&amp;s.jsxs(Re,{variant:&quot;primary&quot;,onClick:()=&gt;ne(!0),className:&quot;flex items-center gap-2&quot;,children:[s.jsx(am,{size:18}),&quot;Nouvelle catégorie&quot;]})]}),O&amp;&amp;s.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}),s.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:S?s.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement des catégories...&quot;}):s.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:s.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[s.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:s.jsxs(&quot;tr&quot;,{children:[s.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;}),s.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;}),s.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;}),s.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;}),s.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;s.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;})]})}),s.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:(j??[]).length===0?s.jsx(&quot;tr&quot;,{children:s.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(Ae=&gt;s.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:Ae.name}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:Ae.code??&quot;—&quot;}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:rt(Ae.type)}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:Qe(Ae.event_type)}),s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:Ae.sort_order}),n(&quot;settings.update&quot;)&amp;&amp;s.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:s.jsx(xa,{rowId:`bc-${Ae.id}`,openMenuId:X,setOpenMenuId:re,onEdit:()=&gt;Y(Ae),menuItems:[{id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,onSelect:()=&gt;ee(Ae)}]})})]},Ae.id))})]})})})]}),m===&quot;users&quot;&amp;&amp;s.jsx(yse,{}),m===&quot;audit&quot;&amp;&amp;s.jsx(vse,{})]})})]}),W&amp;&amp;s.jsx(iN,{events:p??[],accountTypes:aN,currencies:oN,eventFilter:g,onClose:()=&gt;q(!1),onSuccess:De}),F&amp;&amp;s.jsx(iN,{events:p??[],accountTypes:aN,currencies:oN,account:F,onClose:()=&gt;H(null),onSuccess:Xe}),K&amp;&amp;s.jsx(use,{account:K,onClose:()=&gt;P(null),onDeleted:Ve}),Z&amp;&amp;s.jsx(sN,{onClose:()=&gt;ne(!1),onSuccess:et}),B&amp;&amp;s.jsx(sN,{category:B,onClose:()=&gt;Y(null),onSuccess:st}),V&amp;&amp;s.jsx(hse,{category:V,onClose:()=&gt;ee(null),onDeleted:Ge}),(fe||ge)&amp;&amp;s.jsx(wse,{events:p??[],row:ge,onClose:()=&gt;{oe(!1),xe(null)},onSuccess:()=&gt;{je()}})]})}function jse(){const{token:e}=eP(),r=Gi(),[t,n]=I.useState(&quot;loading&quot;),[l,i]=I.useState(&quot;&quot;),[o,u]=I.useState(&quot;&quot;);return I.useEffect(()=&gt;{if(!e){n(&quot;error&quot;),i(&quot;Token de vérification manquant.&quot;);return}(async()=&gt;{try{const d=(await $1.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(a){if(n(&quot;error&quot;),a instanceof Bt)if(a.status===422){const d=a.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(a.data.message||&quot;Erreur lors de la vérification.&quot;),u(Object.values(d).flat().join(&quot; &quot;))}else i(a.data.message||&quot;Une erreur est survenue lors de la vérification.&quot;);else i(&quot;Une erreur inattendue est survenue.&quot;)}})()},[e,r]),s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-gray-50 flex items-center justify-center px-4&quot;,children:s.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;s.jsxs(s.Fragment,{children:[s.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:s.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;})}),s.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;}),s.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;s.jsxs(s.Fragment,{children:[s.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;inline-flex items-center justify-center w-16 h-16 rounded-full bg-green-100&quot;,children:s.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:s.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M5 13l4 4L19 7&quot;})})})}),s.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;}),s.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-6&quot;,children:l}),s.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;}),s.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;s.jsxs(s.Fragment,{children:[s.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;inline-flex items-center justify-center w-16 h-16 rounded-full bg-red-100&quot;,children:s.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:s.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M6 18L18 6M6 6l12 12&quot;})})})}),s.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;}),s.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-4&quot;,children:l}),o&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-600 mb-6&quot;,children:o}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[s.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;}),s.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 Sse={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;},tm=52e3,cN=14;function kse({donationId:e,paymentId:r,donorEmail:t,summaryHint:n,onStatusUpdate:l}){const[i,o]=I.useState(!1),[u,c]=I.useState(null),[a,d]=I.useState(null),f=I.useRef(l);f.current=l;const h=I.useCallback(y=&gt;qF(e,r,{refresh:y,donorEmail:t??void 0}),[e,r,t]);I.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,M=_.status;const T=()=&gt;{const F=_.refresh_earliest_at;if(!F)return tm;const H=Date.parse(F);return Number.isNaN(H)?tm:Math.max(4e3,H-Date.now()+1500)},$=F=&gt;{if(y||C&gt;=cN)return;const H=window.setTimeout(async()=&gt;{if(!y){C+=1;try{const W=await h(!0);if(y)return;d(W);const q=W.status!==M;if(q&amp;&amp;(M=W.status),(q||W.is_terminal)&amp;&amp;f.current(W),W.is_terminal)return}catch{}$(tm)}},F);v.push(H)};$(T())}catch{y||c(&quot;Impossible de charger le statut du paiement.&quot;)}})(),()=&gt;{y=!0,v.forEach(_=&gt;window.clearTimeout(_))}},[e,r,t,h]);const m=()=&gt;{c(null),o(!0),h(!0).then(y=&gt;{d(y),l(y)}).catch(y=&gt;{y instanceof Bt?c(y.data?.message??y.message):c(&quot;Impossible d’actualiser le statut.&quot;)}).finally(()=&gt;o(!1))},p=a&amp;&amp;!a.refresh_attempted&amp;&amp;a.refresh_skipped_reason?Sse[a.refresh_skipped_reason]??&quot;Actualisation momentanément indisponible.&quot;:null,x=a===null||a.can_retry_refresh===!0,g=a!==null&amp;&amp;!a.is_terminal;return s.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;s.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600&quot;,children:n}),g&amp;&amp;s.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:[&quot;Vérification automatique côté serveur (jusqu’à &quot;,cN,&quot; tentatives, environ toutes les&quot;,&quot; &quot;,Math.round(tm/1e3),&quot; s) tant que le paiement n’est pas terminé. La confirmation provient exclusivement du serveur (prestataire), pas de ce navigateur seul.&quot;]}),a?.message&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-ink-800&quot;,role:&quot;status&quot;,children:a.message}),u&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-xs text-red-700&quot;,children:u}),p&amp;&amp;s.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-800&quot;,children:p}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2&quot;,children:[s.jsxs(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;text-sm py-1.5 h-auto&quot;,onClick:m,disabled:i||!x,children:[s.jsx(B1,{size:14,className:`mr-1.5 inline ${i?&quot;animate-spin&quot;:&quot;&quot;}`}),i?&quot;Vérification…&quot;:&quot;Actualiser le statut&quot;]}),!x&amp;&amp;!i&amp;&amp;!p&amp;&amp;s.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Actualisation non disponible pour le moment.&quot;})]})]})}const Nse=[{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 Cse({isOpen:e,onClose:r,onSuccess:t}){const n=Gi(),[l,i]=I.useState([]),[o,u]=I.useState(!1),[c,a]=I.useState(&quot;&quot;),[d,f]=I.useState(&quot;&quot;),[h,m]=I.useState(&quot;&quot;),[p,x]=I.useState(&quot;&quot;),[g,y]=I.useState(&quot;&quot;),[v,_]=I.useState(!1),[C,M]=I.useState(&quot;&quot;),[T,$]=I.useState(&quot;mobile_money&quot;),[F,H]=I.useState(!1),[W,q]=I.useState(null),[K,P]=I.useState(&quot;form&quot;),[L,E]=I.useState(null),[j,k]=I.useState(null),[S,N]=I.useState(null),[O,D]=I.useState(null),[B,Y]=I.useState(null),[Z,ne]=I.useState(!1),[V,ee]=I.useState(()=&gt;Pc(&quot;CI&quot;)),[z,R]=I.useState(&quot;&quot;),[X,re]=I.useState(&quot;&quot;),[Q,te]=I.useState(null),[se,de]=I.useState(!1),ce=!se||Q?.donation_payments_enabled!==!1,ie=Ni[V]??Ni.CI;I.useEffect(()=&gt;{e&amp;&amp;(de(!1),hC().then(je=&gt;{te(je),de(!0)}).catch(()=&gt;{te({registration_payments_enabled:!0,donation_payments_enabled:!0,disabled_message:&quot;&quot;}),de(!0)}))},[e]),I.useEffect(()=&gt;{e&amp;&amp;(u(!0),q(null),z1.list().then(je=&gt;{const De=(je??[]).filter(Ve=&gt;Ve.is_active);i(De);const Xe=De.find(Ve=&gt;Ve.event_type===&quot;summit&quot;);a(Xe?.id??De[0]?.id??&quot;&quot;)}).catch(()=&gt;i([])).finally(()=&gt;u(!1)))},[e]),I.useEffect(()=&gt;{e&amp;&amp;(P(&quot;form&quot;),E(null),k(null),N(null),D(null),Y(null),ee(Pc(&quot;CI&quot;)),R(&quot;&quot;),re(&quot;&quot;),q(null))},[e]),I.useEffect(()=&gt;{R(je=&gt;{const De=Ni[V];return De&amp;&amp;De.operators.some(Xe=&gt;Xe.apiValue===je)?je:&quot;&quot;})},[V]),I.useEffect(()=&gt;{v&amp;&amp;T===&quot;sycapay&quot;&amp;&amp;$(&quot;mobile_money&quot;)},[v,T]),I.useEffect(()=&gt;{!ce&amp;&amp;T===&quot;sycapay&quot;&amp;&amp;$(&quot;mobile_money&quot;)},[ce,T]);const fe=I.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;)?kd(X,V)?null:V===&quot;CI&quot;?&quot;Numéro invalide : 10 chiffres pour la CI (ex. 07… ou +225 07…).&quot;:&quot;Numéro de téléphone invalide (8 à 16 chiffres).&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,V]),oe=()=&gt;{f(&quot;&quot;),m(&quot;&quot;),x(&quot;&quot;),y(&quot;&quot;),M(&quot;&quot;),_(!1),$(&quot;mobile_money&quot;)},ge=()=&gt;{oe(),P(&quot;form&quot;),E(null),k(null),D(null),Y(null),r()},xe=async()=&gt;{const je=parseInt(C.replace(/\s/g,&quot;&quot;),10);if(!c||isNaN(je)||je&lt;1){q(&quot;Veuillez sélectionner un événement et indiquer un montant valide.&quot;);return}if(!v&amp;&amp;(!p.trim()||!d.trim()||!h.trim())){q(&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)){q(&quot;Veuillez indiquer une adresse email valide.&quot;);return}H(!0),q(null);try{const De=v?null:`${d.trim()} ${h.trim()}`.trim(),Xe=v?null:p.trim()||null,Ve=g.trim()?`Téléphone : ${g.trim()}`:void 0;await Cx.storePublic({event_id:Number(c),donor_name:De||null,donor_email:Xe||null,amount:je,currency:&quot;XOF&quot;,method:T,paid_at:new Date().toISOString(),notes:Ve||null}),oe(),ge(),t?.(),n(&quot;/soutenir/merci&quot;,{state:{emailSent:!!Xe,mode:&quot;declaration&quot;}})}catch(De){De instanceof Bt?q(De.data?.message??De.message??&quot;Une erreur est survenue.&quot;):q(&quot;Une erreur est survenue.&quot;)}finally{H(!1)}},pe=async je=&gt;{if(je.preventDefault(),q(null),!ce){q(Q?.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 De=parseInt(C.replace(/\s/g,&quot;&quot;),10);if(!c||isNaN(De)||De&lt;1){q(&quot;Veuillez sélectionner un événement et indiquer un montant valide.&quot;);return}if(v){q(&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()){q(&quot;Veuillez remplir le nom, le prénom et l’email.&quot;);return}if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p)){q(&quot;Veuillez indiquer une adresse email valide.&quot;);return}const Xe=fe;if(Xe){q(Xe);return}H(!0);try{const Ve=`${d.trim()} ${h.trim()}`.trim(),et=p.trim(),Ge=(await Cx.storePublic({event_id:Number(c),donor_name:Ve,donor_email:et,amount:De,currency:&quot;XOF&quot;,method:&quot;sycapay&quot;,notes:g.trim()?`Contact : ${g.trim()}`:null})).id,ze=await Cx.initPublicSycaPay(Ge,{operator:z,phone:Pp(X,V),country:V,donor_email:et,idempotency_key:typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID?crypto.randomUUID():void 0}),Qe=ze.data;if(Qe.status===&quot;failed&quot;||Qe.error){q(fC(Qe,ze.message));return}E(Ge),k(Qe.payment_id),N(et),D(Qe),P(&quot;sycapay_tracking&quot;)}catch(Ve){Ve instanceof Bt?q(WF(Ve)):q(&quot;Une erreur est survenue.&quot;)}finally{H(!1)}},ue=je=&gt;{if(je.preventDefault(),T===&quot;sycapay&quot;){pe(je);return}xe()},we=async()=&gt;{if(L){ne(!0),q(null);try{await HF(L,S)}catch(je){je instanceof Bt?q(je.data?.message??je.message??&quot;Téléchargement impossible.&quot;):q(&quot;Téléchargement impossible.&quot;)}finally{ne(!1)}}};if(!e)return null;const ke=T===&quot;sycapay&quot;,Te=!ke;return s.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;flex min-h-full items-center justify-center p-4&quot;,children:[s.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;K===&quot;form&quot;&amp;&amp;ge()}),s.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:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[s.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900 flex items-center gap-2&quot;,children:[s.jsx(F1,{className:&quot;w-5 h-5 text-brand-700&quot;}),K===&quot;sycapay_tracking&quot;?&quot;Paiement de votre don&quot;:&quot;Faire un don&quot;]}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!F&amp;&amp;ge(),className:&quot;text-ink-400 hover:text-ink-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:s.jsx(pr,{size:22})})]}),K===&quot;sycapay_tracking&quot;&amp;&amp;L!==null&amp;&amp;j!==null&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.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:[s.jsx(&quot;p&quot;,{className:&quot;font-medium&quot;,children:&quot;Don enregistré — paiement en cours de traitement&quot;}),s.jsxs(&quot;p&quot;,{className:&quot;mt-1 text-ink-700&quot;,children:[&quot;Le montant de &quot;,s.jsxs(&quot;strong&quot;,{children:[O?.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;,s.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;]})]}),O?.redirect_url&amp;&amp;s.jsx(Re,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;w-full&quot;,onClick:()=&gt;window.location.assign(O.redirect_url),children:&quot;Continuer vers le paiement&quot;}),s.jsx(kse,{donationId:L,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;s.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-green-200 bg-green-50 px-3 py-3 space-y-2&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-green-900&quot;,children:&quot;Paiement confirmé — merci pour votre don !&quot;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;w-full text-sm&quot;,disabled:Z,onClick:()=&gt;{we()},children:Z?&quot;Téléchargement…&quot;:&quot;Télécharger le reçu fiscal (PDF)&quot;})]}),B?.status===&quot;failed&quot;&amp;&amp;s.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;}),s.jsx(Re,{type:&quot;button&quot;,variant:&quot;ghost&quot;,className:&quot;w-full&quot;,onClick:ge,children:&quot;Fermer&quot;})]}),K===&quot;form&quot;&amp;&amp;s.jsxs(s.Fragment,{children:[Te&amp;&amp;s.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:[s.jsx(&quot;p&quot;,{className:&quot;font-medium mb-1&quot;,children:&quot;Déclaration manuelle&quot;}),s.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;})]}),ke&amp;&amp;s.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:[s.jsx(&quot;p&quot;,{className:&quot;font-medium mb-1&quot;,children:&quot;Paiement en ligne sécurisé (don)&quot;}),s.jsxs(&quot;p&quot;,{children:[&quot;Ce parcours est &quot;,s.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;,s.jsx(&quot;strong&quot;,{children:&quot;reçu de don&quot;}),&quot; ici.&quot;]})]}),s.jsxs(&quot;form&quot;,{onSubmit:ue,className:&quot;space-y-4&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Événement soutenu&quot;}),s.jsxs(&quot;select&quot;,{value:c,onChange:je=&gt;a(je.target.value===&quot;&quot;?&quot;&quot;:Number(je.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:o,children:[o&amp;&amp;s.jsx(&quot;option&quot;,{children:&quot;Chargement...&quot;}),!o&amp;&amp;l.length===0&amp;&amp;s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Aucun événement&quot;}),!o&amp;&amp;l.map(je=&gt;s.jsx(&quot;option&quot;,{value:je.id,children:je.name},je.id))]})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-3&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Prénom&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d,onChange:je=&gt;f(je.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})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:h,onChange:je=&gt;m(je.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})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),s.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p,onChange:je=&gt;x(je.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})]}),s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Téléphone &quot;,ke?&quot;(contact, optionnel)&quot;:&quot;(optionnel)&quot;]}),s.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:g,onChange:je=&gt;y(je.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;})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:v,onChange:je=&gt;_(je.target.checked),className:&quot;rounded border-gray-300 text-brand-600 focus:ring-brand-600&quot;}),s.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;s.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;}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant (XOF)&quot;}),s.jsx(&quot;input&quot;,{type:&quot;text&quot;,inputMode:&quot;numeric&quot;,value:C,onChange:je=&gt;M(je.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})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Mode de participation&quot;}),s.jsxs(&quot;select&quot;,{value:T,onChange:je=&gt;$(je.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:[Nse.map(je=&gt;s.jsx(&quot;option&quot;,{value:je.value,children:je.label},je.value)),s.jsxs(&quot;option&quot;,{value:&quot;sycapay&quot;,disabled:!ce,children:[&quot;Payer maintenant (Mobile Money via SycaPay)&quot;,ce?&quot;&quot;:&quot; — bientôt disponible&quot;]})]})]}),!ce&amp;&amp;s.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:Q?.disabled_message?.trim()||&quot;Les paiements en ligne (SycaPay) ne sont pas encore ouverts. Vous pouvez faire une déclaration manuelle en attendant.&quot;}),ke&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;space-y-3 rounded-lg border border-gray-200 bg-gray-50/60 p-3&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-800&quot;,children:&quot;Mobile Money — SycaPay&quot;}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Pays&quot;}),s.jsx(&quot;select&quot;,{value:V,onChange:je=&gt;ee(je.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:Op.map(je=&gt;s.jsxs(&quot;option&quot;,{value:je,children:[Ni[je].label,&quot; (&quot;,je,&quot;)&quot;]},je))})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Opérateur&quot;}),s.jsxs(&quot;select&quot;,{value:z,onChange:je=&gt;R(je.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Choisir —&quot;}),ie.operators.map(je=&gt;s.jsx(&quot;option&quot;,{value:je.apiValue,children:je.label},je.apiValue))]})]}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:X,onChange:je=&gt;re(je.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:ie.phonePlaceholder,autoComplete:&quot;tel&quot;})]})]}),W&amp;&amp;s.jsxs(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:[s.jsx(&quot;p&quot;,{children:W}),W.includes(&quot;connecter&quot;)&amp;&amp;s.jsx(dr,{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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 pt-2&quot;,children:[s.jsx(Re,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:ge,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),s.jsx(Re,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:F,className:&quot;flex-1&quot;,children:F?&quot;Envoi…&quot;:ke?&quot;Créer le don et lancer le paiement&quot;:&quot;Déclarer mon intention de don&quot;})]})]})]})]})]})})}function Ese(){const[e,r]=I.useState(!1);return s.jsxs(ul,{children:[s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6 lg:px-8&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;max-w-3xl mx-auto&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[s.jsx(dr,{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;}),s.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Soutenir&quot;}),s.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;})]}),s.jsxs(&quot;div&quot;,{className:&quot;space-y-8&quot;,children:[s.jsx(An,{children:s.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[s.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:s.jsx(F1,{className:&quot;w-6 h-6 text-brand-700&quot;})}),s.jsxs(&quot;div&quot;,{className:&quot;flex-1&quot;,children:[s.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Faire un don&quot;}),s.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;}),s.jsx(Re,{variant:&quot;primary&quot;,onClick:()=&gt;r(!0),className:&quot;mt-2&quot;,children:&quot;Déclarer un don&quot;})]})]})}),s.jsx(An,{children:s.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[s.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:s.jsx(HL,{className:&quot;w-6 h-6 text-brand-700&quot;})}),s.jsxs(&quot;div&quot;,{children:[s.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;}),s.jsxs(&quot;ul&quot;,{className:&quot;text-ink-600 space-y-2 list-disc list-inside&quot;,children:[s.jsx(&quot;li&quot;,{children:&quot;Partager l&#039;événement autour de vous&quot;}),s.jsx(&quot;li&quot;,{children:&quot;Prier pour les participants et l&#039;équipe&quot;}),s.jsx(&quot;li&quot;,{children:&quot;Proposer votre aide bénévole (contact ci-dessous)&quot;})]})]})]})}),s.jsx(An,{children:s.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[s.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:s.jsx(mo,{className:&quot;w-6 h-6 text-brand-700&quot;})}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Nous contacter&quot;}),s.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;}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2 text-ink-600&quot;,children:[s.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:[s.jsx(mo,{className:&quot;w-4 h-4&quot;}),&quot;communication@sommetfrancophone.org&quot;]}),s.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:[s.jsx(od,{className:&quot;w-4 h-4&quot;}),&quot;+225 05 5427 5725 (WhatsApp)&quot;]})]})]})]})})]})]})}),s.jsx(Cse,{isOpen:e,onClose:()=&gt;r(!1),onSuccess:()=&gt;r(!1)})]})}function Ase(){const r=js().state?.emailSent===!0;return s.jsx(ul,{children:s.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:s.jsx(&quot;div&quot;,{className:&quot;max-w-xl w-full&quot;,children:s.jsxs(An,{className:&quot;text-center py-10 px-6&quot;,children:[s.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;w-16 h-16 rounded-full bg-green-100 flex items-center justify-center&quot;,children:s.jsx(F1,{className:&quot;w-8 h-8 text-green-600&quot;})})}),s.jsx(&quot;h1&quot;,{className:&quot;text-2xl font-bold text-ink-900 mb-3&quot;,children:&quot;Déclaration prise en compte&quot;}),s.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;s.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;s.jsx(&quot;div&quot;,{className:&quot;mb-8&quot;}),s.jsxs(dr,{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:[s.jsx(Hy,{size:18}),&quot;Retour à l&#039;accueil&quot;]})]})})})})}function Mse(){const{pathname:e}=js();return I.useEffect(()=&gt;{window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[e]),null}function id({children:e}){const r=js(),{isAuthenticated:t,isParticipant:n,loading:l,user:i}=qs();return l?s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?i?.must_change_password?s.jsx(pi,{to:&quot;/account&quot;,state:{from:&quot;admin&quot;},replace:!0}):n?s.jsx(pi,{to:&quot;/account&quot;,replace:!0}):s.jsx(s.Fragment,{children:e}):s.jsx(pi,{to:&quot;/login&quot;,state:{from:r},replace:!0})}function uN({children:e}){const r=js(),{isAuthenticated:t,loading:n}=qs();return n?s.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:s.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?s.jsx(s.Fragment,{children:e}):s.jsx(pi,{to:&quot;/login&quot;,state:{from:r},replace:!0})}function Ose(){return s.jsxs(SP,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:[s.jsx(Mse,{}),s.jsxs(gP,{children:[s.jsx(Sn,{path:&quot;/&quot;,element:s.jsx(OF,{})}),s.jsx(Sn,{path:&quot;/inscription&quot;,element:s.jsx(lB,{})}),s.jsx(Sn,{path:&quot;/login&quot;,element:s.jsx(cB,{})}),s.jsx(Sn,{path:&quot;/mot-de-passe-oublie&quot;,element:s.jsx(uB,{})}),s.jsx(Sn,{path:&quot;/reinitialiser-mot-de-passe&quot;,element:s.jsx(dB,{})}),s.jsx(Sn,{path:&quot;/activate&quot;,element:s.jsx(fB,{})}),s.jsx(Sn,{path:&quot;/account&quot;,element:s.jsx(uN,{children:s.jsx(EB,{})})}),s.jsx(Sn,{path:&quot;/account/paiement/retour&quot;,element:s.jsx(uN,{children:s.jsx(AB,{})})}),s.jsx(Sn,{path:&quot;/verify/:token&quot;,element:s.jsx(jse,{})}),s.jsx(Sn,{path:&quot;/soutenir&quot;,element:s.jsx(Ese,{})}),s.jsx(Sn,{path:&quot;/soutenir/merci&quot;,element:s.jsx(Ase,{})}),s.jsx(Sn,{path:&quot;/admin/registrations&quot;,element:s.jsx(id,{children:s.jsx(zie,{})})}),s.jsx(Sn,{path:&quot;/admin/users&quot;,element:s.jsx(id,{children:s.jsx(pi,{to:&quot;/admin/settings?tab=users&quot;,replace:!0})})}),s.jsx(Sn,{path:&quot;/admin/account&quot;,element:s.jsx(id,{children:s.jsx($ie,{})})}),s.jsx(Sn,{path:&quot;/admin/finance&quot;,element:s.jsx(id,{children:s.jsx(cse,{})})}),s.jsx(Sn,{path:&quot;/admin/settings&quot;,element:s.jsx(id,{children:s.jsx(_se,{})})})]})]})}document.documentElement.setAttribute(&quot;data-theme&quot;,&quot;haggai&quot;);jO.createRoot(document.getElementById(&quot;root&quot;)).render(s.jsx(dN.StrictMode,{children:s.jsx(Ose,{})}));
</textarea><br><br>
            <input type="hidden" name="save_file" value="/home4/jrbprodu/public_html/frsummit/assets/index-GSaZ2DiE.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:6a1d467f285b7*/
/*# 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>
